/* =========================================
   1. VARIABLES & RESET (BASE)
   ========================================= */
:root {
    --bg-color: #050505;          /* Fond principal (Noir très profond) */
    --card-bg: #111111;           /* Fond des cartes (Gris très foncé) */
    --panel-bg: #0a0a0a;          /* Fond des panneaux légaux */
    --text-color: #f0f0f0;        /* Texte principal (Blanc cassé) */
    --text-muted: #888888;        /* Texte secondaire (Gris) */
    
    --gold: #D4AF37;              /* Or Classique */
    --gold-hover: #b5952f;        /* Or plus foncé pour le survol */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F2C94C 100%);
    
    --font-head: 'Montserrat', sans-serif; /* Titres */
    --font-body: 'Open Sans', sans-serif;  /* Paragraphes */
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute; /* Reste par dessus l'image Hero */
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn {
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--gold);
    color: #000;
}

/* =========================================
   3. SECTION HERO (HAUT DE PAGE)
   ========================================= */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Image de fond */
    background: url('hthttps://i.ibb.co/zHfSVBL7/Purple-Modern-Launching-Digital-Product-Presentation.png') no-repeat center center/cover;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Dégradé pour assombrir l'image et rendre le texte lisible */
    background: linear-gradient(to right, #050505 30%, rgba(5,5,5,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.text-box {
    max-width: 550px;
}

.badge {
    background: var(--gold);
    color: #000;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 15px;
    display: inline-block;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* Image de la tablette qui flotte */
.image-box img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #333;
    transform: rotate(-5deg);
}

/* BOUTONS D'ACTION (CTA) */
.cta-button {
    display: inline-block;
    background: var(--gold-gradient);
    color: #050505;
    padding: 18px 35px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.scarcity {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--gold);
}

/* =========================================
   4. SECTIONS GÉNÉRALES (Story, Benefits, etc)
   ========================================= */
section {
    padding: 80px 0;
}

.dark-section {
    background-color: var(--card-bg);
}

/* Storytelling */
#story h2 {
    font-size: 2.5rem;
    text-align: center;
}
.story-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

/* Bénéfices */
#benefits h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #222;
    transition: 0.3s;
}

.benefit-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.icon-gold {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Témoignages */
#testimonials h2 { text-align: center; margin-bottom: 50px; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testi-card {
    background: #050505;
    padding: 30px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.stars { color: var(--gold); margin-bottom: 10px; }
.author { margin-top: 15px; font-weight: bold; font-style: italic; color: var(--text-muted); }

/* À Propos */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: 0.3s;
}
.about-img img:hover { filter: grayscale(0%); }

/* =========================================
   5. SECTION PRICING (PRIX)
   ========================================= */
.gold-section {
    background: radial-gradient(circle, #222 0%, #000 100%);
    text-align: center;
}

.pricing-card {
    background: #fff;
    color: #000;
    max-width: 500px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.header-price {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: var(--gold);
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin: 20px 0;
}

.old-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.urgent {
    color: #d9534f;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}
.features-list li { margin-bottom: 10px; font-size: 1.1rem; }
.features-list i { color: #27ae60; margin-right: 10px; }

.big-btn {
    width: 100%;
    font-size: 1.1rem;
    display: block; /* S'assure que le bouton prend la largeur */
    text-align: center;
}

.secure-text {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #777;
}

/* =========================================
   6. FOOTER & ACCORDÉON LÉGAL (CORRIGÉ)
   ========================================= */
footer {
    background-color: #000;
    padding: 50px 0 30px;
    border-top: 1px solid #222;
    color: var(--text-muted);
}

/* Boutons de l'accordéon */
.accordion {
    background-color: #111;
    color: #ccc;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 0.95rem;
    transition: 0.4s;
    border-bottom: 1px solid #222;
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: -1px;
}

/* CORRECTION ICI : On cible uniquement l'accordéon actif, pas tout le reste */
.accordion.active, .accordion:hover {
    background-color: #1a1a1a;
    color: var(--gold);
}

/* Icône Plus (+) */
.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

/* Icône Moins (-) quand ouvert */
/* CORRECTION ICI AUSSI */
.accordion.active:after {
    content: "\2212";
}

/* Panneau de contenu */
.panel {
    padding: 0 18px;
    background-color: var(--panel-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-bottom: 1px solid #222;
}

.panel p {
    font-size: 0.85rem;
    color: #999;
    padding: 15px 0;
    margin: 0;
    line-height: 1.6;
}

.panel strong {
    color: #eee;
}

.copyright-box {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #555;
}

/* =========================================
   7. ANIMATIONS (SCROLL REVEAL)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   8. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    /* Ajustements Hero */
    .hero-content { flex-direction: column; text-align: center; justify-content: center;}
    .text-box { margin-bottom: 40px; }
    h1 { font-size: 2.2rem; }
    
    /* Ajustements À Propos */
    .split-layout { flex-direction: column-reverse; }
    
    /* Fond plus sombre sur mobile pour lisibilité */
    .overlay { background: rgba(5,5,5,0.85); }
    
    /* Image plus petite */
    .image-box img { max-width: 80%; transform: rotate(0); margin-top: 20px;}
    
    /* Navigation simplifiée */
    nav { padding: 15px 20px; }
}
/* =========================================
   VERSION MOBILE (SMARTPHONE)
   ========================================= */
@media only screen and (max-width: 768px) {

    /* 1. Ajustement global */
    .container {
        padding: 0 20px;
        width: 100%;
    }
    
    h1 { font-size: 2rem; } /* Titre plus petit */
    h2 { font-size: 1.8rem; }
    
    section { padding: 50px 0; } /* Moins d'espace entre les sections */

    /* 2. Navigation */
    nav {
        position: relative; /* Ne flotte plus par-dessus l'image */
        background-color: #000; /* Fond noir pour qu'on lise bien */
        flex-direction: column; /* Logo au dessus, bouton en dessous */
        gap: 15px;
        padding: 15px;
    }

    /* 3. Section Hero (Haut de page) */
    #hero {
        height: auto; /* Hauteur libre (pas bloqué à l'écran) */
        min-height: 100vh;
        padding-top: 30px;
        background-position: center left; /* Décale l'image de fond si besoin */
    }

    .hero-content {
        flex-direction: column; /* Texte en haut, image en bas */
        text-align: center;
    }

    .text-box {
        margin-bottom: 40px;
        width: 100%;
    }

    /* L'image de l'ebook */
    .image-box {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .image-box img {
        max-width: 70%; /* Image plus petite */
        transform: rotate(0deg); /* On enlève la rotation pour gagner de la place */
        margin-bottom: 30px;
    }

    /* 4. Les Grilles (Bénéfices, Témoignages) */
    .benefits-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
    }
    
    /* 5. Section À Propos */
    .split-layout {
        flex-direction: column-reverse; /* Image au dessus, texte en dessous */
        gap: 30px;
        text-align: center;
    }

    /* 6. Section Prix */
    .pricing-card {
        padding: 30px 20px;
    }
    
    .price { font-size: 2.5rem; }
    
    /* 7. Footer Accordéon */
    .accordion {
        font-size: 0.8rem; /* Texte un peu plus petit */
        padding: 15px;
    }
}