:root { 
            --honey-dark: #8B6914;
            --honey-gold: #D4AF37;
            --honey-amber: #FFB300;
            --honey-light: #FFCC33;
            --honey-caramel: #C68642;
            --honey-bronze: #A0785A;
            --forest: #2D4030;
            --bg: #FDFBF7;
            --text: #1D1D1F;
            --red: #e63946;
            --white: #FFFFFF;
        }
		
		.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active { opacity: 1; z-index: 1; }

.hero-content {
    max-width: 900px;
    padding: 20px;
    color: white;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.slide.active .hero-content { transform: translateY(0); }

.hero-tagline {
    display: block;
    font-family: 'Poppins', sans-serif;
    color: var(--honey-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-inline: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Boutons */
.btn-primary { background: var(--honey-gold); color: white; padding: 15px 35px; border: none; border-radius: 50px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.btn-secondary { background: transparent; color: white; padding: 15px 35px; border: 2px solid white; border-radius: 50px; cursor: pointer; font-weight: 600; transition: 0.3s; text-decoration:none;}
.btn-primary:hover { background: var(--honey-dark); transform: scale(1.05); }
.btn-secondary:hover { background: white; color: var(--forest); }

/* Navigation dots */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}
.nav-dot { width: 12px; height: 12px; border: 2px solid white; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.nav-dot.active { background: var(--honey-gold); border-color: var(--honey-gold); width: 30px; border-radius: 10px; }
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Plus Jakarta Sans', sans-serif; 
            color: var(--text); 
            background: var(--bg); 
            line-height: 1.6; 
            overflow-x: hidden; 
        }

        /* ============================================
           🎨 PARTICULES DE MIEL (HERO BACKGROUND)
        ============================================ */
        .honey-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }
        .honey-drop {
            position: absolute;
            width: 8px;
            height: 8px;
            background: radial-gradient(circle, var(--honey-amber) 0%, var(--honey-gold) 100%);
            border-radius: 50%;
            opacity: 0;
            animation: dropFall linear infinite;
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        }
        @keyframes dropFall {
            0% { opacity: 0; transform: translateY(-50px) scale(0); }
            10% { opacity: 1; transform: translateY(0) scale(1); }
            90% { opacity: 1; }
            100% { opacity: 0; transform: translateY(600px) scale(0.5); }
        }

        /* ====================================================================
   🍯 NAVBAR COULEUR MIEL FONCÉ - EXPERT V3 FINAL (CORRIGÉ)
   ==================================================================== */
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.2rem 5%; 
    background: linear-gradient(135deg, var(--honey-dark) 0%, var(--honey-bronze) 100%);
    backdrop-filter: blur(10px); 
    position: sticky; 
    top: 0; 
    z-index: 1000; /* Assure la visibilité au-dessus du contenu */
    border-bottom: 2px solid var(--honey-gold);
    box-shadow: 0 4px 20px rgba(139, 105, 20, 0.3);
    transition: 0.4s;
}

nav.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 8px 30px rgba(139, 105, 20, 0.4);
}

.logo { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    color: var(--honey-light); 
    font-weight: 900; 
    cursor: pointer; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* ✅ CORRECTION EXPERT : Affichage forcé sur Desktop */
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 2.5rem; 
    z-index: 1000;
    /* Reset des propriétés mobile pour le desktop */
    position: relative;
    right: auto;
    visibility: visible !important; 
    opacity: 1 !important;
}

.nav-links li a { 
    text-decoration: none; 
    color: var(--white); 
    font-weight: 600; 
    cursor: pointer; 
    transition: 0.3s; 
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.nav-links li a::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: -5px; 
    left: 0; 
    background: var(--honey-light); 
    transition: 0.3s; 
}

.nav-links li a:hover::after { width: 100%; }
.nav-links li a:hover { color: var(--honey-light); }

/* --- BURGER MENU MOBILE --- */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1010; 
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}

.burger-menu.active span:nth-child(1) { 
    transform: translateY(8px) rotate(45deg); 
}
.burger-menu.active span:nth-child(2) { 
    opacity: 0; 
}
.burger-menu.active span:nth-child(3) { 
    transform: translateY(-8px) rotate(-45deg); 
}

/* --- LOGIQUE MOBILE (MAX 900PX) --- */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 80%;   
        height: 100vh;
        background: linear-gradient(180deg, var(--honey-dark) 0%, var(--honey-bronze) 100%);
        flex-direction: column;
        padding: 100px 30px;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 20px rgba(0,0,0,0.3);
        visibility: hidden !important; /* Caché par défaut sur mobile */
        opacity: 0;
    }

    .nav-links.active {
        right: 0;
        visibility: visible !important;
        opacity: 1;
    }

    .burger-menu {
        display: flex; 
    }
}

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

.btn-account { 
    background: var(--honey-gold); 
    color: var(--text); 
    border: none; 
    padding: 12px 25px; 
    border-radius: 14px; 
    font-weight: 700; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-account:hover { 
    background: var(--honey-light); 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

        /* ============================================
           ⭐ SYSTÈME D'AVIS (ÉTOILES)
        ============================================ */
        .rating-stars {
            display: flex;
            align-items: center;
            gap: 5px;
            margin: 10px 0;
            justify-content: center;
        }
        .rating-stars i {
            color: var(--honey-gold);
            font-size: 0.9rem;
        }
        .rating-count {
            font-size: 0.8rem;
            color: #888;
            margin-left: 5px;
        }

        /* ============================================
           🔥 BADGE STOCK LIMITÉ + TIMER PROMO
        ============================================ */
        .stock-badge {
            position: absolute;
            top: 60px;
            left: 20px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
            color: white;
            padding: 6px 14px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            z-index: 3;
            animation: pulse 2s infinite;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .promo-timer {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: var(--honey-light);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 3;
            backdrop-filter: blur(10px);
        }
        .promo-timer i {
            animation: blink 1s infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        /* ============================================
           ✨ ANIMATIONS SCROLL (FADE-IN PROGRESSIF)
        ============================================ */
        .fade-in-up {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .fade-in-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ============================================
           🎨 COULEURS MIEL DIFFÉRENTES PAR CARTE
        ============================================ */
        .honey-gradient-1 { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); }
        .honey-gradient-2 { background: linear-gradient(135deg, #FFCC33 0%, #FF8C42 100%); }
        .honey-gradient-3 { background: linear-gradient(135deg, #FFB300 0%, #D4AF37 100%); }
        .honey-gradient-4 { background: linear-gradient(135deg, #F4A460 0%, #C68642 100%); }
        .honey-gradient-5 { background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%); }
        .honey-gradient-6 { background: linear-gradient(135deg, #FFDB58 0%, #FFB347 100%); }

        /* ANIMATIONS & PAGES */
.page { 
    display: none; 
    padding: 60px 5%; 
    animation: fadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1); 
    min-height: 80vh; /* Garantit que la page n'est pas "écrasée" */
}

/* Page active standard (Boutique, Histoire, etc.) */
.page.active { 
    display: block; 
}

/* Exception pour le Login/Register : Centrage parfait */
#login.active, #register.active, #forgot.active {
    display: flex !important; /* Force le flex pour le centrage vertical/horizontal */
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Prend tout l'écran car le Hero est masqué */
}

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

        /* GRID SYSTEM - OPTIMISATION RESPONSIVE VEDETTES */
        .product-grid { 
            display: grid; 
            gap: 30px; 
            margin-top: 40px; 
        }
        
        /* Boutique complète : Grille adaptative */
        #all-list { 
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
        }
        
        /* Section Vedettes : Optimisation Mobile First */
        #vedette-list { 
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
            max-width: 1200px; 
            margin: 40px auto; 
        }
        
        /* Responsive Vedettes - Paliers précis */
        @media (max-width: 480px) {
            #vedette-list {
                grid-template-columns: 1fr; /* 1 colonne sur très petit écran */
                gap: 20px;
                padding: 0 15px;
            }
        }
        
        @media (min-width: 481px) and (max-width: 768px) {
            #vedette-list {
                grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette portrait */
                gap: 25px;
                padding: 0 20px;
            }
        }
        
        @media (min-width: 769px) and (max-width: 1024px) {
            #vedette-list {
                grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur tablette paysage */
                gap: 30px;
            }
        }
        
        @media (min-width: 1025px) {
            #vedette-list {
                grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur desktop */
                gap: 35px;
            }
        }
        
        /* CARDS AVEC HOVER AMÉLIORÉ */
        .p-card { 
            background: var(--white); 
            border: 2px solid transparent;
            border-radius: 24px; 
            padding: 25px; 
            text-align: center; 
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            position: relative; 
            cursor: pointer; 
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        .p-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: 0.5s;
            z-index: 0;
        }
        .p-card:hover::before { opacity: 0.1; }
        .p-card:hover { 
            transform: translateY(-15px) scale(1.02); 
            box-shadow: 0 25px 50px rgba(212, 175, 55, 0.25);
            border-color: var(--honey-gold);
        }
        .p-card > * { position: relative; z-index: 1; }

        .badge { 
            position: absolute; 
            top: 20px; 
            left: 20px; 
            background: var(--red); 
            color: white; 
            padding: 6px 14px; 
            border-radius: 50px; 
            font-size: 0.75rem; 
            font-weight: 800; 
            text-transform: uppercase; 
            z-index: 2; 
            box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3); 
        }
        .p-weight-tag { 
            position: absolute; 
            top: 20px; 
            right: 20px; 
            background: var(--honey-gold); 
            color: white; 
            padding: 5px 12px; 
            border-radius: 10px; 
            font-size: 0.8rem; 
            font-weight: 700; 
            z-index: 2; 
        }
        .p-img-box { 
            height: 220px; 
            border-radius: 20px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            margin-bottom: 20px; 
            overflow: hidden; 
            transition: 0.3s; 
        }
        .p-img-box img { 
            max-height: 85%; 
            max-width: 85%; 
            object-fit: contain; 
            transition: 0.5s;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
        }
        .p-card:hover .p-img-box img { 
            transform: scale(1.15) rotate(5deg); 
        }

        /* ====================================================================
   🔥 SECTION TOP VENTE - VERSION EXPERT V3 (PC & MOBILE)
   ==================================================================== */
.top-vente-container { 
    max-width: 1200px; 
    margin: 40px auto 80px; 
    background: white; 
    border-radius: 45px; 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
    border: 2px solid var(--honey-gold); 
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.15);
    animation: fadeIn 0.8s ease-out;
    position: relative;
}

.top-vente-img { 
    flex: 1; 
    background: linear-gradient(135deg, #FFFBEC 0%, #FFF9E3 100%);
    height: 500px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 40px; 
}

.top-vente-img img { 
    max-height: 100%; 
    max-width: 100%; 
    object-fit: contain; 
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    transition: 0.5s ease;
}

.top-vente-container:hover .top-vente-img img { transform: scale(1.05) rotate(-2deg); }

/* Zone de texte PC */
.top-vente-info { 
    flex: 1.2; 
    padding: 60px; 
    position: relative; 
}

.top-vente-badge { 
    background: linear-gradient(135deg, var(--honey-gold) 0%, var(--honey-amber) 100%);
    color: white; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-size: 0.85rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* ============================================================
   📱 AJOUT DE LA CORRECTION MOBILE (L'ÉLÉMENT MANQUANT)
   ============================================================ */
@media (max-width: 900px) {
    .top-vente-container { 
        flex-direction: column !important; 
        margin: 10px !important; 
        width: auto !important;
    }

    .top-vente-info { 
        padding: 20px 15px !important; /* On réduit au maximum pour tester */
        text-align: center !important; 
        width: 100% !important;
        display: block !important;
    }

    .top-vente-info h2 { 
        font-size: 1.5rem !important; /* On baisse encore la taille */
        width: 100% !important;
        margin: 0 auto 15px !important;
    }

    .top-vente-img { 
        height: 250px !important; 
        width: 100% !important;
    }
}

        /* DETAILS PAGE */
        .details-container { 
            max-width: 1200px; 
            margin: 0 auto; 
            display: grid; 
            grid-template-columns: 1.2fr 0.8fr; 
            gap: 80px; 
            background: white; 
            padding: 80px; 
            border-radius: 50px; 
            box-shadow: 0 30px 60px rgba(0,0,0,0.05); 
        }
        .gallery-main { 
            background: linear-gradient(135deg, #FFFBEC 0%, #FFF9E3 100%);
            border-radius: 40px; 
            height: 550px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            overflow: hidden; 
            border: 2px solid var(--honey-gold); 
            position: relative;
            touch-action: pan-y;
        }
        .gallery-nav { 
            display: flex; 
            gap: 15px; 
            margin-top: 25px; 
            justify-content: center;
            overflow-x: auto;
            padding: 10px 0;
        }
        .thumb { 
            width: 85px; 
            height: 85px; 
            border-radius: 18px; 
            border: 2px solid #eee; 
            cursor: pointer; 
            object-fit: cover; 
            transition: 0.3s;
            flex-shrink: 0;
        }
        .thumb.active { 
            border-color: var(--honey-gold); 
            transform: translateY(-5px); 
            box-shadow: 0 5px 15px rgba(212,175,55,0.3); 
        }

        /* SWIPE INDICATOR */
        .swipe-indicator {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.6);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.8rem;
            display: none;
            z-index: 10;
        }

        /* VARIATIONS SELECTOR */
        .var-btn { 
            padding: 14px 22px; 
            border: 2px solid #f0f0f0; 
            border-radius: 15px; 
            background: white; 
            cursor: pointer; 
            font-weight: 700; 
            transition: 0.3s; 
            margin-right: 12px; 
            margin-bottom: 12px; 
            font-family: inherit; 
        }
        .var-btn.active { 
            border-color: var(--honey-gold); 
            background: linear-gradient(135deg, #FFFBEC 0%, #FFF9E3 100%);
            color: var(--honey-dark); 
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        /* PURCHASE & BUTTONS */
        .purchase-box { 
            padding: 40px; 
            border-radius: 30px; 
            background: linear-gradient(135deg, #FFFBEC 0%, #FFF9E3 100%);
            border: 2px dashed var(--honey-gold); 
            margin-top: 40px; 
        }
        .btn-pay { 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            gap: 12px; 
            padding: 20px; 
            border-radius: 18px; 
            font-weight: 800; 
            text-decoration: none; 
            border: none; 
            cursor: pointer; 
            width: 100%; 
            margin-bottom: 15px; 
            font-size: 1.1rem; 
            transition: 0.4s; 
        }
        .revolut { background: #000; color: white; }
        .revolut:hover { background: #333; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
        .paypal { background: #FFC439; color: #003087; }
        .paypal:hover { background: #f2ba32; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 196, 57, 0.4); }

        /* HERO & SERVICES */
        .hero-section { 
            text-align: center; 
            padding: 100px 10%; 
            background: linear-gradient(135deg, #FFF9E3 0%, #FFF 100%); 
            border-radius: 50px; 
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
        }
        .service-card { 
            background: white; 
            padding: 40px; 
            border-radius: 30px; 
            border: 2px solid var(--honey-gold); 
            text-align: center; 
            transition: 0.3s;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
        }
        .service-card i { 
            font-size: 3rem; 
            color: var(--honey-gold); 
            margin-bottom: 20px; 
        }

        /* FORMS */
        .form-card { 
            max-width: 600px; 
            margin: 40px auto; 
            background: white; 
            padding: 50px; 
            border-radius: 35px; 
            border: 2px solid var(--honey-gold); 
            box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
        }
        .input-group { margin-bottom: 20px; }
        .input-group label { 
            display: block; 
            font-weight: 700; 
            margin-bottom: 8px; 
            font-size: 0.9rem; 
            color: var(--forest); 
        }
        .input-group input { 
            width: 100%; 
            padding: 15px; 
            border-radius: 12px; 
            border: 2px solid #ddd; 
            font-family: inherit; 
            transition: 0.3s; 
        }
        .input-group input:focus { 
            border-color: var(--honey-gold); 
            outline: none; 
            box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1); 
        }

        /* MOBILE RESPONSIVE */
        @media (max-width: 900px) {
            .top-vente-container { flex-direction: column; margin: 20px; border-radius: 30px; }
            .top-vente-img { height: 350px; width: 100%; }
            .top-vente-info { padding: 40px 30px; text-align: center; }
            .top-vente-info h2 { font-size: 2rem; }
            .details-container { grid-template-columns: 1fr; padding: 30px; gap: 40px; }
            .swipe-indicator { display: block; }
            .gallery-nav { 
                overflow-x: auto; 
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            .gallery-nav::-webkit-scrollbar { display: none; }
        }

        /* LOADING SPINNER */
        .loading-spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid rgba(212, 175, 55, 0.3);
            border-radius: 50%;
            border-top-color: var(--honey-gold);
            animation: spin 1s ease-in-out infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
		
		
		
		
		/* --- SECTION SERVICES HOME SPECIFIQUE --- */
.services-home {
    padding: 80px 2rem;
    background: #fff;
}

.services-home .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-home .service-card {
    background: linear-gradient(135deg, #FFFEF0 0%, #FFF8DC 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #2D5016; /* Vert Forest */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.services-home .service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.services-home .service-card:hover::before {
    top: 10%;
    right: 10%;
}

.services-home .service-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
}

/* Couleurs alternées des bordures selon votre demande */
.services-home .service-card:nth-child(2) { border-left-color: #FF8C42; }
.services-home .service-card:nth-child(3) { border-left-color: #D4AF37; }
.services-home .service-card:nth-child(4) { border-left-color: #FF8C42; }
.services-home .service-card:nth-child(5) { border-left-color: #2D5016; }
.services-home .service-card:nth-child(6) { border-left-color: #D4AF37; }

.services-home .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.services-home .service-card h3 {
    font-family: 'Playfair Display', serif;
    color: #2D5016;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.services-home .service-card p {
    color: #666;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.services-home .service-card a {
    color: #FF8C42;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.services-home .service-card a:hover {
    color: #D4AF37;
}

/* Section About Home */
.about-home {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #2D5016 0%, #1A3A1A 100%);
    color: white;
    border-radius: 40px;
    margin: 40px 20px;
}


/* --- FOOTER LUXE & HAUTE VISIBILITÉ --- */
.main-footer {
    background: linear-gradient(to bottom, #1a3a1a 0%, #0d1f0d 100%);
    color: #FFFFFF; /* Texte blanc pur pour une lecture parfaite */
    padding: 80px 0 0 0;
    position: relative;
    z-index: 100;
    border-top: 3px solid var(--honey-gold); /* Rappel de la couleur Or */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 25px;
}

.footer-col h4 {
    color: var(--honey-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 30px;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-desc {
    line-height: 1.8;
    color: #E0E0E0; /* Gris très clair, presque blanc */
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-col ul li a:hover {
    color: var(--honey-gold);
    border-bottom: 1px solid var(--honey-gold);
    padding-left: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.contact-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.contact-item i {
    color: var(--honey-gold);
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 60px;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.payment-methods {
    font-size: 2rem;
    display: flex;
    gap: 25px;
    color: #FFFFFF;
}

.payment-methods i:hover {
    color: var(--honey-gold);
    transform: scale(1.2);
    transition: 0.3s;
}
/* --- DESIGN SERVICES DÉTAILLÉS (Z-PATTERN) --- */
.service-detail-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    padding: 0 20px;
}

.service-detail-block.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(45, 80, 22, 0.2);
}

.service-text {
    flex: 1;
}

.service-tag {
    color: var(--honey-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.service-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2D5016;
    margin-bottom: 25px;
}

.service-text p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.service-features li i {
    color: var(--honey-gold);
    font-size: 1.2rem;
    width: 25px;
}

/* Responsive Services */
@media (max-width: 992px) {
    .service-detail-block, .service-detail-block.reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .service-features li {
        justify-content: center;
    }
    .service-image img {
        height: 300px;
    }
}

/* Style du lien Prénom -> Dashboard */
.user-dashboard-link {
    text-decoration: none;
    color: var(--honey-light) !important;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: 0.3s all ease;
}

.user-dashboard-link:hover {
    background: var(--honey-light);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* Style du bouton déconnexion */
.btn-logout-circle {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    text-decoration: none;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: 0.3s;
}

.btn-logout-circle:hover {
    background: #ff6b6b;
    color: white;
    transform: rotate(90deg);
}

/* Cache le hero si on est en mode login (via paramètre URL ou classe) */
#login:target ~ .hero, 
.login-active .hero {
    display: none;
}

/* Force le centrage vertical du formulaire de login */
#login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}



/* ==========================================================================
   ACADEMY SYSTEM - EXPERT V3 FINAL
   ========================================================================== */
.academy-hero { padding: 80px 0; text-align: center; background: #fff; }
.hero-main-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin-bottom: 15px; }
.gold-text { color: #D4AF37; }

.academy-section { padding: 60px 0; background: #fdfdfd; width: 100%; }
.academy-grid { 
    display: flex; 
    gap: 30px; 
    justify-content: center; 
    flex-wrap: wrap; 
    padding: 20px;
}

.academy-card {
    background: white;
    width: 450px; /* Largeur exacte du scan */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.academy-card.premium { 
    border: 2px solid #D4AF37; 
    transform: scale(1.02); 
    box-shadow: 0 25px 50px rgba(212,175,55,0.15);
}

.card-badge {
    position: absolute; top: 15px; right: 15px;
    background: #D4AF37; color: white; padding: 5px 15px;
    border-radius: 30px; font-weight: bold; font-size: 12px; z-index: 10;
}

.card-image img { width: 100%; height: 260px; object-fit: cover; }
.card-body { padding: 30px; }

.course-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 5px; color: #1d1d1f; }
.course-slogan { color: #888; font-style: italic; margin-bottom: 20px; font-size: 0.9rem; }

.feature-list { list-style: none; padding: 0; margin-bottom: 25px; }
.feature-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #444; }
.feature-list i { color: #27ae60; }

.price-container { margin-bottom: 25px; text-align: center; border-top: 1px solid #f5f5f5; padding-top: 20px; }
.price-old { text-decoration: line-through; color: #b2bec3; font-size: 1.1rem; }
.price-new { font-size: 2.5rem; font-weight: 900; color: #1d1d1f; display: block; }

.action-buttons { display: flex; flex-direction: column; gap: 12px; }
.btn-academy-buy { 
    background: #1d1d1f; color: white; text-align: center; 
    padding: 16px; border-radius: 12px; text-decoration: none; font-weight: bold; 
}
.btn-academy-rdv { 
    background: white; color: #D4AF37; border: 2px solid #D4AF37; 
    text-align: center; padding: 14px; border-radius: 12px; text-decoration: none; font-weight: bold; 
}

/* Responsive Fix */
@media (max-width: 768px) {
    .academy-card { width: 100%; max-width: 100%; }
    .hero-main-title { font-size: 2.2rem; }
}
