/* ==========================================================
   moduprix-simulateur-roi · V4
   styles.css — Direction Material 3 Expressive / IA tech 2026

   Philosophie : fond ambient permanent + surfaces opaques flottantes.
   ----------------------------------------------------------
   Pattern Vercel/Linear/Claude.ai : 4 halos pulsants en fond global
   (body::before fixed) restent visibles sur l'ensemble du parcours.
   Les zones de travail (.form-card, .result-hero, .breakdown-card,
   .module-core, .module-card, .cta-final) sont posées en surfaces
   blanches/tonales opaques qui flottent par-dessus.
   La gradation visuelle se fait par TRANSPARENCE DU PREMIER PLAN :
     • Translucide (glassmorphism) → .proof-card, .diagnostic-pill,
       .hero-eyebrow : laissent passer les halos derrière.
     • Opaque                     → cartes formulaire / résultat /
       modules : masquent les halos pour rester lisibles.

   Conventions :
     • Classes courtes anglaises (.hero, .form-card, .cta-primary, …).
     • Aucun préfixe.
     • Tokens uniquement (couleurs via :root + color-mix pour les alphas).
     • Mode sombre architecturé pour la V4.1 (placeholder ci-dessous).

   Sommaire :
     1.  Reset minimal moderne
     2.  Tokens — :root
     3.  Mode sombre — placeholder V4.1
     4.  Base — html, body, typographie
     5.  Layout — page & container
     6.  Header — logo + point pulsant + pastille Diagnostic IA
     7.  Hero — INTENSITÉ MAXIMALE
            7a. Container + 3 halos pulsants
            7b. Pastille « 2 minutes · Sans engagement »
            7c. Titre avec partie en gradient orange
            7d. Sous-titre
            7e. Cartes preuve sociale (glassmorphism)
            7f. Mentions de réassurance
     8.  Formulaire — INTENSITÉ MOYENNE
            8a. Carte glassmorphism flottante
            8b. Timeline horizontale 1·2·3
            8c. Étapes (transition slide+fade)
            8d. En-tête d'étape (title + intro, sans eyebrow)
            8e. Champs (label, hint, input, select)
            8f. Curseurs Material 3 Expressive
            8g. Toggle Oui/Non
            8h. Encart de synthèse de validation
            8i. Actions (Retour / Continuer / CTA wahou)
     9.  Page résultat — SOBRE PREMIUM
            9a. Container & bascule de fond
            9b. Bloc principal violet + badge
            9c. Chiffre principal Geist Mono 56 px
            9d. Tableau fourchette basse · haute · mensuel
            9e. Décomposition (3 cartes casse / temps / litiges)
            9f. Modules recommandés (socle + grille 2×2)
            9g. CTA final « Allons plus loin ensemble »
            9h. Mention prudente en pied
     10. Modale RDV (Calendly + repli formulaire court)
            10a. Backdrop & dialog
            10b. En-tête (titre, sous-titre, croix)
            10c. Vue 1 — placeholder Calendly glassmorphism
            10d. Séparateur « ou » + bouton outline orange
            10e. Vue 2 — formulaire 4 champs + bouton retour
            10f. Bouton « Envoyer ma demande »
            10g. Écran de confirmation
     11. États de validation (missing / invalid / astérisque requis)
     12. Animations & keyframes
     13. Accessibilité (focus visible, prefers-reduced-motion)
     14. Responsive (tablette / mobile / mobile XS)
   ========================================================== */


/* ==========================================================
   1. Reset minimal moderne
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }


/* ==========================================================
   2. Tokens — :root
   ========================================================== */

:root {
  /* --- Palette principale (verrouillée CLAUDE.md §3) --- */
  --mp-violet-deep:  #1D0E48;
  --mp-violet-rich:  #534AB7;
  --mp-violet-soft:  #F7F5FF;
  --mp-violet-mist:  #EDE9FE;
  --mp-orange-core:  #E6904C;
  --mp-orange-glow:  #F5A968;
  --mp-orange-pale:  #F4C28A;
  --mp-orange-soft:  #FFF8F1;
  --mp-teal-core:    #63D8CA;
  --mp-teal-deep:    #0F6E56;
  --mp-teal-soft:    #E1F5EE;
  --mp-ink:          #111827;
  --mp-ink-soft:     #6B7280;
  --mp-ink-mute:     #9CA3AF;
  --mp-line:         #E5E7EB;
  --mp-line-soft:    #F0F1F4;

  /* --- Neutres système --- */
  --mp-white:        #FFFFFF;
  --mp-black:        #000000;

  /* --- Fond et surfaces --- */
  --mp-bg-from:      #FAFBFF;
  --mp-bg-to:        #F4F1FF;
  --mp-surface:      #FFFFFF;
  --mp-surface-quiet:#FAFBFF;

  /* --- Système d'alerte (2 niveaux, différenciés) --- */
  --mp-warn-amber:    #B07A2C; /* texte champ "à compléter" */
  --mp-danger-coral:  #DC2626; /* texte erreur réelle (rouge moderne Stripe/Linear) */

  /* --- Accents secondaires (icônes décomposition / proof cards) --- */
  --mp-accent-coral-bg: #FCE5D9;
  --mp-accent-coral-fg: #C9621D;
  --mp-accent-green-bg: #DCF5E5;
  --mp-accent-green-fg: #1F7A41;
  --mp-accent-amber-bg: #FBEFCC;
  --mp-accent-amber-fg: #8A6914;

  /* --- Gradients --- */
  --mp-grad-bg:           linear-gradient(180deg, var(--mp-bg-from) 0%, var(--mp-bg-to) 100%);
  --mp-grad-orange:       linear-gradient(135deg, var(--mp-orange-core) 0%, var(--mp-orange-glow) 100%);
  --mp-grad-orange-text:  linear-gradient(135deg, var(--mp-orange-core) 0%, var(--mp-orange-glow) 50%, var(--mp-orange-pale) 100%);
  --mp-grad-orange-violet: linear-gradient(90deg,
                              color-mix(in srgb, var(--mp-orange-core) 60%, transparent) 0%,
                              var(--mp-violet-mist) 100%);

  /* --- Espacements (système 4 px) --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* --- Rayons --- */
  --r-input:     14px;
  --r-card-soft: 16px;
  --r-card:      20px;
  --r-card-hero: 24px;
  --r-pill:      100px;
  --r-tag:       8px;

  /* --- Typographie --- */
  --font-display: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* --- Élévations (ombres tonales construites à partir des couleurs sources) --- */
  --shadow-card:
    0 12px 40px color-mix(in srgb, var(--mp-violet-deep) 8%, transparent),
    0 2px 8px   color-mix(in srgb, var(--mp-violet-deep) 4%, transparent);
  --shadow-card-soft:
    0 4px 16px color-mix(in srgb, var(--mp-violet-deep) 5%, transparent);
  --shadow-cta-orange:
    0 12px 32px color-mix(in srgb, var(--mp-orange-core) 45%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--mp-white) 40%, transparent);
  --shadow-cta-orange-hover:
    0 16px 40px color-mix(in srgb, var(--mp-orange-core) 55%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--mp-white) 45%, transparent);
  --shadow-glow-orange:
    0 0 32px color-mix(in srgb, var(--mp-orange-core) 40%, transparent);
  --shadow-modal:
    0 32px 80px color-mix(in srgb, var(--mp-violet-deep) 22%, transparent),
    0 4px 12px  color-mix(in srgb, var(--mp-violet-deep) 6%, transparent);

  /* --- Durées d'animation (tokenisées pour cohérence du tempo) --- */
  --duration-fast:  160ms;
  --duration-base:  240ms;
  --duration-slow:  320ms;
  --duration-pulse: 2400ms;
  --duration-shine: 3600ms;

  /* --- Easings --- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================
   3. Mode sombre — placeholder V4.1
   --------------------------------------------------------------
   Pour activer le mode sombre, déclarer ici un bloc miroir
   réécrivant les tokens couleur/surface. L'ensemble du fichier
   se mettra à jour automatiquement grâce aux variables.
   ========================================================== */

/*
[data-theme="dark"] :root {
  --mp-violet-deep:   #E6E1FF;
  --mp-violet-rich:   #B4ACEC;
  --mp-violet-soft:   #1A1330;
  --mp-violet-mist:   #221A3D;
  --mp-ink:           #F5F5F7;
  --mp-ink-soft:      #A5A8B0;
  --mp-ink-mute:      #6B7280;
  --mp-line:          #2A2438;
  --mp-line-soft:     #1F1A2C;
  --mp-bg-from:       #0C0918;
  --mp-bg-to:         #15102A;
  --mp-surface:       #1A1330;
  --mp-surface-quiet: #100B22;
}
*/


/* ==========================================================
   4. Base — html, body, typographie
   ========================================================== */

body {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.55;
  color: var(--mp-ink);
  background: var(--mp-grad-bg);
  background-attachment: fixed;
}


/* ==========================================================
   4bis. Fond ambient global (halos permanents)
   ----------------------------------------------------------
   Pattern Vercel/Linear/Claude.ai : 4 halos pulsants fixés sur
   le viewport, visibles autour de toutes les zones de travail
   (formulaire, résultat). Les cartes (form, résultat) sont
   posées en surfaces opaques au-dessus.
   ========================================================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* Halo orange — top-right, centre au coin pour rester visible
       jusqu'au centre du viewport (passe derrière le titre). */
    radial-gradient(circle 720px at 100% 5%,
      color-mix(in srgb, var(--mp-orange-core) 45%, transparent) 0%,
      transparent 65%),
    /* Halo turquoise — top-left, centre proche du bord */
    radial-gradient(circle 640px at 0% 25%,
      color-mix(in srgb, var(--mp-teal-core) 45%, transparent) 0%,
      transparent 65%),
    /* Halo violet — bottom-right */
    radial-gradient(circle 680px at 90% 95%,
      color-mix(in srgb, var(--mp-violet-rich) 45%, transparent) 0%,
      transparent 65%),
    /* Halo turquoise — bottom-left */
    radial-gradient(circle 600px at 5% 100%,
      color-mix(in srgb, var(--mp-teal-core) 45%, transparent) 0%,
      transparent 65%);
  animation: ambient-pulse var(--duration-shine) var(--ease-in-out) infinite;
}


/* ==========================================================
   5. Layout — page & container
   ========================================================== */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Texte uniquement pour lecteurs d'écran */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }


/* ==========================================================
   6. Header — logo + point pulsant + pastille Diagnostic IA
   ========================================================== */

.header {
  position: relative;
  z-index: 10;
  padding: var(--space-4) 0;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 30px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Point pulsant orange à côté du logo */
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mp-orange-core);
  box-shadow: 0 0 12px color-mix(in srgb, var(--mp-orange-core) 80%, transparent);
  animation: dot-pulse var(--duration-pulse) var(--ease-in-out) infinite;
  flex-shrink: 0;
}

/* Pastille « Diagnostic IA » */
.diagnostic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px 0 10px;
  background: color-mix(in srgb, var(--mp-white) 60%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 0.5px solid color-mix(in srgb, var(--mp-white) 80%, transparent);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mp-violet-deep);
  letter-spacing: 0.005em;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--mp-violet-deep) 5%, transparent);
}

.diagnostic-pill .ti {
  color: var(--mp-orange-core);
  font-size: 15px;
}


/* ==========================================================
   7. Hero — INTENSITÉ MAXIMALE
   ========================================================== */

/* 7a. Container + halos pulsants ---------------------------- */

.hero {
  position: relative;
  /* Réduction marquée pour que l'accroche tienne dans un viewport 1080p
     (et reste agréable sur 1366×768). Espacements internes aussi compactés. */
  padding: var(--space-7) 0 var(--space-5);
}

/* Les anciens conteneurs .hero-halos / .halo sont devenus inertes
   (les halos sont désormais en fond global via body::before ci-dessous,
   pattern Vercel/Linear/Claude.ai). On cache les éléments HTML hérités
   pour qu'ils n'affichent rien si présents. */
.hero-halos,
.halo { display: none; }

/* 7b. Pastille « 2 minutes · Sans engagement » -------------- */

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  background: color-mix(in srgb, var(--mp-white) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 0.5px solid color-mix(in srgb, var(--mp-white) 80%, transparent);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--mp-violet-deep);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--mp-violet-deep) 6%, transparent);
}

.hero-eyebrow-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mp-grad-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mp-white);
  font-size: 13px;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mp-orange-core) 35%, transparent);
  flex-shrink: 0;
}

.hero-eyebrow .ti { line-height: 1; }

/* 7c. Titre ------------------------------------------------- */

.hero-title {
  margin: var(--space-4) 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--mp-ink);
  max-width: 720px;
}

.hero-title-accent {
  background: var(--mp-grad-orange-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 7d. Sous-titre ------------------------------------------- */

.hero-subtitle {
  margin-bottom: var(--space-5);
  font-size: 15px;
  line-height: 1.55;
  color: var(--mp-violet-rich);
  max-width: 580px;
}

/* 7e. Cartes preuve sociale -------------------------------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  max-width: 720px;
}

.proof-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  /* Gradient interne 85% → 70% pour une profondeur de glassmorphism plus marquée */
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--mp-white) 85%, transparent) 0%,
    color-mix(in srgb, var(--mp-white) 70%, transparent) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 0.5px solid color-mix(in srgb, var(--mp-white) 90%, transparent);
  border-radius: var(--r-card-soft);
  /* Ombre flottante plus marquée — les cartes doivent flotter, pas être posées */
  box-shadow:
    0 8px 32px color-mix(in srgb, var(--mp-violet-deep) 10%, transparent),
    0 2px 8px  color-mix(in srgb, var(--mp-violet-deep) 6%, transparent);
}

.proof-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.proof-icon--coral { background: var(--mp-accent-coral-bg); color: var(--mp-accent-coral-fg); }
.proof-icon--green { background: var(--mp-accent-green-bg); color: var(--mp-accent-green-fg); }
.proof-icon--amber { background: var(--mp-accent-amber-bg); color: var(--mp-accent-amber-fg); }

.proof-stat {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--mp-violet-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.proof-label {
  font-size: 11.5px;
  color: var(--mp-ink-soft);
  margin-top: 2px;
  line-height: 1.3;
}

/* 7f. Mentions de réassurance ------------------------------ */

.reassurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  font-size: 12.5px;
  color: var(--mp-ink-soft);
}

.reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reassurance-item .ti {
  color: var(--mp-teal-deep);
  font-size: 14px;
}


/* ==========================================================
   8. Formulaire — INTENSITÉ MOYENNE
   ========================================================== */

/* 8a. Carte formulaire — surface opaque flottante ----------- */
/* Fond blanc opaque. Les halos ambient restent visibles AUTOUR de la
   carte (et non au travers comme dans une approche glassmorphism). */

.form-card {
  position: relative;
  background: var(--mp-white);
  border: 1px solid var(--mp-line-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: var(--space-6) var(--space-7) var(--space-5);
  margin-top: var(--space-3);
}

/* En mode "formulaire seul" (étapes 2 et 3), le bloc d'accroche disparaît.
   Les halos restent permanents en fond global (body::before), aucune
   atténuation nécessaire. */
body.is-form-only .hero-eyebrow,
body.is-form-only .hero-title,
body.is-form-only .hero-subtitle,
body.is-form-only .proof-grid,
body.is-form-only .reassurance { display: none; }

body.is-form-only .hero { padding-top: var(--space-7); }

/* 8b. Timeline horizontale 1·2·3 --------------------------- */

.timeline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--mp-line-soft);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.timeline-num {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  color: var(--mp-ink-soft);
  transition:
    background var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.timeline-step--active .timeline-num {
  background: var(--mp-grad-orange);
  border-color: transparent;
  color: var(--mp-white);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mp-orange-core) 40%, transparent);
}

.timeline-step--active .timeline-num::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--mp-grad-orange);
  opacity: 0.35;
  filter: blur(10px);
  z-index: -1;
}

.timeline-step--done .timeline-num {
  background: var(--mp-teal-soft);
  border-color: transparent;
  color: var(--mp-teal-deep);
}

.timeline-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mp-ink-soft);
  transition: color var(--duration-base) var(--ease-out);
}

.timeline-step--active .timeline-label {
  color: var(--mp-ink);
  font-weight: 600;
}

.timeline-step--done .timeline-label {
  color: var(--mp-teal-deep);
}

.timeline-line {
  flex: 1;
  height: 1px;
  background: var(--mp-line);
}

.timeline-line--active {
  background: var(--mp-grad-orange-violet);
}

/* 8c. Étapes (slide + fade) -------------------------------- */

.step {
  display: none;
}

.step--active {
  display: block;
  animation: fade-slide var(--duration-slow) var(--ease-out) both;
}

/* 8d. En-tête d'étape (title + intro) ---------------------- */
/* La timeline horizontale (8b) porte déjà l'indicateur d'étape.
   Pas d'eyebrow ici, pour éviter le doublon d'information. */

.step-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-6);
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: var(--mp-ink);
}

.step-intro {
  font-size: 14px;
  color: var(--mp-ink-soft);
  line-height: 1.55;
  max-width: 580px;
}

/* 8e. Champs ----------------------------------------------- */

.fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--hidden { display: none; }

.field-label {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-ink);
  letter-spacing: -0.005em;
  line-height: 1.4;
}

.field-required {
  font-size: 13px;
  font-weight: 500;
  color: var(--mp-ink-mute);
  line-height: 1;
}

.field-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--mp-ink-mute);
}

.field-hint {
  font-size: 12.5px;
  color: var(--mp-ink-soft);
  line-height: 1.5;
  letter-spacing: 0.002em;
  margin-bottom: 2px;
}

.field-input {
  height: 48px;
  width: 100%;
  padding: 0 var(--space-4);
  background: color-mix(in srgb, var(--mp-violet-soft) 50%, var(--mp-white));
  border: 1px solid var(--mp-line);
  border-radius: var(--r-input);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--mp-ink);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.field-input::placeholder {
  color: var(--mp-ink-mute);
  font-weight: 400;
}

.field-input:hover {
  border-color: color-mix(in srgb, var(--mp-violet-rich) 25%, var(--mp-line));
}

.field-input:focus {
  outline: none;
  border-color: var(--mp-orange-core);
  background: var(--mp-white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mp-orange-core) 18%, transparent);
}

/* ----------------------------------------------------------
   Neutralisation COMPLÈTE des styles natifs d'invalidité.
   Chrome applique notamment un background-image zébré orange
   diagonal sur les <select required> dont l'option par défaut
   est vide (visible au chargement de la page). Le simple
   box-shadow / outline ne suffit pas — il faut explicitement
   tuer background-image, sans casser notre chevron custom.
   ---------------------------------------------------------- */
input:invalid,
input:-moz-ui-invalid,
input:user-invalid,
select:invalid,
select:-moz-ui-invalid,
select:user-invalid,
textarea:invalid,
textarea:-moz-ui-invalid,
textarea:user-invalid {
  box-shadow: none;
  outline: none;
  background-image: none;
}

/* Sécurité supplémentaire pour les input/textarea du simulateur :
   aucun background-image natif Chrome ne doit s'imposer. */
input.field-input,
input.field-input:invalid,
input.field-input:focus:invalid,
textarea.field-input,
textarea.field-input:invalid {
  background-image: none !important;
}

/* ----------------------------------------------------------
   Select avec chevron custom. Les sélecteurs ciblent
   explicitement TOUS les états (:invalid, :user-invalid,
   :-moz-ui-invalid) pour avoir une spécificité au moins
   égale à celle de l'UA stylesheet. Avec !important en plus,
   le chevron survit même face au zébré Chrome.
   ---------------------------------------------------------- */
.field-select,
.field-select:invalid,
.field-select:user-invalid,
.field-select:-moz-ui-invalid {
  background-color: color-mix(in srgb, var(--mp-violet-soft) 50%, var(--mp-white));
  padding-right: 48px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right var(--space-5) center !important;
  cursor: pointer;
  text-overflow: ellipsis;
}

.field-select:focus,
.field-select:focus:invalid,
.field-select:focus:user-invalid {
  background-color: var(--mp-white);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23E6904C' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
}

/* Textarea libre */
.field-input--textarea {
  height: auto;
  min-height: 96px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
  line-height: 1.55;
}

/* ==========================================================
   Custom dropdown (remplace <select> natif pour éliminer le
   rendu OS zébré orange Chrome/Windows sur <option value="">
   d'un select :invalid). Pattern WAI-ARIA Listbox.
   ========================================================== */

.custom-select {
  position: relative;
  width: 100%;
}

/* Le trigger hérite des styles .field-input via la classe en HTML.
   On ne surcharge que ce qui change pour un <button> (text-align,
   display flex pour aligner le chevron à droite, etc.). */
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.custom-select-trigger:hover {
  border-color: color-mix(in srgb, var(--mp-violet-rich) 25%, var(--mp-line));
}

.custom-select-trigger:focus-visible,
.custom-select-trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--mp-violet-rich);
  background: var(--mp-white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mp-violet-rich) 15%, transparent);
}

.custom-select-value {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mp-ink);
}

/* Valeur vide → couleur placeholder pour rester cohérent avec les inputs */
.custom-select-trigger[data-value=""] .custom-select-value {
  color: var(--mp-ink-mute);
}

.custom-select-chevron {
  flex-shrink: 0;
  color: var(--mp-ink-soft);
  font-size: 16px;
  line-height: 1;
  transition: transform 240ms ease-out, color 160ms ease-out;
}

.custom-select-trigger[aria-expanded="true"] .custom-select-chevron {
  transform: rotate(180deg);
  color: var(--mp-violet-rich);
}

/* Liste déroulante — flotte sous le trigger */
.custom-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: 14px;
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--mp-violet-deep) 4%, transparent),
    0 12px 32px color-mix(in srgb, var(--mp-violet-deep) 12%, transparent);
  max-height: 280px;
  overflow-y: auto;
}

.custom-select-list:not([hidden]) {
  animation: dropdown-open 240ms ease-out;
}

@keyframes dropdown-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.custom-select-list li {
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mp-ink);
  transition: background-color 120ms ease-out, color 120ms ease-out;
}

.custom-select-list li:hover {
  background: var(--mp-violet-soft);
  color: var(--mp-violet-deep);
}

/* Option actuellement sous focus clavier (navigation flèches) */
.custom-select-list li.custom-select-option--active {
  background: var(--mp-violet-soft);
  color: var(--mp-violet-deep);
  outline: 2px solid var(--mp-violet-rich);
  outline-offset: -2px;
}

/* Option déjà sélectionnée (persiste après fermeture) */
.custom-select-list li.custom-select-option--selected {
  background: var(--mp-violet-mist);
  color: var(--mp-violet-deep);
  font-weight: 500;
}

.custom-select-list li[aria-selected="true"] {
  font-weight: 500;
}

/* État « à compléter » sur le wrapper — strict alignement avec
   le style des autres champs missing pour cohérence visuelle. */
.custom-select[data-state="missing"] .custom-select-trigger {
  background-color: rgb(255, 247, 237) !important;
  border: 1.5px solid rgb(251, 146, 60) !important;
}

.custom-select[data-state="missing"] .custom-select-trigger:focus-visible,
.custom-select[data-state="missing"] .custom-select-trigger[aria-expanded="true"] {
  border-color: rgb(234, 88, 12) !important;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.25) !important;
}

/* Champ avec suffixe inline (ex. « € / mois ») */
.field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-input--with-suffix { padding-right: 92px; }

.field-input-suffix {
  position: absolute;
  right: var(--space-4);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mp-ink-soft);
  letter-spacing: 0.005em;
  pointer-events: none;
}

/* 8f. Curseurs Material 3 Expressive ----------------------- */

.slider-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.slider-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.slider-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--mp-violet-deep);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.slider-value-unit {
  font-size: 13px;
  color: var(--mp-ink-soft);
  margin-left: 4px;
  font-family: var(--font-display);
  font-weight: 400;
}

.slider-bounds {
  font-size: 11px;
  color: var(--mp-ink-mute);
  font-variant-numeric: tabular-nums;
}

/*
   Slider M3 Expressive — track 6 px, fill dégradé pilotable en JS via
   la variable --slider-percent posée inline sur l'élément.
   Fallback CSS : si JS n'a pas encore initialisé la variable, le track
   reste un rail neutre lisible (0 %).
*/
.slider,
input[type="range"] {
  --slider-percent: 0%;
}
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--mp-orange-core) 0%,
    var(--mp-orange-core) var(--slider-percent),
    var(--mp-violet-mist) var(--slider-percent),
    var(--mp-violet-mist) 100%);
  border-radius: var(--r-pill);
  outline: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--mp-white);
  border: 2px solid var(--mp-orange-core);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mp-orange-core) 30%, transparent);
  transition: transform var(--duration-fast) var(--ease-out);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--mp-white);
  border: 2px solid var(--mp-orange-core);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mp-orange-core) 30%, transparent);
}

/* Variante violette pour les sliders « temps » */
.slider--violet {
  background: linear-gradient(
    90deg,
    var(--mp-violet-rich) 0%,
    var(--mp-violet-rich) var(--slider-percent, 0%),
    var(--mp-violet-mist) var(--slider-percent, 0%),
    var(--mp-violet-mist) 100%);
}

.slider--violet::-webkit-slider-thumb {
  border-color: var(--mp-violet-rich);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mp-violet-rich) 30%, transparent);
}

.slider--violet::-moz-range-thumb {
  border-color: var(--mp-violet-rich);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mp-violet-rich) 30%, transparent);
}

.slider--violet .slider-value { color: var(--mp-violet-rich); }

/* ─────────────────────────────────────────────────────────────
   Panneau d'ajustement coût horaire (page résultat)
   Le curseur réutilise la base .slider ; .adjuster-slider ne
   sert qu'à un éventuel ciblage spécifique.
───────────────────────────────────────────────────────────── */

.result-adjuster {
  background: var(--mp-white);
  border: 1px solid var(--mp-line-soft);
  border-radius: 14px;
  margin: 0 0 var(--space-6) 0;
  overflow: hidden;
}

.result-adjuster-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--mp-ink);
  text-align: left;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.result-adjuster-toggle:hover {
  background: color-mix(in srgb, var(--mp-violet-soft) 60%, var(--mp-white));
}

.result-adjuster-toggle-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-adjuster-toggle-content .ti-adjustments {
  font-size: 18px;
  color: var(--mp-violet-rich);
}

.result-adjuster-chevron {
  font-size: 16px;
  color: var(--mp-ink-soft);
  transition: transform 240ms var(--ease-out);
}

.result-adjuster-toggle[aria-expanded="true"] .result-adjuster-chevron {
  transform: rotate(180deg);
}

.result-adjuster-toggle[aria-expanded="true"] {
  border-bottom: 1px solid var(--mp-line-soft);
}

.result-adjuster-panel {
  padding: var(--space-5);
  animation: adjuster-open 240ms var(--ease-out);
}

@keyframes adjuster-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-adjuster-field {
  margin-bottom: var(--space-5);
}

.result-adjuster-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mp-ink);
  margin-bottom: var(--space-2);
}

.result-adjuster-hint {
  font-size: 12px;
  font-style: italic;
  color: var(--mp-ink-soft);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.result-adjuster-slider-container {
  padding: 0 var(--space-1);
}

.result-adjuster-value {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--mp-violet-deep);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-3);
}

.result-adjuster-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mp-ink-mute);
  margin-top: var(--space-2);
}

.adjuster-slider {
  width: 100%;
}

.result-adjuster-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3) var(--space-5);
  background: var(--mp-orange-core);
  color: var(--mp-white);
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              transform 80ms var(--ease-out);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--mp-orange-core) 25%, transparent);
}

.result-adjuster-submit:hover {
  background: color-mix(in srgb, var(--mp-orange-core) 90%, black);
  transform: translateY(-1px);
}

.result-adjuster-submit:active {
  transform: translateY(0);
}

.result-adjuster-submit.is-success {
  background: var(--mp-teal-deep);
}

.result-adjuster-submit:disabled {
  cursor: default;
}

.result-adjuster-submit .ti-refresh {
  font-size: 16px;
  transition: transform 400ms var(--ease-out);
}

.result-adjuster-submit:hover:not(:disabled) .ti-refresh {
  transform: rotate(45deg);
}

/* 8g. Toggle Oui/Non (segmented control) ------------------- */

.segmented {
  display: inline-flex;
  align-items: center;
  background: color-mix(in srgb, var(--mp-violet-soft) 80%, var(--mp-white));
  border: 1px solid var(--mp-line);
  border-radius: var(--r-input);
  padding: 4px;
  gap: 2px;
  width: fit-content;
}

.segmented-option {
  position: relative;
  cursor: pointer;
}

.segmented-option input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.segmented-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 96px;
  padding: 0 var(--space-5);
  font-size: 14px;
  font-weight: 500;
  color: var(--mp-ink-soft);
  border-radius: 10px;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.segmented-option input:checked + span {
  background: var(--mp-white);
  color: var(--mp-ink);
  font-weight: 600;
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--mp-violet-deep) 10%, transparent),
    0 2px 6px color-mix(in srgb, var(--mp-violet-deep) 5%, transparent);
}

/* 8h. Encart de synthèse de validation --------------------- */

.summary {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: var(--space-5);
  background: color-mix(in srgb, var(--mp-orange-core) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--mp-orange-core) 22%, transparent);
  border-radius: var(--r-card-soft);
  animation: fade-slide var(--duration-base) var(--ease-out) both;
}

.summary--visible { display: flex; }

.summary-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--mp-warn-amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 18px;
}

.summary-text {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--mp-violet-deep);
  line-height: 1.5;
}

/* 8i. Actions ---------------------------------------------- */

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--mp-line-soft);
}

.actions--single { justify-content: flex-end; }

/* Bouton générique */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 var(--space-6);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  background: transparent;
  color: inherit;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.btn:active { transform: translateY(1px); }

.btn-arrow {
  font-size: 14px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn-arrow:not(.btn-arrow--back) {
  transform: translateX(2px);
}

.btn:hover .btn-arrow--back {
  transform: translateX(-2px);
}

/* Variante ghost (Retour) */
.btn-ghost {
  background: transparent;
  color: var(--mp-ink-soft);
  border: 1.5px solid var(--mp-line);
}

.btn-ghost:hover {
  color: var(--mp-ink);
  border-color: var(--mp-ink-mute);
  background: color-mix(in srgb, var(--mp-violet-soft) 40%, transparent);
}

/* Variante primary (Continuer) — orange avec halo réduit */
.btn-primary {
  position: relative;
  background: var(--mp-grad-orange);
  color: var(--mp-white);
  height: 46px;
  padding: 0 var(--space-7);
  box-shadow:
    0 4px 14px color-mix(in srgb, var(--mp-orange-core) 22%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--mp-white) 22%, transparent);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--r-pill);
  background: var(--mp-grad-orange);
  opacity: 0.20;
  filter: blur(10px);
  z-index: -1;
  transition: opacity var(--duration-base) var(--ease-out);
}

.btn-primary:hover {
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--mp-orange-core) 30%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--mp-white) 28%, transparent);
}

.btn-primary:hover::before { opacity: 0.32; }

/* Variante CTA wahou (Lancer mon diagnostic) — halo flou prononcé */
.btn-cta {
  position: relative;
  background: var(--mp-grad-orange);
  color: var(--mp-white);
  height: 52px;
  padding: 0 var(--space-8);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-cta-orange);
}

.btn-cta::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: var(--r-pill);
  background: var(--mp-grad-orange);
  opacity: 0.45;
  filter: blur(16px);
  z-index: -1;
  transition: opacity var(--duration-base) var(--ease-out);
}

.btn-cta:hover {
  box-shadow: var(--shadow-cta-orange-hover);
}

.btn-cta:hover::before { opacity: 0.65; }


/* ==========================================================
   9. Page résultat — SOBRE PREMIUM
   ========================================================== */

/* 9a. Container & bascule de fond -------------------------- */

/* Quand JS pose la classe is-result sur le body, on masque l'accroche
   et le formulaire. Les halos ambient restent visibles (cohérence
   visuelle "fond toujours actif"). Le bloc résultat se pose en opaque. */
body.is-result .hero { display: none; }
body.is-result .form-card { display: none; }

.result {
  padding: var(--space-10) 0 var(--space-12);
}

/* 9b. Bloc principal violet + badge ------------------------ */

.result-hero {
  position: relative;
  background: var(--mp-violet-soft);
  border: 0.5px solid color-mix(in srgb, var(--mp-violet-deep) 6%, transparent);
  border-radius: var(--r-card-hero);
  padding: var(--space-7) var(--space-8);
  overflow: hidden;
  isolation: isolate;
}

/* Halo orange diffus très très subtil derrière le chiffre */
.result-hero::before {
  content: "";
  position: absolute;
  bottom: -140px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--mp-orange-core) 8%, transparent) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(6px);
}

.result-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: var(--mp-white);
  border: 1px solid color-mix(in srgb, var(--mp-violet-deep) 8%, transparent);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mp-violet-rich);
  letter-spacing: 0.01em;
}

.result-label {
  margin-bottom: var(--space-3);
  font-size: 12px;
  font-weight: 600;
  color: var(--mp-violet-rich);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 9c. Chiffre principal Geist Mono 56 px ------------------- */

.result-amount {
  font-family: var(--font-mono);
  font-size: clamp(40px, 6.8vw, 56px);
  font-weight: 600;
  color: var(--mp-violet-deep);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: var(--space-5);
}

/* 9d. Tableau fourchette basse · haute · mensuel ----------- */

.result-range {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--mp-violet-deep) 10%, transparent);
}

.result-range-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-range-col + .result-range-col {
  padding-left: var(--space-5);
  border-left: 1px solid color-mix(in srgb, var(--mp-violet-deep) 8%, transparent);
}

.result-range-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--mp-violet-rich);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-range-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--mp-violet-deep);
  font-variant-numeric: tabular-nums;
}

/* 9e. Décomposition --------------------------------------- */

.section-title {
  margin: var(--space-8) 0 var(--space-4);
  font-size: 11px;
  font-weight: 600;
  color: var(--mp-ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* En-tête de section résultat (titre + sous-titre prudent) */
.result-intro {
  margin-bottom: var(--space-6);
}

.result-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--mp-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-align: left;
  margin: 0 0 var(--space-2) 0;
}

.result-subtitle {
  font-size: 13px;
  color: var(--mp-ink-soft);
  line-height: 1.5;
  margin: 0;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.breakdown-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--mp-white);
  border: 1px solid var(--mp-line-soft);
  border-radius: var(--r-card-soft);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.breakdown-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-soft);
}

.breakdown-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.breakdown-icon--coral { background: var(--mp-accent-coral-bg); color: var(--mp-accent-coral-fg); }
.breakdown-icon--green { background: var(--mp-accent-green-bg); color: var(--mp-accent-green-fg); }
.breakdown-icon--amber { background: var(--mp-accent-amber-bg); color: var(--mp-accent-amber-fg); }

.breakdown-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--mp-violet-deep);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.breakdown-label {
  font-size: 13px;
  color: var(--mp-ink-soft);
  line-height: 1.4;
}

/* 9f. Modules recommandés --------------------------------- */

.module-core {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--mp-violet-soft);
  border: 1px solid color-mix(in srgb, var(--mp-violet-rich) 12%, transparent);
  border-radius: var(--r-card-soft);
  margin-bottom: var(--space-3);
}

.module-core-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mp-grad-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mp-white);
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mp-orange-core) 25%, transparent);
}

.module-core-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.module-core-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--mp-violet-deep);
  letter-spacing: -0.01em;
}

.module-core-desc {
  font-size: 13px;
  color: var(--mp-ink-soft);
  line-height: 1.45;
}

.module-core-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: var(--mp-violet-deep);
  color: var(--mp-white);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.module-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: var(--r-card-soft);
  transition:
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.module-card:hover {
  border-color: color-mix(in srgb, var(--mp-violet-rich) 18%, var(--mp-line));
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-soft);
}

.module-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mp-violet-soft);
  color: var(--mp-violet-rich);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.module-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.module-card-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mp-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.module-card-desc {
  font-size: 12px;
  color: var(--mp-ink-soft);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 9g. CTA final ------------------------------------------- */

.cta-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: var(--mp-orange-soft);
  border: 1px solid color-mix(in srgb, var(--mp-orange-core) 24%, transparent);
  border-radius: var(--r-card-soft);
}

.cta-final-text {
  flex: 1;
  min-width: 0;
}

.cta-final-title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mp-violet-deep);
  letter-spacing: -0.012em;
}

.cta-final-sub {
  font-size: 13px;
  color: var(--mp-ink-soft);
  line-height: 1.5;
}

/* CTA final : orange plein SANS glow flou (mode confiance) */
.cta-final-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 var(--space-6);
  background: var(--mp-grad-orange);
  color: var(--mp-white);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--mp-orange-core) 25%, transparent);
  transition:
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.cta-final-btn:hover {
  box-shadow: 0 6px 18px color-mix(in srgb, var(--mp-orange-core) 32%, transparent);
}

.cta-final-btn:active { transform: translateY(1px); }

/* 9h. Mention prudente ------------------------------------ */

.disclaimer {
  max-width: 600px;
  margin: var(--space-8) auto 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--mp-ink-mute);
  line-height: 1.6;
}


/* ==========================================================
   10. Modale RDV (Calendly + repli formulaire court)
   ========================================================== */

/* 10a. Backdrop & dialog ---------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}

.modal--open {
  display: flex;
  animation: fade-slide var(--duration-base) var(--ease-out) both;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--mp-black) 50%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: var(--r-card-hero);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-open var(--duration-base) var(--ease-out) both;
}

/* 10b. En-tête modale ------------------------------------ */

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-7) var(--space-4);
}

.modal-title {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--mp-violet-deep);
}

.modal-sub {
  font-size: 13px;
  color: var(--mp-ink-soft);
  line-height: 1.55;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mp-ink-soft);
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 16px;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.modal-close:hover {
  background: var(--mp-violet-mist);
  color: var(--mp-violet-deep);
}

.modal-body {
  padding: 0 var(--space-7) var(--space-7);
  overflow-y: auto;
}

/* 10c. Vue 1 — placeholder Calendly ----------------------- */

.modal-view {
  display: none;
}

.modal-view--active {
  display: block;
  animation: fade-slide var(--duration-base) var(--ease-out) both;
}

.calendly-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 220px;
  padding: var(--space-7) var(--space-5);
  background: color-mix(in srgb, var(--mp-violet-soft) 60%, var(--mp-white));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--mp-violet-rich) 12%, transparent);
  border-radius: var(--r-card-soft);
  text-align: center;
}

.calendly-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mp-white);
  color: var(--mp-orange-core);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow:
    0 2px 8px color-mix(in srgb, var(--mp-violet-deep) 8%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--mp-white) 80%, transparent);
}

.calendly-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mp-violet-deep);
}

.calendly-note {
  font-size: 12.5px;
  color: var(--mp-ink-soft);
  line-height: 1.55;
  max-width: 340px;
}

/* 10d. Séparateur « ou » + bouton outline ----------------- */

.modal-separator {
  position: relative;
  margin: var(--space-5) 0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mp-ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.modal-separator::before,
.modal-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 22px);
  height: 1px;
  background: var(--mp-line);
}

.modal-separator::before { left: 0; }
.modal-separator::after  { right: 0; }

.btn-outline-orange {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  background: transparent;
  color: var(--mp-orange-core);
  border: 1.5px solid var(--mp-orange-core);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.btn-outline-orange:hover {
  background: var(--mp-orange-soft);
  color: color-mix(in srgb, var(--mp-orange-core) 88%, var(--mp-violet-deep));
  border-color: color-mix(in srgb, var(--mp-orange-core) 88%, var(--mp-violet-deep));
}

/* 10e. Vue 2 — formulaire court --------------------------- */

.recall-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  margin: -4px 0 var(--space-3) -6px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mp-ink-soft);
  transition:
    color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.recall-back:hover {
  color: var(--mp-violet-deep);
  background: var(--mp-violet-mist);
}

.recall-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* 10f. Bouton « Envoyer ma demande » avec halo doux ------ */

.recall-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  margin-top: var(--space-2);
  background: var(--mp-grad-orange);
  color: var(--mp-white);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 4px 14px color-mix(in srgb, var(--mp-orange-core) 28%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--mp-white) 25%, transparent);
  transition:
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.recall-submit::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--r-pill);
  background: var(--mp-grad-orange);
  opacity: 0.22;
  filter: blur(10px);
  z-index: -1;
  transition: opacity var(--duration-base) var(--ease-out);
}

.recall-submit:hover {
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--mp-orange-core) 35%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--mp-white) 30%, transparent);
}

.recall-submit:hover::before { opacity: 0.32; }

.recall-submit:active { transform: translateY(1px); }

/* 10g. Confirmation -------------------------------------- */

.confirmation {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-7) var(--space-4);
  gap: var(--space-3);
}

.confirmation--visible {
  display: flex;
  animation: fade-slide var(--duration-base) var(--ease-out) both;
}

.confirmation-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mp-teal-soft);
  color: var(--mp-teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-2);
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--mp-violet-deep);
}

.confirmation-text {
  font-size: 14px;
  color: var(--mp-ink-soft);
  line-height: 1.55;
  max-width: 360px;
}


/* ==========================================================
   11. États de validation (missing / invalid / astérisque)
   ========================================================== */

/* ----------------------------------------------------------
   États de validation — design moderne 2025-2026
   (référence Stripe/Linear/Vercel).
     • "missing" → champ requis vide. Ton ambre doux, invitant.
     • "invalid" → valeur saisie incorrecte. Rouge ferme.
   Surfaces UNIES (4 % de teinte sur fond blanc), bordure 1.5 px.
   Aucun motif, aucun pattern, aucun gradient — surtout pas de zébré.
   ---------------------------------------------------------- */

/* ÉTATS DE VALIDATION — STYLE DIRECT (rgb en dur, !important systématique
   pour gagner toute cascade et éliminer toute interpolation color-mix
   potentiellement responsable d'artefacts visuels. */

/* État « à compléter » — fond ambre clair uni, bordure 1.5 px orange.
   Note : .field-select--missing est ajoutée comme classe parallèle
   pour matcher le sélecteur tel que demandé. */
.field-input--missing,
.field-select--missing,
.field-select.field-input--missing {
  background-color: rgb(255, 247, 237) !important;
  background-image: none !important;
  border: 1.5px solid rgb(251, 146, 60) !important;
}

.field-input--missing:focus,
.field-select--missing:focus,
.field-select.field-input--missing:focus {
  border-color: rgb(234, 88, 12) !important;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2) !important;
  outline: none !important;
}

/* Cas spécifique du select missing : restaure le chevron via background-image
   (la règle précédente l'a forcé à none). */
.field-select--missing,
.field-select.field-input--missing {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
}

/* État « erreur réelle » — fond rouge clair uni, bordure 1.5 px rouge.
   Même structure que missing pour cohérence. */
.field-input--invalid,
.field-select--invalid,
.field-select.field-input--invalid {
  background-color: rgb(254, 242, 242) !important;
  background-image: none !important;
  border: 1.5px solid rgb(248, 113, 113) !important;
}

.field-input--invalid:focus,
.field-select--invalid:focus,
.field-select.field-input--invalid:focus {
  border-color: rgb(220, 38, 38) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25) !important;
  outline: none !important;
}

/* Cas spécifique du select invalid : restaure le chevron. */
.field-select--invalid,
.field-select.field-input--invalid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
}

/* Message inline sous le champ — icône Tabler à gauche pour adoucir.
   Le contenu (icône + texte) est posé par JS via setEtatChamp. */
.field-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.002em;
  display: none;
  align-items: center;
  gap: 6px;
  transition: color var(--duration-fast) var(--ease-out);
}

.field-error[data-active]              { display: flex; }
.field-error[data-active="missing"]    { color: var(--mp-warn-amber); }
.field-error[data-active="invalid"],
.field-error[data-active="true"]       { color: var(--mp-danger-coral); }

.field-error .ti {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}


/* ==========================================================
   12. Animations & keyframes
   ========================================================== */

/* Halos ambient permanents (body::before) — pulse global sur l'opacité
   du fond entier. 0.75 minimum garanti, 1.0 au pic, respiration 3.6 s. */
@keyframes ambient-pulse {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1.00; }
}

/* Point pulsant orange à côté du logo */
@keyframes dot-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px color-mix(in srgb, var(--mp-orange-core) 80%, transparent);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 20px color-mix(in srgb, var(--mp-orange-core) 100%, transparent);
  }
}

/* Apparition slide + fade (étapes, modales, encarts) */
@keyframes fade-slide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ouverture modale légèrement plus marquée */
@keyframes modal-open {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* ==========================================================
   13. Accessibilité (focus visible, prefers-reduced-motion)
   ========================================================== */

.btn:focus-visible,
.btn-cta:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-outline-orange:focus-visible,
.cta-final-btn:focus-visible,
.recall-submit:focus-visible,
.modal-close:focus-visible,
.recall-back:focus-visible {
  outline: 2px solid var(--mp-orange-core);
  outline-offset: 3px;
}

.segmented-option input:focus-visible + span {
  outline: 2px solid var(--mp-orange-core);
  outline-offset: 2px;
}

.slider:focus-visible::-webkit-slider-thumb {
  outline: 3px solid color-mix(in srgb, var(--mp-orange-core) 50%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .halo,
  .pulse-dot { animation: none; }
}


/* ==========================================================
   14. Responsive (tablette / mobile / mobile XS)
   ========================================================== */

/* Tablette ------------------------------------------------- */
@media (max-width: 1024px) {
  .container { padding: 0 var(--space-5); }
  .header-inner { padding: 0 var(--space-5); }
  .hero { padding: var(--space-10) 0 var(--space-8); }
  .form-card { padding: var(--space-6) var(--space-6) var(--space-5); }
}

/* Tablette portrait --------------------------------------- */
@media (max-width: 800px) {
  .hero { padding: var(--space-8) 0 var(--space-6); }
  .proof-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
  .proof-card { padding: 12px 14px; gap: 10px; }
  .proof-icon { width: 32px; height: 32px; }
  .proof-stat { font-size: 15.5px; }
  .breakdown-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .result-hero { padding: var(--space-6) var(--space-6); }
  .result-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: var(--space-3);
  }
}

/* Mobile -------------------------------------------------- */
@media (max-width: 640px) {
  .container { padding: 0 var(--space-4); }
  .header-inner { padding: 0 var(--space-4); }
  .header { padding: var(--space-4) 0; }
  .hero { padding: var(--space-7) 0 var(--space-6); }

  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 14.5px; }
  .proof-grid { grid-template-columns: 1fr; gap: var(--space-2); }
  .reassurance { gap: var(--space-3); font-size: 12px; }

  .form-card {
    padding: var(--space-5) var(--space-5) var(--space-4);
    border-radius: var(--r-card);
    margin-top: var(--space-5);
  }

  .timeline-label { display: none; }
  .timeline-step--active .timeline-label { display: inline; }

  .step-title { font-size: 21px; }
  .fields { gap: var(--space-4); }

  .actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: var(--space-3);
  }
  .actions .btn,
  .actions .btn-primary,
  .actions .btn-ghost,
  .actions .btn-cta { width: 100%; }

  .result-amount { font-size: 38px; }
  .result-range { grid-template-columns: 1fr; gap: var(--space-3); }
  .result-range-col + .result-range-col {
    padding-left: 0;
    padding-top: var(--space-3);
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--mp-violet-deep) 8%, transparent);
  }

  .cta-final {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: var(--space-3);
  }
  .cta-final-btn { width: 100%; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-dialog {
    max-height: 100vh;
    max-width: 100%;
    border-radius: var(--r-card-hero) var(--r-card-hero) 0 0;
  }
  .modal-head { padding: var(--space-5); }
  .modal-body { padding: 0 var(--space-5) var(--space-5); }
}

/* Mobile XS ----------------------------------------------- */
@media (max-width: 480px) {
  .header-inner { gap: var(--space-3); }
  .diagnostic-pill { height: 28px; padding: 0 12px 0 8px; font-size: 11.5px; }
  .hero-title { font-size: 26px; letter-spacing: -0.028em; }
  .hero-eyebrow { font-size: 12px; }
  .result-amount { font-size: 34px; }
  .timeline { gap: var(--space-2); }
}
