/* ===== ORA LIFE STYLES - VERSION 6.4-WOW-POLISH =====
   Last Update: 2025-11-24T08:30
   Changes: WOW polish - green checkmarks on list items, pastel source badge
   ============================================ */
/* ===== VARIABLES ===== */
:root {
    --primary-blue: #000324;
    /* Ora Life brand blue - harmonisé quiz/WOW/results */
    --accent-green: #00C853;
    /* Apple Green - harmonisé avec email */
    --white: #FFFFFF;
    --light-gray: #F5F5F7;
    --text-dark: #1D1D1F;
    /* Apple text color - keep for readability */
    /* WCAG AA fix 2026-04-28 (Sprint 6) : #86868B (4.06:1) → #6E6E73 (4.72:1) sur fond blanc */
    --text-light: #6E6E73;
    --border: #E5E5E7;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --max-width: 600px;
    --max-width-results: 600px;

    /* ===== DESIGN SYSTEM 5.1 (APPLE EXCELLENCE) ===== */
    --radius-pill: 9999px;
    --radius-card: 20px;
    /* Apple Health style - généreux */
    --radius-inner: 16px;
    /* Inner elements - harmonisé */

    /* Track circle Apple */
    --track-gray: #E5E5EA;
    /* iOS system gray - subtil */

    /* Layout - CLEAN & FOCUSED */
    --max-width: 600px;
    /* Harmonisé avec email */
    --gap-sections: 32px;
    /* Vertical spacing between cards */
    --padding-card: 30px;
    /* Internal card padding - réduit */
    --bg-page: #F2F2F7;
    /* iOS gray background */
    --bg-card: #FFFFFF;
    /* White module containers */

    /* Tone-on-Tone Colors */
    --bg-urgent: #FEF2F2;
    --text-urgent: #991B1B;
    --bg-optimal: #ECFDF5;
    --text-optimal: #065F46;
    --bg-moderate: #FFF7ED;
    --text-moderate: #9A3412;
    --bg-neutral: #F3F4F6;
    --text-neutral: #374151;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);

    /* Apple-style colors */
    --apple-green: #00C853;
    --apple-green-light: #34C759;
    --apple-orange: #FF9500;
    --apple-red: #FF3B30;
    --apple-gray: #8E8E93;
    --apple-bg: #FBFBFD;

    /* Gradients Apple style */
    --gradient-green: linear-gradient(135deg, #00C853 0%, #34C759 100%);
    --gradient-orange: linear-gradient(135deg, #FF9500 0%, #FFCC00 100%);
    --gradient-red: linear-gradient(135deg, #FF3B30 0%, #FF6B6B 100%);
    --gradient-dark: linear-gradient(135deg, #1D1D1F 0%, #3A3A3C 100%);
    --gradient-subtle: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);

    /* Shadows */
    --shadow-subtle: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 4px 20px rgba(0, 200, 83, 0.3);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg-page);
    /* iOS gray for results page */
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Results page specific - override gradient */
#screen-results {
    background: var(--bg-page) !important;
}

/* ===== HEADER ===== */
.quiz-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    /* Au-dessus de .epiphany-screen (z-index 1000) */
    border-bottom: 1px solid var(--border);
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-back-btn {
    position: absolute;
    left: 24px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-back-btn:hover {
    background: rgba(0, 3, 36, 0.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.8px;
    margin: 0 auto;
    user-select: none;
}

.logo-text.clickable {
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-text.clickable:hover {
    opacity: 0.65;
}

.logo-text.clickable:active {
    transform: scale(0.97);
}

.logo-text.clickable:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Badge sticky "Reprendre mon bilan" sur landing */
.resume-bar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    color: white;
    padding: 14px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: -0.2px;
}

.resume-bar:hover {
    background: linear-gradient(135deg, #30D158 0%, #248A3D 100%);
    box-shadow: 0 6px 22px rgba(52, 199, 89, 0.35);
}

.resume-bar .resume-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.resume-bar .resume-progress {
    opacity: 0.85;
    font-weight: 500;
    margin-left: 4px;
}

.progress-info {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    position: absolute;
    right: 24px;
}

.progress-sections {
    display: flex;
    gap: 4px;
    padding: 0 24px 12px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-segment {
    flex: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.section-segment.active {
    background: var(--accent-green);
}

.section-segment.completed {
    background: var(--accent-green);
}

.section-segment.current {
    background: linear-gradient(90deg, var(--accent-green) var(--progress, 0%), rgba(0, 0, 0, 0.08) var(--progress, 0%));
}

.progress-bar-container {
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    display: none;
    /* Hidden, replaced by sections */
}

.progress-bar {
    height: 100%;
    background: var(--accent-green);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 20px 40px;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Container spécial pour résultats */
.container-results {
    max-width: var(--max-width-results);
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px 24px;
    box-shadow: var(--shadow);
    animation: cardAppear 0.5s cubic-bezier(0.2, 0, 0.38, 0.9);
    margin-top: 20px;
    border: none;
}

/* ===== PASTEL TONE-ON-TONE CARDS ===== */
.card-urgent {
    background: var(--bg-urgent);
    color: var(--text-urgent);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(153, 27, 27, 0.1);
}

.card-moderate {
    background: var(--bg-moderate);
    color: var(--text-moderate);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.card-optimal {
    background: var(--bg-optimal);
    color: var(--text-optimal);
}

.card-urgent,
.card-moderate,
.card-optimal {
    padding: 24px;
    border-radius: var(--radius-card);
    margin-bottom: 24px;
    /* Increased gap */
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    /* Subtle lift */
}

.card-urgent:hover,
.card-moderate:hover,
.card-optimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    /* Interactive lift */
}

/* Card plus large pour WOW breaks */
.card.wow-break {
    max-width: 750px;
    margin: 16px auto;
    padding: 28px;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ===== SCREENS ===== */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* ===== LANDING - APPLE INSPIRED ===== */
.landing-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-badge {
    display: inline-block;
    background: rgba(52, 199, 89, 0.1);
    color: var(--apple-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

/* Nouveau hero (2026-05-06 v2) : H1 émotionnel énorme, no césure laide */
.hero-question {
    font-size: 88px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.0;
    margin: 0 auto 20px auto;
    letter-spacing: -3.5px;
    max-width: 14ch;
    /* text-wrap: balance évite les wrap moches type "que / toi ?" */
    text-wrap: balance;
    /* Hyphens évite les césures dans les mots */
    hyphens: none;
    -webkit-hyphens: none;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.8px;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Hero occupe au moins 92vh pour pousser FAQ/sections sous la ligne de flottaison */
.landing-hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 48px;
}

@media (max-width: 1024px) {
    .hero-question {
        font-size: 68px;
        letter-spacing: -2.5px;
        max-width: 13ch;
    }
}

@media (max-width: 768px) {
    .hero-question {
        font-size: 48px;
        letter-spacing: -1.8px;
        max-width: 12ch;
    }
    .hero-eyebrow {
        font-size: 12px;
    }
    .landing-hero {
        min-height: 88vh;
    }
    .hero-cta {
        padding: 18px 36px;
        font-size: 16px;
        gap: 8px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-question {
        font-size: 38px;
        line-height: 1.05;
        letter-spacing: -1.4px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--apple-green) 0%, #00C853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -1px;
    white-space: nowrap; /* évite "3 / min" wrap mobile */
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.hero-cta {
    background: linear-gradient(135deg, var(--apple-green) 0%, #00C853 100%);
    color: #03210f;
    /* WCAG AA fix : texte sombre sur vert au lieu de blanc (2.24:1 → 7:1+).
       Cohérence avec le hero v6 dark qui utilise déjà --hv6-cta-text: #03210f. */
    border: none;
    padding: 20px 56px;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius-pill) !important;
    /* Force Pill */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center; /* garantit centrage horizontal du texte */
    gap: 12px;
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.35);
    letter-spacing: -0.2px;
    /* Pill compact, jamais full-width (parent .landing-hero est flex column,
       donc align-self: center pour shrink-to-content au lieu du stretch default) */
    width: auto !important;
    max-width: max-content !important;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(52, 199, 89, 0.45);
}

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

.cta-arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.hero-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    font-size: 16px;
}

.trust-text {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.hero-warning {
    margin-top: 40px;
    padding: 16px 24px;
    background: var(--bg-moderate);
    border-radius: var(--radius-card);
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.hero-warning strong {
    color: var(--apple-orange);
}

/* Legacy styles for backwards compatibility */
.landing {
    text-align: center;
}

h1 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hook {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFEDED 100%);
    border-left: 4px solid #FF4444;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 30px 0;
    font-weight: 600;
    color: #CC0000;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-pill) !important;
    /* Force Pill */
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 3, 36, 0.08);
    letter-spacing: -0.2px;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 3, 36, 0.10);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 3, 36, 0.06);
}

.btn-green {
    background: var(--accent-green);
    color: white;
    font-weight: 600;
}

.btn-green:hover {
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.3);
}

.btn-pulse {
    animation: pulse 2s infinite;
    background: var(--accent-green);
    color: white;
    font-weight: 600;
    padding: 20px 30px;
    font-size: 18px;
    border: none;
    border-radius: var(--radius-pill) !important;
    /* Force Pill */
    cursor: pointer;
    width: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.btn-pulse .subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    opacity: 0.9;
}

.btn-back {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--light-gray);
    padding: 12px 25px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-back:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* ===== QUESTIONS ===== */
.question-counter {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.question-text {
    font-size: 26px;
    color: var(--primary-blue);
    margin-bottom: 32px;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
    letter-spacing: -0.5px;
    /* Éviter les césures orphelines (? seul sur une ligne) */
    word-break: keep-all;
    overflow-wrap: break-word;
}

.question-subtitle {
    font-size: 15px;
    color: var(--text-light);
    text-align: center;
    margin-top: -20px;
    margin-bottom: 24px;
    font-weight: 400;
}

/* ===== OPTIONS ===== */
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.options-grid .option {
    padding: 14px 16px;
}

.option {
    background: rgba(0, 3, 36, 0.03);
    border: 1.5px solid rgba(0, 3, 36, 0.08);
    padding: 16px 20px;
    border-radius: 18px;
    /* Slightly less than card for nested items */
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    color: var(--primary-blue);
}

.option:hover {
    background: rgba(0, 3, 36, 0.06);
    border-color: rgba(0, 3, 36, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 3, 36, 0.08);
}

.option:active {
    transform: translateY(0);
}

.option.selected {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--accent-green);
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.3);
}

/* Animation de clic sur option */
.option-click-feedback {
    animation: optionClick 0.15s ease-out;
}

@keyframes optionClick {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.97);
    }

    100% {
        transform: scale(1);
    }
}

/* ===== WELLNESS PROFILE ===== */
.wellness-profile-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.wellness-card {
    background: var(--primary-blue);
    /* Dark blue background */
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 3, 36, 0.08);
    transition: transform 0.3s ease;
    color: #FFFFFF;
    /* White text */
}

.wellness-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 3, 36, 0.10);
    border-color: rgba(255, 255, 255, 0.2);
}

.wellness-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.wellness-icon {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.wellness-score {
    text-align: right;
}

.score-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

.wellness-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.wellness-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 20px;
}

.wellness-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wellness-tag {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ===== VISUAL OPTIONS ===== */
.visual-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.visual-option {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    border-radius: 20px;
    border: 2px solid rgba(0, 3, 36, 0.08);
    background: rgba(0, 3, 36, 0.02);
}

.visual-option:hover {
    transform: translateY(-4px);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 32px rgba(0, 3, 36, 0.12);
    background: white;
}

.visual-option:active {
    transform: translateY(-2px);
}

.visual-option.selected {
    border-color: var(--accent-green);
    background: white;
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.25);
}

.visual-option.selected img {
    border-color: var(--accent-green);
}

.visual-option.selected .label {
    color: var(--accent-green);
}

.visual-option img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid rgba(0, 3, 36, 0.06);
}

.visual-option .label {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: -0.3px;
}

/* ===== INPUTS ===== */
.input-group {
    display: flex;
    gap: 16px;
    margin: 32px 0;
}

.input-wrapper {
    flex: 1;
}

.input-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid rgba(0, 3, 36, 0.12);
    border-radius: var(--radius-card) !important;
    /* Force Squircle */
    font-size: 17px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 3, 36, 0.02);
    color: var(--primary-blue);
}

.input-field::placeholder {
    color: rgba(0, 3, 36, 0.35);
    font-weight: 400;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 3, 36, 0.08);
}

.input-single {
    max-width: 220px;
    margin: 32px auto;
}

/* ===== MULTI-SELECT ===== */
.multi-select-info {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.multi-select-count {
    color: var(--accent-green);
    font-weight: 600;
}

/* ===== WOW BREAKS - IMPACTFUL DESIGN ===== */
.wow-break {
    background: linear-gradient(135deg, #000324 0%, #001040 100%);
    /* Ora Life brand blue gradient - harmonisé */
    border: none;
    position: relative;
    overflow: hidden;
    padding: 24px 24px;
    color: #FFFFFF;
    /* Pas de max-height/overflow-y pour éviter scrollbar */
}

.wow-skip-btn {
    display: none;
    /* Caché - on utilise le CTA CONTINUER à la place */
}

.wow-break::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.08) 0%, transparent 50%);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

/* IMPORTANT: Bouton doit être cliquable au-dessus de l'animation */
.wow-break .btn-primary {
    position: relative;
    z-index: 10;
    background: var(--accent-green);
    /* Apple green CTA on dark background */
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.35);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.wow-break .btn-primary:hover {
    background: #00B84A;
    /* Slightly darker on hover */
    box-shadow: 0 8px 28px rgba(0, 200, 83, 0.45);
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.wow-header {
    text-align: center;
    margin-bottom: 12px;
    /* Réduit pour desktop compactness */
    position: relative;
    z-index: 1;
}

.wow-icon {
    font-size: 36px;
    /* Réduit de 56px → 40px → 36px */
    margin-bottom: 8px;
    /* Réduit de 20px → 12px → 8px */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.wow-title {
    font-size: 22px;
    /* Réduit de 32px → 24px → 22px */
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    /* Réduit de 16px → 12px → 8px */
    letter-spacing: -0.5px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.study-badge {
    display: inline-block;
    background: rgba(0, 200, 83, 0.15);
    /* Apple pastel green - subtle on dark */
    color: var(--accent-green);
    padding: 5px 12px;
    border-radius: var(--radius-inner);
    /* 16px Apple rounded */
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 83, 0.25);
}

.wow-stat {
    font-size: 32px;
    /* Réduit de 48px → 36px → 32px */
    font-weight: 900;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin: 12px 0;
    /* Réduit de 28px */
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.wow-highlight {
    text-align: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0;
    /* Réduit de 24px → 16px → 12px */
    font-size: 15px;
    /* Réduit de 19px → 16px → 15px */
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.wow-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.wow-stats {
    background: transparent;
    border-radius: 0;
    padding: 12px 0;
    margin: 12px 0;
    border: none;
    text-align: center;
}

.wow-stats ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.wow-stats li {
    padding: 8px 0;
    padding-left: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
    position: relative;
}

/* Checkmarks désactivés par défaut (stats = faits, pas actions validées) */
.wow-stats li::before {
    content: "";
    position: absolute;
    left: 0;
}

/* Classe explicite pour checkmarks si nécessaire */
.wow-stats.with-checkmarks li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: 700;
    font-size: 14px;
}

.wow-stats li:last-child {
    border-bottom: none;
}

.wow-comparison {
    background: rgba(0, 200, 83, 0.15);
    padding: 14px;
    border-radius: 14px;
    margin: 16px 0;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--apple-green);
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.wow-source {
    font-size: 10px;
    color: var(--accent-green);
    text-align: center;
    margin: 12px auto 16px;
    padding: 6px 14px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: var(--radius-inner);
    border: 1px solid rgba(0, 200, 83, 0.2);
    display: block;
    width: fit-content;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* VO2max Chart Styles */
.vo2max-chart-container {
    margin: 24px 0;
    padding: 20px;
    /* Pas de background - transparent */
    border-radius: 16px;
}

.chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #E5E5E7;
    /* FIX: Cohérence avec autres sections */
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #FFFFFF;
    /* FIX CRITIQUE: Blanc pur pour max visibilité sur fond bleu */
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Special pour le WOW 7% / 93% */
.wow-percentage-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 32px 0;
    position: relative;
    z-index: 1;
}

.percentage-block {
    text-align: center;
}

.percentage-number {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.percentage-number.green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.percentage-number.gray {
    color: rgba(255, 255, 255, 0.4);
}

.percentage-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-weight: 600;
}

/* ===== WOW BREAKS - DESKTOP COMPACT ===== */
@media (min-width: 769px) {
    .card.wow-break {
        padding: 24px 28px;
    }

    .wow-break {
        padding: 20px 24px;
    }

    .wow-header {
        margin-bottom: 8px;
    }

    .wow-icon {
        font-size: 32px;
        margin-bottom: 6px;
    }

    .wow-title {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .wow-stat {
        font-size: 30px;
        margin: 8px 0;
    }

    .wow-highlight {
        margin: 8px 0;
        font-size: 15px;
    }

    .wow-stats {
        padding: 8px 0;
        margin: 8px 0;
    }

    .wow-stats li {
        padding: 6px 0;
        padding-left: 24px;
    }

    .wow-comparison {
        padding: 12px;
        margin: 12px 0;
    }

    .wow-source {
        margin: 8px auto 12px;
        padding: 5px 12px;
    }

    .wow-percentage-display {
        margin: 20px 0;
    }

    .study-badge {
        margin-bottom: 8px;
    }
}

/* ===== IMC DISPLAY ===== */
.imc-display {
    animation: slideIn 0.3s ease-out;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 24px;
}

.imc-container {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 15px;
    width: 100%;
}

.imc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.imc-label {
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
}

.imc-value {
    font-size: 24px;
    font-weight: 900;
    color: #000324;
}

.imc-bar-container {
    position: relative;
    height: 8px;
    background: linear-gradient(to right,
            #3498db 0%,
            #2ecc71 18.5%,
            #2ecc71 25%,
            #f39c12 25%,
            #f39c12 30%,
            #e74c3c 30%,
            #e74c3c 100%);
    border-radius: 4px;
    margin-bottom: 15px;
}

.imc-indicator {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
}

.imc-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #000324;
}

.imc-status {
    text-align: center;
}

.imc-status-text {
    font-size: 14px;
    font-weight: 600;
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-context {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    font-style: italic;
}

.form-input {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid rgba(0, 3, 36, 0.12);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 3, 36, 0.02);
    color: var(--primary-blue);
}

.form-input::placeholder {
    color: rgba(0, 3, 36, 0.35);
    font-weight: 400;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 3, 36, 0.08);
}

/* ===== PHONE INPUT WITH COUNTRY SELECTOR ===== */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1.5px solid rgba(0, 3, 36, 0.12);
    border-radius: 14px;
    background: rgba(0, 3, 36, 0.02);
    transition: all 0.2s ease;
    overflow: visible;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 3, 36, 0.08);
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 12px 16px 16px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(0, 3, 36, 0.08);
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.country-selector:hover {
    background: rgba(0, 3, 36, 0.04);
}

.country-flag {
    font-size: 20px;
    line-height: 1;
}

.country-code {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 38px;
}

.dropdown-arrow {
    color: rgba(0, 3, 36, 0.4);
    transition: transform 0.2s ease;
}

.country-selector[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.phone-input {
    flex: 1;
    padding: 16px 18px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    min-width: 0;
}

.phone-input::placeholder {
    color: rgba(0, 3, 36, 0.35);
}

.phone-input:focus {
    outline: none;
}

/* Country Dropdown */
.country-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow:
        0 4px 24px rgba(0, 3, 36, 0.12),
        0 0 0 1px rgba(0, 3, 36, 0.06);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.country-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-search-wrapper {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 3, 36, 0.06);
    flex-shrink: 0;
}

.country-search {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(0, 3, 36, 0.1);
    border-radius: 10px;
    font-size: 14px;
    background: rgba(0, 3, 36, 0.02);
    transition: all 0.15s ease;
}

.country-search:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
}

.country-search::placeholder {
    color: rgba(0, 3, 36, 0.4);
}

.country-list {
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1;
    padding: 8px;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.12s ease;
}

.country-option:hover {
    background: rgba(0, 3, 36, 0.04);
}

.country-option.selected {
    background: rgba(0, 3, 36, 0.06);
}

.country-option-flag {
    font-size: 22px;
    line-height: 1;
}

.country-option-info {
    flex: 1;
    min-width: 0;
}

.country-option-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-option-code {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 3, 36, 0.5);
    flex-shrink: 0;
}

.country-divider {
    height: 1px;
    background: rgba(0, 3, 36, 0.06);
    margin: 8px 14px;
}

.country-section-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 3, 36, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px 4px;
}

/* Mobile optimization */
@media (max-width: 480px) {
    .country-dropdown {
        max-height: 280px;
    }

    .country-code {
        font-size: 14px;
        min-width: 36px;
    }

    .country-selector {
        padding: 14px 10px 14px 14px;
        gap: 4px;
    }

    .phone-input {
        padding: 14px 16px;
    }
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.5;
}

/* ===== LOADING ===== */
.loading-card {
    text-align: center;
    padding: 80px 40px;
}

.loading-card h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.loading-text {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 400;
}

.loading-animation {
    margin-bottom: 40px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0, 3, 36, 0.08);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 10px;
}

/* ===== RESULTS - APPLE DASHBOARD STYLE ===== */
.results-card {
    padding: 0;
    /* Remove padding - no wrapper */
    max-width: none;
    /* Remove max-width - let modules control their own width */
    margin: 0;
    background: transparent;
    /* No background - modules float on body gray */
    box-shadow: none;
    border-radius: 0;
    border: none;
}

.results-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding: 0 20px;
}

/* ===== CARD MODULE SYSTEM (Independent White Cards) ===== */
.card-module {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    /* 32px */
    padding: var(--padding-card);
    /* 48px */
    margin: var(--gap-sections) auto;
    /* 40px vertical */
    max-width: var(--max-width);
    /* 800px */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Score Card with Activity Ring */
.score-card {
    text-align: center;
}

/* Apple-style badges */
.result-badge,
.section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    /* Plus d'air Apple */
}

.result-badge {
    background: rgba(0, 200, 83, 0.12);
    color: #00C853;
}

.result-badge.badge-urgent {
    background: rgba(255, 59, 48, 0.12);
    color: #FF3B30;
}

.result-badge.badge-medium {
    background: rgba(255, 149, 0, 0.12);
    color: #FF9500;
}

.result-badge.badge-elite {
    background: rgba(0, 200, 83, 0.12);
    color: #00C853;
}

.section-badge {
    background: rgba(142, 142, 147, 0.12);
    color: #8E8E93;
}

.results-title {
    font-size: 28px;
    font-weight: 700;
    color: #1D1D1F;
    margin: 0 0 32px 0;
}

.score-ring-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 24px;
}

.activity-ring {
    /* Clean Apple style - no glow/halo on track */
    filter: none;
}

.score-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-size: 64px;
    font-weight: 700;
    color: #1D1D1F;
    line-height: 1;
    letter-spacing: -2px;
}

.score-label {
    font-size: 13px;
    color: #6E6E73;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 500;
}

.score-description {
    font-size: 15px;
    color: #1D1D1F;
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.age-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 32px auto;
    max-width: 550px;
    background: #F5F5F7;
    /* Light gray container like email */
    padding: 24px;
    border-radius: 16px;
    /* More open radius */
}

.age-box {
    text-align: center;
    padding: 20px;
    /* More space */
    border-radius: var(--radius-inner);
    /* 12px */
    background: transparent;
    min-width: 150px;
    box-shadow: none;
    border: none;
    flex: 1;
}

.age-box.highlight {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Couleur dynamique appliquée via JS */
.age-value.color-green {
    color: #00C853 !important;
}
.age-value.color-orange {
    color: #FF9500 !important;
}
.age-value.color-red {
    color: #FF3B30 !important;
}

.age-label {
    font-size: 12px;
    color: var(--apple-gray);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.age-value {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.age-arrow {
    font-size: 28px;
    color: var(--apple-gray);
    opacity: 0.6;
}

.age-message {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px auto 32px;
    max-width: var(--max-width);
    padding: 20px 24px;
    background: #FFFFFF;
    border-radius: var(--radius-card);
    /* 20px Apple */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: none;
    /* Apple Clean - pas de bordure */
    line-height: 1.5;
}

/* Couleurs dynamiques pour age-message - texte coloré seulement */
.age-message.theme-elite {
    color: var(--apple-green);
    background: #FFFFFF;
}

.age-message.theme-medium {
    color: var(--apple-orange);
    background: #FFFFFF;
}

.age-message.theme-urgent {
    color: var(--apple-red);
    background: #FFFFFF;
}

.estimation-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin: 0 auto 32px;
    max-width: var(--max-width);
    padding: 0 24px;
    line-height: 1.5;
}

.estimation-note strong {
    color: var(--text-dark);
    /* Gras seulement, pas vert */
    font-weight: 600;
}

.risk-analysis {
    background: #FFFFFF;
    padding: 28px;
    margin: 20px auto;
    max-width: var(--max-width);
    border-radius: var(--radius-card);
    /* 20px Apple */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: none;
}

.risk-analysis h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.risk-level,
.trend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 16px;
}

.risk-level:last-child,
.trend:last-child {
    border-bottom: none;
}

.risk-level span,
.trend span {
    font-size: 15px;
    color: var(--apple-gray);
    font-weight: 500;
    flex-shrink: 0;
}

.risk-level strong,
.trend strong {
    font-size: 17px;
    font-weight: 600;
    /* Couleur dynamique via JS selon profil */
    text-align: right;
}

.projection {
    margin: 24px auto;
    max-width: var(--max-width);
    background: #FFFFFF;
    padding: 28px 24px;
    border-radius: var(--radius-card);
    /* 20px Apple */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: none;
    /* Apple style: pas de bordure, carte blanche pure */
}

.projection h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--apple-orange);
    /* Juste le titre en couleur */
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.projection ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.projection li {
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
    border-radius: var(--radius-inner);
    /* 16px Apple */
    margin-bottom: 8px;
    background: #F5F5F7;
    /* iOS gray - comme Apple Health */
    border: none;
}

.projection li:last-child {
    margin-bottom: 0;
}

/* Message dynamique container - Apple Clean style */
.dynamic-message {
    margin: 24px auto !important;
    max-width: var(--max-width) !important;
    padding: 20px 24px !important;
    border-radius: var(--radius-card) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    border: none !important;
    background: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

/* Couleurs dynamiques - juste le texte coloré comme Apple */
.dynamic-message.theme-elite {
    background: #FFFFFF !important;
    color: var(--apple-green);
}
.dynamic-message.theme-medium {
    background: #FFFFFF !important;
    color: var(--apple-orange);
}
.dynamic-message.theme-urgent {
    background: #FFFFFF !important;
    color: var(--apple-red);
}

/* ===== PRIORITY CARDS (ACTION-IMPACT FRAMEWORK) ===== */
.priority-card {
    padding: 20px;
    /* Match email padding */
    border-radius: var(--radius-inner);
    /* 12px for inner elements */
    margin-bottom: 12px;
    box-shadow: none;
    /* Flat design like email */
    border: none !important;
    /* Remove all borders */
    transition: transform 0.2s ease;
}

.priority-card:hover {
    transform: translateY(-1px);
}

.priority-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.priority-number {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    /* Apple rounded square, pas cercle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.priority-header h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.priority-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.priority-score {
    opacity: 0.8;
}

.priority-impact {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 10px;
    text-transform: uppercase;
}

/* ===== CTA SECTION - APPLE EXCELLENCE ===== */
.cta-section {
    margin: 24px auto;
    max-width: var(--max-width);
    text-align: center;
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: var(--radius-card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #1D1D1F;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.cta-subtitle {
    font-size: 15px;
    color: #6E6E73;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.btn-cta-apple {
    background: #00C853;
    color: #03210f;
    /* WCAG AA fix : texte sombre sur vert (ratio >= 7:1) au lieu de blanc (2.24:1). */
    border: none;
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 24px;
    /* Apple pill style */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.35);
    letter-spacing: -0.2px;
}

.btn-cta-apple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 200, 83, 0.45);
    background: #00B84A;
}

.btn-cta-apple:active {
    transform: translateY(0);
}

/* Micro-CTA NHB+ (Sultanic) - ligne "Parce que..." sous les boutons */
.micro-cta {
    font-size: 14px;
    color: #6E6E73;
    text-align: center;
    margin: 8px 0 0 0;
    font-style: italic;
    line-height: 1.4;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 13px;
    color: #6E6E73;
    font-weight: 500;
}

/* Legacy - keep for fallback */
.btn-pulse {
    background: #00C853;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.2px;
    animation: none;
}

.btn-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 200, 83, 0.4);
    background: #00B84A;
}

.btn-pulse:active {
    transform: translateY(0);
}

.btn-pulse .subtitle {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

.testimonial {
    background: #F5F5F7;
    padding: 20px 24px;
    border-radius: var(--radius-inner);
    /* 16px Apple */
    margin: 20px auto;
    max-width: 100%;
    box-shadow: none;
    border: none;
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 14px;
    color: var(--apple-gray);
    font-weight: 500;
}

.guarantee {
    text-align: center;
    font-size: 14px;
    color: var(--apple-gray);
    margin-top: 20px;
    font-weight: 500;
}

.email-sent {
    text-align: center;
    font-size: 14px;
    color: var(--apple-gray);
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Disclaimer médical — bas de page résultats */
.medical-disclaimer {
    max-width: var(--max-width);
    margin: 32px auto 0;
    padding: 16px 20px;
    text-align: center;
}

.medical-disclaimer p {
    font-size: 11px;
    color: #9CA3AF;
    line-height: 1.5;
    margin: 0;
}

/* ===== MULTI-SELECT AVEC CHECKBOX ===== */
.multi-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 12px 16px !important;
}

.checkbox-icon {
    font-size: 20px;
    color: var(--text-light);
    transition: all 0.3s ease;
    min-width: 24px;
    pointer-events: none;
    /* FIX: permet clic sur toute la zone */
}

.multi-option.selected .checkbox-icon {
    color: var(--accent-green);
    font-weight: bold;
}

.option-text {
    flex: 1;
    pointer-events: none;
    /* FIX: permet clic sur toute la zone */
}

/* ===== FIX DOUBLE CLICK ===== */
.option {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.option:active {
    transform: scale(0.98);
}

@media (max-width: 640px) {
    .card {
        padding: 20px;
        animation: none;
        /* Désactive animation sur mobile pour éviter glitchs */
    }

    .card.wow-break {
        padding: 20px;
    }

    .visual-options {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .question-text {
        font-size: 20px;
    }

    .wow-title {
        font-size: 20px;
    }

    .wow-stat {
        font-size: 28px;
    }

    .vo2max-chart-container {
        padding: 16px 12px;
    }

    .chart-title {
        font-size: 14px;
    }

    .legend-item {
        font-size: 11px;
    }

    .visual-option img {
        width: 80px;
        height: 80px;
    }

    .age-comparison {
        flex-direction: column;
    }

    .age-arrow {
        transform: rotate(90deg);
    }
}

/* ============================================
   MICRO-VALIDATIONS
   ============================================ */
.micro-validation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 3, 36, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.micro-validation-overlay.show {
    opacity: 1;
}

.micro-validation-card {
    background: linear-gradient(135deg, #0a1628 0%, #000324 100%);
    border: 2px solid var(--accent-green);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: microPop 0.5s ease;
    box-shadow: 0 0 60px rgba(1, 255, 0, 0.3);
    position: relative;
}

/* Bouton "Suivant →" — en bas de la card, sous le timer */
.micro-validation-skip {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.micro-validation-skip:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
}

@keyframes microPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.micro-validation-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

/* Image personnalisée profil (remplace emoji) */
.micro-validation-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: iconPulse 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes iconPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.micro-validation-message {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.micro-validation-percentile {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.micro-validation-context,
.micro-validation-opportunity,
.micro-validation-hope,
.micro-validation-note,
.micro-validation-priority {
    font-size: 14px;
    color: #A0A0A3;
    margin: 8px 0;
    line-height: 1.4;
}

.micro-validation-source {
    font-size: 11px;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

.micro-validation-timer {
    margin-top: 25px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.timer-bar {
    height: 100%;
    background: var(--accent-green);
    animation: timerShrink 12s linear forwards;
}

@keyframes timerShrink {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* ============================================
   WOW BREAKS - NOUVEAUX ELEMENTS
   ============================================ */
.wow-life-expectancy {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.life-expectancy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.life-expectancy-row:last-child {
    border-bottom: none;
}

.life-expectancy-row .years {
    font-weight: 700;
    color: var(--accent-green);
}

.wow-screen-time {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
}

.wow-screen-time div {
    margin: 8px 0;
    color: #E5E5E7;
}

.wow-screen-time .total {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    font-size: 18px;
}

.wow-screen-time strong {
    color: #FF6B35;
}

.wow-calculation {
    background: linear-gradient(135deg, rgba(1, 255, 0, 0.1) 0%, rgba(1, 255, 0, 0.05) 100%);
    border: 1px solid rgba(1, 255, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.calc-title {
    font-size: 14px;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 10px;
}

.calc-math {
    font-size: 12px;
    color: #A0A0A3;
    margin-bottom: 10px;
}

.calc-result {
    font-size: 24px;
    font-weight: 900;
    color: #FF6B35;
}

.wow-perspective {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-green);
    text-align: center;
    margin: 15px 0;
}

.wow-reframe {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.reframe-question {
    font-size: 16px;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 15px;
}

.reframe-promise {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.reframe-roi {
    font-size: 14px;
    color: #A0A0A3;
}

.wow-curve,
.wow-sweetspot {
    font-size: 16px;
    font-weight: 600;
    color: #FF6B35;
    text-align: center;
    margin: 10px 0;
}

.wow-sweetspot {
    color: var(--accent-green);
}

.wow-problem {
    font-size: 14px;
    color: #FF6B35;
    text-align: center;
    margin: 15px 0;
    font-style: italic;
}

/* ============================================
   TABLEAU TRANSFORMATION (Page Résultats) - APPLE STYLE
   ============================================ */
.transformation-table {
    background: #FFFFFF;
    border: none;
    border-radius: var(--radius-card);
    /* 20px Apple */
    padding: 28px;
    margin: 20px auto;
    max-width: var(--max-width);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.table-title {
    color: var(--primary-blue);
    /* #000324 - Ora Life dark blue */
    font-size: 22px;
    font-weight: 700;
    /* Plus gras pour impact visuel */
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    /* Tracking positif pour majuscules */
    margin-top: 8px;
    /* Marge au-dessus du titre (demande user) */
}

.table-subtitle {
    color: var(--text-light);
    /* #86868B - Contraste amélioré */
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
    /* Plus d'espace avant la grille */
    font-weight: 500;
}

.comparison-grid {
    width: 100%;
}

.grid-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
}

.indicator-label,
.now-label,
.future-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    /* Gris subtil Apple - headers discrets */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 16px 14px;
    border-bottom: none;
    background: #F5F5F7;
    /* iOS light gray - cohérent */
    border-radius: var(--radius-inner);
    /* 16px Apple */
    margin-bottom: 8px;
    transition: all 0.15s ease;
}

.grid-row:hover {
    background: #EBEBED;
    /* Subtil hover Apple - pas de shadow */
}

.grid-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    /* Pas de margin sur dernière row */
}

.indicator {
    font-size: 15px;
    font-weight: 600;
    /* Plus affirmé */
    color: var(--primary-blue);
    /* #000324 - Cohérent avec brand */
}

.now-value,
.future-value {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.now-value {
    color: var(--text-dark);
    /* Neutre - pas de dramatisation */
}

.now-value.bad {
    color: var(--text-dark);
    /* Même neutre - Apple ne surcharge pas de rouge */
}

.future-value.good {
    color: var(--accent-green);
    /* Vert Apple - seule couleur d'accent */
    font-weight: 700;
}

/* Sub-detail sourcé sous le label projection (Énergie + Risque maladies) */
.future-detail {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #6E6E73;
    margin-top: 4px;
    line-height: 1.35;
    letter-spacing: -0.1px;
}

.table-note {
    font-size: 13px;
    color: var(--apple-gray);
    text-align: center;
    margin-top: 20px;
    font-style: normal;
}

/* ============================================
   SECTION PRIORITÉS - APPLE STYLE
   ============================================ */
.priorities-section {
    background: #FFFFFF;
    border: none;
    border-radius: 20px !important;
    /* 20px Apple - FORCÉ identique à projection */
    padding: 28px 24px;
    margin: 20px auto;
    max-width: var(--max-width);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.priorities-section h3 {
    color: var(--text-dark);
    font-size: 18px;
    /* Smaller like email */
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.priorities-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.priority-item {
    background: #F5F5F7;
    /* iOS gray - comme email items */
    border-radius: var(--radius-inner);
    /* 16px Apple */
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: none;
}

.priority-number {
    background: var(--gradient-dark);
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    /* Apple rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.priority-content {
    flex: 1;
}

.priority-factor {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.priority-score {
    font-size: 14px;
    color: var(--apple-gray);
    font-weight: 400;
}

.priority-impact {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 8px;
}

.priority-impact.critique {
    background: rgba(255, 59, 48, 0.1);
    color: var(--apple-red);
}

.priority-impact.eleve {
    background: rgba(255, 149, 0, 0.1);
    color: var(--apple-orange);
}

.priority-impact.modere {
    background: rgba(52, 199, 89, 0.1);
    color: var(--apple-green);
}

.priority-impact.excellent {
    background: rgba(52, 199, 89, 0.2);
    color: var(--apple-green);
    border: 1px solid var(--apple-green);
}

/* ============================================
   MESSAGE PERSONNALISÉ (style BetterMe)
   ============================================ */
.personalized-message {
    text-align: center;
    padding: 48px 32px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FFF8 100%);
    border: 2px solid var(--accent-green) !important;
}

.message-icon {
    font-size: 64px;
    margin-bottom: 24px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.message-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.message-subtitle {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.85;
}

.message-stats {
    background: rgba(0, 3, 36, 0.03);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.stat-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number-big {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1;
}

.stat-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.btn-continue {
    animation: pulse 2s infinite;
}

/* ============================================
   LAYOUT ÉPIPHANIE (Split-screen BetterMe style)
   ============================================ */

.epiphany-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-blue);
    z-index: 1000;
    overflow-y: auto;
}

.epiphany-container {
    display: grid;
    grid-template-columns: 50% 50%;
    /* P0-2 FIX: Balance équilibrée texte/graphique */
    min-height: 100vh;
    max-width: 1600px;
    /* Plus large pour desktop */
    margin: 0 auto;
    gap: 0;
    /* Pas de gap pour utiliser tout l'espace */
}

.epiphany-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px;
    /* P0-2: Plus d'espace pour le texte */
    background: var(--primary-blue);
    border-radius: 24px;
    /* Carte 24px */
}

.epiphany-icon {
    display: none;
    /* Masqué comme demandé par l'utilisateur */
    font-size: 64px;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.epiphany-title {
    font-size: 32px;
    /* Réduit de 36px pour meilleur fit desktop */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    /* Réduit de 24px */
    color: #FFFFFF;
    letter-spacing: -1px;
    animation: fadeInLeft 0.6s ease 0.1s both;
}

.epiphany-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    opacity: 0.9;
    animation: fadeInLeft 0.6s ease 0.2s both;
}

.epiphany-stat {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fadeInLeft 0.6s ease 0.3s both;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.epiphany-message {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    animation: fadeInLeft 0.6s ease 0.4s both;
}

.epiphany-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    animation: fadeInLeft 0.6s ease 0.5s both;
}

.epiphany-stats li {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.epiphany-stats li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.epiphany-source {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 32px;
    animation: fadeInLeft 0.6s ease 0.6s both;
}

.btn-epiphany {
    background: #39FF14;
    /* Vert Fluo */
    color: #000324;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 32px;
    border: none;
    border-radius: 9999px;
    /* Pill */
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
    animation: fadeInUp 0.4s ease 0.3s both;
    box-shadow: 0 8px 24px rgba(57, 255, 20, 0.3);
}

.btn-epiphany:hover {
    background: #32E012;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(57, 255, 20, 0.4);
}

.btn-epiphany:active {
    transform: translateY(0);
}

.epiphany-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    /* P0-2: Optimisé pour graphique avec balance 50/50 */
    background: transparent;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.epiphany-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

/* Silhouettes Container */
.silhouettes-container {
    width: 100%;
    max-width: 600px;
}

.silhouettes-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.silhouettes-caption {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 24px;
    font-style: italic;
}

/* VO2max Chart Container */
.vo2max-chart-container {
    width: 100%;
    max-width: 100%;
}

.chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #E5E5E7;
    /* Apple System Light Gray - lisible sur dark blue */
    margin-bottom: 16px;
    text-align: center;
}

.vo2max-chart-container svg {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* Responsive fix pour DevTools */
}

/* Chart Legend - FIX P0: Texte ILLISIBLE gray sur dark blue */
.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #FFFFFF;
    /* FIX CRITIQUE: Blanc pur pour max visibilité sur fond bleu */
    font-weight: 500;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Mobile */
@media (max-width: 1024px) {
    .epiphany-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .epiphany-right {
        order: -1;
        /* Visuel en haut sur mobile */
        padding: 32px 20px;
        min-height: 35vh;
    }

    .epiphany-left {
        padding: 32px 20px 48px;
    }

    .epiphany-title {
        font-size: 28px;
    }

    .epiphany-stat {
        font-size: 18px;
    }

    .epiphany-message {
        font-size: 16px;
    }

    .btn-epiphany {
        width: 100%;
        padding: 16px;
    }

    /* VO2max Chart Responsive - Fix DevTools/narrow viewport */
    .vo2max-chart-container svg {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .chart-legend {
        font-size: 12px;
    }

    .legend-item {
        font-size: 12px;
    }
}

/* Responsive for VERY narrow viewports (DevTools open) */
@media (max-width: 768px) {
    .epiphany-container {
        grid-template-columns: 1fr;
    }

    .vo2max-chart-container {
        padding: 0 10px;
    }

    .vo2max-chart-container svg {
        max-width: 100%;
        width: 100%;
        overflow: visible;
    }
}

/* Responsive iPhone SE et petits écrans */
@media (max-width: 640px) {
    .epiphany-title {
        font-size: 24px;
    }

    .epiphany-stat {
        font-size: 16px;
    }

    .epiphany-message {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .epiphany-stats {
        margin: 0 0 24px 0;
    }

    .epiphany-stats li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .epiphany-source {
        margin-bottom: 24px;
        padding: 10px 12px;
    }

    .epiphany-right {
        padding: 24px 16px;
        min-height: 30vh;
    }

    .epiphany-left {
        padding: 24px 16px 40px;
    }

    .vo2max-chart-container svg {
        max-width: 100%;
    }

    .chart-legend {
        font-size: 11px;
        padding: 10px;
    }

    .legend-item {
        font-size: 11px;
    }
}

/* Epiphany/WOW - Small mobile (iPhone SE, etc.) */
@media (max-width: 480px) {
    .epiphany-right {
        padding: 16px 12px;
        min-height: auto;
    }

    .epiphany-left {
        padding: 16px 12px 32px;
    }

    .epiphany-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .epiphany-badge {
        margin-bottom: 16px;
    }

    .epiphany-stat {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .epiphany-message {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .epiphany-stats {
        margin: 0 0 16px 0;
    }

    .epiphany-stats li {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 6px;
        padding-left: 20px;
    }

    .epiphany-source {
        font-size: 11px;
        margin-bottom: 20px;
        padding: 8px 10px;
    }

    .btn-epiphany {
        padding: 14px 24px;
        font-size: 14px;
    }

    .vo2max-chart-container {
        padding: 0 4px;
    }

    .vo2max-chart-container svg {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .chart-legend {
        padding: 8px;
        gap: 6px;
        border-radius: 10px;
    }

    .chart-title {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .legend-item {
        font-size: 11px;
        gap: 8px;
    }

    .legend-item strong {
        font-size: 12px;
    }

    /* WOW break general padding */
    .card.wow-break {
        padding: 16px 12px;
    }

    .wow-break {
        padding: 16px 12px;
    }

    .wow-content {
        padding: 0;
    }

    .wow-title {
        font-size: 18px;
    }

    .wow-stat {
        font-size: 24px;
        margin: 6px 0;
    }

    .wow-stats li {
        font-size: 14px;
        padding: 6px 0;
        padding-left: 20px;
    }

    .silhouettes-caption {
        font-size: 12px;
        margin-top: 16px;
    }

    .transformation-section {
        margin-top: 24px;
        padding: 20px 16px;
    }

    .transformation-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

/* ============================================================================
   WELLNESS PROFILE SCREEN (avant email capture)
   ============================================================================ */

.wellness-profile-screen {
    width: 100%;
    min-height: auto;
    background: #F2F2F7;
    /* Padding réduit 2026-04-28 : avant 100px → forçait à scroller pour voir le bouton */
    padding: 32px 20px 60px;
}

.wellness-profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 12px;
    background: transparent;
}

/* Header — margin-bottom réduit (60px → 24px) pour compacter */
.wellness-header {
    display: block;
    text-align: center;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease both;
}

.wellness-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.wellness-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    /* Bleu foncé sur fond clair */
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.wellness-subtitle {
    font-size: 16px;
    color: rgba(0, 3, 36, 0.7);
    /* P2-8 APPLE DESIGN: Contraste amélioré (0.6 → 0.7) */
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

/* Metrics */
.wellness-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.wellness-metric {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #FFFFFF;
    /* iOS White Card */
    border-radius: 16px;
    /* Match email */
    margin-bottom: 16px;
    /* Reduced gap for iOS grouped style */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    /* Minimal shadow like iOS */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    border: none;
}

.wellness-metric .metric-icon {
    font-size: 28px;
    margin-right: 16px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-neutral);
    border-radius: 12px;
}

.wellness-metric .metric-content {
    flex: 1;
}

.wellness-metric .metric-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 600;
}

.wellness-metric .metric-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    /* Color will be set inline by JS */
}

.metric-bar {
    height: 8px;
    background: var(--bg-neutral);
    /* Visible track */
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
    width: 100%;
    /* Ensure full width */
}

.metric-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease 0.3s;
    animation: progressFill 1s ease forwards;
}

@keyframes progressFill {
    from {
        width: 0 !important;
    }
}

/* Message */
.wellness-message {
    text-align: center;
    margin-bottom: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.75);
    /* P2-8 APPLE DESIGN: Plus opaque (0.65 → 0.75) */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    /* P2-7 FIX: Même blur que metrics */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* Safari support */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    /* P2-7 FIX: Shadow Apple */
    animation: fadeIn 0.8s ease 0.6s both;
}

.wellness-message p {
    font-size: 16px;
    color: rgba(0, 3, 36, 0.8);
    /* P2-8 APPLE DESIGN: Contraste optimal WCAG AA (0.7 → 0.8) */
    line-height: 1.6;
    margin-bottom: 12px;
}

.wellness-message p:last-child {
    margin-bottom: 0;
}

.wellness-message strong {
    color: var(--accent-green);
    font-weight: 700;
}

/* Button */
.btn-wellness {
    width: 100%;
    background: var(--accent-green);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    /* P2-7 FIX: Plus léger Apple-style */
    padding: 20px 40px;
    border: none;
    border-radius: 16px;
    /* P2-7 FIX: Plus arrondi iOS */
    cursor: pointer;
    transition: all 0.3s ease;
    /* text-transform: uppercase; */
    /* P2-7 FIX: SUPPRIMÉ - anti-pattern Apple */
    letter-spacing: 0.5px;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.btn-wellness:hover {
    background: #2DB24D;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.3);
}

.btn-wellness:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .wellness-profile-screen {
        padding: 80px 16px 32px;
    }

    .wellness-title {
        font-size: 24px;
    }

    .wellness-subtitle {
        font-size: 14px;
    }

    .wellness-icon {
        font-size: 48px;
    }

    .wellness-metric {
        padding: 20px;
        gap: 16px;
    }

    .metric-icon {
        font-size: 40px;
    }

    .metric-value {
        font-size: 20px;
    }

    .wellness-message {
        padding: 24px;
    }

    .wellness-message p {
        font-size: 14px;
    }

    .btn-wellness {
        font-size: 16px;
        padding: 16px 32px;
    }
}

/* ============================================================================
   VISUAL QUESTION FULLSCREEN (Système séparé comme wellness-profile)
   Layout côte à côte Apple-style, toute la largeur
   ============================================================================ */

#visual-question-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
    z-index: 999;
    overflow-y: auto;
}

.visual-split-screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 40px;
}

.visual-split-content {
    display: flex;
    flex-direction: row;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

.visual-split-left {
    flex: 1;
}

.visual-question-title {
    font-size: 42px;
    /* Plus imposant */
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    /* Réduit pour rapprocher du sous-titre */
    line-height: 1.1;
    letter-spacing: -1px;
    /* Plus serré = Apple */
    text-align: left;
}

.visual-question-sub {
    font-size: 17px;
    /* Légèrement plus grand */
    color: rgba(0, 3, 36, 0.55);
    margin-bottom: 48px;
    /* Plus d'espace avant options */
    line-height: 1.5;
    text-align: left;
    font-weight: 400;
}

.visual-split-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-split-image {
    width: 100%;
    height: auto;
    max-height: 65vh;
    border-radius: 28px;
    /* Plus arrondi */
    object-fit: cover;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    /* Bordure subtile */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.visual-split-image:hover {
    transform: scale(1.02);
    /* Légère élévation au hover */
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.10),
        0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Options dans visual split - APPLE PREMIUM STYLE */
.visual-split-left .options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Plus serré */
}

.visual-split-left .option {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 3, 36, 0.1) !important;
    border-radius: 16px !important;
    /* Plus arrondi */
    padding: 14px 20px !important;
    /* Compact but lisible */
    color: var(--primary-blue) !important;
    font-size: 18px !important;
    /* Plus gros */
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: left !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.visual-split-left .option:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(52, 199, 89, 0.4);
    transform: scale(1.02) translateY(-2px);
    /* Scale + translateY */
    box-shadow: 0 16px 40px rgba(52, 199, 89, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.visual-split-left .option.selected {
    background: linear-gradient(135deg, var(--apple-green) 0%, #30D158 100%) !important;
    /* Gradient */
    border-color: var(--apple-green) !important;
    color: white !important;
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 20px 50px rgba(52, 199, 89, 0.3), 0 8px 16px rgba(52, 199, 89, 0.2) !important;
    font-weight: 600 !important;
    /* Plus gras quand sélectionné */
}

/* FALLBACK: Si ancienne version avec .option-segment au lieu de .option */
.visual-split-left .option-segment,
#visual-question-fullscreen .option-segment,
body .option-segment {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 3, 36, 0.1) !important;
    border-radius: 16px !important;
    padding: 18px 24px !important;
    color: var(--primary-blue) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: left !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .visual-split-content {
        flex-direction: column;
        gap: 60px;
    }

    .visual-split-right {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .visual-question-title {
        font-size: 36px;
        text-align: center;
    }

    .visual-question-sub {
        text-align: center;
    }
}

#quiz-container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.screen.question-with-visual {
    width: 100% !important;
    min-height: 100vh !important;
    max-width: none !important;
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%) !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.visual-question-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 120px !important;
    max-width: 1400px !important;
    width: 100% !important;
    padding: 0 80px !important;
    margin: 0 auto !important;
    align-items: center !important;
}

.visual-question-left {
    flex: 1 !important;
    animation: fadeInLeft 0.6s ease both;
}

.visual-question-left .question-text {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: var(--primary-blue) !important;
    margin-bottom: 32px !important;
    line-height: 1.1 !important;
    letter-spacing: -1.5px !important;
    text-align: left !important;
}

.visual-question-left .question-subtitle {
    font-size: 16px !important;
    color: rgba(0, 3, 36, 0.6) !important;
    margin-bottom: 40px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

.visual-question-right {
    flex: 1 !important;
    position: relative;
    animation: fadeInRight 0.6s ease 0.1s both;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.context-image {
    width: 100%;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    max-height: 70vh;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

/* Options dans le layout visuel */
.question-with-visual .visual-question-left .options {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

.question-with-visual .options .option {
    background: var(--white) !important;
    border: 2px solid rgba(0, 3, 36, 0.08) !important;
    border-radius: 14px !important;
    padding: 18px 24px !important;
    color: var(--primary-blue) !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.question-with-visual .options .option:hover {
    background: var(--white) !important;
    border-color: var(--apple-green) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(52, 199, 89, 0.15) !important;
}

.question-with-visual .options .option.selected {
    background: var(--apple-green) !important;
    border-color: var(--apple-green) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.3) !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .visual-question-container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px 40px;
    }

    .visual-question-right {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .context-image {
        max-height: 500px;
    }

    .visual-question-left .question-text {
        font-size: 36px;
        letter-spacing: -1px;
    }
}

/* ============================================================================
   TIMELINE PROJECTION (page résultats)
   ============================================================================ */

.timeline-projection {
    margin: 60px 0;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-subtle);
}

#timelineChart {
    width: 100%;
    min-height: 300px;
    display: block;
    margin: 20px 0;
}

.timeline-title {
    font-size: 24px;
    font-weight: 800;
    color: #1D1D1F;
    /* Texte foncé pour visibilité sur fond clair */
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.timeline-subtitle {
    font-size: 14px;
    color: rgba(29, 29, 31, 0.6);
    /* Gris foncé semi-transparent */
    text-align: center;
    margin-bottom: 40px;
}

.timeline-svg {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

.timeline-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 24px;
    height: 4px;
    border-radius: 2px;
}

.legend-item span {
    font-size: 13px;
    color: var(--text-dark);
    /* Texte foncé pour fond blanc Apple-style */
    font-weight: 500;
}

/* ============================================================================
   OPUS 4.1: NOUVELLE LÉGENDE IMPACTANTE
   ============================================================================ */

.timeline-impact-legend {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: rgba(0, 3, 36, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-dark);
}

.impact-emoji {
    font-size: 22px;
    flex-shrink: 0;
}

.impact-text {
    flex: 1;
    font-weight: 500;
}

.impact-text strong {
    font-weight: 700;
    color: #000324;
}

.impact-item.critical strong {
    color: #FF3B30;
}

.impact-item.success strong {
    color: #34C759;
}

.impact-item.highlight strong {
    background: linear-gradient(135deg, #FFD60A 0%, #FF9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================================
   OPUS 4.1: BADGES DIRECTS SUR COURBES
   ============================================================================ */

.timeline-badge {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(12px, -50%);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
    animation: badgeFadeIn 0.6s ease-out 0.8s both;
}

.timeline-badge.success {
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    color: white;
}

.timeline-badge.warning {
    background: linear-gradient(135deg, #FF3B30 0%, #FF453A 100%);
    color: white;
}

.timeline-badge strong {
    font-size: 14px;
    font-weight: 800;
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translate(0, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(12px, -50%) scale(1);
    }
}

/* Labels gains/pertes intermédiaires */
.timeline-gain-label,
.timeline-loss-label {
    position: absolute;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid currentColor;
    animation: labelPop 0.5s ease-out 1.2s both;
    z-index: 15;
}

@keyframes labelPop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zone d'écart centrale */
.timeline-gap-highlight {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 25;
    animation: gapHighlightPulse 2s ease-in-out infinite;
}

.gap-text {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    color: #FF9500;
    text-shadow: 0 2px 8px rgba(255, 149, 0, 0.3);
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    border: 3px solid #FF9500;
    box-shadow: 0 4px 20px rgba(255, 149, 0, 0.25);
}

@keyframes gapHighlightPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* ============================================================================
   ANIMATIONS GRAPHIQUE STYLE BETTERME
   ============================================================================ */

/* Container graphique style BetterMe */
.timeline-graph-card {
    position: relative;
    background: rgba(251, 251, 253, 0.95);
    /* Apple-bg quasi opaque pour éviter bugs rendering */
    border-radius: 24px;
    padding: 32px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Points avec tooltips */
.timeline-point-container {
    position: absolute;
    z-index: 10;
}

.timeline-point {
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border: 3px solid currentColor;
    border-radius: 50%;
    animation: pointPulse 2s ease-in-out infinite;
}

.timeline-point.now {
    width: 16px;
    height: 16px;
    border-width: 4px;
}

@keyframes pointPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* Tooltips */
.timeline-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: #1D1D1F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-tooltip.with-ora {
    background: rgba(52, 199, 89, 0.95);
    color: #FFFFFF;
}

/* SVG Animations */
.timeline-line-animated {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

.timeline-line-animated-delayed {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out 0.3s forwards;
}

.timeline-area-animated {
    opacity: 0;
    animation: fadeInArea 1.5s ease-out 0.8s forwards;
}

.timeline-area-animated-delayed {
    opacity: 0;
    animation: fadeInArea 1.5s ease-out 1.1s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInArea {
    to {
        opacity: 1;
    }
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Ligne pointillée verticale */
.timeline-dotted-line {
    position: absolute;
    left: 60px;
    top: 40px;
    width: 2px;
    height: 100px;
    z-index: 5;
}

/* Grille horizontale */
.timeline-horizontal-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.timeline-grid-line {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

/* Container SVG */
.timeline-svg-container {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 24px 0;
}

.timeline-svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Disclaimer */
.timeline-disclaimer {
    text-align: center;
    font-size: 11px;
    color: rgba(29, 29, 31, 0.5);
    margin-top: 16px;
    font-style: italic;
}

/* Timeline v8.0 - Styles pour les nouveaux éléments */
.timeline-graph-card {
    background: var(--white);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.anchor-phrase {
    margin: 40px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.08) 0%, rgba(52, 211, 153, 0.05) 100%);
    border-radius: 16px;
    border-left: 4px solid var(--accent-green);
}

.decline-section {
    margin: 40px 0;
}

.decline-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.decline-card {
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.decline-card:hover {
    transform: translateY(-2px);
}

.choice-final {
    background: linear-gradient(135deg, #F5F5F7 0%, #FFFFFF 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.choice-options {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

/* Responsive Timeline v8.0 */
@media (max-width: 768px) {
    .timeline-projection {
        padding: 16px;
        margin: 40px 0;
    }

    .timeline-title {
        font-size: 20px;
    }

    .timeline-subtitle {
        font-size: 13px;
    }

    .timeline-legend {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .timeline-svg {
        overflow-x: auto;
    }

    /* Nouveaux styles responsive v8.0 */
    .decline-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .choice-options {
        flex-direction: column;
        gap: 16px;
    }

    .anchor-phrase p {
        font-size: 16px !important;
    }
}

/* =========================================
   GRAPHIQUE VO2MAX - DESIGN APPLE-STYLE
   ========================================= */

.vo2max-chart-container {
    margin: 32px 0;
    padding: 0;
    border-radius: 0;
    max-width: 950px;
    /* AGRANDI pour meilleure lisibilité */
    width: 100%;
    margin: 0 auto;
}

.chart-title {
    color: #E5E5E7;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    padding: 24px;
    /* Padding augmenté pour meilleure lisibilité */
    background: rgba(255, 255, 255, 0.03);
    /* Fond subtil */
    border-radius: 16px;
    /* Arrondi Apple */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-legend .legend-item span {
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF !important;
    /* Force white text */
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E5E5E7;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.legend-item strong {
    font-weight: 700;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .vo2max-chart-container {
        margin: 24px -20px;
        /* Full width sur mobile */
    }

    /* FIX: SVG responsive pour éviter coupure */
    .vo2max-chart-container svg {
        max-width: 100%;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .chart-legend {
        padding: 0 10px;
        gap: 12px;
    }

    .legend-item {
        font-size: 14px;
    }
}

/* Responsive iPhone SE et petits écrans */
@media (max-width: 640px) {
    .vo2max-chart-container svg {
        max-width: 100%;
    }

    .chart-legend {
        font-size: 11px;
        padding: 10px;
        gap: 8px;
    }

    .legend-item {
        font-size: 11px;
    }
}

/* VO2max Apple-style - Small mobile */
@media (max-width: 480px) {
    .vo2max-chart-container {
        margin: 16px -12px;
    }

    .vo2max-chart-container svg {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .chart-legend {
        padding: 8px;
        gap: 6px;
    }

    .legend-item {
        font-size: 11px;
        gap: 8px;
    }

    .legend-item strong {
        font-size: 12px;
    }
}

/* =========================================
   SECTION TRANSFORMATION (VO2max fusion)
   ========================================= */

.transformation-section {
    margin-top: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.transformation-title {
    color: #34C759;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.transformation-section .wow-stats ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transformation-section .wow-stats li {
    font-size: 16px;
    line-height: 1.6;
    color: #E5E5E7;
    font-weight: 500;
}

@media (max-width: 768px) {
    .transformation-section {
        padding: 24px;
        margin-top: 32px;
    }

    .transformation-title {
        font-size: 19px;
    }

    .transformation-section .wow-stats li {
        font-size: 15px;
    }
}

/* Styles supprimés - modifications appliquées directement sur .option de base */

/* ============================================
   P2-8: TIMELINE BETTERME - LAYOUT & ANIMATIONS
   ============================================ */

/* Refonte 2026-04-28 : passe de bleu marine pleine largeur à blanc Apple-style.
   Halo radial vert subtil pour créer le "moment" sans tape-à-l'oeil.
   Container max-width pour cohérence avec le reste du quiz. */
.timeline-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    color: #1D1D1F;
    z-index: 1000;
    overflow-y: auto;
    padding: 80px 20px 100px;
    overflow-x: hidden;
}

.timeline-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 720px;
    max-width: 140vw;
    background: radial-gradient(circle at center,
        rgba(52, 199, 89, 0.10) 0%,
        rgba(52, 199, 89, 0.04) 35%,
        rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.timeline-screen > * {
    position: relative;
    z-index: 1;
}

.timeline-container {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 40px;
}

.timeline-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease both;
}

.timeline-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #FFFFFF;
    letter-spacing: -1px;
    animation: fadeInLeft 0.6s ease 0.1s both;
}

.timeline-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    animation: fadeInLeft 0.6s ease 0.2s both;
}

.timeline-content {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.timeline-description {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 32px;
}

/* Graphique Timeline Card - iOS Module */
.timeline-graph-card {
    background: #FFFFFF;
    /* iOS White Module */
    border-radius: 16px;
    /* Match email */
    padding: 32px;
    margin: 20px auto;
    max-width: var(--max-width);
    /* 750px */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    /* MISSION 4: FORCE VISIBILITY */
    width: 100%;
    display: block;
    /* FIX: Remove opacity:0 that was hiding the chart */
    opacity: 1;
    transform: none;
}

.timeline-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Animations SVG - BetterMe style */
.timeline-line-animated {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

.timeline-area-animated {
    opacity: 0;
    animation: fadeInArea 1.5s ease-out 0.8s forwards;
}

.timeline-point {
    opacity: 0;
    animation: fadeInPoint 0.6s ease-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInArea {
    to {
        opacity: 1;
    }
}

@keyframes fadeInPoint {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Légende Timeline */
.timeline-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

.timeline-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #E5E5E7;
}

.timeline-legend .legend-line {
    width: 24px;
    height: 3px;
}

.timeline-legend .legend-line.gray {
    background: #8E8E93;
}

.timeline-legend .legend-line.green {
    background: #34C759;
}

/* Stats Timeline */
.timeline-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.timeline-stats li {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.timeline-stats li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.timeline-source {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 32px;
    text-align: center;
}

/* Button Timeline */
.btn-timeline {
    width: 100%;
    background: var(--accent-green);
    color: #000324;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 32px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.3);
}

.btn-timeline:hover {
    background: #2FB84B;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(52, 199, 89, 0.4);
}

.btn-timeline:active {
    transform: translateY(0);
}

/* Couleurs adaptées au nouveau fond blanc (refonte 2026-04-28) */
.timeline-screen .timeline-title {
    color: #1D1D1F;
}

.timeline-screen .timeline-subtitle {
    color: #86868B;
}

.timeline-disclaimer {
    text-align: center;
    font-size: 10px;
    color: rgba(29, 29, 31, 0.5);
    margin-top: 12px;
    font-style: italic;
}

.timeline-screen .timeline-disclaimer {
    color: rgba(29, 29, 31, 0.55);
}

/* Le "Écart total" footer (était noir tape-à-l'oeil) */
.timeline-screen .timeline-gap-summary,
.timeline-screen [class*="timeline-summary"] {
    background: #F5F5F7;
    color: #1D1D1F;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Sources scientifiques en footer — caption discret */
.timeline-screen .timeline-sources {
    color: #86868B;
    font-size: 12px;
    text-align: center;
    margin-top: 16px;
}

/* Responsive Mobile Timeline */
@media (max-width: 640px) {
    .timeline-title {
        font-size: 26px;
    }

    .timeline-graph-card {
        padding: 16px;
    }

    .timeline-legend {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .timeline-stats li {
        font-size: 14px;
    }
}

/* ===== TIMELINE GRID - Unified Responsive Layout (Phase 2 - Opti Graph) ===== */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== UNIFIED CHART WRAPPER STYLES (10 years + 12 weeks) ===== */
/* Both charts use the same pattern for consistency */

.ten-year-chart-wrapper,
.twelve-weeks-chart-wrapper {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    border: none !important;
    box-shadow: none !important;
}

/* Title styling for both charts */
.ten-year-chart-wrapper h2,
.twelve-weeks-chart-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1D1D1F;
    text-align: center;
    margin: 0 0 16px;
    padding-top: 24px;
}

/* Summary box for 12-weeks (green box) */
.summary-12w {
    margin: 24px 0 !important;
    border-radius: 14px;
}

/* ===== 12 WEEKS CHART CONTAINER ===== */
.timeline-chart-container {
    margin: 0;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-subtle);
}

.twelve-weeks-svg {
    max-width: 100%;
    height: auto;
}

/* Responsive charts */
@media (max-width: 480px) {
    .timeline-chart-container {
        padding: 16px;
    }

    .ten-year-chart-wrapper h2,
    .twelve-weeks-chart-wrapper h3 {
        font-size: 18px;
    }
}

/* ===== DECLINE CARDS - Unified Styling ===== */
.decline-section {
    margin: 32px 0;
}

.decline-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
    .decline-section h3 {
        font-size: 18px;
    }

    .decline-card {
        padding: 16px;
    }

    .decline-card span {
        font-size: 28px !important;
    }

    .decline-card h4 {
        font-size: 13px !important;
    }

    .decline-card p {
        font-size: 11px !important;
    }
}

/* ===== CHOICE FINAL - Responsive ===== */
.choice-final {
    margin: 32px 0;
}

.choice-options {
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .choice-final {
        padding: 24px 16px;
    }

    .choice-final h3 {
        font-size: 20px;
    }

    .choice-options > div {
        min-width: 100px;
        padding: 16px;
    }

    .choice-options > div > div:first-child {
        font-size: 28px !important;
    }
}

/* ============================================
   FEATURE 1: EXIT POPUP - Apple HIG Style
   ============================================ */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-out;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.exit-popup-overlay.show {
    opacity: 1;
}

.exit-popup-card {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    max-width: 380px;
    width: 90%;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exit-popup-overlay.show .exit-popup-card {
    transform: scale(1);
}

.exit-popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #1D1D1F;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.exit-popup-message {
    font-size: 16px;
    font-weight: 400;
    color: #6E6E73;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.exit-popup-cta {
    display: block;
    width: 100%;
    background: #1D1D1F;
    color: #FFFFFF;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease-out;
    letter-spacing: -0.2px;
}

.exit-popup-cta:hover {
    background: #3A3A3C;
}

.exit-popup-cta:active {
    transform: scale(0.98);
}

.exit-popup-dismiss {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 12px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: color 0.2s ease;
}

.exit-popup-dismiss:hover {
    color: rgba(0, 0, 0, 0.5);
}

/* ============================================
   FEATURE 2+3: Score Preview Floute + Teaser
   ============================================ */
.score-preview-block {
    text-align: center;
    padding: 24px 16px;
    margin-bottom: 24px;
    border: 2px dashed rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: rgba(245, 245, 247, 0.5);
}

.score-preview-ring-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.score-preview-ring {
    display: block;
}

.score-preview-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 700;
    color: #1D1D1F;
    letter-spacing: -1px;
}

.score-preview-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.score-preview-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.score-preview-title {
    font-size: 17px;
    font-weight: 600;
    color: #1D1D1F;
    margin: 0 0 6px 0;
}

.score-preview-teaser {
    font-size: 14px;
    font-weight: 500;
    color: #6E6E73;
    margin: 0 0 6px 0;
    line-height: 1.4;
    font-style: italic;
}

.score-preview-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.35);
    margin: 0;
}

/* ============================================
   FEATURE 3: Curiosity Gap Transition Overlay
   ============================================ */
.curiosity-gap-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.curiosity-gap-overlay.show {
    opacity: 1;
}

.curiosity-gap-text {
    font-size: 20px;
    font-weight: 600;
    color: #1D1D1F;
    text-align: center;
    max-width: 340px;
    padding: 0 24px;
    line-height: 1.5;
    letter-spacing: -0.3px;
}

/* ============================================
   FEATURE 4: Social Proof Counter
   ============================================ */
.social-proof-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.35);
}

.social-proof-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #34C759;
    border-radius: 50%;
    animation: socialProofPulse 2s ease-in-out infinite;
}

@keyframes socialProofPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   FEATURE 5: Sunk Cost in WOW Breaks
   ============================================ */
.wow-sunk-cost {
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 0;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

/* ============================================
   RESPONSIVE: Features Mobile Fixes
   ============================================ */
@media (max-width: 640px) {
    .exit-popup-card {
        padding: 24px;
        margin: 0 16px;
    }

    .exit-popup-title {
        font-size: 18px;
    }

    .exit-popup-message {
        font-size: 15px;
    }

    .curiosity-gap-text {
        font-size: 18px;
    }

    .score-preview-block {
        padding: 20px 12px;
    }
}

/* ===== SEO CONTENT SECTION ===== */
.seo-section {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 20px 24px;       /* réduit de 60px → 24px : moins d'espace avant le final CTA */
}

.seo-block {
  margin-bottom: 40px;
}

.seo-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.seo-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.seo-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 12px;
}

.seo-block cite {
  font-style: normal;
  font-size: 13px;
  color: #6E6E73;
}

.seo-block ul,
.seo-block ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.seo-block li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* Pillar grid */
.pillar-grid {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.pillar-item {
  background: var(--bg-card, #fff);
  border-radius: var(--radius-inner);
  padding: 20px;
  border: 1px solid var(--border);
}

.pillar-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.pillar-item p {
  font-size: 14px;
  margin-bottom: 0;
}

/* SEO Table */
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.seo-table th,
.seo-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.seo-table th {
  font-weight: 600;
  color: var(--text-dark);
  background: var(--light-gray);
}

.seo-table td {
  color: var(--text-light);
}

/* FAQ */
.faq-block details {
  border-bottom: 1px solid var(--border);
}

.faq-block summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  /* Cible tactile WCAG 2.5.8 : >=44px de hauteur cliquable */
  padding: 16px 0;
  min-height: 44px;
  box-sizing: border-box;
}

/* Safari : retire le triangle natif du marker */
.faq-block summary::-webkit-details-marker { display: none; }

.faq-block summary::after {
  content: '+';
  flex: none;
  font-size: 20px;
  color: var(--text-light);
  transition: transform 0.2s;
}

.faq-block details[open] summary::after {
  content: '-';
}

.faq-block details p {
  margin-top: 4px;
  margin-bottom: 16px;
  padding-right: 20px;
}

/* References */
.references-list {
  font-size: 13px;
  color: var(--text-light);
}

.references-list li {
  font-size: 13px;
  margin-bottom: 6px;
}

.references-list em {
  font-style: italic;
}

/* Banner d'erreur inline (remplace les alert() natifs cassants) */
.inline-error-banner {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-140%);
    background: #FF3B30;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(255,59,48,0.35);
    z-index: 100000;
    max-width: 90vw;
    text-align: center;
    line-height: 1.4;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.28s;
    opacity: 0;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
}
.inline-error-banner--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.inline-error-banner--info {
    background: #0f172a;
    box-shadow: 0 10px 28px rgba(15,23,42,0.35);
}
@media (prefers-reduced-motion: reduce) {
    .inline-error-banner { transition: opacity 0.18s; }
}

/* A11y : skip-to-main link, visible uniquement au focus clavier (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #000324;
    color: #ffffff;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 3px solid #00C853;
    outline-offset: 2px;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: var(--primary-blue);
  color: rgba(255,255,255,0.7);
  padding: 40px 20px;
  margin-top: 60px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-about p {
  margin-bottom: 8px;
}

.footer-links {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
  color: var(--accent-green);
  text-decoration: none;
  display: inline-block;
  padding: 14px 8px;
  /* WCAG / Apple touch target ≥44px : on passe de 6px à 14px de padding vertical
     pour atteindre 44px de hauteur cliquable (texte 14px + 28px padding). */
  min-height: 44px;
  line-height: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.3;
}

.footer-copy {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.5;
}

/* Noscript SEO content */
.seo-content {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1D1D1F;
}

.seo-content h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

.seo-content h2 {
  font-size: 20px;
  margin: 24px 0 12px;
}

.seo-content p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.seo-content ul {
  padding-left: 20px;
}

.seo-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* =====================================================================
   Accessibilité & Performance — ajouts 2026-04-28 (Sprint 6)
   ===================================================================== */

/* Respecter la préférence utilisateur "moins d'animations".
   Critique sur low-end Android où les 49 keyframes + GSAP = jank visible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fallback backdrop-filter pour Android low-end / vieux Safari.
   Sans ça : flash transparent visible avant la composition du blur. */
@supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .quiz-header,
  .hero-stats,
  .exit-popup-overlay,
  .micro-validation-overlay {
    background: rgba(255, 255, 255, 0.98) !important;
  }
}

/* Hardening focus-visible pour navigation clavier (a11y WCAG 2.4.7) */
:focus-visible {
  outline: 2px solid var(--accent-success, #00C853);
  outline-offset: 2px;
}

/* RGPD : triple consentement (Sprint 3) + UX "Tout accepter" (2026-04-28) */
.consent-block {
  margin: 16px 0;
}

/* Link-style "Tout accepter" — discret pour ne pas concurrencer le CTA primary */
.consent-accept-all-link {
  display: block;
  width: 100%;
  background: transparent;
  color: #34C759;
  border: 1px dashed rgba(52, 199, 89, 0.4);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 12px;
  text-align: center;
}

.consent-accept-all-link:hover {
  background: rgba(52, 199, 89, 0.06);
  border-color: rgba(52, 199, 89, 0.7);
}

/* CTA primary désactivé tant que consent_health pas coché */
.btn-primary:disabled {
  background: #E5E5EA !important;
  color: #86868B !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
}

.btn-primary:disabled:hover {
  background: #E5E5EA !important;
  transform: none !important;
}

.consent-required .checkbox-label {
  font-weight: 500;
}
.consent-required {
  border-left: 3px solid #00C853;
  padding-left: 12px;
}
.consent-rights {
  font-size: 12px;
  color: #6E6E73;
  margin-top: 12px;
  line-height: 1.5;
}
.consent-rights a {
  color: #6E6E73;
  text-decoration: underline;
}

/* ============================================================
   HERO REDESIGN v3 (2026-05-06) — Apple-like underline pattern
   Remplace .gradient-text par .hero-keyword avec trait SVG.
   Inspirations vérifiées : functionhealth.com, apple.com/iphone,
   mylifeforce.com (underline keyword).
   ============================================================ */

.hero-keyword {
    position: relative;
    display: inline-block;
    color: var(--primary-blue);
    white-space: nowrap;
    isolation: isolate;
    padding: 0 0.05em;
}

.hero-underline {
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -0.18em;
    width: 104%;
    height: 0.32em;
    color: var(--apple-green);
    overflow: visible;
    pointer-events: none;
    z-index: -1;
}

.hero-underline path {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: hero-underline-draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.5s forwards;
}

@keyframes hero-underline-draw {
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-underline path { animation: none; stroke-dashoffset: 0; }
}

.hero-question { overflow: visible; }

/* ============================================================
   FINAL CTA SECTION — pattern Function Health / Prime Care 2026
   ============================================================ */

.final-cta-section {
    background: var(--primary-blue);
    color: #fff;
    padding: 96px 24px;
    margin-top: 0;                       /* fix : trop d'espace avec section précédente */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(52, 199, 89, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.final-cta-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--apple-green);
    margin: 0 0 20px 0;
    opacity: 0.95;
}

.final-cta-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin: 0 0 24px 0;
    color: #fff;
    text-wrap: balance;
}

.final-cta-keyword {
    position: relative;
    display: inline-block;
    color: #fff;
    white-space: nowrap;
    padding: 0 0.05em;
}

.final-cta-keyword .hero-underline { color: var(--apple-green); }

.final-cta-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto 36px auto;
    max-width: 520px;
    text-wrap: balance;
}

.final-cta-btn {
    box-shadow: 0 16px 40px rgba(52, 199, 89, 0.35);
    /* Force le bouton sur sa propre ligne (sinon les trust signals
       s'affichent à droite, parent .final-cta-inner étant block-level
       mais .hero-cta hérité étant inline-flex). */
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
}

.final-cta-trust {
    margin-top: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.final-cta-dot { opacity: 0.5; }

@media (max-width: 768px) {
    .final-cta-section { padding: 64px 20px; margin-top: 0; }
    .final-cta-title { font-size: 42px; letter-spacing: -1.5px; }
    .final-cta-subtitle { font-size: 16px; margin-bottom: 28px; }
}

@media (max-width: 480px) {
    .final-cta-title { font-size: 34px; letter-spacing: -1.2px; }
}

/* ============================================================
   STICKY CTA MOBILE — visible <768px (pattern Viome / InsideTracker)
   ============================================================ */

.sticky-cta-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) 16px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(0, 3, 36, 0.08);
    box-shadow: 0 -8px 24px rgba(0, 3, 36, 0.06);
    z-index: 9000;
    transform: translateY(140%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.sticky-cta-mobile.is-visible { transform: translateY(0); }

@media (max-width: 767px) { .sticky-cta-mobile { display: block; } }

.sticky-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--apple-green) 0%, #00C853 100%);
    color: #03210f;
    /* WCAG AA fix : texte sombre sur vert au lieu de blanc (2.24:1 → 7:1+). */
    border: 0;
    border-radius: var(--radius-pill);
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(52, 199, 89, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.sticky-cta-btn:active {
    transform: scale(0.98);
    box-shadow: 0 6px 16px rgba(52, 199, 89, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    .sticky-cta-mobile, .sticky-cta-btn { transition: none; }
}

/* ============================================================
   HERO REDESIGN v4 (2026-05-06) — Rotation mot-clef slide-up
   3 lignes, plus gros, mot rotatif vert + slide.
   Inspirations : Highlight Typewriter (Framer), Word Shifter (Contra),
   Linear/Stripe 2026 hero. Pattern layout-safe (sizer invisible).
   ============================================================ */

.hero-question--v4 {
    /* Cap réduit (104→72px) pour que chaque ligne tienne sur 1 ligne sans wrap */
    font-size: clamp(36px, 5.6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.2px;
    color: var(--primary-blue);
    max-width: none;            /* override .hero-question max-width */
    margin: 0 auto 28px auto;
    padding: 0 12px;
    text-wrap: balance;
}

/* Chaque ligne = un block sur 1 ligne (force pas de wrap intra-ligne) */
.hero-question--v4 .hero-line {
    display: block;
    white-space: nowrap;
}

/* Ligne 2 = baseline aligné (texte + rotator inline) */
.hero-question--v4 .hero-line:nth-child(2) {
    /* flex en mobile pour wrap propre, inline desktop */
    display: inline-block;
}

/* Conteneur du rotator : largeur figée par le sizer invisible = zéro layout shift */
.hero-rotator {
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    overflow: hidden;            /* clip pendant le slide-up */
    line-height: inherit;
    /* Hauteur calée sur 1 ligne du H1 pour clipping vertical */
    height: 1em;
    /* Petit padding latéral pour respirer (les caractères g/y/p ne sortent pas) */
    padding: 0 0.05em;
}

/* Sizer = mot le plus long, invisible, occupe l'espace pour éviter le shift */
.hero-rotator-sizer {
    visibility: hidden;
    display: inline-block;
    pointer-events: none;
    user-select: none;
    color: transparent;
}

/* Mot affiché : posé en absolute par-dessus le sizer */
.hero-rotator-word {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    color: var(--apple-green);   /* vert accent — fait pop le mot */
    font-weight: 800;
    white-space: nowrap;
    will-change: transform, opacity;
    /* État par défaut : visible et en place */
    opacity: 1;
}

/* Animation slide-out : sort vers le haut */
.hero-rotator-word.is-leaving {
    animation: hero-rotator-out 360ms cubic-bezier(0.55, 0, 0.1, 1) forwards;
}

/* Animation slide-in : entre depuis le bas */
.hero-rotator-word.is-entering {
    animation: hero-rotator-in 420ms cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

@keyframes hero-rotator-out {
    0%   { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -100%); }
}

@keyframes hero-rotator-in {
    0%   { opacity: 0; transform: translate(-50%, 100%); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

/* Caret discret optionnel : un point pulsant après le mot pour la touche typewriter */
.hero-rotator::after {
    content: "";
    display: inline-block;
    width: 0.08em;
    height: 0.85em;
    margin-left: 0.06em;
    background: var(--apple-green);
    vertical-align: -0.1em;
    border-radius: 1px;
    animation: hero-rotator-caret 1.05s steps(2, end) infinite;
    opacity: 0.85;
}

@keyframes hero-rotator-caret {
    0%, 49%   { opacity: 0.85; }
    50%, 100% { opacity: 0; }
}

/* Responsive — mot rotatif sur sa propre ligne en mobile pour rester lisible */
@media (max-width: 1024px) {
    .hero-question--v4 {
        letter-spacing: -2.4px;
    }
}

@media (max-width: 768px) {
    .hero-question--v4 {
        letter-spacing: -1.6px;
    }
    /* Mobile : autoriser le wrap (les 3 lignes peuvent devenir 4-5 sous-lignes) */
    .hero-question--v4 .hero-line {
        white-space: normal;
    }
    .hero-question--v4 .hero-line:nth-child(2) {
        display: block;
    }
    .hero-rotator {
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .hero-question--v4 {
        line-height: 1.06;
        letter-spacing: -1.1px;
    }
    .hero-rotator::after {
        height: 0.75em;
    }
}

/* Accessibilité : pas d'animation si l'utilisateur préfère reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-rotator-word.is-leaving,
    .hero-rotator-word.is-entering {
        animation: none;
    }
    .hero-rotator-word {
        /* Fade simple à la place du slide */
        transition: opacity 220ms ease-in-out;
    }
    .hero-rotator::after {
        animation: none;
        opacity: 0;              /* on cache le caret pour reduced motion */
    }
}

/* ============================================================
   HERO REDESIGN v5 / v6 — pattern Linear 2026 (blur-in word, slot figé)
   --------------------------------------------------------------------
   Décisions :
   - line-height: 1.25 → descendantes g/p/j JAMAIS clippées
   - v6 : slot de largeur FIGÉE via un sizer en flux (mot le plus large,
     mesuré au pixel près par quiz.js) ; le mot visible est en position
     absolute, donc il ne décale jamais le texte autour → zéro oscillation
   - Animation : blur(3px→0) + translateY(6px→0) + opacity (Linear signature)
   - Pas de caret, pas de overflow:hidden, pas de height fixe
   - A11y : prefers-reduced-motion = fade simple
   ============================================================ */

.hero-question--v5 {
    font-size: clamp(36px, 5.6vw, 72px);
    font-weight: 800;
    line-height: 1.25;                  /* assez d'air vertical pour g/p/j */
    letter-spacing: -2.2px;
    color: var(--primary-blue);
    /* Le parent .container fait max-width 600px, trop étroit pour les lignes nowrap
       du hero (~1000px desktop). On casse hors du container pour centrer sur le viewport. */
    width: 100vw;
    max-width: min(1200px, 100vw - 32px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 28px 0;                 /* pas de margin auto : le transform centre déjà */
    padding: 0 16px;
    text-align: center;
    text-wrap: balance;
    box-sizing: border-box;
}

.hero-question--v5 .hero-line {
    display: block;
    white-space: nowrap;
}

/* Conteneur du rotator — INLINE dans le flow de la phrase « le contrôle de ___ ».
   v6 : largeur figée par le sizer (mot le plus large), mot visible hors flux. */
.hero-rotator-v5 {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    text-align: center;        /* centre le mot visible dans le slot figé */
    /* Pas de min-width en ch : 1ch (largeur du « 0 ») ne reflète pas la largeur
       réelle d'un mot en police proportionnelle. La largeur vient du sizer,
       mesuré au pixel près par quiz.js (fitSizer). */
    /* Pas de overflow:hidden, pas de height fixe → descendantes libres. */
}

/* Sizer — invisible mais EN FLUX. Rôle double :
   1. impose au conteneur la largeur exacte du mot le plus large
      (quiz.js → fitSizer y injecte ce mot, mesuré au pixel près) ;
   2. fournit la baseline (texte inline → line box fiable → alignement
      vertical parfait avec « le contrôle de »). */
.hero-rotator-v5__sizer {
    visibility: hidden;
    white-space: nowrap;
    font-weight: 800;          /* == graisse du mot visible → largeur identique */
}

/* Le mot lui-même : couleur accent + animation fade subtile (fix 2026-05-06) */
/* Avant : blur 8px 450ms → mot illisible 1/5 du temps (frustration Franck).
   Maintenant : blur léger 3px 200ms → quasi imperceptible, mot lisible 92% du temps */
.hero-rotator-v5__word {
    /* Hors flux : superposé au sizer → ne décale jamais le texte autour. */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;        /* centré dans le slot figé par le sizer */
    white-space: nowrap;
    color: var(--apple-green);
    font-weight: 800;
    will-change: filter, transform, opacity;
    /* État par défaut : invisible, prêt à être animé */
    opacity: 0;
    filter: blur(3px);
    transform: translateY(6px);
    transition:
        opacity 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* État d'entrée : net, en place */
.hero-rotator-v5__word.is-in {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* État de sortie : très bref blur vers le haut */
.hero-rotator-v5__word.is-out {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(-6px);
}

/* Mobile : la 2e ligne peut wrapper. Le slot du rotator reste figé par le
   sizer (re-mesuré à chaque resize) → aucun min-width en ch nécessaire. */
@media (max-width: 768px) {
    .hero-question--v5 {
        letter-spacing: -1.6px;
        line-height: 1.22;
    }
    .hero-question--v5 .hero-line {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero-question--v5 {
        letter-spacing: -1.1px;
        line-height: 1.2;
    }
    .hero-rotator-v5 {
        display: block;                 /* le mot prend sa propre ligne en très petit écran */
        margin-top: 4px;
    }
}

/* A11y : reduced motion = fade simple, pas de blur ni translate */
@media (prefers-reduced-motion: reduce) {
    .hero-rotator-v5__word {
        transition: opacity 220ms ease;
        filter: none;
        transform: none;
    }
    .hero-rotator-v5__word.is-out {
        filter: none;
        transform: none;
    }
}

/* ============================================================
   FINAL CTA — fix gap blanc footer (les deux sont déjà bleu marine,
   le gap vient des margin block-level). Solution : margin = 0 entre
   final-cta-section et site-footer, et padding harmonisé.
   ============================================================ */

.final-cta-section { margin-bottom: 0 !important; }
.site-footer { margin-top: 0 !important; padding-top: 56px; }
/* Optionnel : séparateur subtil entre CTA et footer (ligne hairline) */
.site-footer { border-top: 1px solid rgba(255,255,255,0.08); }

/* ============================================================
   CTA INTERMÉDIAIRE — placé après pilier 7, avant FAQ
   Style sobre : carte centrée, pas full-bleed, pour ne pas
   concurrencer le final CTA bleu marine.
   ============================================================ */

.mid-cta {
    max-width: 720px;
    margin: 64px auto;
    padding: 40px 32px;
    text-align: center;
    background: linear-gradient(180deg, #FAFAF7 0%, #F2F2EE 100%);
    border: 1px solid rgba(0, 3, 36, 0.06);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.mid-cta::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(52,199,89,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.mid-cta__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--apple-green);
    background: rgba(52,199,89,0.10);
    padding: 6px 12px;
    border-radius: 999px;
    margin: 0 0 16px 0;
}

.mid-cta__title {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    color: var(--primary-blue);
    margin: 0 0 20px 0;
    text-wrap: balance;
}

.mid-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: #fff;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 6px 20px rgba(0, 3, 36, 0.18);
}

.mid-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 3, 36, 0.28);
    background: #001054;
}

.mid-cta__btn:active { transform: translateY(0); }

@media (max-width: 768px) {
    .mid-cta { margin: 40px 16px; padding: 32px 20px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .mid-cta__btn { transition: none; }
}

/* ============================================================
   HERO v6 — "Diagnostic de longévité" cinématique (2026-05-20)
   Hero pleine largeur, themeable : DARK (#000324, bleu de marque)
   par défaut, LIGHT via .hero-v6--light.
   Remplace l'ancien hero v5 (titre + mot rotatif daté).
   Centre de gravité : cadran de diagnostic animé — anneau lumineux
   qui se dessine, couronne de graduations, tracé ECG vivant.
   Base de référence design Ora Life. Doc : cortex-os/skills/
   frontend-design/patterns/cinematic-hero.md
   ============================================================ */

.hero-v6 {
    /* ---- TOKENS THÈME : dark par défaut (#000324) ---- */
    --hv6-bg:
        radial-gradient(ellipse 88% 60% at 50% -12%, #0a1444 0%, transparent 60%),
        radial-gradient(ellipse 70% 52% at 102% 104%, #06163f 0%, transparent 55%),
        linear-gradient(180deg, #050a26 0%, #000324 100%);
    --hv6-text-strong: #ffffff;
    --hv6-text-mid: rgba(255,255,255,.60);
    --hv6-text-faint: rgba(255,255,255,.40);
    --hv6-green: #00E676;
    --hv6-green-bright: #6effb6;
    --hv6-green-deep: #00b357;
    --hv6-ring-track: rgba(255,255,255,.07);
    --hv6-inner-ring: rgba(255,255,255,.05);
    --hv6-glass-bg: rgba(255,255,255,.045);
    --hv6-glass-border: rgba(255,255,255,.09);
    --hv6-glow-opacity: .42;
    --hv6-halo: rgba(0,230,118,.17);
    --hv6-grain-opacity: .04;
    --hv6-vignette: radial-gradient(ellipse 76% 74% at 50% 44%, transparent 56%, rgba(0,0,0,.55) 100%);
    --hv6-aurora-green: rgba(0,230,118,.20);
    --hv6-aurora-blue: rgba(40,120,255,.16);
    --hv6-tick: rgba(255,255,255,.16);
    --hv6-tick-major: rgba(0,230,118,.55);
    --hv6-ecg-base: rgba(0,230,118,.24);
    --hv6-label: rgba(255,255,255,.55);
    --hv6-cta-text: #03210f;
    --hv6-cta-shadow: rgba(0,230,118,.32);
    --hv6-cta-shadow-hover: rgba(0,230,118,.46);
    --hv6-cta-highlight: rgba(255,255,255,.42);
    --hv6-ease-out: cubic-bezier(.16,1,.3,1);
    --hv6-ease-soft: cubic-bezier(.22,.61,.36,1);

    /* ---- full-bleed : casse le .container 600px + remonte sous le header fixe ---- */
    position: relative;
    box-sizing: border-box;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -100px;              /* annule le padding-top:100px du .container */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 118px clamp(20px,5vw,56px) 78px;
    overflow: hidden;
    background: var(--hv6-bg);
    color: var(--hv6-text-strong);
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

/* ---- THÈME LIGHT ---- */
.hero-v6.hero-v6--light {
    --hv6-bg:
        radial-gradient(ellipse 88% 60% at 50% -12%, #e6fff1 0%, transparent 60%),
        radial-gradient(ellipse 70% 52% at 102% 104%, #e7edfc 0%, transparent 55%),
        linear-gradient(180deg, #fbfcfe 0%, #eceff5 100%);
    --hv6-text-strong: #000324;
    --hv6-text-mid: rgba(0,3,36,.62);
    --hv6-text-faint: rgba(0,3,36,.46);
    --hv6-green: #00C853;
    --hv6-green-bright: #00e072;
    --hv6-green-deep: #00a046;
    --hv6-ring-track: rgba(0,3,36,.08);
    --hv6-inner-ring: rgba(0,3,36,.06);
    --hv6-glass-bg: rgba(255,255,255,.66);
    --hv6-glass-border: rgba(0,3,36,.09);
    --hv6-glow-opacity: .30;
    --hv6-halo: rgba(0,200,83,.16);
    --hv6-grain-opacity: 0;
    --hv6-vignette: radial-gradient(ellipse 76% 74% at 50% 44%, transparent 62%, rgba(0,3,36,.05) 100%);
    --hv6-aurora-green: rgba(0,200,83,.14);
    --hv6-aurora-blue: rgba(40,120,255,.10);
    --hv6-tick: rgba(0,3,36,.15);
    --hv6-tick-major: rgba(0,200,83,.62);
    --hv6-ecg-base: rgba(0,200,83,.34);
    --hv6-label: rgba(0,3,36,.5);
    --hv6-cta-text: #03210f;
    /* WCAG AA fix variant light : texte sombre au lieu de blanc (2.24:1 → 7:1+). */
    --hv6-cta-shadow: rgba(0,200,83,.30);
    --hv6-cta-shadow-hover: rgba(0,200,83,.46);
    --hv6-cta-highlight: rgba(255,255,255,.30);
}

/* ---- couches d'ambiance ---- */
.hero-v6__bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-v6__aurora {
    position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55;
}
.hero-v6__aurora--green {
    width: 620px; height: 620px; right: -130px; top: 6%;
    background: radial-gradient(circle, var(--hv6-aurora-green) 0%, transparent 68%);
    animation: hv6-drift-a 28s ease-in-out infinite;
}
.hero-v6__aurora--blue {
    width: 540px; height: 540px; left: -170px; bottom: -170px;
    background: radial-gradient(circle, var(--hv6-aurora-blue) 0%, transparent 68%);
    animation: hv6-drift-b 34s ease-in-out infinite;
}
.hero-v6__grain {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    opacity: var(--hv6-grain-opacity); mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-v6__vignette {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: var(--hv6-vignette);
}

/* ---- grille ---- */
.hero-v6__inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 1.04fr .96fr;
    align-items: center; gap: clamp(32px,5vw,76px);
}

/* ---- colonne texte ---- */
.hero-v6__eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12px; font-weight: 700; letter-spacing: 2.1px;
    color: var(--hv6-text-mid); text-transform: uppercase;
    padding: 8px 14px 8px 12px; border-radius: 999px;
    background: var(--hv6-glass-bg); border: 1px solid var(--hv6-glass-border);
}
.hero-v6__eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--hv6-green);
    box-shadow: 0 0 12px var(--hv6-green);
    animation: hv6-pulse-dot 2.4s var(--hv6-ease-soft) infinite;
}
.hero-v6__title {
    margin: 26px 0 0; padding: 0;
    font-size: clamp(40px,5.4vw,70px);
    font-weight: 900; line-height: 1.04; letter-spacing: -.03em;
    color: var(--hv6-text-strong);
}
.hero-v6__accent {
    position: relative; color: var(--hv6-accent, var(--hv6-green)); white-space: nowrap;
}
/* WCAG AA fix variant light : le vert primary (#00C853) sur fond clair = 2.18:1 (FAIL).
   On force un vert plus foncé pour l'accent texte uniquement, sans toucher au gradient CTA. */
.hero-v6.hero-v6--light .hero-v6__accent { color: #007a35; }
.hero-v6__accent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .02em;
    height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--hv6-green), transparent);
    transform: scaleX(0); transform-origin: left;
    animation: hv6-underline 1s var(--hv6-ease-out) 1s both;
}
.hero-v6__sub {
    margin: 22px 0 0; max-width: 30em;
    font-size: clamp(15.5px,1.5vw,18px); line-height: 1.6;
    color: var(--hv6-text-mid); font-weight: 400;
}
.hero-v6__chips {
    margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-v6__chip {
    display: flex; align-items: baseline; gap: 7px;
    padding: 9px 15px; border-radius: 12px;
    background: var(--hv6-glass-bg); border: 1px solid var(--hv6-glass-border);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-v6__chip b {
    font-size: 15px; font-weight: 800; color: var(--hv6-text-strong); letter-spacing: -.01em;
}
.hero-v6__chip span { font-size: 12.5px; color: var(--hv6-text-faint); font-weight: 500; }

.hero-v6__cta-row {
    margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.hero-v6__cta {
    position: relative; display: inline-flex; align-items: center; gap: 11px;
    padding: 17px 30px; border-radius: 999px; border: 0;
    font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
    color: var(--hv6-cta-text); cursor: pointer;
    background: linear-gradient(180deg, var(--hv6-green-bright) 0%, var(--hv6-green) 55%, var(--hv6-green-deep) 100%);
    box-shadow: 0 8px 30px var(--hv6-cta-shadow), inset 0 1px 0 var(--hv6-cta-highlight);
    transition: transform .3s var(--hv6-ease-out), box-shadow .3s var(--hv6-ease-out);
}
.hero-v6__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px var(--hv6-cta-shadow-hover), inset 0 1px 0 var(--hv6-cta-highlight);
}
.hero-v6__cta-arrow { transition: transform .3s var(--hv6-ease-out); }
.hero-v6__cta:hover .hero-v6__cta-arrow { transform: translateX(4px); }
.hero-v6__cta::after {
    content: ""; position: absolute; inset: 0; border-radius: 999px;
    box-shadow: 0 0 0 0 var(--hv6-cta-shadow);
    animation: hv6-cta-halo 3.6s ease-out infinite;
}
.hero-v6__trust {
    font-size: 12.5px; color: var(--hv6-text-faint); font-weight: 500;
    display: flex; align-items: center; gap: 8px;
}
.hero-v6__trust svg { opacity: .75; }

/* ---- cadran ---- */
.hero-v6__dial-col { display: flex; justify-content: center; }
.hero-v6__dial-wrap {
    position: relative; display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1; width: 100%; max-width: 432px; margin: 0 auto;
}
.hero-v6__dial-wrap::before {
    content: ""; position: absolute; inset: 10%; border-radius: 50%;
    background: radial-gradient(circle, var(--hv6-halo) 0%, transparent 66%);
    filter: blur(34px);
    animation: hv6-breathe 5s var(--hv6-ease-soft) infinite;
}
.hero-v6__dial { position: relative; width: 100%; height: 100%; overflow: visible; }

.hv6-stop-0 { stop-color: var(--hv6-green-deep); }
.hv6-stop-1 { stop-color: var(--hv6-green); }
.hv6-stop-2 { stop-color: var(--hv6-green-bright); }

.hero-v6__tick {
    stroke: var(--hv6-tick); stroke-width: 1.5;
    opacity: 1; animation: hv6-tick-in .5s ease both;
}
.hero-v6__tick--major { stroke: var(--hv6-tick-major); stroke-width: 2.4; }

.hero-v6__inner-ring { fill: none; stroke: var(--hv6-inner-ring); stroke-width: 1; }
.hero-v6__ring-track { fill: none; stroke: var(--hv6-ring-track); stroke-width: 12; }
.hero-v6__ring-progress {
    fill: none; stroke: url(#hv6-grad-arc); stroke-width: 12; stroke-linecap: round;
    stroke-dasharray: 804.25; stroke-dashoffset: 0;
    animation: hv6-draw 1.7s var(--hv6-ease-out) .5s both;
}
.hero-v6__ring-glow {
    fill: none; stroke: var(--hv6-green); stroke-width: 12; stroke-linecap: round;
    stroke-dasharray: 804.25; stroke-dashoffset: 0;
    filter: blur(7px); opacity: var(--hv6-glow-opacity);
    animation: hv6-draw 1.7s var(--hv6-ease-out) .5s both;
}
.hero-v6__orbit {
    transform-origin: 180px 180px;
    animation: hv6-orbit 9s linear infinite;
}
.hero-v6__orbit circle { fill: var(--hv6-green-bright); }
.hero-v6__orbit .hero-v6__orbit-halo { fill: var(--hv6-halo); }

.hero-v6__ecg-base {
    fill: none; stroke: var(--hv6-ecg-base); stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round;
}
.hero-v6__ecg-pulse {
    fill: none; stroke: var(--hv6-green-bright); stroke-width: 3.6;
    stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 0 5px var(--hv6-green));
    opacity: 0;
}
.hero-v6__dial-label {
    text-anchor: middle; font-family: inherit;
    font-size: 12.5px; font-weight: 700; letter-spacing: 3px;
    fill: var(--hv6-label);
}
.hero-v6__dial-sub {
    text-anchor: middle; font-family: inherit;
    font-size: 11px; font-weight: 600; letter-spacing: 1.6px;
    fill: var(--hv6-green);
}

/* ---- chorégraphie d'entrée (CSS pur, dégrade sans JS) ---- */
.hero-v6 .hv6-reveal { animation: hv6-reveal .85s var(--hv6-ease-out) both; }
.hero-v6 .hv6-reveal--dial {
    animation-name: hv6-reveal-dial; animation-duration: 1.05s;
}

/* ---- keyframes ---- */
@keyframes hv6-reveal { from { opacity: 0; transform: translateY(26px); } }
@keyframes hv6-reveal-dial { from { opacity: 0; transform: translateY(20px) scale(.93); } }
@keyframes hv6-draw { from { stroke-dashoffset: 804.25; } }
@keyframes hv6-tick-in { from { opacity: 0; } }
@keyframes hv6-underline { to { transform: scaleX(1); } }
@keyframes hv6-pulse-dot {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: .55; }
}
@keyframes hv6-drift-a {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-58px,48px) scale(1.12); }
}
@keyframes hv6-drift-b {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(68px,-40px) scale(1.15); }
}
@keyframes hv6-breathe {
    0%,100% { transform: scale(.92); opacity: .72; }
    50% { transform: scale(1.06); opacity: 1; }
}
@keyframes hv6-orbit { to { transform: rotate(360deg); } }
@keyframes hv6-ecg-run { to { stroke-dashoffset: var(--hv6-ecg-end); } }
@keyframes hv6-cta-halo {
    0% { box-shadow: 0 0 0 0 var(--hv6-cta-shadow); }
    70%,100% { box-shadow: 0 0 0 22px rgba(0,0,0,0); }
}

/* ---- header transparent sur la landing (le hero passe derrière) ----
   Redevient solide dès que le hero est dépassé (.header-solid via JS)
   sinon le logo blanc serait illisible sur le contenu clair. */
.quiz-header { transition: background-color .3s ease, border-color .3s ease; }
.logo-text { transition: color .25s ease; }
body.is-landing:not(.header-solid) .quiz-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important;
}
body.is-landing:not(.header-solid):not(.hero-is-light) .logo-text { color: #fff; }
body.is-landing .progress-sections,
body.is-landing .progress-info { display: none; }

/* ---- responsive ---- */
@media (max-width: 880px) {
    .hero-v6__inner {
        grid-template-columns: 1fr; gap: 36px;
        text-align: center; max-width: 540px;
    }
    .hero-v6__copy { order: 2; }
    .hero-v6__dial-col { order: 1; }
    .hero-v6__eyebrow { align-self: center; }
    .hero-v6__title { margin-top: 20px; }
    .hero-v6__sub { margin-left: auto; margin-right: auto; }
    .hero-v6__chips, .hero-v6__cta-row { justify-content: center; }
    .hero-v6__dial-wrap { max-width: 290px; }
    .hero-v6__accent { white-space: normal; }
}
@media (max-width: 480px) {
    .hero-v6 { padding-top: 104px; }
    .hero-v6__cta-row { flex-direction: column; gap: 14px; }
    .hero-v6__cta { width: 100%; justify-content: center; }
}

/* ---- accessibilité : motion réduite ---- */
@media (prefers-reduced-motion: reduce) {
    .hero-v6 *, .hero-v6 *::before, .hero-v6 *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
    .hero-v6__accent::after { transform: scaleX(1); }
    .hero-v6__ecg-pulse { display: none; }
}

/* ============================================================
   HERO v6 — correctifs (2026-05-20) : resume-bar, final-CTA, mobile
   ============================================================ */

/* Resume-bar : le header se decale sous le bandeau "Reprendre mon bilan"
   (sinon le logo blanc se superpose au bandeau vert). */
.quiz-header {
    transition: background-color .3s ease, border-color .3s ease, top .25s ease;
}
body.has-resume-bar .quiz-header { top: var(--resume-h, 46px); }

/* Final-CTA : section reservee a la landing. Jamais pendant le bilan,
   l'email, le loading ou les resultats (etait un enfant <body> jamais masque). */
body:not(.is-landing) #finalCtaSection { display: none; }

/* Mobile <=480px : plus aucun debordement horizontal. */
@media (max-width: 480px) {
    /* Le bouton CTA ne depasse plus la largeur d'ecran (max-content -> 100%). */
    .hero-cta {
        max-width: 100% !important;
        padding: 16px 26px;
        font-size: 16px;
    }
    /* Final-CTA : le mot cle peut passer a la ligne, l'accent est porte
       par la couleur verte (le trait souligne est masque sur mobile). */
    .final-cta-keyword {
        white-space: normal;
        color: var(--apple-green);
    }
    .final-cta-keyword .hero-underline { display: none; }
}
