/* VALOIRE — page VSL. Palette et typographie en tokens ci-dessous. */

:root {
  --paper: #f4eee3;       /* fond parchemin */
  --paper-soft: #faf6ee;  /* champs, réponses */
  --paper-deep: #ebe2d3;  /* réponse sélectionnée, emplacement vidéo */
  --ink: #221f1b;         /* texte principal */
  --ink-soft: #3b3029;    /* survol du bouton */
  --taupe: #6f5a49;       /* accent */
  --gold: #9c7b45;        /* séparateurs de la ligne de preuves */
  --figure: #926850;      /* « 3 M€ » : brun chaud, serif italique */
  --badge-bg: #e8d4b8;    /* badge DISCLAIMER */
  --badge-ink: #6f4e3c;
  --hint: #8a7e6e;        /* disclaimer, lignes d'aide */
  --soft: #5a5248;        /* libellés, sous-titres */
  --muted: #6b5f55;       /* texte secondaire (contraste AA) */
  --line: #ddd2c0;        /* filets, bordures */
  --field-line: rgba(34, 31, 27, 0.28); /* bordure des champs et réponses */
  --error: #8a3b2a;

  /* 'the-seasons' = police de Savoire (Adobe Fonts, sous licence) : active
     seulement si le kit Adobe Fonts est ajouté dans index.html. Sinon Italiana. */
  --serif: 'the-seasons', 'Italiana', 'Cormorant Garamond', Georgia, serif;
  /* Police système (Segoe UI sous Windows, SF Pro sur Mac/iPhone) : c'est ce
     qu'affiche réellement la page de référence. Aucun téléchargement. */
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Consolas, 'Liberation Mono', monospace;
  /* Chiffre de la promesse : le « 1 » d'Italiana se lit comme un « I ». */
  --figure-font: 'Gilda Display', 'Italiana', Georgia, serif;

  --gutter: clamp(20px, 5vw, 40px);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 260ms;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--taupe);
}

:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Italiana est plus fine que The Seasons (police de la référence) : un léger
   contour lui donne la même graisse. À retirer si le kit The Seasons est ajouté. */
.brand__name,
.application__title,
.step__question {
  -webkit-text-stroke: 0.014em currentColor;
}

/* ─── Page ─────────────────────────────────────────────────────────────── */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-inline: var(--gutter);
}

.main {
  flex: 1;
  width: 100%;
  max-width: 812px;
  margin-inline: auto;
  text-align: center;
}

/* ─── Marque ───────────────────────────────────────────────────────────── */

.brand {
  padding-top: 30px;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: 0.09em;
  /* compense l'interlettrage final pour un centrage optique */
  padding-left: 0.09em;
  text-transform: uppercase;
}

.brand__tagline {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--hint);
}

/* ─── Promesse ─────────────────────────────────────────────────────────── */

.intro {
  margin-top: 28px;
}

.hero {
  margin-inline: auto;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 1.1rem + 3.4vw, 3.125rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__figure {
  display: block;
  margin-top: 6px;
  font-family: var(--figure-font);
  font-style: italic;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--figure);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero__line {
    display: block;
  }
}

.disclaimer {
  max-width: 640px;
  margin: 30px auto 0;
  font-size: 0.84375rem;
  line-height: 1.6;
  color: var(--hint);
  text-wrap: pretty;
}

.disclaimer__badge {
  display: inline-block;
  margin-right: 0.45em;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.65625rem;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.credibility {
  margin-top: 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--taupe);
  line-height: 1.7;
  text-wrap: balance;
}

.credibility__item {
  white-space: nowrap;
}

.credibility__sep {
  margin-inline: 0.3em;
  color: var(--gold);
}

/* Mobile : une preuve par ligne, sans séparateur orphelin. */
@media (max-width: 639px) {
  .credibility__item {
    display: block;
  }

  .credibility__sep {
    display: none;
  }
}

/* ─── Lecteur vidéo ────────────────────────────────────────────────────── */

.player {
  margin-top: 40px;
}

.player__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink);
}

.player__iframe,
.player__facade,
.player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player__facade {
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
}

.player__facade:focus-visible {
  outline-offset: -6px;
  outline-color: var(--paper);
}

.player__poster {
  object-fit: cover;
  opacity: 0.82;
  transition: opacity var(--t) var(--ease);
}

.player__cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.player__play {
  position: relative;
  width: clamp(60px, 9vw, 76px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(244, 238, 227, 0.55);
  background: rgba(244, 238, 227, 0.06);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}

.player__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--paper);
}

.player__label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.player__duration {
  margin-top: -8px;
  font-size: 0.75rem;
  opacity: 0.7;
}

.player__facade:hover .player__play {
  background: rgba(244, 238, 227, 0.14);
  border-color: var(--paper);
}

.player__facade:hover .player__poster {
  opacity: 0.7;
}

.player__frame:has(.player__unavailable) {
  background: var(--paper-deep);
}

.player__unavailable {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── Timer ────────────────────────────────────────────────────────────── */

.gate {
  margin-top: 44px;
}

.timer {
  max-width: 620px;
  margin-inline: auto;
  padding: 26px 24px 24px;
  border: 1px solid rgba(34, 31, 27, 0.08);
  border-radius: 10px;
  background: #fcfaf6;
}

.timer__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.90625rem;
  color: var(--soft);
}

.timer__icon {
  flex: none;
  color: var(--hint);
}

.timer__clock {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.timer__hint {
  margin-top: 10px;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--hint);
  text-wrap: balance;
}

/* ─── Candidature ──────────────────────────────────────────────────────── */

.application {
  max-width: 620px;
  margin: 0 auto;
  scroll-margin-top: 24px;
}


.application__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.application__subtitle {
  max-width: 414px;
  margin: 12px auto 0;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Progression : un segment par étape. */
.progress {
  display: flex;
  gap: 5px;
  margin-top: 14px;
}

.progress__segment {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(34, 31, 27, 0.1);
  transition: background-color 320ms var(--ease);
}

.progress__segment.is-done {
  background: var(--taupe);
}

.application__step {
  margin-top: 22px;
  text-align: left;
}

.step {
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}

.step__question {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.step__question:focus {
  outline: none;
}

.step__text {
  margin-top: 6px;
  color: var(--hint);
  font-size: 0.90625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.choices {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.choice:hover {
  border-color: var(--taupe);
}

.choice[aria-pressed='true'] {
  border-color: var(--taupe);
  background: var(--paper-deep);
}




/* Champs */

.field {
  margin-top: 16px;
}

.field-row {
  display: grid;
  gap: 0 12px;
  margin-top: 20px;
}

.field-row > .field:first-child {
  margin-top: 0;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .field-row > .field {
    margin-top: 0;
  }
}

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  color: var(--soft);
}

.field__input {
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  /* 16px minimum : évite le zoom automatique sur iOS */
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 180ms var(--ease);
}

.field__input:hover {
  border-color: rgba(34, 31, 27, 0.45);
}

.field__input:focus {
  outline: none;
  border-color: var(--taupe);
  box-shadow: 0 0 0 3px rgba(111, 90, 73, 0.14);
}

.field__input[aria-invalid='true'] {
  border-color: var(--error);
}

.field__input--area {
  min-height: 104px;
  resize: vertical;
}

.field__input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.field__input--select option {
  background: var(--paper);
}

.phone {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 8px;
}

.field__error {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--error);
}

.step__free {
  margin-top: 18px;
}

/* Consentement */

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.consent__box {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--taupe);
  cursor: pointer;
}

.consent__label {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--soft);
  cursor: pointer;
}

.consent + .field__error {
  margin-left: 32px;
}

.consent__privacy {
  margin: 8px 0 0 32px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Boutons */

.step__actions {
  margin-top: 38px;
}

.button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--taupe);
  color: var(--paper);
  font: inherit;
  font-size: 0.96875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms var(--ease), opacity 180ms var(--ease);
}

.button:hover {
  background: #5d4b3d;
}

.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.back {
  margin-top: 16px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--hint);
  font: inherit;
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.back:hover {
  color: var(--ink);
}

/* Résultat */

.result {
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}

/* Créneaux intégrés */
.result__slots {
  margin-top: 22px;
}

.slots__loading {
  color: var(--hint);
  font-size: 0.9375rem;
}

.slots__days,
.slots__times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slots__times {
  margin-top: 18px;
}

.slot {
  min-height: 49px;
  padding: 12px 18px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.slot:hover {
  border-color: var(--taupe);
}

.slot[aria-pressed='true'] {
  border-color: var(--taupe);
  background: var(--paper-deep);
}

.slot--time {
  min-width: 112px;
  font-family: var(--mono);
  font-size: 0.9375rem;
}

.slots__tz {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--hint);
}

.slots__message {
  margin-top: 14px;
}

.slots .step__actions {
  margin-top: 26px;
}

@media (max-width: 480px) {
  .slot--time {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 0;
  }
}

/* Créneau confirmé */
.booked {
  padding: 8px 0 12px;
  text-align: center;
}

.booked__check {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--taupe);
}

.booked__title {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.014em currentColor;
}

.booked__title:focus {
  outline: none;
}

.booked__text {
  max-width: 420px;
  margin: 12px auto 0;
  line-height: 1.6;
  color: var(--soft);
  text-wrap: balance;
}

.booked__link {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--hint);
}

.result__confirmation {
  margin-top: 20px;
  color: var(--soft);
  line-height: 1.6;
}

.result__confirmation:empty {
  display: none;
}





.calendly {
  margin: 20px -8px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.calendly__iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

@media (max-width: 640px) {
  .calendly__iframe {
    height: 980px;
  }
}

/* ─── Page d'immersion (après réservation) ────────────────────────────── */

.immersion__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 48px;
  border-bottom: 1px solid rgba(34, 31, 27, 0.08);
}

.immersion__wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.014em currentColor;
}

.immersion__access {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hint);
}

.immersion__main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 48px 0;
}

.immersion__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.014em currentColor;
  text-wrap: balance;
}

.immersion__lede {
  margin-top: 16px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--soft);
}

.lesson {
  margin-top: 36px;
}

.lesson + .lesson {
  margin-top: 112px;
}

/* Grand titre de transition entre la présentation et l'extrait. */
.immersion__interlude {
  max-width: 768px;
  margin-top: 104px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.014em currentColor;
  text-wrap: balance;
}

.immersion__interlude + .lesson {
  margin-top: 88px;
}

.lesson .player {
  margin-top: 24px;
}

.lesson__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(34, 31, 27, 0.08);
}

.lesson__index {
  font-family: var(--serif);
  font-size: 2.125rem;
  line-height: 1;
  color: #dbc3a6;
}

.lesson__eyebrow {
  margin-top: 4px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hint);
}

.lesson__title {
  max-width: 640px;
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.014em currentColor;
  text-wrap: balance;
}

.digits {
  font-family: var(--figure-font);
  -webkit-text-stroke: 0;
}

.lesson__duration {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--hint);
}

.lesson__note {
  max-width: 560px;
  margin-top: 18px;
  line-height: 1.6;
  color: var(--soft);
  text-wrap: pretty;
}

.programme {
  margin-top: 28px;
}

.programme__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hint);
}

.programme__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.programme__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(34, 31, 27, 0.08);
}

.programme__icon {
  flex: none;
  color: #dbc3a6;
}

.programme__text {
  flex: 1 1 240px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--soft);
}

.programme__item.is-locked .programme__text {
  color: var(--hint);
}

.programme__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Témoignages */
.testimonials {
  margin-top: 112px;
}

.testimonials__title {
  max-width: 768px;
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.014em currentColor;
  text-wrap: balance;
}












.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

/* Carte de témoignage : image verticale + résultat chiffré en surimpression. */
.tcard {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(34, 31, 27, 0.08);
  border-radius: 12px;
  background: #fcfaf6;
}

.tcard__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.tcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}

/* Miniature de secours avec bandes noires : on zoome pour les masquer. */
.tcard__img--letterbox {
  transform: scale(1.34);
}

.tcard__media:hover .tcard__img {
  transform: scale(1.03);
}

/* Dégradé bas : rend le titre lisible sur n'importe quelle image. */
.tcard__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 64px 18px 16px;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.92) 0%, rgba(20, 16, 12, 0.6) 55%, transparent 100%);
}

.tcard__headline {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

.tcard__figure {
  color: #e9c79a;
}

.tcard__media:hover .tcard__img--letterbox {
  transform: scale(1.38);
}

.tcard__play {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--taupe);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  transition: transform 200ms var(--ease);
}

.tcard__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}

.tcard__media:hover .tcard__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.tcard__media.is-playing {
  cursor: default;
}

.tcard__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.tcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.tcard__quote {
  flex: 1;
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--taupe);
  font-family: var(--figure-font);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--soft);
}

.tcard__chip {
  align-self: flex-start;
  margin-top: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(111, 90, 73, 0.3);
  border-radius: 6px;
  background: rgba(111, 90, 73, 0.07);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--taupe);
}

.tcard__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(34, 31, 27, 0.08);
}

.tcard__who {
  display: flex;
  flex-direction: column;
}

.tcard__name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.tcard__profile {
  font-size: 0.75rem;
  color: var(--hint);
}

.tcard__tag {
  flex: none;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Tablette : 2 colonnes. Mobile : carrousel horizontal, comme une story. */
@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .testimonials__grid {
    display: flex;
    gap: 14px;
    margin-inline: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .testimonials__grid::-webkit-scrollbar {
    display: none;
  }

  .tcard {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* Prépare ton appel */
.prepare {
  margin-top: 112px;
}

.prepare__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.014em currentColor;
}

.prepare__text {
  max-width: 560px;
  margin-top: 12px;
  line-height: 1.6;
  color: var(--soft);
}

.prepare .programme__list {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .testimonials,
  .prepare {
    margin-top: 80px;
  }

}

.immersion .footer {
  margin-top: 120px;
}

@media (max-width: 640px) {
  .immersion__bar {
    padding: 16px 20px;
  }

  .immersion__main {
    padding: 32px 20px 0;
  }

  .lesson__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .lesson__duration {
    grid-column: 2;
  }

  .lesson + .lesson {
    margin-top: 80px;
  }

  .immersion__interlude {
    margin-top: 72px;
  }

  .immersion__interlude + .lesson {
    margin-top: 56px;
  }
}

/* ─── Pied de page ─────────────────────────────────────────────────────── */

.footer {
  width: 100%;
  max-width: 812px;
  margin: clamp(88px, 14vh, 144px) auto 0;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}



.footer__copy {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__legal a {
  padding: 6px 2px;
}

/* ─── Barre de test (local uniquement) ─────────────────────────────────── */

.devbar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: var(--ink);
  font-size: 0.8125rem;
}

.devbar__tag {
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbbba6;
}

.devbar__button {
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  background: rgba(244, 238, 227, 0.12);
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.devbar__button:hover {
  background: rgba(244, 238, 227, 0.22);
}

/* ─── Mouvement ────────────────────────────────────────────────────────── */

/* Un seul moment d'entrée au chargement : marque, promesse, puis vidéo. */
html:not(.is-ready) .brand,
html:not(.is-ready) .intro,
html:not(.is-ready) .player {
  opacity: 0;
  transform: translateY(8px);
}

.brand,
.intro,
.player {
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.intro {
  transition-delay: 80ms;
}

.player {
  transition-delay: 180ms;
}

/* Apparition douce (candidature, étapes, résultat). */
.is-entering {
  opacity: 0;
  transform: translateY(10px);
}

.application {
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.step.is-leaving,
.result.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

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