/* ==========================================================================
   Hooked Academy — landing « Coupe franche »
   La page est montée comme une pub : un clap d'ouverture, des plans numérotés,
   un timecode, et des coupes franches entre les plans (le fond change d'un coup).
   Aplats seulement : encre, papier, citron (l'outil du monteur), orange
   (Formation Créative), lavande (Formation IA). L'or ne vit que dans le monogramme.
   Mouvement « pellicule » : des sauts en steps(), jamais de fondu ni de flou.
   ========================================================================== */

body.lp {
  --ink: #0f0f0d;
  --ink-2: #1a1a17;
  --rule-ink: #33322d;
  --ink-mute: #a8a396;
  --paper: #ece8dc;
  --paper-2: #f5f2ea;
  --rule-paper: #c9c3b2;
  --paper-mute: #5b584f;
  --lime: #c6f23c;
  --orange: #ff5a1f;
  --lav: #c8b6ff;
  --err: #b42a12;

  --f-cond: 'Sofia Sans Extra Condensed', 'Alexandria', 'Arial Narrow', sans-serif;
  --f-text: 'Sofia Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-dot: 'Doto', 'Sofia Sans', ui-monospace, monospace;
  --f-type: 'Courier Prime', 'IBM Plex Sans Arabic', 'Courier New', monospace;

  --gut: clamp(16px, 4.2vw, 64px);
  --img: 40ms; /* une image à 25 i/s */
  --nav-h: 60px;

  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
}
html[lang='ar'] body.lp {
  --f-cond: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  --f-text: 'IBM Plex Sans Arabic', 'Sofia Sans', system-ui, sans-serif;
  --f-type: 'IBM Plex Sans Arabic', 'Courier Prime', monospace;
}
html {
  scroll-padding-top: var(--nav-h);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lp :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.lp ::selection {
  background: var(--lime);
  color: var(--ink);
}
.nb {
  white-space: nowrap;
}
.lp .skip {
  position: fixed;
  z-index: 300;
  inset-inline-start: 12px;
  top: -80px;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.lp .skip:focus {
  top: 12px;
}
bdi,
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* --------------------------------------------------------------------------
   Tons des plans : la coupe franche
   -------------------------------------------------------------------------- */
.sh {
  position: relative;
  padding: clamp(84px, 10vw, 150px) var(--gut);
}
[data-ton='encre'] {
  background: var(--ink);
  color: var(--paper);
}
[data-ton='papier'] {
  background: var(--paper);
  color: var(--ink);
}
[data-ton='citron'] {
  background: var(--lime);
  color: var(--ink);
}

/* Libellés « burn-in » (police matricielle, comme sur un rush) */
.burn {
  margin: 0;
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[lang='ar'] .burn:not(.ltr) {
  font-family: var(--f-text);
  font-weight: 600;
  letter-spacing: 0;
}
.lbl {
  display: inline-block;
  margin: 0 0 22px;
  padding: 5px 9px 4px;
  border: 1.5px solid currentColor;
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang='ar'] .lbl {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
}
.h2 {
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: clamp(50px, 7.6vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
html[lang='ar'] .h2 {
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 88px);
  line-height: 1.2;
}
.h2 .dim {
  opacity: 0.45;
}
.lead {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
}
.small {
  font-size: 14px;
  opacity: 0.7;
}
.sec-h {
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* --------------------------------------------------------------------------
   Boutons : aplats, bascule en deux images
   -------------------------------------------------------------------------- */
.bt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color calc(var(--img) * 2) steps(2), color calc(var(--img) * 2) steps(2), box-shadow calc(var(--img) * 2) steps(2);
}
html[lang='ar'] .bt {
  font-size: 17px;
  font-weight: 700;
}
.bt--s {
  min-height: 44px;
  padding: 0 18px;
  font-size: 18px;
}
.bt--lime {
  background: var(--lime);
  color: var(--ink);
}
.bt--lime:hover {
  background: var(--paper);
}
.bt--line {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}
.bt--line:hover {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--paper);
}
.bt--ink {
  background: var(--ink);
  color: var(--paper);
}
.bt--ink:hover {
  background: var(--orange);
  color: var(--ink);
}
[data-ton='citron'] .bt--ink:hover {
  background: var(--paper);
}
.bt--line-ink {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.bt--line-ink:hover {
  background: var(--ink);
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   Bandeau
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  z-index: 60;
  inset-inline: 0;
  top: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gut);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--rule-ink);
}
.nav[data-ton='papier'] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--rule-paper);
}
.nav[data-ton='citron'] {
  background: var(--lime);
  color: var(--ink);
  border-color: rgb(15 15 13 / 0.25);
}
.nav .ha-logo {
  flex: none;
  font-size: 14px;
  color: inherit;
}
.nav .ha-logo__nom span {
  color: inherit;
  opacity: 0.7;
}
.nav[data-ton='encre'] .ha-logo__pastille,
.foot .ha-logo__pastille {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--rule-ink);
}
.nav:not([data-ton='encre']) .ha-logo__pastille {
  background: var(--ink);
  box-shadow: none;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a,
.nav-space {
  position: relative;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  color: inherit;
}
.nav-links a::after,
.nav-space::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform calc(var(--img) * 3) steps(3);
}
[dir='rtl'] .nav-links a::after,
[dir='rtl'] .nav-space::after {
  --origin: right;
}
.nav-links a:hover::after,
.nav-space:hover::after,
.nav-links a.is-on::after {
  transform: scaleX(1);
}
.nav-end {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.lsw {
  display: flex;
  gap: 2px;
}
.lsw button {
  position: relative;
  min-width: 36px;
  height: 34px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 14px;
  opacity: 0.55;
  cursor: pointer;
}
.lsw button[lang='ar'] {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 17px;
}
.lsw button[aria-pressed='true'] {
  opacity: 1;
}
.lsw button[aria-pressed='true']::after {
  content: '';
  position: absolute;
  inset-inline: 6px;
  bottom: 2px;
  height: 2px;
  background: var(--lime);
}
.nav:not([data-ton='encre']) .lsw button[aria-pressed='true']::after {
  background: var(--ink);
}
.lsw button:hover {
  opacity: 1;
}
.nav-demo {
  padding: 3px 7px 2px;
  border: 1px solid currentColor;
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
html[lang='ar'] .nav-demo {
  font-family: var(--f-text);
  letter-spacing: 0;
}
.nav[data-ton='citron'] .nav-cta,
.nav[data-ton='papier'] .nav-cta {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
}
@media (max-width: 899px) {
  :root {
    --nav-h: 54px;
  }
  .nav {
    gap: 12px;
  }
  .nav-demo,
  .nav-space,
  .nav-cta {
    display: none;
  }
}

/* Fenêtre burn-in (ordinateur) */
.tc {
  position: fixed;
  z-index: 55;
  bottom: 16px;
  inset-inline-end: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 5px;
  background: var(--ink-2);
  color: var(--paper);
  border: 1px solid var(--rule-ink);
  font-family: var(--f-dot);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  direction: ltr;
}
.tc.is-off {
  visibility: hidden;
}
.tc-plan {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-mute);
}
.tc-plan b {
  color: var(--lime);
}
html[lang='ar'] .tc-plan span {
  font-family: var(--f-text);
  font-weight: 600;
  letter-spacing: 0;
}
.tc-time {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 899px) {
  .tc {
    display: none;
  }
}

/* Barre basse (téléphone) */
.dock {
  display: none;
}
@media (max-width: 899px) {
  .dock {
    position: fixed;
    z-index: 58;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--paper);
    border-top: 1px solid var(--rule-ink);
    transition: transform calc(var(--img) * 3) steps(3);
  }
  .dock.is-off {
    transform: translateY(110%);
  }
  .dock-tc {
    display: grid;
    font-family: var(--f-dot);
    font-weight: 800;
    font-size: 12px;
    line-height: 1.2;
    color: var(--ink-mute);
    direction: ltr;
  }
  .dock-tc b {
    color: var(--lime);
  }
  .dock-space {
    margin-inline-start: auto;
    font-weight: 700;
    font-size: 15px;
    color: inherit;
    text-decoration: none;
  }
  .dock-cta {
    min-height: 46px;
    padding: 0 20px;
  }
  .lp {
    padding-bottom: 64px;
  }
}

/* --------------------------------------------------------------------------
   PLAN 01 · le clap
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 96px;
  overflow: clip;
}
.frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid var(--rule-ink);
}
.frame i:nth-child(1) {
  top: calc(var(--nav-h) + 22px);
  inset-inline-start: calc(var(--gut) / 2);
  border-top-width: 2px;
  border-inline-start-width: 2px;
}
.frame i:nth-child(2) {
  top: calc(var(--nav-h) + 22px);
  inset-inline-end: calc(var(--gut) / 2);
  border-top-width: 2px;
  border-inline-end-width: 2px;
}
.frame i:nth-child(3) {
  bottom: 22px;
  inset-inline-start: calc(var(--gut) / 2);
  border-bottom-width: 2px;
  border-inline-start-width: 2px;
}
.frame i:nth-child(4) {
  bottom: 22px;
  inset-inline-end: calc(var(--gut) / 2);
  border-bottom-width: 2px;
  border-inline-end-width: 2px;
}
.burn--tl,
.burn--tr {
  position: absolute;
  top: calc(var(--nav-h) + 30px);
  color: var(--ink-mute);
}
.burn--tl {
  inset-inline-start: calc(var(--gut) / 2 + 40px);
}
.burn--tr {
  inset-inline-end: calc(var(--gut) / 2 + 40px);
}
/* Plateau : une découpe de projecteur derrière le clap, et le grain de la pellicule */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 62% at 31% 57%, rgb(255 236 200 / 0.16), rgb(255 236 200 / 0.05) 55%, rgb(255 236 200 / 0) 76%),
    radial-gradient(60% 30% at 31% 100%, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0) 70%);
  pointer-events: none;
}
[dir='rtl'] .hero::before {
  background:
    radial-gradient(46% 62% at 69% 57%, rgb(255 236 200 / 0.16), rgb(255 236 200 / 0.05) 55%, rgb(255 236 200 / 0) 76%),
    radial-gradient(60% 30% at 69% 100%, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0) 70%);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: -40%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%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 .7 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px;
  opacity: 0.07;
  pointer-events: none;
  animation: grain 0.48s steps(1) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-6%, 3%); }
  33% { transform: translate(4%, -5%); }
  50% { transform: translate(-3%, -2%); }
  67% { transform: translate(5%, 4%); }
  83% { transform: translate(-5%, 6%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none;
  }
}
.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  /* le clap à gauche, la vidéo de présentation à droite (presque à parts égales) */
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 3vw, 56px);
}
@media (min-width: 900px) {
  .hero .hero-title {
    font-size: clamp(54px, 5.4vw, 112px);
  }
}

/* L'ardoise : un vrai clap de tournage. Claquettes rayées en acrylique, charnière en acier
   vissée, ardoise noire (ouverture) ou blanche (inscription), valeurs écrites au marqueur,
   ruban gaffer citron. C'est le seul objet « matière » de la page : reflets, grain et ombre portée. */
.slate {
  --stick-h: clamp(30px, 3.5vw, 50px);
  --stripe: clamp(20px, 2.3vw, 32px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --scratch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cg stroke-opacity='.07' stroke-width='.8'%3E%3Cpath d='M40 60 190 38M310 90l170-22M90 300l140-30M380 330l150-12M250 200l60-40M470 180l90 25'/%3E%3C/g%3E%3Cg stroke-opacity='.045' stroke-width='1.6'%3E%3Cpath d='M120 140c40-6 90-4 150 4M330 250c50 8 110 6 170-4M60 220c30-10 60-12 90-8'/%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  color: var(--ink);
  filter: drop-shadow(0 36px 34px rgb(0 0 0 / 0.5)) drop-shadow(0 4px 6px rgb(0 0 0 / 0.45));
}
.hero .slate {
  rotate: -1.2deg;
}
[dir='rtl'] .hero .slate {
  rotate: 1.2deg;
}
.sticks {
  position: relative;
  z-index: 2;
}
.clapper,
.clapper-base {
  position: relative;
  height: var(--stick-h);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.26), rgb(255 255 255 / 0.05) 32%, rgb(0 0 0 / 0) 58%, rgb(0 0 0 / 0.38)),
    var(--grain),
    repeating-linear-gradient(-56deg, #141413 0 var(--stripe), #f1eee6 var(--stripe) calc(var(--stripe) * 2));
  background-size: auto, 160px 160px, auto;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), inset 0 -1px 0 rgb(0 0 0 / 0.65), inset 0 0 0 1px rgb(0 0 0 / 0.6);
}
.clapper-base {
  margin-top: 2px;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.3), rgb(255 255 255 / 0.12) 26%, rgb(0 0 0 / 0) 60%, rgb(0 0 0 / 0.42)),
    var(--grain),
    repeating-linear-gradient(56deg, #141413 0 var(--stripe), #f1eee6 var(--stripe) calc(var(--stripe) * 2));
  background-size: auto, 160px 160px, auto;
}
.clapper {
  z-index: 2;
  transform-origin: calc(var(--stick-h) * 0.5) calc(var(--stick-h) * 0.66);
  transform: rotate(var(--open, -16deg));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), inset 0 -1px 0 rgb(0 0 0 / 0.65), inset 0 0 0 1px rgb(0 0 0 / 0.6), 0 12px 16px -8px rgb(0 0 0 / 0.6);
  will-change: transform;
}
[dir='rtl'] .clapper {
  transform-origin: calc(100% - var(--stick-h) * 0.5) calc(var(--stick-h) * 0.66);
  transform: rotate(calc(var(--open, -16deg) * -1));
}
/* Charnière : plaque d'acier brossé, deux vis */
.hinge {
  position: absolute;
  z-index: 3;
  inset-inline-start: calc(var(--stick-h) * 0.14);
  top: calc(var(--stick-h) * 0.38);
  width: calc(var(--stick-h) * 0.72);
  height: calc(var(--stick-h) * 1.26);
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.06) 0 1px, rgb(0 0 0 / 0.05) 1px 2px),
    linear-gradient(100deg, #5f5f5b, #dcdbd5 26%, #8d8c86 50%, #cfcec7 72%, #62615d);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65), inset 0 -1px 0 rgb(0 0 0 / 0.5), inset 0 0 0 1px rgb(0 0 0 / 0.35), 0 3px 4px rgb(0 0 0 / 0.55);
}
.hinge i {
  position: absolute;
  left: 50%;
  width: 34%;
  aspect-ratio: 1;
  margin-left: -17%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbfaf6, #9a9993 48%, #4a4946);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.45), 0 1px 0 rgb(255 255 255 / 0.5);
}
.hinge i::after {
  content: '';
  position: absolute;
  inset: 44% 14%;
  border-radius: 1px;
  background: rgb(0 0 0 / 0.6);
  transform: rotate(32deg);
}
.hinge i:first-child {
  top: 15%;
}
.hinge i:last-child {
  bottom: 14%;
}
.hinge i:last-child::after {
  transform: rotate(-58deg);
}
/* Poussière de craie et éclair de synchro (créés au claquement) */
.dust {
  position: absolute;
  z-index: 4;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f4f1ea;
  pointer-events: none;
}
.sync-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  mix-blend-mode: screen;
  background: radial-gradient(70% 80% at var(--fx, 30%) 45%, #fffdf5, rgb(255 253 245 / 0.25) 60%, rgb(255 253 245 / 0) 100%);
  opacity: 0;
  pointer-events: none;
}

.slate-body {
  --line: rgb(15 15 13 / 0.85);
  --label: var(--paper-mute);
  position: relative;
  display: grid;
  margin-top: 3px;
  border-radius: 2px 2px 14px 14px;
  padding: clamp(16px, 2.2vw, 30px);
  background:
    radial-gradient(55% 45% at var(--mx, 24%) var(--my, 10%), rgb(255 255 255 / 0.85), rgb(255 255 255 / 0) 70%),
    radial-gradient(26% 12% at 74% 34%, rgb(15 15 13 / 0.018), transparent 70%),
    radial-gradient(20% 10% at 28% 86%, rgb(15 15 13 / 0.02), transparent 70%),
    var(--grain),
    linear-gradient(172deg, #fbfaf6, #edebe4 58%, #e1dfd7);
  background-size: auto, auto, auto, 160px 160px, auto;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14), inset 0 2px 0 #fff, inset 0 -4px 8px rgb(0 0 0 / 0.1);
}
.slate--noir .slate-body {
  --line: rgb(242 239 231 / 0.8);
  --label: rgb(242 239 231 / 0.55);
  color: #f3f0e8;
  background:
    radial-gradient(55% 45% at var(--mx, 24%) var(--my, 10%), rgb(255 255 255 / 0.11), rgb(255 255 255 / 0) 70%),
    radial-gradient(26% 12% at 74% 34%, rgb(255 255 255 / 0.04), transparent 70%),
    radial-gradient(20% 10% at 28% 86%, rgb(255 255 255 / 0.05), transparent 70%),
    var(--scratch),
    var(--grain),
    linear-gradient(172deg, #252522, #141413 55%, #0b0b0a);
  background-size: auto, auto, auto, cover, 160px 160px, auto;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), inset 0 2px 0 rgb(255 255 255 / 0.12), inset 0 -4px 10px rgb(0 0 0 / 0.7), 0 0 0 1px #000;
}
.slate-body::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1.5px solid var(--line);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  pointer-events: none;
}
.slate-row {
  position: relative;
  display: grid;
  margin: 0;
}
.slate-row--top {
  grid-template-columns: 1fr 1fr;
  border-bottom: 1.5px solid var(--line);
}
.slate-row--bot {
  grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--line);
}
.slate-row > div {
  padding: 8px 12px 10px;
  min-width: 0;
}
.slate-row > div + div {
  border-inline-start: 1.5px solid var(--line);
}
.slate-row dt {
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
}
html[lang='ar'] .slate-row dt {
  font-family: var(--f-text);
  font-weight: 600;
  letter-spacing: 0;
}
/* Valeurs écrites à la main, au marqueur */
.slate-row dd {
  margin: 4px 0 0;
  font-family: 'Permanent Marker', var(--f-cond);
  font-weight: 400;
  font-size: clamp(18px, 1.75vw, 27px);
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: rotate(-1.4deg);
  transform-origin: 0 50%;
}
.slate-row > div:nth-child(2n) dd {
  transform: rotate(0.9deg);
}
[dir='rtl'] .slate-row dd {
  transform-origin: 100% 50%;
}
html[lang='ar'] .slate-row dd {
  font-family: 'Marhey', var(--f-text);
  font-weight: 600;
}
.slate--noir .slate-row dd {
  color: #f7f5ef;
  text-shadow: 0 0 1px rgb(255 255 255 / 0.55), 0 0 6px rgb(255 255 255 / 0.08);
}
/* Ruban gaffer citron, déchiré à la main */
.slate-row dd:has(.tape) {
  overflow: visible;
  transform: none;
}
.tape {
  display: inline-block;
  max-width: 100%;
  padding: 3px 14px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.28), rgb(255 255 255 / 0) 40%, rgb(0 0 0 / 0.1)),
    repeating-linear-gradient(90deg, rgb(0 0 0 / 0.025) 0 2px, transparent 2px 5px),
    var(--lime);
  color: var(--ink);
  text-shadow: none !important;
  clip-path: polygon(1.5% 0, 98.5% 0, 100% 10%, 98.2% 24%, 100% 37%, 98.6% 52%, 100% 66%, 98.1% 80%, 100% 92%, 98.5% 100%, 1.5% 100%, 0 88%, 1.9% 74%, 0 60%, 1.5% 46%, 0 32%, 2% 18%, 0 6%);
  transform: rotate(-1.8deg);
}
.hero-title {
  position: relative;
  margin: 0;
  padding: clamp(20px, 3vw, 44px) 12px clamp(18px, 2.6vw, 38px);
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: clamp(54px, 7.3vw, 138px);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.slate--noir .hero-title {
  color: #f4f1e9;
  text-shadow: 0 0 1px rgb(255 255 255 / 0.35);
}
html[lang='ar'] .hero-title {
  font-weight: 800;
  font-size: clamp(40px, 4.7vw, 88px);
  line-height: 1.22;
}
.slate-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.slate-hit:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
.hero-side {
  display: grid;
  gap: 28px;
  padding-bottom: 6px;
  align-self: center;
}
/* Vidéo de présentation : cadre net, comme les plans de la page */
.pres--cut {
  --pres-acc: var(--lime);
  --pres-ink: #0f0f0d;
  --pres-ring: var(--rule-ink);
}
@media (max-width: 899px) {
  /* Téléphone : la vidéo avant le clap */
  .hero-side {
    order: -1;
  }
}
.hero-sub {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.45;
  color: var(--paper);
}
.hero-sub b {
  font-weight: 800;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-legend {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-ink);
}
.hero-legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rule-ink);
}
.hero-legend i {
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--orange);
}
.hero-legend li[data-track='ia'] i {
  background: var(--lav);
}
.hero-legend a {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}
.hero-legend b {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.1;
}
.hero-legend span {
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink-mute);
  align-self: center;
}
html[lang='ar'] .hero-legend span {
  font-family: var(--f-text);
  font-weight: 600;
}
.hero-legend a:hover b {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.hero-hint {
  color: var(--ink-mute);
}
@media (max-width: 899px) {
  .hero::before,
  [dir='rtl'] .hero::before {
    background: radial-gradient(90% 34% at 50% 30%, rgb(255 236 200 / 0.12), rgb(255 236 200 / 0) 75%);
  }
  .hero {
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 56px;
  }
  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .hero .slate {
    margin-inline: -6px;
    rotate: 0deg;
  }
  .slate-row--top {
    grid-template-columns: 1.55fr 1fr;
  }
  .tape {
    padding-inline: 10px;
    font-size: 0.82em;
  }
  .slate-row--bot {
    grid-template-columns: repeat(4, auto);
  }
  .slate-row > div {
    padding: 6px 8px 8px;
  }
  .slate-row dt {
    font-size: 10px;
  }
  .hero-title {
    font-size: clamp(46px, 13.2vw, 92px);
    padding-inline: 6px;
  }
  html[lang='ar'] .hero-title {
    font-size: clamp(34px, 9.6vw, 64px);
  }
  .hero-hint,
  .burn--tr {
    display: none;
  }
  .burn--tl {
    inset-inline-start: calc(var(--gut) / 2 + 34px);
    top: calc(var(--nav-h) + 26px);
  }
}

/* --------------------------------------------------------------------------
   PLAN 02 · deux formations, champ / contrechamp
   -------------------------------------------------------------------------- */
@property --split {
  syntax: '<number>';
  inherits: true;
  initial-value: 0.5;
}
.duo {
  --split: 0.5;
  padding: 0;
  display: grid;
  grid-template-columns: calc(var(--split) * 100%) 1fr;
  min-height: 100svh;
  background: var(--ink);
  transition: --split calc(var(--img) * 3) steps(3);
}
@media (hover: hover) and (min-width: 900px) {
  .duo:has(> .duo-p[data-track='creative']:hover) {
    --split: 0.56;
  }
  .duo:has(> .duo-p[data-track='ia']:hover) {
    --split: 0.44;
  }
}
.duo-p {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) var(--gut) clamp(40px, 5vw, 72px);
  color: var(--ink);
  overflow: hidden;
}
.duo-p[data-track='creative'] {
  background: var(--orange);
  padding-inline-end: calc(var(--gut) + 28px);
}
.duo-p[data-track='ia'] {
  background: var(--lav);
  padding-inline-start: calc(var(--gut) + 28px);
}
.duo-seam {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  inset-inline-start: calc(var(--split) * 100%);
  width: 44px;
  margin: 0;
  margin-inline-start: -22px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
}
.duo-seam span {
  writing-mode: vertical-rl;
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
html[lang='ar'] .duo-seam span {
  font-family: var(--f-text);
  font-weight: 700;
  letter-spacing: 0;
  font-size: 15px;
}
.duo-k {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang='ar'] .duo-k > span:first-child {
  font-family: var(--f-text);
  letter-spacing: 0;
}
.duo-range {
  direction: ltr;
}
.duo-t {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}
.duo-big {
  display: block;
  margin-inline-start: -0.04em;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: var(--fit, clamp(96px, 13vw, 230px));
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
html[lang='ar'] .duo-big {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}
.duo-name {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}
.duo-pitch {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.45;
}
/* Couverture de la formation : grande, presque toute la largeur du panneau */
.duo-cov {
  margin: 6px 0 4px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 34px 60px -30px rgb(0 0 0 / 0.6);
}
.duo-cov img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform calc(var(--img) * 6) steps(6);
}
@media (hover: hover) {
  .duo-p:hover .duo-cov img {
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion: reduce) {
  .duo-cov img {
    transition: none;
  }
}
.duo-mods {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ink);
}
.duo-mods > li {
  border-top: 2px solid var(--ink);
}
/* Programme détaillé : la ligne du module se déplie sur ses leçons */
.duo-mods summary {
  display: grid;
  grid-template-columns: 64px 1fr auto 14px;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0 9px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.duo-mods summary::-webkit-details-marker {
  display: none;
}
.duo-mods summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.duo-mods summary:hover .t {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.duo-mods .lv {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 1px 7px;
  font-family: var(--f-dot);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
  color: var(--paper, #f2ede2);
  background: var(--ink);
}
.duo-mods .pm {
  position: relative;
  align-self: center;
  width: 12px;
  height: 12px;
}
.duo-mods .pm::before,
.duo-mods .pm::after {
  content: '';
  position: absolute;
  inset: 5px 0 auto;
  height: 2px;
  background: var(--ink);
}
.duo-mods .pm::after {
  transform: rotate(90deg);
}
.duo-mods details[open] .pm::after {
  transform: none;
}
.dm-ls {
  display: grid;
  gap: 2px;
  margin: 0 0 12px;
  padding: 0 0 0 76px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}
[dir='rtl'] .dm-ls {
  padding: 0 76px 0 0;
}
.dm-ls li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 3px 0;
}
.dm-ls .c {
  font-size: 12px;
  opacity: 0.7;
}
.duo-hint {
  margin: 10px 0 0;
  font-family: var(--f-dot);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.75;
}
@media (max-width: 560px) {
  .duo-mods summary {
    grid-template-columns: 48px 1fr auto 14px;
    font-size: 15px;
  }
  .dm-ls {
    padding-inline-start: 0;
  }
  [dir='rtl'] .dm-ls {
    padding: 0;
  }
}
.duo-mods .c {
  font-family: var(--f-dot);
  font-weight: 900;
  font-size: 14px;
  direction: ltr;
  text-align: start;
}
.duo-mods .n {
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
html[lang='ar'] .duo-mods .n {
  font-family: var(--f-text);
  font-weight: 600;
}
.duo-f {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.duo-n {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
}
.duo-go {
  font-weight: 800;
  font-size: 16px;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.duo-go:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
@media (max-width: 899px) {
  .duo {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .duo-p[data-track] {
    padding: 64px var(--gut) 44px;
  }
  .duo-p[data-track='creative'] {
    order: 1;
  }
  .duo-seam {
    order: 2;
    position: static;
    width: auto;
    height: 44px;
    margin: 0;
  }
  .duo-seam span {
    writing-mode: horizontal-tb;
  }
  .duo-p[data-track='ia'] {
    order: 3;
  }
  .duo-big {
    font-size: var(--fit, clamp(84px, 26vw, 150px));
  }
}

/* --------------------------------------------------------------------------
   PLAN 03 · la leçon sur la table de montage
   -------------------------------------------------------------------------- */
.derush .um {
  display: none;
}
.derush.is-on .um {
  position: relative;
  display: inline-block;
  max-width: var(--w, 12em);
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  opacity: 0.32;
  font-weight: 600;
}
.derush .um::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  height: 0.09em;
  width: calc(var(--strike, 0) * 100%);
  background: var(--orange);
}
.edit {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.viewer {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
}
.viewer-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.viewer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewer-burn {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px 8px;
  border-top: 1px solid var(--rule-ink);
  direction: ltr;
}
.viewer-burn .burn {
  font-size: 12px;
  color: var(--ink-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#lv-tc {
  flex: none;
  font-variant-numeric: tabular-nums;
}
.viewer-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
}
.viewer-play svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-inline-start: 4px;
}
[dir='rtl'] .viewer-play svg {
  margin-inline-start: 0;
  margin-inline-end: 4px;
}
.viewer.is-playing .viewer-play {
  display: none;
}
.viewer-sound {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
html[lang='ar'] .viewer-sound {
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}
.viewer-sound[aria-pressed='true'] {
  background: var(--lime);
  color: var(--ink);
}
.vs-ic {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.vs-ic::before,
.vs-ic::after {
  content: '';
  width: 3px;
  height: 5px;
  background: currentColor;
}
.vs-ic::after {
  height: 11px;
}
.viewer-sound[aria-pressed='true'] .vs-ic::before {
  animation: vs 0.48s steps(3) infinite alternate;
}
.viewer-sound[aria-pressed='true'] .vs-ic::after {
  animation: vs 0.36s steps(3) infinite alternate-reverse;
}
@keyframes vs {
  to {
    height: 12px;
  }
}
.viewer-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--paper-mute);
}

/* Pistes : échelle de 0 à 2:00, la leçon réelle posée dessus */
.tl {
  --name: 96px;
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 12px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  direction: ltr;
}
.tl-ruler {
  position: relative;
  height: 22px;
  margin-inline-start: var(--name);
}
.tl-ruler i {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 6px;
  background: var(--rule-ink);
}
.tl-ruler i.is-major {
  height: 11px;
  background: var(--ink-mute);
}
.tl-ruler span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 11px;
  color: var(--ink-mute);
}
.tl-ruler span:first-of-type {
  transform: none;
}
.tl-ruler span:last-of-type {
  transform: translateX(-100%);
}
.tl-track {
  display: grid;
  grid-template-columns: var(--name) 1fr;
  align-items: center;
}
.tl-name {
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
html[lang='ar'] .tl-name {
  font-family: var(--f-text);
  font-weight: 600;
  letter-spacing: 0;
  direction: rtl;
  text-align: left;
}
.tl-clips,
.tl-wave {
  position: relative;
  height: 34px;
  background: var(--ink-2);
}
.tl-clip {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 6px;
  overflow: hidden;
  background: var(--orange);
  color: var(--ink);
  border-inline-end: 2px solid var(--ink);
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tl-clip:nth-child(even) {
  background: #ff8a5c;
}
.tl-clip.is-on {
  background: var(--lime);
}
.tl-wave i {
  position: absolute;
  bottom: 50%;
  width: 0.36%;
  transform: translateY(50%);
  background: var(--lime);
}
.tl-limit {
  position: absolute;
  top: 8px;
  bottom: 10px;
  inset-inline-end: 12px;
  border-inline-end: 2px dashed var(--orange);
}
.tl-limit span {
  position: absolute;
  top: -2px;
  inset-inline-end: 6px;
  padding: 0 4px;
  background: var(--ink);
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 11px;
  color: var(--orange);
  white-space: nowrap;
}
.tl-head {
  position: absolute;
  top: 6px;
  bottom: 8px;
  left: calc(12px + var(--name));
  width: 2px;
  background: var(--lime);
  transform: translateX(var(--x, 0px));
}
.tl-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5px;
  border: 6px solid transparent;
  border-top-color: var(--lime);
}

/* Notes de montage : le contenu de l'ancienne grille */
.notes {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--ink);
}
.note {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 12px;
  padding: 18px 0 20px;
  border-top: 2px solid var(--ink);
}
.note > * {
  grid-column: 2;
}
.note-n {
  grid-column: 1;
  grid-row: 1 / span 3;
  font-family: var(--f-dot);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.6;
}
.note h3 {
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 0.98;
  text-transform: uppercase;
}
html[lang='ar'] .note h3 {
  font-weight: 700;
  line-height: 1.3;
  font-size: clamp(22px, 1.8vw, 28px);
}
.note-ar {
  font-family: 'Alexandria', var(--f-text);
  font-weight: 700;
  text-transform: none;
  color: var(--orange);
}
html[lang='ar'] .note-ar {
  display: none;
}
.note p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: #2c2b27;
}
.mq {
  margin-top: 14px;
  padding: 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
}
.mq-q {
  margin: 0 0 10px !important;
  color: var(--paper) !important;
  font-weight: 700;
}
.mq-a {
  display: grid;
  gap: 6px;
}
.mq-a button {
  min-height: 42px;
  padding: 8px 12px;
  border: 0;
  border-radius: 3px;
  background: var(--ink-2);
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--rule-ink);
  font-size: 15px;
  text-align: start;
  cursor: pointer;
  direction: ltr;
  transition: background-color calc(var(--img) * 2) steps(2);
}
html[lang='ar'] .mq-a button[data-i18n] {
  direction: rtl;
}
.mq-a button:hover:not([disabled]) {
  box-shadow: inset 0 0 0 1.5px var(--lime);
}
.mq-a button.ok {
  background: var(--lime);
  color: var(--ink);
  box-shadow: none;
}
.mq-a button.ko {
  text-decoration: line-through;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  opacity: 0.6;
}
.note--count h3 {
  font-size: clamp(30px, 2.8vw, 44px);
}
@media (max-width: 899px) {
  .edit {
    grid-template-columns: minmax(0, 1fr);
  }
  .viewer {
    margin-inline: calc(var(--gut) * -1);
    border-radius: 0;
  }
  .tl {
    --name: 58px;
    margin-inline: calc(var(--gut) * -1);
    border-radius: 0;
  }
  .tl-clip {
    font-size: 0;
  }
}

/* --------------------------------------------------------------------------
   PLAN 04 · l'espace étudiant au moniteur
   -------------------------------------------------------------------------- */
.space {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
}
.space-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}
.monitor {
  margin: 0;
  padding: 10px;
  background: var(--ink-2);
  border: 1px solid var(--rule-ink);
  border-radius: 8px;
}
.monitor-top {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px 10px;
  color: var(--ink-mute);
}
.rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
}
.rec i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  animation: rec 1s steps(1) infinite;
}
@keyframes rec {
  50% {
    opacity: 0;
  }
}
/* La maquette garde les couleurs de l'app (or et lavande sur noir) */
.mock {
  --m-gold: #e0be55;
  --m-lav: #c8b6ff;
  padding: 16px;
  border-radius: 6px;
  background: #07060a;
  color: #f6f2ea;
  font-size: 13px;
}
.mk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.mk-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f2dfa0, #b08a24);
}
.mk-hi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 16px;
}
.mk-sun {
  flex: none;
}
.mk-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: #b6afbd;
  box-shadow: inset 0 0 0 1px #3a3340;
}
.mk-xp {
  margin-inline-start: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(201 162 39 / 0.14);
  color: #f2dfa0;
  font-weight: 700;
  font-size: 12px;
}
.mk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mk-c {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: #141218;
  box-shadow: inset 0 0 0 1px #2a2530;
}
.mk-prod {
  --a: var(--m-gold);
  position: relative;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 10px;
}
.mk-prod[data-track='ia'] {
  --a: var(--m-lav);
}
.mk-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--a);
}
.mk-prod b {
  font-size: 14px;
}
.mk-ring {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.mk-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.mk-ring circle {
  fill: none;
  stroke: #2a2530;
  stroke-width: 5;
}
.mk-ring .fg {
  stroke: var(--a);
  stroke-dasharray: 100.5;
  stroke-dashoffset: calc(100.5 - 100.5 * var(--p) * var(--on, 1));
  transition: stroke-dashoffset 0.64s steps(8);
}
.mk-ring em {
  position: relative;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}
.mk-next {
  grid-column: 1 / -1;
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.04);
  font-weight: 700;
}
.mk-next small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--a);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mk-streak b {
  font-size: 20px;
}
.mk-streak span,
.mk-bdg > span:last-child {
  color: #b6afbd;
}
.mk-days {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.mk-days i {
  flex: 1;
  height: 16px;
  border-radius: 5px;
  background: #2a2530;
}
.mk-days i.on {
  background: #ec7a45;
}
.mk-atl {
  grid-row: span 2;
  background: #15131c;
  box-shadow: inset 0 0 0 1px rgb(200 182 255 / 0.3);
}
.mk-atl b {
  color: var(--m-lav);
}
.mk-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}
.mk-tiles i {
  padding: 12px 8px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.04);
  box-shadow: inset 0 0 0 1px #2a2530;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.mk-tiles i:first-child {
  box-shadow: inset 0 0 0 1.5px var(--m-lav);
}
.mk-badges {
  display: flex;
  gap: 6px;
}
.mk-badges i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2a2530;
}
.mk-badges i.on {
  background: linear-gradient(180deg, #f2dfa0, #c9a227);
}
@media (max-width: 899px) {
  .space {
    grid-template-columns: minmax(0, 1fr);
  }
  .monitor {
    margin-inline: -6px;
  }
  .mock {
    padding: 12px;
  }
  .mk-grid {
    grid-template-columns: 1fr;
  }
  .mk-atl {
    grid-row: auto;
  }
}

/* --------------------------------------------------------------------------
   PLAN 05 · le travelling
   -------------------------------------------------------------------------- */
.rails {
  position: relative;
  --rail-y: 22px;
}
.rails-track {
  position: absolute;
  inset-inline: 0;
  top: var(--rail-y);
  height: 14px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 26px);
}
.rails-fill {
  position: absolute;
  inset-block: -3px;
  inset-inline-start: 0;
  width: calc(var(--prog, 0) * 100%);
  background: var(--orange);
  mix-blend-mode: multiply;
}
.dolly {
  position: absolute;
  z-index: 2;
  top: calc(var(--rail-y) - 30px);
  inset-inline-start: calc(var(--prog, 0) * (100% - 64px));
  width: 64px;
  height: 40px;
  color: var(--ink);
}
[dir='rtl'] .dolly svg {
  transform: scaleX(-1);
}
.dolly svg {
  width: 100%;
  height: 100%;
  fill: var(--ink);
}
.dolly svg circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 3;
}
.stations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin: 0;
  padding: calc(var(--rail-y) + 46px) 0 0;
  list-style: none;
}
.st {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
}
.st::before {
  content: '';
  position: absolute;
  top: -36px;
  inset-inline-start: 0;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ink);
  background: var(--paper);
}
.st.is-on::before {
  background: var(--ink);
}
.st-k {
  font-family: var(--f-dot);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[lang='ar'] .st-k {
  font-family: var(--f-text);
  font-weight: 700;
  letter-spacing: 0;
}
.st h3 {
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 0.9;
  text-transform: uppercase;
}
html[lang='ar'] .st h3 {
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.25;
}
.st p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #2c2b27;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 4px 7px 3px;
  font-family: var(--f-dot);
  font-weight: 900;
  font-size: 12px;
  background: var(--orange);
  color: var(--ink);
  direction: ltr;
}
.chips li[data-track='ia'] {
  background: var(--lav);
}
@media (max-width: 899px) {
  .rails {
    --rail-x: 6px;
    padding-inline-start: 46px;
  }
  .rails-track {
    inset-inline: auto;
    inset-inline-start: var(--rail-x);
    top: 0;
    bottom: 0;
    width: 14px;
    height: auto;
    border: 0;
    border-inline-start: 3px solid var(--ink);
    border-inline-end: 3px solid var(--ink);
    background: repeating-linear-gradient(180deg, var(--ink) 0 3px, transparent 3px 26px);
  }
  .rails-fill {
    inset-block: auto;
    inset-inline: -3px;
    top: 0;
    width: auto;
    height: calc(var(--prog, 0) * 100%);
  }
  .dolly {
    top: calc(var(--prog, 0) * (100% - 40px));
    inset-inline-start: -10px;
    width: 46px;
    height: 30px;
    transform: rotate(90deg);
  }
  [dir='rtl'] .dolly {
    transform: rotate(-90deg);
  }
  .stations {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 0;
  }
  .st::before {
    top: 6px;
    inset-inline-start: -46px;
  }
}

/* --------------------------------------------------------------------------
   PLAN 06 · le casting (une page de scénario)
   -------------------------------------------------------------------------- */
.who-head {
  text-align: center;
}
.script {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) clamp(20px, 7vw, 108px);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--f-type);
  font-size: 17px;
  line-height: 1.5;
}
.script-slug {
  margin: 0 0 32px;
  font-weight: 700;
  text-transform: uppercase;
}
.roles {
  margin: 0;
  padding: 0;
  list-style: none;
}
.role {
  display: grid;
  justify-items: center;
  text-align: center;
}
.role-name {
  margin: 0;
  font-family: var(--f-type);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.role-par {
  margin: 2px 0 0;
  font-style: italic;
  color: var(--paper-mute);
}
.role-x {
  max-width: 36ch;
  margin: 8px 0 0;
}
.role-me {
  margin-top: 16px;
  padding: 8px 16px 7px;
  border: 2.5px solid var(--orange);
  background: transparent;
  color: #c43c0a;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
  cursor: pointer;
  transition: background-color calc(var(--img) * 2) steps(2), color calc(var(--img) * 2) steps(2);
}
.role-me:hover,
.role-me[aria-pressed='true'] {
  background: var(--orange);
  color: var(--ink);
}
.cut {
  margin: 26px 0;
  text-align: end;
  font-weight: 700;
  text-transform: uppercase;
}
html[lang='ar'] .role-name,
html[lang='ar'] .script-slug,
html[lang='ar'] .cut {
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   PLAN 07 · Hooked Lab (aplat citron)
   -------------------------------------------------------------------------- */
.lab {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 96px);
}
.lab-mark svg {
  width: min(100%, 440px);
  height: auto;
  margin-inline: auto;
}
.lab .h2 {
  font-size: clamp(44px, 5.6vw, 96px);
}
html[lang='ar'] .lab .h2 {
  font-size: clamp(34px, 4.2vw, 68px);
}
.lab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}
.lab-chips li {
  padding: 7px 12px 6px;
  border: 2px solid var(--ink);
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
}
html[lang='ar'] .lab-chips li {
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 899px) {
  .lab {
    grid-template-columns: minmax(0, 1fr);
  }
  .lab-mark svg {
    width: 160px;
    margin-inline: 0;
  }
}

/* --------------------------------------------------------------------------
   PLAN 09 · tarifs : « compose ta formule » (assets/css/compose.css)
   -------------------------------------------------------------------------- */
.tix-head .lead {
  max-width: 54ch;
}
.tix-all {
  display: grid;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.tix-all-k {
  font-size: 12px;
}
.tix-all ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.tix-all li::before {
  content: '+';
  margin-inline-end: 8px;
  font-family: var(--f-dot);
  font-weight: 900;
  color: var(--orange);
}
.tix-note {
  margin: 0;
  font-size: 14px;
  color: var(--paper-mute);
}

/* --------------------------------------------------------------------------
   PLAN 09 · inscription : l'ardoise-formulaire
   -------------------------------------------------------------------------- */
.join {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(36px, 5vw, 88px);
}
.join .h2 {
  font-size: clamp(48px, 6.4vw, 110px);
}
.join-steps {
  display: grid;
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule-ink);
}
.join-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-ink);
}
.join-steps b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--f-dot);
  font-weight: 900;
  font-size: 18px;
}
.join-steps strong {
  display: block;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}
html[lang='ar'] .join-steps strong {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
}
.join-steps span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-mute);
}
.slate--form .slate-body {
  gap: 18px;
  padding: clamp(16px, 2.2vw, 30px) clamp(18px, 2.6vw, 36px) clamp(22px, 2.6vw, 36px);
}
.slate--form .slate-row--top {
  grid-template-columns: 1.4fr 1.2fr 0.8fr;
  margin-inline: calc(clamp(18px, 2.6vw, 36px) * -1 + 9px);
  margin-top: calc(clamp(16px, 2.2vw, 30px) * -1);
}
.fs {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.fs.is-on {
  display: grid;
  gap: 16px;
}
.fs legend {
  margin-bottom: 8px;
  padding: 0;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 0.9;
  text-transform: uppercase;
}
html[lang='ar'] .fs legend {
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.3;
}
.fld {
  display: grid;
  gap: 4px;
}
/* Formulaire en une prise : nom et WhatsApp côte à côte quand il y a la place */
.fld-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}
.fld > span,
.fld > span:first-child {
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
html[lang='ar'] .fld > span {
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}
.fld em {
  font-style: normal;
  text-transform: none;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  min-height: 50px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 19px;
  -webkit-appearance: none;
  appearance: none;
}
.fld textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.45;
}
.fld select {
  padding-inline-end: 30px;
  background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 13px) 55% / 7px 7px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--ink) 50%) calc(100% - 7px) 55% / 7px 7px no-repeat;
  cursor: pointer;
}
[dir='rtl'] .fld select {
  background-position: 13px 55%, 7px 55%;
}
.fld input::placeholder,
.fld textarea::placeholder {
  color: #8d887b;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: none;
  border-bottom-color: var(--orange);
  box-shadow: 0 2px 0 var(--orange);
}
[dir='rtl'] .fld input[dir='ltr'] {
  text-align: right;
}
.fld .is-bad,
.fld input.is-bad {
  border-bottom-color: var(--err);
}
.seg,
.chips-in {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.seg label,
.chips-in label {
  position: relative;
  cursor: pointer;
}
.seg input,
.chips-in input,
.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg span,
.chips-in span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-family: var(--f-text);
}
.seg span {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
}
.seg span {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  line-height: 1;
}
.seg span b {
  font-weight: inherit;
}
.seg span small {
  font-family: var(--f-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  opacity: 0.75;
}
.seg input:checked + span,
.chips-in input:checked + span {
  background: var(--ink);
  color: var(--paper);
}
.seg input:focus-visible + span,
.chips-in input:focus-visible + span,
.check input:focus-visible + span::before {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.check {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  cursor: pointer;
}
.check span::before {
  content: '';
  flex: none;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-inline-end: 10px;
  vertical-align: -5px;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.check input:checked + span::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6f23c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.check input.is-bad + span::before {
  box-shadow: inset 0 0 0 2px var(--err);
}
.form-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}
.form-err {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--err);
}
.form.is-done .fs,
.form.is-done .form-nav,
.form.is-done .form-err {
  display: none;
}
.form-done {
  display: grid;
  gap: 10px;
  padding: 10px 0 6px;
}
.form-done h3 {
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 0.88;
  text-transform: uppercase;
}
html[lang='ar'] .form-done h3 {
  font-weight: 800;
  line-height: 1.3;
  font-size: clamp(30px, 3vw, 48px);
}
.form-done p {
  margin: 0;
  max-width: 52ch;
}
.done-mark svg {
  width: 64px;
  height: 64px;
}
/* Écran « dernière étape » : confirmer l'inscription sur WhatsApp */
.form-done h3 {
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 0.95;
}
.done-steps {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.done-steps li {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgb(0 0 0 / 0.12);
  border-color: color-mix(in srgb, currentColor 16%, transparent);
  opacity: 0.7;
}
.done-steps li.is-ok {
  opacity: 1;
}
.done-steps li.is-now {
  opacity: 1;
  font-weight: 700;
  border-color: #25d366;
  background: rgb(37 211 102 / 0.12);
}
.done-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #25d366;
  color: #062b14;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgb(37 211 102 / 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.done-wa:hover,
.done-wa:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.done-wa:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.done-wa svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.done-cod {
  font-size: 14px;
  opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
  .done-wa {
    transition: none;
  }
  .done-wa:hover,
  .done-wa:focus-visible {
    transform: none;
  }
}
/* Champ piège pour les robots : invisible pour les visiteurs */
.hp {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#form-err a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 899px) {
  .join {
    grid-template-columns: minmax(0, 1fr);
  }
  .slate--form .slate-row--top {
    grid-template-columns: 1.75fr 1.2fr 0.7fr;
  }
  .slate--form .tape {
    padding-inline: 8px;
    font-size: 0.78em;
  }
  .slate--form {
    margin-inline: -6px;
  }
}

/* --------------------------------------------------------------------------
   PLAN 10 · questions : le fichier .srt
   -------------------------------------------------------------------------- */
.faq-head {
  position: relative;
}
.faq-file {
  position: absolute;
  top: 6px;
  inset-inline-end: 0;
  color: var(--paper-mute);
  direction: ltr;
}
.srt {
  border-bottom: 2px solid var(--ink);
}
.srt details {
  border-top: 2px solid var(--ink);
}
.srt summary {
  display: grid;
  grid-template-columns: 240px 1fr 32px;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.srt summary::-webkit-details-marker {
  display: none;
}
.srt summary::after {
  content: '+';
  justify-self: end;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: 34px;
  line-height: 0.6;
}
.srt details[open] summary::after {
  content: '−';
}
.srt-i {
  display: grid;
  gap: 2px;
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 12px;
  color: var(--paper-mute);
  direction: ltr;
  text-align: start;
}
[dir='rtl'] .srt-i {
  text-align: right;
}
.srt-i b {
  font-size: 15px;
  color: var(--ink);
}
.srt summary > span:nth-child(2) {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1;
  text-transform: uppercase;
}
html[lang='ar'] .srt summary > span:nth-child(2) {
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
}
.srt summary:hover > span:nth-child(2) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.srt details p {
  max-width: 64ch;
  margin: 0;
  padding: 0 0 24px;
  padding-inline-start: 256px;
  font-size: 18px;
  line-height: 1.55;
}
.srt details p:not(:last-child) {
  padding-bottom: 12px;
}
@media (max-width: 899px) {
  .faq-file {
    position: static;
    margin-top: 14px;
  }
  .srt summary {
    grid-template-columns: 1fr 28px;
    gap: 6px 12px;
  }
  .srt-i {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .srt details p {
    padding-inline-start: 0;
    font-size: 17px;
  }
}

/* --------------------------------------------------------------------------
   PLAN 11 · générique
   -------------------------------------------------------------------------- */
.foot {
  padding-bottom: clamp(48px, 6vw, 80px);
}
.credits {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-ink);
}
.credits dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 40px;
  margin: 0;
}
.credits dt {
  font-family: var(--f-dot);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
html[lang='ar'] .credits dt {
  font-family: var(--f-text);
  letter-spacing: 0;
  font-size: 13px;
}
.credits dd {
  margin: 4px 0 0;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}
html[lang='ar'] .credits dd {
  font-weight: 700;
  line-height: 1.35;
  font-size: clamp(20px, 1.8vw, 26px);
}
.foot-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}
.foot-nav a {
  font-weight: 650;
  color: inherit;
  text-decoration: none;
}
.foot-nav a:hover {
  color: var(--lime);
}
.foot-app {
  justify-self: start;
  padding: 0;
  border: 0;
  font: inherit;
  font-weight: 650;
  color: var(--lime);
  background: none;
  cursor: pointer;
}
.foot-app[hidden] {
  display: none;
}
.foot-app:hover {
  text-decoration: underline;
}
.foot-end {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 32px;
  padding-top: 30px;
}
.foot .ha-logo {
  font-size: 16px;
}
.foot-fin {
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--lime);
}
.foot-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--ink-mute);
}
@media (max-width: 899px) {
  .credits {
    grid-template-columns: 1fr;
  }
  .credits dl {
    grid-template-columns: 1fr;
  }
  .foot-end {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Mouvement réduit : les plans restent, le mouvement disparaît
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation: none !important;
    transition: none !important;
  }
  .clapper {
    --open: 0deg;
  }
}
.h2 .nb {
  white-space: normal;
}
.slate--form {
  margin-top: clamp(64px, 9vw, 120px);
}
.join .join-copy {
  padding-top: clamp(0px, 4vw, 40px);
}
html[lang='ar'] .duo-big {
  line-height: 1.45;
  margin-bottom: -0.1em;
}

/* --------------------------------------------------------------------------
   Plan 03 · Le formateur : « réalisé par ». Portrait rond et discret,
   cerclé d'une bague de mise au point (assets/img/formateur.webp).
   -------------------------------------------------------------------------- */
.coach {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.coach-ph {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
}
.coach-ph img {
  width: clamp(170px, 20vw, 260px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.05);
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 8px var(--lime);
}
.coach-ring {
  position: absolute;
  top: -22px;
  left: 50%;
  width: calc(clamp(170px, 20vw, 260px) + 44px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1.5px dashed rgb(236 232 220 / 0.35);
  pointer-events: none;
}
.coach-ring i {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 14px;
  background: var(--paper);
}
.coach-ring i:first-child {
  top: -8px;
}
.coach-ring i:last-child {
  bottom: -8px;
}
.coach-ph figcaption {
  margin-top: 18px;
  color: var(--ink-mute);
}
.coach-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 2px solid var(--paper);
}
.coach-stats div {
  margin: 0;
}
.coach-n {
  font-family: var(--f-dot);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1;
  color: var(--lime);
}
.coach-stats dd {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink-mute);
}
.coach-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 34px 0 0;
  font-size: 15px;
  color: var(--ink-mute);
}
.coach-sig {
  font-family: 'Permanent Marker', var(--f-cond);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  color: var(--paper);
  transform: rotate(-4deg);
}
@media (max-width: 860px) {
  .coach {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
@media (max-width: 560px) {
  .coach-stats {
    grid-template-columns: 1fr 1fr;
  }
  .coach-stats div:last-child {
    grid-column: 1 / -1;
  }
}

/* Tarifs · combien coûte l'IA pour commencer (data/outils.js) */
.tix-ai {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 2px solid var(--ink);
}
.tix-ai-h {
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}
html[lang='ar'] .tix-ai-h {
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.25;
}
.tix-ai-x {
  margin: 16px 0 0;
  max-width: 52ch;
}
.tix-ai-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.ai-c {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.ai-c.is-free {
  background: var(--lime);
}
.ai-p {
  margin: 0;
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 0.95;
}
html[lang='ar'] .ai-p {
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
}
.ai-p small {
  font-family: var(--f-text);
  font-size: 15px;
  font-weight: 600;
}
.ai-t {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
}
.ai-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding-top: 6px;
}
.ai-tools span {
  padding: 3px 8px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
@media (max-width: 860px) {
  .tix-ai-row {
    grid-template-columns: 1fr;
  }
}

/* Assistant (assets/css/assistant.css) : au-dessus du timecode, et de la barre du bas sur mobile */
.lp .hb {
  --hb-bottom: 64px;
}
@media (max-width: 899px) {
  .lp .hb {
    --hb-bottom: 84px;
  }
}
.tix-ai .tix-note {
  margin-top: 16px;
}
.coach-n {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .coach-n {
    font-size: 26px;
  }
}
html[lang='ar'] :is(.duo-hint, .duo-mods .lv) {
  font-family: var(--f-text);
  letter-spacing: 0;
}

/* Formation Sites & Apps (novembre 2026) : même panneau que les deux autres, à gauche ; à droite, le site
   se construit au défilement (assets/css/site-build.css). */
@media (hover: hover) and (min-width: 900px) {
  .duo--dev:has(> .duo-p[data-track='dev']:hover) {
    --split: 0.56;
  }
}
.duo-p[data-track='dev'] {
  background: #5fd3b3;
  padding-inline-end: calc(var(--gut) + 28px);
}
.dvb {
  --sb-top: calc(var(--nav-h) + 36px);
  --sb-head: var(--f-text);
  min-width: 0;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) var(--gut) clamp(40px, 5vw, 72px);
  padding-inline-start: calc(var(--gut) + 28px);
  background:
    radial-gradient(circle at 1px 1px, rgb(95 211 179 / 0.14) 1px, transparent 0) 0 0 / 22px 22px,
    #0b1012;
}
.dvb .sb-cap-t {
  font-family: var(--f-cond);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 0.95;
  text-transform: uppercase;
}
html[lang='ar'] .dvb .sb-cap-t {
  font-family: var(--f-cond);
  line-height: 1.2;
  text-transform: none;
}
@media (max-width: 899px) {
  .duo-p[data-track='dev'] {
    order: 1;
  }
  .duo--dev .dvb {
    --sb-top: calc(var(--nav-h) + 12px);
    order: 3;
    min-height: 200svh;
    padding: 48px var(--gut) 56px;
  }
}
.seg--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.seg--3 span {
  width: 100%;
}
/* Formules du formulaire : 2 × 2 sur téléphone, 4 de front sur grand écran */
.seg--4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .seg--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.seg--4 span {
  width: 100%;
  padding: 8px 12px;
}
.seg--4 span small {
  white-space: normal;
  line-height: 1.25;
}
/* Formation pas encore ouverte : visible, grisée, impossible à choisir */
.seg label.is-soon {
  cursor: not-allowed;
}
.seg label.is-soon span {
  opacity: 0.5;
  box-shadow: inset 0 0 0 2px var(--ink);
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgb(0 0 0 / 0.06) 6px 12px);
}
.seg--sub {
  margin-top: 8px;
}
.seg--sub span {
  min-height: 46px;
  font-size: 16px;
}
.seg--sub[hidden] {
  display: none;
}
@media (max-width: 420px) {
  .seg--3 span {
    padding: 0 10px;
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .duo--dev .dvb {
    min-height: 0;
  }
}
/* Compte démo de 24 h : bouton secondaire (hero, section inscription, écran après inscription) */
.join-trial {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin: 22px 0 0;
}
.join-trial small {
  font-size: 13px;
  opacity: 0.8;
}
.done-trial {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1.5px solid currentColor;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.done-trial:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 3px;
}
