/* ==========================================================================
   Mathieu Nebra — coaching fondateurs tech
   Charte : design system officiel « Mathieu Nebra » (tokens.json, oct. 2026)
   Thème sombre uniquement · Inter seule · lavande = accent unique
   ========================================================================== */

/* Inter auto-hébergée (licence OFL) : le fichier variable latin que servait Google Fonts, sous-ensemble latin.
   Déclarée en 4 graisses fixes (400, 600, 800, 900) comme le faisait Google : une graisse intermédiaire (700 d'un
   <strong>) s'affiche donc toujours en 800. Un seul fichier téléchargé. Chemin relatif à ce fichier, donc valable
   pour toutes les pages ; préchargé dans le <head> des pages du funnel. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Police de secours aux proportions d'Inter (Arial redimensionnée) : le texte affiché avant le chargement
   d'Inter prend la même place, sans saut de mise en page au remplacement. Valeurs calculées avec fontTools :
   largeur moyenne d'Inter 400 / Arial sur le texte des pages, hauteurs d'Inter (ascendante 0,969 em, descendante 0,241 em). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;   /* même plage qu'Inter : les autres caractères (→, ⇄…) restent à system-ui */
  size-adjust: 106.63%;
  ascent-override: 90.85%;
  descent-override: 22.62%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;

  /* ---- Tokens de marque (noms identiques au design system) ---- */
  --ground: #231d3b;          /* fond de tout */
  --ground-deep: #1f1a34;     /* point le plus sombre du dégradé */
  --ground-raised: #302456;   /* panneaux et cartes posés sur le fond */
  --glow: #684cba;            /* lumière décorative, jamais du texte */
  --glow-soft: #44366f;       /* seconde lueur, jamais du texte */
  --lavender: #ba99fd;        /* accent unique */
  --on-lavender: #231d3b;     /* texte sur lavande */
  --ink: #ffffff;             /* titres et texte principal */
  --ink-muted: #cbb9eb;       /* texte discret */

  /* ---- Dérivés fonctionnels (transparences des tokens ci-dessus) ---- */
  --line: rgba(203, 185, 235, 0.14);          /* ink-muted à 14 % */
  --line-strong: rgba(203, 185, 235, 0.28);
  --lavender-wash: rgba(186, 153, 253, 0.14); /* fond d'un choix sélectionné */
  --lavender-ring: rgba(186, 153, 253, 0.28); /* halo de focus */
  --line-control: rgba(203, 185, 235, 0.55);  /* bordure des champs et choix : >= 3:1 sur le panneau */
  --placeholder: rgba(203, 185, 235, 0.7);
  --error: #ff9b8f;                           /* fonctionnel, hors charte */
  --error-line: #e5675b;

  /* ---- Typo ---- */
  --font-sans: "Inter", "Inter Fallback", system-ui, sans-serif;

  /* ---- Formes ---- */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 32px;
  --space-4: 64px;
  --radius-sm: 8px;
  --radius: 12px;             /* radius-md */
  --radius-full: 999px;
  --glow-dot: 0 0 24px rgba(186, 153, 253, 0.6);
  --stroke-line: 3px;

  --shell: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ground-deep); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Canvas de marque : ground → ground-deep, lueur glow en haut à gauche, glow-soft en bas à droite */
  background-color: var(--ground);
  background-image:
    radial-gradient(900px 640px at 0% 0%, rgba(104, 76, 186, 0.55), rgba(104, 76, 186, 0) 70%),
    radial-gradient(760px 560px at 100% 100%, rgba(68, 54, 111, 0.7), rgba(68, 54, 111, 0) 70%),
    linear-gradient(160deg, var(--ground) 0%, var(--ground-deep) 100%);
  background-repeat: no-repeat;
}
main { flex: 1; }
a { color: var(--lavender); }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--lavender); color: var(--on-lavender); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }

/* ---------- Layout ---------- */
.shell { max-width: var(--shell); margin: 0 auto; padding: 48px 48px 0; width: 100%; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.grid { display: grid; gap: 20px; }

/* ---------- Header ---------- */
.header {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 22px 48px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark__logo { height: 40px; width: auto; flex: none; overflow: visible; }  /* monogramme MN vectoriel, fond transparent */

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0; line-height: 1.1; }
.title {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -0.02em; line-height: 1.1;
}
.title--sans {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.02em; line-height: 1.1;
}
/* Le segment en <em> = la « seconde ligne » lavande du headline de marque */
.title em, .title--sans em, .step__title em {
  font-family: inherit; font-style: normal; font-weight: inherit;
  color: var(--lavender);
}
h3, .mt > h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }   /* .mt > h2 : titres des mentions légales */
.lede { font-size: 18px; line-height: 1.5; color: var(--ink); font-weight: 400; margin: 16px 0 0; max-width: 62ch; }
.note { font-size: 16px; color: var(--ink); max-width: 62ch; }
.small { font-size: 14px; color: var(--ink-muted); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--lavender); margin: 0 0 var(--space-1);
}
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

/* ---------- Tags (contour lavande : la pilule pleine est réservée au surlignage) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  background: transparent; color: var(--lavender); border: 1px solid var(--lavender);
  padding: 4px 9px; border-radius: var(--radius-sm); white-space: nowrap;
}
/* Pilule de surlignage de marque : un seul mot, une seule par composition */
.pill {
  display: inline-block; padding: 0 .3em; border-radius: var(--radius);
  background: var(--lavender); color: var(--on-lavender);
}

/* ---------- Video frame ---------- */
.video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--ground-deep); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; color: var(--ink);
}
.video__play {
  width: 74px; height: 74px; border-radius: 50%;
  border: 2px solid currentColor; display: grid; place-items: center;
}
.video__play::after {
  content: ""; width: 0; height: 0; margin-left: 5px;
  border-left: 20px solid currentColor; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.video__caption {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-muted);
}
.video__meta { position: absolute; right: 16px; bottom: 14px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-muted); }

/* ---------- Compte à rebours + révélation ---------- */
.reveal-note { text-align: center; margin-top: 28px; }
.reveal-note .countdown {
  font-size: 40px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--ink);
  display: block; margin: 6px 0 10px;
}
.reveal { display: none; }
.reveal.is-open { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--space-4) 0 0; }
.section__head { margin-bottom: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { padding: 10px 0 10px 24px; position: relative; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; border-radius: var(--radius-full); background: transparent; border: 1.5px solid var(--ink-muted); }
.card--yes .checklist li::before { background: var(--lavender); border-color: var(--lavender); }

/* ---------- Cards ---------- */
.card {
  background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.index { font-family: var(--font-sans); font-weight: 900; font-size: 34px; letter-spacing: -0.03em; color: var(--lavender); line-height: 1; }

/* ---------- Placeholder ---------- */
.ph {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 22px; color: var(--ink-muted); font-size: 14px; background: var(--ground-deep);
}
.ph strong { display: block; font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--lavender); margin-bottom: 6px; }
.ph--wide { aspect-ratio: 16 / 7; display: grid; place-items: center; text-align: center; }

/* ==========================================================================
   Formulaire en étapes : cases, boutons « physiques », barre de progression
   ========================================================================== */
.tf-intro { margin-top: 56px; }
.tf-intro .title { max-width: 26ch; }
.tf-intro .lede { max-width: 58ch; }

.form {
  margin-top: 28px;
  background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}

/* Barre de progression = la courbe de marque : trait lavande terminé par le point avec halo */
.form__progress { padding: 26px 40px 0; }
.form__bar { position: relative; height: 6px; background: var(--ground-deep); border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px var(--line-control); }
.form__bar i {
  position: relative; display: block; height: 100%; width: 0;
  background: var(--lavender); border-radius: var(--radius-full);
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}
.form__bar i::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  border-radius: var(--radius-full); background: var(--lavender); box-shadow: var(--glow-dot);
}

.form__stage { padding: 32px 40px 36px; }
.step { display: none; animation: stepin .3s ease; }
.step.is-active { display: block; }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step__title { font-family: var(--font-sans); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; margin-bottom: 6px; }
.step__hint { color: var(--ink-muted); font-size: 15px; margin-bottom: 26px; }

/* Une question par étape : le libellé devient la question */
.question { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.question .opt { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); margin-left: 8px; }
.step .field { margin-bottom: 0; gap: 16px; }
.field__sub { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; display: block; }

/* Téléphone : indicatif + numéro */
.phone { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.phone select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BA99FD' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select.input option { background: var(--ground); color: var(--ink); }

/* Cases de question */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-control); background-color: var(--ground);
  font: 400 16px/1.3 var(--font-sans); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:hover { border-color: var(--ink-muted); }
.input:focus { outline: none; border-color: var(--lavender); background-color: var(--ground-deep); box-shadow: 0 0 0 4px var(--lavender-ring); }
textarea.input { min-height: 110px; resize: vertical; }
.field.has-error .input { border-color: var(--error-line); box-shadow: 0 0 0 4px rgba(229, 103, 91, 0.18); }
.field.has-error .input:focus { border-color: var(--lavender); box-shadow: 0 0 0 4px var(--lavender-ring); }
/* Autoremplissage navigateur : garder le champ sombre et le texte blanc */
.input:-webkit-autofill, .input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--ground) inset;
  transition: background-color 9999s ease-out 0s;
}
.input:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px var(--ground-deep) inset, 0 0 0 4px var(--lavender-ring);
}
.field.has-error .input:-webkit-autofill { box-shadow: 0 0 0 1000px var(--ground) inset, 0 0 0 4px rgba(229, 103, 91, 0.18); }
.field__error { display: none; font-size: 13px; font-weight: 600; color: var(--error); }
.field.has-error .field__error { display: block; }

/* Boutons de choix */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--ground); border: 1.5px solid var(--line-control); color: var(--ink);
  font: 400 15px/1.3 var(--font-sans);
  box-shadow: 0 3px 0 var(--glow);
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease, border-color .15s ease;
  user-select: none;
}
.choice:hover { border-color: var(--ink-muted); }
.choice:active { transform: translateY(3px); box-shadow: 0 0 0 var(--glow); }
.choice__check {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line-control); background: var(--ground-deep); display: grid; place-items: center;
  transition: background .15s ease, border-color .15s ease;
}
.choice__check::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--on-lavender); border-bottom: 2px solid var(--on-lavender); transform: rotate(-45deg) translateY(-1px); opacity: 0; transition: opacity .15s ease; }
.choice.is-selected { background: var(--lavender-wash); border-color: var(--lavender); box-shadow: 0 3px 0 var(--lavender); }
.choice.is-selected .choice__check { background: var(--lavender); border-color: var(--lavender); }
.choice.is-selected .choice__check::after { opacity: 1; }
.choice.is-selected:active { box-shadow: 0 0 0 var(--lavender); }
.field.has-error .choice { border-color: var(--error-line); }

/* Boutons de navigation « physiques » */
.form__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.push {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 15px 28px; border-radius: var(--radius); border: 0;
  font: 800 16px/1 var(--font-sans); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  background: var(--lavender); color: var(--on-lavender);
  box-shadow: 0 5px 0 var(--glow);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
}
.push:hover { filter: brightness(1.06); }
.push:active { transform: translateY(5px); box-shadow: 0 0 0 var(--glow); }
.push--ghost { background: var(--ground); color: var(--ink); box-shadow: 0 5px 0 var(--glow); border: 1.5px solid var(--line-control); }
.push--ghost:hover { border-color: var(--ink-muted); filter: none; }
.push--ghost:active { box-shadow: 0 0 0 var(--glow); }
.push .ico { width: 16px; height: 16px; flex: none; }
.push--lg { padding: 18px 34px; font-size: 17px; }
.push--ghost[disabled] { visibility: hidden; }

/* Écran calendrier */
.step--end .step__title { font-size: 36px; }

/* ==========================================================================
   Page merci : confirmation + grille de vidéos
   ========================================================================== */
.confirm {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 30px 40px; margin-top: 8px;
  background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius);
}
.confirm__check {
  width: 52px; height: 52px; border-radius: var(--radius-full); display: grid; place-items: center;
  background: var(--lavender); box-shadow: var(--glow-dot);
}
.confirm__check::after { content: ""; width: 20px; height: 11px; border-left: 3px solid var(--on-lavender); border-bottom: 3px solid var(--on-lavender); transform: rotate(-45deg) translate(1px, -2px); }
.confirm__title { font-family: var(--font-sans); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { display: block; text-decoration: none; color: inherit; }
.vcard__thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: radial-gradient(120% 120% at 0% 0%, var(--glow-soft), var(--ground-deep) 70%);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: transform .15s ease, border-color .15s ease;
}
.vcard__thumb .video__play { width: 48px; height: 48px; }
.vcard__thumb .video__play::after { border-left-width: 14px; border-top-width: 8px; border-bottom-width: 8px; }
.vcard:hover .vcard__thumb { transform: translateY(-3px); border-color: var(--lavender); }
.vcard__title { font-size: 16px; font-weight: 800; line-height: 1.3; margin-top: 12px; color: var(--ink); }

/* ==========================================================================
   Page immersion : chiffres, vidéos détaillées, témoignages
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; max-width: 640px; margin-left: auto; margin-right: auto; }
.stat {
  text-align: center; padding: 22px 14px;
  background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat__num { display: block; font-family: var(--font-sans); font-weight: 900; font-size: 44px; letter-spacing: -0.03em; color: var(--ink); line-height: .95; }
.stat__label { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--lavender); }

.vinfo { margin-top: 28px; }
.arrows { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.arrows li { position: relative; padding-left: 28px; font-size: 16px; color: var(--ink); }
.arrows li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-top: 2px solid var(--lavender); border-right: 2px solid var(--lavender); transform: rotate(45deg); }

.carousel { position: relative; }
.carousel__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.carousel__count { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.carousel__count b { color: var(--ink); font-weight: 800; }
.carousel__nav { display: flex; gap: 8px; }
.carousel__nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--glow-soft); background: var(--ground-raised);
  color: var(--lavender); font: inherit; cursor: pointer; display: grid; place-items: center;
  transition: border-color .15s ease, transform .08s ease;
}
.carousel__nav .ico { width: 16px; height: 16px; }
.carousel__nav button:hover { border-color: var(--lavender); }
.carousel__nav button:active { transform: scale(.94); }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
@media (prefers-reduced-motion: no-preference) { .carousel__track { scroll-behavior: smooth; } }
.carousel__track::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 calc(50% - 10px); scroll-snap-align: start;
  background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.tcard__thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(120% 120% at 0% 0%, var(--glow-soft), var(--ground-deep) 70%);
}
.tcard__thumb .video__play { width: 54px; height: 54px; }
.tcard__body { padding: 22px 24px 24px; }
.tcard__headline { font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--lavender); margin-bottom: 10px; }
.tcard__quote { font-family: var(--font-sans); font-size: 19px; font-weight: 400; line-height: 1.4; color: var(--ink); margin-bottom: 12px; }
.tcard__result { font-size: 14px; font-weight: 600; color: var(--lavender); margin-bottom: 14px; }
.tcard__who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.tcard__name { font-weight: 600; }
.tcard__sector { color: var(--ink-muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 48px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); }
.footer a { text-decoration: none; color: var(--ink-muted); }
.footer a:hover { color: var(--ink); }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid--2 { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tcard { flex-basis: 85%; }
}
@media (max-width: 640px) {
  .shell { padding: 32px 16px 0; }
  .header { padding: 16px; }
  .footer { padding: 24px 16px; }
  .form__progress { padding: 20px 18px 0; }
  .form__stage { padding: 24px 18px 28px; }
  .field__row, .choices { grid-template-columns: 1fr; }
  .phone { grid-template-columns: 130px 1fr; }
  .question { font-size: 20px; }
  .step__title, .step--end .step__title { font-size: 28px; }
  .form__actions { flex-direction: column-reverse; align-items: stretch; }
  .push { width: 100%; }
  .push--ghost[disabled] { display: none; }

  /* ---- Tout centré sur mobile (écart assumé avec la charte) ---- */
  .shell, .tf-intro, .section__head, .card, .step, .field, .footer, .reveal-note { text-align: center; }
  .lede, .note, .title, .tf-intro .title, .tf-intro .lede, .field__error { margin-left: auto; margin-right: auto; }
  .field__sub { text-align: center; }
  .choice__check { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
  .choice { justify-content: center; text-align: center; padding-left: 44px; padding-right: 44px; }
  .checklist li { padding-left: 0; padding-right: 0; }
  .checklist li::before { position: static; display: block; margin: 0 auto 8px; }
  .footer { flex-direction: column; align-items: center; gap: 12px; }
  .footer__links { justify-content: center; }
  .step--end .form__actions { align-items: center; }
  .step--end .form__actions .small { text-align: center; }
  .ph--wide { text-align: center; }
  .vgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat__num { font-size: 34px; }
  .confirm { padding: 26px 20px; width: 100%; }
  .arrows li { padding-left: 0; }
  .arrows li::before { position: static; display: inline-block; margin: 0 12px 2px 0; vertical-align: middle; }
  .tcard { flex-basis: 100%; }
  .tcard__who { justify-content: center; }
  .carousel__bar { justify-content: center; gap: 16px; }
}

/* ---------- Lecteur vidéo (VSL) ---------- */
.vsl {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--ground-deep); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.vsl__video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ground-deep); }

/* ==========================================================================
   Landing « solution aware » (coaching.html), réservation (reserver.html) et prochaines-etapes.html
   Règles préfixées .lp, ou limitées à des classes propres à ces trois pages (.hero, .phases, .cases,
   .faq, .tstep, .booker, .cal…), absentes de index, merci et immersion : ne pas les réutiliser ailleurs sans .lp.
   ========================================================================== */
.lp .section { padding-top: 96px; }
.lp .title, .lp .title--sans, .lp h3 { text-wrap: balance; }
.lp .lede, .lp .card p, .lp .faq__a { text-wrap: pretty; }
.lp .section__head { margin-bottom: var(--space-3); }
.lp .section__head .title { max-width: 24ch; }
.lp .center .lede { margin-left: auto; margin-right: auto; }
/* Ligne 2 du titre de marque : en lavande, sur sa propre ligne */
.lp .l2 { display: block; }
.lp .card:not(.case) h3 + p, .lp .card h3 + .checklist { margin-top: 10px; }
/* :where() garde cette règle générique à faible spécificité : les classes (.case__result, .card__kicker…) priment */
:where(.lp .card) p { font-size: 15px; color: var(--ink); }
.lp .cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: var(--space-3); }
.lp .reassure { max-width: 62ch; margin: 16px auto 0; text-align: center; }
.card__kicker { font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--lavender); margin: 0 0 8px; }

/* ---------- Hero : pastille, titre, sous-titre, bouton qui ouvre le formulaire ----------
   Pastille discrète en casse normale, titre 800 à double niveau, sous-titre 400 resserré, rythme 8/16/24/32. */

.lp .hero { padding-top: 56px; }

/* Pastille : contour lavande + lavender-wash posé sur le fond opaque (contraste ≥ 4,5:1 même sur la lueur
   du coin haut gauche), texte lavande, casse normale */
.lp .hero .hero__badge {
  display: inline-block; max-width: 100%;
  margin: 0 auto 24px; padding: 7px 18px;
  border: 1px solid var(--lavender); border-radius: var(--radius-full);
  background: linear-gradient(var(--lavender-wash), var(--lavender-wash)), var(--ground); color: var(--lavender);
  font-size: 14px; font-weight: 600; line-height: 1.4;
  letter-spacing: 0; text-transform: none;
  text-wrap: balance;
}

/* Titre : ligne blanche affirmée, promesse lavande un cran en dessous */
.lp .hero .title--sans {
  font-size: clamp(30px, 4vw + 8px, 50px);
  letter-spacing: -0.03em; line-height: 1.04;
  max-width: 800px; margin: 0 auto;
}
.lp .hero .title--sans em.l2 {
  display: block;
  font-size: .86em; letter-spacing: -0.025em; line-height: 1.1;
  margin-top: .12em;
}

/* Sous-titre : 400, encre pleine, 3 lignes égales sur desktop */
.lp .hero h1 + .lede {
  font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--ink);
  max-width: 56ch; margin: 24px auto 0;
  text-wrap: balance;
}

@media (max-width: 640px) {
  .lp .hero { padding-top: 16px; }
  /* Une seule ligne sur mobile : la taille suit la largeur de l'écran (13 px dès 383 px de large, 10,9 px à 320 px) */
  .lp .hero .hero__badge {
    margin-bottom: 16px; padding: 6px 12px;
    font-size: clamp(10.5px, 3.4vw, 13px);
    white-space: nowrap;
  }
  .lp .hero .title--sans { font-size: clamp(28px, 8.5vw, 34px); letter-spacing: -0.025em; }
  .lp .hero .title--sans em.l2 { font-size: .82em; line-height: 1.12; letter-spacing: -0.02em; margin-top: .16em; }
  .lp .hero h1 + .lede {
    font-size: 15.5px;
    max-width: 34ch; margin-top: 16px;
  }
  .lp .hero .cta-row { margin-top: 24px; }
}
@media (min-width: 481px) and (max-width: 640px) {
  .lp .hero h1 + .lede { max-width: 46ch; }
}
@media (max-width: 359px) {
  .lp .hero h1 + .lede { font-size: 15px; }
}

/* Landing : les deux lignes du titre à la même taille ; la 2e ligne garde la lavande.
   Les titres de reserver et prochaines-etapes gardent leur 2e ligne un cran plus petite. */
.lp #candidature .title--sans em.l2 { font-size: 1em; line-height: inherit; letter-spacing: inherit; margin-top: 0; }

/* Preuve sociale du hero : bulles des fondateurs accompagnés et présentation du coach */
.proof { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.proof__faces { display: flex; flex: none; }   /* ne rétrécit pas : sinon la 3e bulle recouvre le texte */
.proof__faces img { width: 40px; height: 40px; border-radius: var(--radius-full); object-fit: cover; border: 2px solid var(--ground); }
.proof__faces img + img { margin-left: -12px; }
.proof__text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 14px; color: var(--ink-muted); text-align: left; }
.proof__text b { color: var(--ink); font-weight: 800; }
.proof__text span:last-child { white-space: nowrap; }
.lp .hero .proof__text span:last-child { white-space: normal; }
/* Petits téléphones : « 170+ fondateurs tech accompagnés » tient sur une ligne */
@media (max-width: 400px) {
  .proof__text { font-size: 13px; }
}
/* Très petits écrans (≤ 359 px) : le texte passe à la ligne (règle placée après le nowrap ci-dessus pour l'emporter) */
@media (max-width: 359px) {
  .proof__text span:last-child { white-space: normal; }
}
/* Landing : 6 bulles. Jusqu'à 480 px de large, les bulles et « 170+ fondateurs tech accompagnés » ne tiennent
   plus côte à côte : les bulles passent au-dessus du texte, centrées. */
@media (max-width: 480px) {
  .lp .proof { flex-direction: column; gap: 8px; }
  .lp .proof__text { align-items: center; text-align: center; }
}

/* Hero avec portrait : texte à gauche, photo et signature à droite.
   Sur mobile, l'ordre reste titre, portrait compact, texte et candidature. */
.lp .hero--portrait {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  row-gap: 24px;
  text-align: left;
}
.lp .hero--portrait .hero__heading { grid-column: 1; min-width: 0; }
.lp .hero--portrait .hero__audience { margin: 0 0 16px; color: var(--lavender); font-size: 14px; font-weight: 600; line-height: 1.4; }
.lp .hero--portrait .title--sans { grid-column: 1; margin: 0; text-wrap: initial; }
.lp .hero--portrait .hero__content { grid-column: 1; min-width: 0; }
.lp .hero--portrait .hero__content > .lede { margin: 0; max-width: 56ch; line-height: 1.55; }
.lp .hero--portrait .hero__content > .hero__approach { margin-top: 16px; }
.lp .hero--portrait .proof, .lp .hero--portrait .cta-row { justify-content: flex-start; }
.lp .hero--portrait .reassure { margin-left: 0; text-align: left; font-size: 14px; color: var(--ink-muted); }
.hero__coach { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: start; }
.hero__portrait {
  display: block; width: 100%; height: 400px;
  object-fit: cover; object-position: center top;
  border-radius: var(--radius);
}
.hero__signature { margin-top: 16px; color: var(--ink-muted); font-size: 16px; line-height: 1.5; text-align: center; }
.hero__signature strong { color: var(--ink); font-size: 18px; }
@media (max-width: 900px) {
  .lp .hero--portrait { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); column-gap: 24px; }
  .lp .hero--portrait .title--sans { font-size: 38px; }
  .hero__portrait { height: 340px; }
}
@media (max-width: 760px) {
  .lp .hero--portrait { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .lp .hero--portrait .title--sans { font-size: clamp(28px, 8.5vw, 34px); text-wrap: balance; }
  .hero__coach { display: flex; align-items: center; justify-content: center; gap: 16px; align-self: center; }
  .hero__portrait { width: 88px; height: 104px; flex: none; border-radius: var(--radius); }
  .hero__signature { margin: 0; text-align: left; font-size: 14px; }
  .hero__signature strong { font-size: 16px; }
  .lp .hero--portrait .hero__content > .lede { font-size: 15.5px; max-width: 46ch; margin: 0 auto; }
  .lp .hero--portrait .hero__content > .hero__approach { margin-top: 16px; }
  .lp .hero--portrait .proof, .lp .hero--portrait .cta-row { justify-content: center; }
  .lp .hero--portrait .reassure { margin-left: auto; text-align: center; }
}

/* Motif de marque : courbe de croissance sous un bloc texte, terminée par le point lavande */
.curve { display: block; width: 100%; max-width: 760px; height: auto; margin: 48px auto 0; overflow: visible; }

/* ---------- Les 3 phases ---------- */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* Numéros dans un cercle lavande, comme les phases de la landing (.phase__num) */
.phases .index--dot {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: var(--radius-full); background: var(--lavender); color: var(--on-lavender); box-shadow: var(--glow-dot);
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}

/* ---------- Ce que je fais / ce que tu fais ---------- */
/* Variante flèche (« Ce que j'attends de toi ») : cercle à contour lavande, sans fond, pour la distinguer des crochets */
.lp .checklist.checklist--arrow li::before {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.5 4l4 4-4 4' fill='none' stroke='%23ba99fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--lavender);
}

/* ---------- Listes à crochets (landing) : crochet lavande dans une pastille, aligné à gauche du texte ---------- */
.lp .checklist li { padding: 11px 0 11px 34px; }
.lp .checklist li::before {
  top: 11px; width: 22px; height: 22px; border: 0; border-radius: var(--radius-full);
  background: var(--lavender-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23ba99fd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
/* Section « Pour qui » : crochets verts (« C'est pour toi si… ») et croix rouges (« Ce n'est pas pour toi si… »).
   Vert et rouge = écart assumé avec la charte (lavande seul accent).
   Limité à .checklist--yes / .checklist--no : les autres listes de la page gardent leurs crochets lavande. */
.lp .checklist.checklist--yes li::before {
  background: rgba(74, 222, 128, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%234ade80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lp .checklist.checklist--no li::before {
  background: rgba(248, 113, 113, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%23f87171' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.lp .card--no { background: transparent; border-color: var(--line-strong); }

/* ---------- Qui est Mathieu Nebra : portrait détouré + texte ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about__photo { margin: 0; position: relative; }
/* Halo violet discret derrière le portrait (lumière de marque, décorative) */
.about__photo::before { content: ""; position: absolute; inset: 6% -12% 18% -12%; background: radial-gradient(closest-side, rgba(104, 76, 186, 0.55), rgba(104, 76, 186, 0)); }
.about__photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 681 / 1129; }
.about .section__head { margin-bottom: 0; }
.about .lede + .lede { margin-top: 14px; }

/* ---------- Études de cas ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case { display: flex; flex-direction: column; gap: 10px; }
/* Logos des entreprises (versions blanches sur fond transparent, assets/media/logos/) : ils remplacent le nom dans
   le titre de la carte (h3.case__brand, nom dans l'alt). Pas de logo pour Manuel P., qui garde son titre texte.
   Le logo d'Airline Selection Programme est empilé (emblème + nom dessous) : affiché plus haut pour rester lisible. */
.case__brand { align-self: flex-start; display: flex; align-items: center; min-height: 60px; margin: 0 0 6px; }
.case__logo { display: block; width: auto; height: 30px; max-width: 100%; }
.case__logo--stacked { height: 60px; }
.case p, .case h3 { margin: 0; }
.case .case__result {
  display: flex; flex-direction: column; gap: 6px;
  margin: 8px 0 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong);
}
.case__metric {
  font-size: clamp(44px, 5vw, 60px); font-weight: 900; line-height: 1.08;
  letter-spacing: -0.045em; color: var(--lavender); font-variant-numeric: lining-nums tabular-nums;
}
.case__label { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.case__baseline { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--ink-muted); }
.case .case__who { font-size: 14px; color: var(--ink-muted); margin-top: auto; padding-top: 6px; }
.cases-note { margin-top: 16px; font-size: 13px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--lavender); border-bottom: 2px solid var(--lavender);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--lavender); }
.faq__a { padding: 0 0 22px; font-size: 16px; color: var(--ink); max-width: 68ch; }

/* ---------- Page « prochaines étapes » ---------- */
.done-check { margin: 0 auto 22px; }
.booking { margin-top: 18px; }
.slot {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 6px auto 0; padding: 12px 18px;
  background: var(--ground-raised); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 16px; line-height: 1.3; color: var(--ink); white-space: nowrap;
}
.slot__ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--lavender); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.slot strong { color: var(--lavender); font-weight: 800; }
.slot__tz { color: var(--ink-muted); }
.slot__short { display: none; }
.tsteps { display: grid; gap: 16px; max-width: 760px; }
.tstep { padding: 28px; }
.tstep h3 { font-size: 22px; }
.tstep .note-line { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
/* Étape avec visuel : texte à gauche, image à droite (empilés sur mobile) */
.tsteps:has(.tstep--media) { max-width: none; }
.tstep--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.tstep__media { margin: 0; }
.tstep__cap { margin-top: 10px; font-size: 13px; color: var(--ink-muted); text-align: center; }

/* Maquette de l'invitation Google Agenda (couleurs de l'email, pas de la charte : c'est une capture) */
.invite {
  padding: 18px 20px; border-radius: var(--radius); background: #ffffff; color: #202124;
  font-size: 13px; line-height: 1.4; text-align: left;
}
.invite p { margin: 0; }
.invite__from { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5f6368; }
.invite__avatar { width: 22px; height: 22px; flex: none; border-radius: var(--radius-full); background: #1a73e8; }
.invite__subject { margin-top: 12px !important; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #202124; }
.invite__when { margin-top: 4px !important; color: #3c4043; }
.invite__meet {
  display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 6px;
  background: #1a73e8; color: #ffffff; font-weight: 600;
}
.invite__rsvp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e8eaed; }
.invite__q { margin-right: 4px; color: #5f6368; }
.invite__btn { padding: 5px 14px; border: 1px solid #dadce0; border-radius: 6px; color: #3c4043; font-weight: 600; }
.invite__btn--yes { border-color: var(--lavender); color: #202124; box-shadow: 0 0 0 3px var(--lavender-ring), var(--glow-dot); }

/* Emplacement de la capture Google Meet (en attendant la photo) */
.call { padding: 10px; border-radius: var(--radius); background: #202124; }
.call__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.call__tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3;
  border-radius: 8px; background: #3c4043;
}
.call__avatar { width: 40%; aspect-ratio: 1; border-radius: var(--radius-full); background: #5f6368; }
.call__name { position: absolute; left: 8px; bottom: 6px; font-size: 12px; font-weight: 600; color: #ffffff; }
.call__bar { display: flex; justify-content: center; gap: 10px; padding-top: 10px; }
.call__bar span { width: 28px; height: 28px; border-radius: var(--radius-full); background: #3c4043; }
.call__bar .call__end { width: 40px; background: #ea4335; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .phases, .cases { grid-template-columns: 1fr; }
  .tstep--media { grid-template-columns: 1fr; gap: 22px; }
  .tstep__media { width: 100%; max-width: 420px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about__photo { width: 100%; max-width: 240px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .lp .section { padding-top: 64px; }
  .lp .section__head .title { margin-left: auto; margin-right: auto; }
  .lp .cta-row .push { width: 100%; }
  .curve { margin-top: 36px; }
  /* En-tête compact et hero remonté sur mobile */
  .lp .header { padding: 10px 16px; }
  .lp .wordmark__logo { height: 30px; }
  .proof { margin-top: 18px; }
  /* Cartes à liste : texte aligné à gauche, crochet sur la même ligne que le texte */
  .lp .card:has(> .checklist) { text-align: left; }
  .lp .checklist li::before { position: absolute; display: block; margin: 0; }
  .case__brand { align-self: center; }
  .faq summary { text-align: left; font-size: 17px; }
  .faq__a { text-align: left; }
  .tstep { padding: 22px 18px; }
  .tstep--media { gap: 18px; }
  .invite { padding: 16px; }
  .invite__q { flex-basis: 100%; }
  .phases .index--dot { width: 44px; height: 44px; margin: 0 auto 14px; font-size: 15px; }
  .slot { gap: 8px; padding: 10px 12px; font-size: clamp(12.5px, 3.8vw, 14px); }
  .slot__ico { width: 18px; height: 18px; }
  .slot__long { display: none; }
  .slot__short { display: inline; }
}

/* ---------- Comment ça marche : 3 phases détaillées (landing uniquement : .phases--detail) ----------
   Une colonne de 3 cartes pleine largeur. En-tête : cercle lavande numéroté (le point de la courbe
   de marque) + timing en eyebrow + titre. Corps aligné sur le titre : un seul paragraphe (.phase__lead,
   généré par _tools/build_phases.py).
   Illustration (figure.phase__visual, SVG en ligne) à droite sur desktop, sous le texte sur tablette et mobile.
   Un fil lavande relie les cercles 01 → 02 → 03 d'une carte à l'autre.
   La liste sans modificateur de prochaines-etapes.html n'est touchée par aucune de ces règles. */
.lp .phases--detail {
  --dot: 56px; --gap: 16px; --pad-t: 32px; --pad-l: 36px; --head-gap: 20px;
  grid-template-columns: 1fr; gap: var(--gap);
}
.lp .phases--detail .phase {
  position: relative; text-align: left;
  padding: var(--pad-t) 40px 36px var(--pad-l);
  /* Colonne texte d'au moins 340 px (sinon 18 caractères par ligne vers 860–1000 px) ; la ligne de titre garde
     sa hauteur et c'est la ligne du texte qui absorbe la hauteur de l'illustration */
  display: grid; grid-template-columns: minmax(340px, 1fr) minmax(0, 390px); grid-template-rows: auto 1fr;
  column-gap: 40px; align-items: start;
}
.lp .phases--detail .phase__visual { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.lp .phases--detail .phase__visual svg { display: block; width: 100%; height: auto; }

/* Carte 03 : la carte de maturité évolue en boucle (mois 1 → mois 2 → mois 6), fondu enchaîné de 0,4 s,
   barre de progression en segments synchronisée. Sans animation (préférence système) : mois 6 fixe. */
.mm-cycle .mm-state, .mm-cycle .mm-seg { opacity: 0; animation: mm-cycle 9s infinite; }
.mm-cycle .mm-state--2, .mm-cycle .mm-seg--2 { animation-delay: 3s; }
.mm-cycle .mm-state--3, .mm-cycle .mm-seg--3 { animation-delay: 6s; }
/* En pause hors de l'écran (classe is-paused posée par site.js) et sous le formulaire plein écran */
.mm-cycle.is-paused .mm-state, .mm-cycle.is-paused .mm-seg,
html.modal-open .mm-cycle .mm-state, html.modal-open .mm-cycle .mm-seg { animation-play-state: paused; }
@keyframes mm-cycle { 0% { opacity: 0; } 4.4% { opacity: 1; } 33.3% { opacity: 1; } 37.7% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .mm-cycle .mm-state, .mm-cycle .mm-seg { animation: none; }
  .mm-cycle .mm-state--3, .mm-cycle .mm-seg--3 { opacity: 1; }
}

/* 02 ⇄ 03 : les sessions et les bilans de sprint tournent en boucle. À la place du fil simple entre 02 et 03,
   deux flèches : vers le bas (02 → 03) à droite du fil, vers le haut (03 → 02) à gauche. Même tracé que le fil. */
.lp .phases--detail .phase--loop::before { display: none; }
.lp .phases--detail .phase__loop {
  position: absolute; z-index: 1; width: 16px;
  left: calc(var(--pad-l) + var(--dot) / 2 - 8px);
  top: calc(var(--pad-t) + var(--dot) + 8px);
  bottom: calc(8px - var(--gap) - var(--pad-t) - 2px);
}
.lp .phases--detail .phase__loop i { position: absolute; top: 0; bottom: 0; width: 2px; border-radius: var(--radius-full); background: rgba(186, 153, 253, 0.6); }
.lp .phases--detail .phase__loop-up { left: 0; }
.lp .phases--detail .phase__loop-down { right: 0; }
.lp .phases--detail .phase__loop i::after {
  content: ""; position: absolute; left: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--lavender); border-bottom: 2px solid var(--lavender);
}
.lp .phases--detail .phase__loop-down::after { bottom: 1px; transform: translateX(-50%) rotate(45deg); }
.lp .phases--detail .phase__loop-up::after { top: 1px; transform: translateX(-50%) rotate(-135deg); }

/* En-tête : cercle sur deux rangées, timing au-dessus du titre */
.lp .phases--detail .phase__head {
  grid-column: 1; grid-row: 1;
  display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: var(--head-gap);
  grid-template-areas: "num kicker" "num title"; align-items: center;
}
.lp .phases--detail .phase__num {
  grid-area: num; align-self: start; position: relative; z-index: 2;
  display: grid; place-items: center; margin: 0;
  width: var(--dot); height: var(--dot); border-radius: var(--radius-full);
  background: var(--lavender); color: var(--on-lavender); box-shadow: var(--glow-dot);
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lp .phases--detail .card__kicker { grid-area: kicker; align-self: end; margin: 0 0 6px; }
.lp .phases--detail h3 { grid-area: title; align-self: start; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }

/* Corps : aligné sur le titre (cercle + écart). Lignes plafonnées à 34em, soit 65 à 70 caractères */
.lp .phases--detail .phase__body { grid-column: 1; grid-row: 2; margin-top: 20px; padding-left: calc(var(--dot) + var(--head-gap)); }
.lp .phases--detail .phase__lead { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--ink); }

/* Fil des étapes : part sous le cercle, traverse l'espace entre les cartes, s'arrête au cercle suivant.
   Distance sous la carte = bordure 1 px + écart + bordure 1 px + marge haute de la carte suivante. */
.lp .phases--detail .phase:not(:last-child)::before {
  content: ""; position: absolute; z-index: 1; width: 2px;
  left: calc(var(--pad-l) + var(--dot) / 2 - 1px);
  top: calc(var(--pad-t) + var(--dot) + 8px);
  bottom: calc(8px - var(--gap) - var(--pad-t) - 2px);
  border-radius: var(--radius-full);
  background: linear-gradient(rgba(186, 153, 253, 0.55), rgba(186, 153, 253, 0.22) 45%, rgba(186, 153, 253, 0.22) 75%, rgba(186, 153, 253, 0.55));
}

/* Tablette : détails sur une colonne, toujours alignés sur le titre */
@media (max-width: 860px) {
  .lp .phases--detail { --pad-t: 28px; --pad-l: 32px; }
  .lp .phases--detail .phase__lead { font-size: 17px; }
  .lp .phases--detail .phase { display: block; padding: var(--pad-t) 32px 32px var(--pad-l); }
  .lp .phases--detail .phase__visual { margin: 24px 0 0 calc(var(--dot) + var(--head-gap)); max-width: 460px; }
}

/* Mobile : cercle + timing sur une ligne, titre pleine largeur, texte aligné à gauche.
   Le fil ne court plus le long du texte : il relie seulement le bas d'une carte au cercle suivant. */
@media (max-width: 640px) {
  .lp .phases--detail { --dot: 44px; --gap: 20px; --pad-t: 22px; --pad-l: 20px; --head-gap: 14px; }
  .lp .phases--detail .phase { padding: var(--pad-t) 20px 24px var(--pad-l); }
  .lp .phases--detail .phase__head { grid-template-areas: "num kicker" "title title"; }
  .lp .phases--detail .phase__num { font-size: 15px; }
  .lp .phases--detail .card__kicker { align-self: center; margin: 0; }
  .lp .phases--detail h3 { margin-top: 14px; font-size: 20px; }
  .lp .phases--detail .phase__body { margin-top: 12px; padding-left: 0; }
  .lp .phases--detail .phase__lead { font-size: 16px; }
  .lp .phases--detail .phase__visual { margin: 18px 0 0; }
  .lp .phases--detail .phase:not(:last-child)::before {
    top: 100%; bottom: auto; height: calc(var(--gap) + var(--pad-t) + 2px - 8px);
    background: rgba(186, 153, 253, 0.5);
  }
  .lp .phases--detail .phase__loop { top: 100%; bottom: auto; height: calc(var(--gap) + var(--pad-t) + 2px - 8px); }
}
@media (max-width: 359px) {
  .lp .phases--detail { --dot: 40px; --pad-t: 20px; --pad-l: 16px; --head-gap: 12px; }
  .lp .phases--detail .phase { padding: var(--pad-t) 16px 22px var(--pad-l); }
  .lp .phases--detail .phase__num { font-size: 14px; }
  .lp .phases--detail .card__kicker { letter-spacing: .12em; }
  .lp .phases--detail h3 { font-size: 19px; }
}

/* ---------- Formulaire en fenêtre plein écran (coaching.html) ----------
   Chaque bouton [data-open-form] ouvre #form-modal (site.js). Fermer garde les réponses :
   un nouveau clic reprend à la même question. Le panneau occupe tout l'écran (fond opaque du formulaire .tf,
   habillage dans le bloc suivant), en fondu à l'ouverture. */
html.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain; }
.modal[hidden] { display: none; }
.modal__backdrop { display: none; }   /* plein écran opaque : rien à cliquer autour */
.modal__panel { position: relative; width: 100%; min-height: 100%; animation: tf-fade .25s ease; }
.modal__panel:focus { outline: none; }
/* Cibles de focus posées par site.js (groupe de choix, titre de fin, question) : pas d'anneau, comme la fenêtre */
.tf [tabindex="-1"]:focus { outline: none; }
.modal__close {
  position: fixed; top: 22px; right: 24px; z-index: 3;   /* centrée sur la ligne du logo */
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 1.5px solid var(--line-control); border-radius: var(--radius-full);
  background: var(--ground); color: var(--ink);
  transition: border-color .15s ease, color .15s ease;
}
.modal__close:hover { border-color: var(--lavender); color: var(--lavender); }
.modal__close svg { width: 14px; height: 14px; }

/* ==========================================================================
   Formulaire de candidature plein écran (coaching.html : fenêtre #form-modal + <form class="form tf">)
   Fonctionnement « Typeform » : une question par écran, numérotée (« 3 → »), choix lettrés A, B, C… avec passage
   automatique (cf. site.js), bouton OK + Entrée, flèches haut/bas au bout de la ligne du bouton OK.
   Habillage aligné sur le reste du site : même fond à deux lueurs, même en-tête avec
   le monogramme MN, phrase « Remplis ce formulaire… », barre de progression de marque,
   questions en Inter 800, champs encadrés et boutons « physiques » (tranche 3D) comme .input, .choice et .push.
   Questions alignées à gauche, y compris sur mobile (écart assumé avec le « tout centré sur mobile » du site).
   Règles limitées à .tf et .tf-* : index.html (parcours vidéo) n'est pas concerné.
   N.B. « .tf-intro » (index.html) est une autre classe, sans rapport.
   ========================================================================== */
@keyframes tf-fade { from { opacity: 0; } to { opacity: 1; } }

/* Fond du site (lueur glow en haut à gauche, glow-soft en bas à droite) */
.tf.form {
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh; margin: 0;
  border: 0; border-radius: 0; overflow: visible; text-align: left;
  background-color: var(--ground);
  background-image:
    radial-gradient(900px 640px at 0% 0%, rgba(104, 76, 186, 0.55), rgba(104, 76, 186, 0) 70%),
    radial-gradient(760px 560px at 100% 100%, rgba(68, 54, 111, 0.7), rgba(68, 54, 111, 0) 70%),
    linear-gradient(160deg, var(--ground) 0%, var(--ground-deep) 100%);
}

/* En-tête du site : monogramme centré, filet en dessous */
.tf-head { flex: none; display: flex; justify-content: center; align-items: center; padding: 22px 88px; border-bottom: 1px solid var(--line); }

/* Colonne des questions : texte d'éligibilité, barre, puis la question (marge gauche pour le numéro « 3 → ») */
.tf .form__stage { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(32px, 8vh, 80px) 40px 64px 88px; }
.tf-lead { margin: 0 0 18px; }
.tf-lead__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.tf.is-end .tf-lead { display: none; }
.tf .form__progress { padding: 0; margin: 0 0 clamp(32px, 6vh, 52px); }   /* barre de marque (.form__bar), pleine colonne */
/* Écrans de fin (non éligible, transition) : sans barre de progression et texte remonté */
.tf.is-end .form__progress { display: none; }
.tf.is-end .form__stage { padding-top: clamp(24px, 5vh, 48px); }
.tf .form__bar i::after { display: none; }   /* sans le point au bout : il prêtait à confusion */

.tf .step { animation: none; text-align: left; }
.tf[data-dir="next"] .step.is-active { animation: tf-up .45s cubic-bezier(.2, .8, .2, 1); }
.tf[data-dir="prev"] .step.is-active { animation: tf-down .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes tf-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes tf-down { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }

.tf .step .field { gap: 0; }
.tf .field { text-align: left; }   /* annule le centrage mobile de .field */
.tf .question { display: block; position: relative; margin: 0 0 24px; font-size: clamp(22px, 2.6vw, 28px); }
.tf .question[data-num]::before {
  content: attr(data-num) "\00a0\2192";
  content: attr(data-num) "\00a0\2192" / "";   /* décoratif : pas lu dans le nom du champ (navigateurs récents) */
  position: absolute; right: 100%; top: .45em; margin-right: 14px;
  font-size: 14px; font-weight: 800; line-height: 1.2; letter-spacing: 0; color: var(--lavender); white-space: nowrap;
}
.tf .tf-desc { margin: -12px 0 20px; font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
.tf .field__sub { text-align: left; }

/* Champs : ceux du site (encadrés, anneau lavande au focus), un cran plus grands */
.tf .input { padding: 16px 18px; font-size: 18px; }
.tf textarea.input { min-height: 104px; resize: none; overflow: hidden; }   /* hauteur ajustée au texte (site.js) */
.tf .phone { grid-template-columns: 150px 1fr; }

/* Choix : boutons .choice du site (tranche 3D), en colonne, la lettre A, B, C… à la place de la coche */
.tf .choices { display: flex; flex-direction: column; align-items: stretch; counter-reset: tf-key; }
.tf .choice { counter-increment: tf-key; justify-content: flex-start; text-align: left; padding: 14px 16px; gap: 14px; font-size: 17px; }
.tf .choice__check {
  position: static; transform: none;
  width: 28px; height: 28px; border-radius: 6px;
  font-size: 13px; font-weight: 800; line-height: 1; color: var(--lavender);
}
.tf .choice__check::before { content: counter(tf-key, upper-alpha); }
.tf .choice__check::after { display: none; }
.tf .choice.is-selected .choice__check { color: var(--on-lavender); }
.tf .choice.is-picked { animation: tf-blink .45s ease; }   /* classe posée au clic seulement (site.js) */
@keyframes tf-blink { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: .45; } }

/* Erreur : petite pastille sous la réponse */
.tf .field__error {
  justify-self: start; width: fit-content; margin: 14px 0 0; padding: 5px 10px; border-radius: 6px;
  background: rgba(255, 155, 143, 0.12); font-size: 14px;
}

/* Bouton OK = bouton .push du site ; rappel clavier à côté ; flèches haut/bas au bout de la même ligne
   (dans le flux et non fixées en bas de l'écran : fixées, elles recouvraient OK et les derniers choix sur mobile) */
.tf .form__actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 16px; margin-top: 32px; padding-top: 0; border-top: 0; }
.tf-ok {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 16px 30px; border: 0; border-radius: var(--radius);
  background: var(--lavender); color: var(--on-lavender);
  font: 800 17px/1.2 var(--font-sans); letter-spacing: 0.01em; text-align: center;
  box-shadow: 0 5px 0 var(--glow);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
}
.tf-ok:hover { filter: brightness(1.06); }
.tf-ok:active { transform: translateY(5px); box-shadow: 0 0 0 var(--glow); }
.tf-ok[disabled] { opacity: .5; cursor: default; filter: none; transform: none; box-shadow: 0 5px 0 var(--glow); }
.tf-ok .ico { width: 16px; height: 16px; flex: none; }
.tf-hint { font-size: 13px; color: var(--ink-muted); }
.tf-hint b { font-weight: 600; color: var(--ink); }
.tf-hint--long, .tf.is-long .tf-hint--enter { display: none; }
.tf.is-long .tf-hint--long { display: inline; }
.tf-arrows { display: flex; gap: 8px; flex: none; margin-left: auto; }
.tf-arrow {
  display: grid; place-items: center; width: 44px; height: 40px; padding: 0; cursor: pointer;
  border: 1.5px solid var(--line-control); border-radius: var(--radius-sm);
  background: var(--ground); color: var(--lavender); box-shadow: 0 3px 0 var(--glow);
  transition: transform .08s ease, box-shadow .08s ease, border-color .15s ease;
}
.tf-arrow:hover { border-color: var(--ink-muted); }
.tf-arrow:active { transform: translateY(3px); box-shadow: 0 0 0 var(--glow); }
.tf-arrow[disabled] { opacity: .4; cursor: default; transform: none; box-shadow: 0 3px 0 var(--glow); border-color: var(--line-control); }
.tf-arrow svg { width: 16px; height: 16px; }

/* Écrans de fin (transition vers /reserver, non éligible) */
.tf .step--end .step__title { font-size: clamp(28px, 3.4vw, 36px); }
.tf .tf-end-text { max-width: 58ch; font-size: 17px; line-height: 1.55; color: var(--ink); }
.tf .step--end .step__title + .tf-end-text { margin-top: 18px; }
/* Écran « non éligible » : ressources (newsletter, diagnostic, réseaux). Chaque carte est un simple encadré
   (pas cliquable) et porte un vrai bouton lavande à tranche 3D, comme .push / .tf-ok, avec une flèche « lien externe ». */
.tf .tf-res { display: grid; gap: 12px; max-width: 58ch; margin: 22px 0 24px; padding: 0; list-style: none; }
.tf-res__item { padding: 16px 18px 18px; background: var(--ground-raised); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.tf-res__item p { margin: 0; }
.tf-res__title { font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.tf-nw { white-space: nowrap; }   /* « scale-up » ne se coupe pas au trait d'union */
.tf-res__item .tf-res__desc { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.tf-res__item .tf-res__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tf-res__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius); text-decoration: none; white-space: nowrap;
  background: var(--lavender); color: var(--on-lavender); font: 800 15px/1.2 var(--font-sans); letter-spacing: 0.01em;
  box-shadow: 0 4px 0 var(--glow);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
}
.tf-res__btn:hover { filter: brightness(1.06); }
.tf-res__btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--glow); }
.tf-res__btn .ico { width: 14px; height: 14px; flex: none; }
@media (max-width: 640px) {
  .tf-res__item { padding: 14px 14px 16px; }
  .tf-res__btn { flex: 1 1 0; }   /* pleine largeur, ou deux moitiés pour LinkedIn / Instagram */
}

@media (max-width: 640px) {
  .tf-head { padding: 10px 64px; }
  .modal__close { top: 5px; right: 12px; }
  .tf .form__stage { padding: 24px 16px 40px; }
  .tf.is-end .form__stage { padding-top: 20px; }
  .tf .question { font-size: 21px; }
  .tf .question[data-num]::before { position: static; display: inline; margin-right: 8px; font-size: 13px; vertical-align: 2px; }
  .tf .field__row { grid-template-columns: 1fr; gap: 14px; }
  .tf .phone { grid-template-columns: 134px 1fr; gap: 10px; }   /* « 🇱🇺 +352 » entier à 18 px */
  .tf .form__actions { flex-wrap: nowrap; gap: 10px; }
  .tf .form__actions .tf-ok { flex: 1 1 auto; min-width: 0; }   /* OK prend la ligne, flèches au bout */
  .tf .step--end .form__actions .tf-ok { width: 100%; }
  .tf .tf-hint, .tf.is-long .tf-hint--long { display: none; }   /* pas de clavier physique */
  .tf .tf-end-text { font-size: 16px; }
  /* Écrans de fin (non éligible, transition) : titre et textes centrés sur mobile ; les questions restent à gauche */
  .tf .step--end .step__title, .tf .step--end .tf-end-text { text-align: center; margin-left: auto; margin-right: auto; }
}
/* Tablettes tactiles sans clavier : pas de rappel « Entrée » non plus (même test que site.js) */
@media not all and (pointer: fine) {
  .tf .tf-hint, .tf.is-long .tf-hint--long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tf[data-dir] .step.is-active, .tf .choice.is-picked, .modal__panel { animation: none; }
}

/* ---------- Page /reserver (reserver.html) : calendrier mensuel + horaires du jour (données GHL via /api/slots) ----------
   Carte en deux colonnes sur desktop (calendrier | horaires), empilées sur tablette et mobile.
   Jours avec créneaux en lavande clair, jour choisi en lavande plein (avec le halo du point de marque) ;
   jours sans créneau estompés. Horaires = boutons .choice du site (fond, filet, tranche 3D). */
.lp--book [hidden] { display: none !important; }
a.tf-ok { text-decoration: none; }
.book-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-muted); }
.book-facts li { display: inline-flex; align-items: center; gap: 8px; }
.book-facts svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--lavender); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.book { padding-top: 40px; }
.cal-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  max-width: 880px; margin: 0 auto; text-align: left;
  background: var(--ground-raised); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 10, 35, 0.35);
}
.cal { padding: 28px 32px 26px; min-width: 0; }
.slots { display: flex; flex-direction: column; min-width: 0; padding: 28px 28px 26px; border-left: 1px solid var(--line); }
.cal__step { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-muted); }
.cal__step span {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--radius-full);
  border: 1px solid var(--lavender); background: var(--lavender-wash); color: var(--lavender);
  font-size: 11px; font-weight: 800; letter-spacing: 0;
}
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal__title { flex: 1; min-width: 0; text-align: center; white-space: nowrap; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.cal__nav {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 1.5px solid var(--line-control); border-radius: var(--radius-sm);
  background: var(--ground); color: var(--lavender); box-shadow: 0 3px 0 var(--glow);
  transition: transform .08s ease, box-shadow .08s ease, border-color .15s ease;
}
.cal__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__nav:hover { border-color: var(--ink-muted); }
.cal__nav:active { transform: translateY(3px); box-shadow: 0 0 0 var(--glow); }
.cal__nav[disabled] { opacity: .35; cursor: default; transform: none; box-shadow: 0 3px 0 var(--glow); border-color: var(--line-control); }
.cal__weekdays, .cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__weekdays { margin-bottom: 6px; }
.cal__weekdays span { padding: 4px 0; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-muted); }
.cal__days { transition: opacity .2s ease; }
.booker.is-loading .cal__days { opacity: .45; }
.cal__day {
  position: relative; display: grid; place-items: center; justify-self: center;
  width: 100%; max-width: 52px; aspect-ratio: 1; padding: 0;
  border: 0; border-radius: var(--radius-full); background: transparent;
  font: 600 15px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--ink-muted); opacity: .45;
}
.cal__day.is-available {
  cursor: pointer; opacity: 1; color: var(--lavender); font-weight: 800; background: var(--lavender-wash);
  transition: background .15s ease, color .15s ease, transform .08s ease;
}
.cal__day.is-available:hover { background: rgba(186, 153, 253, 0.28); }
.cal__day.is-available:active { transform: scale(.94); }
.cal__day.is-selected, .cal__day.is-selected:hover { background: var(--lavender); color: var(--on-lavender); box-shadow: var(--glow-dot); }
/* Aujourd'hui : petit point sous le chiffre */
.cal__day.is-today::after { content: ""; position: absolute; bottom: 14%; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: var(--radius-full); background: currentColor; }

.slots__title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.booker__tz { margin: 6px 0 0; font-size: 13px; }
.booker__msg { margin: 16px 0 0; font-size: 15px; color: var(--ink-muted); }
.booker__msg:empty { margin: 0; }   /* zone d'état toujours rendue (annonces des lecteurs d'écran), invisible vide */
/* Marge intérieure de 6 px (compensée par la marge négative) : anneau de focus et tranche 3D pas coupés par le défilement */
.slots__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start;
  max-height: 330px; overflow-y: auto; margin: 10px -6px 0; padding: 6px 6px 10px; scrollbar-width: thin;
}
.slots__list:empty { display: none; }
.booker__time {
  padding: 13px 0; cursor: pointer; color: var(--ink);
  font: 600 16px/1 var(--font-sans); font-variant-numeric: tabular-nums;
  background: var(--ground); border: 1.5px solid var(--line-control); border-radius: var(--radius-sm);
  box-shadow: 0 3px 0 var(--glow);
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease, border-color .15s ease;
}
.booker__time:hover { border-color: var(--ink-muted); }
.booker__time:active { transform: translateY(3px); box-shadow: 0 0 0 var(--glow); }
.booker__time.is-selected { background: var(--lavender); border-color: var(--lavender); color: var(--on-lavender); }
.booker__error { margin: 16px 0 0; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 15px; color: var(--ink); }
.booker__error a { font-weight: 600; }
/* « Réessayer » (échec du chargement des créneaux) : bouton à l'allure d'un lien, collé au lien de secours dans le
   HTML (d'où la marge) ; anneau de focus commun du site (:focus-visible) */
.booker__retry {
  margin: 0 0 0 12px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--lavender); text-decoration: underline;
}
.booker__retry[hidden] { display: none; }
.slots__actions { margin-top: auto; padding-top: 20px; }
.slots__actions .tf-ok { width: 100%; padding: 15px 18px; font-size: 16px; }
/* Réservation en cours : bouton grisé mais focalisable (aria-disabled, cf. site.js) */
.slots__actions .tf-ok[aria-disabled="true"] { opacity: .5; cursor: progress; filter: none; transform: none; box-shadow: 0 5px 0 var(--glow); }
.slots__title:focus { outline: none; }   /* focus posé par le script après un créneau déjà pris */
.booker__note { margin: 12px 0 0; font-size: 13px; text-align: center; }

@media (max-width: 860px) {
  .cal-card { grid-template-columns: 1fr; max-width: 560px; }
  .slots { border-left: 0; border-top: 1px solid var(--line); }
  .slots__title { scroll-margin-top: 16px; }
  .slots__list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; overflow: visible; }
  /* Bouton de réservation collé en bas de l'écran pendant qu'on parcourt les horaires ; la page garde
     une marge basse de la même hauteur, pour qu'un horaire atteint au clavier ne passe pas dessous */
  .slots__actions {
    position: sticky; bottom: 0; z-index: 1; margin: 16px -28px 0; padding: 14px 28px;
    background: var(--ground-raised); border-top: 1px solid var(--line);
  }
  html:has(> body.lp--book) { scroll-padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .book { padding-top: 28px; }
  .book-facts { gap: 8px 18px; margin-top: 18px; font-size: 14px; }
  .cal-card { border-radius: 14px; }
  .cal { padding: 22px 14px 20px; }
  .slots { padding: 22px 16px 20px; }
  .cal__step { justify-content: center; margin-bottom: 14px; }
  .cal__head { gap: 8px; padding: 0 4px; }
  .cal__title { font-size: 18px; }
  .cal__weekdays, .cal__days { gap: 4px; }
  .slots__title, .booker__tz, .booker__msg { text-align: center; }
  .slots__list { gap: 8px; }
  .slots__actions { margin: 16px -16px 0; padding: 12px 16px; }
}
@media (max-width: 400px) {
  .slots__actions .tf-ok { padding: 15px 10px; font-size: 15px; }   /* « Réserver mer. 21 oct. à 09:30 » sur une ligne */
}
@media (prefers-reduced-motion: reduce) {
  .cal__days { transition: none; }
}

/* Texte réservé aux lecteurs d'écran (annonce des erreurs du formulaire) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
