/* ==========================================================================
   MGL Training — feuille de styles
   Sommaire : 1. Réglages  2. Base  3. Éléments communs  4. Barre & menu
   5. Accueil  6. Coaching  7. Méthode  8. Résultats  9. Histoire
   10. Au quotidien  11. Questions  12. Contact  13. Pied de page
   14. Compteur & grain  15. Animations  16. Pages secondaires
   ========================================================================== */

/* 1. Réglages ------------------------------------------------------------- */
:root {
  --ink: #121412;
  --ink-deep: #0B0C0B;
  --ink-soft: #151715;
  --paper: #EEEDE8;
  --paper-light: #F3F2EE;
  --paper-bright: #F7F6F2;
  --sage: #A9B6A2;
  --sage-dot: #8FA088;
  --sage-dark: #55654F;
  --muted: #A1A59D;
  --muted-light: #C9CBC4;
  --muted-dark: #5D605A;
  --stone: #8C8F88;
  --error: #E39A84;

  --serif: 'Gloock', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--sage);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sage); }
input, textarea, button { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: #8A8E87; opacity: 1; }
::selection { background: var(--sage); color: var(--ink-soft); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.light { --focus: var(--sage-dark); --u-rest: rgba(21,23,21,.35); --u-hover: var(--sage-dark); }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 16px;
  background: var(--paper); color: var(--ink-soft);
  font-size: 13px;
  translate: 0 -200%;
  transition: translate .3s var(--ease);
}
.skip-link:focus { translate: 0 0; color: var(--ink-soft); }

/* 3. Éléments communs ----------------------------------------------------- */
.section { position: relative; }

.wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Lignes de colonnes en pointillés */
.guides {
  position: absolute; inset: 0;
  max-width: var(--max);
  margin: 0 auto;
  pointer-events: none;
}
.guides__frame {
  position: absolute; top: 0; bottom: 0;
  left: var(--gutter); right: var(--gutter);
  border-left: 1px dashed var(--g-edge);
  border-right: 1px dashed var(--g-edge);
}
.guides__line {
  display: none;
  position: absolute; top: 0; bottom: 0;
  border-left: 1px dashed var(--g-line, var(--g-edge));
}
.guides__line--25 { left: 25%; }
.guides__line--50 { left: 50%; }
.guides__line--75 { left: 75%; }
.guides--hero { --g-edge: rgba(238,237,232,.14); }
.guides--hero .guides__line--50 { --g-line: rgba(238,237,232,.1); }
.guides--light { --g-edge: rgba(21,23,21,.13); }
.guides--methode,
.guides--contact { --g-edge: rgba(238,237,232,.12); --g-line: rgba(238,237,232,.1); }
.guides--contact .guides__frame { border-right: 0; }
.guides--histoire .guides__frame { border-style: solid; border-color: rgba(255,255,255,.05); }
.guides--histoire .guides__line { display: block; border-left: 1px solid rgba(255,255,255,.045); }
@media (min-width: 1060px) { .guides__line { display: block; } }

/* Étiquette avec coin */
.tag {
  position: relative;
  display: inline-block;
  padding: 7px 0 0 11px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}
.tag::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 6px; height: 6px;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
}
.tag--md { font-size: 13px; }
.tag--sage { color: var(--sage); }

/* Cadre à quatre coins */
.brackets {
  background:
    linear-gradient(currentColor, currentColor) left top / 1px 6px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 6px 1px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 1px 6px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 6px 1px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 1px 6px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 6px 1px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 1px 6px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 6px 1px no-repeat;
}

.bracket-link {
  display: inline-flex;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--paper);
  transition: color .3s ease, translate .5s var(--ease);
}
.bracket-link:hover { color: var(--sage); }

.btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 20px 28px;
  background: var(--paper); color: var(--ink-soft);
  border: 0; cursor: pointer;
  font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s ease, translate .5s var(--ease);
}
.btn:hover { background: #FFFFFF; color: var(--ink-soft); }
.btn[disabled] { opacity: .6; cursor: progress; }

.arrow {
  font-size: 15px;
  letter-spacing: 0;
  transition: translate .35s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  a:hover .arrow, button:hover .arrow { translate: 5px 0; }
}

/* Le fond clair monte du bas au survol, comme les autres révélations du site */
.btn-line {
  padding: 11px 16px;
  border: 1px solid rgba(238,237,232,.3);
  background: linear-gradient(var(--paper), var(--paper)) 0 100% / 100% 0 no-repeat;
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  transition: background-size .45s var(--ease), border-color .3s ease, color .3s ease, translate .5s var(--ease);
}
.btn-line:hover { background-size: 100% 100%; border-color: var(--paper); color: var(--ink-soft); }

.menu-btn {
  height: 40px;
  padding: 0 14px;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--paper);
}

/* Titres de section */
.h2 {
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h2 .dim { color: var(--stone); }
.h2--rule { position: relative; padding-left: 28px; }
.h2--rule::before {
  content: "";
  position: absolute; left: 0; top: .1em; bottom: .1em;
  width: 1px;
  background: currentColor;
}

/* En-tête de section en deux colonnes (25 % / 75 %) */
.split { display: flex; flex-wrap: wrap; gap: 28px 0; }
.split__aside { flex: 1 1 240px; padding-right: 28px; }
.split__main { flex: 3 1 720px; min-width: 0; }
.split__main--intro {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 24px 40px;
}
.split__main--intro .h2 { flex: 1 1 360px; }
.lede {
  flex: 0 1 340px;
  padding-left: 28px;
  font-size: 15px; line-height: 1.6;
  color: var(--muted-dark);
  text-wrap: pretty;
}

/* 4. Barre & menu --------------------------------------------------------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  translate: 0 -105%;
  transition: translate .5s var(--ease);
  background: rgba(18,20,18,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(238,237,232,.09);
}
.bar.is-shown, .bar:focus-within { translate: 0 0; }
.bar__in {
  max-width: var(--max);
  height: 62px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: baseline; gap: 10px; color: var(--paper); }
.logo__mark { font-family: var(--serif); font-size: 24px; line-height: 1; }
.logo__mark span, .hero__logo-mark span { color: var(--sage-dot); }
.logo__sub { font-size: 9px; font-weight: 500; letter-spacing: .34em; color: var(--muted); }
.bar__nav {
  display: none;
  gap: clamp(20px, 2.4vw, 36px);
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-light);
}
/* Soulignement qui se trace au survol ; reste tracé sur la section en cours de lecture */
.bar__nav a {
  padding: 4px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s ease;
}
.bar__nav a:hover, .bar__nav a.is-current { background-size: 100% 1px; }
.bar__nav a.is-current { color: var(--paper); }
.bar__actions { display: flex; align-items: center; gap: 8px; }

@media (min-width: 1000px) {
  .bar__nav { display: flex; }
  .bar .menu-btn { display: none; }
}
@media (max-width: 520px) {
  .bar__in { gap: 16px; }
  .bar .logo__sub, .hide-sm { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink);
  padding: 104px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px;
  overflow-y: auto;
  animation: fade-in .35s ease both;
}
.menu__nav { display: flex; flex-direction: column; border-top: 1px dashed rgba(238,237,232,.22); }
.menu__nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(238,237,232,.22);
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1;
}
.menu__nav a span { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.menu__foot { display: flex; flex-direction: column; gap: 14px; }
.menu__cta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 19px 22px;
  background: var(--paper); color: var(--ink-soft);
  font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
}
.menu__cta:hover { color: var(--ink-soft); background: #FFFFFF; }
.menu__note { font-size: 13px; color: var(--muted); }

/* 5. Accueil -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}
.hero__media {
  position: absolute; inset: -18px;
  transition: transform 1.4s var(--ease);
}
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.6s ease, transform 9s cubic-bezier(.2,.6,.2,1);
}
.hero__slide--paris { object-position: 56% 40%; filter: grayscale(1) contrast(1.08); }
.hero__slide--arena { object-position: 50% 54%; }
.hero__slide--worlds { object-position: 50% 36%; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide.is-pre { transform: scale(1.07); }
.hero__shade { position: absolute; inset: 0; background: rgba(18,20,18,.46); }
.hero__fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,20,18,.72) 0%, rgba(18,20,18,0) 24%, rgba(18,20,18,0) 44%, rgba(18,20,18,.9) 86%, #121412 100%);
}

.hero__top {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter) 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.hero__logo {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 7px;
  line-height: 1;
  color: var(--paper);
}
.hero__logo-mark { font-family: var(--serif); font-size: 34px; letter-spacing: -0.01em; }
.hero__logo-sub { font-size: 9px; font-weight: 500; letter-spacing: .36em; color: var(--muted-light); }
.hero__cell { display: none; flex: 1 1 0; }
.hero__cell .tag { color: var(--paper); }
.hero__nav {
  display: flex; flex-direction: column;
  gap: 7px;
  min-width: 150px;
  padding: 12px 16px 12px 14px;
  font-size: 13px; line-height: 1.2;
  color: var(--paper);
}
.hero__nav a { transition: padding .35s var(--ease), color .3s ease; }
.hero__nav a:hover { padding-left: 8px; color: var(--sage); }
@media (min-width: 1000px) {
  .hero__cell { display: block; }
  .hero__cell--end { display: flex; justify-content: flex-end; }
  .hero .menu-btn { display: none; }
}

.hero__body {
  position: relative; z-index: 2;
  flex: 1;
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter) 0;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__kicker {
  margin: 0 0 clamp(18px, 2.6vh, 28px);
  font-size: 12px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--sage);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(68px, 12.6vw, 212px);
  line-height: .84;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero__by { display: flex; align-items: baseline; gap: 14px; margin-top: clamp(22px, 3.2vh, 34px); }
.hero__by-label { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light); }
.hero__by-name { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); line-height: 1; }
.hero__cta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 26px;
  margin-top: clamp(22px, 3.2vh, 34px);
}
.hero__note { font-size: 13px; color: var(--muted-light); }
.hero__foot {
  position: relative;
  margin-top: clamp(36px, 6vh, 72px);
  border-top: 1px dashed rgba(238,237,232,.26);
  display: flex; flex-wrap: wrap;
}
.hero__foot-aside { flex: 1 1 240px; padding: 22px 28px 30px 0; }
.hero__foot-main {
  flex: 3 1 720px; min-width: 0;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0 32px;
}
.hero__text {
  flex: 1 1 300px;
  max-width: 420px;
  padding: 22px 0 30px 28px;
  font-size: 14px; line-height: 1.6;
  color: var(--muted-light);
  text-wrap: pretty;
}

.thumbs { display: none; gap: 12px; padding-bottom: 30px; }
@media (min-width: 1060px) { .thumbs { display: flex; } }
.thumb {
  position: relative;
  width: clamp(104px, 8.6vw, 128px);
  padding: 22px 0 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--paper);
}
.thumb__line, .thumb__progress {
  position: absolute; left: 0; right: 0; top: -1px;
  height: 1px;
}
.thumb__line { background: rgba(238,237,232,.5); }
.thumb__progress {
  z-index: 1;
  background: var(--paper);
  transform-origin: left center;
  transform: scaleX(0);
}
.thumb__progress.is-running { animation: progress 7s linear forwards; }
.thumb__img {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(238,237,232,.14);
  transition: box-shadow .4s ease;
}
.thumb__img img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .5;
  transition: opacity .4s ease;
}
.thumb__label {
  display: block;
  margin-top: 10px;
  font-size: 11px; line-height: 1.3;
  color: var(--muted);
  transition: color .4s ease;
}
.thumb[aria-pressed="true"] .thumb__img { box-shadow: 0 0 0 1px rgba(238,237,232,.85); }
.thumb[aria-pressed="true"] .thumb__img img { opacity: 1; }
.thumb[aria-pressed="true"] .thumb__label { color: var(--paper); }

/* 6. Coaching ------------------------------------------------------------- */
.section--coaching {
  background: var(--paper-light);
  color: var(--ink-soft);
  padding: clamp(88px, 10vw, 150px) 0;
}

.disc-row { display: flex; flex-wrap: wrap; gap: 28px 0; margin-top: clamp(48px, 6vw, 88px); }
.disc-row__aside {
  flex: 1 1 240px;
  padding-right: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 18px;
}
.disc-count { display: flex; flex-direction: column; gap: 6px; }
.disc-count__num { font-size: 12px; color: var(--muted-dark); }
.disc-count__name { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 36px); line-height: 1; }
.disc-nav { display: flex; gap: 8px; }
.disc-nav__btn {
  width: 32px; height: 32px;
  padding: 0;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .3s ease, translate .5s var(--ease);
}
.disc-nav__btn:hover { color: var(--sage-dark); }

.disc-grid {
  flex: 3 1 720px; min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 10px;
}
.disc {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-soft);
  text-align: left;
  color: var(--paper);
}
.disc__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.8);
  transform: scale(1);
  transition: filter .8s ease, transform 1.4s var(--ease), translate 1s var(--ease);
}
.disc__img--running { object-position: 34% 50%; }
.disc__img--hyrox { object-position: 62% 66%; }
.disc__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,23,21,0) 42%, rgba(21,23,21,.85) 100%);
}
.disc__body {
  position: absolute; left: 16px; right: 16px; bottom: 18px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.disc__body .tag { align-self: flex-start; }
.disc__desc { padding-left: 11px; font-size: 12px; line-height: 1.5; color: var(--muted-light); }
.disc__bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--paper);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .6s var(--ease);
}
.disc[aria-pressed="true"] .disc__img { filter: grayscale(0) contrast(1); transform: scale(1.03); }
.disc[aria-pressed="true"] .disc__bar { transform: scaleX(1); }

.disc--sante {
  background: radial-gradient(120% 90% at 24% 16%, #A6B59E 0%, #879880 52%, #68775F 100%);
  color: var(--ink-soft);
}
.disc__ring {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: scale(1);
  transition: transform 1.6s var(--ease), translate 1s var(--ease);
}
.disc__ring--1 { right: -34%; bottom: -22%; width: 112%; border: 1px solid rgba(21,23,21,.24); }
.disc__ring--2 { right: -18%; bottom: -6%; width: 80%; border: 1px dashed rgba(21,23,21,.22); transition-delay: .05s, 0s; }
.disc__ring--3 { right: -2%; bottom: 10%; width: 48%; border: 1px solid rgba(21,23,21,.18); transition-delay: .1s, 0s; }
.disc__dot {
  position: absolute; right: 22%; bottom: 34%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-soft);
}
.disc__quote {
  position: absolute; left: 18px; top: 20px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: .98;
  letter-spacing: -0.02em;
}
.disc--sante .disc__desc { color: #22271F; }
.disc--sante .disc__bar { background: var(--ink-soft); }
.disc--sante[aria-pressed="true"] .disc__ring { transform: scale(1.08); }

@media (hover: hover) {
  .disc[aria-pressed="false"]:hover .disc__img { transform: scale(1.015); }
  .disc[aria-pressed="false"]:hover .disc__bar { transform: scaleX(.3); }
  .disc--sante[aria-pressed="false"]:hover .disc__ring { transform: scale(1.04); }
}

.disc-details { display: flex; flex-wrap: wrap; margin-top: 30px; }
.disc-details__spacer { flex: 1 1 240px; }
.disc-details__main { flex: 3 1 720px; min-width: 0; display: flex; flex-wrap: wrap; gap: 20px 0; }
.disc-details__label { flex: 1 1 240px; padding-left: 28px; }
.disc-details__label .tag { color: var(--muted-dark); }
.disc-details__body { flex: 2 1 460px; min-width: 0; padding-left: 28px; }

.specs { border-bottom: 1px solid rgba(21,23,21,.16); font-size: 14px; line-height: 1.5; }
.specs > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  padding: 12px 0;
  border-top: 1px solid rgba(21,23,21,.16);
}
.specs dt { position: relative; color: var(--muted-dark); }
.specs dt::after { content: ":"; position: absolute; left: 92px; top: 0; color: var(--stone); }
.specs__price { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.specs__price a { color: var(--ink-soft); padding-bottom: 1px; }

/* 7. Méthode -------------------------------------------------------------- */
.section--methode {
  background: #1B1E1A;
  color: var(--paper);
  padding: clamp(88px, 10vw, 140px) 0 0;
  overflow: hidden;
}
.methode__bg {
  position: absolute; left: -60px; top: -60px;
  width: calc(100% + 120px); height: calc(100% + 120px);
  max-width: none;
  object-fit: cover;
  filter: grayscale(1) blur(22px) brightness(.36);
  will-change: translate;
}
.methode__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,30,26,.55) 0%, rgba(27,30,26,.15) 45%, rgba(27,30,26,.88) 100%);
}
.methode__head {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-start;
  gap: 24px 48px;
}
.methode__title { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.methode__intro {
  max-width: 280px;
  padding-top: 34px;
  font-size: 13px; line-height: 1.6;
  color: var(--muted-light);
  text-wrap: pretty;
}

/* Orbite : photo ronde et pastilles (empilées sur mobile) */
.orbit {
  margin-top: 48px;
  display: flex; flex-direction: column; align-items: center;
  gap: 28px;
}
.orbit__ring { display: none; }
.orbit__disc {
  width: min(78vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 36%, #A3B29B 0%, #84957D 55%, #687863 100%);
  outline: 1px dashed rgba(238,237,232,.26);
  outline-offset: 22px;
}
.orbit__disc img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: grayscale(1) contrast(1.2) brightness(1.05);
  mix-blend-mode: multiply;
}
.orbit__pills {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
}
.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(238,237,232,.22);
}
.pill__dot { display: none; }

@media (min-width: 1060px) {
  .orbit {
    --orbit-r: clamp(150px, 17vw, 240px);
    --orbit-d: clamp(300px, 34vw, 480px);
    position: relative;
    display: block;
    height: clamp(560px, 50vw, 700px);
    margin-top: -24px;
  }
  .orbit__ring {
    display: block;
    position: absolute; left: 50%; top: 50%;
    width: calc(var(--orbit-d) + 64px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(238,237,232,.26);
  }
  .orbit__disc {
    position: absolute; left: 50%; top: 50%;
    width: var(--orbit-d);
    transform: translate(-50%, -50%);
    outline: 0;
    box-shadow: 0 50px 120px rgba(0,0,0,.5);
  }
  .orbit__pills { display: block; margin: 0; }
  .pill {
    position: absolute;
    transform: translateY(-50%);
    display: inline-flex; align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    background: rgba(23,26,23,.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    cursor: default;
    transition: background .3s ease, color .3s ease, border-color .3s ease, translate 1s var(--ease);
  }
  .pill:hover { background: var(--sage); color: var(--ink-soft); border-color: var(--sage); }
  .pill__dot {
    display: flex; align-items: center; justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 1px solid currentColor;
  }
  .pill__dot::after {
    content: "";
    width: 4px; height: 4px;
    border-radius: 50%;
    background: currentColor;
  }
  .pill--l1, .pill--l3 { right: calc(50% + var(--orbit-r) * .8 + 30px); }
  .pill--l2 { right: calc(50% + var(--orbit-r) + 46px); top: 50%; }
  .pill--r1, .pill--r2, .pill--r3 { padding: 8px 16px 8px 8px; }
  .pill--r1, .pill--r3 { left: calc(50% + var(--orbit-r) * .8 + 30px); }
  .pill--r2 { left: calc(50% + var(--orbit-r) + 46px); top: 50%; }
  .pill--l1, .pill--r1 { top: calc(50% - var(--orbit-r) * .62); }
  .pill--l3, .pill--r3 { top: calc(50% + var(--orbit-r) * .62); }
}

.pillars {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px dashed rgba(238,237,232,.24);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.pillar { position: relative; padding: 26px 28px 64px 0; }
.pillar::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  width: 64px; height: 1px;
  background: var(--paper);
  transition: width .8s var(--ease);
}
/* Au survol, le trait d'accent se prolonge : une « progression » qui avance */
@media (hover: hover) { .pillar:hover::before { width: calc(100% - 28px); } }
.pillar p {
  margin-top: 12px;
  padding-left: 11px;
  max-width: 30ch;
  font-size: 13px; line-height: 1.6;
  color: var(--muted);
}

/* 8. Résultats ------------------------------------------------------------ */
.section--resultats {
  background: var(--paper-bright);
  color: var(--ink-soft);
  padding: clamp(104px, 12vw, 184px) 0;
}
.records {
  --rec-h: clamp(128px, 13vw, 196px);
  position: relative;
  margin-top: clamp(72px, 9vw, 140px);
  display: flex; flex-direction: column;
  gap: 12px;
}
.records__photo {
  position: relative;
  margin: 0 0 4px;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  overflow: hidden;
  background: var(--ink-soft);
}
/* Image plus haute que son cadre : elle y glisse légèrement au défilement */
.records__photo img {
  position: absolute; left: 0; top: -8%;
  display: block;
  width: 100%; height: 116%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(1) contrast(1.06);
}
.records__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 16px 14px;
  background: linear-gradient(to top, rgba(21,23,21,.8), rgba(21,23,21,0));
  font-size: 12px;
  color: var(--paper);
}
@media (min-width: 1060px) {
  .records__photo {
    position: absolute; top: 0; right: 0;
    margin: 0;
    width: calc(100% - max(580px, 60%) - 12px);
    height: calc(3 * var(--rec-h) + 24px);
    aspect-ratio: auto;
    max-height: none;
  }
  .records__photo img { object-position: 50% 42%; }
  .records__photo figcaption { padding: 44px 18px 16px; }
}
.records__list { display: flex; flex-direction: column; gap: 12px; }
.rec {
  position: relative;
  width: min(100%, var(--w));
  height: var(--rec-h);
  padding: 18px 22px 0;
  background: var(--ink-soft);
  color: var(--paper-bright);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: color .3s ease, padding .6s var(--ease);
}
@media (hover: hover) {
  .rec:hover { color: var(--sage); padding-left: 36px; }
}
.rec__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
}
.rec__note { color: var(--muted); text-align: right; }
.rec__value {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 164px);
  line-height: .78;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-left: -0.03em;
  transform: translateY(.06em);
}
.rec__value sup { font-size: .46em; vertical-align: top; letter-spacing: 0; }
.rec__unit { font-size: .4em; letter-spacing: 0; margin-left: .14em; vertical-align: .22em; }
.rec__row { display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 36px); }
.rec__side { padding-bottom: 18px; display: flex; flex-direction: column; gap: 5px; }
.rec__side strong { font-size: clamp(15px, 1.3vw, 19px); font-weight: 500; color: var(--paper-bright); }
.rec__side span { font-size: 13px; color: var(--muted); }

/* 9. Histoire ------------------------------------------------------------- */
.section--histoire { background: var(--ink-deep); color: var(--paper); overflow: hidden; }
.histoire__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  overflow: hidden;
}
.histoire__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  filter: grayscale(1) contrast(1.12) brightness(1.08);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.histoire__ring {
  position: absolute; left: 51%; top: 30%;
  width: 62%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(238,237,232,.82);
  box-shadow: 0 0 28px rgba(238,237,232,.4), inset 0 0 28px rgba(238,237,232,.28);
  mix-blend-mode: screen;
}
@media (min-width: 1060px) {
  .histoire__media {
    position: absolute; top: 0; bottom: 0; right: 0;
    width: 60%;
    aspect-ratio: auto;
    max-height: none;
    overflow: visible;
  }
  .histoire__media img {
    -webkit-mask-image: radial-gradient(ellipse 68% 78% at 52% 36%, #000 38%, transparent 80%);
    mask-image: radial-gradient(ellipse 68% 78% at 52% 36%, #000 38%, transparent 80%);
  }
  .histoire__ring {
    top: 28%;
    width: min(30vw, 440px);
    box-shadow: 0 0 28px rgba(238,237,232,.4), 0 0 90px rgba(238,237,232,.16), inset 0 0 28px rgba(238,237,232,.28);
  }
}
.histoire__inner {
  position: relative;
  max-width: var(--max);
  min-height: clamp(560px, 62vw, 900px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(56px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 56px;
}
.histoire__label {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 10px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
}
.histoire__label::after { content: ""; width: 28px; height: 2px; background: var(--sage-dot); }
.histoire__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 7.2vw, 116px);
  line-height: .98;
  letter-spacing: -0.02em;
}
.histoire__foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 36px 0; }
.histoire__sign { flex: 2 1 400px; display: flex; flex-direction: column; gap: 8px; padding-right: 28px; }
.histoire__name { font-family: var(--serif); font-size: 28px; line-height: 1; }
.histoire__role { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.histoire__col { flex: 1 1 220px; padding: 0 28px 0 14px; display: flex; flex-direction: column; gap: 10px; }
.histoire__col--last { padding: 0 0 0 14px; }
.histoire__col h3 { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.histoire__col p { font-size: 14px; line-height: 1.6; color: var(--muted-light); text-wrap: pretty; }
.histoire__link {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 13px;
  color: var(--paper);
}

/* 10. Au quotidien -------------------------------------------------------- */
.section--quotidien {
  background: #0F110F;
  color: var(--paper);
  padding: clamp(96px, 11vw, 160px) 0;
  overflow: hidden;
}
.quotidien__glow {
  position: absolute; left: 50%; top: -24%;
  width: min(1400px, 120vw); height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(238,237,232,.075), rgba(238,237,232,0));
  pointer-events: none;
}
.quotidien__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(238,237,232,.16);
  background: rgba(238,237,232,.04);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}
.quotidien__title {
  margin-top: 22px;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.quotidien__intro {
  margin-top: 20px;
  max-width: 540px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--muted);
  text-wrap: pretty;
}
.q-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  margin-top: clamp(48px, 6vw, 80px);
  text-align: left;
}
.q-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(560px, 44vw, 640px);
  border: 1px solid rgba(238,237,232,.09);
  border-radius: 22px;
  background: linear-gradient(180deg, #151715 0%, #0C0E0C 100%);
  overflow: hidden;
}
.q-card__glow {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
.q-card__text {
  padding: 8px 32px 38px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  text-align: center;
}
.q-card__text h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -0.02em; }
.q-card__text p { max-width: 38ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.q-visual { position: relative; flex: 1; }
.v { color: var(--paper); }

/* Téléphone : plan de la semaine */
.q-visual--plan { display: flex; justify-content: center; padding-top: 56px; min-height: 380px; }
.q-beam {
  position: absolute; left: 6%; right: 6%; top: 44%;
  height: 1px;
  background: linear-gradient(90deg, rgba(238,237,232,0), rgba(238,237,232,.9) 50%, rgba(238,237,232,0));
  box-shadow: 0 0 18px 2px rgba(238,237,232,.22);
}
.phone {
  position: relative;
  width: 272px; height: 390px;
  padding: 12px 12px 0;
  border: 1px solid rgba(238,237,232,.22);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: #0A0B0A;
  box-shadow: 0 -10px 60px rgba(0,0,0,.6);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.phone__screen {
  height: 100%;
  padding: 14px 16px 0;
  border: 1px solid rgba(238,237,232,.08);
  border-bottom: 0;
  border-radius: 31px 31px 0 0;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.phone__notch { width: 72px; height: 20px; margin: 0 auto 16px; border-radius: 999px; background: #050605; }
.phone__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.phone__day { font-family: var(--sans); font-size: 16px; color: var(--paper); }
.phone__week { letter-spacing: .12em; }
.session { padding: 13px; border: 1px solid rgba(238,237,232,.1); border-radius: 14px; background: #191C19; }
.session__type { letter-spacing: .14em; color: var(--sage); }
.session__title { margin-top: 6px; font-family: var(--sans); font-size: 14px; color: var(--paper); }
.session__rows { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.session__rows > div, .phone__next > div { display: flex; justify-content: space-between; }
.phone__tiles { display: flex; gap: 6px; margin-top: 10px; }
.phone__tiles > span { flex: 1; padding: 9px 10px; border: 1px solid rgba(238,237,232,.1); border-radius: 10px; }
.phone__tiles .v { font-size: 12px; }
.phone__next { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }

/* Suivi : métriques et message */
.q-visual--feed { min-height: 400px; }
.q-dots {
  position: absolute; inset: 40px 24px;
  background-image: radial-gradient(rgba(238,237,232,.26) 1px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 54%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 54%, #000 18%, transparent 72%);
}
.q-week { position: absolute; top: 48px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); }
.q-week__count { margin-top: 6px; font-family: var(--mono); font-size: 32px; letter-spacing: .04em; color: var(--paper); }
.q-week__count span { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.metric {
  position: absolute;
  width: 66px; height: 66px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  border: 1px solid rgba(238,237,232,.14);
  border-radius: 14px;
  background: #111311;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
}
.metric .v { font-size: 14px; }
.metric--fc { left: 13%; top: 40%; }
.metric--rpe { right: 12%; top: 34%; }
.metric--sleep { left: 18%; bottom: 10%; }
.metric--pace { right: 17%; bottom: 7%; }
.msg {
  position: absolute; left: 50%; top: 58%;
  width: min(84%, 330px);
  transform: translate(-50%, -50%);
  padding: 16px;
  border: 1px solid rgba(238,237,232,.16);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.msg__head { display: flex; align-items: center; gap: 10px; }
.msg__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage-dot);
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 12px;
}
.msg__name { font-size: 13px; color: var(--paper); }
.msg__time { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.msg p { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--paper); }
.msg__foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(238,237,232,.08);
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--sage);
}
/* Sur petit écran, on écarte les métriques pour qu'elles ne passent pas sous le message */
@media (max-width: 520px) {
  .q-visual--feed { min-height: 470px; }
  .metric--fc { left: 6%; top: 25%; }
  .metric--rpe { right: 6%; top: 22%; }
  .metric--sleep { left: 10%; bottom: 3%; }
  .metric--pace { right: 10%; bottom: 1%; }
}

/* 11. Questions ----------------------------------------------------------- */
.section--faq {
  background: var(--paper-light);
  color: var(--ink-soft);
  padding: clamp(88px, 10vw, 150px) 0;
}
.faq { display: flex; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); }
.faq__spacer { flex: 1 1 240px; }
.faq__list { flex: 3 1 720px; min-width: 0; border-bottom: 1px solid rgba(21,23,21,.16); }
.faq__row {
  display: flex; flex-wrap: wrap;
  gap: 10px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(21,23,21,.16);
  transition: background .35s ease;
}
@media (hover: hover) { .faq__row:hover { background: rgba(21,23,21,.03); } }
.faq__row dt { flex: 1 1 240px; padding: 0 28px; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; }
.faq__row dd {
  flex: 2 1 420px;
  padding-left: 28px;
  font-size: 15px; line-height: 1.6;
  color: var(--muted-dark);
  text-wrap: pretty;
}

/* 12. Contact ------------------------------------------------------------- */
.section--contact { background: var(--ink); color: var(--paper); overflow: hidden; }
.contact__media { display: none; }
@media (min-width: 1060px) {
  .contact__media { display: block; position: absolute; top: 0; bottom: 0; right: 0; width: 40%; }
}
.contact__media img {
  position: absolute; left: 0; top: -8%;
  display: block;
  width: 100%; height: 116%;
  object-fit: cover;
  object-position: 50% 60%;
  filter: grayscale(1) contrast(1.05) brightness(.92);
}
.contact__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #121412 0%, rgba(18,20,18,.35) 32%, rgba(18,20,18,0) 62%);
}
.contact__aside {
  position: absolute; right: var(--gutter); bottom: 40px;
  max-width: 250px;
  font-size: 13px; line-height: 1.55;
  color: var(--paper);
}
.contact__wrap { padding-top: clamp(88px, 10vw, 150px); padding-bottom: clamp(88px, 10vw, 150px); }
.contact__inner {
  width: min(100%, 640px);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 28px;
}
.contact__title {
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.contact__title .dim { color: #6D716A; }
.contact__intro { max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--muted-light); text-wrap: pretty; }

.form { width: 100%; display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.form__trap { display: none; }
.form__goals { min-width: 0; margin: 0; padding: 0; border: 0; }
.form__label { display: block; padding: 0; font-size: 12px; color: var(--muted); }
.form__goals legend { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute; top: 0; left: 0;
  width: 1px; height: 1px;
  margin: 0;
  opacity: 0;
}
.chip span {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(238,237,232,.28);
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.chip input:checked + span { background: var(--paper); color: var(--ink-soft); border-color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 26px 28px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field__input {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(238,237,232,.28);
  border-radius: 0;
  outline: none;
  font-size: 17px;
  color: var(--paper);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s ease;
}
.field__input:focus { border-bottom-color: var(--sage); }
.field__input[aria-invalid="true"] { border-bottom-color: var(--error); }
.field__input--area { resize: vertical; font-size: 16px; line-height: 1.5; }
.field__error { font-size: 13px; color: var(--error); }

.form__row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 18px 24px;
}
.check {
  position: relative;
  display: flex; align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted-light);
}
.check input {
  position: absolute; top: 0; left: 0;
  width: 1px; height: 1px;
  margin: 0;
  opacity: 0;
}
.check__box {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  border: 1px solid var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1;
  transition: background .25s ease;
}
.check__box::after {
  content: "✓";
  opacity: 0;
  transform: scale(.3);
  transition: opacity .2s ease, transform .45s var(--ease);
}
.check input:checked + .check__box { background: var(--paper); }
.check input:checked + .check__box::after { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--focus); outline-offset: 3px; }
.btn--submit { padding: 19px 26px; }
.form__status { font-size: 14px; line-height: 1.6; color: var(--error); }
.form__status a, .form__note a { text-decoration: underline; text-underline-offset: 3px; }
.form__note { margin-top: -6px; font-size: 12px; line-height: 1.6; color: var(--muted); }

.sent {
  width: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 18px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px dashed rgba(238,237,232,.24);
}
.sent:focus { outline: none; }
.sent__title { font-family: var(--serif); font-size: clamp(36px, 3.6vw, 52px); line-height: 1; }
.sent__text { max-width: 42ch; font-size: 16px; line-height: 1.6; color: var(--muted-light); }
.sent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sent__actions .bracket-link { padding: 13px 16px; }
.sent__edit {
  padding: 13px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 13. Pied de page -------------------------------------------------------- */
.footer { position: relative; background: var(--ink); color: var(--paper); border-top: 1px dashed rgba(238,237,232,.2); }
.footer__in { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--gutter) 28px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 0; }
.footer__aside { flex: 1 1 240px; padding-right: 28px; }
.insta-card {
  position: relative;
  display: block;
  max-width: 240px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-deep);
}
.insta-card img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) brightness(.8);
  transition: filter .6s ease, transform 1.2s var(--ease);
}
.insta-card:hover img { filter: grayscale(0) brightness(.95); transform: scale(1.04); }
.insta-card span { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--paper); pointer-events: none; }
.footer__main { flex: 3 1 720px; min-width: 0; display: flex; flex-wrap: wrap; gap: 32px 0; }
.footer__follow { flex: 1 1 320px; padding-left: 28px; }
.footer__lead { font-size: 22px; letter-spacing: -0.02em; }
.footer__sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.footer__insta {
  --u-rest: rgba(238,237,232,.3);
  margin-top: 22px;
  max-width: 360px;
  padding: 10px 0 11px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
  color: var(--paper);
}
.footer__about { flex: 1 1 220px; padding-left: 28px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px dashed rgba(238,237,232,.2);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 14px 32px;
  font-size: 12px;
  color: var(--muted);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom--solo { margin-top: 0; padding-top: 0; border-top: 0; }

/* 14. Compteur kilométrique & grain -------------------------------------- */
.meter {
  display: none;
  position: fixed; right: clamp(10px, 1.3vw, 20px); top: 50%; z-index: 40;
  width: 24px; height: 40vh;
  transform: translateY(-50%);
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
  font-size: 10px; font-weight: 500;
  letter-spacing: .26em;
}
@media (min-width: 1060px) { .meter { display: block; } }
.meter__track { position: absolute; top: 0; bottom: 0; right: 4px; width: 1px; background: rgba(255,255,255,.32); }
.meter__fill {
  position: absolute; top: 0; right: 4px;
  width: 1px; height: 100%;
  background: #fff;
  transform-origin: top;
  transform: scaleY(0);
}
.meter__mark { position: absolute; top: 0; right: 0; width: 24px; height: 0; }
.meter__dot { position: absolute; right: 1.5px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.meter__label {
  position: absolute; right: 14px; top: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.grain {
  position: fixed; inset: 0; z-index: 70;
  pointer-events: none;
  opacity: .045;
  background-image: url("../img/grain.svg");
  background-size: 220px 220px;
}

/* 15. Animations ----------------------------------------------------------
   Un seul langage de mouvement : les éléments montent (révélation), la
   profondeur réagit au défilement et au curseur, les liens se tracent.
   Tout est neutralisé si la personne a choisi « Réduire les animations ». */
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lift-in { from { translate: 0 26px; } to { translate: 0 0; } }
@keyframes line-up { from { translate: 0 1.4em; } }
@keyframes swap-in { from { opacity: 0; translate: 0 8px; } }
@keyframes finish { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(4.5); } }

/* Entrée de l'accueil au chargement */
[data-intro] {
  animation:
    fade-in 1s ease var(--d, .1s) both,
    lift-in 1.2s var(--ease) var(--d, .1s) both;
}

/* Titres découpés en lignes : chaque ligne monte depuis un masque.
   Le rembourrage évite de rogner accents et jambages ; la marge négative le compense
   (en colonne flexible, pour que les marges des lignes voisines ne fusionnent pas). */
.hero__title, .is-lines { display: flex; flex-direction: column; }
.ln { display: block; overflow: hidden; padding: .2em .1em; margin: -.2em -.1em; }
.ln__in { display: block; }
.hero__title .ln__in { animation: line-up 1.3s var(--ease) calc(.2s + var(--i, 0) * .1s) both; }

/* Apparition au défilement (classes posées par main.js) */
.rv {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .9s ease var(--rd, 0s), translate 1.1s var(--ease) var(--rd, 0s);
}
.rv.is-in { opacity: 1; translate: 0 0; }
.faq__row.rv { transition: background .35s ease, opacity .9s ease var(--rd, 0s), translate 1.1s var(--ease) var(--rd, 0s); }

.rv .ln__in {
  translate: 0 1.4em;
  transition: translate 1.2s var(--ease) calc(var(--rd, 0s) + var(--i, 0) * .09s);
}
.rv.is-in .ln__in { translate: 0 0; }
.rv[data-lines] { opacity: 1; translate: none; }

.rise {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(.76,0,.2,1) var(--rd, 0s), color .3s ease, padding .6s var(--ease);
}
.rise.is-in { clip-path: inset(0 0 0 0); }

/* Méthode : la photo s'ouvre comme un diaphragme, puis les pastilles apparaissent une à une */
.orbit.rv { translate: none; }
.orbit.rv .orbit__disc img {
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1.6s cubic-bezier(.76,0,.2,1) .1s;
}
.orbit.rv.is-in .orbit__disc img { clip-path: circle(75% at 50% 50%); }
.orbit.rv .orbit__ring {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.9);
  transition: opacity 1s ease .35s, transform 1.6s var(--ease) .35s, translate 1s var(--ease);
}
.orbit.rv.is-in .orbit__ring { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.orbit.rv .pill {
  opacity: 0;
  transition: opacity .7s ease calc(.6s + var(--p, 0) * .07s), background .3s ease, color .3s ease, border-color .3s ease, translate 1s var(--ease);
}
.orbit.rv.is-in .pill { opacity: 1; }

/* Résultats : la photo des Mondiaux se dévoile de bas en haut */
.records__photo.rv {
  opacity: 1;
  translate: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s cubic-bezier(.76,0,.2,1) .15s;
}
.records__photo.rv.is-in { clip-path: inset(0 0 0 0); }
.records__photo.rv img { scale: 1.15; transition: scale 1.9s var(--ease) .15s; }
.records__photo.rv.is-in img { scale: 1; }

/* Coaching : les lignes « En détail » arrivent l'une après l'autre… */
.disc-details.rv { opacity: 1; translate: none; }
.disc-details.rv .disc-details__label,
.disc-details.rv .specs > div {
  opacity: 0;
  translate: 0 10px;
  transition: opacity .7s ease calc(var(--k, 0) * .06s), translate .9s var(--ease) calc(var(--k, 0) * .06s);
}
.disc-details.rv.is-in .disc-details__label,
.disc-details.rv.is-in .specs > div { opacity: 1; translate: 0 0; }
/* …et se renouvellent quand on change de discipline */
.specs.is-swap > div { animation: swap-in .55s var(--ease) both; animation-delay: calc(var(--k, 0) * .04s); }
.disc-count.is-swap .disc-count__num { animation: swap-in .45s var(--ease) both; }
.disc-count.is-swap .disc-count__name { animation: swap-in .55s var(--ease) .05s both; }

/* Au quotidien : la carte raconte la boucle du coaching.
   Le plan sort de la ligne lumineuse ; les données arrivent, puis le message qui ajuste le plan. */
.q-card.rv .q-beam { opacity: 0; scale: .3 1; transition: opacity .8s ease .15s, scale 1.4s var(--ease) .15s; }
.q-card.rv.is-in .q-beam { opacity: 1; scale: 1 1; }
.q-card.rv .phone { translate: 0 56px; transition: translate 1.5s var(--ease) .3s; }
.q-card.rv.is-in .phone { translate: 0 0; }
.q-card.rv .metric {
  opacity: 0;
  scale: .8;
  transition: opacity .6s ease calc(.35s + var(--m, 0) * .12s), scale .9s var(--ease) calc(.35s + var(--m, 0) * .12s);
}
.q-card.rv.is-in .metric { opacity: 1; scale: 1; }
.q-card.rv .msg { opacity: 0; translate: 0 20px; transition: opacity .7s ease 1s, translate 1s var(--ease) 1s; }
.q-card.rv.is-in .msg { opacity: 1; translate: 0 0; }

/* Profondeur au curseur (valeurs posées par main.js) */
:where([data-depth]) { transition: translate 1s var(--ease); }

/* Liens soulignés : une ligne d'accent se trace par-dessus au survol */
:where(.u-link) { padding-bottom: 4px; }
.u-link, .legal__body a {
  background:
    linear-gradient(var(--u-hover, var(--sage)), var(--u-hover, var(--sage))) 0 100% / 0 1px no-repeat,
    linear-gradient(var(--u-rest, rgba(238,237,232,.4)), var(--u-rest, rgba(238,237,232,.4))) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s ease;
}
.u-link:hover, .legal__body a:hover { background-size: 100% 1px, 100% 1px; color: var(--u-hover, var(--sage)); }

/* Flèches : elles indiquent leur direction au survol */
.nudge { display: inline-block; transition: translate .35s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  a:hover .nudge, button:hover .nudge { translate: 4px 0; }
  a:hover .nudge--ne, button:hover .nudge--ne { translate: 2px -2px; }
  button:hover .nudge--w { translate: -3px 0; }
}

/* Survols qui signalent ce qui est cliquable */
@media (hover: hover) {
  .thumb[aria-pressed="false"]:hover .thumb__img img { opacity: .8; }
  .thumb[aria-pressed="false"]:hover .thumb__label { color: var(--muted-light); }
  .chip:hover input:not(:checked) + span { border-color: rgba(238,237,232,.6); }
}

/* Ligne d'arrivée : le point du compteur pulse en atteignant 42,195 km */
.meter__dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid #fff;
  opacity: 0;
}
.meter.is-finish .meter__dot::after { animation: finish 1.4s var(--ease) 2; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

@media print {
  .bar, .menu, .meter, .grain, .hero__media, .thumbs { display: none !important; }
  .rv, .rv *, .rise {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    clip-path: none !important;
  }
}

/* 16. Pages secondaires (mentions légales, 404) --------------------------- */
.page-bar { position: sticky; translate: none; }
.page-bar .btn-line { white-space: nowrap; }

.legal {
  background: var(--paper-light);
  color: var(--ink-soft);
  padding: clamp(64px, 8vw, 120px) 0 clamp(88px, 10vw, 140px);
}
.legal__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.legal__updated { font-size: 13px; color: var(--muted-dark); }
.legal__body {
  max-width: 760px;
  margin-top: clamp(40px, 5vw, 72px);
  font-size: 15px;
  line-height: 1.7;
  color: #2B2E2A;
}
.legal__body section { padding: 28px 0; border-top: 1px solid rgba(21,23,21,.16); }
.legal__body h2 { margin-bottom: 12px; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-soft); }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 12px; }
.legal__body ul { padding-left: 18px; list-style: disc; }
.legal__body li + li { margin-top: 4px; }
.legal__body a { padding-bottom: 1px; }
.todo {
  padding: 1px 6px;
  background: #F6E2B8;
  color: #4A3A12;
  font-size: .92em;
  border-radius: 3px;
}

.lost {
  min-height: calc(100vh - 62px);
  min-height: calc(100svh - 62px);
  display: flex; align-items: center;
  padding: 80px 0;
}
.lost__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.lost__km { font-family: var(--mono); font-size: 12px; letter-spacing: .26em; color: var(--sage); }
.lost__title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 9vw, 140px); line-height: .92; letter-spacing: -0.02em; }
.lost__text { max-width: 440px; font-size: 16px; line-height: 1.6; color: var(--muted-light); }
