/* =========================================
   1. VARIABLES & CONFIGURATION
   ========================================= */
:root {
    /* Couleurs principales */
    --color-orange: #F18735;
    --color-blue: #174149;
    --color-white: #FFFFFF;
    --color-bg-light: #fdfbf9;

    /* Couleurs Thématiques (Noël / St Valentin) */
    --color-special-principal: #f92b2b9d; 
    --color-special-secondary: #f4f5f7;       
    --color-special-bg: #f4f9f8;
    --color-special-green: #1e3d33;
    
    /* Typographies */
    --font-text: 'Nunito Sans', sans-serif;
    --font-title: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    
    /* Dimensions */
    --header-height: 90px;
    --bottom-nav-height: 80px;

    /* Z-Index Layering (Documentation) */
    /* 3900: Mobile Nav Overlay */
    /* 4000: Header Desktop */
    /* 5000: Modales, Burger Menu, Sticky Footer */
}

/* =========================================
   2. RESET & BASES
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

body { 
    font-family: var(--font-text); 
    color: var(--color-blue); 
    line-height: 1.7; 
    background-color: var(--color-bg-light); 
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s; 
}

ul { 
    list-style: none; 
}

img { 
    max-width: 100%; 
    display: block; 
    object-fit: cover; 
}

/* Utilitaires */
.hidden { display: none !important; }
.fade-in { animation: fadeIn 0.6s ease-in-out; }

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

/* =========================================
   3. TYPOGRAPHIE
   ========================================= */
h1, h2, h3, h4 { 
    font-family: var(--font-title); 
    font-weight: 900; 
    color: var(--color-blue); 
}

h1 { 
    font-size: 3.8rem; 
    line-height: 1.1; 
    margin-bottom: 25px; 
}

h2 { 
    font-size: 2.8rem; 
    margin-bottom: 20px; 
    line-height: 1.2; 
}

h3 { 
    font-size: 1.5rem; 
    margin-bottom: 10px; 
}

.baseline { 
    font-family: var(--font-text); 
    font-weight: 800; 
    color: var(--color-orange); 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    font-size: 0.85rem; 
    margin-bottom: 15px; 
    display: block; 
}

.script-text { 
    font-family: var(--font-script); 
    color: var(--color-orange); 
    font-size: 2.5rem; 
    line-height: 1; 
    margin-bottom: 10px; 
    display: block; 
}

/* =========================================
   4. BOUTONS
   ========================================= */
.btn-primary {
    background-color: var(--color-orange);
    color: white; 
    padding: 14px 35px; 
    border-radius: 50px;
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px; 
    border: 2px solid var(--color-orange);
    cursor: pointer; 
    display: inline-block; 
    font-size: 0.8rem; 
    box-shadow: 0 4px 15px rgba(241, 135, 53, 0.3); 
    transition: all 0.3s;
    text-align: center;
}

.btn-primary:hover { 
    background-color: transparent; 
    color: var(--color-orange); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(241, 135, 53, 0.4); 
}

.btn-outline {
    background-color: transparent; 
    color: var(--color-blue); 
    padding: 14px 35px; 
    border-radius: 50px;
    text-transform: uppercase; 
    font-weight: 700; 
    border: 2px solid var(--color-blue); 
    cursor: pointer; 
    font-size: 0.8rem; 
    letter-spacing: 1px;
}

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

.btn-download-pdf {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    margin: 15px auto; 
    padding: 10px 20px;
    width: 90%; 
    border: 1px dashed #ccc; 
    border-radius: 12px; 
    background-color: #fcfcfc; 
    color: #555;
    font-size: 0.85rem; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease;
}

.btn-download-pdf:hover { 
    border-color: var(--color-orange); 
    background-color: #fff8f3; 
    color: var(--color-orange); 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.pdf-icon { 
    width: 24px; 
    height: 24px; 
    fill: #e74c3c; 
    transition: 0.3s; 
}

.btn-download-pdf:hover .pdf-icon { 
    transform: scale(1.1); 
}

/* =========================================
   5. HEADER & NAVIGATION (DESKTOP)
   ========================================= */
header { 
    position: sticky; 
    top: 0; 
    z-index: 4000; 
    background-color: rgba(255,255,255,1); 
    backdrop-filter: blur(10px); 
    padding: 10px 40px; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.05); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: var(--header-height);
}

.logo-container img { 
    height: 70px; 
    width: auto; 
    cursor: pointer; 
}

.nav-links { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
}

.nav-links li { 
    cursor: pointer; 
    text-transform: uppercase; 
    font-size: 0.7rem; 
    font-weight: 800; 
    letter-spacing: 1px; 
    position: relative; 
    padding: 5px 0; 
}

.nav-links li:hover, .nav-links li.active { 
    color: var(--color-orange); 
}

.nav-links > li.active::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 2px; 
    background-color: var(--color-orange); 
}

/* Dropdown Desktop */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: #ffffff; 
    min-width: 200px; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2); 
    z-index: 1000; 
    list-style: none; 
    padding: 10px 0; 
    border-radius: 5px; 
}
.dropdown-menu li { 
    padding: 10px 20px; 
    color: #1e3d33 !important; 
    font-weight: normal !important; 
}
.dropdown-menu li:hover { background-color: #f1f1f1; }
.dropdown:hover .dropdown-menu { display: block; }

/* Panier Icone Header */
.cart-trigger-container { 
    position: relative; 
    cursor: pointer; 
    margin-left: 20px; 
    display: flex; 
    align-items: center; 
}

.cart-icon { 
    width: 30px; 
    height: 30px; 
    stroke: var(--color-blue); 
    fill: none; 
    transition: 0.3s; 
}

.cart-trigger-container:hover .cart-icon { 
    stroke: var(--color-blue); 
    transform: scale(1.1); 
}

.cart-badge {
    position: absolute; 
    top: -8px; 
    right: -10px; 
    background-color: var(--color-orange);
    color: white; 
    border-radius: 50%; 
    width: 20px; 
    height: 20px; 
    font-size: 0.75rem;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-weight: bold;
    opacity: 0; 
    transition: 0.3s;
}

.cart-trigger-container.has-items .cart-badge { opacity: 1; }

/* =========================================
   6. NAVIGATION MOBILE & BURGER
   ========================================= */
/* Burger Menu */
.burger-menu {
    display: none; /* Desktop default */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 5000;
    color: var(--color-blue);
    flex-direction: row; 
    gap: 0;
}

.burger-menu .icon-hamburger { display: block; }
.burger-menu .icon-close     { display: none; }

.burger-menu.active { color: var(--color-orange); }
.burger-menu.active .icon-hamburger { display: none; }
.burger-menu.active .icon-close     { display: block; animation: popIn 0.2s ease; }

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Header Center (Menu Dropdown) */
.mobile-header-center { 
    display: none; 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%);
    align-items: center;
    gap: 10px;
}

.mobile-btn-pill { 
    font-size: 0.65rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    padding: 8px 14px; 
    border-radius: 20px; 
    letter-spacing: 0.5px; 
    transition: 0.2s; 
    cursor: pointer; 
    white-space: nowrap; 
}

.mobile-btn-pill.outline { 
    background: #f4f5f7; 
    color: var(--color-blue); 
    border: 1px solid #e0e0e0; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
}

.mobile-btn-pill.en-direct { 
    background: white; 
    color: var(--color-orange); 
    border: 1px solid var(--color-orange);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed; 
    top: var(--header-height); 
    left: 0; 
    width: 100%; 
    height: calc(100vh - var(--header-height)); 
    background: white; 
    z-index: 3900; 
    display: none; 
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start; 
    padding: 20px 40px 100px 40px; 
    gap: 20px;
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    overflow-y: auto; 
}

.mobile-nav-overlay.open { display: flex; transform: translateX(0); }

.mobile-nav-overlay li { 
    font-size: 1.2rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    color: var(--color-blue); 
    padding: 10px; 
    width: 100%; 
    text-align: center; 
}
.mobile-nav-overlay li:active { background-color: #f9f9f9; }

/* Sous-menu Accordéon Mobile */
.mobile-nav-accordion {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fdfbf9;
    border-radius: 10px;
    margin-bottom: 10px;
}
.mobile-nav-accordion.open {
    display: flex; /* Ceci rend le menu visible */
    animation: fadeIn 0.3s ease;
}

.rotate-chevron {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
.mobile-nav-accordion li {
    font-size: 1rem;
    color: #666;
    padding: 12px;
    border-bottom: 1px solid #eee;
}
.mobile-nav-accordion li:last-child { border-bottom: none; }

/* Dropdown Header Mobile */
.header-dropdown-content {
    display: none; 
    position: absolute;
    top: 120%; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: white;
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(23, 65, 73, 0.15); 
    border-radius: 12px;
    z-index: 5000;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    animation: fadeInDrop 0.2s ease-out;
}
.header-dropdown-content.show { display: block; }

.header-dropdown-content a {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-text); 
    color: #1e3d33;                
    font-weight: normal;           
    font-size: 0.95rem;            
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    background: white; 
    white-space: nowrap;
    transition: 0.2s;
}
.header-dropdown-content a:last-child { border-bottom: none; }
.header-dropdown-content a:active { background-color: #f4f9f8; color: var(--color-orange); }

@keyframes fadeInDrop {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.rotate-chevron { transform: rotate(180deg); }

/* =========================================
   7. MODALE PANIER
   ========================================= */
.cart-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; 
    height: 100%; 
    height: 100dvh; 
    background: rgba(0,0,0,0.5); z-index: 5000; 
    display: none; justify-content: flex-end;
}

.cart-modal {
    background: white; 
    width: 100%; max-width: 500px; 
    height: 100%;
    padding: 30px; 
    display: flex; flex-direction: column;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

.cart-header { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; 
    flex-shrink: 0; 
}
.cart-items-container { 
    flex: 1; overflow-y: auto; margin-bottom: 20px; min-height: 0; 
} 

.cart-footer-section { 
    flex-shrink: 0; /* Ne rétrécit pas */
    background: white; 
    padding-top: 10px; 
    border-top: 2px dashed #f0f0f0; 
    padding-bottom: env(safe-area-inset-bottom); 
}

.cart-item-row { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 15px; border-bottom: 1px dashed #f0f0f0; padding-bottom: 10px; 
}
.cart-item-info { font-size: 0.95rem; font-weight: 700; color: var(--color-blue); }
.cart-item-price { color: var(--color-blue); font-weight: 800; }
.cart-total-block { 
    font-size: 1.3rem; font-weight: 900; text-align: right; 
    margin-bottom: 20px; color: var(--color-blue); 
}

/* Styles pour les menus dans le panier */
.cart-section-title { 
    font-family: var(--font-title); font-size: 0.95rem; color: #aaa; 
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700; 
    margin: 25px 0 10px 0; padding-bottom: 5px; border-bottom: 1px solid #f0f0f0; 
}
.cart-menu-row { 
    display: flex; justify-content: space-between; align-items: flex-start; 
    margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px dashed #e5e5e5; 
}
.cart-menu-info { flex: 1; padding-right: 15px; }
.cart-menu-header-line { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cart-menu-title { font-weight: 800; color: var(--color-blue); font-size: 1rem; }
.menu-badge { 
    background-color: var(--color-orange); color: white; font-size: 0.65rem; 
    padding: 2px 6px; border-radius: 4px; text-transform: uppercase; 
    font-weight: 700; letter-spacing: 0.5px; 
}
.cart-menu-composition { font-size: 0.85rem; color: #666; line-height: 1.5; font-style: italic; margin-left: 2px; }
.cart-menu-composition span::after { content: " • "; color: #666; }
.cart-menu-composition span:last-child::after { content: ""; }
.cart-menu-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 80px; }
.cart-menu-total-price { font-weight: 800; color: var(--color-blue); font-size: 1rem; }

/* =========================================
   8. COMPOSANTS GENERAUX (Cards, Steps, etc.)
   ========================================= */
section { padding: 80px 40px; max-width: 1400px; margin: 0 auto; }

/* Hero Principal */
.hero { display: flex; align-items: center; min-height: 85vh; gap: 60px; padding-top: 40px; }
.hero-text { flex: 1; }
.hero-visual { flex: 1; position: relative; height: 600px; }
.hero-main-img { width: 90%; height: 100%; object-fit: cover; border-radius: 200px 200px 20px 20px; margin-left: auto; box-shadow: 20px 20px 0px rgba(241, 135, 53, 0.1); background: url('../../images/Sebatien.png') center/cover; }
.hero-floating-card { 
    position: absolute; bottom: 50px; left: 0; background: white; 
    padding: 25px; border-radius: 15px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    max-width: 250px; animation: float 4s ease-in-out infinite; 
    border-left: 5px solid var(--color-orange); z-index: 5; 
}
@keyframes float { 
    0% { transform: translateY(0px); } 
    50% { transform: translateY(-10px); } 
    100% { transform: translateY(0px); } 
}

/* Section Promesses */
.promises-section { 
    background-color: white; border-radius: 40px; padding: 80px 60px; 
    margin-top: -50px; position: relative; z-index: 10; 
    box-shadow: 0 -10px 40px rgba(0,0,0,0.03); 
}
.promises-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.promise-card { 
    text-align: center; padding: 40px 30px; border-radius: 20px; 
    transition: 0.3s; border: 1px solid transparent; background: #fff; 
}
.promise-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: #eee; 
}
.promise-icon { font-size: 3rem; color: var(--color-orange); margin-bottom: 25px; display: inline-block; }

/* Section Etapes */
.steps-section { 
    text-align: center; padding: 100px 40px; 
    background-color: #fcece4; margin-top: 60px; border-radius: 40px; 
}
.steps-grid { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; 
    margin-top: 50px; position: relative; 
}
.steps-grid::before { 
    content: ''; position: absolute; top: 40px; left: 15%; right: 15%; height: 2px; 
    background-image: linear-gradient(to right, var(--color-orange) 50%, transparent 50%); 
    background-size: 20px 100%; z-index: 0; opacity: 0.5; 
}
.step-item { position: relative; z-index: 1; transition: transform 0.3s ease; cursor: default; }
.step-item:hover { transform: translateY(-10px); }
.step-item:hover .step-number { box-shadow: 0 10px 25px rgba(241, 135, 53, 0.3); transform: scale(1.1); }
.step-number { 
    width: 80px; height: 80px; background: var(--color-blue); color: white; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-family: var(--font-title); font-size: 2rem; margin: 0 auto 25px; 
    border: 5px solid #fcece4; transition: 0.3s; line-height: 0; padding: 0; 
}
.step-item:nth-child(2) .step-number { background: var(--color-orange); }

/* Flip Cards (Services) */
.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; padding: 0 20px; }
.flip-container { perspective: 1000px; width: 100%; height: 520px; }
.flip-inner { 
    position: relative; width: 100%; height: 100%; text-align: center; 
    transition: transform 0.8s; transform-style: preserve-3d; cursor: pointer; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 15px; 
}
.flip-container.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { 
    position: absolute; width: 100%; height: 100%; backface-visibility: hidden; 
    border-radius: 15px; overflow: hidden; border-bottom: 6px solid var(--color-orange); 
    background-color: white; 
}
.flip-front .card-img { height: 60%; width: 100%; object-fit: cover; }
.flip-front .card-content { 
    padding: 30px; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; height: 40%; 
}
.flip-back { 
    color: var(--color-blue); transform: rotateY(180deg); padding: 20px; 
    display: flex; flex-direction: column; text-align: left; justify-content: space-between; 
}
.flip-back-header { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 10px; }
.flip-back-thumb { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-orange); flex-shrink: 0; }
.flip-back-title { font-family: var(--font-title); font-size: 1.2rem; line-height: 1.2; font-weight: 700; }
.text-orange { color: var(--color-orange); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-top: 5px; }
.flip-back-desc { font-size: 0.8rem; flex-grow: 1; color: #555; overflow-y: auto; text-align: justify; margin-bottom: 10px; font-size: 0.95rem;}

/* Galerie Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-item { height: 300px; position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; transition: 0.6s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item.large { grid-column: span 2; }
.services-header { text-align: center; max-width: 1200px; margin: 0 auto 60px; }

/* =========================================
   9. PAGES SPECIFIQUES
   ========================================= */

/* Pages Spéciales (St Valentin / Boutique) */
#special { 
    background-color: var(--color-special-bg); 
    background-image: radial-gradient(#e1ece9 1px, transparent 1px); 
    background-size: 20px 20px; 
}
.special-hero { text-align: center; margin-bottom: 60px; }
.special-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; align-items: start; }
.special-card { 
    background-color: var(--color-special-principal); color: white; 
    border-radius: 150px 150px 20px 20px; padding: 60px 30px 40px; 
    text-align: center; box-shadow: 0 15px 40px rgba(23, 65, 73, 0.3); 
    border: 3px solid var(--color-special-secondary); 
}
.special-card h3 { 
    font-family: var(--font-script); color: var(--color-special-secondary); 
    font-size: 3rem; margin-bottom: 10px; line-height: 1; 
}

/* Sélecteurs de Quantité */
.modern-qty-selector { 
    display: inline-flex; align-items: center; background: #fff; 
    border-radius: 50px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    padding: 4px; border: 1px solid #f0f0f0; 
}
.qty-btn { 
    width: 32px; height: 32px; border-radius: 50%; border: none; 
    background: #f8f8f8; color: var(--color-orange); font-weight: 900; 
    font-size: 1.1rem; cursor: pointer; transition: all 0.2s; 
    display: flex; align-items: center; justify-content: center; 
}
.qty-btn:hover { background: var(--color-orange); color: white; transform: scale(1.1); }
.qty-display { min-width: 35px; text-align: center; font-weight: 800; font-size: 1.1rem; color: var(--color-blue); margin: 0 5px; }

.modern-qty-selector.small { padding: 2px; box-shadow: none; border: 1px solid #eee; }
.modern-qty-selector.small .qty-btn { width: 24px; height: 24px; font-size: 0.9rem; }

/* Blocs Boutique (Chapitres) */
.chapter-block { display: flex; align-items: center; gap: 80px; margin-bottom: 120px; }
.chapter-block:nth-child(even) { flex-direction: row-reverse; } 
.chapter-img-container { flex: 1; height: 500px; position: relative; }
.chapter-img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 20px 20px 0 rgba(23, 65, 73, 0.05); }
.chapter-content { flex: 1; padding: 20px; }
.chapter-number { font-family: var(--font-script); font-size: 3rem; color: var(--color-orange); opacity: 0.5; line-height: 0.5; }
.chapter-title { font-size: 2.2rem; margin: 10px 0 25px; }
.boutique-controls { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #ddd; display: flex; flex-direction: column; gap: 15px; }
.boutique-price { font-size: 1.4rem; font-weight: 900; color: var(--color-orange); font-family: var(--font-title); }

/* Lockers (Map) */
.locker-selector { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.locker-address-display { text-align: center; margin-bottom: 40px; font-weight: 700; color: var(--color-orange); font-size: 1.1rem; }
.locker-btn { 
    padding: 15px 30px; border: 2px solid var(--color-blue); 
    border-radius: 50px; background: transparent; color: var(--color-blue); 
    font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; 
    cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 10px; 
}
.locker-btn.active { 
    background-color: var(--color-blue); color: white; 
    transform: scale(1.05); box-shadow: 0 10px 20px rgba(23, 65, 73, 0.2); 
}
.locker-status-dot { 
    height: 12px; width: 12px; background-color: #2ecc71; 
    border-radius: 50%; box-shadow: 0 0 10px #2ecc71; animation: pulse 2s infinite; 
}
.locker-stock-count {
    text-align: center;
    font-size: 0.95rem;      /* Taille plus petite */
    font-weight: 700;        /* 400 = Normal (pas gras) */
    color: #888888;          /* Gris */
    margin-bottom: 30px;
    margin-top: -35px;
    font-family: var(--font-text); /* Police standard (pas titre) */
    font-style: italic;      /* Optionnel : rend le texte plus informatif/discret */
    transition: color 0.3s;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.locker-guide-container { 
    display: flex; gap: 40px; margin-bottom: 60px; 
    background: white; border-radius: 30px; padding: 30px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; 
}

.locker-steps-col { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.vertical-step { display: flex; gap: 20px; margin-bottom: 30px; position: relative; }
.vertical-step:last-child { margin-bottom: 0; }
.vertical-step::after { 
    content: ''; position: absolute; left: 20px; top: 45px; bottom: -20px; 
    width: 2px; background: #eee; z-index: 0; 
}
.vertical-step:last-child::after { display: none; }
.v-step-num { 
    width: 40px; height: 40px; background: var(--color-orange); color: white; 
    border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; 
    justify-content: center; font-weight: 800; z-index: 1; 
    border: 3px solid white; box-shadow: 0 5px 15px rgba(241, 135, 53, 0.3); 
}
.v-step-text { font-size: 0.95rem; color: #555; font-weight: 600; padding-top: 8px; }

#map-container { flex: 1; position: relative; min-height: 350px; border-radius: 20px; overflow: hidden; border: 1px solid #dae6e8; }
#map { height: 100%; width: 100%; z-index: 1;}

.menu-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px; 
    padding: 20px 0; 
}

.valentine-wrapper { display: flex; gap: 50px; align-items: flex-start; padding-bottom: 60px; }
.menu-paper { flex: 1; background-color: #fff; padding: 60px; border-radius: 20px; box-shadow: 0 20px 50px rgba(23, 65, 73, 0.1); position: relative; border: 1px solid #f0efe9; }
.menu-paper::before { content: ''; position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; border: 2px solid var(--color-orange); opacity: 0.3; pointer-events: none; border-radius: 15px; }
.menu-header { text-align: center; margin-bottom: 40px; }
.menu-course-title { font-family: var(--font-script); color: var(--color-orange); font-size: 2.2rem; margin: 30px 0 15px; text-align: center; position: relative; }
.dish-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #e0e0e0; }
.dish-info { flex: 1; padding-right: 20px; }
.dish-name { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--color-blue); }
.dish-desc { font-size: 0.85rem; color: #777; font-style: italic; line-height: 1.4; }
.boutique-sidebar { flex: 0.8; display: flex; flex-direction: column; gap: 30px; }
.boutique-sidebar .boutique-details p {
    padding: 0 0px;
    text-align: left;
    text-justify: inter-word; /* Aide les navigateurs à mieux gérer les espaces */
}
.boutique-card-item { 
    background: #fff; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    display: flex; 
    align-items: stretch; /* IMPORTANT : Force les éléments à prendre toute la hauteur */
    transition: transform 0.3s ease; 
}

/* L'image sur la gauche */
.boutique-thumb { 
    width: 130px;      /* Largeur fixe */
    height: auto;      /* La hauteur s'adapte au parent */
    min-height: 100%;  /* Force l'image à remplir verticalement le bloc */
    object-fit: cover; /* Coupe l'image proprement sans la déformer */
}
.boutique-details { padding: 20px; flex: 1; }
.boutique-title { font-family: var(--font-title); font-weight: 700; font-size: 1rem; margin-bottom: 5px; line-height: 1.2; }
.boutique-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.price-tag { font-weight: 900; color: var(--color-orange); font-size: 1.1rem; }

/* CORRECTIF SPÉCIFIQUE BOUTIQUE */
#boutique .chapter-block { margin-bottom: 50px; gap: 40px; align-items: center; }
#boutique .chapter-img-container { flex: 0 0 500px; height: 300px; }
.mobile-bottom-nav {display: none ;}

.dish-card { 
    background: white; 
    border-radius: 20px; 
    padding: 25px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.3s; 
    border: 1px solid #f0f0f0; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    min-height: 100px; 
}

.dish-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(241, 135, 53, 0.15); 
    border-color: #ffe0cc; 
}

.dish-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 15px; 
    width: 100%; 
}

.dish-name { 
    font-family: var(--font-title); 
    font-size: 1.3rem; 
    line-height: 1.2; 
    color: var(--color-blue); 
    font-weight: 700; 
}

.stock-badge { 
    flex-shrink: 0; 
    font-size: 0.75rem; 
    font-weight: 800; 
    padding: 8px 16px; 
    border-radius: 50px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    white-space: nowrap; 
}

.stock-high { background-color: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.stock-low { background-color: #fff3e0; color: #e65100; animation: wobble 2s infinite; border: 1px solid #ffe0b2; }
.stock-out { background-color: #f5f5f5; color: #9e9e9e; border: 1px solid #eee; }

.dish-card.sold-out { opacity: 0.5; background: #fafafa; }
.dish-card.sold-out .dish-name { color: #888; }

@keyframes wobble { 
    0%, 100% { transform: rotate(0); } 
    25% { transform: rotate(-5deg); } 
    75% { transform: rotate(5deg); } 
}

.empty-state { 
    text-align: center; 
    padding: 60px; 
    background: white; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    grid-column: 1/-1; 
}
.empty-icon { font-size: 4rem; margin-bottom: 20px; display: block; }

/* Contact Form */
.contact-container { 
    display: flex; 
    background: white; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); 
    border-radius: 20px; 
    overflow: hidden; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.contact-info { 
    width: 40%; 
    background-color: var(--color-blue); 
    color: white; 
    padding: 60px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.contact-info h2 { color: white; margin-bottom: 20px; font-size: 2.2rem; }

.contact-form-wrapper { width: 60%; padding: 60px; }

.form-group input, .form-group textarea, .form-group select { 
    width: 100%; 
    padding: 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    font-family: inherit; 
    outline: none; 
    transition: 0.3s; 
    background: #f9f9f9; 
}

.social-links { 
    display: flex; 
    gap: 15px; 
    margin-top: 30px; 
    border-top: 1px solid rgba(255,255,255,0.2); 
    padding-top: 20px; 
}

.social-icon { 
    width: 40px; 
    height: 40px; 
    border: 1px solid rgba(255,255,255,0.3); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.3s; 
    color: white; 
}

.social-icon:hover { 
    background-color: var(--color-orange); 
    border-color: var(--color-orange); 
    transform: translateY(-3px); 
}

.social-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* Footer */
footer { 
    background-color: var(--color-blue); 
    color: white; 
    padding: 80px 40px; 
    text-align: center; 
    margin-top: 100px; 
    padding-bottom: 120px; 
}

/* =========================================
   10. PLUGINS (Calendar)
   ========================================= */
    /* CALENDRIER STYLE */
    .flatpickr-calendar { background: #ffffff !important; width: 360px !important; padding: 20px !important; border: none !important; border-radius: 24px !important; box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important; font-family: 'Nunito Sans', sans-serif !important; overflow: hidden !important; }
    .date-picker-wrapper { position: relative; background: #ffffff; border: 1px solid #e0e0e0; border-radius: 50px; padding: 12px 25px; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
    .date-picker-wrapper input { border: 0 !important; background: transparent !important; width: 100%; text-align: center !important; font-weight: 700; color: var(--color-blue); font-size: 1.05rem; cursor: pointer; outline: none; }
    .calendar-icon { width: 22px; height: 22px; color: var(--color-orange); flex-shrink: 0; }
    .chevron-icon { width: 18px; height: 18px; color: #ccc; flex-shrink: 0; }

/* =========================================
   11. STICKY FOOTER MOBILE
   ========================================= */
.mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 -5px 30px rgba(0,0,0,0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%;
    height: 85px; 
    z-index: 5000;
    padding-bottom: env(safe-area-inset-bottom); 
    display: none; 
    justify-content: space-evenly; 
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.nav-item-bottom {
    flex: 1;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    gap: 5px; 
    height: 100%;
    color: #999; 
    transition: all 0.3s ease;
    cursor: pointer; 
    text-decoration: none; 
    padding-top: 10px;
}

.nav-item-bottom span { font-size: 0.65rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; font-family: var(--font-text); }
.nav-item-bottom svg { width: 24px; height: 24px; stroke: #aaa; stroke-width: 2px; fill: none; transition: 0.3s; }
.nav-item-bottom:active svg, .nav-item-bottom:active span { color: var(--color-orange); stroke: var(--color-orange); transform: scale(0.95); }

/* Center Item */
.nav-item-bottom.center-item { color: var(--color-orange); }
.center-icon-circle {
    width: 40px; height: 40px;
    background: rgba(241, 135, 53, 0.1); 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: -2px;
    box-shadow: 0 4px 10px rgba(241, 135, 53, 0.15);
    border: 1px solid rgba(241, 135, 53, 0.2);
}
.center-item svg { stroke: var(--color-orange); width: 20px; height: 20px; }
.live-text { color: var(--color-orange); font-weight: 800 !important; }

/* Badge Footer */
.icon-wrapper { position: relative; }
.bottom-cart-badge {
    position: absolute; top: -5px; right: -8px;
    background: var(--color-blue); color: white;
    font-size: 0.6rem; font-weight: 800;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
    opacity: 0; transform: scale(0);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mobile-bottom-nav.has-items .bottom-cart-badge { opacity: 1; transform: scale(1); }
.mobile-bottom-nav.has-items .cart-trigger-container svg { stroke: var(--color-blue); fill: rgba(23, 65, 73, 0.05); }
.mobile-bottom-nav.has-items .cart-trigger-container span { color: var(--color-blue); font-weight: 800; }
/* On s'assure que le parent sert de repère */
.date-picker-wrapper {
    position: relative; 
}

/* On cible le calendrier quand il est en mode "static" (intégré à la page) */
.flatpickr-calendar.static {
    position: absolute !important;
    
    /* On annule le positionnement vers le bas */
    top: auto !important;
    
    /* On le pousse vers le haut : 100% de la hauteur du champ + une marge */
    bottom: 100% !important; 
    margin-bottom: 15px !important; /* Petite marge pour décoller du champ */
    margin-top: 0 !important;
    
    /* Centrage horizontal */
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    z-index: 9999 !important;
}

/* On déplace la petite flèche décorative du calendrier pour qu'elle soit en bas */
.flatpickr-calendar.static:before,
.flatpickr-calendar.static:after {
    top: 100% !important; /* La flèche passe en bas du calendrier */
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-top-color: #fff !important; /* La couleur de la flèche s'adapte */
    border-bottom-color: transparent !important;
}

/* =========================================
   12. MEDIA QUERIES (RESPONSIVE)
   ========================================= */
/* --- DANS assets/css/style.css --- */
/* A AJOUTER OU REMPLACER DANS LA SECTION MEDIA QUERIES (tout en bas) */

@media (max-width: 1100px) {

    /* --- CORRECTION 1 : MENU SEMAINE MOBILE (Centré + Intemporels propres) --- */
    .week-wrapper {
        flex-direction: column; /* Empile le menu et les intemporels */
        gap: 40px;
    }

    .grandma-menu-paper {
        padding: 30px 15px; /* Moins de marge interne */
        text-align: center; /* Centre le texte */
    }

    .grandma-section-title {
        justify-content: center; /* Centre les titres (Plats, Desserts...) */
    }
    
    .grandma-section-title::after {
        display: none; /* Enlève la ligne grise à droite qui casse le centrage */
    }

    .grandma-dish-row {
        flex-direction: column; /* Met le plat au dessus, prix/bouton en dessous */
        text-align: center;
        gap: 10px;
    }
    
    .grandma-dish-price {
        margin-right: 0;
        margin-bottom: 5px;
    }

    /* Gestion de la sidebar Intemporels sur Mobile */
    .sidebar-container {
        width: 100%; /* Prend toute la largeur */
        flex: none;
    }
    
    /* On enlève le côté "Sticky" sur mobile pour que ça scrolle normalement */
    .sidebar-container > div {
        position: static !important; 
        width: 100% !important;
        box-sizing: border-box;
    }

    /* --- CORRECTION 2 : INTEMPORELS (Exemple sous description) --- */
    /* On utilise l'ordre Flexbox pour réorganiser les blocs */
    
    /* Le bloc exemple (qu'on va identifier via JS plus bas) */
    .chapter-example {
        order: 5; /* Force l'exemple à se mettre tout en bas */
        padding: 0 15px;
        text-align: justify;
        width: 100%;
    }

    /* Rappel des ordres pour être sûr :
       1: Titre
       2: Image
       3: Contrôles (Prix/Boutons)
       4: Description
       5: Exemple (Nouveau)
    */

    /* --- CORRECTION 4 : PAGE CONTACT MOBILE --- */
    .contact-container {
        flex-direction: column;
        width: 100%;
        margin: 0;
        border-radius: 0; /* Enlève les bords ronds qui mangent de la place */
        box-shadow: none;
    }

    .contact-info, .contact-form-wrapper {
        width: 100%;
        padding: 40px 20px;
    }

    .contact-info {
        text-align: center; /* Centre les infos de contact */
    }
    
    .social-links {
        justify-content: center; /* Centre les icônes réseaux sociaux */
    }
    
    /* Assure que le bouton "Envoyer" est bien visible et cliquable */
    .contact-form-wrapper button {
        margin-top: 10px;
        padding: 18px; /* Zone de clic plus grande */
    }
}

/* --- CORRECTION 3 : LE MENU BURGER (CSS) --- */
/* Ajoutez ceci HORS des media queries, vers la ligne 270 (près de .mobile-nav-accordion) */

.mobile-nav-accordion {
    display: none; /* Caché par défaut */
    flex-direction: column;
    width: 100%;
    background: #fdfbf9;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* Cette classe sera ajoutée par le JS quand on clique */
.mobile-nav-accordion.open {
    display: flex; 
    animation: fadeIn 0.3s ease;
}

/* Petite animation pour la flèche */
.rotate-chevron {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}