/* ==========================================================================
   Divital Patient — Tension 90 (version de lancement : page d'accueil)
   Langage visuel relevé sur bevel.health (analyse du 23 septembre 2026) :
   police système, titres serrés, fond blanc, encre presque noire, cartes
   hautes à dégradé teinté, mouvement porté par les visuels (jamais par le texte).
   Adaptations : teintes du logo Divital, gris secondaire lisible (6,9:1 au lieu
   de 4,3:1), texte de 16 à 24 px, pas de défilement détourné.
   Mouvement : principes d'Emil Kowalski (transform/opacity/clip-path uniquement,
   courbes ease-out fortes, cascade courte, retour au clic, mouvement réduit respecté).
   Récit : héros → pourquoi agir → le moment → la réponse → le programme →
   ce que vous obtenez et tarif → questions → formulaire.
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #1F2127;            /* 16:1 sur blanc */
  --ink-2: #555A64;          /* texte secondaire : 6,9:1 sur blanc, ≥ 5,2:1 sur les teintes */
  --ink-3: #656A75;          /* légendes : 5,4:1 sur blanc */
  --bg: #FFFFFF;
  --surface: #F2F4F9;        /* base des cartes */
  --line: #E4E7EF;
  --field: #858B98;          /* bordure de champ : 3,4:1 */
  --dark: #1C1D22;
  --on-dark: #F4F6FB;
  --on-dark-2: rgba(244, 246, 251, 0.74);  /* 9:1 sur --dark */
  --peri: #87A0F7;           /* couleurs du logo */
  --lilac: #D0B6FC;
  --sky: #9DDBFA;
  --action: #3E52B0;         /* liens : 6,3:1 */
  --focus: #4559B3;

  /* Police : exactement la pile de bevel.health (aucun fichier à télécharger) */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rayons */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 14px;

  /* Courbes (Emil Kowalski) et courbe « expo » relevée sur les boutons de Bevel */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Rythme */
  --gutter: clamp(16px, 2.3vw, 32px);
  --section: clamp(104px, 11vw, 176px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.1875rem;       /* 19 px */
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--action); text-underline-offset: 0.18em; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(1376px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(880px, 100% - 2 * var(--gutter)); }

/* --------------------------------------------------------------------------
   Typographie — relevés Bevel : graisse 600, interligne ≈ 1, approche −3 %
   -------------------------------------------------------------------------- */
h1 {
  font-size: clamp(2.75rem, 1.4rem + 5vw, 5rem);        /* 44 → 80 px */
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);      /* 36 → 64 px */
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.5rem);   /* 28 → 40 px */
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);  /* 20 → 24 px */
  line-height: 1.35;
  color: var(--ink-2);
  text-wrap: pretty;
}
.micro { font-size: 1rem; line-height: 1.45; color: var(--ink-3); }
.nowrap { white-space: nowrap; }

.chip {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 33, 39, 0.06);
  font-size: 1rem; font-weight: 600; letter-spacing: -0.005em;
}

/* --------------------------------------------------------------------------
   Boutons — pilule sombre (Bevel) ; retour au clic scale(0.97) (Emil)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; letter-spacing: -0.01em; line-height: 1; text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--dark {
  background: var(--ink); color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 8px 20px rgba(31, 33, 39, 0.16);
}
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: #2C2F37; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(31, 33, 39, 0.22); }
}
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.1875rem; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------------------
   Navigation — pilule blanche flottante
   -------------------------------------------------------------------------- */
.nav {
  position: absolute; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(31, 33, 39, 0.06);
  box-shadow: 0 8px 24px rgba(31, 33, 39, 0.06);
}
.nav__brand { display: flex; align-items: center; min-height: 44px; border-radius: 8px; }   /* cible ≥ 44 px */
.nav__brand img { width: 112px; }
.nav__links { display: flex; gap: 8px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; color: var(--ink-2); font-size: 1.0625rem; font-weight: 500; text-decoration: none; transition: color 150ms ease; }
.nav__links a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Héros — cadre « ciel » à 8 px du bord (Bevel), visuel coupé par le bas
   -------------------------------------------------------------------------- */
.hero { padding: 8px; }
.hero__frame {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #D6E4FF 0%, #E6EBFF 34%, #F3EFFF 62%, #FFF8EE 100%);
  display: flex; flex-direction: column; align-items: center;
}
/* nuages et bande lumineuse aux couleurs du logo : statiques */
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 22% at 18% 16%, rgba(255, 255, 255, 0.85), transparent 70%),
    radial-gradient(30% 18% at 84% 10%, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(60% 18% at 50% 72%, rgba(157, 219, 250, 0.55), transparent 70%),
    radial-gradient(46% 16% at 24% 76%, rgba(208, 182, 252, 0.55), transparent 70%),
    radial-gradient(46% 16% at 78% 76%, rgba(135, 160, 247, 0.45), transparent 70%);
}
.hero__text {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: min(1180px, 100% - 32px);
  padding-top: clamp(96px, 9vw, 136px);
}
.hero__text h1 { margin-top: 24px; max-width: 15em; }
.hero__text .lead { margin: 20px 0 32px; max-width: 36em; }
.hero__text .micro { margin-top: 16px; color: var(--ink-2); text-wrap: balance; }

.hero__stage { --hw: min(960px, 88vw); position: relative; width: 100%; height: calc(var(--hw) * 0.53); margin-top: clamp(32px, 3.5vw, 56px); }
/* Illustration du héros (dès 600 px) : fond de la partie basse, fondue dans le ciel en haut et
   sur les côtés, coupée net par le bas du cadre. --hw = largeur de l'illustration ; les cartes
   flottantes sont placées par rapport à elle, hors du visage (x 60–79 %, y 12–42 % de l'image)
   et du tensiomètre (x 76–99 %, y 67–82 %). */
.hero__visual { position: absolute; left: 50%; top: 0; width: var(--hw); margin-left: calc(var(--hw) / -2); }
.hero__visual picture { display: block; height: 100%; }
.ph--hero {
  aspect-ratio: 16 / 9; border-radius: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%), linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%), linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-composite: intersect;
}

.float { position: absolute; z-index: 2; }
.float--a { left: calc(50% - var(--hw) * 0.5 - 24px); top: calc(var(--hw) * 0.14); }             /* à gauche : fenêtre et mur */
.float--b { left: min(calc(50% + var(--hw) * 0.33), calc(100% - 188px)); top: calc(var(--hw) * 0.03); } /* en haut à droite : lampe */
.float--c { left: calc(50% - var(--hw) * 0.44); top: calc(var(--hw) * 0.34); }                  /* à gauche, plus bas */
.float__card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.96);   /* opaque : aucun flou d'arrière-plan (moins de couches composées) */
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(31, 33, 39, 0.12), 0 2px 6px rgba(31, 33, 39, 0.05);
  transform: rotate(var(--tilt, 0deg));
}
.float__text { display: flex; flex-direction: column; line-height: 1.25; }
.float__text strong { font-size: 1.125rem; font-weight: 600; }
.float__text span { font-size: 0.9375rem; color: var(--ink-2); max-width: 12.5em; }
.float__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--on-dark);
  font-size: 1rem; font-weight: 600;
  box-shadow: 0 12px 30px rgba(31, 33, 39, 0.22);
}

/* Anneau (jour 21 sur 90) */
.ring { width: 56px; height: 56px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 7; }
.ring__track { stroke: #E6E9F5; }
.ring__fill {
  stroke: url(#g-ring); stroke-linecap: round;
  stroke-dasharray: 163.36;
  stroke-dashoffset: calc(163.36 * (1 - var(--p, 0)));
}

/* Coche dessinée */
.tick {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: #EAEEFE;
}
.tick svg { width: 22px; height: 22px; }
.tick path { fill: none; stroke: var(--focus); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 0; }
.tick--lg { width: 56px; height: 56px; }
.tick--lg svg { width: 30px; height: 30px; }
.tick--sm { width: 28px; height: 28px; }
.tick--sm svg { width: 16px; height: 16px; }
.tick--sm path { stroke-width: 3; }

/* Petite icône de document */
.doc-icon { position: relative; display: inline-block; width: 16px; height: 20px; border-radius: 4px; border: 2px solid currentColor; flex: none; }
.doc-icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; height: 2px; background: currentColor; box-shadow: 0 4px 0 currentColor; border-radius: 1px; }

/* Illustrations en cartouche (classe .ph conservée sur les <img>) */
.ph { position: relative; display: block; width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--portrait { aspect-ratio: 4 / 5; max-width: 380px; margin-top: 40px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-top: var(--section); }
/* Arrivée par une ancre (navigation, boutons « Commencer ») : le titre de la section s'arrête à ~120 px du haut,
   sous la navigation, au lieu de laisser défiler toute la marge haute de la section (96 px + marge = ~255 px). */
.section[id] { scroll-margin-top: calc(24px - var(--section)); }
.section__head { text-align: center; max-width: 920px; margin: 0 auto clamp(48px, 6vw, 80px); }
.section__head .lead { max-width: 34em; margin: 20px auto 0; text-wrap: balance; }

/* 1. Pourquoi agir : trois pastilles douces, pictogrammes au trait fin (décor : le texte dit tout) */
.organs { display: flex; justify-content: center; gap: clamp(12px, 4.2vw, 64px); }
.organ { display: flex; flex-direction: column; align-items: center; gap: 14px; width: clamp(88px, 26vw, 184px); }
.organ__disc {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  box-shadow: none;   /* aplats, sans reflet ni ombre */
}
.organ--lilac .organ__disc { background: #EFE7FE; }
.organ--peri .organ__disc  { background: #E6EBFD; }
.organ--sky .organ__disc   { background: #E3F2FC; }
.picto { width: 52%; height: auto; fill: none; stroke: var(--focus); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.organ__label { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; }

/* 2. Le moment : grande carte pastel à deux zones (texte / illustration).
   Cadrage garanti : sous 640 px, fichier carré (visage x 36–61 %, tensiomètre x 55–100 %) affiché
   entier ; de 640 à 1023 px, image 16:9 entière ; dès 1024 px, la zone image est moins large que
   16:9 (hauteur ≥ largeur / 1,78) : l'image couvre toute la hauteur et reste calée à droite
   (object-position 100 %), donc visage (x 62–76 %) et tensiomètre (x 73–99 %) restent entiers ;
   seule la partie gauche (fenêtre, plantes) est rognée puis fondue dans la carte. */
.moment {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #F3F4FA 0%, #ECEBFD 55%, #E4E9FC 100%);
}
.moment__text { padding: 36px 28px 0; }
.moment__text h2 { max-width: 11em; }
.moment__question {
  margin-top: 18px; max-width: 21em;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);    /* 22 → 32 px */
  line-height: 1.3; letter-spacing: -0.015em;
  color: var(--ink-2); text-wrap: pretty;
}
.moment__media { position: relative; margin-top: 32px; aspect-ratio: 1 / 1; }
.moment__media picture { display: block; width: 100%; height: 100%; }
.moment__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* fondu court en haut : le haut de la tête commence à y = 11 % de l'image */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%);
}

/* 3. La réponse : carte sombre (Bevel « Intelligence ») */
.section--tight { padding-top: var(--section); }
.dark {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 8px; padding: clamp(80px, 9vw, 136px) 24px;
  border-radius: var(--r-lg);
  background: var(--dark); color: var(--on-dark);
  text-align: center;
}
.dark__glow {
  position: absolute; z-index: -1; left: 50%; top: -12%;
  width: min(680px, 110%); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(135, 160, 247, 0.30), rgba(135, 160, 247, 0.10) 52%, transparent 74%);
  pointer-events: none;
}
.dark__ring { position: relative; width: min(340px, 72vw); aspect-ratio: 1; margin: 0 auto clamp(40px, 5vw, 64px); }
.dark__ring svg { width: 100%; height: 100%; overflow: visible; }
.dark__ring .seg { fill: none; stroke: url(#g-weeks); stroke-width: 13; stroke-linecap: round; }
.dark__ring-center { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1; }
.dark__ring-center strong { font-size: clamp(4rem, 3rem + 3vw, 5.5rem); font-weight: 600; letter-spacing: -0.05em; }
.dark__ring-center span { margin-top: 8px; font-size: 1.25rem; color: var(--on-dark-2); }
.dark h2 { max-width: 12em; margin: 0 auto; }
.dark :focus-visible { outline-color: var(--sky); }

/* 4. Le programme : trois cartes hautes (Bevel « Start the day with confidence ») */
.steps { display: grid; gap: 16px; }
.step {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 640px; padding: 36px 28px 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  container-type: inline-size;   /* 100cqi = largeur utile de la carte (sert à dimensionner la zone visuelle) */
}
.step--lilac { background: linear-gradient(180deg, #F3F4FA 38%, #ECE5FD 86%, #E3D6FD 100%); }
.step--peri  { background: linear-gradient(180deg, #F3F4FA 38%, #E3E9FD 86%, #D6DFFC 100%); }
.step--sky   { background: linear-gradient(180deg, #F3F4FA 38%, #E2F1FC 86%, #D3ECFA 100%); }
/* étiquette d'étape en texte simple (ni pilule ni point coloré) */
.step__label {
  margin-bottom: 14px; padding: 0; background: none; border: 0; border-radius: 0;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--ink-2);
}
.step__text > p:not(.step__label) { margin-top: 12px; font-size: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem); line-height: 1.35; color: var(--ink-2); max-width: 22em; }
.step__stage { position: relative; flex: 1; min-height: 340px; margin-top: 32px; }
/* cartes 2 et 3 : la zone visuelle est toujours assez haute pour l'objet détouré (largeur min(104 %, 520 px),
   ratio 3:2, posé à 150 px du bas) + 30 px de marge au pire de la parallaxe : le visuel ne touche jamais le texte */
/* (première valeur : repli en vw pour les navigateurs sans unités de conteneur, ex. Safari < 16) */
.step--peri .step__stage, .step--sky .step__stage { min-height: calc(180px + min(104vw - 92px, 520px) * 0.6667); min-height: calc(180px + min(104cqi, 520px) * 0.6667); }
/* carte 1 : illustration carrée min(92 %, 420 px) + la liste qui déborde au-dessus */
.step--lilac .step__stage { min-height: calc(84px + min(92vw - 81px, 420px)); min-height: calc(84px + min(92cqi, 420px)); }
/* carte 1 : illustration carrée ancrée en bas, liste cochée posée sur le ciel, au-dessus du visage */
.step__visual--photo { position: absolute; bottom: -16px; left: 0; right: 0; width: min(92%, 420px); margin-inline: auto; }
/* cartes 2 et 3 : objet détouré posé sur le fond pastel, encart HTML au premier plan */
.step__object { position: absolute; left: 50%; bottom: 150px; width: min(104%, 520px); margin-left: calc(min(104%, 520px) / -2); pointer-events: none; }
.step__object img { width: 100%; height: auto; }
.step__overlay { position: absolute; left: 16px; right: 16px; bottom: 40px; display: flex; justify-content: center; z-index: 2; }

.checklist, .weeks-card, .doc-card {
  background: rgba(255, 255, 255, 0.96);   /* opaque : aucun flou d'arrière-plan (moins de couches composées) */
  border-radius: var(--r-md);
  box-shadow: 0 16px 40px rgba(31, 33, 39, 0.12), 0 2px 6px rgba(31, 33, 39, 0.05);
}
/* Liste « Au départ » : en haut à droite de l'illustration, sur le ciel ; ancrée par le bas à
   y = 23 % de l'image quelle que soit sa taille (le visage commence à y = 29 %), elle déborde vers le haut. */
.checklist {
  position: absolute; z-index: 2; bottom: 77%; right: -12px;
  display: grid; gap: 6px; padding: 14px 20px 14px 14px;
  transform: rotate(3deg);
}
.checklist__row { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }

.weeks-card { width: min(340px, 100%); padding: 18px 20px; display: grid; gap: 14px; }
.weeks-card__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; text-wrap: balance; } /* passe sur deux lignes équilibrées si l'encart est étroit */
.weeks { display: grid; grid-template-columns: repeat(13, 1fr); gap: 5px; }
.weeks i { position: relative; aspect-ratio: 1; border-radius: 50%; background: #E3E7F3; }
.weeks i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, var(--peri), #A98DF3); }
.weeks-card__range { display: flex; justify-content: space-between; font-size: 1rem; color: var(--ink-2); }

.doc-card { width: min(300px, 100%); padding: 18px 20px 22px; display: grid; gap: 10px; }
.doc-card__head { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 600; margin-bottom: 4px; }
.doc-card__line { display: block; height: 10px; width: var(--w, 80%); border-radius: 5px; background: linear-gradient(90deg, #DCE3FB, #E9E1FD); }

/* 5. Ce que vous obtenez + tarif : la valeur d'abord, en liste légère (aucune tuile : seule la FAQ a l'aspect « tuile = bouton ») ;
   la carte prix est la seule carte de la section, avec un prix en ligne sobre (jamais de grand chiffre) */
.offer { display: grid; gap: 32px; max-width: 1120px; margin-inline: auto; }
.benefits { display: grid; gap: 18px; }
.benefits li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
}
.benefits .tick { width: 32px; height: 32px; margin-top: -2px; }
.benefits .tick svg { width: 18px; height: 18px; }
.price-card {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #EEF1FE 0%, #F2ECFE 58%, #E7F2FD 100%);
}
.price-card__name { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.price-card__price { margin-top: 6px; font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); line-height: 1.3; color: var(--ink-2); }
.price-card__price strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-card__includes { margin: 20px 0 28px; font-size: 1.1875rem; line-height: 1.45; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.price-card .micro { margin-top: 16px; text-align: center; color: var(--ink-2); text-wrap: balance; }

/* 6. Questions : cartes de liste (Bevel « And that's not all ») */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border-radius: var(--r-md); }
.faq__item h3 { font-size: inherit; letter-spacing: normal; }
.faq__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px; padding: 20px 24px 20px 28px;
  border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink);
  font-size: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em;
  border-radius: var(--r-md);
}
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #C9CDD8; transition: transform 240ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 1px; background: var(--ink); }
.faq__icon::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: #fff; border-color: #fff; }
.faq__content p { padding: 0 28px 26px; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); max-width: 36em; }   /* ≤ 75 caractères par ligne */
html.js .faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
html.js .faq__panel > .faq__content { overflow: hidden; visibility: hidden; opacity: 0; transition: opacity 180ms ease, visibility 0s linear 280ms; }
html.js .faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
html.js .faq__item.is-open .faq__content { visibility: visible; opacity: 1; transition: opacity 240ms ease 60ms, visibility 0s; }

/* 7. Formulaire, puis « Et ensuite ? » */
.section--form { padding-bottom: clamp(72px, 8vw, 120px); }
.form-layout { display: grid; gap: 40px; align-items: start; }
.form-layout__text h2 { margin-bottom: 20px; }
.form-layout__contact { margin-top: 20px; font-size: 1.0625rem; line-height: 1.45; color: var(--ink-2); }
.form-layout__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.form-layout > .ph--portrait { display: none; }   /* illustration affichée à partir de 900 px seulement */
.form-layout > .next { margin-top: -24px; }       /* sous 900 px : « Et ensuite ? » à 16 px sous le formulaire */
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 1.125rem; font-weight: 600; }
.field__hint { font-weight: 400; color: var(--ink-3); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 60px; padding: 0 18px;
  border: 1.5px solid var(--field); border-radius: var(--r-sm);
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1.25rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
/* zone libre : quatre lignes au départ, puis elle s'agrandit avec le texte (field-sizing) ou à la poignée */
.field textarea { display: block; min-height: 148px; max-height: 360px; padding: 14px 18px; line-height: 1.45; resize: vertical; field-sizing: content; }
.field__help { margin: -2px 0 10px; font-size: 1.0625rem; line-height: 1.45; color: var(--ink-2); }
.field input::placeholder { color: var(--ink-3); }
.field input:not([type="checkbox"]):focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(69, 89, 179, 0.28); }
.field.has-error input:not([type="checkbox"]) { border-color: #B3261E; }
.field__error { margin-top: 8px; font-size: 1.0625rem; font-weight: 500; color: #B3261E; }
.field--check { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.field--check input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--ink); }
/* zone cliquable élargie par le libellé (9 px au-dessus et au-dessous, et la colonne de la case) ; mise en page inchangée */
.field--check label { margin: -9px 0 -9px -42px; padding: 9px 0 9px 42px; font-size: 1.0625rem; font-weight: 500; line-height: 1.45; color: var(--ink-2); }
.field--check .field__error { grid-column: 2; margin-top: 0; }
.field--check.has-error input { outline: 2px solid #B3261E; outline-offset: 2px; }
.field--check.has-error input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }   /* le focus clavier reste visible sur une case en erreur */
.lead-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__notice { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--r-sm); background: #FFF4E5; border: 1px solid #F2C27B; color: #6B4A0F; font-size: 1.0625rem; font-weight: 500; }
.lead-form__reassure { margin-top: 14px; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; text-align: center; color: var(--ink-2); text-wrap: balance; }
.lead-form__status { margin-top: 14px; font-size: 1.0625rem; font-weight: 500; }
.lead-form__status:empty { display: none; }
.lead-form__status.is-error { padding: 12px 16px; border-radius: var(--r-sm); background: #FCEEED; color: #B3261E; }
.lead-form.is-sent .field, .lead-form.is-sent button[type="submit"], .lead-form.is-sent .lead-form__reassure, .lead-form.is-sent .lead-form__status { display: none; }
.lead-form__success h3 { margin: 18px 0 10px; font-size: 1.75rem; }
.lead-form__success p { color: var(--ink-2); }
.lead-form__success .micro { margin-top: 12px; }

.next {
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #F4F1FE 0%, #EEF2FE 100%);
}
.next__title { margin-bottom: 20px; font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem); }
.next__steps { display: grid; gap: 14px; }
.next__steps li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.1875rem; line-height: 1.4; }
.next__steps li > span:last-child { padding-top: 5px; }
.next__num {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--focus);
  font-size: 1.0625rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(31, 33, 39, 0.06);
}

/* Autres suivis : une ligne discrète au-dessus du pied de page */
.others { display: flex; justify-content: center; padding: 0 var(--gutter) clamp(40px, 5vw, 64px); }
.others__line {
  max-width: 46em; padding: 0; background: none; color: var(--ink-2);
  font-size: 1.0625rem; line-height: 1.45; text-align: center; text-wrap: balance;
}

/* Pied de page — structure relevée sur bevel.health : marque à gauche, colonnes de liens à droite, intertitres gris.
   Une colonne sous 360 px, liens et contact côte à côte dès 360 px, marque | liens | contact dès 900 px.
   La barre mobile se retire dès que le pied entre : aucune réserve nécessaire. */
.footer { padding-bottom: clamp(40px, 5vw, 64px); }
.footer__inner {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 24px;
  padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
}
.footer__brand img { width: 136px; }
.footer__brand p { max-width: 30em; margin-top: 18px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.footer__brand .footer__urgence { margin-top: 20px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); }
.footer__urgence strong { font-weight: 600; color: var(--ink); }
.footer__title { margin-bottom: 6px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; letter-spacing: 0; color: var(--ink-3); }
.footer__links a, .footer__bottom a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 1.125rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.footer__links a:hover, .footer__bottom a:hover { text-decoration: underline; }
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.footer__bottom p { font-size: 1rem; color: var(--ink-3); }
.footer__bottom a { font-size: 1.0625rem; }
@media (min-width: 360px) {
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: clamp(64px, 8vw, 144px); }
  .footer__brand { grid-column: auto; }
  .footer__bottom { margin-top: 16px; }
}

/* Barre d'action mobile (tiroir : courbe iOS, sortie plus rapide que l'entrée) */
.dock {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 8px; border-radius: 999px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(31, 33, 39, 0.08);
  box-shadow: 0 12px 32px rgba(31, 33, 39, 0.14);
  transform: translateY(calc(100% + 16px)); opacity: 0;
  transition: transform 200ms var(--ease-out), opacity 200ms ease;
}
.dock.is-visible { transform: none; opacity: 1; transition: transform 420ms var(--ease-drawer), opacity 240ms ease; }
.dock__btn { min-height: 52px; padding: 0 24px; font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Mouvement — états de départ appliqués seulement si JS actif et mouvement
   non réduit (classe html.t90-motion). Sans JS : tout est visible, état final.
   Le texte des titres et paragraphes ne bouge jamais.
   -------------------------------------------------------------------------- */
.parallax { will-change: transform; }

/* Apparition des visuels du héros au chargement (le texte, lui, ne bouge pas) */
html.t90-motion .rise { opacity: 0; transform: translateY(32px) rotate(var(--tilt, 0deg)); }
html.t90-motion .is-in .rise {
  opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg));
  transition:
    opacity 600ms var(--ease-out) calc(var(--i, 0) * 80ms + 60ms),
    transform 1000ms var(--ease-expo) calc(var(--i, 0) * 80ms + 60ms);
}
html.t90-motion .float__card--ring .ring__fill { stroke-dashoffset: 163.36; }
html.t90-motion .is-in .float__card--ring .ring__fill { stroke-dashoffset: calc(163.36 * (1 - var(--p, 0))); transition: stroke-dashoffset 1400ms var(--ease-out) 700ms; }
html.t90-motion .tick path { stroke-dashoffset: 20; }
html.t90-motion .is-in .tick--drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 500ms var(--ease-out) 650ms; }

/* 1. Pastilles Cœur / Cerveau / Reins : montée et fondu en cascade (les libellés restent immobiles) */
html.t90-motion .organ__disc { opacity: 0; transform: translateY(28px) scale(0.94); }
html.t90-motion .organs.is-in .organ__disc {
  opacity: 1; transform: none;
  transition: opacity 500ms var(--ease-out) calc(var(--i) * 80ms), transform 900ms var(--ease-expo) calc(var(--i) * 80ms);
}

/* 2. Illustration du moment : révélation par clip-path */
html.t90-motion .moment__media { clip-path: inset(6% 5% 6% 5% round 28px); }
html.t90-motion .moment__media.is-in { clip-path: inset(0 0 0 0 round 0px); transition: clip-path 1100ms var(--ease-expo) 80ms; }

/* 4. Cartes du programme : l'encart monte, puis son contenu s'anime une fois */
html.t90-motion .step .checklist,
html.t90-motion .step .weeks-card,
html.t90-motion .step .doc-card { opacity: 0; transform: translateY(20px); }
html.t90-motion .step.is-in .checklist,
html.t90-motion .step.is-in .weeks-card,
html.t90-motion .step.is-in .doc-card { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out) 150ms, transform 800ms var(--ease-expo) 150ms; }
html.t90-motion .step .checklist { transform: translateY(20px) rotate(3deg); }
html.t90-motion .step.is-in .checklist { transform: rotate(3deg); }
html.t90-motion .step.is-in .checklist .tick path { stroke-dashoffset: 0; transition: stroke-dashoffset 450ms var(--ease-out) calc(520ms + var(--i) * 80ms); }
html.t90-motion .weeks i::after { opacity: 0; transform: scale(0.5); }
html.t90-motion .step.is-in .weeks i::after { opacity: 1; transform: scale(1); transition: opacity 220ms var(--ease-out) calc(450ms + var(--i) * 60ms), transform 320ms var(--ease-out) calc(450ms + var(--i) * 60ms); }
html.t90-motion .doc-card__line { clip-path: inset(0 100% 0 0 round 5px); }
html.t90-motion .step.is-in .doc-card__line { clip-path: inset(0 0 0 0 round 5px); transition: clip-path 600ms var(--ease-out) calc(450ms + var(--i) * 80ms); }

/* Anneau des semaines : segments allumés au fil du défilement (classe .is-lit posée par le script) */
html.t90-motion .dark__ring .seg { stroke: #3A3D47; }   /* couleur ↔ dégradé non interpolable : bascule nette, segment par segment */
html.t90-motion .dark__ring .seg.is-lit { stroke: url(#g-weeks); }
.dark__ring .seg.is-lit, html:not(.t90-motion) .dark__ring .seg { filter: drop-shadow(0 0 6px rgba(135, 160, 247, 0.55)); }

/* 5. Bénéfices : les coches arrivent en cascade courte (rien ne bouge sur le prix) */
html.t90-motion .benefits .tick { opacity: 0; transform: scale(0.6); }
html.t90-motion .benefits.is-in .tick { opacity: 1; transform: none; transition: opacity 300ms var(--ease-out) calc(var(--i) * 70ms), transform 500ms var(--ease-expo) calc(var(--i) * 70ms); }
html.t90-motion .benefits.is-in .tick path { stroke-dashoffset: 0; transition: stroke-dashoffset 450ms var(--ease-out) calc(180ms + var(--i) * 70ms); }

/* Coche du message de succès : se dessine quand le message apparaît (indication d'état) */
@keyframes t90-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
html.t90-motion .lead-form__success .tick path { animation: t90-draw 500ms var(--ease-out) 150ms both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* --------------------------------------------------------------------------
   Responsive — mobile d'abord (390 px), puis tablette et ordinateur
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
  html { scroll-padding-top: 40px; }   /* navigation non fixe sur mobile : pas besoin de réserver 96 px */
  /* navigation mobile : logo, « Tarif », « Questions » (accès direct au prix) ; « Le programme » et le bouton masqués */
  .nav__cta { display: none; }
  .nav__pill { gap: 4px; padding: 6px 6px 6px 20px; }
  .nav__links { gap: 0; }
  .nav__links a[href="#programme"] { display: none; }
  .nav__links a { padding: 0 12px; color: var(--ink); }
  .nav__brand img { width: 104px; }
  .float__card { padding: 12px 16px 12px 12px; gap: 12px; }
  .float__text strong { font-size: 1.0625rem; }
  .float__text span { font-size: 0.875rem; max-width: 11em; }
  .ring { width: 48px; height: 48px; }
  .tick { width: 36px; height: 36px; }
  .tick--sm { width: 28px; height: 28px; }
}
@media (max-width: 359px) {
  .nav__links a[href="#questions"] { display: none; }
}

/* Téléphones : illustration recadrée 4:5 dans un cadre arrondi ; une seule carte flottante,
   en haut à droite, au-dessus de la chevelure (le visage et le tensiomètre restent dégagés) */
@media (max-width: 599px) {
  .hero__stage { height: 380px; }
  .hero__visual { width: 86%; margin-left: -43%; }
  .ph--hero { aspect-ratio: 4 / 5; border-radius: var(--r-xl); -webkit-mask-image: none; mask-image: none; }
  .float--a, .float--c { display: none; }
  .hero__stage { margin-top: 44px; }
  .float--b { left: auto; right: 2%; top: -28px; }
  .float__card--ring { padding: 10px 14px 10px 10px; gap: 10px; }
  .float__card--ring .ring { width: 40px; height: 40px; }
}

/* Tablettes (600–899 px) : deux cartes flottantes, toutes deux sur la zone libre de gauche */
@media (min-width: 600px) and (max-width: 899px) {
  .float--b { display: none; }
}

/* petits téléphones : sous-titre du héros un peu réduit pour garder le bouton au premier écran */
@media (max-width: 419px) {
  .hero__text .lead { font-size: 1.1875rem; line-height: 1.34; margin: 16px 0 26px; }
}
/* téléphones peu hauts (360 × 640, 375 × 667…) : titre, sous-titre et marges resserrés,
   pour que le bouton reste au premier écran ; les téléphones plus hauts gardent la grande typographie */
@media (max-width: 419px) and (max-height: 700px) {
  .hero__text { padding-top: 86px; }
  .hero__text h1 { margin-top: 16px; font-size: 2.5rem; }
  .hero__text .lead { font-size: 1.125rem; margin: 12px 0 22px; }
}

/* très petits écrans : l'illustration seule, sans carte flottante ; titre et sous-titre réduits
   pour garder le bouton au premier écran (320 × 568) */
@media (max-width: 359px) {
  .float--b { display: none; }
  .hero__text { padding-top: 84px; }
  .hero__text h1 { margin-top: 14px; font-size: 2.125rem; }
  .hero__text .lead { font-size: 1.0625rem; margin: 12px 0 20px; }
  .hero__text .btn--lg { min-height: 56px; }
}

/* liste « Au départ » plus compacte sur les petits écrans (encart décoratif aria-hidden) */
@media (max-width: 380px) {
  .checklist { right: -8px; gap: 4px; padding: 10px 14px 10px 10px; }
  .checklist__row { font-size: 0.9375rem; gap: 8px; }
  .tick--sm { width: 24px; height: 24px; }
  .tick--sm svg { width: 14px; height: 14px; }
}

@media (min-width: 640px) {
  .moment__media { aspect-ratio: 16 / 9; }
}

/* tablette, cartes pleine largeur : la photo carrée atteint 420 px, la carte 1 s'allonge en conséquence */
@media (min-width: 520px) and (max-width: 1023px) {
  .step--lilac { min-height: 760px; }
}

@media (min-width: 900px) {
  .hero__stage { --hw: min(960px, 72vw); }
  .nav { position: fixed; }
  .dock { display: none; }
  .step { padding: 44px 40px 0; }
  .offer { grid-template-columns: 1.2fr 1fr; gap: 32px 64px; align-items: start; }
  .benefits { gap: 24px; padding-top: clamp(28px, 3.4vw, 48px); }
  /* formulaire : à gauche le texte, puis « Et ensuite ? », puis l'illustration ; à droite le formulaire */
  .form-layout { grid-template-columns: 0.9fr 1.1fr; grid-template-areas: "text main" "next main" "img main"; gap: 32px clamp(48px, 6vw, 96px); }
  .form-layout__text { grid-area: text; }
  .form-layout__main { grid-area: main; }
  .form-layout > .next { grid-area: next; margin-top: 0; }
  .form-layout > .ph--portrait { grid-area: img; display: block; width: 100%; max-width: none; margin: 0; aspect-ratio: 3 / 2; object-position: 50% 68%; }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step, .step--lilac { min-height: 780px; }
  .step__stage { min-height: 420px; }

  .moment { flex-direction: row; align-items: stretch; min-height: clamp(520px, 44vw, 640px); }
  .moment__text { flex: 0 0 42%; align-self: center; padding: 56px 8px 56px clamp(40px, 4.4vw, 72px); }
  .moment__media { flex: 1; margin-top: 0; aspect-ratio: auto; }
  .moment__media picture { position: absolute; inset: 0; }
  .moment__media img {
    object-position: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  }
}

/* 1024–1199 px : trois colonnes étroites → marges, titres et texte resserrés (≈ 27–29 caractères par ligne) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .steps { gap: 16px; }
  .step { padding: 36px 24px 0; }
  .step h3 { font-size: 1.75rem; }
  .step__text > p:not(.step__label) { font-size: 1.1875rem; }
}
