/* ==========================================================================
   1HommeSeul — V2 · feuille de style
   Système : blanc « clinique » (#f2f2f4), panneaux #fdfdfd, encre #0f1012,
   une seule typographie très fine (Inter 300 à 400), filets de 0,5 px,
   aucune ombre, et un seul accent, l’argile : contours, icônes et liens.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Couleurs */
  --canvas: #f2f2f4;        /* fond de page */
  --panel: #fdfdfd;         /* cartes, barre de navigation */
  --ink: #0f1012;           /* texte principal, bandes sombres */
  --ink-strong: #020201;    /* texte des boutons */
  --steel: #5e5e5e;         /* texte secondaire (5,8:1) */
  --label: #6a6a70;         /* étiquettes (4,8:1) */
  --ash: #8f8f8f;           /* très discret : jamais pour un texte essentiel */
  --mute: #c4c4c9;          /* mots pas encore « encrés » du manifeste */
  --clay: #bc7155;          /* accent : filets, contours, icônes */
  --clay-ink: #9c5236;      /* accent lisible : liens et étiquettes (5,1:1) */
  --clay-line: rgba(188, 113, 85, .55);
  --hair: rgba(0, 0, 0, .06);
  --hair-strong: rgba(0, 0, 0, .11);
  --wash: rgba(12, 13, 15, .05);
  --wash-strong: rgba(12, 13, 15, .09);
  --on-dark: #fdfdfd;
  --on-dark-muted: rgba(253, 253, 253, .64);
  --on-dark-hair: rgba(253, 253, 253, .14);

  /* Typographie */
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --w: 350;
  --w-ui: 400;
  --track: -0.02em;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-27: 27px;
  --fs-title: clamp(27px, 2.75vw, 40px);
  --fs-display: clamp(32px, 3.6vw, 52px);
  --fs-num: clamp(38px, 4.2vw, 60px);

  /* Formes */
  --r-nav: 10px;
  --r-btn: 26px;
  --r-media: 28px;
  --r-card: 54px;
  --r-body: 63px;
  --r-pill: 9999px;

  /* Mise en page */
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 52px);
  /* marge latérale qui aligne tout sur la colonne de 1200 px (le % se lit là où on l'utilise) */
  --side: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  --gap: clamp(72px, 9vw, 100px);
  --pad: clamp(26px, 4.8vw, 69px);
  --nav-top: calc(clamp(12px, 2.4vw, 34px) + env(safe-area-inset-top, 0px));
  --nav-h: 46px;

  /* Mouvement */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-16);
  font-weight: var(--w);
  line-height: 1.5;
  letter-spacing: var(--track);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; letter-spacing: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: var(--w); }
ul, ol { list-style: none; padding: 0; }
b, strong { font-weight: var(--w-ui); }

::selection { background: var(--ink); color: var(--panel); }

:focus { outline: none; }
:focus-visible { outline: 1.5px solid var(--clay); outline-offset: 3px; }

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

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  background: var(--panel);
  border: 0.5px solid var(--clay);
  color: var(--ink);
  font-size: var(--fs-14);
  transform: translateY(-160%);
  transition: transform .4s var(--ease-out);
}
.skip:focus-visible { transform: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* --------------------------------------------------------------------------
   Briques communes
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-top: var(--gap); }
main { padding-bottom: var(--gap); }

/* Paire d'étiquettes : petite étiquette grise, puis sous-titre */
.label {
  font-size: var(--fs-12);
  line-height: 1.25;
  color: var(--label);
}
.label--light { color: var(--on-dark-muted); }
.label--accent { color: var(--clay-ink); }
.pair { display: flex; flex-direction: column; gap: 4px; }
.pair__sub { font-size: var(--fs-14); line-height: 1.25; color: var(--ink); }

.title {
  font-size: var(--fs-title);
  line-height: 1.12;
  max-width: 22ch;
  text-wrap: balance;
}
.lede {
  font-size: var(--fs-18);
  line-height: 1.45;
  color: var(--steel);
  max-width: 46ch;
  text-wrap: pretty;
}
.source {
  margin-top: 40px;
  max-width: 92ch;
  font-size: var(--fs-12);
  line-height: 1.55;
  color: var(--label);
}

/* En-tête de section : étiquettes à gauche, titre dans la colonne large */
.head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 18px;
  align-items: start;
}
.head .pair { grid-column: 1 / span 3; padding-top: .55em; }
.head__main { grid-column: 4 / -1; }
.head__main .lede { margin-top: 18px; }

/* Étiquette pilule : contour argile, jamais remplie */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 4px;
  border: 0.5px solid var(--clay);
  border-radius: var(--r-pill);
  color: var(--clay-ink);
  font-size: var(--fs-12);
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tag svg { width: 12px; height: 12px; flex: none; color: var(--clay); }
.tag--plain { border-color: var(--hair-strong); color: var(--steel); }

/* Lien : texte argile, soulignement fin au survol */
.link {
  color: var(--clay-ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 1px;
  transition: background-size .6s var(--ease-out), color .3s;
}
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link svg {
  display: inline-block;
  width: 13px; height: 13px;
  margin-left: 4px;
  vertical-align: -1px;
  color: var(--clay);
  transition: transform .5s var(--ease-out);
}
.link:hover svg { transform: translateX(2px); }
.link--light { color: var(--clay); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }

/* Bouton pilule flottant : voile gris, icône argile */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px 11px 16px;
  border: 0.5px solid transparent;
  border-radius: var(--r-btn);
  background: var(--wash);
  color: var(--ink-strong);
  font-size: var(--fs-13);
  font-weight: var(--w-ui);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out), color .3s;
}
.btn svg { width: 14px; height: 14px; flex: none; color: var(--clay); transition: transform .6s var(--ease-out); }
.btn:hover { background: var(--wash-strong); }
.btn:hover svg { transform: translateX(2px); }
.btn--quiet { background: transparent; border-color: var(--hair-strong); }
.btn--quiet:hover { background: var(--wash); border-color: transparent; }
.btn--light { background: rgba(253, 253, 253, .1); color: var(--on-dark); }
.btn--light:hover { background: rgba(253, 253, 253, .17); }

/* Carte : panneau blanc, coins de 54 px, filet, aucune ombre */
.card {
  position: relative;
  background: var(--panel);
  border: 0.5px solid var(--hair);
  border-radius: var(--r-card);
  padding: var(--pad);
  transition: border-color .6s var(--ease-out), transform .8s var(--ease-out);
}
.card__title { margin-top: 12px; font-size: var(--fs-27); line-height: 1.2; text-wrap: balance; }
.card__title--lg { font-size: var(--fs-title); line-height: 1.12; }
.card__text { margin-top: 12px; max-width: 48ch; color: var(--steel); text-wrap: pretty; }
.card .links { margin-top: 24px; }

/* Découpe des titres (mots masqués) */
.word {
  display: inline-block;
  vertical-align: top;
  clip-path: inset(-0.35em -0.2em -0.22em -0.2em);
}
.word__i { display: inline-block; will-change: transform; }
.char { display: inline-block; vertical-align: top; }
.char__i { display: inline-block; }

/* Consignes adaptées au pointeur (souris / tactile) */
.hint-touch { display: none; }
@media (hover: none) {
  .hint-hover { display: none; }
  .hint-touch { display: inline; }
}

/* --------------------------------------------------------------------------
   Ouverture (une fois par session)
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-inline: var(--gutter);
  background: var(--canvas);
  color: var(--ink);
}
.js .loader { display: flex; animation: loader-failsafe .01s 7s forwards; }
.intro-seen .loader, .reduce-motion .loader, .no-gsap .loader { display: none !important; }
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }

.loader__mark {
  font-size: clamp(54px, 11vw, 168px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: .9;
  white-space: nowrap;
}
.loader__mark .char { clip-path: inset(-0.3em -0.2em 0 -0.2em); }
.loader__line { font-size: var(--fs-13); color: var(--label); }
.loader__bar {
  --p: 0;
  position: absolute;
  left: 50%;
  bottom: max(40px, 7vh);
  width: min(240px, 50vw);
  height: 1px;
  background: var(--hair-strong);
  transform: translateX(-50%);
  overflow: hidden;
}
.loader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: scaleX(var(--p));
  transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Navigation : pilule flottante
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  z-index: 60;
  top: var(--nav-top);
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: transform .8s var(--ease-out);
}
.nav.is-hidden { transform: translateY(calc(-100% - var(--nav-top) - 4px)); }

.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  height: var(--nav-h);
  padding: 0 6px 0 14px;
  border: 0.5px solid var(--hair);
  border-radius: var(--r-nav);
  background: rgba(253, 253, 253, .9);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-right: 4px;
  font-size: var(--fs-16);
  line-height: 1;
  white-space: nowrap;
}
.nav__logo svg { width: 7px; height: 21px; flex: none; }
.nav__sep { flex: none; width: 1px; height: 16px; margin: 0 8px 0 10px; background: var(--hair-strong); }
.nav__link {
  padding: 7px 11px;
  border-radius: 7px;
  font-size: var(--fs-14);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .35s, color .35s;
}
.nav__link:hover, .nav__link.is-current { background: var(--wash); }
.nav__help {
  margin-left: 8px;
  padding: 6px 12px 7px;
  border: 0.5px solid var(--clay);
  border-radius: var(--r-pill);
  color: var(--clay-ink);
  font-size: var(--fs-13);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .35s;
}
.nav__help:hover { background: var(--wash); }
.nav__menu {
  display: none;
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  margin-left: 6px;
  border-radius: 8px;
  background: var(--wash);
}
.nav__menu span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform .5s var(--ease-out);
}
.nav__menu span:first-child { top: 14.5px; }
.nav__menu span:last-child { top: 20.5px; }
.menu-open .nav__menu span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .nav__menu span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Menu déroulant (écrans étroits) */
.menu {
  position: fixed;
  z-index: 59;
  top: calc(var(--nav-top) + var(--nav-h) + 8px);
  left: 50%;
  width: min(420px, calc(100% - var(--gutter) * 2));
  max-height: calc(100vh - var(--nav-top) - var(--nav-h) - 24px);
  max-height: calc(100svh - var(--nav-top) - var(--nav-h) - 24px);
  overflow-y: auto;
  padding: 18px 26px 26px;
  border: 0.5px solid var(--hair);
  border-radius: var(--r-btn);
  background: var(--panel);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
  transition: opacity .35s, transform .6s var(--ease-out), visibility 0s .6s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .35s, transform .6s var(--ease-out);
}
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  padding: 12px 0;
  border-bottom: 0.5px solid var(--hair-strong);
  font-size: var(--fs-27);
  line-height: 1.15;
  transition: color .3s, padding-left .5s var(--ease-out);
}
.menu__link:hover { padding-left: 6px; }
.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 22px; }
.menu__tel { font-size: var(--fs-18); }

/* --------------------------------------------------------------------------
   Le film : tout le haut de la page, d'un bord à l'autre de l'écran.
   Fichier vertical sur les écrans en hauteur, 16:9 sur les autres.
   -------------------------------------------------------------------------- */
.film {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
  /* Les couleurs de la première image (le coucher de soleil), le temps qu'elle arrive */
  background: linear-gradient(#6f6d93, #f0b39c 63.5%, #e6d4bc 63.5%);
}
.film__image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* La vidéo reste cachée derrière la première image tant qu'elle n'est pas lancée : jamais la nuit d'emblée */
.js .film video { visibility: hidden; }
.js .film[data-visible] video { visibility: visible; }
.film__ui {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(clamp(14px, 2.6vh, 28px) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.film__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border: 0.5px solid var(--hair);
  border-radius: var(--r-pill);
  background: rgba(253, 253, 253, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: var(--fs-13);
  line-height: 1;
  white-space: nowrap;
  transition: background-color .4s;
}
.film__pill:hover { background: var(--panel); }
.film__pill svg { width: 16px; height: 16px; flex: none; color: var(--clay); }
.film__fleche { transform: rotate(90deg); animation: film-fleche 2s var(--ease-in-out) infinite; }
@keyframes film-fleche { 50% { transform: rotate(90deg) translateX(3px); } }
.film__sound svg { display: none; }
.film[data-state="muted"] .i-sound-off,
.film[data-state="sound"] .i-sound-on,
.film[data-state="paused"] .i-play { display: block; }
.film:not([data-state]) .i-sound-off { display: block; }

/* L'ouverture reste à l'écran pendant que son animation se déroule au défilement */
.js:not(.no-gsap):not(.reduce-motion) .hero-track { height: 260vh; }
.js:not(.no-gsap):not(.reduce-motion) .hero { position: sticky; top: 0; }

/* --------------------------------------------------------------------------
   Ouverture de page (hero) : une aube qui se dissout dans le blanc
   -------------------------------------------------------------------------- */
.hero {
  --orb-x: 66%;
  --orb-y: 45%;
  --orb-r: min(30vw, 40vh);
  --horizon: calc(var(--orb-y) + var(--orb-r) * .18);
  --fig-h: calc(var(--orb-r) * .42);
  --fig-y: calc(var(--orb-y) + var(--orb-r) * .36);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--canvas);
}

/* La scène est vue à travers un disque aux bords fondus, qui s'agrandit au défilement */
.hero__scene {
  --orb-in: 1;
  --orb-k: 1;
  --orb: calc(var(--orb-r) * var(--orb-in) * var(--orb-k));
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 var(--r-body) var(--r-body);
  -webkit-mask-image: radial-gradient(circle at var(--orb-x) var(--orb-y), #000 calc(var(--orb) * .5), rgba(0, 0, 0, .62) calc(var(--orb) * .7), rgba(0, 0, 0, .22) calc(var(--orb) * .86), transparent var(--orb));
  mask-image: radial-gradient(circle at var(--orb-x) var(--orb-y), #000 calc(var(--orb) * .5), rgba(0, 0, 0, .62) calc(var(--orb) * .7), rgba(0, 0, 0, .22) calc(var(--orb) * .86), transparent var(--orb));
}
.scene__sky { position: absolute; inset: 0; }
.scene__sky--day {
  background: linear-gradient(180deg, #a3bfd3 0%, #bdd2df calc(var(--horizon) * .35), #d7e2e7 calc(var(--horizon) * .66), #ebe8e3 calc(var(--horizon) * .9), #f5ede2 var(--horizon));
}
.scene__sky--night {
  opacity: 0;
  background: linear-gradient(180deg, #05070f 0%, #0b0f1d calc(var(--horizon) * .35), #1a1e30 calc(var(--horizon) * .7), #3b3a4e calc(var(--horizon) * .92), #6a5f6e var(--horizon));
}
.scene__stars { position: absolute; left: 0; right: 0; top: 0; height: var(--horizon); opacity: 0; }
.scene__stars i {
  position: absolute;
  width: var(--s, 2px); height: var(--s, 2px);
  border-radius: 50%;
  background: #fff;
  opacity: var(--o, .6);
  animation: twinkle var(--d, 4s) ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: calc(var(--o, .6) * .25); } }
.scene__sun {
  position: absolute;
  left: 0; top: 0;
  width: 110vmax; height: 110vmax;
  margin: -55vmax 0 0 -55vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 245, .95) 0%, rgba(255, 249, 238, .6) 7%, rgba(255, 246, 232, .24) 20%, rgba(255, 246, 232, .07) 34%, rgba(255, 246, 232, 0) 50%);
  will-change: transform;
  pointer-events: none;
}
.scene__ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: var(--horizon);
  background: linear-gradient(180deg, #e1d6c7 0%, #e9e2d8 30%, #f0ece6 70%, #f2f2f4 100%);
}
.scene__ground-night {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, #34303f 0%, #1b1a28 30%, #0f1012 100%);
}
.scene__lights { position: absolute; left: 0; right: 0; top: var(--horizon); height: 0; }
.scene__lights i {
  position: absolute;
  bottom: 0;
  width: var(--s, 2px); height: var(--s, 2px);
  border-radius: 50%;
  background: #fff3dc;
  box-shadow: 0 0 6px 2px rgba(255, 236, 200, .55);
  opacity: 0;
}
.scene__figure {
  position: absolute;
  left: var(--orb-x);
  top: var(--fig-y);
  width: calc(var(--fig-h) / 3);
  height: var(--fig-h);
  margin: calc(var(--fig-h) * -1) 0 0 calc(var(--fig-h) / -6);
  transform-origin: 50% 100%;
}
.scene__man, .scene__shadow {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  color: var(--ink);
}
.scene__shadow {
  opacity: .22;
  transform-origin: 50% 98.6%;
  transform: scaleY(-.45);
  filter: blur(1.4px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 45%, #000 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 45%, #000 100%);
}

/* La phrase qui apparaît à la nuit tombée */
.hero__statement {
  position: absolute;
  z-index: 3;
  left: var(--side);
  right: var(--side);
  bottom: clamp(56px, 13vh, 132px);
  display: flex;
  flex-direction: column;
  gap: .08em;
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--on-dark);
  opacity: 0;
  pointer-events: none;
}
.hero__statement p { max-width: 19ch; text-wrap: balance; }
.hero__statement-soft { color: rgba(253, 253, 253, .55); }

.hero__ui {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: calc(var(--nav-top) + var(--nav-h) + 18px) var(--side) clamp(16px, 2.6vh, 28px);
}

/* Bandeau d'annonce */
.banner {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 5px 14px 5px 5px;
  border: 0.5px solid var(--hair);
  border-radius: var(--r-pill);
  background: rgba(253, 253, 253, .62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-13);
  line-height: 1.2;
  transition: background-color .4s;
}
.banner .tag { padding: 2px 9px 3px; font-size: 11px; }
.banner__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.banner > svg { width: 14px; height: 14px; flex: none; color: var(--clay); transition: transform .5s var(--ease-out); }
.banner:hover { background: var(--panel); }
.banner:hover > svg { transform: translateX(3px); }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero__text { max-width: 560px; }
.hero__title {
  max-width: 16ch;
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__lede { margin-top: 16px; max-width: 40ch; color: var(--steel); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.hero__clock {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: var(--fs-13);
  line-height: 1;
  color: var(--steel);
  white-space: nowrap;
}
.clock { width: 15px; height: 15px; flex: none; overflow: visible; color: var(--clay); }
.clock circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.clock line { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transform-origin: 12px 12px; }
[data-clock] { color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__slash { color: var(--ash); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero__hint { margin-left: 10px; padding-left: 12px; border-left: 0.5px solid var(--hair-strong); }

/* Le nom, très fin, posé en bas de l'écran */
.hero__mark {
  position: relative;
  z-index: 2;
  padding: 0 var(--side) clamp(12px, 2.4vh, 26px);
  line-height: .78;
}
.wordmark {
  display: inline-block;
  white-space: nowrap;
  font-size: min(16vw, 205px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: .78;
}
.hero .wordmark .char { clip-path: inset(-0.3em -0.2em 0 -0.2em); }

/* Avant l'animation d'entrée (avec un filet de sécurité si le script ne part pas) */
.js:not(.no-gsap):not(.reduce-motion) [data-hero-fade],
.js:not(.no-gsap):not(.reduce-motion) .hero__mark { visibility: hidden; animation: reveal-failsafe .01s 4s forwards; }
@keyframes reveal-failsafe { to { visibility: visible; } }

/* --------------------------------------------------------------------------
   Le projet : grille asymétrique en trois colonnes
   -------------------------------------------------------------------------- */
.breakthrough {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 22px;
  align-items: start;
}
.breakthrough .pair { grid-column: 1 / span 3; padding-top: .55em; }
.breakthrough .title { grid-column: 4 / span 5; }
.breakthrough__side { grid-column: 10 / -1; padding-top: .55em; color: var(--steel); text-wrap: pretty; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  margin-left: calc((100% + 24px) / 4);
}

.manifesto {
  margin-top: clamp(56px, 7vw, 94px);
  margin-left: calc((100% + 24px) / 4);
  max-width: 30em;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(56px, 7vw, 94px);
}
.duo .card {
  display: flex;
  flex-direction: column;
  min-height: clamp(240px, 24vw, 320px);
}
/* l'étiquette en haut, le titre et le texte groupés en bas */
.duo .card__title { margin-top: auto; padding-top: 40px; }
.duo .card:hover, .agir__grid > .card:hover { border-color: var(--clay-line); }

/* --------------------------------------------------------------------------
   Bandeau défilant
   -------------------------------------------------------------------------- */
.marquee {
  margin-top: var(--gap);
  padding-block: clamp(16px, 2.2vw, 28px);
  border-block: 0.5px solid var(--hair-strong);
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  padding-inline: clamp(18px, 2.4vw, 36px);
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}
.marquee__fig { flex: none; width: clamp(11px, 1.5vw, 23px); height: clamp(33px, 4.5vw, 69px); color: var(--clay); }

/* --------------------------------------------------------------------------
   En chiffres
   -------------------------------------------------------------------------- */
.chiffres .title { max-width: 16ch; }

.crowd {
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  border: 0.5px solid var(--hair);
  border-radius: var(--r-card);
  background: var(--panel);
}
.crowd__stage { position: relative; height: clamp(240px, 30vw, 400px); }
.crowd__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crowd__ui {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding: 18px clamp(24px, 4vw, 52px) 22px;
  border-top: 0.5px solid var(--hair);
}
.crowd__hint { font-size: var(--fs-13); color: var(--steel); }
.crowd__legend { display: flex; align-items: center; gap: 8px; font-size: var(--fs-13); color: var(--ink); }
.crowd__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
  margin-top: clamp(48px, 6vw, 80px);
}
.stat { padding-top: 22px; border-top: 0.5px solid var(--hair-strong); }
.stat__num {
  font-size: var(--fs-num);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__text { margin-top: 14px; max-width: 30ch; font-size: var(--fs-14); line-height: 1.45; color: var(--steel); }

/* --------------------------------------------------------------------------
   Les films : défilement horizontal
   -------------------------------------------------------------------------- */
.episodes {
  --card-w: clamp(200px, min(21vw, calc((100svh - 330px) * .5625)), 300px);
  --head-w: clamp(250px, 24vw, 340px);
  position: relative;
  padding-top: var(--gap);
  overflow: hidden;
}
.episodes__stage { position: relative; }
.episodes__head { padding-inline: var(--side); margin-bottom: 36px; }
.episodes__head .title { margin-top: 18px; max-width: 12ch; }
.episodes__head .lede { margin-top: 16px; max-width: 30ch; font-size: var(--fs-16); }

/* Par défaut : carrousel horizontal natif (mobile, mouvement réduit, sans JS) */
.episodes__viewport {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.episodes__viewport::-webkit-scrollbar { display: none; }
.episodes__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  width: max-content;
  padding-inline: var(--side);
}
.episodes:not(.is-pinned) .episodes__hint { display: none; }

/* Bureau, animations actives : défilement horizontal épinglé */
.episodes.is-pinned {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-top) + var(--nav-h) + 16px) 0 24px;
}
.episodes.is-pinned .episodes__head {
  position: absolute;
  z-index: 1;
  top: 0;
  left: var(--side);
  width: var(--head-w);
  margin: 0;
  padding: 0;
}
.episodes.is-pinned .episodes__viewport { overflow: visible; scroll-snap-type: none; }
.episodes.is-pinned .episodes__track { padding-left: calc(var(--side) + var(--head-w) + clamp(32px, 4vw, 64px)); }

.ep {
  position: relative;
  flex: none;
  width: var(--card-w);
  scroll-snap-align: start;
  scroll-margin-left: var(--gutter);
}
.ep__media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #e6e6ea;
  clip-path: inset(0 round var(--r-media));
}
.ep__zoom { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out); }
.ep__zoom img {
  position: absolute;
  top: 0; left: -9%;
  width: 118%; height: 100%;
  max-width: none;
  object-fit: cover;
}
.ep:hover .ep__zoom { transform: scale(1.06); }
.ep__play {
  position: absolute;
  right: 14px; bottom: 14px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--clay);
  opacity: 0;
  transform: scale(.8);
  transition: transform .6s var(--ease-out), opacity .4s;
}
.ep__play svg { width: 16px; height: 16px; margin-left: 2px; }
.ep:hover .ep__play, .ep:focus-within .ep__play { opacity: 1; transform: none; }

.ep__meta { padding-top: 16px; }
.ep__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ep__title {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-18);
  line-height: 1.3;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .7s var(--ease-out);
}
.ep:hover .ep__title { background-size: 100% 1px; }
.ep__quote {
  margin-top: 6px;
  max-width: 34ch;
  font-size: var(--fs-14);
  line-height: 1.45;
  color: var(--steel);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep__hit { position: absolute; inset: 0; z-index: 2; border-radius: var(--r-media); }

.ep--next { display: flex; }
.ep__next {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 28px 26px;
  border: 0.5px solid var(--hair);
  border-radius: var(--r-media);
  background: var(--panel);
  transition: border-color .5s;
}
.ep__next:hover { border-color: var(--clay-line); }
.ep__next-title { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; text-wrap: balance; }
.ep__next:hover .link { background-size: 100% 1px; }

.episodes__progress {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(24px, 3.4vw, 40px);
  padding-inline: var(--side);
  font-size: var(--fs-13);
  color: var(--steel);
}
.episodes__count { min-width: 60px; color: var(--ink); font-variant-numeric: tabular-nums; }
.episodes__bar { position: relative; flex: 1; max-width: 280px; height: 1px; background: var(--hair-strong); }
.episodes__bar span {
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: scaleX(.14);
  transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Démarche : le diaphragme
   -------------------------------------------------------------------------- */
.demarche .title { max-width: 18ch; }
.demarche__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  align-items: start;
}
.demarche__visual {
  grid-column: 1 / span 5;
  position: sticky;
  top: max(calc(var(--nav-top) + var(--nav-h) + 24px), calc(50vh - 280px));
}
.iris.card { padding: clamp(24px, 3vw, 44px); }
.iris__svg { width: 100%; height: auto; overflow: visible; }
.iris__ticks line { stroke: var(--ink); stroke-width: .35; }
.iris__ticks line.is-major { stroke-width: .7; }
.iris__ticks text { font-size: 5.2px; font-family: var(--font); fill: var(--steel); letter-spacing: 0; }
.iris__rim { fill: none; stroke: var(--ink); stroke-width: .6; }
.iris__fig { color: var(--ink); }
.iris__blade { fill: #ebebee; stroke: rgba(15, 16, 18, .3); stroke-width: .35; stroke-linejoin: round; }
.iris__blade:nth-child(even) { fill: #e2e2e6; }
.iris__readout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 0.5px solid var(--hair-strong);
  font-size: var(--fs-13);
  color: var(--steel);
}

.steps { grid-column: 7 / -1; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding: 28px 0 40px;
  border-top: 0.5px solid var(--hair-strong);
}
.step::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -0.5px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out);
}
.step.is-active::after, .step:hover::after { transform: scaleX(1); }
.step .tag { grid-row: 1 / span 2; align-self: start; justify-self: start; margin-top: .45em; }
.step__title { font-size: var(--fs-27); line-height: 1.2; color: var(--ash); transition: color .6s var(--ease-out); }
.step.is-active .step__title, .step:hover .step__title { color: var(--ink); }
.step__text { grid-column: 2; margin-top: 10px; max-width: 46ch; color: var(--steel); }

/* --------------------------------------------------------------------------
   Sur TikTok
   -------------------------------------------------------------------------- */
.tiktok__card {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}
.tiktok__text { grid-column: 1 / span 7; }
.tiktok__text .title { margin-top: 22px; max-width: 17ch; }
.tiktok__text .lede { margin-top: 18px; }
.tiktok__text .links { margin-top: 26px; }
.tiktok__phone {
  grid-column: 9 / -1;
  justify-self: end;
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  background: #e6e6ea;
  clip-path: inset(0 round var(--r-media));
}
.tiktok__phone img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.tiktok__phone:hover img { transform: scale(1.05); }
.tiktok__play {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-left: -28px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--clay);
  transition: transform .7s var(--ease-out);
}
.tiktok__play svg { width: 18px; height: 18px; margin-left: 3px; }
.tiktok__phone:hover .tiktok__play { transform: scale(1.12); }

.nums {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.nums li { padding-top: 18px; border-top: 0.5px solid var(--hair-strong); }
.nums strong {
  display: block;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.nums span { display: block; margin-top: 10px; font-size: var(--fs-13); line-height: 1.4; color: var(--steel); }

/* --------------------------------------------------------------------------
   Agir
   -------------------------------------------------------------------------- */
.agir__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
/* Trois cartes égales : les liens s'alignent en bas */
.agir__grid > .card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 3.4vw, 46px);
}
.agir__grid > .card .label { font-variant-numeric: tabular-nums; }
.agir__grid > .card:not(.card--accent) .links { margin-top: auto; padding-top: 26px; }

/* Grande carte « Témoigner » : le texte à gauche, la rencontre à droite */
.agir__grid > .card--accent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  padding: var(--pad) 0 0 var(--pad);
  overflow: hidden;
  border-color: var(--clay-line);
}
.accent__text { padding-bottom: var(--pad); }
.card--accent .card__text { max-width: 44ch; }

.encounter {
  position: relative;
  align-self: end;
  height: clamp(170px, 17vw, 240px);
  /* le sol et les silhouettes se fondent dans la carte, comme l'aube du hero */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}
.encounter__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.encounter__ground { stroke: var(--clay); stroke-width: 1; }
.encounter__hello { fill: var(--clay-ink); font-size: 14px; font-family: var(--font); letter-spacing: -0.02em; opacity: 0; }
[data-walker] { fill: var(--ink); }
.walker__back { opacity: .4; }

/* --------------------------------------------------------------------------
   Questions fréquentes
   -------------------------------------------------------------------------- */
.faq { margin-top: clamp(40px, 5vw, 64px); padding-block: clamp(6px, 1.2vw, 16px); interpolate-size: allow-keywords; }
.faq__item + .faq__item { border-top: 0.5px solid var(--hair-strong); }
.faq__item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; transition: color .3s; }
.faq__item summary:hover .faq__q { color: var(--clay-ink); }
.faq__icon { position: relative; width: 32px; height: 32px; border: 0.5px solid var(--clay); border-radius: 50%; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1px;
  margin: -0.5px 0 0 -5.5px;
  background: var(--clay);
  transition: transform .5s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { max-width: 72ch; padding: 0 52px 26px 0; line-height: 1.6; color: var(--steel); }
.faq__a p + p { margin-top: 10px; }
/* Ouverture en douceur, dans les navigateurs qui le permettent */
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@media (max-width: 600px) { .faq__a { padding-right: 0; } }

/* --------------------------------------------------------------------------
   Lignes d’écoute
   -------------------------------------------------------------------------- */
.ecoute .title { max-width: 20ch; }
.ecoute .lede { font-size: var(--fs-16); }
.lines-card { margin-top: clamp(40px, 5vw, 64px); }
.lines-card > .label { margin-bottom: 12px; }
.lines-card__world { margin-top: 40px; }
.lines { border-top: 0.5px solid var(--hair-strong); }
.line {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name num"
    "desc hours";
  gap: 4px 24px;
  align-items: baseline;
  padding: 20px 0 22px;
  border-bottom: 0.5px solid var(--hair-strong);
  isolation: isolate;
}
.line::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -18px;
  border-radius: 18px;
  background: var(--wash);
  opacity: 0;
  transition: opacity .4s;
}
.line:hover::before, .line:focus-visible::before { opacity: 1; }
.line__name { grid-area: name; font-size: var(--fs-18); line-height: 1.25; }
.line__num {
  grid-area: num;
  justify-self: end;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.line:hover .line__num { color: var(--clay-ink); }
.line__num--url { font-size: var(--fs-18); }
.line__desc { grid-area: desc; font-size: var(--fs-14); line-height: 1.45; color: var(--steel); }
.line__hours { grid-area: hours; justify-self: end; font-size: var(--fs-13); color: var(--label); text-align: right; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Pied de page : bande sombre, centrée
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 100px);
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.footer__top { display: flex; flex-direction: column; align-items: center; }
.footer__fig { width: 10px; height: 30px; color: var(--clay); }
.footer__title { margin-top: 22px; font-size: var(--fs-title); line-height: 1.15; }
.footer__lede { margin-top: 10px; font-size: var(--fs-14); color: var(--on-dark-muted); }

.newsletter {
  position: relative;
  display: flex;
  gap: 6px;
  width: min(100%, 440px);
  margin-top: 28px;
  padding: 5px;
  border: 0.5px solid var(--on-dark-hair);
  border-radius: var(--r-btn);
  background: rgba(253, 253, 253, .05);
  transition: border-color .4s;
}
.newsletter:focus-within { border-color: rgba(253, 253, 253, .42); }
.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  font-size: var(--fs-14);
  outline: none;
}
.newsletter__input::placeholder { color: rgba(253, 253, 253, .45); }
.newsletter__msg {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 10px);
  font-size: var(--fs-13);
  color: var(--on-dark-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-top: 64px;
  font-size: var(--fs-14);
}
.footer__links a {
  color: rgba(253, 253, 253, .78);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s, background-size .6s var(--ease-out);
}
.footer__links a:hover { color: var(--on-dark); background-size: 100% 1px; }
.footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 14px; font-size: var(--fs-14); }

.footer__mark {
  margin-top: clamp(56px, 8vw, 110px);
  padding-inline: var(--side);
  line-height: .78;
}
.wordmark--footer { color: var(--on-dark); }
.wordmark--footer .char__i { will-change: transform; }

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
  padding-block: 24px 28px;
  border-top: 0.5px solid var(--on-dark-hair);
  font-size: var(--fs-12);
  color: rgba(253, 253, 253, .52);
  text-align: left;
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: var(--on-dark); }
.totop {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 16px;
  border-radius: var(--r-btn);
  background: rgba(253, 253, 253, .07);
  color: var(--on-dark);
  font-size: var(--fs-13);
  transition: background-color .4s;
}
.totop svg { width: 14px; height: 14px; color: var(--clay); transition: transform .5s var(--ease-out); }
.totop:hover { background: rgba(253, 253, 253, .13); }
.totop:hover svg { transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Pages annexes (mentions légales)
   -------------------------------------------------------------------------- */
/* Sur ces pages sans script, la pilule défile avec la page au lieu de rester fixe */
.nav.nav--static { position: absolute; }
.nav__sep.nav__sep--keep { display: block; }
.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  border-radius: 7px;
  font-size: var(--fs-14);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .35s;
}
.nav__back svg { width: 14px; height: 14px; flex: none; color: var(--clay); transition: transform .5s var(--ease-out); }
.nav__back:hover { background: var(--wash); }
.nav__back:hover svg { transform: translateX(-2px); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-14); line-height: 1.25; color: var(--ink); }
.crumbs a { color: var(--clay-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.crumbs a:hover, .crumbs a:focus-visible { background-size: 100% 1px; }
.crumbs span[aria-hidden] { color: var(--ash); }

.legal { padding-top: calc(var(--nav-top) + var(--nav-h) + clamp(48px, 7vw, 88px)); }
.legal__date { margin-top: 14px; font-size: var(--fs-13); color: var(--label); }
.legal__card { margin-top: clamp(36px, 5vw, 56px); }
.legal__item {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 10px 24px;
  padding: 26px 0 28px;
  border-top: 0.5px solid var(--hair-strong);
}
.legal__item:first-child { padding-top: 0; border-top: 0; }
.legal__item:last-child { padding-bottom: 0; }
.legal__title { font-size: var(--fs-18); line-height: 1.3; }
.legal__text { max-width: 64ch; line-height: 1.6; }
.legal__text p + p, .legal__text address + p, .legal__text p + address { margin-top: 12px; }
.legal__address { font-style: normal; }
.legal__text .link { overflow-wrap: anywhere; }

.legal__intro { margin-top: 22px; max-width: 60ch; font-size: var(--fs-16); line-height: 1.6; }
.legal__sub { margin-top: 26px; font-size: var(--fs-16); line-height: 1.4; }
.legal__sub:first-child { margin-top: 0; }
.legal__sub + p { margin-top: 8px; }
.legal__text .legal__list { display: grid; gap: 8px; }
.legal__text p + .legal__list, .legal__text .legal__list + p { margin-top: 12px; }
.legal__list li { position: relative; padding-left: 22px; }
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .8em;
  width: 10px; height: 1px;
  background: var(--clay);
}
.legal__table-wrap { overflow-x: auto; }
.legal__table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); line-height: 1.5; }
.legal__table th {
  padding: 0 16px 10px 0;
  border-bottom: 0.5px solid var(--hair-strong);
  font-size: var(--fs-12);
  font-weight: var(--w);
  color: var(--label);
  text-align: left;
}
.legal__table td { padding: 12px 16px 12px 0; border-bottom: 0.5px solid var(--hair-strong); vertical-align: top; }
.legal__table td:first-child { width: 42%; }
.legal__table td:last-child { color: var(--steel); }
.legal__table tr:last-child td { border-bottom: 0; }

.footer--page .footer__links { margin-top: 28px; }
.footer--page .footer__bottom { margin-top: 48px; }

@media (max-width: 700px) {
  .legal__item { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Pastille qui suit la souris sur les films
   -------------------------------------------------------------------------- */
.cursor-pill {
  position: fixed;
  left: 0; top: 0;
  z-index: 90;
  pointer-events: none;
}
.cursor-pill__in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 10px;
  border: 0.5px solid var(--hair);
  border-radius: var(--r-pill);
  background: rgba(253, 253, 253, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: var(--fs-13);
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translate(14px, 14px) scale(.6);
  transform-origin: 0 0;
  transition: opacity .3s, transform .5s var(--ease-out);
}
.cursor-pill__in svg { width: 12px; height: 12px; color: var(--clay); }
.cursor-pill.is-active .cursor-pill__in { opacity: 1; transform: translate(14px, 14px); }
.modal-open .cursor-pill { display: none; }

/* --------------------------------------------------------------------------
   Lecteur vidéo
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 18, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: min(1100px, 100%);
  color: var(--on-dark);
  opacity: 0;
  transform: translateY(32px) scale(.97);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.modal__title { font-size: var(--fs-16); }
.modal__close {
  position: absolute;
  z-index: 2;
  top: clamp(14px, 3vh, 28px);
  right: clamp(14px, 3vw, 28px);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
}
.modal__close span { position: absolute; width: 16px; height: 1px; background: currentColor; transition: transform .6s var(--ease-out); }
.modal__close span:first-child { transform: rotate(45deg); }
.modal__close span:last-child { transform: rotate(-45deg); }
.modal__close:hover span:first-child { transform: rotate(135deg); }
.modal__close:hover span:last-child { transform: rotate(45deg); }
.modal__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  clip-path: inset(0 round var(--r-media));
}
.modal__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal--vertical .modal__panel { width: min(400px, calc((100svh - 190px) * .5625), 100%); }
.modal--vertical .modal__media { aspect-ratio: 9 / 16; }
.modal__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--clay);
  font-size: var(--fs-13);
  white-space: nowrap;
}
.modal__link svg { width: 13px; height: 13px; transition: transform .5s var(--ease-out); }
.modal__link:hover svg { transform: translateX(3px); }
.modal__link[hidden] { display: none; }
.poster-view { position: absolute; inset: 0; }
.poster-view img { width: 100%; height: 100%; object-fit: cover; }
.poster-view::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .7) 100%);
  pointer-events: none;
}
.poster-view .btn { position: absolute; z-index: 1; left: 50%; bottom: 24px; transform: translateX(-50%); }
.leader {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: var(--ink);
}
.leader__text { font-size: var(--fs-27); }
.leader__sub { max-width: 40ch; font-size: var(--fs-14); color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__sep, .nav__link { display: none; }
  .nav__menu { display: block; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero {
    --orb-x: 50%;
    --orb-y: 40%;
    --orb-r: min(52vw, 32vh);
  }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 18px; }

  .head .pair, .head__main,
  .breakthrough .pair, .breakthrough .title, .breakthrough__side { grid-column: 1 / -1; }
  .head .pair, .breakthrough .pair, .breakthrough__side { padding-top: 0; }
  .tags, .manifesto { margin-left: 0; }

  .duo { grid-template-columns: 1fr; }
  .duo .card { min-height: 0; }

  .episodes { --card-w: min(64vw, 280px); }

  .demarche__visual, .steps { grid-column: 1 / -1; }
  .demarche__visual { position: relative; top: auto; width: min(100%, 440px); margin-bottom: 40px; }

  .tiktok__text, .tiktok__phone { grid-column: 1 / -1; }
  .tiktok__phone { justify-self: start; width: min(68vw, 280px); margin-top: 40px; }

  .agir__grid > .card { grid-column: 1 / -1; }
  .agir__grid > .card--accent { grid-template-columns: minmax(0, 1fr); padding: var(--pad) var(--pad) 0; }
  .accent__text { padding-bottom: 0; }
  .encounter {
    margin: 28px calc(var(--pad) * -1) 0;
    height: 180px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  }
}

@media (max-width: 600px) {
  :root { --r-card: 36px; --nav-h: 44px; }

  .nav__help { display: none; }
  .nav__pill { padding-left: 12px; }

  .hero__hint { display: none; }
  .hero__lede { font-size: var(--fs-16); }
  .banner { font-size: 12px; }

  .stats { gap: 28px 16px; }
  .stat__num { font-size: clamp(32px, 9vw, 40px); }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }

  .crowd__ui { flex-direction: column; align-items: flex-start; }

  .step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; padding-bottom: 32px; }

  .line {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "name" "num" "desc" "hours";
  }
  .line__num, .line__hours { justify-self: start; text-align: left; }
  .line__num { margin-top: 2px; }
  .line::before { inset: 0 -12px; }

  .newsletter { flex-direction: column; border-radius: 22px; padding: 6px; }
  .newsletter__input { padding: 12px 12px; }
  .newsletter .btn { justify-content: center; }
  .footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .totop { justify-self: center; }

  .modal { padding-top: 76px; }
  .modal__head { flex-wrap: wrap; }
  .modal--vertical .modal__panel { width: min(400px, calc((100svh - 250px) * .5625), 100%); }
}

/* Petits téléphones (écran bas) : l'aube remonte et rapetisse pour laisser la place au texte */
@media (max-width: 600px) and (max-height: 740px) {
  .hero { --orb-y: 37%; --orb-r: min(46vw, 28vh); }
  .hero__clock { display: none; }
  .hero__title { font-size: 28px; }
}
@media (max-width: 600px) and (max-height: 660px) {
  .hero { --orb-y: 36%; --orb-r: min(44vw, 26vh); }
}

@media (hover: none) {
  .ep__play { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__statement { display: none; }
}
