/* RÉINITIALISATION ET VARIABLES */
:root {
    --color-dark-blue: #0F052B; /* Bleu nuit profond */
    --color-light-accent: #1B0B4D; /* Violet/Bleu plus clair */
    --color-light: #f4f4f4;
    --color-gold: #ffc300; /* Or pour l'élégance */
    --color-magenta: #F038FF; /* Magenta pour l'énergie et la joie */
    --color-text: #cccccc;
    --font-title: 'Poppins', serif;
    --font-body: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark-blue);
    color: white;
    line-height: 1.7;
}

html, body {
    overflow-x: hidden;
}

/* CONTENEURS ET STRUCTURE */
.container {
    max-width: 1313px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-title);
    color: var(--color-light);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h2.section-title {
    margin-bottom: 65px;
}

h1 { font-size: 3.2rem; text-shadow: 0 0 15px rgba(240, 56, 255, 0.5); }
h2 { font-size: 2.4rem; text-align: center; }
h3 { font-size: 2rem; color: var(--color-gold); }
.section-title-left { text-align: left; }
.section-subtitle { font-size: 1.2rem; text-align: center; max-width: 800px; margin: -1rem auto 3rem auto; color: var(--color-text); }

p { margin-bottom: 1rem; }
section { padding: 5rem 0; }
.bg-dark { background-color: #342c81; }
.bg-light-accent { background-color: var(--color-light-accent); }

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-large { padding: 1rem 2.5rem; font-size: 1.2rem; }

.btn-primary {
    background: linear-gradient(45deg, var(--color-magenta), #a538ff);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(240, 56, 255, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 56, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}
.btn-secondary:hover {
    background-color: var(--color-light);
    color: #000;
}

/* HEADER */
header {
    background-color: rgba(15, 5, 43, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid var(--color-light-accent);
}

header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-title); font-size: 1.5rem; color: var(--color-gold); }
header ul { display: flex; list-style: none; align-items: center; }
header ul li { margin-left: 2rem; }
header ul li a { color: var(--color-light); text-decoration: none; transition: color 0.3s ease; }
header ul li a:hover { color: var(--color-gold); }
.cta-nav { background: var(--color-gold); color: #000; padding: 0.5rem 1rem; border-radius: 50px; }
.cta-nav:hover { background: var(--color-light); color: #000; }

/* SECTION HÉROS */
#hero {
    background: linear-gradient(rgba(15, 5, 43, 0.5), rgba(15, 5, 43, 0.9)), url('https://magicien.fun/cours/assets/images/splash_screen_big_empty.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-light);
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-content .subtitle { font-size: 1.2rem; margin-bottom: 2rem; }
.hero-cta .btn { margin: 15px; }

/* SECTIONS CIBLÉES & AVANTAGES */
.container-split { display: flex; align-items: center; gap: 4rem; }
.container-split.reverse { flex-direction: row-reverse; }
.split-image { flex: 1; }
.split-image img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.split-content { flex: 1.2; }
.split-content ul { list-style: none; padding-left: 0; }
.split-content ul li { margin-bottom: 0.8rem; padding-left: 2rem; position: relative; }
.split-content ul li::before {
    content: '\2713';
    color: #00ff0a;
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    font-size: 28px;
    font-weight: 900;
    line-height: 28px;
}

/* SECTION À PROPOS */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
    font-size: 17px;
    flex-wrap: wrap;
    margin: auto;
    align-self: center;
    text-align: center;
    justify-content: center;
}
.about-image { flex-basis: 30%; }
.about-image img {
    width: 250px;
    height: 289px;
    border-radius: 59%;
    border: 5px solid var(--color-gold);
    object-fit: cover;
}
.about-text { flex-basis: 70%; }

/* SECTION TARIFS */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: stretch; }
.pricing-card {
    background: linear-gradient(145deg, #1B0B4D, #0F052B);
    border: 1px solid var(--color-light-accent);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.6); }
.pricing-card .btn { margin-top: auto; }

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--color-magenta);
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-10px); }

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--color-magenta), #a538ff);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pack-duration {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    margin: -0.5rem auto 1rem auto;
    text-shadow: none;
}

.pricing-card h3 { font-size: 1.8rem; }
.pricing-card .price { font-size: 1.5rem; font-weight: 700; color: var(--color-gold); margin-bottom: 0.5rem; min-height: 60px;}
.pricing-card .guarantee { font-size: 1.1rem; font-style: normal; font-weight: 600; min-height: 40px; color: var(--color-light); }
.pricing-card ul { list-style: none; padding-left: 0; margin: 2rem 0; flex-grow: 1; text-align: left;}
.pricing-card ul li { margin-bottom: 0.8rem; text-align: center; }
.pricing-card ul li::before { content: '\2713'; color: var(--color-gold); margin-right: 10px; }

/* SECTION CONTACT */
#contact { text-align: center; }
#contact .btn { margin-top: 2rem; }

/* FOOTER */
footer { text-align: center; padding: 2rem 0; background-color: #000; font-size: 0.9rem; }

/* SECTION NIVEAUX */
.niveaux-section {
    background: linear-gradient(180deg, var(--color-dark-blue) 0%, #1a0a48 100%);
    padding: 6rem 0;
}
.niveaux-section .section-title {
    color: var(--color-gold);
    text-shadow: 0 0 20px var(--color-gold);
}
.course-levels-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}
.level-card-v2 {
    background: var(--color-light-accent);
    border: 1px solid #33216E;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.level-card-v2:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}
.level-card-v2.featured-level {
    border: 2px solid var(--color-magenta);
    transform: scale(1.05);
}
.level-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--color-gold));
}
.level-card-v2 h3 {
    font-size: 1.8rem;
    color: var(--color-light);
    margin-bottom: 1rem;
}
.level-card-v2 p {
    font-size: 1rem;
    color: var(--color-text);
    flex-grow: 1;
    margin-bottom: 2rem;
}
.btn-level {
    background-color: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}
.btn-level:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
}

/* SECTION LIEUX DES COURS */
#lieux {
    background-color: var(--color-light-accent);
    padding: 4rem 0;
}
.locations-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.location-card {
    background-color: var(--color-dark-blue);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    flex-basis: 400px;
    border: 1px solid #33216E;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.location-card h3 {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}
.location-card p {
    color: var(--color-text);
    font-size: 1rem;
}
.location-icon {
    color: var(--color-magenta);
    margin-bottom: 1rem;
}

/* SÉLECTEUR DE TARIFS DYNAMIQUE */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    user-select: none;
}
.toggle-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.toggle-label.active {
    color: var(--color-gold);
    text-shadow: 0 0 10px var(--color-gold);
}
.toggle-switch {
    margin: 0 1.5rem;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #7261a1;
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--color-light-accent);
}
.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: var(--color-light);
    transition: .4s;
    border-radius: 50%;
}
input:checked + label {
    background-color: #7261a1;
}
input:checked + label:before {
    transform: translateX(26px);
    background: linear-gradient(45deg, var(--color-magenta), #a538ff);
}
.pricing-card .price .price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
}
.pricing-card .price .price-hourly {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    display: block;
    margin-top: -0.5rem;
}
.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--color-text);
    font-style: italic;
    display: none; /* Caché par défaut */
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    header .container, .container-split, .container-split.reverse { flex-direction: column; gap: 2rem; }
    header ul { padding-left: 0; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px); }
    .locations-container { flex-direction: column; align-items: center; }
    .location-card { flex-basis: auto; width: 100%; max-width: 400px; }
    .level-card-v2.featured-level { transform: scale(1); }
}

  /* --- STYLES POUR LE POP-UP DE CONTACT --- */
        .modal {
            display: none; /* Caché par défaut */
            position: fixed; /* Reste en place */
            z-index: 1000; /* Se positionne au-dessus de tout le reste */
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto; /* Permet de faire défiler si le contenu est trop grand */
            background-color: rgba(0,0,0,0.7); /* Fond noir semi-transparent */
            animation: fadeIn 0.4s; /* Animation d'apparition */
        }

        .modal-content {
            background-color: #fefefe;
            margin: 5% auto; /* Centrage vertical et horizontal */
            padding: 25px;
            border: 1px solid #888;
            width: 90%;
            max-width: 680px; /* Largeur maximale adaptée au formulaire */
            border-radius: 15px;
            position: relative;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            animation: slideIn 0.4s;
        }

        .modal-content iframe {
            width: 100%;
            max-height: 75vh; /* Hauteur max pour s'adapter à la vue */
            border-radius: 8px;
        }

        .close-button {
            color: #aaa;
            position: absolute;
            top: 10px;
            right: 20px;
            font-size: 35px;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .close-button:hover,
        .close-button:focus {
            color: #d63031; /* Couleur au survol */
            text-decoration: none;
            cursor: pointer;
        }

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

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

/* RÉINITIALISATION ET VARIABLES */
:root {
    --color-dark-blue: #0F052B; /* Bleu nuit profond */
    --color-light-accent: #1B0B4D; /* Violet/Bleu plus clair */
    --color-light: #f4f4f4;
    --color-gold: #ffc300; /* Or pour l'élégance */
    --color-magenta: #F038FF; /* Magenta pour l'énergie et la joie */
    --color-text: #cccccc;
    --font-title: 'Poppins', serif;
    --font-body: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 108%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark-blue);
    color: white;
    line-height: 1.7;
}

/* CONTENEURS ET STRUCTURE */
.container {
    max-width: 1313px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--color-light);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3.2rem; text-shadow: 0 0 15px rgba(240, 56, 255, 0.5); }
h2 { font-size: 2.4rem; text-align: center; }
h3 { font-size: 2rem; color: var(--color-gold); }
.section-title-left { text-align: left; }
.section-subtitle { font-size: 1.2rem; text-align: center; max-width: 800px; margin: -1rem auto 3rem auto; color: var(--color-text); }

p { margin-bottom: 1rem; }
section { padding: 5rem 0; }
.bg-dark { background-color: #0c0423; }
.bg-light-accent { background-color: var(--color-light-accent); }

/* BOUTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}
.btn-large { padding: 1rem 2.5rem; font-size: 1.2rem; }

.btn-primary {
    background: linear-gradient(45deg, var(--color-magenta), #a538ff);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 56, 255, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 56, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}
.btn-secondary:hover {
    background-color: var(--color-light);
    color: var(--color-dark-blue);
}

/* HEADER */
header {
    background-color: rgba(15, 5, 43, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid var(--color-light-accent);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-title); font-size: 1.5rem; color: var(--color-gold); font-weight: 700; }
header ul { display: flex; list-style: none; align-items: center; }
header ul li { margin-left: 2rem; }
header ul li a { color: var(--color-light); text-decoration: none; transition: color 0.3s ease; }
header ul li a:hover { color: var(--color-gold); }
.cta-nav { background: var(--color-gold); color: var(--color-dark-blue); padding: 0.5rem 1rem; border-radius: 50px; }
.cta-nav:hover { background: var(--color-light); color: var(--color-dark-blue); }

/* SECTION HÉROS */
#hero {
    background: linear-gradient(rgba(15, 5, 43, 0.5), rgba(15, 5, 43, 0.9)), url('https://magicien.fun/cours/assets/images/splash_screen_big_empty.jpg') no-repeat center center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-light);
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-content .subtitle { font-size: 1.2rem; margin-bottom: 2rem; }
.hero-cta .btn { margin: 15px; }

/* SECTIONS CIBLÉES & AVANTAGES */
.container-split { display: flex; align-items: center; gap: 4rem; }
.container-split.reverse { flex-direction: row-reverse; }
.split-image { flex: 1; }
.split-image img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.split-content { flex: 1.2; }
.split-content ul { list-style: none; padding-left: 0; }
.split-content ul li { margin-bottom: 0.8rem; padding-left: 2rem; position: relative; }
.split-content ul li::before {
    content: '\2713';
    color: var(--color-gold); /* COULEUR CORRIGÉE */
    position: absolute;
    left: 0;
    font-size: 22px;
    font-weight: 900;
}
.video-iframe {
    width: 100%;
    height: 315px;
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* SECTION LIEUX */
#lieux .location-card {
    display: flex; flex-direction: column;
}
.scarcity-note {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-top: auto; /* Pousse la note en bas de la carte */
    padding-top: 1rem;
}

/* SECTION À PROPOS */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
    font-size: 17px;
    flex-wrap: wrap;
    justify-content: center;
}
.about-image { flex-basis: 300px; text-align: center; }
.about-image img {
    width: 236px;
    height: 351px;
    border-radius: 100%;
    border: 2px solid #ffc30063;
    object-fit: cover;
	box-shadow: 0px 0px 50px #ffd7005c;
}
.about-text { flex: 1; min-width: 300px;     flex: 1;    min-width: 300px;    text-align: left;    max-width: 556px; }

/* SECTION NIVEAUX */
.niveaux-section { padding: 6rem 0; }
.course-levels-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}
.level-card-v2 {
    background: var(--color-light-accent);
    border: 1px solid #33216E;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.level-card-v2:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.7); }
.level-card-v2.featured-level { border: 2px solid var(--color-magenta); transform: scale(1.05); }
.level-icon img { width: 80px; height: 80px; margin-bottom: 1.5rem; filter: drop-shadow(0 0 10px var(--color-gold)); }
.level-card-v2 h3 { font-size: 1.8rem; color: var(--color-light); margin-bottom: 1rem; }
.level-card-v2 p { font-size: 1rem; color: var(--color-text); flex-grow: 1; margin-bottom: 2rem; }
.btn-level { margin-top: auto; background-color: transparent; border: 2px solid var(--color-gold); color: var(--color-gold); }
.btn-level:hover { background-color: var(--color-gold); color: var(--color-dark-blue); }

/* NOUVELLE SECTION: TÉMOIGNAGES */
#temoignages { background-color: var(--color-dark-blue); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card {
    background: var(--color-light-accent);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--color-gold);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.testimonial-card blockquote { border: none; padding: 0; margin: 0 0 1rem 0; }
.testimonial-card blockquote p { font-style: italic; color: var(--color-text); }
.testimonial-card cite { font-style: normal; font-weight: 600; color: var(--color-light); }

/* SECTION TARIFS */
.pricing-toggle { display: flex; justify-content: center; align-items: center; margin-bottom: 3rem; user-select: none; }
.toggle-label { font-size: 1.2rem; font-weight: 600; color: var(--color-text); cursor: pointer; transition: color 0.3s ease, text-shadow 0.3s ease; }
.toggle-label.active { color: var(--color-gold); text-shadow: 0 0 10px var(--color-gold); }
.toggle-switch { margin: 0 1.5rem; position: relative; display: inline-block; width: 60px; height: 34px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch label { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #7261a1; transition: .4s; border-radius: 34px; border: 1px solid var(--color-light-accent); }
.toggle-switch label:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 3px; background-color: var(--color-light); transition: .4s; border-radius: 50%; }
input:checked + label { background-color: #7261a1; }
input:checked + label:before { transform: translateX(26px); background: linear-gradient(45deg, var(--color-magenta), #a538ff); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: stretch; }
.pricing-card {
    background: linear-gradient(145deg, #1B0B4D, #0F052B);
    border: 1px solid var(--color-light-accent);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.6); }
.pricing-card .btn { margin-top: auto; }
.pricing-card.featured { transform: scale(1.05); border: 2px solid var(--color-magenta); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-10px); }
.featured-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(45deg, var(--color-magenta), #a538ff); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }
.pack-duration { display: inline-block; background-color: var(--color-gold); color: var(--color-dark-blue); font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; padding: 0.3rem 1.2rem; border-radius: 50px; margin: -0.5rem auto 1rem auto; text-shadow: none; }
.pricing-card h3 { font-size: 1.8rem; }
.pricing-card .price { font-size: 1.5rem; font-weight: 700; color: var(--color-gold); margin-bottom: 0.5rem; min-height: 60px;}
.pricing-card .price .price-value { font-size: 2.5rem; font-weight: 700; color: var(--color-gold); }
.pricing-card .price .price-hourly { font-size: 1rem; font-weight: 400; color: var(--color-text); display: block; margin-top: -0.5rem; }
.pricing-card .guarantee { font-size: 1.1rem; font-style: normal; font-weight: 600; min-height: 40px; color: var(--color-light); }
.pricing-card ul { list-style: none; padding-left: 0; margin: 2rem 0; flex-grow: 1; text-align: left;}
.pricing-card ul li { margin-bottom: 0.8rem; text-align: center; }
.pricing-card ul li::before { content: '\2713'; color: var(--color-gold); margin-right: 10px; }
.pricing-note { text-align: center; margin-top: 3rem; color: var(--color-text); font-style: italic; display: none; }
/* Animation pour le changement de prix */
@keyframes price-flash {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 1; }
}
.price-updated {
    animation: price-flash 0.6s ease-out;
}

/* NOUVELLE SECTION: FAQ */
#faq { padding: 5rem 0; }
.faq-container { max-width: 800px; margin: 2rem auto 0 auto; }
.faq-container details {
    background: var(--color-light-accent);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #33216E;
}
.faq-container details[open] { background: #33216E; }
.faq-container summary {
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    list-style: none; /* Hide default marker */
}
.faq-container summary::after {
    content: '+';
    color: var(--color-gold);
    position: absolute;
    right: 1.5rem;
    font-size: 2rem;
    transition: transform 0.3s ease;
}
.faq-container details[open] summary::after {
    transform: rotate(45deg);
}
.faq-container details p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text);
}

/* NOUVELLE SECTION: LEAD MAGNET */
#contact { text-align: center; }
.lead-magnet-container {
    max-width: 600px;
    margin: 4rem auto 0 auto;
    padding: 2rem;
    border: 2px solid var(--color-light-accent);
    border-radius: 15px;
    background: var(--color-light-accent);
}
.lead-magnet-container h3 { color: var(--color-gold); font-size: 1.5rem; }
.lead-magnet-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.lead-magnet-form input[type="email"] {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    border: 1px solid #33216E;
    background-color: var(--color-dark-blue);
    color: white;
    font-size: 1rem;
    min-width: 250px;
}
.lead-magnet-form button { flex-shrink: 0; }


/* FOOTER */
footer { text-align: center; padding: 2rem 0; background-color: #000; font-size: 0.9rem; }

/* MODAL (POP-UP) */
.modal {
    display: none; position: fixed; z-index: 1000; left: 0; top: 0;
    width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.4s;
}
.modal-content {
    background-color: var(--color-dark-blue);
    margin: 5% auto; padding: 25px; border: 1px solid var(--color-light-accent);
    width: 90%; max-width: 680px; border-radius: 15px; position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.4s;
}
.modal-content iframe {
    width: 100%; min-height: 500px; height: 75vh;
    border-radius: 8px; border: none;
}
.close-button {
    color: #aaa; position: absolute; top: 10px; right: 20px;
    font-size: 35px; font-weight: bold; transition: color 0.3s ease;
}
.close-button:hover, .close-button:focus { color: #d63031; text-decoration: none; cursor: pointer; }
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes slideIn { from {transform: translateY(-50px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }


/* RESPONSIVE */
@media (max-width: 768px) {
    html { font-size: 100%; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    header .container, .container-split, .container-split.reverse { flex-direction: column; gap: 2rem; }
    .container-split .split-image, .container-split .split-content { text-align: center; }
    .section-title-left { text-align: center; }
    header ul { padding-left: 0; flex-direction: column; gap: 1rem; margin-top: 1rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px); }
    .locations-container { flex-direction: column; align-items: center; }
    .location-card { flex-basis: auto; width: 100%; max-width: 400px; }
    .level-card-v2.featured-level { transform: scale(1); }
    .about-text { text-align: center; }
}

/* --- ANIMATIONS POUR LE CHANGEMENT DE TARIF --- */

/* Animation de surbrillance pour la carte entière */
@keyframes card-highlight {
  50% {
    box-shadow: 0 10px 40px rgba(240, 56, 255, 0.5), 0 0 0 2px var(--color-gold);
  }
}

/* Classe appliquée à la carte pendant la mise à jour */
.pricing-card.is-updating {
  animation: card-highlight 0.6s ease-in-out;
}

/* Animation de SORTIE pour le texte (prix, garantie, etc.) */
@keyframes update-out {
  to {
    opacity: 0;
    transform: translateY(-15px); /* Glisse vers le haut et disparaît */
  }
}

/* Animation d'ENTRÉE pour le texte */
@keyframes update-in {
  from {
    opacity: 0;
    transform: translateY(15px); /* Arrive d'en bas en apparaissant */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classes pour piloter les animations via JavaScript */
.price-updating-out {
  animation: update-out 0.5s ease-in forwards;
}

.price-updating-in {
  /* On ajoute un léger délai pour que l'effet soit plus marqué */
  animation: update-in O.5s ease-out 0.5s forwards;
}

/* Supprimez l'ancienne animation pour éviter les conflits */
.price-updated {
    animation: none;
}
@keyframes price-flash { /* Vous pouvez supprimer ce bloc entier */ }

/* --- STYLES POUR LE MENU HAMBURGER --- */

/* Le bouton hamburger */
.menu-toggle {
    display: none; /* Caché par défaut sur grand écran */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101; /* Doit être au-dessus du menu */
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-light);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Animation du bouton en croix (X) */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* --- MODIFICATIONS DE LA MEDIA QUERY EXISTANTE --- */

@media (max-width: 768px) {
    html { font-size: 100%; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    /* MODIFIER CETTE RÈGLE */
    header .container {
        flex-direction: row; /* On repasse en ligne */
        justify-content: space-between; /* On espace le logo et le bouton */
        align-items: center;
        gap: 2rem;
    }

    .container-split, .container-split.reverse { flex-direction: column; gap: 2rem; }
    .container-split .split-image, .container-split .split-content { text-align: center; }
    .section-title-left { text-align: center; }

    /* AFFICHER LE BOUTON HAMBURGER */
    .menu-toggle {
        display: flex;
    }

    /* MODIFIER LA NAVIGATION PRINCIPALE */
    header ul#main-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: rgba(15, 5, 43, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        padding-left: 0;
        margin-top: 0;
        transition: right 0.4s ease-in-out;
        padding-top: 10vh;
    }

    /* Classe pour afficher le menu */
    header ul#main-nav.active {
        right: 0;
    }

    header ul#main-nav li {
        margin-left: 0;
    }
    
    header ul#main-nav li a {
        font-size: 1.5rem; /* Augmenter la taille pour la lisibilité */
    }

    /* Garder les autres styles de la media query */
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px); }
    .locations-container { flex-direction: column; align-items: center; }
    .location-card { flex-basis: auto; width: 100%; max-width: 400px; }
    .level-card-v2.featured-level { transform: scale(1); }
    .about-text { text-align: center; }
	
	.pricing-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    user-select: none;
    flex-direction: row;
    flex-wrap: wrap;
}
}

/* Le reste de vos styles responsive existants ici... */