/* ── RESET & BASE ── */
*,
*::before,
*::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
}

:root {
        --blue: #3e489e;
        --blue-mid: #2552a0;
        --blue-light: #4a7fd4;
        --accent: #e8f0fe;
        --sand: #f5f2ee;
        --dark: #111827;
        --mid: #4b5563;
        --light: #9ca3af;
        --white: #ffffff;
        --border: #e5e7eb;
        --highlight: #e48168;
        --font-head: 'Syne', sans-serif;
        --font-body: 'DM Sans', sans-serif;

        --max: 960px;
        --pad: clamp(1.5rem, 5vw, 4rem);
}

html {
        scroll-behavior: smooth;
}

body {
        font-family: var(--font-body);
        font-size: 1rem;
        line-height: 1.7;
        color: var(--dark);
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
}

body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: url("../images/hero_bg.png") center/cover no-repeat;
        z-index: -1;
        opacity: 0.25;
}

a {
        color: inherit;
        text-decoration: none;
}

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

/* ── UTILITIES ── */
.container {
        max-width: var(--max);
        margin-inline: auto;
        padding-inline: var(--pad);
}

.btn {
        display: inline-block;
        padding: .85rem 2rem;
        background: var(--highlight);
        color: var(--white);
        font-family: var(--font-head);
        font-weight: 600;
        font-size: .9rem;
        letter-spacing: .04em;
        border-radius: 3px;
        transition: background .2s, transform .15s;
}

.btn:hover {
        background: var(--blue-mid);
        transform: translateY(-2px);
}

.label {
        display: inline-block;
        font-family: var(--font-head);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--blue-light);
        margin-bottom: .75rem;
}

h1,
h2,
h3,
h4 {
        font-family: var(--font-head);
        line-height: 1.15;
        font-weight: 700;
}

/* ── NAV ── */
nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        z-index: 100;
        background: var(--blue);
        padding: 1rem 1.25rem;
        box-sizing: border-box;
        overflow: hidden;
}

.nav-inner {
        max-width: var(--max);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
}

.nav-logo {
        width: clamp(120px, 30vw, 160px);
        flex-shrink: 0;
}

.nav-logo img {
        width: 100%;
        height: auto;
}

.nav-menu {
        display: flex;
        gap: 1.5rem;
        align-items: center;
}

.nav-cta {
        font-family: var(--font-head);
        font-size: .8rem;
        font-weight: 600;
        color: var(--white);
        border: 1px solid var(--highlight);
        padding: .5rem 1.2rem;
        border-radius: 3px;
        letter-spacing: .04em;
        transition: background .2s, border-color .2s;
        white-space: nowrap;
}

.nav-cta:hover {
        background: rgba(255, 255, 255, .1);
        border-color: rgba(255, 255, 255, .7);
}

.nav-blog {
        font-family: var(--font-head);
        font-size: .8rem;
        font-weight: 600;
        color: var(--white);
        padding: .5rem 1.2rem;
        border-radius: 3px;
        letter-spacing: .04em;
        transition: background .2s, border-color .2s;
        white-space: nowrap;
}

.nav-blog:hover {
        background: rgba(255, 255, 255, .1);
        border-color: rgba(255, 255, 255, .7);
}

/* ── BURGER MENU ── */
.nav-burger {
        display: none;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        flex-shrink: 0;
}

.nav-burger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: transform .25s ease, opacity .2s ease;
        transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
}

.nav-burger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
        position: fixed;
        top: 112px;
        left: 0;
        right: 0;
        background: var(--blue);
        z-index: 101;
        flex-direction: column;
        padding: 1rem 1.25rem;
        gap: .25rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
        border-top: 1px solid rgba(255, 255, 255, .1);
        /* Caché par défaut via transform + visibility */
        display: flex;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        pointer-events: none;
}

.nav-drawer.open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
}

.nav-drawer a {
        font-family: var(--font-head);
        font-size: .95rem;
        font-weight: 600;
        color: var(--white);
        padding: .85rem 1rem;
        border-radius: 3px;
        letter-spacing: .04em;
        transition: background .15s;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-drawer a:last-child {
        border-bottom: none;
        margin-top: .5rem;
        background: var(--highlight);
        text-align: center;
        padding: .85rem;
}

.nav-drawer a:hover {
        background: rgba(255, 255, 255, .1);
}

.nav-drawer a:last-child:hover {
        background: var(--blue);
}

/* ── HERO ── */
.hero {
        padding-top: calc(72px + 5rem);
        padding-bottom: 5rem;
}

.hero::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -100px;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        pointer-events: none;
}

.hero-inner {
        max-width: var(--max);
        margin-inline: auto;
        padding-inline: var(--pad);
}

.hero-tag {
        display: inline-block;
        font-family: var(--font-head);
        font-size: .70rem;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--blue-light);
        margin-bottom: 1.5rem;
}

.hero h1 {
        font-size: clamp(2rem, 5vw, 2.8rem);
        color: var(--blue);
        font-weight: 600;
        max-width: 680px;
        margin-bottom: 1.5rem;
        line-height: 1.1;
}

.hero h1 em {
        font-style: normal;
        color: var(--blue-light);
}

.hero-sub {
        max-width: 520px;
        color: var(--mid);
        font-size: 1.05rem;
        font-weight: 300;
        margin-bottom: 2.5rem;
        line-height: 1.65;
}

.hero-sub strong {
        color: var(--mid);
        font-weight: 800;
}

.hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: .6rem;
        margin: 2rem 0;
}

.badge {
        font-size: .78rem;
        color: var(--mid);
        border: 1px solid var(--border);
        padding: .35rem .85rem;
        border-radius: 20px;
        font-family: var(--font-head);
        letter-spacing: .03em;
}

/* ── PROBLEM ── */
.problem {
        background: var(--sand);
        padding: 5rem 0;
}

.problem-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem 5rem;
        align-items: start;
}

.problem-col h2 {
        font-size: clamp(1.6rem, 3vw, 2rem);
        color: var(--blue);
        margin-bottom: 1.25rem;
}

.problem-col p {
        color: var(--mid);
        font-size: .97rem;
}

.problem-col p strong {
        color: var(--dark);
}

/* ── PROCESS ── */
.process {
        padding: 5rem 0;
}

.section-header {
        text-align: center;
        margin-bottom: 3.5rem;
}

.section-header h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        color: var(--blue);
        max-width: 600px;
        margin-inline: auto;
}

.steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        position: relative;
}

.steps::before {
        content: '';
        position: absolute;
        top: 2.5rem;
        left: calc(16.66% + 1rem);
        right: calc(16.66% + 1rem);
        height: 1px;
        background: var(--border);
}

.step {
        background: var(--sand);
        border-radius: 4px;
        padding: 2rem 1.75rem;
        position: relative;
}

.step-num {
        font-family: var(--font-head);
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--blue-light);
        margin-bottom: .5rem;
}

.step h3 {
        font-size: 1.05rem;
        color: var(--blue);
        margin-bottom: .35rem;
}

.step-sub {
        font-size: .85rem;
        font-weight: 500;
        color: var(--mid);
        margin-bottom: .75rem;
}

.step p {
        font-size: .9rem;
        color: var(--mid);
        line-height: 1.6;
}

.step em {
        display: block;
        margin-top: .85rem;
        font-size: .85rem;
        color: var(--blue-light);
        font-weight: 500;
}

/* ── BENEFITS ── */
.benefits {
        background: var(--blue);
        padding: 5rem 0;
        color: var(--white);
}

.benefits h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        color: var(--white);
        margin-bottom: 2rem;
}

.benefits-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 2rem;
}

.benefit-item {
        display: flex;
        gap: .85rem;
        align-items: flex-start;
        padding: 1.25rem;
        background: rgba(255, 255, 255, .06);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, .1);
}

.benefit-item .icon {
        font-size: 1.1rem;
        flex-shrink: 0;
        margin-top: .1rem;
}

.benefit-item p {
        font-size: .92rem;
        color: rgba(255, 255, 255, .82);
        line-height: 1.55;
}

/* ── FOR WHO ── */
.forwho {
        padding: 5rem 0;
        background: var(--sand);
}

.forwho h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        color: var(--blue);
        margin-bottom: 1.5rem;
}

.forwho-intro {
        color: var(--mid);
        font-size: .97rem;
        margin-bottom: 1.75rem;
}

.checklist {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .65rem;
}

.checklist li {
        display: block;
        padding-left: 1.25rem;
        position: relative;
        font-size: .95rem;
        color: var(--mid);
        line-height: 1.6;
}

.checklist li::before {
        content: '▪';
        color: var(--blue-light);
        position: absolute;
        left: 0;
        top: .05rem;
}

/* ── ABOUT ── */
.about {
        padding: 5rem 0;
}

.about-inner {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 3.5rem;
        align-items: start;
}

.about-photo {
        width: 160px;
        height: 200px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
}

.about-photo-placeholder {
        width: 180px;
        height: 220px;
        background: var(--accent);
        border-radius: 4px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: var(--blue-light);
        overflow: hidden;
}

.about-photo-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        border-radius: 4px;
}

.about-text h2 {
        font-size: clamp(1.6rem, 3vw, 2rem);
        color: var(--blue);
        margin-bottom: 1rem;
}

.about-text p {
        color: var(--mid);
        font-size: .96rem;
        margin-bottom: .75rem;
        line-height: 1.7;
}

.about-text .expertise {
        margin-top: 1.25rem;
        padding: .9rem 1.2rem;
        background: var(--sand);
        border-left: 3px solid var(--blue-light);
        font-size: .88rem;
        color: var(--mid);
        border-radius: 0 3px 3px 0;
}

.about-text .expertise strong {
        color: var(--blue);
}

/* ── DELIVERABLE ── */
.deliverable {
        padding: 5rem 0;
        background: var(--sand);
}

.deliverable h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        color: var(--blue);
        margin-bottom: .75rem;
}

.deliverable-intro {
        color: var(--mid);
        margin-bottom: 2rem;
        font-size: .97rem;
        max-width: 620px;
}

.deliverable-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
}

.deliverable-block {
        background: var(--white);
        border-radius: 4px;
        padding: 1.75rem;
}

.deliverable-block h3,
.deliverable-block h4 {
        font-size: .85rem;
        font-family: var(--font-head);
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--blue);
        margin-bottom: 1rem;
}

.deliverable-block ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .55rem;
}

.deliverable-block li {
        display: flex;
        gap: .65rem;
        font-size: .9rem;
        color: var(--mid);
        line-height: 1.5;
}

.deliverable-block li::before {
        content: '▪';
        color: var(--blue-light);
        flex-shrink: 0;
}

/* ── PRICING ── */
.pricing {
        padding: 5rem 0;
}

.pricing-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
}

.card {
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 2.25rem;
        position: relative;
}

.card.featured {
        border-color: var(--blue);
        background: var(--accent);
}

.card-tag {
        font-family: var(--font-head);
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--blue-light);
        margin-bottom: .75rem;
}

.card h3 {
        font-size: 1.3rem;
        color: var(--blue);
        margin-bottom: .25rem;
}

.card-price {
        font-family: var(--font-head);
        font-size: 2.4rem;
        font-weight: 800;
        color: var(--blue);
        margin-bottom: .25rem;
        line-height: 1;
}

.card-price span {
        font-size: 1rem;
        font-weight: 400;
        color: var(--mid);
}

.card-desc {
        font-size: .88rem;
        color: var(--mid);
        margin: .75rem 0 1.5rem;
        line-height: 1.55;
}

.card-note {
        font-size: .82rem;
        color: var(--light);
        margin-top: 1.25rem;
        line-height: 1.5;
}

.pricing-footer {
        text-align: center;
        margin-top: 2.5rem;
        color: var(--mid);
        font-size: .9rem;
}

/* ── CTA BAND ── */
.cta-band {
        background: var(--blue);
        padding: 4rem var(--pad);
        text-align: center;
}

.cta-band h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        color: var(--white);
        margin-bottom: .75rem;
}

.cta-band p {
        color: rgba(255, 255, 255, .7);
        margin-bottom: 2rem;
        font-size: .97rem;
}

/* ── FOOTER ── */
footer {
        background: var(--dark);
        color: rgba(255, 255, 255, .5);
        padding: 2rem var(--pad);
}

.footer-inner {
        max-width: var(--max);
        margin-inline: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        font-size: .8rem;
}

.footer-logo {
        font-family: var(--font-head);
        font-weight: 500;
        font-size: .95rem;
        color: rgba(255, 255, 255, .8);
        letter-spacing: .04em;
}

.footer-logo span {
        color: var(--blue-light);
}

.footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1.25rem;
}

.footer-links a {
        transition: color .15s;
}

.footer-links a:hover {
        color: rgba(255, 255, 255, .85);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
        from {
                opacity: 0;
                transform: translateY(24px);
        }

        to {
                opacity: 1;
                transform: translateY(0);
        }
}

.hero-tag {
        animation: fadeUp .5s ease both;
}

.hero h1 {
        animation: fadeUp .55s .1s ease both;
}

.hero-sub {
        animation: fadeUp .55s .2s ease both;
}

.hero .btn {
        animation: fadeUp .55s .3s ease both;
}

.hero-badges {
        animation: fadeUp .55s .4s ease both;
}

/* ── PAGES LÉGALES ── */
.legal-page {
        padding: 140px 20px 100px;
        background: #f8f6f2;
        min-height: 100vh;
}

.legal-container {
        max-width: 900px;
        margin: 0 auto;
}

.legal-page .label {
        margin-bottom: 20px;
}

.legal-page h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        line-height: 1.1;
        margin-bottom: 20px;
}

.legal-page h2 {
        margin-top: 50px;
        margin-bottom: 15px;
        font-size: 1.6rem;
}

.legal-page p,
.legal-page li {
        font-size: 1rem;
        line-height: 1.8;
        color: rgba(0, 0, 0, .8);
}

.legal-page ul {
        padding-left: 20px;
}

.legal-page strong {
        color: #000;
}

.legal-page a {
        color: inherit;
        text-decoration: underline;
}

.legal-date {
        opacity: .6;
        margin-bottom: 40px;
}

/* ── HERO CTAS ── */
.hero-ctas {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
}

/* ── BTN SECONDARY ── */
.btn-secondary {
        background: transparent;
        color: var(--blue);
        border: 1.5px solid var(--blue);
}

.btn-secondary:hover {
        background: var(--blue);
        color: var(--white);
        transform: translateY(-2px);
}

/* ── BTN QUIZ ── */
.btn-quiz {
        background: var(--blue);
        color: var(--white);
        white-space: normal;
        text-align: center;
}

.btn-quiz:hover {
        background: var(--blue-mid);
        transform: translateY(-2px);
}

/* ── QUIZ BAND ── */
.quiz-band {
        background: var(--accent);
        border-top: 2px solid var(--blue-light);
        border-bottom: 2px solid var(--blue-light);
        padding: 2rem 0;
}

.quiz-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        flex-wrap: wrap;
}

.quiz-text {
        flex: 1;
        min-width: 220px;
}

.quiz-text strong {
        display: block;
        font-family: var(--font-head);
        font-size: 1rem;
        color: var(--blue);
        margin-bottom: .3rem;
}

.quiz-text p {
        font-size: .9rem;
        color: var(--mid);
}

/* ── QUIZ MID ── */
.quiz-mid {
        padding: 3.5rem 0;
        background: var(--blue);
}

.quiz-mid-inner {
        text-align: center;
        max-width: 560px;
        margin-inline: auto;
        padding-inline: var(--pad);
}

.quiz-mid-inner h3 {
        font-size: clamp(1.3rem, 2.5vw, 1.7rem);
        color: var(--white);
        margin-bottom: .75rem;
}

.quiz-mid-inner p {
        color: rgba(255, 255, 255, .72);
        font-size: .96rem;
        margin-bottom: 1.75rem;
}

/* ── CTA BAND BTNS ── */
.cta-band-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        align-items: center;
}

.cta-band .btn-secondary {
        color: var(--white);
        border-color: rgba(255, 255, 255, .5);
}

.cta-band .btn-secondary:hover {
        background: rgba(255, 255, 255, .1);
        border-color: var(--white);
        color: var(--white);
}

/* ── FAQ ── */
.faq {
        padding: 5rem 0;
        background: var(--sand);
}

.faq-list {
        max-width: 720px;
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        gap: .75rem;
        margin-top: 2.5rem;
}

.faq-item {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 4px;
        overflow: hidden;
}

.faq-item summary {
        list-style: none;
        cursor: pointer;
        padding: 1.1rem 1.5rem;
        font-family: var(--font-head);
        font-size: .95rem;
        font-weight: 600;
        color: var(--blue);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        transition: background .15s;
        user-select: none;
}

.faq-item summary::-webkit-details-marker {
        display: none;
}

.faq-item summary::after {
        content: '+';
        font-size: 1.4rem;
        font-weight: 300;
        color: var(--blue-light);
        flex-shrink: 0;
        transition: transform .2s;
        line-height: 1;
}

.faq-item[open] summary::after {
        transform: rotate(45deg);
}

.faq-item summary:hover {
        background: var(--accent);
}

.faq-item[open] summary {
        border-bottom: 1px solid var(--border);
}

.faq-item p {
        padding: 1.1rem 1.5rem;
        font-size: .92rem;
        color: var(--mid);
        line-height: 1.65;
}

.faq-item p a {
        color: var(--blue-light);
        text-decoration: underline;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 720px) {

        /* Grilles → 1 colonne */
        .problem-grid,
        .steps,
        .benefits-grid,
        .about-inner,
        .deliverable-cols,
        .pricing-cards {
                grid-template-columns: 1fr;
        }

        .steps::before {
                display: none;
        }

        /* ── Nav burger ── */
        .nav-menu {
                display: none;
        }

        /* masquer les liens desktop */
        .nav-burger {
                display: flex;
        }

        /* afficher le burger */

        /* ── Photo profil mobile : petite et centrée ── */
        .about-photo-placeholder {
                width: 140px;
                height: 170px;
                margin-inline: auto;
                /* centrer dans la colonne */
        }

        .about-photo-placeholder img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center center;
                border-radius: 4px;
        }

        /* ── Quiz band ── */
        .quiz-inner {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
                gap: 1rem;
        }

        .quiz-inner .btn-quiz {
                width: 100%;
                padding: .85rem 1rem;
                font-size: .85rem;
        }

        /* ── Quiz mid ── */
        .quiz-mid {
                padding: 2.5rem 1.25rem;
        }

        .quiz-mid-inner {
                max-width: 100%;
                padding-inline: 0;
        }

        .quiz-mid-inner h3 {
                font-size: 1.15rem;
        }

        .quiz-mid-inner .btn {
                width: 100%;
                padding: .85rem 1rem;
                font-size: .85rem;
                box-sizing: border-box;
        }

        /* ── Hero / CTA btns ── */
        .hero-ctas,
        .cta-band-btns {
                flex-direction: column;
                align-items: flex-start;
        }

        .cta-band-btns {
                align-items: center;
        }
}

@media (max-width: 480px) {

        /* Hero CTA pleine largeur */
        .hero-ctas {
                flex-direction: column;
                align-items: stretch;
        }

        .hero-ctas .btn {
                text-align: center;
                width: 100%;
        }
}


/* ══════════════════════════════════════════════
   PAGE QUIZ – styles spécifiques
   ══════════════════════════════════════════════ */

/* ── Quiz meta badges ── */
.quiz-meta {
        display: flex;
        gap: 0.75rem;
        padding: 1rem;
        border: 1px solid var(--highlight);
        background: rgba(228, 129, 104, .08);
        border-radius: 8px;
        flex-wrap: wrap;
        align-items: center;
}

.quiz-meta-badge {
        background: white;
        border: 1px solid var(--highlight);
        padding: 0.35rem 0.75rem;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--highlight);
}

/* ── Quiz header ── */
.quiz-header {
        padding-top: calc(72px + 4rem);
        padding-bottom: 3rem;
        max-width: var(--max);
        margin-inline: auto;
        padding-inline: var(--pad);
}

.quiz-header h1 {
        font-family: var(--font-head);
        font-size: clamp(1.9rem, 4vw, 2.8rem);
        color: var(--blue);
        font-weight: 700;
        line-height: 1.15;
        max-width: 660px;
        margin-bottom: 1rem;
        animation: fadeUp .55s .1s ease both;
}

.quiz-header h1 em {
        font-style: normal;
        color: var(--blue-light);
}

.quiz-header p {
        max-width: 520px;
        color: var(--mid);
        font-size: 1rem;
        font-weight: 300;
        line-height: 1.65;
        animation: fadeUp .55s .2s ease both;
}

/* ── Progress bar ── */
.progress-wrap {
        max-width: var(--max);
        margin-inline: auto;
        padding-inline: var(--pad);
        margin-bottom: 2.5rem;
}

.progress-meta {
        display: flex;
        justify-content: space-between;
        font-family: var(--font-head);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--blue-light);
        margin-bottom: .6rem;
}

.progress-bar {
        height: 3px;
        background: var(--border);
        border-radius: 2px;
        overflow: hidden;
}

.progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--blue-light), var(--highlight));
        border-radius: 2px;
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Quiz container ── */
.quiz-container {
        max-width: var(--max);
        margin-inline: auto;
        padding-inline: var(--pad);
        padding-bottom: 6rem;
}

/* ── Question card ── */
.question-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 2.5rem;
        box-shadow: 0 2px 24px rgba(62, 72, 158, .07);
        animation: fadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-width: 700px;
}

.question-number {
        font-family: var(--font-head);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--blue-light);
        margin-bottom: .85rem;
}

.question-text {
        font-family: var(--font-head);
        font-size: clamp(1.15rem, 2.5vw, 1.45rem);
        font-weight: 700;
        color: var(--blue);
        line-height: 1.3;
        margin-bottom: 2rem;
}

/* ── Options ── */
.options {
        display: flex;
        flex-direction: column;
        gap: .75rem;
}

.option {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.25rem;
        border: 1px solid var(--border);
        border-radius: 4px;
        cursor: pointer;
        transition: all .2s ease;
        background: var(--sand);
        text-align: left;
        width: 100%;
        font-family: var(--font-body);
}

.option:hover {
        border-color: var(--blue-light);
        background: var(--accent);
        transform: translateX(4px);
}

.option.selected {
        border-color: var(--highlight);
        background: rgba(228, 129, 104, .08);
}

.option-bullet {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-head);
        font-size: .75rem;
        font-weight: 800;
        color: var(--mid);
        flex-shrink: 0;
        transition: all .2s ease;
}

.option.selected .option-bullet {
        background: var(--highlight);
        color: var(--white);
}

.option-text {
        font-size: .95rem;
        font-weight: 400;
        color: var(--mid);
        line-height: 1.45;
}

.option.selected .option-text {
        color: var(--dark);
}

/* ── Bouton suivant ── */
.btn-next {
        margin-top: 1.75rem;
        display: inline-block;
        padding: .85rem 2rem;
        background: var(--highlight);
        color: var(--white);
        font-family: var(--font-head);
        font-weight: 600;
        font-size: .9rem;
        letter-spacing: .04em;
        border-radius: 3px;
        border: none;
        cursor: pointer;
        transition: background .2s, transform .15s;
        width: 100%;
        text-align: center;
}

.btn-next:hover:not(:disabled) {
        background: var(--blue-mid);
        transform: translateY(-2px);
}

.btn-next:disabled {
        opacity: 0.35;
        cursor: not-allowed;
        transform: none;
}

/* ── Result card ── */
.result-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 3rem 2.5rem;
        box-shadow: 0 2px 24px rgba(62, 72, 158, .07);
        animation: fadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-width: 700px;
}

.result-badge {
        display: inline-block;
        font-family: var(--font-head);
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        padding: .35rem 1rem;
        border-radius: 20px;
        margin-bottom: 1.25rem;
}

.result-badge.green {
        background: rgba(45, 106, 79, .1);
        color: #2d6a4f;
}

.result-badge.orange {
        background: rgba(228, 129, 104, .12);
        color: #c05c3a;
}

.result-badge.red {
        background: rgba(62, 72, 158, .1);
        color: var(--blue);
}

.result-title {
        font-family: var(--font-head);
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: 700;
        color: var(--blue);
        margin-bottom: .85rem;
        line-height: 1.2;
}

.result-desc {
        font-size: .97rem;
        color: var(--mid);
        line-height: 1.7;
        max-width: 520px;
        margin-bottom: 2rem;
        font-weight: 300;
}

.result-points {
        background: var(--sand);
        border-radius: 4px;
        border-left: 3px solid var(--blue-light);
        padding: 1.25rem 1.5rem;
        margin-bottom: 2.5rem;
}

.result-points ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .65rem;
}

.result-points li {
        font-size: .93rem;
        color: var(--mid);
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        line-height: 1.5;
}

.result-points li::before {
        content: '▪';
        color: var(--blue-light);
        flex-shrink: 0;
        margin-top: .05rem;
}

/* ── Email section ── */
.email-section {
        border-top: 1px solid var(--border);
        padding-top: 2rem;
        margin-bottom: 1.5rem;
}

.email-label {
        font-family: var(--font-head);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--blue-light);
        margin-bottom: .75rem;
}

.email-section p {
        font-size: .9rem;
        color: var(--mid);
        margin-bottom: 1rem;
        line-height: 1.6;
        font-weight: 300;
}

.email-input-wrap {
        display: flex;
        gap: .6rem;
        flex-wrap: wrap;
}

.email-input {
        flex: 1;
        min-width: 200px;
        padding: .75rem 1rem;
        border: 1px solid var(--border);
        border-radius: 3px;
        font-family: var(--font-body);
        font-size: .95rem;
        color: var(--dark);
        background: var(--sand);
        outline: none;
        transition: border-color .2s;
}

.email-input:focus {
        border-color: var(--blue-light);
}

.btn-email {
        padding: .75rem 1.5rem;
        background: var(--blue);
        color: var(--white);
        border: none;
        border-radius: 3px;
        font-family: var(--font-head);
        font-size: .85rem;
        font-weight: 600;
        letter-spacing: .04em;
        cursor: pointer;
        transition: background .2s, transform .15s;
        white-space: nowrap;
}

.btn-email:hover {
        background: var(--blue-mid);
        transform: translateY(-1px);
}

.btn-email:disabled {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
}

.email-confirm {
        font-size: .85rem;
        color: #2d6a4f;
        font-weight: 500;
        margin-top: .75rem;
        display: none;
}

/* ── Boutons résultat ── */
.btn-cta {
        display: block;
        width: 100%;
        padding: .9rem 2rem;
        background: var(--highlight);
        color: var(--white);
        font-family: var(--font-head);
        font-weight: 600;
        font-size: .9rem;
        letter-spacing: .04em;
        border-radius: 3px;
        border: none;
        cursor: pointer;
        transition: background .2s, transform .15s;
        text-align: center;
        text-decoration: none;
}

.btn-cta:hover {
        background: var(--blue-mid);
        transform: translateY(-2px);
}

.btn-restart {
        margin-top: 1rem;
        background: none;
        border: none;
        color: var(--light);
        font-family: var(--font-body);
        font-size: .85rem;
        cursor: pointer;
        text-decoration: underline;
        display: block;
        width: 100%;
        text-align: center;
}

.btn-restart:hover {
        color: var(--mid);
}

/* ── Utilitaire ── */
.hidden {
        display: none !important;
}

.question-card.animate {
        animation: fadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Responsive quiz ── */
@media (max-width: 600px) {

        .question-card,
        .result-card {
                padding: 1.75rem 1.25rem;
        }
}