/* === FIX BOX SERVICES PREMIUM - ANTI-DEBORDEMENT MOBILE (2025-11) === */
@media (max-width: 700px) {
    #servicesGrid {
        grid-template-columns: 1fr !important;
        gap: 1.2em !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    #servicesGrid > div {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin: 0 auto 1.2em auto !important;
        border-radius: 1em !important;
        padding: 1.2em 0.7em !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        background-clip: padding-box !important;
    }
    /* Pour éviter tout débordement horizontal */
    body, html {
        overflow-x: hidden !important;
    }
}
/* === FIX BOX SERVICES PREMIUM MOBILE (2025-11) === */
@media (max-width: 700px) {
    /* Section Services Premium & Solutions Révolutionnaires */
    section[style*="background: linear-gradient(135deg, #fff6e0"] article {
        padding: 0 0.5em !important;
        margin: 0 auto !important;
        max-width: 99vw !important;
    }
    section[style*="background: linear-gradient(135deg, #fff6e0"] article > div {
        border-radius: 1.2em !important;
        padding: 1.2em 0.5em !important;
        box-shadow: 0 6px 24px rgba(140, 116, 78, 0.10), 0 2px 8px rgba(0,0,0,0.06) !important;
        margin: 0 !important;
    }
    section[style*="background: linear-gradient(135deg, #fff6e0"] .hero-title,
    section[style*="background: linear-gradient(135deg, #fff6e0"] h2 {
        font-size: 1.2em !important;
        text-align: center !important;
        margin: 0.5em 0 !important;
    }
    section[style*="background: linear-gradient(135deg, #fff6e0"] [style*="display: flex;"] {
        flex-direction: column !important;
        gap: 0.7em !important;
        align-items: center !important;
    }
    #servicesGrid {
        margin-top: 1em !important;
        gap: 1.2em !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 700px) {
    /* Correction prix barré sur une seule ligne */
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="text-decoration: line-through"] {
        display: inline-block !important;
        white-space: nowrap !important;
        text-align: center !important;
        font-size: 1.05em !important;
        margin-bottom: 0.2em !important;
    }
    /* Grouper TTC avec le prix promo */
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="font-size: 2.2rem"] {
        font-size: 1.25em !important;
        font-weight: 700 !important;
        color: #2196f3 !important;
        margin-bottom: 0.1em !important;
        display: flex !important;
        flex-direction: row;
        align-items: flex-end;
        gap: 0.3em;
        justify-content: center;
    }
    /* Si TTC est dans un div séparé, le centrer et réduire la taille */
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div:has(> span:contains('TTC')) {
        font-size: 1em !important;
        color: #2196f3 !important;
        text-align: center !important;
        margin-bottom: 0.1em !important;
    }
    /* Badge économie plus compact */
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="background: #2196f3"] {
        font-size: 0.95em !important;
        padding: 0.15em 0.7em !important;
        border-radius: 12px !important;
        margin: 0.2em auto !important;
        display: inline-block !important;
        max-width: 90vw !important;
    }
    /* Flèche centrée et réduite */
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="font-size: 2rem"] {
        font-size: 1.5em !important;
        margin: 0.1em 0 !important;
        text-align: center !important;
        width: 100%;
    }
}
/* === PRIX PROMO MOBILE - PRÉSENTATION AMÉLIORÉE (2025-11) === */
@media (max-width: 700px) {
    /* Bloc prix dans la section promo (Starter/Premium) */
    section[style*="background: linear-gradient(135deg, #8c744e"] .promo-prix-mobile,
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.7em !important;
        margin-bottom: 1.2em !important;
    }
    section[style*="background: linear-gradient(135deg, #8c744e"] .promo-prix-mobile > div,
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div {
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        font-size: 1.05em !important;
    }
    section[style*="background: linear-gradient(135deg, #8c744e"] .promo-prix-mobile .promo-flèche,
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="font-size: 2rem"] {
        font-size: 2.2em !important;
        color: #2196f3 !important;
        margin: 0.2em 0 !important;
    }
    /* Prix barré */
    section[style*="background: linear-gradient(135deg, #8c744e"] .promo-prix-mobile .prix-avant,
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="text-decoration: line-through"] {
        font-size: 1.1em !important;
        color: #999 !important;
        margin-bottom: 0.1em !important;
    }
    /* Prix promo */
    section[style*="background: linear-gradient(135deg, #8c744e"] .promo-prix-mobile .prix-apres,
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="font-size: 2.2rem"] {
        font-size: 1.5em !important;
        font-weight: 700 !important;
        color: #2196f3 !important;
        margin-bottom: 0.1em !important;
    }
    /* Badge économie */
    section[style*="background: linear-gradient(135deg, #8c744e"] .promo-prix-mobile .badge-economie,
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: flex"] > div > div[style*="display: grid"] > div[style*="background: #2196f3"] {
        font-size: 1em !important;
        padding: 0.2em 0.8em !important;
        border-radius: 15px !important;
        background: #2196f3 !important;
        color: #fff !important;
        display: inline-block !important;
        margin: 0.2em 0 !important;
    }
}
/* === FIX PROMO SECTION RESPONSIVE (2025-11) === */
@media (max-width: 700px) {
    /* Section promo ouverture (2 packs côte à côte) */
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2em !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    section[style*="background: linear-gradient(135deg, #8c744e"] > div > div[style*="display: grid"] > div {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        margin: 0 0 1.2em 0 !important;
    }
}
/* === FORCING BURGER MENU VISIBILITY ON MOBILE (2025-11) === */
@media (max-width: 900px) {
    #burgerMenu {
        display: flex !important;
        position: relative;
        z-index: 11001;
        background: var(--primary-gold);
        color: white;
        border: none;
        align-items: center;
        gap: var(--spacing-xs);
        font-size: 1.1em;
        cursor: pointer;
    }
}
/* === MEGA RESPONSIVE GRILLES (2025-11) === */
@media (max-width: 900px) {
    #servicesGrid,
    .grid-2,
    .grid-3,
    .grid-4,
    .gallery-grid,
    .testimonials-grid,
    .sazulis-features,
    .non-features {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2em !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    #servicesGrid > *,
    .grid-2 > *,
    .grid-3 > *,
    .grid-4 > *,
    .gallery-grid > *,
    .testimonials-grid > *,
    .sazulis-features > *,
    .non-features > * {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin: 0 !important;
    }
}

@media (max-width: 600px) {
    #servicesGrid,
    .grid-2,
    .grid-3,
    .grid-4,
    .gallery-grid,
    .testimonials-grid,
    .sazulis-features,
    .non-features {
        gap: 1em !important;
        padding-left: 0.2em !important;
        padding-right: 0.2em !important;
    }
    #servicesGrid > *,
    .grid-2 > *,
    .grid-3 > *,
    .grid-4 > *,
    .gallery-grid > *,
    .testimonials-grid > *,
    .sazulis-features > *,
    .non-features > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-radius: 0.7em !important;
    }
}
/* === RESPONSIVE FIXES SAZULIS (2025-11) === */
/* === RESPONSIVE MODERNE & UNIFIÉ (2025-11) === */
/* === RESPONSIVE MODERNE & UNIFIÉ (2025-11) - REWORK GLOBAL === */
@media (max-width: 1200px) {
    .container, .section-container, .hero-container, .footer-container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .container, .section-container, .hero-container, .footer-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .grid-3, .grid-4, .gallery-grid, .testimonials-grid, .sazulis-features, .non-features {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: stretch !important;
    }
    .card, .card.positive, .card.negative {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 1.2rem 0 !important;
        padding: 1rem !important;
        box-sizing: border-box;
        overflow-x: hidden !important;
    }
    .hero-title { font-size: 1.7rem !important; }
    .hero-section, .process-section, .testimonials-section, .comparatif, .comparatif-visual, .faq-comparatif {
        padding: 1.2rem 0 !important;
    }
    .comparatif table, .faq-comparatif table {
        font-size: 0.98em;
        width: 100%;
        display: block;
        overflow-x: auto;
        border-radius: 10px;
        box-shadow: 0 2px 8px #be995b22;
    }
    .comparatif table thead, .comparatif table tbody, .faq-comparatif table thead, .faq-comparatif table tbody {
        display: table;
        width: 100%;
    }
    .comparatif .conclusion, .comparatif-visual .conclusion-box {
        font-size: 1em;
        padding: 1em 0.5em !important;
    }
    .navbar {
        padding: 0 1rem !important;
    }
}

@media (max-width: 700px) {
    .container, .section-container, .hero-container, .footer-container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .footer-brand, .footer-links {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.2rem !important;
    }
    .footer-logo { margin-bottom: 0.7em; }
    .footer-column ul { padding-left: 0.5em; }
    .faq-list, .faq-comparatif, .comparatif, .comparatif-visual {
        padding: 0 !important;
    }
    .faq-item, .card, .card.positive, .card.negative {
        padding: 0.7em 0.5em !important;
        font-size: 0.98em;
    }
    .footer-description, .footer-social { text-align: left !important; }
    .navbar {
        padding: 0 0.5rem !important;
    }
    .navbar-links-desktop {
        display: none !important;
    }
    .burger-menu {
        display: flex !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
    }
    /* Les grilles sont déjà gérées plus haut pour le responsive */
    .btn-lg {
        padding: var(--spacing-sm) var(--spacing-lg) !important;
    }
}

@media (max-width: 500px) {
    .hero-title { font-size: 1.1rem !important; }
    .navbar-brand { font-size: 1.1rem !important; }
    .card-title { font-size: 1.1rem !important; }
    .btn { width: 100% !important; justify-content: center !important; }
    .card, .card.positive, .card.negative {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        box-sizing: border-box;
        overflow-x: hidden !important;
    }
    .comparatif table, .faq-comparatif table {
        font-size: 0.90em !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 400px) {
    .hero-title { font-size: 0.98rem !important; }
    .footer-logo-icon { font-size: 1.1rem !important; }
    .footer-logo h3 { font-size: 1rem !important; }
}
.hero-title {
    filter: none !important;
    text-shadow: none !important;
}
/* === MENU MOBILE BURGER (fix JS/design) === */
.burger-menu {
    display: flex !important;
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.1em;
    z-index: 11001;
}
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    background: rgba(20, 22, 34, 0.98);
    color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    overflow-y: auto;
}
.mobile-menu-overlay.active {
    display: flex;
}
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.4);
}
.menu-backdrop.active {
    display: block;
}
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2em 1.5em 1em 1.5em;
    border-bottom: 1px solid #333;
}
.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.2em;
    font-weight: bold;
}
.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-links li {
    border-bottom: 1px solid #222;
}
.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.7em;
    padding: 1.1em 1.5em;
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: background 0.2s;
}
.mobile-nav-links a:hover {
    background: #222;
}
.cart-badge {
    background: #ff3b3b;
    color: #fff;
    border-radius: 1em;
    padding: 0.1em 0.7em;
    font-size: 0.9em;
    margin-left: 0.5em;
}
.mobile-user-section {
    background: #181a2a;
    padding: 1.2em 1.5em;
}
.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}
.user-avatar {
    font-size: 2em;
}
.user-name {
    font-weight: bold;
}
.user-email {
    font-size: 0.95em;
    color: #aaa;
}
/* ========================================
   SAZULIS STORE - CSS UNIFIÉ OPTIMISÉ
   Fichier unique pour toutes les pages
   ======================================== */

/* === VARIABLES CSS GLOBALES === */
:root {
    /* Couleurs Premium Squirrel/Noisette */
    --primary-gold: #8c744e;
    --secondary-gold: #be995b;
    --light-cream: #e2d3b2;
    --warm-white: #fff6e0;
    --dark-brown: #3a2c1a;
    --medium-brown: #6e573a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 60%, var(--light-cream) 100%);
    --gradient-hero: linear-gradient(135deg, #fff6e0 0%, #f8f1e6 50%, #e2d3b2 100%);
    
    /* Ombres */
    --shadow-premium: 0 20px 60px rgba(140, 116, 78, 0.15);
    --shadow-hover: 0 30px 80px rgba(140, 116, 78, 0.25);
    --shadow-card: 0 10px 30px rgba(140, 116, 78, 0.1);
    
    /* Couleurs système */
    --success-green: #10b981;
    --error-red: #ef4444;
    --info-blue: #3b82f6;
    --warning-orange: #f59e0b;
    --purple-accent: #8b5cf6;
    
    /* Typographie */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 25px;
    
    /* Layout */
    --container-max-width: 1400px;
    --navbar-height: 80px;
    --sidebar-width: 280px;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-brown);
    background: var(--warm-white);
    overflow-x: hidden !important;
}

/* === UTILITAIRES === */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.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-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* === NAVBAR UNIVERSELLE === */
.navbar {
    background: white;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    color: var(--dark-brown);
    text-decoration: none;
}

.navbar-logo-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.navbar-links-desktop {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.navbar-links-desktop a {
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.navbar-links-desktop a:hover,
.navbar-links-desktop a[aria-current="page"] {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.burger-menu {
    display: none;
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    gap: var(--spacing-xs);
}

/* === BOUTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-premium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--light-cream);
    color: var(--dark-brown);
    border: 2px solid var(--light-cream);
}

.btn-secondary:hover {
    background: var(--secondary-gold);
    border-color: var(--secondary-gold);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: white;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
    min-height: 36px;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
    min-height: 56px;
}

/* === FORMULAIRES === */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-brown);
    margin-bottom: var(--spacing-xs);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--light-cream);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    background: var(--warm-white);
    transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(140, 116, 78, 0.1);
}

.form-input.error {
    border-color: var(--error-red);
    background: rgba(239, 68, 68, 0.05);
}

.form-input.success {
    border-color: var(--success-green);
    background: rgba(16, 185, 129, 0.05);
}

.form-error {
    color: var(--error-red);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
    display: none;
}

.form-success {
    color: var(--success-green);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

/* === CARTES === */
.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--light-cream);
}

.card-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-brown);
    margin-bottom: var(--spacing-xs);
}

.card-subtitle {
    color: var(--medium-brown);
    font-weight: var(--font-weight-medium);
}

.card-body {
    color: var(--medium-brown);
    line-height: 1.6;
}

.card-footer {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-cream);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === GRILLES === */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.grid-gap-sm { gap: var(--spacing-sm); }
.grid-gap-md { gap: var(--spacing-md); }
.grid-gap-lg { gap: var(--spacing-lg); }

/* === NOTIFICATIONS === */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-green);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    z-index: 10000;
    animation: slideInRight 0.4s ease;
    box-shadow: var(--shadow-premium);
}

.notification.error { background: var(--error-red); }
.notification.info { background: var(--info-blue); }
.notification.warning { background: var(--warning-orange); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* === LOADING STATES === */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-cream);
    border-top: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: var(--spacing-lg) auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === MODALES === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}



/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease-out; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease-out; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }

/* === ACCESSIBILITÉ === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === DARK MODE SUPPORT === */
@media (prefers-color-scheme: dark) {
    :root {
        --warm-white: #1a1a1a;
        --dark-brown: #f5f5f5;
        --medium-brown: #cccccc;
        --light-cream: #333333;
    }
}

/* === PERFORMANCE OPTIMIZATIONS === */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

.scroll-smooth {
    scroll-behavior: smooth;
}

/* === IMPRESSION === */
@media print {
    .navbar, .burger-menu, .btn, .notification {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
}