/* ==========================================================================
   SKEDGEX — Design system v2
   Inter Variable auto-hébergé · échelle typographique serrée type SF Pro
   Fond sombre unique · vert signature. Il n'y a plus de thème clair : les jetons
   sombres sont les seuls, et le vert utilisé est la déclinaison claire (#3ade84),
   la seule lisible sur ce fond.
   ========================================================================== */

@font-face {
  font-family: "InterVariable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
}

/* ------------------------------------------------------------ 1. tokens */
:root {
  color-scheme: dark;

  /* vert signature : teinte 144° de la marque, luminosités accessibles */
  --g-neon: #00ff66;
  --g-400: #22d46e;
  --g-500: #00c853;
  --g-600: #00a344;
  --g-700: #3ade84;
  --g-800: #5ce79a;
  --g-900: #0b4d28;
  --g-tint: #0f2318;
  --g-tint-2: #16351f;

  /* neutres */
  --ink: #f2f2f4;
  --ink-2: #c9c9cf;
  --muted: #96969e;
  --muted-2: #85858d; /* 5,37:1 sur le fond — le petit texte doit tenir AA */
  --line: #26262b;
  --line-2: #34343b;
  --surface: #0b0b0c;
  --surface-2: #131316;
  --surface-3: #1b1b1f;
  --overlay: rgba(11, 11, 12, 0.72);
  --scrim: rgba(0, 0, 0, 0.6);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.45), 0 24px 64px rgba(0, 0, 0, 0.55);
  --grid-line: rgba(255, 255, 255, 0.045);

  --sell: #f2626e;
  --sell-soft: #2a1518;

  /* forme */
  --r-xs: 8px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 980px;

  /* rythme */
  --max: 1200px;
  --gut: 24px;
  --sp-section: clamp(64px, 7vw, 104px);

  /* mouvement */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.16s;
  --t: 0.28s;

  --ff: "InterVariable", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-num: "InterVariable", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 60px;
}


/* Transition de page native. Non supportée = navigation normale, rien ne casse. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.26s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------- 2. base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "cv11" 1, "ss03" 1;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--g-tint-2);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--g-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--max), calc(100% - (var(--gut) * 2)));
  margin-inline: auto;
}
/* Page qu'on lit d'une traite, sans grille : l'accusé de réception de la reprise
   d'accès. Le conteneur reste celui du site — c'est le texte qu'on bride, sinon
   le titre et le corps ne partent pas de la même verticale. */
.note--large {
  max-width: 74ch;
}
.prose {
  max-width: 68ch;
}
.prose p {
  color: var(--ink-2);
  line-height: 1.72;
  margin: 0 0 18px;
  letter-spacing: -0.008em;
}
.prose p:last-child {
  margin-bottom: 0;
}
.section {
  padding: var(--sp-section) 0;
}
.section--sm {
  padding: calc(var(--sp-section) * 0.62) 0;
}
.section--alt {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.skip-link {
  position: fixed;
  left: -9999px;
  top: 12px;
  z-index: 400;
  background: var(--ink);
  color: var(--surface);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 16px;
}
[hidden] {
  display: none !important;
}

/* ------------------------------------------------- 3. typographie SF-like */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 640;
  color: var(--ink);
  letter-spacing: -0.032em;
  line-height: 1.08;
  text-wrap: balance;
}
.t-display {
  font-size: clamp(2.75rem, 6.4vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-weight: 680;
}
.t-h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}
.t-h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -0.036em;
}
.t-h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: -0.026em;
  line-height: 1.2;
}
.t-h4 {
  font-size: 1.06rem;
  letter-spacing: -0.018em;
  line-height: 1.3;
  font-weight: 600;
}

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  margin: 22px 0 0;
  letter-spacing: -0.014em;
}
.body {
  color: var(--muted);
  line-height: 1.65;
  max-width: 66ch;
  margin: 16px 0 0;
  letter-spacing: -0.008em;
}

.micro {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted-2);
}
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 590;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g-700);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.head {
  max-width: 44ch;
  margin-bottom: clamp(30px, 3.4vw, 46px);
}

.head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 52ch;
}
.head--center .eyebrow {
  justify-content: center;
}
.head--center .body {
  margin-inline: auto;
}

/* --------------------------------------------------------- 4. contrôles */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--surface);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-io),
    border-color var(--t-fast) var(--ease-io), color var(--t-fast) var(--ease-io),
    transform var(--t-fast) var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  --btn-bg: var(--g-700);
  --btn-fg: #fff;
}
.btn--primary:hover {
  --btn-bg: var(--g-800);
}
.btn--primary {
  --btn-fg: #062512;
}
.btn--ink:hover {
  --btn-bg: var(--ink-2);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
}
.btn--ghost:hover {
  --btn-bg: var(--surface-2);
  --btn-bd: var(--muted-2);
}
.btn--soft {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--ink);
}
.btn--soft:hover {
  --btn-bg: var(--surface-3);
}
.btn--sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.btn--lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--g-700);
  font-weight: 530;
  font-size: 0.95rem;
  letter-spacing: -0.012em;
  transition: gap var(--t) var(--ease);
}
.tlink::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.tlink {
  position: relative;
}
.tlink::before {
  content: "";
  position: absolute;
  left: 0;
  right: 14px;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::before {
  transform: scaleX(1);
}
.tlink:hover {
  gap: 11px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 520;
  white-space: nowrap;
}

.chip--live {
  background: var(--g-tint);
  color: var(--g-800);
}
.chip--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-600);
  animation: blip 2.4s var(--ease-io) infinite;
}
@keyframes blip {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* -------------------------------------------------- 5. barre de progression */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 220;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--g-600), var(--g-neon));
}

/* ------------------------------------------------------------ 6. header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--overlay);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease-io);
}
.hdr.is-stuck {
  border-bottom-color: var(--line);
}
.hdr__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  transition: opacity var(--t-fast);
}
.brand:hover {
  opacity: 0.7;
}
.brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__n {
  font-size: 0.94rem;
  font-weight: 620;
  letter-spacing: 0.1em;
}
.brand__t {
  font-size: 0.5rem;
  font-weight: 560;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav a {
  position: relative;
  padding: 7px 12px;
  border-radius: var(--r-xs);
  font-size: 0.855rem;
  font-weight: 480;
  letter-spacing: -0.008em;
  color: var(--ink-2);
  transition: color var(--t-fast) var(--ease-io),
    background-color var(--t-fast) var(--ease-io);
}
.nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.nav a.is-current {
  color: var(--ink);
  font-weight: 560;
}
.nav a.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--g-600);
}

.hdr__side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
/* Lien de connexion élève : présent mais volontairement discret — c'est un
   accès de service, pas une invitation. Il cède la place au burger en mobile. */
.hdr__login {
  font-size: 0.84rem;
  font-weight: 520;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.hdr__login:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.burger {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  place-items: center;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast);
}
.burger span + span {
  margin-top: 4.5px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* feuille de navigation mobile */
.sheet {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 190;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  padding: 12px var(--gut) 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease-io), transform var(--t) var(--ease),
    visibility var(--t);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sheet > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.32rem;
  font-weight: 580;
  letter-spacing: -0.028em;
  opacity: 0;
  transform: translateY(10px);
}
.sheet.is-open > a {
  animation: sheetIn 0.44s var(--ease) forwards;
}
.sheet > a::after {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--muted-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain 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 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
@keyframes sheetIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.sheet__cta {
  margin-top: 26px;
}

/* ------------------------------------------------------------- 8. hero */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 6vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -14% 0;
  transform: translate3d(0, var(--par, 0px), 0);
  will-change: transform;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 72%);
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero .t-display .dim {
  color: var(--muted-2);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

/* --------------------------------------- 9. séquence de décision (hero) */
/* Une liste, pas des onglets : les cinq étapes sont lisibles d'un seul regard,
   sans clic. Les barres forment un entonnoir — c'est un schéma, jamais une
   donnée, et aucune valeur chiffrée n'est affichée. */
.seq {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.seq__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.seq__top span:first-child {
  font-size: 0.72rem;
  font-weight: 580;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.seq__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.seq__row {
  display: grid;
  grid-template-columns: 30px minmax(0, auto) minmax(0, 1fr) 60px;
  align-items: baseline;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t-fast) var(--ease-io);
}
.seq__row:hover {
  background: var(--surface-2);
}
.seq__n {
  font-family: var(--ff-num);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.seq__row:hover .seq__n {
  color: var(--g-700);
}
.seq__t {
  font-size: 0.95rem;
  font-weight: 580;
  letter-spacing: -0.016em;
  white-space: nowrap;
}
.seq__q {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: -0.006em;
}
.seq__bar {
  align-self: center;
  display: block;
  height: 4px;
}
.seq__bar i {
  display: block;
  height: 100%;
  width: var(--w, 100%);
  border-radius: 2px;
  background: var(--g-600);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s var(--ease);
}
[data-hero-aside].is-in .seq__bar i {
  transform: scaleX(1);
}
[data-hero-aside].is-in .seq__row:nth-child(1) .seq__bar i {
  transition-delay: 420ms;
}
[data-hero-aside].is-in .seq__row:nth-child(2) .seq__bar i {
  transition-delay: 490ms;
}
[data-hero-aside].is-in .seq__row:nth-child(3) .seq__bar i {
  transition-delay: 560ms;
}
[data-hero-aside].is-in .seq__row:nth-child(4) .seq__bar i {
  transition-delay: 630ms;
}
[data-hero-aside].is-in .seq__row:nth-child(5) .seq__bar i {
  transition-delay: 700ms;
}
.seq__foot {
  margin: 0;
  padding: 15px 20px;
  background: var(--surface-2);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}
.seq__foot .tlink {
  font-size: 0.8rem;
  margin-left: 4px;
}

/* ------------------------------------------------------------ 11. cartes */
.grid {
  display: grid;
  gap: 16px;
}
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 26px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--t) var(--ease-io), transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease-io);
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.card__i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  background: var(--g-tint);
  color: var(--g-700);
  margin-bottom: 16px;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease-io);
}
.card:hover .card__i {
  transform: scale(1.08) rotate(-3deg);
  background: var(--g-tint-2);
}
.card__n {
  transition: color var(--t-fast) var(--ease-io);
}
.card:hover .card__n {
  color: var(--g-800);
}
.card__i svg {
  width: 17px;
  height: 17px;
}
.card__n {
  display: block;
  font-family: var(--ff-num);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.06em;
  color: var(--g-700);
  margin-bottom: 12px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

/* carte de formation */
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.card__top .card__n {
  margin-bottom: 0;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------- 12. sections */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--l {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}
.split--r {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
  letter-spacing: -0.008em;
}
.checks li::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-top: 4px;
  background: var(--g-700);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* tableau oui / non */
.vs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.vs__c {
  padding: 30px;
}
.vs__c + .vs__c {
  border-left: 1px solid var(--line);
}
.vs__c h3 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.vs__c--y h3 {
  color: var(--g-700);
}
.vs__c--n h3 {
  color: var(--muted-2);
}
.vs__c ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}
.vs__c li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.008em;
}
.vs__c--y li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--g-500);
}
.vs__c--n li {
  color: var(--muted);
}
.vs__c--n li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 1.5px;
  background: var(--line-2);
}

/* modules numérotés */
.mods {
  border-top: 1px solid var(--line);
}
.mod {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.mod code {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 6px;
  align-self: start;
  background: var(--g-tint);
  color: var(--g-800);
  font-family: var(--ff-num);
  font-size: 0.71rem;
  font-weight: 620;
  letter-spacing: 0.06em;
}
.mod b {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  margin-bottom: 7px;
}
.mod p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.step {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  transition: background-color var(--t) var(--ease-io);
}
.step:last-child {
  border-right: 0;
}
.step:hover {
  background: var(--surface-2);
}
.step__n {
  display: block;
  font-family: var(--ff-num);
  font-size: 0.7rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  color: var(--g-700);
  margin-bottom: 13px;
}
.step b {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
}
.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ----------------------------------------------- 13. carnet d'ordres animé */
.dom {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.dom__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.dom__top b {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dom__rows {
  padding: 10px 18px;
}
.dom__l {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 70px;
  gap: 12px;
  align-items: center;
  padding: 4px 0;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.dom__l i {
  display: block;
  height: 11px;
  border-radius: 2px;
  background: var(--surface-3);
  overflow: hidden;
  font-style: normal;
  position: relative;
}
.dom__l i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 10%);
  border-radius: 2px;
  background: var(--g-500);
  transition: width 0.55s var(--ease);
}
.dom__l--a i::after {
  background: var(--sell);
}
.dom__l--a {
  color: var(--muted);
}
.dom__l span:last-child {
  text-align: right;
  color: var(--muted);
  font-size: 0.78rem;
}
.dom__mid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-block: 1px solid var(--line);
  background: var(--surface-2);
}
.dom__px {
  font-size: 1.4rem;
  font-weight: 620;
  letter-spacing: -0.036em;
  font-variant-numeric: tabular-nums;
  transition: color var(--t-fast) var(--ease-io);
}
.dom__px.up {
  color: var(--g-700);
}
.dom__px.down {
  color: var(--sell);
}
.dom__mid em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.dom__note {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ------------------------------------------------------------ 14. vidéos */
.vcard {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  transition: border-color var(--t) var(--ease-io), transform var(--t) var(--ease);
}
.vcard:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.vcard__f {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.vcard__f::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.vcard__f iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.play {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: transform var(--t) var(--ease), border-color var(--t-fast);
}
.vcard:hover .play {
  transform: scale(1.06);
  border-color: var(--g-600);
}
.play::before {
  content: "";
  border-left: 12px solid var(--g-700);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.vcard__b {
  padding: 18px 20px;
}
.vcard__b b {
  display: block;
  font-size: 0.95rem;
  font-weight: 580;
  letter-spacing: -0.016em;
  margin-bottom: 4px;
}
.vcard__b span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* -------------------------------------------------------------- 15. faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 21px 46px 21px 0;
  font-size: 1.02rem;
  font-weight: 560;
  letter-spacing: -0.022em;
  transition: color var(--t-fast) var(--ease-io);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--g-700);
}
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  background: var(--muted);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), background-color var(--t-fast);
}
.faq summary::before {
  width: 13px;
  height: 1.6px;
  transform: translateY(-50%);
}
.faq summary::after {
  width: 1.6px;
  height: 13px;
  right: 13.7px;
  transform: translateY(-50%);
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}
.faq details[open] summary::before,
.faq details[open] summary::after {
  background: var(--g-700);
}
.faq__a {
  padding: 0 64px 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
  animation: faqIn 0.32s var(--ease);
}
@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.faq__a p {
  margin: 0 0 11px;
}
.faq__a p:last-child {
  margin: 0;
}
.faq__a a {
  color: var(--g-700);
  border-bottom: 1px solid var(--g-tint-2);
}

/* -------------------------------------------------------- 16. remarques */
.note {
  border: 1px solid var(--line);
  border-left: 2.5px solid var(--g-600);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--surface-2);
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.note b {
  color: var(--ink);
  font-weight: 600;
}
.note--warn {
  border-left-color: var(--sell);
  background: var(--sell-soft);
}
/* encart anciens élèves : se distingue des remarques ordinaires */
.note--alumni {
  border-left-color: var(--ink);
  background: var(--surface);
}
.note--alumni .tlink {
  margin-left: 4px;
}
.note + .note {
  margin-top: 16px;
}

.quote {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  background: var(--surface);
}
.quote p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: -0.022em;
  color: var(--ink-2);
}
.quote footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ----------------------------------------------------- lettre signée */
.letter {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}
.letter__portrait {
  margin: 0;
  display: flex;
}
.letter__ph {
  flex: 1;
  min-height: 380px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
}
.letter__ph--filled {
  border: 1px solid var(--line);
  padding: 0;
}
.letter__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.letter__ph span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted-2);
  max-width: 24ch;
}
.letter__ph code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: var(--muted);
}
.letter__body p {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.72;
  color: var(--ink-2);
  letter-spacing: -0.012em;
  margin: 0 0 18px;
  max-width: 62ch;
}
.letter__body p:last-of-type {
  margin-bottom: 0;
}
.letter__body em {
  font-style: normal;
  color: var(--ink);
  font-weight: 560;
}
.letter__sign {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.letter__sign b {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.letter__sign span {
  font-size: 0.86rem;
  color: var(--muted);
}
.letter__sign span::before {
  content: "— ";
}

/* ------------------------------------ carte à deux temps (difficultés) */
/* La difficulté, puis la réponse : deux blocs séparés par un filet. Le filet suit
   le texte plutôt que d'être poussé en bas de carte — sinon un vide s'ouvre au
   milieu des cartes les plus courtes. Les descriptions sont calibrées sur le même
   nombre de lignes pour que les filets s'alignent naturellement. */
.card__fix {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card__fix > span {
  display: block;
  font-size: 0.7rem;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-700);
  margin-bottom: 8px;
}
.card__fix p {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .letter {
    grid-template-columns: minmax(0, 1fr);
  }
  .letter__portrait {
    max-width: 300px;
  }
  .letter__ph {
    aspect-ratio: 662/1066;
    min-height: 0;
  }
  .hard__item {
    gap: 10px;
  }
}

/* --------------------------------------------------------- 17. cta band */
/* Sur un site sombre, une section d'accent ne peut plus être plus noire que la
   page : elle s'éclaircit et se borde, sinon elle disparaît dans le fond. */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(34px, 4.6vw, 60px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 68%);
  mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 68%);
}
.cta > * {
  position: relative;
}
.cta h2 {
  color: var(--ink);
  max-width: 20ch;
}
.cta p {
  color: var(--muted);
  margin: 14px 0 0;
  max-width: 50ch;
  font-size: 0.98rem;
  line-height: 1.6;
}
.cta .eyebrow {
  color: var(--g-neon);
}
.cta .btn {
  --btn-bg: var(--g-700);
  --btn-fg: #062512;
}
.cta .btn:hover {
  --btn-bg: var(--g-800);
}

/* ------------------------------------------------------ 18. formulaires */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.f {
  display: grid;
  gap: 6px;
}
.f--full {
  grid-column: 1/-1;
}
.f label {
  font-size: 0.84rem;
  font-weight: 560;
  letter-spacing: -0.008em;
  color: var(--ink-2);
}
.f label .r {
  color: var(--g-700);
}
.f input,
.f select,
.f textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  /* Sur fond sombre, un champ de la couleur de la page devient invisible : il
     s'éclaircit d'un cran. */
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line-2);
  font-size: 0.94rem;
  letter-spacing: -0.008em;
  outline: none;
  transition: border-color var(--t-fast) var(--ease-io),
    box-shadow var(--t-fast) var(--ease-io);
}
.f input:hover,
.f select:hover,
.f textarea:hover {
  border-color: var(--muted-2);
}
.f input:focus,
.f select:focus,
.f textarea:focus {
  border-color: var(--g-700);
  box-shadow: 0 0 0 3px var(--g-tint);
}
.f textarea {
  min-height: 110px;
  resize: vertical;
}
.f .hint {
  font-size: 0.78rem;
  color: var(--muted-2);
  line-height: 1.45;
}
.f.is-bad input,
.f.is-bad select,
.f.is-bad textarea {
  border-color: var(--sell);
}
.f .err {
  font-size: 0.78rem;
  color: var(--sell);
  font-weight: 520;
  display: none;
}
.f.is-bad .err {
  display: block;
}

.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  font-size: 0.86rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-io),
    background-color var(--t-fast) var(--ease-io), transform var(--t-fast) var(--ease);
}
.pick:hover {
  border-color: var(--muted-2);
}
.pick:active {
  transform: scale(0.97);
}
.pick input {
  margin: 0;
  accent-color: var(--g-700);
}
.pick:has(input:checked) {
  border-color: var(--g-700);
  background: var(--g-tint);
  color: var(--g-800);
  font-weight: 530;
}

.consent {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}
.consent input {
  margin-top: 4px;
  accent-color: var(--g-700);
}
.consent.is-bad {
  color: var(--sell);
}

.aside {
  display: grid;
  gap: 22px;
}
.aside dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.aside dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.aside dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.aside dd .tlink {
  margin-top: 8px;
}

/* ---------------------------------------------------------- 19. légal */
.legal {
  max-width: 74ch;
}
.legal h2 {
  font-size: 1.24rem;
  letter-spacing: -0.026em;
  margin: 40px 0 12px;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.94rem;
}
.legal ul {
  padding-left: 20px;
}
.legal b,
.legal strong {
  color: var(--ink);
  font-weight: 600;
}
.legal a {
  color: var(--g-700);
  border-bottom: 1px solid var(--g-tint-2);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  display: table;
}
.legal thead th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.legal tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
  vertical-align: top;
}
.legal tbody tr:last-child td {
  border-bottom: 0;
}
.legal tbody td:first-child {
  color: var(--ink-2);
  font-weight: 500;
}
.legal .table-scroll {
  overflow-x: auto;
}

.todo {
  background: #fff4ce;
  color: #6b5400;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.86em;
}
.todo {
  background: #3d3115;
  color: #f0d48a;
}

/* ----------------------------------------------------------- 21. footer */
.ftr {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 64px 0 0;
}
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 46px;
}
.ftr h4 {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.ftr a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease-io);
}
.ftr a:hover {
  color: var(--g-neon);
}
.ftr .brand__n {
  color: var(--ink);
}
.ftr .brand__t {
  color: var(--g-neon);
}
.ftr .brand img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.ftr__about p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 42ch;
}
.ftr__risk {
  border-top: 1px solid var(--line-2);
  padding: 26px 0 22px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted-2);
  max-width: 100ch;
}
.ftr__risk p {
  margin: 0 0 12px;
}
.ftr__risk p:last-child {
  margin-bottom: 0;
}
.ftr__risk b {
  color: #d2d2d8;
  font-weight: 600;
}
.ftr__risk a {
  display: inline;
  padding: 0;
  color: var(--g-neon);
  border-bottom: 1px solid rgba(0, 255, 102, 0.3);
}
.ftr__end {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 28px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted-2);
}
.ftr__status {
  max-width: 68ch;
  text-align: right;
}
.ftr__status b {
  color: var(--ink-2);
  font-weight: 600;
}
@media (max-width: 720px) {
  .ftr__status {
    text-align: left;
  }
}

/* entrée séquencée : le hero se compose au chargement, pas au scroll */
[data-hero] > *:not(h1) {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease-io), transform 0.7s var(--ease);
}
[data-hero].is-in > *:not(h1) {
  opacity: 1;
  transform: none;
}
[data-hero].is-in > *:nth-child(1) {
  transition-delay: 40ms;
}
[data-hero].is-in > *:nth-child(3) {
  transition-delay: 260ms;
}
[data-hero].is-in > *:nth-child(4) {
  transition-delay: 340ms;
}
[data-hero].is-in > *:nth-child(5) {
  transition-delay: 400ms;
}

/* chaque ligne de titre monte derrière un masque */
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.ln > i {
  display: block;
  font-style: normal;
  transform: translateY(108%);
  transition: transform 0.9s var(--ease);
}
[data-hero].is-in .ln > i {
  transform: none;
}
[data-hero].is-in .ln:nth-child(1) > i {
  transition-delay: 110ms;
}
[data-hero].is-in .ln:nth-child(2) > i {
  transition-delay: 195ms;
}

/* le panneau de droite suit le texte */
[data-hero-aside] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-io), transform 0.8s var(--ease);
  transition-delay: 320ms;
}
[data-hero-aside].is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------- 22. reveal */
[data-rv] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.62s var(--ease-io), transform 0.62s var(--ease);
}
[data-rv].is-in {
  opacity: 1;
  transform: none;
}
[data-rv-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-io), transform 0.55s var(--ease);
}
[data-rv-stagger].is-in > * {
  opacity: 1;
  transform: none;
}
[data-rv-stagger].is-in > *:nth-child(1) {
  transition-delay: 0ms;
}
[data-rv-stagger].is-in > *:nth-child(2) {
  transition-delay: 60ms;
}
[data-rv-stagger].is-in > *:nth-child(3) {
  transition-delay: 120ms;
}
[data-rv-stagger].is-in > *:nth-child(4) {
  transition-delay: 180ms;
}
[data-rv-stagger].is-in > *:nth-child(5) {
  transition-delay: 240ms;
}
[data-rv-stagger].is-in > *:nth-child(6) {
  transition-delay: 300ms;
}

/* ----------------------------------------------------- 23. responsive */
@media (max-width: 1080px) {
  .hero__grid,
  .split,
  .split--l,
  .split--r,
  .form-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .cta {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .nav,
  .hdr__side .btn,
  .hdr__login {
    display: none;
  }
  .burger {
    display: grid;
  }
  .g3,
  .g2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .vs {
    grid-template-columns: minmax(0, 1fr);
  }
  .vs__c + .vs__c {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .mod {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
  .fgrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ftr__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seq__row {
    grid-template-columns: 26px minmax(0, 1fr) 44px;
    row-gap: 2px;
    column-gap: 12px;
  }
  .seq__q {
    grid-column: 2;
  }
  .seq__bar {
    grid-row: 1 / span 2;
    grid-column: 3;
    align-self: center;
  }
}
@media (max-width: 560px) {
  :root {
    --gut: 18px;
  }
  body {
    font-size: 16px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    border-bottom: 0;
  }
  .g4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .ftr__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .actions .btn {
    width: 100%;
  }
  .faq__a {
    padding-right: 0;
  }
  .form {
    padding: 22px;
  }
  .dom__l {
    grid-template-columns: 66px minmax(0, 1fr) 58px;
    gap: 9px;
    font-size: 0.76rem;
  }
}

/* ------------------------------------------------ 24. mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-rv],
  [data-rv-stagger] > *,
  [data-hero] > *,
  [data-hero-aside] {
    opacity: 1 !important;
    transform: none !important;
  }
  .ln > i {
    transform: none !important;
  }
  .hero::before {
    transform: none !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* ---------------------------------------------------------- 25. print */
@media print {
  .hdr,
  .progress,
  .sheet,
  .cta,
  .ftr__risk {
    display: none !important;
  }
  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }
  [data-rv],
  [data-rv-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------------------------------------------------------- blocs commerciaux */
/* Le prix doit être lisible sans être criard : c'est une information, pas un
   argument. Aucun prix barré, aucune couleur d'alerte. */
.prix {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.prix b {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 660;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.prix__d {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted-2);
  line-height: 1.5;
}
.prix__d span + span::before {
  content: " · ";
}
.offre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
}
.offre__p {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 2.4vw, 32px);
}
.offre__p .prix {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.offre__p .btn {
  margin-top: 18px;
}
.deux-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3.4vw, 52px);
  align-items: start;
}
/* « Ce n'est pas pour vous si » : la même liste, sans la coche verte. La coche
   est dessinée par un masque SVG, qu'il faut donc neutraliser aussi. */
.checks--non li::before {
  -webkit-mask: none;
  mask: none;
  background: var(--muted-2);
  width: 11px;
  height: 1.5px;
  margin-top: 11px;
  border-radius: 1px;
}
@media (max-width: 860px) {
  .offre {
    grid-template-columns: minmax(0, 1fr);
  }
  .offre__p {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }
}

/* ------------------------------------------- captures de plateforme tierce */
/* Ces images montrent l'interface d'un éditeur tiers. L'attribution sous
   l'image n'est pas une politesse : sans elle, le visiteur croit voir notre
   outil. Elle fait donc partie du composant, pas de la décoration. */
.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot figcaption {
  padding: 14px clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
.shot figcaption b {
  color: var(--ink-2);
  font-weight: 600;
}
.shot__src {
  display: block;
  margin-top: 7px;
  font-size: 0.74rem;
  color: var(--muted-2);
}
.shot--carte figcaption {
  font-size: 0.79rem;
  padding: 12px 16px;
}
