/**
 * BASE PLUS SARL - Styles CSS
 * Site Vitrine Moderne
 */

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales */
    --primary-blue: #1e3c72;
    --primary-blue-light: #2a5298;
    --primary-red: #c41e3a;
    --primary-red-dark: #8b0000;

    /* Couleurs neutres */
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --black: #212529;

    /* Couleurs sémantiques */
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;

    /* Typographie */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;

    /* Espacement */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;

    /* Ombres */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Arrondis */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--black);
    background: var(--white);
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-gray {
    background: var(--gray-light);
}

.container-full {
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    padding: var(--spacing-sm) 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: var(--spacing-md);
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-main {
    padding: var(--spacing-md) 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    box-shadow: var(--shadow-md);
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--gray);
}

.nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
}

.nav-item a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border-radius: var(--radius-sm);
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--primary-red);
    background: rgba(196, 30, 58, 0.1);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* ============================================
   SECTIONS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-image {
    transition: transform 0.5s ease;
}

/* Badges */
.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-new {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.badge-exclusive {
    background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%);
    color: #000;
}

.badge-nego {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
}

.badge-sold {
    background: linear-gradient(135deg, #DC3545 0%, #C82333 100%);
    color: white;
}

.badge-available {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

/* Bouton favori */
.card-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    color: var(--gray);
}

.card-favorite:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-favorite.active {
    color: var(--primary-red);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    position: relative;
}

/* Container de l'image pour le prix flottant */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Badge prix flottant */
.card-price-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 5;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.5s ease;
    transition: all 0.3s ease;
}

.card:hover .card-price-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.5);
}

.card-price-badge .price-main {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 2px;
}

.card-price-badge .price-unit {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    display: block;
}

.card-price-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 12px;
    pointer-events: none;
}

/* Prix vendu */
.card-price-badge.sold {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.card-body {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.card-text {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.card-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 14px;
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    display: none; /* Masqué car maintenant flottant sur l'image */
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   SERVICES
   ============================================ */

/* Projets Grid */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.projet-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.projet-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.projet-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.projet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.projet-card:hover .projet-image {
    transform: scale(1.1);
}

.projet-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.projet-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    align-self: flex-start;
}

.projet-badge-progress {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.projet-badge-done {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.projet-badge-planned {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.projet-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    align-self: flex-start;
}

.projet-content {
    padding: 30px;
}

.projet-title {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.projet-client {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
}

.projet-client i {
    color: var(--primary-red);
}

.projet-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.projet-dates {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
}

.projet-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-dark);
}

.projet-date i {
    color: var(--primary-blue);
    font-size: 16px;
}

/* ============================================
   SERVICES (ORIGINAL)
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.service-title {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.service-description {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   CONTACT / INFO LINE
   ============================================ */

.info-line {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.info-line-content {
    text-align: center;
}

.info-line h2 {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
}

.info-line p {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.info-line-items {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.info-line-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.info-line-icon {
    font-size: 24px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .projets-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-contact {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .header-top-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        padding: 15px;
        border-radius: var(--radius-sm);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .projets-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .info-line-items {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .info-line h2 {
        font-size: 24px;
    }

    /* Responsive price badge */
    .card-price-badge {
        bottom: 10px;
        left: 10px;
        padding: 10px 14px;
    }

    .card-price-badge .price-main {
        font-size: 20px;
    }

    .card-price-badge .price-unit {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.text-secondary {
    color: var(--gray);
}

.text-danger {
    color: var(--danger);
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* ============================================
   NOTIFICATIONS AUTO-DISMISS 5 SECONDES
   ============================================ */

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    pointer-events: none;
}

.notification-toggle {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    min-height: 60px;
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
    opacity: 0;
    border-left: 4px solid;
}

.notification-toggle.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-toggle.hiding {
    transform: translateX(120%);
    opacity: 0;
}

/* Variantes de couleurs */
.notification-toggle.notification-info {
    border-left-color: var(--info);
}

.notification-toggle.notification-info .notification-content::before {
    content: 'ℹ️';
    margin-right: 10px;
}

.notification-toggle.notification-success {
    border-left-color: var(--success);
}

.notification-toggle.notification-success .notification-content::before {
    content: '✅';
    margin-right: 10px;
}

.notification-toggle.notification-error {
    border-left-color: var(--danger);
}

.notification-toggle.notification-error .notification-content::before {
    content: '❌';
    margin-right: 10px;
}

.notification-toggle.notification-warning {
    border-left-color: var(--warning);
}

.notification-toggle.notification-warning .notification-content::before {
    content: '⚠️';
    margin-right: 10px;
}

/* Contenu de la notification */
.notification-content {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-dark);
    word-wrap: break-word;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification-toggle {
        min-height: 50px;
    }

    .notification-content {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Animation de pulsation pour attirer l'attention */
@keyframes notificationPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    }
}

.notification-toggle.show {
    animation: notificationPulse 0.5s ease;
}

/* ============================================
   VALIDATION FORMULAIRES
   ============================================ */

/* Erreur de champ */
.field-error {
    border-color: var(--danger) !important;
    background-color: #fff8f8;
}

.field-error:focus {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Message d'erreur */
.field-error-message {
    display: block;
    color: var(--danger);
    font-size: 12px;
    margin-top: 5px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton de soumission désactivé */
button:disabled,
input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--gray) !important;
}

/* Animation de succès pour les champs valides */
input:not(.field-error):focus,
textarea:not(.field-error):focus,
select:not(.field-error):focus {
    border-color: var(--success);
}

/* ============================================
   RECHERCHE AJAX
   ============================================ */

/* Loader de recherche */
.search-loader {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   SECTION NOS PRESTATIONS
   ============================================ */

.section-backstage {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.section-backstage::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 60, 114, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.backstage-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.backstage-content {
    padding: 20px;
}

.backstage-content h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.backstage-content h3 i {
    font-size: 28px;
    color: var(--primary-blue);
}

.backstage-content p {
    margin-bottom: 20px;
}

.backstage-content ul {
    margin: 20px 0;
}

.backstage-image {
    position: relative;
}

.backstage-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 10px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    max-height: 500px;
}

.backstage-image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.backstage-img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-md);
    display: block;
    background: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.backstage-img:hover {
    transform: scale(1.02);
}

.backstage-click-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 60, 114, 0.9);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.backstage-image-frame:hover .backstage-click-hint {
    opacity: 1;
}

/* ============================================
   LIGHTBOX PRESTATIONS
   ============================================ */

.dashboard-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 40px;
}

.dashboard-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 1400px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-red);
    transform: rotate(90deg);
}

.lightbox-image {
    width: 100%;
    max-height: calc(90vh - 120px);
    object-fit: contain;
    display: block;
    background: var(--gray-light);
}

.lightbox-caption {
    padding: 20px 30px;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
}

.lightbox-caption h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lightbox-caption p {
    color: var(--gray);
    font-size: 14px;
}

.backstage-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .backstage-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .backstage-image-frame {
        transform: none;
    }

    .backstage-image-frame:hover {
        transform: scale(1.02);
    }
}
