/* ==========================================================================
   La Brrrt School, par JMSREA
   Direction : tout produit. Une nuit chaude, une seule source de lumière
   orange (le témoin d'enregistrement d'une caméra), du verre qui l'attrape.
   Charte : noir, #FF8A00, blanc. Outfit pour les titres, EB Garamond
   italique pour l'accent. Tout est centré.

   La lumière a toujours une cause : elle passe derrière un objet de verre
   (le lecteur, une carte) ou derrière un trait, et se pose sur son arête
   haute. Son cœur est presque blanc, sa traîne tire vers la braise, jamais
   vers le brun. Aucune forme dessinée pour faire joli : ni arc, ni disque,
   ni tache floue.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("/assets/polices/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/polices/eb-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --nuit: #050403;
  --blanc: #ffffff;
  --doux: #bdb5ac;
  --sourd: #938a81;
  --orange: #ff8a00;
  --braise: #ff5a00;
  --flamme: #ffb24d;
  --encre: #1a0d00;
  --trait: rgba(255, 255, 255, 0.1);

  /* La lumière, du cœur à la traîne. Elle se refroidit comme une flamme :
     presque blanche, ambre, orange, braise, cendre. */
  --feu-0: 255, 238, 212;
  --feu-1: 255, 186, 108;
  --feu-2: 255, 126, 20;
  --feu-3: 228, 66, 0;
  --feu-4: 140, 26, 0;
  /* La brume : une texture qui sert de masque, pour que la lumière ait une
     matière au lieu d'être un dégradé parfait. */
  --brume: url("/assets/img/brume.webp");
  /* La rampe : comment la lumière s'éteint en s'éloignant de sa source. Vive
     tout près, puis une longue traîne sombre qui tire vers le rouge. Jamais
     de teinte claire à moitié transparente : sur du noir, ça fait du beige. */
  --rampe:
    rgba(var(--feu-2), 0.82), rgba(var(--feu-2), 0.44) 11%, rgba(var(--feu-3), 0.27) 25%,
    rgba(var(--feu-3), 0.13) 45%, rgba(var(--feu-4), 0.07) 70%, transparent;
  /* Le filament : le trait sur lequel la lumière se pose quand aucun objet
     n'est là pour l'attraper. Clair au milieu, éteint aux deux bouts. */
  --filament: linear-gradient(
    90deg,
    transparent,
    rgba(var(--feu-2), 0.55) 20%,
    rgb(var(--feu-1)) 38%,
    rgb(var(--feu-0)) 50%,
    rgb(var(--feu-1)) 62%,
    rgba(var(--feu-2), 0.55) 80%,
    transparent
  );

  --verre: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  /* Le fond plein glissé sous le verre des cartes derrière lesquelles passe
     une lumière : la même nuit que la page, pour que rien ne se voie. */
  --socle: #0d0c0b;
  --arete: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  --portee: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  /* Ce qui déborde au-dessus d'une carte éclairée par derrière. Le retrait
     vaut presque deux fois le flou : l'ombre ne ressort qu'au-dessus de
     l'arête haute et s'éteint avant les coins. Rien sur les côtés ni dessous,
     la lumière ne fait pas le tour de la carte. */
  --aura: 0 -24px 28px -27px rgba(var(--feu-2), 0.42), 0 -71px 84px -80px rgba(var(--feu-3), 0.48);

  --r-1: 14px;
  --r-2: 22px;
  --r-3: clamp(22px, 3vw, 34px);

  --gouttiere: clamp(20px, 5vw, 48px);
  --section: clamp(104px, 15vw, 208px);
  --large: 1120px;

  --titre: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: "EB Garamond", "Apple Garamond", Garamond, Georgia, serif;
  --sortie: cubic-bezier(0.23, 1, 0.32, 1);

  interpolate-size: allow-keywords;
}

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

html {
  background: var(--nuit);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #3a322b var(--nuit);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--nuit);
  color: var(--blanc);
  font: 400 1.0625rem/1.6 var(--titre);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Le grain de pellicule de la charte : il empêche le noir de faire des bandes. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ol,
ul,
figure,
blockquote {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--orange);
  color: var(--encre);
}
:focus-visible {
  outline: 2px solid var(--flamme);
  outline-offset: 4px;
  border-radius: 8px;
}

.evitement {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.evitement:focus {
  transform: none;
}

/* ------------------------------------------------------------- Typographie */

h1,
h2 {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
h1 {
  font-size: clamp(2.6rem, 7.4vw + 0.5rem, 5.6rem);
}
h2 {
  font-size: clamp(2.1rem, 4.6vw + 0.6rem, 4.25rem);
}
h1 em,
h2 em,
.constat em {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: -0.025em;
}

.chapo {
  max-width: 40ch;
  margin-inline: auto;
  color: var(--doux);
  font-size: clamp(1.125rem, 1.1vw + 0.9rem, 1.5rem);
  font-weight: 300;
  line-height: 1.45;
  text-wrap: balance;
}

.etiquette {
  color: var(--sourd);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.tete {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 80px);
  padding-inline: var(--gouttiere);
  text-align: center;
}

/* ------------------------------------------------------------------ Bouton */

.bouton {
  --h: 60px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 10px 0 28px;
  border-radius: 999px;
  /* Une seule teinte, à peine plus claire en haut. Un reflet d'un pixel,
     une ombre de contact, puis la lumière qu'il renvoie : serrée, et large. */
  background: linear-gradient(180deg, #ff9d24, #ff8500);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 226, 0.5),
    inset 0 -1px 0 rgba(130, 44, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 6px 20px -6px rgba(var(--feu-2), 0.5),
    0 18px 56px -16px rgba(var(--feu-3), 0.5);
  color: var(--encre);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.16s var(--sortie),
    box-shadow 0.2s var(--sortie);
}
.bouton__prix {
  display: inline-grid;
  place-items: center;
  height: calc(var(--h) - 20px);
  padding: 0 16px;
  border-radius: 999px;
  background: var(--encre);
  /* Le prix est en creux dans le bouton. */
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.6),
    0 1px 0 rgba(255, 236, 208, 0.28);
  color: var(--flamme);
  font-variant-numeric: tabular-nums;
}
.bouton:active {
  transform: scale(0.97);
}
.bouton--compact {
  --h: 44px;
  gap: 10px;
  padding: 0 7px 0 18px;
  font-size: 0.9375rem;
}
.bouton--compact .bouton__prix {
  height: calc(var(--h) - 14px);
  padding: 0 12px;
}
.bouton--nu {
  padding-right: 28px;
}
@media (hover: hover) and (pointer: fine) {
  .bouton:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 244, 226, 0.6),
      inset 0 -1px 0 rgba(130, 44, 0, 0.3),
      0 2px 4px rgba(0, 0, 0, 0.5),
      0 8px 26px -6px rgba(var(--feu-2), 0.62),
      0 24px 72px -16px rgba(var(--feu-3), 0.6);
  }
  .bouton:active {
    transform: scale(0.97);
  }
}

.appel {
  display: grid;
  justify-items: center;
  gap: 16px;
}
.appel__note {
  color: var(--sourd);
  font-size: 0.9375rem;
  /* Sur téléphone la note passe à deux lignes : on évite le mot seul. */
  text-wrap: balance;
}
/* La note du haut de page, l'amorce et les étiquettes des cartes sont posées sur la lumière :
   le gris sourd y tombait à 3,7:1. Le gris doux tient 6:1 et plus. */
.hero .appel__note,
.amorce .etiquette,
.garantie .etiquette,
.panier .etiquette,
.agenda__cadre .etiquette {
  color: var(--doux);
}

/* ------------------------------------------------------------------- Barre */

.barre {
  position: fixed;
  z-index: 50;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--large), calc(100% - 24px));
  height: 60px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  transform: translateX(-50%);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.barre.est-decollee {
  background: rgba(16, 12, 9, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 40px -18px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.marque {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-decoration: none;
}
.marque span {
  color: var(--orange);
}
.barre nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.barre__lien {
  display: none;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--doux);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}
.barre__lien:hover {
  color: var(--blanc);
}
@media (min-width: 640px) {
  .barre__lien {
    display: inline-flex;
  }
}

/* -------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  isolation: isolate;
  /* Rien ne dépasse sur les côtés, mais la lueur du lecteur doit pouvoir
     s'éteindre doucement vers le bas, pas être tranchée. */
  overflow-x: clip;
  padding-top: clamp(108px, 15vh, 170px);
  text-align: center;
}

/* La lumière
   Trois nappes, de la plus serrée à la plus large, traversées par la brume.
   Elles servent à trois endroits : derrière le lecteur (.aube), derrière la
   première carte d'une page courte (.hero__halo) et au bas de la page
   (.lever). */
.hero__halo,
.aube,
.lever {
  position: absolute;
  left: 50%;
  pointer-events: none;
}
.hero__halo::before,
.hero__halo::after,
.aube::before,
.aube::after,
.lever::before,
.lever::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* Dessous, les deux nappes larges, traversées par la brume. Dessus, le cœur,
   net : une source de lumière n'est pas trouble. */
.hero__halo::before,
.aube::before,
.lever::before {
  -webkit-mask-image: var(--brume);
  mask-image: var(--brume);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
/* Le centre des nappes est à 62 % de la hauteur : c'est là qu'est l'arête. */
.hero__halo::before,
.aube::before {
  background:
    radial-gradient(
      27% 62% at 50% 62%,
      rgba(var(--feu-2), 0.15),
      rgba(var(--feu-3), 0.085) 36%,
      rgba(var(--feu-4), 0.03) 68%,
      transparent
    ),
    radial-gradient(52% 40% at 50% 62%, rgba(var(--feu-3), 0.15), rgba(var(--feu-4), 0.055) 52%, transparent);
}
/* Le cœur a deux épaisseurs. La première est une bande large et très basse,
   qui longe l'arête : c'est elle qui est vive. La seconde est le dôme doux
   qui s'élève au-dessus. Posé seul, un cœur rond ferait une tache. */
.hero__halo::after,
.aube::after {
  background:
    radial-gradient(41% 6.5% at 50% 62%, var(--rampe)),
    radial-gradient(
      35% 27% at 50% 62%,
      rgba(var(--feu-2), 0.3),
      rgba(var(--feu-3), 0.19) 26%,
      rgba(var(--feu-3), 0.09) 52%,
      rgba(var(--feu-4), 0.04) 76%,
      transparent
    );
}
/* Page courte : la lumière passe derrière la carte qui suit le titre. La
   carte est opaque (voir .panier, .agenda__cadre) : elle la masque selon son
   propre contour, comme le lecteur. Vue à travers un verre transparent, la
   lumière noyait l'étiquette de la carte (2,7:1 mesuré). */
.hero__halo {
  z-index: -2;
  bottom: 0;
  width: min(1180px, 170vw);
  height: clamp(360px, 46vw, 620px);
  translate: -50% 38%;
}
/* Sans carte pour l'attraper (pages légales, page introuvable), elle se pose
   sur un trait, et rien ne passe dessous. */
.hero:has(+ .legal) .hero__halo,
.hero--seul .hero__halo {
  clip-path: inset(0 0 38% 0);
}
.hero:has(+ .legal) .hero__halo::after,
.hero--seul .hero__halo::after {
  background:
    var(--filament) 50% calc(62% - 1px) / 68% 1px no-repeat,
    radial-gradient(40% 5.5% at 50% 62%, var(--rampe)),
    radial-gradient(
      34% 30% at 50% 62%,
      rgba(var(--feu-2), 0.24),
      rgba(var(--feu-3), 0.15) 26%,
      rgba(var(--feu-3), 0.07) 52%,
      rgba(var(--feu-4), 0.03) 76%,
      transparent
    );
}
.hero__texte {
  /* Le texte reste devant la lumière, jamais dessous. */
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.hero h1 {
  max-width: 15ch;
}

.temoin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  background: var(--verre);
  box-shadow: var(--arete);
  color: var(--doux);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
}
.temoin__point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  /* Une diode : le cœur est clair, le bord orange, et elle bave à peine. */
  background: radial-gradient(circle at 50% 38%, rgb(var(--feu-0)), rgb(var(--feu-2)) 58%, rgb(var(--feu-3)));
  box-shadow:
    0 0 5px 0 rgba(var(--feu-2), 0.85),
    0 0 16px 2px rgba(var(--feu-3), 0.45);
}

.hero__scene {
  position: relative;
  margin-top: clamp(32px, 4vw, 56px);
  padding: 0 var(--gouttiere) clamp(72px, 11vw, 150px);
  perspective: 1600px;
}

/* L'aube : la lumière qui passe derrière le lecteur et se lève sur son arête
   haute. Elle monte jusqu'au titre, de plus en plus faible. */
.aube {
  z-index: -1;
  top: 0;
  width: min(1680px, 176vw);
  height: clamp(460px, 62vw, 900px);
  translate: -50% -62%;
}
/* Tant que le lecteur est couché en arrière, son arête haute est plus basse
   et plus étroite : la lumière la suit, pour ne jamais flotter au-dessus. */
.js:not(.calme) .aube {
  /* De combien l'arête descend quand le lecteur est couché : mesuré sur la
     page à 390, 820 et 1440 px (29, 66 et 101 px), soit 10,4 % de sa largeur
     moins 7 px. */
  --chute: calc(min(1040px, 100vw - 2 * var(--gouttiere)) * 0.104 - 7px);
  transform: translateY(calc((1 - var(--p2, 0)) * var(--chute))) scale(calc(0.9 + var(--p2, 0) * 0.1));
  transform-origin: 50% 62%;
}
.js:not(.calme) .hero__scene:has(.est-en-lecture) .aube {
  transform: none;
}

.lecteur {
  --bord: clamp(5px, 0.8vw, 10px);
  --rayon: clamp(18px, 3.2vw, 40px);
  position: relative;
  width: min(1040px, 100%);
  margin-inline: auto;
  padding: var(--bord);
  border-radius: var(--rayon);
  background: linear-gradient(
    180deg,
    rgba(255, 244, 228, 0.2),
    rgba(255, 255, 255, 0.05) 26%,
    rgba(255, 255, 255, 0.02)
  );
  /* De l'intérieur vers l'extérieur : l'arête prise par la lumière, le
     liseré du verre, puis ce qui déborde juste au-dessus d'elle. Rien sur
     les côtés ni dessous : la lumière vient de derrière et d'en haut, elle
     ne fait pas le tour du cadre. Dessous, l'ombre de contact. Le reste de
     la lumière est dans .aube. */
  box-shadow:
    inset 0 1px 0 rgba(var(--feu-0), 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 -1px 4px -1px rgba(var(--feu-1), 0.6),
    0 -7px 20px -9px rgba(var(--feu-2), 0.7),
    0 60px 120px -40px rgba(0, 0, 0, 0.95);
  transform-origin: 50% 100%;
}
.lecteur__ecran {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--rayon) - var(--bord));
  background: #000;
}
/* Un liseré d'un pixel : l'image garde un bord, même quand elle est sombre. */
.lecteur__ecran::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.lecteur__affiche {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.lecteur__affiche img,
.lecteur video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lecteur__affiche::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 62% at 50% 50%, rgba(5, 4, 3, 0.05), rgba(5, 4, 3, 0.6));
}
.lecteur__duree {
  position: absolute;
  z-index: 1;
  bottom: clamp(10px, 2vw, 20px);
  left: clamp(10px, 2vw, 20px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.6);
  box-shadow: var(--arete);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}


/* Le bouton de lecture : du vrai verre dépoli. Il floute l'image qui est
   réellement derrière lui, au lieu d'être peint. L'orange n'arrive qu'au
   survol ; le reste du temps il est réservé au bouton qui vend. */
.jouer {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: clamp(60px, 8vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05)),
    rgba(12, 10, 9, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 14px 36px -10px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  translate: -50% -50%;
  transition:
    scale 0.2s var(--sortie),
    background-color 0.25s;
}
/* Le triangle a les coins arrondis, et son centre de gravité (pas sa boîte)
   est au centre du disque : c'est ce que l'œil attend. */
.jouer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blanc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' stroke='%23000' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 42% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' stroke='%23000' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 42% no-repeat;
  transition: background-color 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  button:hover > .jouer {
    background-color: var(--orange);
    scale: 1.06;
  }
  button:hover > .jouer::before {
    background-color: var(--encre);
  }
}

/* ----------------------------------------------------------------- Constat */

.constat {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: var(--section) var(--gouttiere);
  text-align: center;
}
.constat__texte {
  max-width: 15ch;
  font-size: clamp(2.4rem, 6vw + 0.6rem, 5.25rem);
}
.constat__suite {
  max-width: 21ch;
  font-size: clamp(1.5rem, 2.6vw + 0.7rem, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.constat__texte--large {
  max-width: 19ch;
}
/* Une suite plus longue (page accompagnement) : mesure plus large, corps plus petit. */
.constat__suite--longue {
  max-width: 26ch;
  font-size: clamp(1.375rem, 2vw + 0.8rem, 2.25rem);
}

/* ----------------------------------------------------------------- Méthode
   Par défaut (sans script, ou mouvement réduit) : une liste lisible.
   Avec le script : la scène se fige et les cinq lettres s'allument au
   défilement. C'est le moment de la page. */

.methode {
  padding: 0 var(--gouttiere);
}
.methode__scene {
  display: grid;
  justify-items: center;
  gap: clamp(40px, 6vw, 72px);
  max-width: 760px;
  margin-inline: auto;
}
.methode__tete {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.methode__regle {
  max-width: 26ch;
  font: italic 500 clamp(1.5rem, 2vw + 1rem, 2.25rem) / 1.14 var(--accent);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lettres {
  display: grid;
  gap: 8px;
  width: 100%;
}
.lettre {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--trait);
}
.lettre__signe {
  position: relative;
  color: var(--orange);
  font-size: 4rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
}
.lettre__fiche h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.lettre__fiche p {
  margin-top: 4px;
  color: var(--doux);
}

/* La scène reste figée le temps de 1,3 écran de défilement : un quart
   d'écran par lettre. Au-delà, on a l'impression que la page est bloquée. */
.js:not(.calme) .methode {
  height: calc(100vh + 130vh);
  height: calc(100svh + 130svh);
  padding: 0;
}
.js:not(.calme) .methode__scene {
  position: sticky;
  top: 0;
  align-content: center;
  gap: clamp(28px, 6vh, 64px);
  max-width: none;
  height: 100vh;
  height: 100svh;
  padding: 72px var(--gouttiere) 24px;
  isolation: isolate;
  overflow: clip;
}
.js:not(.calme) .lettres {
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  gap: clamp(20px, 5vh, 52px) clamp(0px, 0.6vw, 10px);
  width: auto;
}
.js:not(.calme) .lettre {
  display: contents;
}
/* Lettre éteinte : du verre dépoli. Allumée : orange. Passée : blanche. */
.js:not(.calme) .lettre__signe {
  grid-row: 1;
  margin-block: -0.14em;
  padding-block: 0.14em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(5.4rem, 24vw, 17rem);
  line-height: 0.8;
  transition:
    color 0.22s linear,
    text-shadow 0.4s linear;
}
.js:not(.calme) .lettre.est-passee .lettre__signe {
  color: var(--blanc);
}
/* La lettre allumée est un néon : quatre épaisseurs de lumière, mesurées
   sur la taille de la lettre, du trait serré à la traîne. Elle passe devant
   ses voisines pour les éclairer des deux côtés. */
.js:not(.calme) .lettre.est-active .lettre__signe {
  z-index: 1;
  color: var(--orange);
  text-shadow:
    0 0 0.025em rgba(var(--feu-0), 0.45),
    0 0 0.09em rgba(var(--feu-1), 0.5),
    0 0 0.28em rgba(var(--feu-2), 0.4),
    0 0 0.72em rgba(var(--feu-3), 0.36);
}
.js:not(.calme) .lettre__fiche {
  grid-row: 2;
  grid-column: 1 / -1;
  opacity: 0;
  text-align: center;
  transform: translateY(10px);
  transition:
    opacity 0.28s var(--sortie),
    transform 0.4s var(--sortie);
}
.js:not(.calme) .lettre.est-active .lettre__fiche {
  opacity: 1;
  transform: none;
}
.js:not(.calme) .lettre__fiche h3 {
  font-size: clamp(2rem, 3.6vw + 1rem, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.js:not(.calme) .lettre__fiche p {
  margin-top: 10px;
  font-size: clamp(1.0625rem, 0.8vw + 0.9rem, 1.375rem);
  font-weight: 300;
}

/* La rafale : B, R, R, R, T s'allument en salve à l'entrée, une seule fois. */
@keyframes rafale {
  0%,
  100% {
    color: transparent;
    text-shadow: none;
  }
  35%,
  60% {
    color: var(--flamme);
    text-shadow:
      0 0 0.09em rgba(var(--feu-1), 0.6),
      0 0 0.28em rgba(var(--feu-2), 0.5),
      0 0 0.72em rgba(var(--feu-3), 0.4);
  }
}
.js:not(.calme) .methode.rafale .lettre:not(.est-active) .lettre__signe {
  animation: rafale 0.26s linear both;
  animation-delay: calc(var(--i) * 85ms);
}

/* ------------------------------------------------------------------ Dedans */

.dedans {
  max-width: calc(var(--large) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding: var(--section) var(--gouttiere);
  text-align: center;
}
.dedans > h2 {
  margin-bottom: clamp(40px, 6vw, 80px);
}
.bento {
  display: grid;
  gap: 12px;
  text-align: left;
}
.tuile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-3);
  background: var(--verre);
  box-shadow: var(--arete), var(--portee);
}

/* La lumière suit le pointeur. Le verre l'attrape d'abord sur son arête (un
   liseré d'un pixel, clair là où tu passes), puis un peu dans sa masse. */
.tuile::before,
.tuile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.tuile::before {
  z-index: -1;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, -40%),
    rgba(var(--feu-1), 0.085),
    rgba(var(--feu-3), 0.03) 45%,
    transparent 70%
  );
}
.tuile::after {
  padding: 1px;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, -40%),
    rgba(var(--feu-0), 0.9),
    rgba(var(--feu-2), 0.4) 36%,
    transparent 72%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) {
  .tuile:hover::before,
  .tuile:hover::after {
    opacity: 1;
  }
}
.tuile h3 {
  font-size: clamp(1.5rem, 1.4vw + 1.1rem, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.tuile p {
  margin-top: 8px;
  color: var(--doux);
  line-height: 1.4;
}

.js:not(.calme) [data-apparait] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 0.8s var(--sortie),
    transform 0.9s var(--sortie);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js:not(.calme) [data-apparait].est-la {
  opacity: 1;
  transform: none;
}


/* Le chiffre de chaque tuile : du verre, plein en haut, qui s'éteint en bas. */
.tuile h3 b {
  display: block;
  margin: -0.06em 0 0.04em -0.04em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.32));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(5.5rem, 9vw + 3rem, 9.5rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.06em;
}
.phases {
  display: grid;
  margin-top: auto;
  padding-top: 28px;
  counter-reset: phase;
}
.phases li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--trait);
  line-height: 1.3;
  counter-increment: phase;
}
.phases li::before {
  content: counter(phase);
  flex: none;
  width: 1ch;
  color: var(--sourd);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}


/* Les quatre ressources : du texte. On ne dessine pas une ressource dont on
   n'a pas de capture ; le jour où James en fournit quatre vraies, elles
   prennent place ici. */
.ressources {
  flex: 1;
  display: grid;
  grid-auto-rows: 1fr;
  padding-top: 28px;
}
.ressources li {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--trait);
  line-height: 1.3;
}
.ressources strong {
  font-weight: 600;
}
.ressources span {
  color: var(--doux);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.rythme {
  max-width: 20ch;
  margin: clamp(64px, 9vw, 120px) auto clamp(32px, 4vw, 48px);
  font-size: clamp(1.85rem, 3vw + 0.8rem, 3.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.rythme span {
  display: block;
  color: var(--sourd);
  font-weight: 300;
}

/* ------------------------------------------------------------------- James */

.james {
  display: grid;
  max-width: calc(var(--large) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding: 0 var(--gouttiere);
}
.james__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--r-3);
  background: #0c0a08;
  box-shadow: var(--portee);
}
.james__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.james__photo img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  /* Sur un écran étroit le cadre est carré : on garde James entier, il est
     tout à droite de la photo. */
  object-position: 100% 50%;
  transform: translateY(calc(-8% + var(--t, 0) * -7%));
}
.james__texte {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(600px, calc(100% - 24px));
  margin: -72px auto 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-2);
  background: rgba(18, 14, 11, 0.62);
  box-shadow: var(--arete), var(--portee);
  text-align: center;
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
}
.james__texte h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}
.james__texte p:last-child {
  color: var(--doux);
  text-wrap: pretty;
}
.james__texte strong {
  color: var(--blanc);
  font-weight: 500;
}
@media (min-width: 760px) {
  .james__photo {
    aspect-ratio: 16 / 9;
  }
  .james__photo img {
    object-position: 50% 50%;
  }
}

/* ----------------------------------------------------------------- Preuves */

.preuves {
  padding-top: var(--section);
}
.preuves .chapo {
  max-width: 44ch;
  font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.25rem);
}

.mur {
  display: grid;
  gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.mur__rang {
  overflow-x: auto;
  scrollbar-width: none;
}
.mur__rang::-webkit-scrollbar {
  display: none;
}
.mur__piste {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-inline: var(--gouttiere);
}
.mur__piste img {
  flex: none;
  /* Pas moins de 160 px : en dessous, le compteur de vues incrusté dans la
     capture devient illisible sur téléphone. */
  width: clamp(160px, 15vw, 196px);
  aspect-ratio: 9 / 14;
  border-radius: var(--r-1);
  background: #0c0a08;
  object-fit: cover;
  object-position: left bottom;
}
@keyframes defile {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}
.js:not(.calme) .mur__rang {
  overflow: hidden;
}
.js:not(.calme) .mur__piste {
  padding-inline: 0;
  animation: defile 110s linear infinite paused;
}
.js:not(.calme) .mur__rang--inverse .mur__piste {
  animation-direction: reverse;
}
.js:not(.calme) .preuves.est-visible .mur__piste {
  animation-play-state: running;
}

.clients {
  display: grid;
  max-width: calc(960px + 2 * var(--gouttiere));
  margin: clamp(56px, 8vw, 104px) auto 0;
  padding-inline: var(--gouttiere);
}
.client {
  display: grid;
  gap: 12px 48px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--trait);
}
.client:last-child {
  border-bottom: 1px solid var(--trait);
}
.client__chiffre {
  font-size: clamp(2.4rem, 4.4vw + 0.6rem, 4.25rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.client__chiffre small {
  display: block;
  margin-top: 10px;
  color: var(--doux);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}
.client__qui {
  font-weight: 600;
}
.client__texte {
  margin-top: 6px;
  color: var(--doux);
  text-wrap: pretty;
}
.client a {
  display: inline-block;
  margin-top: 10px;
  color: var(--flamme);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
@media (min-width: 760px) {
  .client {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }
}

.retours {
  margin-top: clamp(72px, 10vw, 136px);
}
.retours h3 {
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-inline: var(--gouttiere);
  font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-align: center;
}
.retours__piste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(66vw, 264px);
  gap: 12px;
  overflow-x: auto;
  padding: 4px var(--gouttiere) 24px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  scrollbar-width: none;
}
.retours__piste::-webkit-scrollbar {
  display: none;
}
.retour {
  position: relative;
  scroll-snap-align: start;
}
.retour button {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--r-2);
  background: #0c0a08;
  box-shadow: var(--portee);
  cursor: pointer;
}
.retour img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.6s var(--sortie);
}
.retour button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 4, 3, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.retour .jouer {
  top: 18px;
  left: 18px;
  width: 44px;
  translate: none;
}
.retour figcaption {
  position: absolute;
  inset: auto 18px 18px;
  pointer-events: none;
}
.retour blockquote {
  font: italic 500 1.25rem/1.16 var(--accent);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.retour cite {
  display: block;
  margin-top: 10px;
  color: var(--doux);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
}
@media (hover: hover) and (pointer: fine) {
  .retour button:hover img {
    scale: 1.04;
  }
}
@media (min-width: 1000px) {
  .retours__piste {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: calc(var(--large) + 2 * var(--gouttiere));
    margin-inline: auto;
    overflow: visible;
  }
  .retour button {
    aspect-ratio: 4 / 5;
  }
  .retour blockquote {
    font-size: 1.5rem;
  }
}

/* La salle : un retour se regarde en grand, dans son format vertical. */
.salle {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.salle[open] {
  display: grid;
  place-items: center;
}
.salle::backdrop {
  background: rgba(5, 4, 3, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.salle video {
  width: auto;
  max-width: 92vw;
  height: min(84dvh, 860px);
  aspect-ratio: 9 / 16;
  border-radius: var(--r-2);
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 -14px 80px -18px rgba(var(--feu-3), 0.4),
    0 50px 120px -40px #000;
}
.salle__fermer {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 24, 19, 0.8);
  box-shadow: var(--arete);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

/* -------------------------------------------------------------- Objections */

.objections {
  max-width: calc(800px + 2 * var(--gouttiere));
  margin-inline: auto;
  padding: var(--section) var(--gouttiere) 0;
}
.objections h2 {
  margin-bottom: clamp(40px, 6vw, 72px);
  text-align: center;
}
.reponses details {
  border-top: 1px solid var(--trait);
}
.reponses details:last-child {
  border-bottom: 1px solid var(--trait);
}
.reponses summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: clamp(1.125rem, 1vw + 0.95rem, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.reponses summary::-webkit-details-marker {
  display: none;
}
.reponses summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat;
  transition: rotate 0.35s var(--sortie);
}
.reponses details[open] summary::after {
  rotate: 45deg;
}
.reponses details::details-content {
  overflow: hidden;
  block-size: 0;
  transition:
    block-size 0.4s var(--sortie),
    content-visibility 0.4s allow-discrete;
}
.reponses details[open]::details-content {
  block-size: auto;
}
.reponses details p {
  max-width: 62ch;
  padding: 0 4px 28px;
  color: var(--doux);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- Garantie */

.garantie {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(880px, calc(100% - 2 * var(--gouttiere)));
  margin: var(--section) auto 0;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-3);
  background: var(--verre);
  box-shadow: var(--arete), var(--portee), var(--aura);
  text-align: center;
}
/* Une carte de verre attrape la lumière par son arête haute : un trait clair
   qui s'éteint vers les coins, et ce qui en coule à l'intérieur. La même
   règle vaut pour la garantie, les étapes, le panier et l'agenda. */
.garantie::before,
.etape__carte::before,
.panier::before,
.agenda__cadre::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(240px, 72%);
  background:
    linear-gradient(
        90deg,
        transparent 14%,
        rgba(var(--feu-2), 0.55) 30%,
        rgb(var(--feu-0)) 50%,
        rgba(var(--feu-2), 0.55) 70%,
        transparent 86%
      )
      top / 100% 1px no-repeat,
    /* Sous le trait, une bande très plate, puis un dôme large et faible.
       Un seul dégradé rond et serré faisait un point chaud au milieu. */
    radial-gradient(36% 8% at 50% 0, rgba(var(--feu-2), 0.26), rgba(var(--feu-2), 0.1) 42%, transparent),
    radial-gradient(
      48% 100% at 50% 0,
      rgba(var(--feu-2), 0.17),
      rgba(var(--feu-3), 0.1) 22%,
      rgba(var(--feu-3), 0.05) 46%,
      rgba(var(--feu-4), 0.025) 72%,
      transparent
    );
}
.garantie h2 {
  font-size: clamp(1.9rem, 3.4vw + 0.6rem, 3.25rem);
}
.garantie p:not(.etiquette) {
  max-width: 46ch;
  color: var(--doux);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------- Final */


/* La page se referme comme elle s'est ouverte : la lumière revient, par le
   bas cette fois, et se pose sur un trait droit. L'autre offre est dessous,
   dans l'ombre. --levee dit de combien elle monte. */
.sortie {
  --levee: clamp(280px, 38vw, 520px);
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.final {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: var(--section) var(--gouttiere) clamp(120px, 15vw, 200px);
  text-align: center;
}
.final h2 {
  font-size: clamp(2.6rem, 7vw + 0.5rem, 5.6rem);
}
.final .appel__note {
  color: var(--doux);
}

.passerelle {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(56px, 7vw, 88px) var(--gouttiere) clamp(64px, 8vw, 104px);
  text-align: center;
}
.lever {
  z-index: -1;
  bottom: 100%;
  width: min(1560px, 170vw);
  height: var(--levee);
  translate: -50%;
}
/* Les mêmes nappes que derrière le lecteur, centrées sur le trait : on n'en
   voit que la moitié haute. */
.lever::before {
  background:
    radial-gradient(
      22% 100% at 50% 100%,
      rgba(var(--feu-2), 0.14),
      rgba(var(--feu-3), 0.075) 38%,
      rgba(var(--feu-4), 0.025) 70%,
      transparent
    ),
    radial-gradient(50% 84% at 50% 100%, rgba(var(--feu-3), 0.14), rgba(var(--feu-4), 0.05) 52%, transparent);
}
.lever::after {
  background:
    var(--filament) 50% 100% / 68% 1px no-repeat,
    radial-gradient(40% 9% at 50% 100%, var(--rampe)),
    radial-gradient(
      34% 64% at 50% 100%,
      rgba(var(--feu-2), 0.24),
      rgba(var(--feu-3), 0.15) 26%,
      rgba(var(--feu-3), 0.07) 52%,
      rgba(var(--feu-4), 0.03) 76%,
      transparent
    );
}
.passerelle p {
  color: var(--doux);
  font-size: 1.125rem;
}
.lien-verre {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--verre);
  box-shadow: var(--arete);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}
.lien-verre:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  padding: 32px var(--gouttiere) max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--trait);
  color: var(--sourd);
  font-size: 0.9375rem;
}
.pied .marque {
  color: var(--blanc);
}
.pied nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.pied a:not(.marque) {
  text-decoration: none;
  transition: color 0.15s;
}
.pied a:not(.marque):hover {
  color: var(--blanc);
}

/* --------------------------------------------------------- Accompagnement
   La page de l'accompagnement reprend tout ce qui précède. Ce qui lui est
   propre : le parcours en cinq étapes, relié par un fil de lumière qui
   descend au défilement, et les cinq places. */

.parcours {
  padding: 0 var(--gouttiere);
  text-align: center;
}
.parcours .tete {
  padding-inline: 0;
}
.etapes {
  --pas: clamp(48px, 7vw, 72px);
  display: grid;
  gap: var(--pas);
  width: min(640px, 100%);
  margin-inline: auto;
  padding-top: var(--pas);
}

/* Un jalon : le bout de fil qui y mène, puis ce qu'il éclaire.
   --f dit quelle part du fil est allumée, de 0 à 1. Sans script, tout l'est. */
[data-jalon] {
  --f: 1;
  position: relative;
}
[data-jalon]::before,
[data-jalon]::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 20px);
  left: 50%;
  width: 2px;
  height: calc(var(--pas) - 20px);
  border-radius: 2px;
  translate: -50%;
}
[data-jalon]::before {
  background: var(--trait);
}
[data-jalon]::after {
  background: linear-gradient(180deg, rgb(var(--feu-2)), rgb(var(--feu-1)));
  box-shadow:
    0 0 6px 0 rgba(var(--feu-2), 0.75),
    0 0 22px 1px rgba(var(--feu-3), 0.45);
  transform: scaleY(var(--f));
  transform-origin: 50% 0;
}
.etape:first-child::before {
  background: linear-gradient(180deg, transparent, var(--trait));
}
.etape:first-child::after {
  background: linear-gradient(180deg, transparent, var(--flamme));
}

.etape__rang {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 226, 0.5),
    0 0 10px 0 rgba(var(--feu-2), 0.6),
    0 0 36px 2px rgba(var(--feu-3), 0.4);
  color: var(--encre);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  translate: -50% -50%;
}
.etape__carte {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(40px, 5vw, 52px) clamp(22px, 4vw, 44px) clamp(28px, 4vw, 40px);
  border-radius: var(--r-3);
  background: var(--verre);
  box-shadow: var(--arete), var(--portee);
}
.etape h3 {
  font-size: clamp(1.375rem, 1.4vw + 1.05rem, 1.875rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.etape p {
  max-width: 44ch;
  color: var(--doux);
  text-wrap: pretty;
}

/* Au bout du fil : la formation, comprise dans l'accompagnement. */
.inclus {
  --pas: clamp(72px, 10vw, 128px);
  margin-top: var(--pas);
}
.inclus::before,
.inclus::after {
  height: calc(var(--pas) - 40px);
}
.inclus .rythme {
  max-width: 22ch;
  margin-block: 0 clamp(32px, 4vw, 48px);
}

.js:not(.calme) [data-jalon] {
  --f: 0;
}
.js:not(.calme) .etape__rang {
  background: #17120e;
  box-shadow: var(--arete);
  color: var(--sourd);
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.5s;
}
.js:not(.calme) .etape__carte,
.js:not(.calme) .inclus .rythme {
  opacity: 0.4;
  transition: opacity 0.6s var(--sortie);
}
.js:not(.calme) .etape__carte::before {
  opacity: 0;
  transition: opacity 0.8s;
}
.js:not(.calme) .est-atteinte .etape__rang {
  background: var(--orange);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 226, 0.5),
    0 0 10px 0 rgba(var(--feu-2), 0.6),
    0 0 36px 2px rgba(var(--feu-3), 0.4);
  color: var(--encre);
}
.js:not(.calme) .est-atteinte .etape__carte,
.js:not(.calme) .inclus.est-atteinte .rythme,
.js:not(.calme) .est-atteinte .etape__carte::before {
  opacity: 1;
}

/* La garantie de l'accompagnement a une condition : elle est écrite dessous,
   plus petit, mais elle est écrite. */
.garantie p.garantie__condition {
  max-width: 52ch;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--trait);
  color: var(--sourd);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Cinq places : du texte, sans rien pour les compter. */
.places {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: var(--section) var(--gouttiere);
  text-align: center;
}
.places > p:last-child {
  max-width: 46ch;
  color: var(--doux);
  text-wrap: pretty;
}

/* Une promesse plus longue que celle de la formation : un corps en dessous,
   pour que la vidéo reste visible sans défiler. */
.hero--long h1 {
  max-width: 20ch;
  font-size: clamp(2.3rem, 5.2vw + 0.6rem, 4.5rem);
}

/* Un bouton sans prix, dans la barre comme dans la page. */
.bouton--compact.bouton--nu {
  padding-inline: 18px;
}
@media (max-width: 380px) {
  .bouton--nu:not(.bouton--compact) {
    --h: 56px;
    padding-inline: 20px;
    font-size: 1rem;
  }
}

/* -------------------------------------------------------- Pages du tunnel
   Paiement, réservation, confirmation, bienvenue, pages légales : les mêmes
   matières que les deux pages de vente, en plus court et en plus calme. */

.hero--court {
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero--court h1,
.hero--bref h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 6vw + 0.5rem, 4.75rem);
}
/* Une page qui ne contient que son ouverture : la page introuvable. */
.hero--seul {
  display: grid;
  align-content: center;
  min-height: calc(100svh - 110px);
  padding-bottom: var(--section);
}
.hero--court .appel__note,
.hero--bref .appel__note {
  max-width: 38ch;
  text-wrap: balance;
}
.barre__lien--toujours {
  display: inline-flex;
}
@media (max-width: 420px) {
  .barre__lien--toujours {
    padding-inline: 8px;
    font-size: 0.875rem;
  }
}

/* La phrase qui présente la vidéo, juste au-dessus d'elle. Elle se tient hors
   de la scène : la scène ne contient que le lecteur, si bien que la lumière
   se cale sur son arête de la même façon sur toutes les pages. */
.amorce {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-inline: var(--gouttiere);
  text-align: center;
}
.amorce + .hero__scene {
  margin-top: 28px;
}
.amorce p:not(.etiquette) {
  max-width: 34ch;
  font-size: 1.125rem;
  font-weight: 500;
  text-wrap: balance;
}

/* Une suite d'étapes courte : même fil de lumière, titre moins grand. */
.parcours--bref {
  padding-top: clamp(88px, 12vw, 160px);
}
.parcours--bref .tete h2 {
  font-size: clamp(1.9rem, 3.4vw + 0.6rem, 3.25rem);
}
.parcours--bref .tete {
  margin-bottom: clamp(16px, 3vw, 32px);
}
.etape__carte .bouton {
  --h: 52px;
  font-size: 1rem;
}
.etape p.etape__note {
  color: var(--sourd);
  font-size: 0.9375rem;
}

.bloc {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(88px, 12vw, 160px) var(--gouttiere) 0;
  text-align: center;
}
.bloc > h2 {
  font-size: clamp(1.9rem, 3.4vw + 0.6rem, 3.25rem);
}
.bloc > p:not(.etiquette) {
  max-width: 46ch;
  color: var(--doux);
  text-wrap: pretty;
}
.bloc > p a {
  color: var(--blanc);
}
.bloc--serre {
  padding-top: clamp(24px, 4vw, 40px);
}
.etape__carte .bouton,
.etape__carte .lien-verre {
  margin-top: 8px;
}
.bloc--dernier {
  padding-bottom: var(--section);
}


/* La fin des pages du tunnel : la même lumière, plus basse, sans grande
   question au-dessus. Elle se lève dans le vide qui précède. */
.sortie--calme {
  --levee: clamp(200px, 24vw, 300px);
  padding-top: var(--levee);
}
/* Quand ce qui précède laisse déjà son vide en bas, elle s'y loge. Rien ne
   doit la trancher : elle s'éteint d'elle-même sur les côtés. */
.sortie--collee {
  --levee: var(--section);
  /* La lumière peut monter au-dessus du bloc, jamais sortir sur les côtés :
     elle est plus large que l'écran et ferait défiler la page de travers. */
  overflow-x: clip;
  overflow-y: visible;
  padding-top: 0;
}

/* Le panier : ce qu'on achète, le prix, la mention légale, le bouton. */
.panier {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 24px;
  width: min(640px, calc(100% - 2 * var(--gouttiere)));
  margin-inline: auto;
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--r-3);
  background: var(--verre), var(--socle);
  box-shadow: var(--arete), var(--portee), var(--aura);
  text-align: center;
}
.panier h2 {
  font-size: clamp(1.75rem, 2.6vw + 0.8rem, 2.5rem);
}
.panier__resume {
  margin-top: -12px;
  color: var(--doux);
}
.panier__liste {
  border-top: 1px solid var(--trait);
  text-align: left;
}
.panier__liste li {
  position: relative;
  padding: 14px 4px 14px 28px;
  border-bottom: 1px solid var(--trait);
  font-weight: 500;
  line-height: 1.35;
}
.panier__liste li::before {
  content: "";
  position: absolute;
  top: 1.45em;
  left: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgb(var(--feu-0)), rgb(var(--feu-2)) 58%, rgb(var(--feu-3)));
  box-shadow:
    0 0 5px 0 rgba(var(--feu-2), 0.8),
    0 0 14px 1px rgba(var(--feu-3), 0.4);
}
.panier__liste span {
  display: block;
  margin-top: 2px;
  color: var(--doux);
  font-size: 0.9375rem;
  font-weight: 400;
}
.panier__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}
.panier__total p:first-child {
  display: grid;
  gap: 2px;
  font-weight: 600;
}
.panier__total small {
  color: var(--sourd);
  font-size: 0.875rem;
  font-weight: 400;
}
.panier__prix {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.panier__mentions {
  color: var(--sourd);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
  text-wrap: pretty;
}
.panier__mentions a {
  color: var(--doux);
}
.panier .bouton {
  justify-self: center;
}
.panier .appel__note {
  text-wrap: balance;
}
.panier__echeancier {
  justify-self: center;
  color: var(--doux);
  font-size: 0.9375rem;
  text-underline-offset: 3px;
  text-wrap: balance;
}

/* L'agenda Calendly, posé dans son cadre de verre. */
.agenda {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  /* Étroit exprès : sous 700 px, Calendly n'affiche que son calendrier, sans
     dessiner son propre cadre à l'intérieur du nôtre. */
  width: min(640px, calc(100% - 2 * var(--gouttiere)));
  margin-inline: auto;
  text-align: center;
}
.agenda__cadre {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  min-height: 620px;
  border-radius: var(--r-3);
  background: var(--verre), var(--socle);
  box-shadow: var(--arete), var(--portee), var(--aura);
}
/* Calendly ne se laisse pas recolorer sur son offre gratuite : son calendrier
   arrive noir sur blanc, avec du bleu. On l'inverse. Le blanc devient noir, le
   bleu devient l'orange de la marque, et le noir se fond dans le verre. */
.agenda__cadre iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  filter: invert(1);
  mix-blend-mode: screen;
}
.agenda__suite {
  max-width: 44ch;
  color: var(--sourd);
  font-size: 0.9375rem;
  text-wrap: balance;
}
.agenda__suite a {
  color: var(--blanc);
  font-weight: 600;
}

/* Pages légales : du texte long, donc aligné à gauche et étroit. C'est la
   seule entorse au « tout est centré » de la charte, pour qu'il reste lisible. */
.legal {
  width: min(720px, calc(100% - 2 * var(--gouttiere)));
  margin-inline: auto;
  /* Le texte ne commence pas collé au trait de lumière du titre. */
  padding-top: 40px;
  padding-bottom: var(--section);
}
.legal h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.375rem, 1.4vw + 1rem, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: none;
  text-wrap: balance;
}
.legal p,
.legal li {
  color: var(--doux);
}
.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: 14px;
}
.legal ul {
  display: grid;
  gap: 8px;
}
.legal li {
  position: relative;
  padding-left: 20px;
}
.legal li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sourd);
}
.legal strong {
  color: var(--blanc);
  font-weight: 600;
}
/* Ce qui reste à remplir se voit, exprès. */
.legal mark {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 138, 0, 0.16);
  color: var(--flamme);
}
.legal__note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--trait);
  color: var(--sourd);
  font-size: 0.9375rem;
}
.legal__note a {
  color: var(--blanc);
}

/* ----------------------------------------------------------- Offre de Noël
   49 € au lieu de 97 €, sur la formation seule, jusqu'au 24 décembre 2026 à
   minuit. Le prix de Noël est écrit dans les pages mais reste caché : c'est
   assets/js/offre.js qui, tant que l'offre court, pose la classe « noel » sur
   la page. Sans elle, on voit le prix habituel. L'offre passée, ce bloc,
   offre.js et les « si-noel » des pages se retirent ensemble. */

.si-noel {
  display: none;
}
.noel .si-plein {
  display: none;
}
.noel .si-noel {
  display: inline;
}
/* Pendant l'offre, on ne parle de paiement en plusieurs fois que s'il existe
   un échéancier à 49 € chez Whop. */
.noel:not(.noel-echeancier) .si-echeancier,
.noel:not(.noel-echeancier) .panier__echeancier {
  display: none;
}

/* Lu par les lecteurs d'écran, invisible à l'œil : « au lieu de ». */
.lu {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Dans les boutons : l'ancien prix barré, plus petit et plus sourd, puis le nouveau. */
.noel .prix-noel {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.prix-noel s {
  order: -1;
  color: #c48a3c;
  font-size: 0.8125em;
  font-weight: 500;
  text-decoration-thickness: 1px;
}

/* Sous le bouton : ce que c'est, et jusqu'à quand. */
.noel .appel__offre {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  text-wrap: balance;
}
.noel .appel__offre + .appel__note {
  margin-top: -12px;
}

/* Dans le panier : l'ancien prix au-dessus du nouveau. */
.noel .panier__prix .prix-noel {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.panier__prix .prix-noel s {
  /* Le prix de référence doit rester bien lisible : gris doux, pas sourd. */
  color: var(--doux);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
/* La date compte plus que la mention de TVA : elle est un ton plus claire. */
.panier__total small.si-noel {
  color: var(--doux);
}
.panier__total small {
  text-wrap: balance;
}

/* --------------------------------------------------- Mouvement à l'arrivée
   Une seule séquence orchestrée, au chargement : la lumière s'ouvre, le
   texte monte, le lecteur se lève. Ensuite c'est la main qui pilote. */

.js:not(.calme) .mot {
  opacity: var(--o, 0.16);
}
.js:not(.calme) .lecteur {
  transform: rotateX(calc((1 - var(--p2, 0)) * 15deg)) scale(calc(0.9 + var(--p2, 0) * 0.1));
  transition: transform 0.7s var(--sortie);
  will-change: transform;
}
.js:not(.calme) .lecteur.est-pilote {
  transition: none;
}
.js:not(.calme) .lecteur.est-en-lecture {
  transform: none;
  transition: transform 0.7s var(--sortie);
}

@keyframes monte {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
  }
}
@keyframes eclosion {
  from {
    opacity: 0;
    scale: 0.9;
  }
}
@keyframes leve {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
}
@keyframes veille {
  50% {
    opacity: 0.62;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .js .hero__texte > * {
    animation: monte 0.9s var(--sortie) both;
  }
  .js .hero__texte > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .js .hero__texte > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .js .hero__texte > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .js .hero__halo,
  .js .aube {
    animation: eclosion 1.8s var(--sortie) both;
  }
  .js .hero__scene {
    animation: leve 1.3s 0.25s var(--sortie) both;
  }
  .js .amorce {
    animation: monte 0.9s 0.32s var(--sortie) both;
  }
  .temoin__point {
    animation: veille 2.4s ease-in-out infinite;
  }
}
