/* ==========================================================================
   Romandie Sport Sàrl — Parrainage sportif
   Concept graphique : « la piste ». Le S du logo est formé de couloirs
   d'athlétisme : chaque section du site est un couloir, la page une course.
   ========================================================================== */

/* ---------- Polices (auto-hébergées : aucune requête vers Google) -------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations"),
       url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth-italic.woff2") format("woff2-variations"),
       url("../fonts/archivo-wdth-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
  /* Couleurs : bleu ardoise du logo + orange « tartan » des pistes */
  --ardoise: #4C5371;
  --ardoise-clair: #A9AFCB;
  --nuit: #1B1F31;
  --nuit-2: #252A42;
  --brume: #E4E6EE;
  --craie: #F4F1EB;
  --blanc: #FFFFFF;
  --tartan: #E85A2E;      /* fonds, grands textes, boutons (texte nuit) */
  --tartan-ink: #B23E1A;  /* texte orange sur fond clair (AA) */
  --ok: #1F8A5B;
  --erreur: #B3261E;

  --texte: var(--nuit);
  --texte-doux: #4A4F63;

  /* Typo */
  --f: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --t-h2: clamp(1.9rem, 1.15rem + 2.9vw, 3.75rem);
  --t-h1: clamp(2.6rem, 1rem + 7.2vw, 7.4rem);

  /* Espacements */
  --gouttiere: clamp(1rem, .5rem + 2.5vw, 3rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --max: 1320px;
  --rayon: 18px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-sprint: cubic-bezier(.7, 0, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--t-m);
  line-height: 1.6;
  color: var(--texte);
  background: var(--craie);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; font-weight: 850; font-stretch: 118%; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
strong { font-weight: 700; }
::selection { background: var(--tartan); color: var(--nuit); }

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

.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;
}
.lien-evitement {
  position: fixed; left: 1rem; top: -100px; z-index: 300;
  background: var(--tartan); color: var(--nuit); font-weight: 700;
  padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none;
  transition: top .2s;
}
.lien-evitement:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* ---------- Éléments récurrents ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: var(--t-xs); font-weight: 650; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--ardoise);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 8px; flex: none;
  background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 3px);
  opacity: .75;
}

/* Étiquette de couloir (numéro de section) */
.couloir {
  display: inline-flex; align-items: center; gap: .9rem;
  margin: 0 0 1.5rem;
  font-size: var(--t-xs); font-weight: 650; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--ardoise);
}
.couloir__num {
  display: inline-grid; place-items: center;
  min-width: 3.1rem; height: 2.1rem; padding: 0 .6rem;
  border: 2px solid currentColor; border-radius: 999px;
  font-size: .95rem; letter-spacing: .02em; font-weight: 800; font-stretch: 125%;
  font-variant-numeric: tabular-nums;
}
.sombre .couloir, .sombre .eyebrow { color: var(--ardoise-clair); }

.section { padding-block: var(--section); position: relative; }
.section__tete { max-width: 980px; margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.section__tete h2 { font-size: var(--t-h2); }
.section__tete h2 em, .hero__titre em, .titre-accent em {
  font-style: italic; color: var(--tartan); font-weight: 850; /* grand texte : contraste ≥ 3:1 */
}
.sombre .section__tete h2 em, .sombre .titre-accent em { color: var(--tartan); }
.chapo { font-size: var(--t-l); line-height: 1.55; color: var(--texte-doux); max-width: 62ch; }
.sombre .chapo { color: #C9CDDD; }

/* Boutons */
.btn {
  --b-bg: var(--nuit); --b-fg: var(--blanc);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  border: 2px solid var(--b-bg); border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 700; font-stretch: 108%; font-size: var(--t-m); line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn::before { /* couloirs qui balaient le bouton au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(to bottom, var(--b-hover, var(--tartan)) 0 5px, transparent 5px 7px);
  transform: translateX(-101%);
  transition: transform .5s var(--ease-sprint);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover { color: var(--b-fg-hover, var(--nuit)); }
.btn:active { transform: scale(.97); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--tartan { --b-bg: var(--tartan); --b-fg: var(--nuit); --b-hover: var(--nuit); --b-fg-hover: var(--blanc); }
.btn--tartan:hover { border-color: var(--nuit); }
.btn--ligne { --b-bg: transparent; --b-fg: var(--nuit); --b-hover: var(--nuit); --b-fg-hover: var(--blanc); border-color: var(--nuit); }
.sombre .btn--ligne { --b-fg: var(--blanc); --b-hover: var(--blanc); --b-fg-hover: var(--nuit); border-color: rgba(255,255,255,.7); }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--tartan); padding-bottom: 2px;
}
.lien-fleche:hover { color: var(--tartan-ink); }

/* ==========================================================================
   INTRO « À vos marques… »
   ========================================================================== */
.intro { display: none; }
.has-intro .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 200;
  background: var(--nuit); color: var(--blanc);
  pointer-events: auto;
}
.has-intro body { overflow: hidden; }
.intro__scene { display: grid; justify-items: center; gap: 2rem; }
.intro__mono { width: clamp(120px, 22vw, 210px); height: auto; overflow: visible; }
.intro__mono .lanes { fill: var(--blanc); }
.intro__mono .r-part { fill: var(--blanc); opacity: 0; }
.intro__mono .mask-path {
  fill: none; stroke: #fff; stroke-width: 150; stroke-linecap: butt;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.intro.go .mask-path { animation: tracer 1.15s var(--ease-sprint) forwards; }
.intro.go .r-part { animation: rApparait .55s var(--ease) forwards; }
.intro.go .r-part--block { animation-delay: .75s; }
.intro.go .r-part--stem { animation-delay: .85s; }
.intro.go .r-part--bowl { animation-delay: .95s; transform-origin: 80% 50%; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes rApparait { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.intro__compte {
  display: grid; place-items: center; height: 2.2em;
  font-size: clamp(1.4rem, 1rem + 2.4vw, 2.6rem);
  font-weight: 850; font-stretch: 125%; font-style: italic; text-transform: uppercase;
  letter-spacing: .02em;
}
.intro__compte span { grid-area: 1 / 1; opacity: 0; transform: translateY(.6em); }
.intro.go .intro__compte span { animation: motCompte .55s var(--ease) forwards; }
.intro.go .intro__compte span:nth-child(1) { animation-delay: .25s; animation-name: motCompte, motSort; animation-duration: .5s, .3s; animation-delay: .25s, 1.0s; }
.intro.go .intro__compte span:nth-child(2) { animation-delay: 1.15s; animation-name: motCompte, motSort; animation-duration: .45s, .25s; animation-delay: 1.15s, 1.75s; }
.intro.go .intro__compte span:nth-child(3) { animation-delay: 1.9s; color: var(--tartan); }
@keyframes motCompte { to { opacity: 1; transform: none; } }
@keyframes motSort { to { opacity: 0; transform: translateY(-.6em); } }

.intro__couloirs { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(8, 1fr); pointer-events: none; }
.intro__couloirs span { background: var(--tartan); transform: scaleX(0); transform-origin: right; }
.intro__couloirs span:nth-child(even) { background: var(--ardoise); }
.intro.sortie { background: transparent; transition: background 0s .55s; }
.intro.sortie .intro__scene { opacity: 0; transition: opacity .2s; }
.intro.sortie .intro__couloirs span { animation: balayage .95s var(--ease-sprint) forwards; }
.intro.sortie .intro__couloirs span:nth-child(1) { animation-delay: 0s; }
.intro.sortie .intro__couloirs span:nth-child(2) { animation-delay: .04s; }
.intro.sortie .intro__couloirs span:nth-child(3) { animation-delay: .08s; }
.intro.sortie .intro__couloirs span:nth-child(4) { animation-delay: .12s; }
.intro.sortie .intro__couloirs span:nth-child(5) { animation-delay: .16s; }
.intro.sortie .intro__couloirs span:nth-child(6) { animation-delay: .20s; }
.intro.sortie .intro__couloirs span:nth-child(7) { animation-delay: .24s; }
.intro.sortie .intro__couloirs span:nth-child(8) { animation-delay: .28s; }
@keyframes balayage {
  0%   { transform: scaleX(0); transform-origin: right; }
  45%  { transform: scaleX(1); transform-origin: right; }
  55%  { transform: scaleX(1); transform-origin: left; }
  100% { transform: scaleX(0); transform-origin: left; }
}
.intro__passer {
  position: absolute; right: var(--gouttiere); bottom: var(--gouttiere);
  background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: var(--blanc);
  border-radius: 999px; padding: .6rem 1.1rem; font-size: var(--t-s); font-weight: 600; cursor: pointer;
}
.intro__passer:hover { background: var(--blanc); color: var(--nuit); }
.intro.sortie .intro__passer { opacity: 0; }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.entete.compacte {
  background: rgba(244, 241, 235, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 rgba(27,31,49,.08);
}
.entete__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.entete__logo { flex: none; display: block; width: clamp(132px, 8vw + 40px, 168px); }
.entete__logo img { width: 100%; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(.9rem, .3rem + 1.2vw, 2rem); }
.nav a {
  position: relative; display: block; padding: .5rem 0;
  font-size: var(--t-s); font-weight: 600; text-decoration: none; color: var(--nuit);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px;
  background: var(--tartan); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--tartan-ink); }
.entete__cta { flex: none; min-height: 2.8rem; padding: .6rem 1.15rem; font-size: var(--t-s); }
.entete__cta .statut-point { width: .55rem; height: .55rem; }

.burger {
  display: none; margin-left: auto;
  width: 3rem; height: 3rem; border-radius: 999px; border: 2px solid var(--nuit);
  background: transparent; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 50%; width: 1.25rem; height: 2px; background: var(--nuit);
  transform: translateX(-50%); transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: calc(50% - 6px); }
.burger span:nth-child(2) { top: 50%; }
.burger span:nth-child(3) { top: calc(50% + 6px); }
.burger[aria-expanded="true"] { border-color: var(--blanc); }
.burger[aria-expanded="true"] span { background: var(--blanc); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -6px) rotate(-45deg); }

.barre-progression {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: var(--tartan); transform-origin: left; transform: scaleX(var(--progress, 0));
}

/* Menu mobile */
.menu-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--nuit); color: var(--blanc);
  padding: calc(var(--header-h) + 1.5rem) var(--gouttiere) 2rem;
  display: flex; flex-direction: column; gap: 2rem;
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity .35s, visibility 0s .35s;
}
.menu-mobile.ouvert { visibility: visible; opacity: 1; transition: opacity .35s; }
.menu-mobile[hidden] { display: none; }
.menu-mobile ol { counter-reset: m; display: grid; gap: .25rem; }
.menu-mobile li { counter-increment: m; border-bottom: 1px solid rgba(255,255,255,.14); }
.menu-mobile ol a {
  display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0;
  font-size: clamp(1.5rem, 6vw, 2.3rem); font-weight: 850; font-stretch: 120%;
  text-decoration: none; transform: translateX(-12px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s;
}
.menu-mobile ol a::before {
  content: "0" counter(m); font-size: .9rem; font-weight: 700; color: var(--tartan); min-width: 1.6rem;
}
.menu-mobile.ouvert ol a { transform: none; opacity: 1; }
.menu-mobile.ouvert li:nth-child(2) a { transition-delay: .04s; }
.menu-mobile.ouvert li:nth-child(3) a { transition-delay: .08s; }
.menu-mobile.ouvert li:nth-child(4) a { transition-delay: .12s; }
.menu-mobile.ouvert li:nth-child(5) a { transition-delay: .16s; }
.menu-mobile.ouvert li:nth-child(6) a { transition-delay: .20s; }
.menu-mobile__contact { display: grid; gap: .75rem; margin-top: auto; }
.menu-mobile__contact a { color: var(--blanc); }
.menu-ouvert .entete { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-ouvert .entete__logo img { filter: brightness(0) invert(1); }
.menu-ouvert body { overflow: hidden; }

/* Rail de progression « couloirs » (grands écrans) */
.rail {
  position: fixed; right: clamp(.75rem, 1.2vw, 1.5rem); top: 50%; z-index: 80;
  transform: translateY(-50%);
  display: none;
}
.rail ol { display: grid; gap: .45rem; }
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: .6rem;
  text-decoration: none; color: var(--ardoise);
  font-size: var(--t-xs); font-weight: 700; font-variant-numeric: tabular-nums;
}
.rail__label {
  opacity: 0; transform: translateX(6px); white-space: nowrap;
  background: var(--nuit); color: var(--blanc); padding: .25rem .6rem; border-radius: 999px;
  transition: opacity .25s, transform .25s var(--ease);
  font-weight: 600;
}
.rail a:hover .rail__label, .rail a:focus-visible .rail__label { opacity: 1; transform: none; }
.rail__piste {
  position: relative; width: 6px; height: 2.6rem; border-radius: 999px;
  background: rgba(76,83,113,.18); overflow: hidden;
}
.rail__piste::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--tartan);
  transform-origin: top; transform: scaleY(var(--fill, 0));
}
.rail a[aria-current="true"] { color: var(--tartan-ink); }
.rail.sur-sombre a { color: var(--ardoise-clair); }
.rail.sur-sombre .rail__piste { background: rgba(255,255,255,.18); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  padding: calc(var(--header-h) + clamp(1rem, 4vh, 3.5rem)) 0 clamp(3rem, 6vw, 5rem);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__fond { /* les huit couloirs du logo, en très grand */
  position: absolute; z-index: -1; pointer-events: none;
  width: min(1250px, 120vw); right: -18vw; top: -6vh; height: auto;
  color: var(--ardoise); opacity: .085;
}
.hero__fond path { fill: none; stroke: currentColor; stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hero__fond path { stroke-dashoffset: 1; }
.js .pret .hero__fond path { animation: tracer 2.4s var(--ease) forwards; }
.js .pret .hero__fond path:nth-child(2) { animation-delay: .05s; }
.js .pret .hero__fond path:nth-child(3) { animation-delay: .1s; }
.js .pret .hero__fond path:nth-child(4) { animation-delay: .15s; }
.js .pret .hero__fond path:nth-child(5) { animation-delay: .2s; }
.js .pret .hero__fond path:nth-child(6) { animation-delay: .25s; }
.js .pret .hero__fond path:nth-child(7) { animation-delay: .3s; }
.js .pret .hero__fond path:nth-child(8) { animation-delay: .35s; }

.hero__grille {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr);
  gap: clamp(2rem, 4vw, 4.5rem); align-items: center;
}
.hero__titre {
  font-size: min(clamp(2.4rem, .4rem + 6.4vw, 6.4rem), 12.2vh); font-weight: 900; font-stretch: 112%;
  line-height: .92; letter-spacing: -.025em; text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.hero__titre .ligne:nth-child(3) { margin-top: .12em; }
.hero__titre .ligne:nth-child(3), .hero__titre .ligne:nth-child(4) { color: var(--ardoise); }
.hero__titre .ligne { display: block; overflow: hidden; padding: 0 .08em .06em 0; margin-bottom: -.06em; white-space: nowrap; }
.hero__titre .ligne > span { display: inline-block; }
.hero__titre em { font-weight: 900; }
.js .hero__titre .ligne > span { transform: translateX(-110%); }
.js .pret .hero__titre .ligne > span { transform: none; transition: transform 1s var(--ease-sprint); }
.js .pret .hero__titre .ligne:nth-child(2) > span { transition-delay: .12s; }
.js .pret .hero__titre .ligne:nth-child(3) > span { transition-delay: .24s; }

.hero__chapo { font-size: var(--t-l); color: var(--texte-doux); max-width: 46ch; margin-bottom: clamp(1.2rem, 3vh, 2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.js .hero__chapo, .js .hero__actions, .js .hero .eyebrow { opacity: 0; transform: translateY(16px); }
.js .pret .hero__chapo, .js .pret .hero__actions, .js .pret .hero .eyebrow {
  opacity: 1; transform: none; transition: opacity .8s .45s, transform .8s .45s var(--ease);
}
.js .pret .hero .eyebrow { transition-delay: .1s; }
.js .pret .hero__actions { transition-delay: .6s; }

/* Le « stade » : la photo dans l'anneau de la piste */
.stade { position: relative; width: 100%; max-width: 470px; margin-inline: auto; aspect-ratio: 500 / 680; }
.stade__photo {
  position: absolute; left: 12%; right: 12%; top: 8.82%; bottom: 8.82%;
  border-radius: 999px; overflow: hidden; background: var(--ardoise);
  isolation: isolate;
}
.stade__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.js .stade__photo { clip-path: inset(100% 0 0 0 round 999px); }
.js .pret .stade__photo { clip-path: inset(0 0 0 0 round 999px); transition: clip-path 1.3s .2s var(--ease-sprint); }
.js .pret .stade__photo img { transform: scale(1); transition: transform 2.2s .2s var(--ease); }
.stade__anneaux { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stade__anneaux rect { fill: none; stroke: var(--ardoise); stroke-width: 2; opacity: .45; }
.stade__anneaux .coureur { fill: var(--tartan); }
.stade__anneaux .coureur-halo { fill: var(--tartan); opacity: .25; }
.stade__num { font: 800 15px var(--f); font-stretch: 125%; fill: var(--ardoise); }
.js .stade__anneaux rect { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .pret .stade__anneaux rect { animation: tracer 1.6s var(--ease) forwards; }
.js .pret .stade__anneaux rect:nth-of-type(2) { animation-delay: .12s; }
.js .pret .stade__anneaux rect:nth-of-type(3) { animation-delay: .24s; }

.puce-statut {
  position: absolute; left: -2%; bottom: 13%; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--blanc); color: var(--nuit);
  padding: .7rem 1rem .7rem .85rem; border-radius: 999px;
  box-shadow: 0 14px 34px -12px rgba(27,31,49,.35);
  font-size: var(--t-s); font-weight: 600; line-height: 1.25;
  max-width: 88%;
}
.puce-statut small { display: block; font-weight: 500; color: var(--texte-doux); font-size: var(--t-xs); }
.statut-point {
  width: .7rem; height: .7rem; border-radius: 50%; flex: none;
  background: var(--ardoise-clair); position: relative;
}
.statut-point.ouvert { background: var(--ok); }
.statut-point.ouvert::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--ok); animation: pouls 1.8s ease-out infinite;
}
@keyframes pouls { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.puce-chrono {
  position: absolute; right: -1%; top: 10%; z-index: 2;
  background: var(--nuit); color: var(--blanc);
  border-radius: 14px; padding: .65rem .9rem;
  font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; line-height: 1.3;
}
.puce-chrono b { display: block; font-size: 1.55rem; letter-spacing: 0; font-stretch: 125%; font-weight: 850; color: var(--tartan); font-variant-numeric: tabular-nums; }
.js .puce-statut, .js .puce-chrono { opacity: 0; transform: translateY(14px) scale(.96); }
.js .pret .puce-statut, .js .pret .puce-chrono { opacity: 1; transform: none; transition: opacity .6s 1.1s, transform .6s 1.1s var(--ease); }
.js .pret .puce-chrono { transition-delay: 1.25s; }

.hero__defiler {
  position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .4rem;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ardoise);
}
.hero__defiler i { width: 2px; height: 34px; background: rgba(76,83,113,.25); position: relative; overflow: hidden; }
.hero__defiler i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--tartan); animation: descend 1.8s var(--ease) infinite; }
@keyframes descend { to { top: 100%; } }

/* ==========================================================================
   RUBAN DES SPORTS (défilement)
   ========================================================================== */
.ruban {
  position: relative; background: var(--tartan); color: var(--nuit);
  padding: 1.15rem 0; overflow: hidden;
  border-block: 6px solid var(--tartan);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.85), inset 0 -3px 0 rgba(255,255,255,.85);
}
.ruban__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.ruban.pause .ruban__piste { animation-play-state: paused; }
.ruban ul { display: flex; flex: none; }
.ruban li {
  display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem;
  font-size: clamp(1.25rem, 1rem + 1.4vw, 2.1rem); font-weight: 850; font-stretch: 125%;
  font-style: italic; text-transform: uppercase; white-space: nowrap; line-height: 1.1;
}
.ruban li::after {
  content: ""; width: 1.6rem; height: .6rem; flex: none;
  background: repeating-linear-gradient(to bottom, var(--nuit) 0 2px, transparent 2px 4px);
  transform: skewX(-18deg);
}
@keyframes defile { to { transform: translateX(-50%); } }
.ruban__pause {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--nuit);
  background: var(--tartan); cursor: pointer; display: grid; place-items: center;
}
.ruban__pause svg { width: 1rem; height: 1rem; }
.ruban__pause .i-play { display: none; }
.ruban.pause .ruban__pause .i-play { display: block; }
.ruban.pause .ruban__pause .i-pause { display: none; }

/* ==========================================================================
   01 — LE PRINCIPE
   ========================================================================== */
.principe__grille {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.trio { counter-reset: t; border-top: 2px solid var(--nuit); }
.trio li {
  counter-increment: t;
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 1rem;
  padding: 1.6rem 0; border-bottom: 1px solid rgba(27,31,49,.16);
  position: relative;
}
.trio li::before {
  content: counter(t); grid-row: span 2;
  font-size: 2.6rem; line-height: .9; font-weight: 900; font-stretch: 125%; font-style: italic;
  color: transparent; -webkit-text-stroke: 1.5px var(--ardoise);
}
.trio li:last-child::before { color: var(--tartan); -webkit-text-stroke: 0; }
.trio h3 { font-size: var(--t-h3); margin-bottom: .45rem; }
.trio p { margin: 0; color: var(--texte-doux); }

.paysage { position: relative; margin-top: .5rem; }
.paysage__cadre {
  border-radius: 999px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--brume);
  position: relative;
}
.paysage__cadre img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--parallax, 0px)); will-change: transform; }
.paysage__anneau { position: absolute; inset: -14px; border: 2px solid rgba(76,83,113,.4); border-radius: 999px; pointer-events: none; }
.paysage__anneau + .paysage__anneau { inset: -28px; opacity: .55; }
.paysage figcaption {
  margin-top: 3.4rem; font-size: var(--t-s); color: var(--texte-doux); display: flex; gap: .6rem; align-items: center;
}
.paysage figcaption::before { content: ""; width: 1.6rem; height: 2px; background: var(--tartan); flex: none; }

/* Tableau d'affichage (volets) */
.tableau {
  margin-top: clamp(3.5rem, 6vw, 6rem);
  background: var(--nuit); color: var(--blanc);
  border-radius: calc(var(--rayon) + 6px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(1.25rem, 2.5vw, 2.25rem); gap: clamp(1rem, 2vw, 2rem);
  position: relative; overflow: hidden;
}
.tableau::before { /* vis du tableau d'affichage */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.28) 2.5px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,.28) 2.5px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,.28) 2.5px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,.28) 2.5px, transparent 3px);
  background-size: 8px 8px; background-repeat: no-repeat;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
}
.tableau__case { display: grid; gap: .8rem; align-content: start; }
.tableau__val { display: flex; gap: 4px; min-height: 3.6rem; }
.volet {
  position: relative; display: grid; place-items: center;
  min-width: 2.35rem; height: 3.4rem; padding: 0 .2rem;
  background: var(--nuit-2); border-radius: 6px;
  font-size: 2.1rem; font-weight: 850; font-stretch: 112%; line-height: 1; color: var(--blanc);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.4);
}
.volet::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); }
.volet.flip { animation: volet .09s linear; }
@keyframes volet { 50% { transform: scaleY(.15); } }
.tableau__case:last-child .volet { color: var(--tartan); }
.tableau__lib { font-size: var(--t-s); color: #C9CDDD; line-height: 1.35; }

/* ==========================================================================
   02 — CLUBS
   ========================================================================== */
.clubs__haut {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: end;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.clubs__haut .section__tete { margin-bottom: 0; }
.photo-ovale { position: relative; aspect-ratio: 4 / 3; border-radius: 999px; overflow: hidden; background: var(--brume); }
.photo-ovale img { width: 100%; height: 100%; object-fit: cover; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service {
  position: relative; background: var(--blanc); border-radius: var(--rayon);
  padding: 1.6rem 1.4rem 1.5rem; overflow: hidden;
  border: 1px solid rgba(27,31,49,.08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service::after { /* couloir qui s'allume */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: repeating-linear-gradient(to bottom, var(--tartan) 0 2px, transparent 2px 3px);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-sprint);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(27,31,49,.35); }
.service:hover::after { transform: scaleX(1); }
.service__ico {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--craie); color: var(--ardoise); margin-bottom: 1.2rem;
}
.service__ico svg { width: 1.6rem; height: 1.6rem; }
.service h3 { font-size: 1.2rem; margin-bottom: .55rem; font-stretch: 112%; }
.service p { margin: 0; font-size: var(--t-s); color: var(--texte-doux); line-height: 1.55; }

/* Bande des disciplines */
.disciplines { margin-top: clamp(3.5rem, 6vw, 6rem); }
.disciplines__titre { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.disciplines__titre p { margin: 0; font-weight: 700; font-stretch: 112%; font-size: var(--t-h3); }
.disciplines__titre span { font-size: var(--t-s); color: var(--texte-doux); }
.bande { overflow: hidden; margin-inline: calc(var(--gouttiere) * -1); padding-inline: var(--gouttiere); }
.bande ul {
  display: flex; gap: 1rem; width: max-content;
  transform: translateX(var(--drift, 0px)); will-change: transform;
}
.bande li { width: clamp(220px, 21vw, 300px); flex: none; }
.bande figure { margin: 0; }
.bande .pilule {
  aspect-ratio: 3 / 4.3; border-radius: 999px; overflow: hidden; background: var(--brume); position: relative;
}
.bande .pilule img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bande li:hover .pilule img { transform: scale(1.06); }
.bande figcaption { display: flex; align-items: baseline; gap: .6rem; margin-top: .9rem; font-weight: 700; font-stretch: 112%; }
.bande figcaption span { font-size: var(--t-xs); color: var(--tartan-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.clubs__cta { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.clubs__cta p { margin: 0; color: var(--texte-doux); max-width: 46ch; }

/* ==========================================================================
   03 — ENTREPRISES (fond sombre)
   ========================================================================== */
.sombre { background: var(--nuit); color: var(--blanc); }
.sombre a { color: inherit; }
.entreprises { overflow: hidden; }
.entreprises__fond {
  position: absolute; left: -10%; bottom: -30%; width: 80%; opacity: .07; color: var(--blanc); pointer-events: none;
}
.entreprises__fond path { fill: none; stroke: currentColor; stroke-width: 7; }
.entreprises__grille {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center; position: relative;
}
.entreprises__visuel { position: relative; }
.entreprises__visuel .photo-ovale { aspect-ratio: 4 / 5; background: var(--nuit-2); }
.entreprises__visuel .anneau {
  position: absolute; inset: -16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.22); pointer-events: none;
}
.entreprises__visuel .anneau--2 { inset: -32px; border-color: rgba(232,90,46,.5); }
.citation {
  position: absolute; right: -6%; bottom: 8%;
  background: var(--tartan); color: var(--nuit);
  border-radius: var(--rayon); padding: 1.1rem 1.25rem; max-width: 300px;
  font-weight: 700; font-stretch: 108%; line-height: 1.35; font-size: var(--t-s);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.5);
}
.atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-top: 2.2rem; }
.atouts li { padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.atouts h3 { font-size: 1.15rem; font-stretch: 112%; margin-bottom: .45rem; display: flex; align-items: center; gap: .6rem; }
.atouts h3::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--tartan); flex: none; }
.atouts p { margin: 0; color: #C9CDDD; font-size: var(--t-s); }
.entreprises__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* ==========================================================================
   04 — LE RELAIS (méthode)
   ========================================================================== */
.relais { background: var(--brume); overflow: hidden; }
.relais .section__tete h2 em { color: var(--tartan-ink); } /* contraste sur fond brume */
.relais__piste {
  position: relative; height: 72px; margin: 0 0 2.5rem;
  background: var(--tartan); border-radius: 999px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.9), inset 0 -3px 0 rgba(255,255,255,.9);
}
.relais__piste::before { /* lignes de couloir */
  content: ""; position: absolute; inset: 22px 30px; border-block: 2px dashed rgba(255,255,255,.55);
}
.relais__repere {
  position: absolute; top: -1.9rem; transform: translateX(-50%); white-space: nowrap;
  font-size: var(--t-xs); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ardoise);
  letter-spacing: .06em;
}
.relais__repere::after { content: ""; position: absolute; left: 50%; top: 1.6rem; width: 3px; height: 72px; background: rgba(255,255,255,.9); transform: translateX(-50%); }
.relais__repere:first-child::after, .relais__repere:last-child::after { display: none; }
.temoin {
  position: absolute; top: 50%; left: calc(30px + var(--p, 0) * (100% - 60px));
  width: 64px; height: 22px; margin-left: -32px; margin-top: -11px;
  border-radius: 999px; background: var(--blanc);
  box-shadow: 0 0 0 4px var(--nuit), 0 10px 18px -6px rgba(0,0,0,.45);
  transition: left .15s linear;
  z-index: 2;
}
.temoin::before { content: ""; position: absolute; inset: 5px 14px; border-radius: 999px; background: var(--tartan); }
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: e; }
.etape {
  background: var(--blanc); border-radius: var(--rayon); padding: 1.6rem 1.4rem;
  border: 2px solid transparent; position: relative;
  transition: border-color .4s, transform .4s var(--ease), background .4s;
}
.etape__m { font-size: var(--t-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tartan-ink); margin-bottom: .9rem; display: block; }
.etape h3 { font-size: 1.3rem; margin-bottom: .55rem; font-stretch: 115%; }
.etape p { margin: 0; color: var(--texte-doux); font-size: var(--t-s); }
.etape.active { border-color: var(--tartan); transform: translateY(-6px); }
.etape.active .etape__m { color: var(--nuit); }

/* ==========================================================================
   05 — EMPLOI
   ========================================================================== */
.emploi__grille {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.emploi__visuel { position: relative; }
.emploi__visuel .photo-ovale { aspect-ratio: 4 / 5; }
.emploi__visuel .anneau { position: absolute; inset: -16px; border-radius: 999px; border: 2px solid rgba(76,83,113,.35); pointer-events: none; }
.poste {
  background: var(--blanc); border-radius: calc(var(--rayon) + 6px);
  padding: clamp(1.5rem, 3vw, 2.6rem); border: 1px solid rgba(27,31,49,.08);
  margin-top: 2rem;
}
.poste__titre { font-size: var(--t-h3); margin-bottom: 1rem; font-stretch: 112%; }
.etiquettes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.etiquettes li {
  padding: .35rem .8rem; border-radius: 999px; background: var(--craie);
  font-size: var(--t-s); font-weight: 600; border: 1px solid rgba(27,31,49,.1);
}
.poste__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-bottom: 1.8rem; }
.poste h4 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 750; color: var(--ardoise); margin-bottom: .8rem; }
.coches li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; font-size: var(--t-s); line-height: 1.45; }
.coches li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: .95rem; height: .55rem;
  border-left: 2.5px solid var(--tartan); border-bottom: 2.5px solid var(--tartan);
  transform: rotate(-45deg) scale(.85);
}
.poste__note { font-size: var(--t-s); color: var(--texte-doux); margin: 1rem 0 0; }

/* ==========================================================================
   06 — CONTACT / LIGNE D'ARRIVÉE
   ========================================================================== */
.arrivee { padding-bottom: 0; }
.ligne-arrivee {
  display: grid; grid-template-columns: repeat(8, 1fr); height: 64px;
  border-top: 6px solid var(--blanc); background: var(--tartan); margin-top: var(--section);
}
.ligne-arrivee span {
  display: grid; place-items: start center; padding-top: .55rem;
  border-right: 2px solid rgba(255,255,255,.9);
  font-size: 1.35rem; font-weight: 900; font-stretch: 125%; color: var(--blanc); line-height: 1;
}
.ligne-arrivee span:last-child { border-right: 0; }
.contact__grille {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.coordonnees { display: grid; gap: 0; margin-top: 2rem; border-top: 2px solid var(--nuit); }
.coordonnees li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid rgba(27,31,49,.14); }
.coordonnees .ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blanc); display: grid; place-items: center; color: var(--ardoise); }
.coordonnees .ico svg { width: 1.2rem; height: 1.2rem; }
.coordonnees small { display: block; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--texte-doux); font-weight: 650; margin-bottom: .1rem; }
.coordonnees a { font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.coordonnees a:hover { color: var(--tartan-ink); text-decoration: underline; text-underline-offset: 3px; }
.coordonnees address { font-style: normal; font-weight: 600; }
.copier {
  margin-left: .5rem; vertical-align: middle;
  border: 1.5px solid rgba(27,31,49,.3); background: transparent; border-radius: 999px;
  font-size: var(--t-xs); font-weight: 650; padding: .2rem .65rem; cursor: pointer;
}
.copier:hover { border-color: var(--nuit); }
.copier.ok { background: var(--ok); color: var(--blanc); border-color: var(--ok); }

.horaires { margin-top: 2rem; background: var(--blanc); border-radius: var(--rayon); padding: 1.4rem 1.5rem; }
.horaires__statut { display: flex; align-items: center; gap: .65rem; font-weight: 700; margin-bottom: 1rem; }
.horaires table { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.horaires th { text-align: left; font-weight: 600; padding: .45rem 0; }
.horaires td { text-align: right; padding: .45rem 0; font-variant-numeric: tabular-nums; color: var(--texte-doux); }
.horaires tr + tr { border-top: 1px solid rgba(27,31,49,.08); }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { color: var(--tartan-ink); font-weight: 750; }
.horaires tr.aujourdhui th::after { content: " · aujourd'hui"; font-weight: 500; }
.horaires__note { margin: .8rem 0 0; font-size: var(--t-xs); color: var(--texte-doux); }

/* Formulaire */
.formulaire {
  background: var(--blanc); border-radius: calc(var(--rayon) + 8px);
  padding: clamp(1.4rem, 3vw, 2.6rem); border: 1px solid rgba(27,31,49,.08);
  box-shadow: 0 30px 60px -40px rgba(27,31,49,.4);
}
.formulaire h3 { font-size: var(--t-h3); margin-bottom: .4rem; }
.formulaire__aide { color: var(--texte-doux); font-size: var(--t-s); margin-bottom: 1.6rem; }
.champ-groupe { border: 0; padding: 0; margin: 0 0 1.4rem; }
.champ-groupe legend { font-weight: 700; font-size: var(--t-s); margin-bottom: .6rem; padding: 0; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix span {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 999px; border: 2px solid rgba(27,31,49,.2);
  font-size: var(--t-s); font-weight: 650; transition: background .25s, border-color .25s, color .25s;
}
.choix input:checked + span { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.choix input:focus-visible + span { outline: 3px solid var(--tartan); outline-offset: 2px; }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.champ { display: grid; gap: .4rem; }
.champ--plein { grid-column: 1 / -1; }
.champ label { font-weight: 650; font-size: var(--t-s); }
.champ label .facultatif { font-weight: 500; color: var(--texte-doux); }
.champ label .requis { color: var(--tartan-ink); }
.champ input, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--nuit);
  background: var(--craie); border: 2px solid transparent; border-bottom-color: rgba(27,31,49,.35);
  border-radius: 10px 10px 4px 4px; padding: .8rem .9rem;
  transition: border-color .25s, background .25s;
}
.champ textarea { min-height: 8.5rem; resize: vertical; }
.champ input:hover, .champ textarea:hover { border-bottom-color: var(--nuit); }
.champ input:focus, .champ textarea:focus { outline: none; background: var(--blanc); border-color: var(--nuit); }
.champ .indice { font-size: var(--t-xs); line-height: 1.45; color: var(--texte-doux); }
.champ__aide { display: grid; }
.champ__aide > * { grid-area: 1 / 1; }
.champ .erreur-msg { visibility: hidden; font-size: var(--t-xs); line-height: 1.45; color: var(--erreur); font-weight: 650; }
.champ.invalide input, .champ.invalide textarea { border-color: var(--erreur); background: #FDF2F1; }
.champ.invalide .erreur-msg { visibility: visible; }
.champ.invalide .indice { visibility: hidden; } /* l’erreur prend la place de l’aide : aucun saut de mise en page */
.champ.valide input, .champ.valide textarea { border-bottom-color: var(--ok); }
.erreurs-resume {
  display: none; background: #FDF2F1; border: 2px solid var(--erreur); color: var(--nuit);
  border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: var(--t-s);
}
.erreurs-resume.visible { display: block; }
.erreurs-resume p { font-weight: 700; margin-bottom: .4rem; color: var(--erreur); }
.erreurs-resume ul { list-style: disc; padding-left: 1.2rem; }
.erreurs-resume a { color: var(--erreur); font-weight: 600; }
.formulaire__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.formulaire__pied p { margin: 0; font-size: var(--t-xs); color: var(--texte-doux); flex: 1 1 220px; }
.confirmation {
  display: none; margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 12px;
  background: #EAF6F0; border: 2px solid var(--ok); font-size: var(--t-s);
}
.confirmation.visible { display: block; }
.confirmation strong { color: var(--ok); }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.pied { background: var(--nuit); color: #C9CDDD; padding: clamp(3.5rem, 6vw, 6rem) 0 2rem; }
.pied__haut { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.pied__logo { width: min(320px, 100%); }
.pied__logo img { width: 100%; }
.pied__devise { margin-top: 1.5rem; max-width: 34ch; color: #C9CDDD; }
.pied h2 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .16em; color: var(--blanc); margin-bottom: 1rem; font-stretch: 112%; font-weight: 750; }
.pied li { margin-bottom: .55rem; }
.pied a { color: #E8EAF2; text-decoration: none; }
.pied a:hover { color: var(--tartan); text-decoration: underline; text-underline-offset: 3px; }
.pied address { font-style: normal; }
.pied__bas {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  font-size: var(--t-s);
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.pied__bas li { margin: 0; }
.bascule {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: #E8EAF2;
  border-radius: 999px; padding: .4rem .9rem; font-size: var(--t-s);
}
.bascule:hover { border-color: var(--blanc); }
.bascule__piste { width: 2.2rem; height: 1.2rem; border-radius: 999px; background: rgba(255,255,255,.25); position: relative; transition: background .25s; }
.bascule__piste::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.2rem - 4px); height: calc(1.2rem - 4px); border-radius: 50%; background: var(--blanc); transition: transform .25s var(--ease); }
.bascule[aria-pressed="true"] .bascule__piste { background: var(--tartan); }
.bascule[aria-pressed="true"] .bascule__piste::after { transform: translateX(1rem); }
.haut-de-page {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
}

/* ==========================================================================
   Apparitions au défilement
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal="gauche"] { transform: translateX(-36px); }
.js [data-reveal].vu { opacity: 1; transform: none; }
.js [data-reveal-delai="1"] { transition-delay: .08s; }
.js [data-reveal-delai="2"] { transition-delay: .16s; }
.js [data-reveal-delai="3"] { transition-delay: .24s; }
.js .titre-sprint { overflow: hidden; }
.js .titre-sprint > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-sprint); }
.js .vu .titre-sprint > span, .js .titre-sprint.vu > span { transform: none; }

/* ==========================================================================
   Pages secondaires (mentions légales)
   ========================================================================== */
.page-legale { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.page-legale .wrap { max-width: 860px; }
.page-legale h1 { font-size: var(--t-h2); margin-bottom: 2rem; }
.page-legale h2 { font-size: var(--t-h3); margin: 2.6rem 0 .8rem; }
.page-legale p, .page-legale li { color: var(--texte-doux); }
.page-legale ul { list-style: disc; padding-left: 1.3rem; }
.page-legale li { margin-bottom: .4rem; }
.page-legale a { color: var(--tartan-ink); font-weight: 600; }
.page-legale-body .entete { background: rgba(244, 241, 235, .95); box-shadow: 0 1px 0 rgba(27,31,49,.08); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1180px) {
  .rail { display: block; }
}
@media (max-width: 1100px) {
  .nav, .entete__cta { display: none; }
  .burger { display: block; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied__haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero { min-height: auto; padding-bottom: 4.5rem; }
  .hero__grille { grid-template-columns: 1fr; }
  .hero__titre { font-size: clamp(2.4rem, 8.4vw, 5rem); }
  .clubs__haut .photo-ovale { max-width: 560px; width: 100%; margin-inline: auto; }
  .stade { max-width: 360px; }
  .hero__defiler { display: none; }
  .principe__grille, .clubs__haut, .entreprises__grille, .emploi__grille, .contact__grille { grid-template-columns: 1fr; }
  .tableau { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entreprises__visuel { max-width: 420px; margin: 0 auto 1.5rem; width: 100%; }
  .emploi__visuel { max-width: 380px; margin-inline: auto; width: 100%; }
  .citation { right: -2%; }
  /* Relais vertical */
  .relais__corps { position: relative; padding-left: 4.2rem; }
  .relais__piste {
    position: absolute; left: 0; top: 0; bottom: 0; width: 44px; height: auto; margin: 0;
  }
  .relais__piste::before { inset: 22px 12px; border-block: 0; border-inline: 2px dashed rgba(255,255,255,.55); }
  .relais__repere { display: none; }
  .temoin {
    left: 50%; top: calc(24px + var(--p, 0) * (100% - 48px));
    width: 20px; height: 54px; margin-left: -10px; margin-top: -27px; transition: top .15s linear;
  }
  .temoin::before { inset: 12px 5px; }
  .etapes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__titre { letter-spacing: -.03em; font-size: 11.4vw; }
  .horaires td span { display: block; }
  .horaires td .sep { display: none; }
  .hero__actions .btn { width: 100%; }
  .services, .atouts, .poste__cols, .champs { grid-template-columns: 1fr; }
  .tableau { grid-template-columns: 1fr 1fr; padding: 1.1rem; }
  .volet { min-width: 1.8rem; height: 2.7rem; font-size: 1.6rem; }
  .bande li { width: 62vw; }
  .bande { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .bande::-webkit-scrollbar { display: none; }
  .bande ul { transform: none !important; }
  .bande li { scroll-snap-align: start; }
  .citation { position: relative; right: auto; bottom: auto; margin: -2.5rem 1rem 0; }
  .puce-statut { left: 0; bottom: 6%; }
  .puce-chrono { right: 0; }
  .ligne-arrivee span { font-size: 1rem; }
  .pied__haut { grid-template-columns: 1fr; }
  .disciplines__titre { flex-direction: column; align-items: start; }
  .formulaire__pied .btn { width: 100%; }
}

/* ==========================================================================
   Mouvement réduit (préférence système ou bouton du pied de page)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ruban__piste { animation: none; }
}
.moins-anim { scroll-behavior: auto; }
.moins-anim *, .moins-anim *::before, .moins-anim *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
.moins-anim .ruban__piste { animation: none; }
.moins-anim .paysage__cadre img, .moins-anim .bande ul { transform: none !important; }

@media print {
  .entete, .rail, .intro, .ruban, .menu-mobile, .hero__fond { display: none !important; }
  body { background: #fff; }
}
