/* =========================================================
   VEGA — Train For Life
   Design sobre : noir dominant, une section claire, Geist.
   Mouvement volontairement limité (voir « Apparitions »).
   ========================================================= */

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --fg: #ededed;
  --fg-2: #a1a1a1;          /* texte secondaire sur noir (8:1) */
  --fg-3: #707070;          /* grands textes gris sur noir */
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);

  --light-bg: #f5f5f3;
  --light-card: #fff;
  --light-fg: #0a0a0a;
  --light-fg-2: #555;       /* texte secondaire sur clair (7:1) */
  --light-fg-3: #8a8a8a;
  --light-line: rgba(0, 0, 0, .1);

  --error: #ff7a6b;

  /* Code couleur des séances SCF */
  --s-color: #e5484d;     /* Strength : rouge */
  --c-color: #0090ff;     /* Cardio : bleu */
  --f-color: #8e4ec6;     /* Functional : violet */
  /* Fonds du plan à 50 % d'opacité, pour des couleurs plus douces */
  --s-bg: rgba(229, 72, 77, .5);
  --c-bg: rgba(0, 144, 255, .5);
  --f-bg: rgba(142, 78, 198, .5);

  --gutter: 20px;
  --maxw: 1200px;
  --header-h: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --photo-filter: grayscale(1) contrast(1.06);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Chevron Vega (même géométrie que le logo) */
  --chevron: polygon(0 0, 50% 54.5%, 100% 0, 74.4% 67.7%, 50% 100%, 25.6% 67.7%);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
/* Paragraphes justifiés (avec césure) seulement sur grand écran (≥ 1280 px) : en dessous, les colonnes sont trop
   étroites et la justification creuse des trous entre les mots (mesuré : jusqu'à 2 em sur mobile).
   Restent toujours alignés à gauche : les grands textes (citation, accroches, titres en <p>)
   et les descriptions des petites cartes « patterns ». */
@media (min-width: 1280px) {
  p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  .quote p, .pillar__lead, .panel__sub, .board__name, .global__n, .success__title, .pattern__desc, .pattern__ex { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
}
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
strong, b { font-weight: 600; }
::selection { background: #fff; color: #000; }
.sec--light ::selection { background: #000; color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  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: 10px; left: 10px; z-index: 100; padding: 10px 16px;
  background: #fff; color: #000; border-radius: 8px; transform: translateY(-200%);
  text-decoration: none; font-weight: 500;
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

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

/* ---------- Typo ---------- */
.idx {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.2; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2);
}
.idx { margin-bottom: 28px; }

.h2 {
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.04; font-weight: 600;
  letter-spacing: -.045em; text-wrap: balance;
}
.h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.03em; margin-bottom: 12px; }

/* Phrase bicolore (première partie en blanc, suite en gris) */
.bigline {
  font-size: clamp(26px, 3.7vw, 46px); line-height: 1.16; font-weight: 500;
  letter-spacing: -.035em; color: var(--fg-3); max-width: 24em; text-wrap: pretty;
}
.bigline .hi { color: var(--fg); }

.prose { display: grid; gap: 18px; max-width: 40em; font-size: 17px; line-height: 1.65; color: var(--fg-2); }
.prose strong { color: var(--fg); }
.muted { color: var(--fg-2); }
@media (min-width: 1024px) { .prose { font-size: 18px; } }

/* Deux colonnes façon Vercel : titre à gauche, texte à droite */
.split { display: grid; gap: 24px; margin-top: 64px; }
.split--head { margin-top: 0; gap: 28px; }
.split__title { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--fg); }
/* Colonne gauche du manifeste : grand titre + liste */
.split__aside { display: grid; gap: 32px; align-content: start; }
.split__title--big { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.split__k { margin-bottom: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.ticks { border-top: 1px solid var(--line); }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--fg); }
.ticks li::before { content: ''; flex: none; width: 10px; height: 9px; background: #fff; clip-path: var(--chevron); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; margin-top: 112px; align-items: start; }
  .split--head { margin-top: 0; grid-template-columns: 1fr 1fr; align-items: end; }
  .split__title { position: sticky; top: calc(var(--header-h) + 32px); }
  .split__aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .split__aside .split__title { position: static; }
}

/* Grille à filets fins */
.cells { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cells > li { background: var(--bg); padding: 26px 22px 30px; }
.cells h4 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--fg); margin-bottom: 8px; }
.cells p { font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.cells__n { display: block; font-family: var(--mono); font-size: 12px; color: var(--fg-3); margin-bottom: 28px; }
@media (min-width: 720px) {
  .cells--4 { grid-template-columns: repeat(2, 1fr); }
  .cells--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .cells > li { padding: 30px 28px 36px; }
  .cells--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Boutons & liens ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #dcdcdc; }
.btn--ghost { color: var(--fg); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; height: auto; min-height: 54px; padding-block: 12px; white-space: normal; text-align: center; line-height: 1.25; }
.btn__arrow { width: 15px; height: 13px; fill: currentColor; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateY(2px); }
.btn__spin { position: absolute; left: 50%; top: 50%; width: 18px; height: 16px; margin: -8px 0 0 -9px; fill: currentColor; opacity: 0; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > :not(.btn__spin) { opacity: 0; }
.btn.is-loading .btn__spin { opacity: 1; animation: drop .9s var(--ease-io) infinite; }

.textlink { display: inline-flex; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 36px;
  height: calc(var(--header-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.header.is-scrolled {
  background: rgba(0, 0, 0, .72); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.header__logo { display: flex; flex: none; color: #fff; text-decoration: none; }
.header__logo svg { height: 22px; width: auto; aspect-ratio: 1293 / 348; fill: currentColor; }
.header__nav { display: none; }
.header .btn { margin-left: auto; }
@media (max-width: 599px) {
  .header { gap: 16px; }
  .header .btn { font-size: 13px; padding: 0 14px; }
}
/* Très petits écrans : le CTA reste dans le hero et en bas d'écran */
@media (max-width: 359px) { .header .btn { display: none; } }
@media (min-width: 900px) {
  .header__nav { display: flex; gap: 28px; font-size: 14px; }
  .header__nav a { color: var(--fg-2); text-decoration: none; transition: color .2s; }
  .header__nav a:hover { color: var(--fg); }
}

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; overflow: clip; background: #111; isolation: isolate; }
.photo > img, .photo > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: var(--photo-filter);
}
.photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); opacity: .08; mix-blend-mode: overlay;
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: #000; overflow: hidden; overflow: clip; }
.hero__media { position: absolute; inset: 0; }
.hero__media > img, .hero__media > video { object-position: 50% 58%; }
.hero__media > video { z-index: 0; opacity: 0; transition: opacity .8s; }
.hero__media.has-video > video { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.6) 70%, #000 100%);
}
.hero__inner { position: relative; z-index: 2; display: grid; gap: 40px; padding-top: calc(var(--header-h) + 96px); padding-bottom: 48px; container-type: inline-size; }
/* Toujours sur une ligne : la taille suit la largeur du contenu
   (« Train For Life. » mesure 5,49 em en Geist 600). */
.hero__title {
  margin: 0 0 22px -.04em;
  font-size: min(213px, calc((100vw - var(--gutter) * 2) * .178));
  font-size: 18cqi;
  line-height: .9; font-weight: 600; letter-spacing: -.06em; white-space: nowrap;
}
.hero__sub { max-width: 32em; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: #cfcfcf; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) {
  .hero__ctas .btn { flex: 1 1 100%; height: auto; min-height: 48px; padding-block: 10px; white-space: normal; text-align: center; line-height: 1.25; }
}
@media (min-width: 1024px) {
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%),
      linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 60%),
      linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 78%, #000 100%);
  }
  .hero__media > img, .hero__media > video { object-position: 50% 82%; }
  .hero__inner { padding-bottom: 72px; }
}

/* Intro du hero (CSS, une seule fois) */
.hero__media > img { animation: hero-zoom 1.8s var(--ease-out) both; }
.hero__main > * { animation: rise .9s var(--ease-out) both; }
.hero__main > :nth-child(2) { animation-delay: .08s; }
.hero__main > :nth-child(3) { animation-delay: .16s; }
@keyframes hero-zoom { from { transform: scale(1.07); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.sec { padding-block: 104px; }
.sec + .sec:not(.sec--light) { border-top: 1px solid var(--line); }
.sec--light + .sec { border-top: 0; }
@media (min-width: 1024px) { .sec { padding-block: 160px; } }

/* ---------- CE QU'ON TE PROPOSE ---------- */
.offer { padding-top: 72px; }
@media (min-width: 1024px) { .offer { padding-top: 112px; } }
.offer__grid {
  display: grid; gap: 1px; margin-top: 36px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.offer__card { display: flex; flex-direction: column; background: var(--bg-2); padding: 24px 20px 24px; }
.offer__k { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.offer__title { margin: 14px 0 12px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.offer__text { max-width: 34em; margin-bottom: 32px; font-size: 16.5px; line-height: 1.6; color: var(--fg-2); }
@media (min-width: 900px) {
  .offer__grid { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .offer__card { padding: 36px 36px 40px; }
}

/* Semaine type */
.week { margin-top: auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week__day { display: grid; gap: 8px; text-align: center; }
.week__d { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.week__s {
  display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: 10px;
  background: #141414; font-size: clamp(14px, 1.6vw, 18px); font-weight: 600; color: var(--fg);
}
.week__day--s .week__s { background: var(--s-bg); border-color: transparent; color: #fff; }
.week__day--c .week__s { background: var(--c-bg); border-color: transparent; color: #fff; }
.week__day--f .week__s { background: var(--f-bg); border-color: transparent; color: #fff; }
.week__day--rest .week__s { background: transparent; border-style: dashed; color: var(--fg-3); }
.week__day--bench .week__s { background: #fff; border-color: #fff; }
.week__day--bench svg { width: 42%; height: auto; fill: #000; }
.week__legend {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3);
}
.week__legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; background: #fff; vertical-align: 1px; }
.week__legend .week__legend-s::before { background: var(--s-bg); }
.week__legend .week__legend-c::before { background: var(--c-bg); }
.week__legend .week__legend-f::before { background: var(--f-bg); }

/* Carte score */
.score {
  margin-top: auto; display: grid; gap: 22px; padding: 20px;
  border: 1px solid var(--line); border-radius: 14px; background: #000;
}
.score__main { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px 16px; }
.score__k { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.score__n { font-size: clamp(48px, 5vw, 64px); line-height: .9; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.score__n small { margin-left: 4px; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--fg-3); }
.score__league { justify-self: start; white-space: nowrap; padding: 5px 11px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.score__bars { display: grid; gap: 10px; }
.score__bars li { display: grid; grid-template-columns: 78px 1fr 44px; align-items: center; gap: 10px; font-size: 13px; color: #cfcfcf; }
.score__bars i { position: relative; height: 4px; border-radius: 4px; background: #262626; overflow: hidden; }
.score__bars i::after { content: ''; position: absolute; inset: 0; border-radius: 4px; background: #fff; transform-origin: left; transform: scaleX(var(--v)); }
.score__bars b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 600px) {
  .score { grid-template-columns: auto 1fr; align-items: end; gap: 32px; }
  .score__main { grid-template-columns: auto; }
}

/* ---------- 02 FONDATIONS (section claire) ---------- */
.sec--light { background: var(--light-bg); color: var(--light-fg); }
.sec--light .idx { color: var(--light-fg-2); }
.sec--light .prose { color: var(--light-fg-2); }
.sec--light .prose strong { color: var(--light-fg); }
.sec--light .muted { color: var(--light-fg-2); }
.sec--light .cells { background: var(--light-line); border-color: var(--light-line); }
.sec--light .cells > li { background: var(--light-card); }
.sec--light .cells h4 { color: var(--light-fg); }
.sec--light .cells p { color: var(--light-fg-2); }

.found__block { margin-top: 88px; }
.found__head { display: grid; grid-template-columns: auto 1fr; gap: 18px; max-width: 760px; margin-bottom: 36px; }
.found__head .muted { font-size: 16.5px; line-height: 1.6; }
.found__letter {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #000; color: #fff; font-family: var(--mono); font-size: 14px; font-weight: 500; margin-top: 1px;
}
@media (min-width: 1024px) { .found__block { margin-top: 136px; } }

.patterns {
  display: grid; gap: 1px; background: var(--light-line); border: 1px solid var(--light-line);
  border-radius: 16px; overflow: hidden;
}
.pattern {
  background: var(--light-card); padding: 18px 18px 22px;
  display: grid; grid-template-columns: 112px 1fr; column-gap: 18px; align-content: start;
}
.pattern .glyph { grid-row: span 4; align-self: center; }
.glyph { width: 100%; height: auto; aspect-ratio: 160 / 100; color: #000; overflow: visible; }
.pattern__n { font-family: var(--mono); font-size: 12px; color: var(--light-fg-3); margin-bottom: 4px; }
.pattern__name { font-size: 21px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; margin-bottom: 6px; }
.pattern__desc { font-size: 15px; line-height: 1.5; color: var(--light-fg-2); }
.pattern__ex { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--light-fg-3); margin-top: 10px; }
@media (min-width: 600px) {
  .patterns { grid-template-columns: repeat(2, 1fr); }
  .pattern { display: flex; flex-direction: column; padding: 24px 24px 28px; }
  .pattern .glyph { max-width: 200px; margin-bottom: 22px; }
}
@media (min-width: 1024px) {
  .patterns { grid-template-columns: repeat(3, 1fr); }
  .pattern { padding: 32px 32px 36px; }
  .pattern .glyph { max-width: 230px; margin-bottom: 28px; }
}

/* Glyphes animés : direction de la force (illustrations conservées) */
.glyph use { fill: currentColor; }
.glyph .g-core { fill: currentColor; }
.glyph .g-line { stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.glyph .g-guide { fill: none; stroke: currentColor; stroke-opacity: .28; stroke-width: 1.5; stroke-dasharray: 2 5; }
.glyph .g-block { fill: currentColor; }
.glyph .g-arm { stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.glyph * { animation-play-state: paused !important; }
.patterns.is-playing .glyph * { animation-play-state: running !important; }

.g-flow { opacity: 0; animation: 1.9s cubic-bezier(.5, 0, .3, 1) infinite both; }
.g-flow:nth-of-type(2) { animation-delay: -.63s; }
.g-flow:nth-of-type(3) { animation-delay: -1.26s; }
.g-push .g-flow { animation-name: flowR; }
.g-pull .g-flow { animation-name: flowL; }
.g-squat .g-flow { animation-name: flowU; }
@keyframes flowR { 0% { opacity: 0; transform: translateX(0); } 18%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(78px); } }
@keyframes flowL { 0% { opacity: 0; transform: translateX(0); } 18%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(-78px); } }
@keyframes flowU { 0% { opacity: 0; transform: translateY(0); } 18%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60px); } }

.g-resist .g-flow { animation-duration: 1.6s; animation-timing-function: cubic-bezier(.6, 0, .9, .4); }
.g-resist .g-l { animation-name: pressR; }
.g-resist .g-r { animation-name: pressL; }
.g-resist .g-flow:nth-of-type(1) { animation-delay: 0s; }
.g-resist .g-flow:nth-of-type(2) { animation-delay: -.8s; }
.g-resist .g-flow:nth-of-type(3) { animation-delay: -.4s; }
.g-resist .g-flow:nth-of-type(4) { animation-delay: -1.2s; }
.g-resist .g-block { transform-box: fill-box; transform-origin: center; animation: hold 1.6s var(--ease-io) infinite; }
@keyframes pressR { 0% { opacity: 0; transform: translateX(0); } 25% { opacity: 1; } 88% { opacity: 1; transform: translateX(28px); } 100% { opacity: 0; transform: translateX(30px); } }
@keyframes pressL { 0% { opacity: 0; transform: translateX(0); } 25% { opacity: 1; } 88% { opacity: 1; transform: translateX(-28px); } 100% { opacity: 0; transform: translateX(-30px); } }
@keyframes hold { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.94); } }

.g-hinge .g-arm { transform-box: view-box; transform-origin: 60px 80px; animation: hinge 2.4s var(--ease-io) infinite alternate both; animation-delay: -.3s; }
.g-hinge .g-ghost1 { opacity: .35; animation-delay: -.18s; }
.g-hinge .g-ghost2 { opacity: .14; animation-delay: -.06s; }
@keyframes hinge { from { transform: rotate(0deg); } to { transform: rotate(80deg); } }

.g-orbit { transform-box: view-box; transform-origin: 80px 50px; animation: orbit 2.8s linear infinite both; }
.g-orbit:nth-of-type(1) { opacity: .14; animation-delay: -.06s; }
.g-orbit:nth-of-type(2) { opacity: .4; animation-delay: -.2s; }
.g-orbit:nth-of-type(3) { animation-delay: -.34s; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* Zones énergétiques */
.zones { display: grid; gap: 26px; }
.zone {
  --fill: 1;
  display: grid; grid-template-areas: "name" "desc" "ex" "track";
}
.zone__name { grid-area: name; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.zone__desc { grid-area: desc; font-size: 15px; line-height: 1.5; color: var(--light-fg-2); margin-top: 2px; }
.zone__ex { grid-area: ex; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--light-fg-3); margin-top: 8px; }
.zone__track { grid-area: track; position: relative; display: block; height: 8px; margin-top: 14px; background: #e6e6e3; border-radius: 4px; overflow: hidden; }
.zone__fill {
  position: absolute; inset: 0; background: var(--c);
  transform-origin: left center; transform: scaleX(calc(var(--h) * var(--fill)));
  transition: transform 1.2s var(--ease-out);
}
.js .zones:not(.is-in) .zone { --fill: 0; }
.zone:nth-child(2) .zone__fill { transition-delay: .08s; }
.zone:nth-child(3) .zone__fill { transition-delay: .16s; }
.zone:nth-child(4) .zone__fill { transition-delay: .24s; }
.zone:nth-child(5) .zone__fill { transition-delay: .32s; }
.zones__axis { display: none; }
@media (min-width: 900px) {
  .zones { grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: start; }
  .zone { grid-template-areas: "track" "name" "desc" "ex"; }
  .zone__track { height: 200px; margin: 0 0 20px; border-radius: 6px; display: flex; flex-direction: column; justify-content: flex-end; }
  .zone__fill { transform-origin: center bottom; transform: scaleY(calc(var(--h) * var(--fill))); }
  .zones__axis {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px;
    font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--light-fg-2);
  }
  .zones__axis::before { content: ''; order: 1; flex: 1; height: 1px; background: linear-gradient(90deg, var(--light-line), #000); }
  .zones__axis span:last-child { order: 2; color: #000; }
}


/* ---------- 03 SCF ---------- */
.pillar { margin-top: 88px; }
.pillar + .pillar { margin-top: 120px; }
@media (min-width: 1024px) { .pillar { margin-top: 128px; } .pillar + .pillar { margin-top: 176px; } }

/* Photo pleine page */
.panel { height: 86vh; height: 86svh; min-height: 520px; max-height: 1000px; }
.panel > img { transform: scale(1.001); }
.js .panel > img { transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.js .panel.is-in > img { transform: scale(1.001); }
#strength .panel > img { object-position: 50% 45%; }
#cardio .panel > img { object-position: 50% 52%; }
#functional .panel > img { object-position: 50% 38%; }
.panel::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%);
}
.panel--light { background: #e9e9e9; }
.panel--light::before { background: linear-gradient(180deg, rgba(245,245,243,0) 50%, rgba(245,245,243,.65) 100%); }
.panel__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: 40px; color: #fff; }
.panel--light .panel__cap { color: #0a0a0a; }
/* Nom du pilier en titre : l'initiale (S, C, F) ressort, le reste du mot est atténué.
   Taille calée sur « Functional » (4,48 em) pour tenir sur une ligne. */
.panel__cap .wrap { container-type: inline-size; }
.panel__title {
  margin-left: -.03em;
  font-size: min(200px, calc((100vw - var(--gutter) * 2) * .22));
  font-size: min(200px, 22cqi);
  line-height: .86; font-weight: 600; letter-spacing: -.055em; white-space: nowrap;
  color: rgba(255, 255, 255, .45);
}
.panel__title b { font-weight: 600; color: #fff; }
.panel--light .panel__title { color: rgba(10, 10, 10, .38); }
.panel--light .panel__title b { color: #0a0a0a; }
.panel__sub { margin-top: 16px; font-size: clamp(21px, 2.6vw, 34px); line-height: 1.15; font-weight: 500; letter-spacing: -.03em; }
@media (min-width: 1024px) { .panel__cap { padding-bottom: 64px; } }

.pillar__body { display: grid; gap: 40px; padding-top: 56px; }
.pillar__lead { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; color: var(--fg); }
.mini { margin-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; line-height: 1.4; color: var(--fg); }
@media (min-width: 900px) {
  .pillar__body { grid-template-columns: 7fr 5fr; gap: 64px; padding-top: 80px; align-items: start; }
}

/* Vue d'ensemble S · C · F */
.scf-map {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.scf-map li { background: var(--bg); }
.scf-map a { display: flex; flex-direction: column; height: 100%; padding: 18px 14px 22px; text-decoration: none; transition: background-color .2s; }
.scf-map a:hover { background: #0e0e0e; }
.scf-map b { margin: 0 0 20px -.04em; font-size: clamp(64px, 13vw, 168px); line-height: .8; font-weight: 600; letter-spacing: -.05em; color: #fff; }
.scf-map__name { font-size: clamp(15px, 1.9vw, 22px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--fg); }
.scf-map__sub { margin-top: 4px; font-size: clamp(12.5px, 1.3vw, 15px); line-height: 1.4; color: var(--fg-2); }
@media (min-width: 900px) {
  .scf-map { margin-top: 96px; }
  .scf-map a { padding: 32px 32px 36px; }
  .scf-map b { margin-bottom: 44px; }
}

/* Carte « Exemple de séance » */
.session { border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); padding: 22px 22px 8px; }
.session__k { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.session__name { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 18px; }
.session__goal { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: -6px 0 18px; }
.session__blocks li { border-top: 1px solid var(--line); padding: 14px 0 16px; }
.session__blocks span { display: block; font-family: var(--mono); font-size: 12px; color: var(--fg-2); margin-bottom: 6px; }
.session__blocks p { font-size: 15px; line-height: 1.55; color: var(--fg); }
.session__blocks em { font-style: normal; color: var(--fg-3); }
@media (min-width: 900px) {
  .session { position: sticky; top: calc(var(--header-h) + 32px); padding: 26px 26px 10px; }
}

/* ---------- 04 BENCHMARKS ---------- */
.bench { overflow-x: clip; }
.bench__grid { display: grid; gap: 72px; align-items: center; }
.bench__copy .h2 { margin-bottom: 28px; }
.benefits { margin-top: 40px; border-top: 1px solid var(--line); }
.benefits li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.benefits b { color: var(--fg); }
.benefits__n { font-family: var(--mono); font-size: 12px; color: var(--fg-3); padding-top: 3px; }
.bench__visual { position: relative; }
.bench__visual::before {
  content: ''; position: absolute; inset: -12% -16%;
  background: radial-gradient(closest-side, rgba(255,255,255,.07), rgba(255,255,255,0));
  pointer-events: none;
}
.bench__note { margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
@media (min-width: 900px) { .bench__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* Visuel benchmark : WOD → résultat → progression */
.board { position: relative; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-2); overflow: hidden; }
.board__step { padding: 22px 20px 24px; }
.board__step + .board__step { border-top: 1px solid var(--line); }
.board__head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2);
}
.board__n { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 11px; color: var(--fg); }
.board__meta { margin-left: auto; color: var(--fg-3); }
.board__name { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; }
.board__moves { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
@media (min-width: 600px) { .board__step { padding: 26px 28px 28px; } }

.dna { margin-top: 20px; }
.dna__k { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.dna__bar { display: flex; gap: 3px; }
.dna__bar span {
  flex: var(--w) 1 0; display: flex; align-items: center; gap: 6px; min-width: 0; height: 34px; padding: 0 10px;
  border-radius: 8px; font-family: var(--mono); font-size: 12px; white-space: nowrap;
}
.dna__bar span:nth-child(1) { background: #fff; color: #000; }
.dna__bar span:nth-child(2) { background: #b5b5b5; color: #000; }
.dna__bar span:nth-child(3) { background: #3d3d3d; color: #fff; }
.dna__bar b { font-family: var(--font); font-size: 14px; font-weight: 600; }

.result { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; margin: 0; }
.result > div { display: grid; gap: 6px; }
.result > div:last-child { text-align: right; }
.result dt { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.result dt .nocase { text-transform: none; }
.result dd { margin: 0; font-size: 22px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.result__main { text-align: center; }
.result__main dd { font-size: clamp(44px, 5vw, 56px); color: var(--fg); letter-spacing: -.05em; }
.result__note {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--fg);
}
.result__note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.prog { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prog th, .prog td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; text-align: right; }
.prog tbody tr:first-child th, .prog tbody tr:first-child td { padding-top: 0; }
.prog th { display: flex; align-items: center; gap: 10px; text-align: left; font-weight: 500; color: var(--fg); }
.prog th b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #fff; color: #000; font-size: 13px; font-weight: 600; }
.prog__before { color: var(--fg-3); }
.prog__before::after { content: '→'; margin: 0 8px 0 10px; color: var(--fg-3); }
.prog__after { width: 1%; font-weight: 600; color: var(--fg); }
.prog__delta { width: 1%; padding-left: 14px !important; font-family: var(--mono); font-size: 12.5px !important; color: var(--fg-2); }

.global { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 20px; }
.global__k { margin-bottom: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.global__n { font-size: clamp(44px, 5vw, 56px); line-height: .9; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.global__n span { margin-left: 6px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--fg-2); vertical-align: top; }
.global__league { padding: 6px 12px; border-radius: 999px; background: #fff; color: #000; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

.next { display: grid; gap: 8px; margin-top: 18px; }
.next__bar { position: relative; display: block; height: 4px; border-radius: 4px; background: #262626; overflow: hidden; }
.next__bar i { position: absolute; inset: 0; border-radius: 4px; background: #fff; transform-origin: left; transform: scaleX(var(--p)); }
.next__txt { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--fg-3); }

.quote { margin-top: 120px; }
.quote p { font-size: clamp(28px, 4.4vw, 58px); line-height: 1.1; font-weight: 500; letter-spacing: -.04em; max-width: 18em; text-wrap: balance; }
@media (min-width: 1024px) { .quote { margin-top: 176px; } }

/* ---------- 06 CTA / FORMULAIRE ---------- */
.cta { position: relative; overflow: hidden; overflow: clip; background: #000; padding-block: 104px; border-top: 1px solid var(--line); }
.cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 78% 45%, rgba(255,255,255,.08), rgba(255,255,255,0) 70%);
}
.cta__grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: start; }
.cta__text { margin-top: 24px; max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--fg-2); }
.cta__points { display: grid; gap: 12px; margin-top: 32px; }
.cta__points li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #d4d4d4; }
.cta__points li::before { content: ''; width: 11px; height: 10px; flex: none; background: #fff; clip-path: var(--chevron); transform: rotate(-90deg); }
@media (min-width: 900px) {
  .cta { padding-block: 160px; }
  .cta__grid { grid-template-columns: 1fr minmax(380px, 480px); gap: 80px; align-items: center; }
}

.cta__panel {
  position: relative; padding: 26px 20px 22px; border-radius: 20px;
  background: rgba(14, 14, 14, .82); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
@media (min-width: 720px) { .cta__panel { padding: 34px 32px 28px; } }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 14px; }
.field__input {
  width: 100%; height: 58px; padding: 22px 0 6px; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0;
  background: transparent; color: #fff; font-size: 17px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.field__input:focus { border-bottom-color: #fff; }
.field__label {
  position: absolute; left: 0; top: 19px; font-size: 16px; color: #9a9a9a; pointer-events: none;
  transform-origin: left top; transition: transform .3s var(--ease-out), color .3s;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { transform: translateY(-15px) scale(.74); color: #d0d0d0; }
.field__input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #121212 inset; caret-color: #fff; }
.field.is-invalid .field__input { border-bottom-color: var(--error); }
.field__err { font-size: 12.5px; line-height: 1.35; color: var(--error); margin-top: 6px; }
.field__err:empty { display: none; }

.consent { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 10px; cursor: pointer; }
.consent input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.consent__box { width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.consent__box::after { content: ''; width: 11px; height: 6px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .25s var(--ease-out); }
.consent input:checked + .consent__box { background: #fff; border-color: #fff; }
.consent input:checked + .consent__box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid #fff; outline-offset: 2px; }
.consent.is-invalid .consent__box { border-color: var(--error); }
.consent__text { font-size: 13px; line-height: 1.5; color: #a8a8a8; }
.consent__text a { color: #fff; }
.field__err--consent { margin: 8px 0 0 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn--block { margin-top: 24px; }
.form__status { margin-top: 12px; font-size: 13.5px; text-align: center; color: var(--error); }
.form__status:empty { display: none; }

.success { text-align: left; padding: 12px 4px 8px; outline: none; }
.success__trail { position: relative; width: 56px; aspect-ratio: 400 / 345; margin-bottom: 28px; }
.success__trail svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; opacity: calc(1 - var(--i) * .38); transform: translateY(calc(var(--i) * -22%)); }
.success.is-in .success__trail svg { animation: land .9s var(--ease-out) both; animation-delay: calc(.1s + var(--i) * -.06s); }
@keyframes land { from { transform: translateY(-120%); opacity: 0; } }
.success__title { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -.045em; margin-bottom: 14px; }
.success__text { font-size: 16px; color: #c8c8c8; margin-bottom: 26px; max-width: 26em; }

/* ---------- Footer ---------- */
.foot { background: #000; color: #fff; padding-top: 48px; overflow: hidden; overflow: clip; border-top: 1px solid var(--line); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-bottom: 48px; font-size: 13px; color: var(--fg-2); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot__nav a { color: #d4d4d4; text-decoration: none; }
.foot__nav a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1023px) { .foot { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ---------- CTA sticky mobile ---------- */
.sticky {
  position: fixed; left: 12px; right: 12px; z-index: 45;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(160%); transition: transform .45s var(--ease-out);
}
.sticky.is-visible { transform: none; }
.sticky .btn { height: 52px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
@media (min-width: 1024px) { .sticky { display: none; } }

/* ---------- Apparitions (fondu + 16 px, une seule fois) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.benefits > .reveal:nth-child(2) { transition-delay: .06s; }
.benefits > .reveal:nth-child(3) { transition-delay: .12s; }
.benefits > .reveal:nth-child(4) { transition-delay: .18s; }

@keyframes drop {
  0% { transform: translateY(-9px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}

/* ---------- Mouvement réduit : tout est statique ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .panel > img { transform: none; }
  .js .zones:not(.is-in) .zone { --fill: 1; }
  .g-flow, .g-orbit { opacity: 1; }
  .g-orbit:nth-of-type(1), .g-orbit:nth-of-type(2) { opacity: 0; }
  .g-hinge .g-ghost1, .g-hinge .g-ghost2 { opacity: 0; }
  .g-hinge .g-arm { transform: rotate(40deg); }
  .g-flow:nth-of-type(2), .g-flow:nth-of-type(3) { opacity: .35; }
}
