/* Kairos Club — Ligne de lumière
   The club's own room: felt black, plaster white, copper and its warm light, oak as material.
   One grotesk (Mona Sans), set light and tight; spaced caps echo the wordmark. */

@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --noir: #0e0d0c;
  --noir-2: #171513;
  --noir-3: #221f1c;
  --platre: #eceae5;
  --platre-2: #f6f4f0;
  --cuivre: #c08254;
  --lumiere: #f0b27a;

  --font: "Mona Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --gutter: clamp(18px, 4.2vw, 64px);
  --maxw: 1440px;
  --nav: 72px;
  --r-lg: 22px;
  --r-md: 16px;
  --medal: clamp(180px, 21vw, 330px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);

  --glow: 0 0 6px 0.5px rgb(240 178 122 / 0.9), 0 0 22px 2px rgb(240 178 122 / 0.38), 0 0 70px 10px rgb(240 178 122 / 0.12);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--nav) + 16px);
  background: var(--noir);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--platre);
  background: var(--noir);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: clip;
  --fg: var(--platre); --bg: var(--noir);
  --muted: color-mix(in oklab, var(--platre) 68%, var(--noir));
  --rule: color-mix(in oklab, var(--platre) 14%, var(--noir));
}
@media (max-width: 639px) { body { font-size: 16px; } }

/* film grain: fixed, never on a scrolling layer */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.6 -0.3'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
address { font-style: normal; }
strong { font-weight: 620; }
.num { font-variant-numeric: tabular-nums; }
a, button, label, [role="tab"] { touch-action: manipulation; }
button, .btn, .store, .seg-btn, .round-btn, .burger { -webkit-user-select: none; user-select: none; }
::selection { background: var(--lumiere); color: var(--noir); }
html { scrollbar-color: color-mix(in oklab, var(--platre) 26%, var(--noir)) var(--noir); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.t-light {
  background: var(--platre); color: var(--noir);
  --fg: var(--noir); --bg: var(--platre);
  --muted: color-mix(in oklab, var(--noir) 66%, var(--platre));
  --rule: color-mix(in oklab, var(--noir) 13%, var(--platre));
}

:focus-visible { outline: 2px solid var(--lumiere); outline-offset: 4px; border-radius: 6px; }
.t-light :focus-visible { outline-color: var(--cuivre); }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px;
  background: var(--platre); color: var(--noir); font-weight: 600;
  transform: translateY(-160%); transition: transform 240ms var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* ---------- type roles ---------- */
.display {
  font-size: clamp(42px, 5.8vw, 92px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.display .light { display: block; font-weight: 260; letter-spacing: -0.045em; }
.lede {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- buttons: pill with a nested arrow ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 560; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 300ms var(--ease-out), color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.btn:has(.btn-dot) { padding-right: 6px; }
.btn-dot {
  display: grid; place-items: center;
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px);
  border-radius: 50%;
  transition: transform 260ms var(--ease-out), background-color 300ms var(--ease-out);
}
.btn-dot svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 42px; font-size: 14px; padding-left: 18px; gap: 10px; }
.btn--sm .btn-dot svg { width: 15px; height: 15px; }
.btn--lg { --h: 60px; font-size: 16.5px; padding-left: 28px; }

.btn--copper { background: var(--cuivre); color: var(--noir); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 12px 26px -16px rgb(0 0 0 / 0.7); }
.btn--copper .btn-dot { background: var(--noir); color: var(--lumiere); }
.btn--dark { background: var(--noir); color: var(--platre); box-shadow: 0 14px 34px -16px rgb(14 13 12 / 0.7); }
.btn--dark .btn-dot { background: var(--cuivre); color: var(--noir); }
.btn--ghost { box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 30%, transparent); }
.btn--ghost .btn-dot { background: color-mix(in oklab, currentColor 10%, transparent); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-dot { transform: translateX(3px) scale(1.06); }
  .btn--copper:hover { background: color-mix(in oklab, var(--cuivre) 86%, var(--lumiere)); }
  .btn--dark:hover { background: var(--noir-3); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 70%, transparent); }
}

.link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 560;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
  text-decoration-color: color-mix(in oklab, currentColor 35%, transparent);
  transition: text-decoration-color 300ms var(--ease-out);
}
.link svg { width: 18px; height: 18px; flex: none; transition: transform 420ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .link:hover svg { transform: translateX(3px); }
}

/* ---------- light line (the club's copper LED strip) ---------- */
.light-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lumiere) 12%, var(--lumiere) 88%, transparent);
  box-shadow: var(--glow);
  transform-origin: left center;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 500ms var(--ease-out), box-shadow 500ms var(--ease-out), backdrop-filter 500ms var(--ease-out);
}
.nav.is-solid {
  background: rgb(14 13 12 / 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgb(236 234 229 / 0.07);
}
.nav-inner {
  height: var(--nav); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; min-height: 44px; }
.brand img { width: 32px; height: 32px; }
.brand-word { font-size: 14.5px; font-weight: 520; letter-spacing: 0.42em; text-transform: uppercase; margin-right: -0.42em; }
.nav-links ul { display: flex; gap: 6px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 14.5px; font-weight: 460;
  color: color-mix(in oklab, var(--platre) 72%, var(--noir));
  text-decoration: underline 1px transparent; text-underline-offset: 8px;
  transition: color 300ms var(--ease-out), text-decoration-color 300ms var(--ease-out);
}
.nav-links a[aria-current="true"] { color: var(--platre); text-decoration-color: var(--cuivre); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--platre); } }

.burger { display: none; width: 44px; height: 44px; place-items: center; margin-right: -10px; }
.burger-lines { position: relative; width: 22px; height: 10px; }
.burger-lines span {
  position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform 420ms var(--ease-soft), top 420ms var(--ease-soft);
}
.burger-lines span:first-child { top: 0; }
.burger-lines span:last-child { top: 8.5px; }
.burger[aria-expanded="true"] .burger-lines span:first-child { top: 4.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:last-child { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-inner { gap: 14px; }
}
@media (max-width: 420px) {
  .brand-word { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--noir);
  padding: calc(var(--nav) + env(safe-area-inset-top, 0px) + 12px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity 160ms var(--ease-out);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transition-duration: 300ms; }
.menu-inner { padding-inline: var(--gutter); display: flex; flex-direction: column; gap: 32px; min-height: 100%; }
.menu-list a {
  display: block; padding: 8px 0;
  font-size: clamp(30px, 8.5vw, 44px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.12;
  opacity: 0; transform: translateY(18px);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-soft), color 300ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms + 60ms);
}
.menu.is-open .menu-list a { opacity: 1; transform: none; }
.menu-list a[aria-current="true"] { color: var(--lumiere); }
.menu-cta { align-self: flex-start; margin-top: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav) + env(safe-area-inset-top, 0px) + clamp(28px, 6vh, 72px));
  padding-bottom: calc(var(--medal) * 0.5 + clamp(48px, 8vh, 96px));
  display: flex; align-items: center;
  overflow: clip;
}
.hero::before {
  /* the warm spill of the LED on the black wall */
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
  background: radial-gradient(60% 70% at 70% 100%, rgb(240 178 122 / 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; }
.hero-title {
  margin-top: 26px;
  font-size: clamp(44px, 5.6vw, 88px);
  font-weight: 280;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-title strong { font-weight: 620; letter-spacing: -0.042em; }
.hero-lede { margin-top: 28px; max-width: 26em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.next {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px;
  font-size: 14.5px; color: color-mix(in oklab, var(--platre) 74%, var(--noir));
}
.next strong { color: var(--platre); font-weight: 560; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lumiere); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lumiere); animation: live 2.4s var(--ease-out) infinite; }
  @keyframes live { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.2); opacity: 0; } }
}

.hero-media { position: relative; }
.hero-photo {
  position: relative; z-index: 1;
  height: min(64svh, 700px); min-height: 440px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--noir-3);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.9);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transition: opacity 700ms var(--ease-out); }
.light-line--hero { position: absolute; z-index: 2; left: -100vw; right: -100vw; bottom: 0; }
.medal {
  position: absolute; z-index: 3;
  width: var(--medal); height: var(--medal);
  left: calc(var(--medal) * -0.5); bottom: calc(var(--medal) * -0.5);
  filter: drop-shadow(0 24px 40px rgb(0 0 0 / 0.55));
  transition: opacity 600ms var(--ease-out);
}
.hero-gl { position: absolute; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 900ms var(--ease-out); }
.gl-live .hero-gl { opacity: 1; }
.gl-ready .medal { opacity: 0; }
.gl-ready .hero-photo img { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .light-line--hero { animation: draw 1800ms var(--ease-move) 200ms both; }
  .js .hero-copy > * { animation: rise 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
  @keyframes draw { from { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
}

/* ---------- reveal grammar: text rises, photos open ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal].is-armed { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  .js [data-reveal].is-armed.is-in { opacity: 1; transform: none; filter: none; transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out), filter 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
  /* the frame stays unclipped so IntersectionObserver can see it; the photo inside opens */
  .js [data-reveal-img].is-armed { background: transparent; }
  .js [data-reveal-img].is-armed img { clip-path: inset(100% 0 0 0); transform: scale(1.14); }
  .js [data-reveal-img].is-armed.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); transition: clip-path 1000ms var(--ease-soft), transform 1300ms var(--ease-soft); transition-delay: var(--d, 0ms); }
}

.ph { border-radius: var(--r-lg); overflow: hidden; background: var(--noir-3); }
.t-light .ph { background: color-mix(in oklab, var(--noir) 10%, var(--platre)); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .ph img { transition: transform 900ms var(--ease-out); }
  .ph:hover img { transform: scale(1.04); }
}

/* ---------- le club ---------- */
.club { padding-block: clamp(110px, 13vw, 200px) clamp(90px, 10vw, 160px); }
.manifesto {
  max-width: 19em;
  font-size: clamp(34px, 4.5vw, 70px);
  font-weight: 280; line-height: 1.04; letter-spacing: -0.04em;
  text-wrap: pretty;
}
.manifesto strong { font-weight: 620; }
.club-band { margin-top: clamp(64px, 8vw, 120px); }
.club-band-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--noir); }
.club-band-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.12); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .club-band-img img { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { transform: translateY(-6%) scale(1.14); } to { transform: translateY(6%) scale(1.14); } }
  }
}
.club-band figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.club-band figcaption span { color: var(--fg); font-weight: 600; }
.trio { margin-top: clamp(72px, 8vw, 120px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.trio-item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-content: start;
  padding-top: 26px; border-top: 1px solid color-mix(in oklab, var(--noir) 28%, var(--platre));
}
.trio-title { font-size: clamp(22px, 1.9vw, 28px); font-weight: 560; letter-spacing: -0.025em; line-height: 1.1; }
.trio-text { grid-column: 1; font-size: 16px; color: var(--muted); max-width: 26em; }
.trio-go {
  grid-column: 2; grid-row: 1 / span 2; align-self: start;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--noir) 26%, var(--platre));
  transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), transform 500ms var(--ease-soft), box-shadow 400ms var(--ease-out);
}
.trio-go svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .trio-item:hover .trio-go { background: var(--noir); color: var(--lumiere); box-shadow: none; transform: translateX(4px); }
}

/* ---------- studio reformer ---------- */
.reformer { padding-block: clamp(110px, 13vw, 200px); }
.reformer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.reformer-copy { position: sticky; top: calc(var(--nav) + 48px); display: flex; flex-direction: column; align-items: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 36px; }
.chips li {
  padding: 9px 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--platre) 22%, var(--noir));
  font-size: 14.5px; color: color-mix(in oklab, var(--platre) 86%, var(--noir));
}
.chips [lang="zh-Hans"] { margin-left: 6px; color: var(--lumiere); }
.reformer-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.reformer-photos .ph { aspect-ratio: 3 / 4; }
.reformer-photos .ph-2, .reformer-photos .ph-4 { margin-top: 22%; }
.reformer-photos .ph-3 img { object-position: 50% 30%; }

/* ---------- plateau ---------- */
.plateau { position: relative; padding-block: clamp(100px, 12vw, 180px); }
.plateau::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule); }
.plateau-head { max-width: 56rem; }
.bento {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(14px, 1.6vw, 24px);
}
.bento-a { grid-row: 1 / 3; min-height: 100%; }
.bento-b, .bento-c { aspect-ratio: 4 / 5; }
.bento-b img { object-position: 50% 55%; }
.bento-d {
  grid-column: 2 / 4;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(24px, 2.6vw, 40px);
  border-radius: var(--r-lg);
  background: var(--noir-2);
  box-shadow: inset 0 1px 0 rgb(236 234 229 / 0.06);
}
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact-k { display: block; font-size: 19px; font-weight: 580; letter-spacing: -0.02em; }
.fact-v { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.bento-d .btn { align-self: flex-start; }

/* ---------- programme ---------- */
.programme { padding-block: clamp(110px, 12vw, 190px); background: radial-gradient(70% 50% at 50% 0%, rgb(240 178 122 / 0.06), transparent 70%), var(--noir); }
.steps { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); --gap: clamp(20px, 2.6vw, 44px); }
.step-photo { aspect-ratio: 4 / 5; }
.step-photo img { object-position: 50% 25%; }
.step-node { position: relative; display: block; height: 14px; margin: 30px 0 22px; }
.step-node::before {
  content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; z-index: 1;
  background: var(--noir); box-shadow: inset 0 0 0 1.5px var(--lumiere);
}
.step-node::after {
  content: ""; position: absolute; left: 7px; top: 6.5px; height: 1px; width: calc(100% + var(--gap));
  background: var(--lumiere); box-shadow: var(--glow);
  transform-origin: left center;
}
.step:last-child .step-node::after { display: none; }
.step-title { font-size: clamp(22px, 1.9vw, 28px); font-weight: 560; letter-spacing: -0.025em; }
.step p { margin-top: 10px; color: var(--muted); max-width: 28em; }
@media (prefers-reduced-motion: no-preference) {
  .js .steps.is-armed .step-node::after { transform: scaleX(0); }
  .js .steps.is-armed .step-node::before { transform: scale(0.4); opacity: 0; }
  .js .steps.is-armed.is-in .step-node::before { transform: none; opacity: 1; transition: transform 600ms var(--ease-soft), opacity 400ms var(--ease-out); }
  .js .steps.is-armed.is-in .step-node::after { transform: scaleX(1); transition: transform 1100ms var(--ease-move); }
  .js .steps.is-armed.is-in .step:nth-child(1) .step-node::before { transition-delay: 300ms; }
  .js .steps.is-armed.is-in .step:nth-child(1) .step-node::after { transition-delay: 450ms; }
  .js .steps.is-armed.is-in .step:nth-child(2) .step-node::before { transition-delay: 1300ms; }
  .js .steps.is-armed.is-in .step:nth-child(2) .step-node::after { transition-delay: 1450ms; }
  .js .steps.is-armed.is-in .step:nth-child(3) .step-node::before { transition-delay: 2300ms; }
}
.programme-note { margin-top: clamp(48px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 18px; color: var(--muted); }
.programme-note .link { color: var(--platre); }

/* ---------- planning ---------- */
.planning { padding-block: clamp(110px, 12vw, 180px); }

.zh { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--noir); color: var(--lumiere); font-size: 12.5px; vertical-align: 1px; }

.app { margin-top: clamp(48px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 26px clamp(22px, 2.6vw, 36px); border-radius: var(--r-lg); background: var(--platre-2); box-shadow: inset 0 0 0 1px var(--rule); }
.app-text { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.app-text svg { width: 26px; height: 26px; color: var(--cuivre); flex: none; }
.app-links { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 1px;
  min-width: 190px; min-height: 60px; padding: 9px 22px;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--noir) 26%, var(--platre));
  transition: transform 160ms var(--ease-out), background-color 300ms var(--ease-out);
}
.store--dark { background: var(--noir); color: var(--platre); box-shadow: none; }
.store-small { font-size: 12px; opacity: 0.74; }
.store-big { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.store:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .store:hover { background: color-mix(in oklab, var(--noir) 6%, var(--platre-2)); }
  .store--dark:hover { background: var(--noir-3); }
}

/* ---------- formules: the member card ---------- */
.formules { padding-block: clamp(40px, 5vw, 80px) clamp(110px, 12vw, 180px); }
.decouverte {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center;
  padding: clamp(32px, 5vw, 80px) 0 clamp(72px, 8vw, 120px);
}
.card-stage { perspective: 1300px; display: grid; place-items: center; }
.member-card {
  --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%; --glare: 0;
  position: relative;
  width: min(100%, 470px); aspect-ratio: 1.586;
  border-radius: 24px;
  padding: clamp(20px, 2.4vw, 30px);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; column-gap: 16px;
  color: var(--platre);
  background:
    radial-gradient(120% 90% at 18% 0%, #2c2621 0%, transparent 60%),
    radial-gradient(90% 80% at 100% 100%, #1d1916 0%, transparent 70%),
    var(--noir);
  box-shadow:
    inset 0 0 0 1px rgb(192 130 84 / 0.5),
    inset 0 1px 0 rgb(255 230 205 / 0.12),
    0 50px 90px -40px rgb(14 13 12 / 0.75),
    0 18px 36px -18px rgb(14 13 12 / 0.5);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
}
.member-card::before {
  content: ""; position: absolute; inset: 10px; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(240 178 122 / 0.16);
}
.member-card-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), rgb(255 226 196 / 0.32), rgb(240 178 122 / 0.08) 28%, transparent 55%);
  mix-blend-mode: screen;
  opacity: calc(0.35 + var(--glare) * 0.65);
}
.member-card-k { grid-column: 1; grid-row: 1; width: 44px; height: 44px; }
.member-card-brand { grid-column: 2; grid-row: 1; align-self: center; font-size: 11px; font-weight: 520; letter-spacing: 0.38em; text-transform: uppercase; color: color-mix(in oklab, var(--platre) 70%, var(--noir)); }
.member-card-title { grid-column: 1 / -1; grid-row: 3; font-size: clamp(17px, 1.5vw, 21px); font-weight: 520; letter-spacing: -0.01em; }
.member-card-price { grid-column: 2; grid-row: 2 / 4; align-self: end; display: flex; align-items: flex-start; gap: 4px; color: var(--lumiere); line-height: 0.85; }
.member-card-price .num { font-size: clamp(72px, 7vw, 112px); font-weight: 240; letter-spacing: -0.06em; }
.member-card-cur { font-size: clamp(22px, 2vw, 30px); font-weight: 400; margin-top: 0.3em; }
.member-card-meta { grid-column: 1 / -1; grid-row: 4; margin-top: 4px; font-size: 13.5px; color: color-mix(in oklab, var(--platre) 66%, var(--noir)); }
@media (prefers-reduced-motion: no-preference) {
  .member-card.is-idle { animation: hover-card 7s ease-in-out infinite; }
  @keyframes hover-card {
    0%, 100% { transform: rotateX(6deg) rotateY(-10deg); }
    50% { transform: rotateX(-4deg) rotateY(8deg); }
  }
}
.ticks { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.ticks li { display: flex; align-items: baseline; gap: 14px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--cuivre); transform: translateY(-5px); }
.decouverte-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; }

.offers { padding-top: clamp(64px, 7vw, 110px); border-top: 1px solid color-mix(in oklab, var(--noir) 22%, var(--platre)); }
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  margin-top: 40px; padding: 5px; border-radius: 999px;
  background: color-mix(in oklab, var(--noir) 7%, var(--platre));
  max-width: 100%;
}
.seg-pill {
  /* sized to the active tab; app.js slides it with a FLIP transform (no layout animation) */
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
  background: var(--noir);
  transform-origin: left center;
}
.seg-btn {
  position: relative; z-index: 1;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 560; white-space: nowrap;
  color: color-mix(in oklab, var(--noir) 72%, var(--platre));
  transition: color 220ms var(--ease-out), transform 160ms var(--ease-out);
}
.seg-btn[aria-selected="true"] { color: var(--platre); }
.seg:not(.has-pill) .seg-btn[aria-selected="true"] { background: var(--noir); }

.panel { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.panel[hidden] { display: none; }
#panel-reformer, #panel-coaching { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.offer {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--r-lg);
  background: var(--platre-2);
  box-shadow: inset 0 0 0 1px var(--rule), 0 1px 0 rgb(255 255 255 / 0.6);
}
.offer--dark {
  background: var(--noir); color: var(--platre);
  --fg: var(--platre); --bg: var(--noir); --muted: color-mix(in oklab, var(--platre) 68%, var(--noir)); --rule: color-mix(in oklab, var(--platre) 16%, var(--noir));
  box-shadow: inset 0 1px 0 rgb(236 234 229 / 0.06), 0 30px 60px -36px rgb(14 13 12 / 0.7);
}
.offer--dark :focus-visible { outline-color: var(--lumiere); }
.offer-name { font-size: clamp(21px, 1.7vw, 25px); font-weight: 580; letter-spacing: -0.02em; line-height: 1.15; }
.offer-tag { margin-top: -10px; font-size: 12px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--cuivre) 72%, var(--noir)); }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.offer-price .num { font-size: clamp(42px, 3.8vw, 56px); font-weight: 280; letter-spacing: -0.05em; line-height: 1; }
.offer-price--big .num { font-size: clamp(58px, 5.4vw, 84px); color: var(--lumiere); }
.offer-from, .offer-unit { font-size: 15px; color: var(--muted); }
.offer-text { color: var(--muted); }
.offer-lines { display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; line-height: 1.4; }
.offer-lines li { display: flex; align-items: baseline; gap: 12px; }
.offer-lines li::before { content: ""; flex: none; width: 12px; height: 1px; background: currentColor; opacity: 0.5; transform: translateY(-4px); }
.offer-options > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--rule); }
.offer-options dt { display: flex; flex-direction: column; font-size: 16.5px; font-weight: 560; }
.offer-options dt span { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.offer-options dd { font-size: 24px; font-weight: 320; letter-spacing: -0.03em; white-space: nowrap; }
.offer-note { margin-top: auto; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--cuivre); color: var(--noir); font-size: 14px; font-weight: 600; }
.offer-cta { margin-top: auto; align-self: flex-start; }
.picker legend { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.picker-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.picker-opts label { position: relative; cursor: pointer; }
.picker-opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.picker-opts span {
  display: grid; place-items: center; min-height: 52px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--platre) 22%, var(--noir));
  font-size: 19px; font-weight: 400; font-variant-numeric: tabular-nums;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 160ms var(--ease-out);
}
.picker-opts input:checked + span { background: var(--cuivre); color: var(--noir); box-shadow: none; font-weight: 600; }
.picker-opts input:focus-visible + span { outline: 2px solid var(--lumiere); outline-offset: 3px; }
.picker-opts label:active span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .picker-opts input:not(:checked) + span:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--platre) 55%, var(--noir)); } }
.num-swap { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .num-swap.is-swapping { animation: swap 300ms var(--ease-out); }
  @keyframes swap { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
}
.formules-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.formules-foot strong { color: var(--fg); font-weight: 600; }

/* ---------- avis ---------- */
.avis { padding-block: clamp(110px, 12vw, 180px); }
.avis-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-ctrl { display: flex; gap: 10px; }
.round-btn {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--platre) 26%, var(--noir));
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), opacity 300ms var(--ease-out), transform 160ms var(--ease-out);
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn--prev svg { transform: scaleX(-1); }
.round-btn:disabled { opacity: 0.3; cursor: default; }
.round-btn:not(:disabled):active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .round-btn:not(:disabled):hover { background: var(--platre); color: var(--noir); } }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(460px, 84vw);
  margin-top: clamp(44px, 5vw, 72px);
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; }
.quote {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 26px;
  padding: 4px clamp(28px, 3vw, 48px) 4px 0; margin-right: clamp(28px, 3vw, 48px);
  border-right: 1px solid var(--rule);
}
.quote:last-child { border-right: 0; }
.stars { display: flex; gap: 4px; color: var(--lumiere); }
.stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0; font-size: clamp(20px, 1.65vw, 24px); font-weight: 300; line-height: 1.4; letter-spacing: -0.02em; text-wrap: pretty; }
.quote blockquote::before { content: "« "; }
.quote blockquote::after { content: " »"; }
.quote figcaption { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.quote-author { font-weight: 600; }
.quote-when { color: var(--muted); }

/* ---------- faq ---------- */
.faq { padding-block: clamp(90px, 10vw, 150px); border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 112px); align-items: start; }
.faq-title { position: sticky; top: calc(var(--nav) + 48px); font-size: clamp(40px, 4.6vw, 72px); }
.qa { border-bottom: 1px solid var(--rule); }
.qa:first-child { border-top: 1px solid var(--rule); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 76px; padding: 20px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 1.4vw, 20.5px); font-weight: 460; letter-spacing: -0.015em; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-icon {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--platre) 26%, var(--noir));
  transition: transform 300ms var(--ease-out), background-color 240ms var(--ease-out), color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.qa-icon svg { width: 18px; height: 18px; }
.qa[open] .qa-icon { transform: rotate(45deg); background: var(--cuivre); color: var(--noir); box-shadow: none; }
.qa-body p { padding: 0 64px 28px 0; max-width: 40em; color: var(--muted); line-height: 1.65; text-wrap: pretty; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
@media (hover: hover) and (pointer: fine) { .qa:not([open]) summary:hover .qa-icon { box-shadow: inset 0 0 0 1px var(--platre); } }

/* ---------- contact ---------- */
.contact { padding-block: clamp(90px, 10vw, 160px); background: var(--noir-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 6vw, 112px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 12px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--platre) 72%, var(--noir)); }
.optional { margin-left: 6px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input {
  font: inherit; font-size: 19px; color: var(--platre);
  background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--platre) 30%, var(--noir-2));
  padding: 10px 0 12px; caret-color: var(--lumiere);
  transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.field input:focus { outline: none; border-bottom-color: var(--lumiere); box-shadow: 0 1px 0 var(--lumiere); }
.field input[aria-invalid="true"] { border-bottom-color: var(--lumiere); }
.field-err { font-size: 13.5px; color: var(--lumiere); }
.interest-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.interest-opts label { position: relative; cursor: pointer; }
.interest-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.interest-opts span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--platre) 28%, var(--noir-2));
  font-size: 15px; font-weight: 500;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.interest-opts input:checked + span { background: var(--platre); color: var(--noir); box-shadow: none; }
.interest-opts input:focus-visible + span { outline: 2px solid var(--lumiere); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form-legal { font-size: 14px; color: var(--muted); max-width: 26em; }
.form-msg { font-size: 15px; color: var(--lumiere); }
.form-msg:empty { display: none; }
.form.is-sending .btn { opacity: 0.7; pointer-events: none; }
.form-done {
  grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg);
  background: var(--noir); box-shadow: inset 0 0 0 1px rgb(240 178 122 / 0.28);
}
.form-done[hidden] { display: none; }
.form-done-title { font-size: clamp(26px, 2.4vw, 34px); font-weight: 560; letter-spacing: -0.025em; }
.form-done p:not(.form-done-title) { color: var(--muted); }
.form-done:focus { outline: none; }

/* ---------- accès ---------- */
.acces { padding-block: clamp(90px, 10vw, 160px); }
.acces-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(32px, 6vw, 112px); align-items: end; }
.acces-addr { margin-top: 32px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.2; }
.acces-transit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 16px; color: var(--muted); }
.transit { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; font-size: 13px; font-weight: 640; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--platre); }
.transit--metro { border-radius: 50%; width: 28px; padding: 0; }
.transit--tram { border-radius: 6px; }
.acces-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.hours-card { padding: clamp(26px, 3vw, 44px); border-radius: var(--r-lg); background: var(--noir-2); box-shadow: inset 0 1px 0 rgb(236 234 229 / 0.06); }
.hours-status { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 520; }
.hours-status:not(.is-open) .live-dot { background: color-mix(in oklab, var(--platre) 40%, var(--noir)); box-shadow: none; }
.hours-status:not(.is-open) .live-dot::after { display: none; }
.hours { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { padding: 16px 0; border-top: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 300; letter-spacing: -0.01em; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--lumiere); font-weight: 560; }

/* ---------- finale & footer ---------- */
.finale { position: relative; padding-block: clamp(110px, 13vw, 210px) clamp(80px, 9vw, 140px); overflow: clip; }
.light-line--finale { position: absolute; top: 0; left: 0; right: 0; }
.finale::after { content: ""; position: absolute; inset: 0 0 auto; height: 70%; background: radial-gradient(50% 60% at 50% 0%, rgb(240 178 122 / 0.12), transparent 70%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .light-line--finale.is-armed { transform: scaleX(0); opacity: 0; }
  .js .light-line--finale.is-armed.is-in { transform: scaleX(1); opacity: 1; transition: transform 1800ms var(--ease-move), opacity 600ms var(--ease-out); }
}
.finale-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 112px); align-items: end; }
.finale-title { font-size: clamp(60px, 10.5vw, 176px); font-weight: 260; line-height: 0.9; letter-spacing: -0.06em; }
.finale-side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.footer { padding: clamp(40px, 5vw, 72px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.wordmark { width: 100%; height: auto; opacity: 0.95; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 40px; margin-top: clamp(32px, 4vw, 56px); padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); transition: color 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--platre); } }
.footer-legal { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 959px) {
  :root { --medal: clamp(150px, 40vw, 240px); }
  .hero { min-height: auto; display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 72svh; }
  .medal { left: 18px; }
  .reformer-grid, .faq-grid, .contact-grid, .acces-grid, .finale-grid, .decouverte { grid-template-columns: minmax(0, 1fr); }
  .reformer-copy, .faq-title { position: static; }
  .reformer-photos, .steps {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(76vw, 360px);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .reformer-photos::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .reformer-photos .ph { margin-top: 0 !important; scroll-snap-align: start; }
  .step { scroll-snap-align: start; }
  .reformer-photos { margin-top: 48px; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento-a { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .bento-d { grid-column: 1 / -1; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .trio-item { padding-block: 22px; }

  .form-done { grid-column: 1; }
  .formules-foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .hero { padding-top: calc(var(--nav) + env(safe-area-inset-top, 0px) + 28px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: space-between; }
  .hero-actions .btn--ghost { justify-content: center; }
  .club-band-img { aspect-ratio: 4 / 3; }
  .panel, #panel-reformer, #panel-coaching { grid-template-columns: minmax(0, 1fr); }
  .seg { display: grid; width: 100%; grid-auto-columns: auto; }
  .seg-btn { padding: 0 10px; font-size: 14px; }
  .avis-head { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .form-foot .btn { width: 100%; justify-content: space-between; }
  .qa-body p { padding-right: 0; }
  .app-links, .store { width: 100%; }
  .acces-links { flex-direction: column; align-items: flex-start; }
  .finale-side .btn, .decouverte-actions .btn { width: 100%; justify-content: space-between; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-b, .bento-c { aspect-ratio: 4 / 3; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .nav, .menu, .rail-ctrl, .skip, .hero-gl, body::after { display: none !important; }
}

/* fixes after the first review round */

.interest-opts label { text-transform: none; letter-spacing: 0; font-size: inherit; font-weight: inherit; color: var(--platre); }

/* ---------- review round 1 ---------- */
/* the oak wainscot of the club, made from a clean patch of its own wall */
.oak-band {
  height: clamp(56px, 6.4vw, 104px);
  background:
    linear-gradient(to bottom, rgb(14 13 12 / 0.55), rgb(14 13 12 / 0) 26%, rgb(14 13 12 / 0) 70%, rgb(14 13 12 / 0.5)),
    url("/assets/img/chene-tasseaux.webp") left center / auto 100% repeat-x;
  box-shadow: inset 0 1px 0 rgb(255 226 196 / 0.22);
}
.panel { align-items: start; }
.contact .display { font-size: clamp(40px, 4vw, 64px); }

@media (max-width: 959px) {
  :root { --medal: clamp(118px, 32vw, 190px); }
  /* first viewport on phones: headline, then the window and the medallion, then the offer */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-title { order: 1; margin-top: 0; }
  .hero-media { order: 2; margin-top: 26px; }
  .hero-lede { order: 3; margin-top: calc(var(--medal) * 0.22 + 26px); }
  .hero-actions { order: 4; margin-top: 26px; }
  .next { order: 5; margin-top: 18px; }
  .hero-photo { aspect-ratio: auto; height: clamp(220px, 33svh, 330px); max-height: none; }
  .hero-photo img { object-position: 60% 26%; }
  .medal { left: auto; right: 16px; bottom: calc(var(--medal) * -0.22); }
  .hero { padding-bottom: clamp(56px, 9vh, 96px); }
}
@media (max-width: 639px) {
  .hero-actions { gap: 4px; }
  .hero-actions .btn--ghost { box-shadow: none; height: auto; min-height: 44px; padding: 0; justify-content: flex-start; align-self: flex-start; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
}

/* ---------- planning, indicative (no class times: the live timetable is in the app) ---------- */
.rhythm { margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid color-mix(in oklab, var(--noir) 28%, var(--platre)); }
.rhythm-row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px clamp(24px, 4vw, 64px); align-items: baseline;
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
}
.rhythm-row dt { font-size: 12px; font-weight: 560; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.rhythm-row dd { font-size: clamp(24px, 2.6vw, 40px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.15; text-wrap: balance; }
.rhythm-row .zh { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--noir); color: var(--lumiere); font-size: 0.42em; letter-spacing: 0; vertical-align: 0.35em; }
.rhythm-foot { margin-top: 18px; max-width: 52em; font-size: 14.5px; color: var(--muted); }
@media (max-width: 639px) {
  .rhythm-row { grid-template-columns: minmax(0, 1fr); }
}
.rhythm-row .zh { font-size: 15px; font-weight: 500; padding: 3px 12px; vertical-align: 0.3em; }
@media (max-width: 639px) { .rhythm-row .zh { font-size: 14px; } }

/* ---------- conversion pass: the offer sits right under the hero ---------- */
.decouverte-section { padding-block: clamp(72px, 8vw, 128px); }
.decouverte { padding: 0 var(--gutter); }
.formules { padding-block: clamp(110px, 12vw, 180px); }
.offers { padding-top: 0; border-top: 0; }
.decouverte-actions { gap: 10px; }
.decouverte-actions .store { min-width: 200px; }
.decouverte-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.decouverte-note .stars { color: var(--cuivre); }
.decouverte-note .link { color: var(--fg); }
.formules-how { margin-top: 22px; font-size: 15.5px; color: var(--muted); }

/* press feedback on every pressable thing, not only buttons */
.link { transition: text-decoration-color 300ms var(--ease-out), transform 160ms var(--ease-out); }
.link:active { transform: scale(0.98); }
.seg-btn:active { transform: scale(0.97); }
.trio-item:active .trio-go { transform: scale(0.94); }
.qa summary:active .qa-icon { transform: scale(0.94); }
.qa[open] summary:active .qa-icon { transform: rotate(45deg) scale(0.94); }
@media (max-width: 639px) {
  .decouverte-actions .store { flex: 1 1 100%; }
}
@media (max-width: 959px) {
  .decouverte { gap: 30px; }
}
@media (max-width: 639px) {
  .decouverte-section { padding-top: 32px; }
  .member-card { width: min(100%, 320px); }
  .ticks { margin-top: 18px; font-size: 16.5px; gap: 8px; }
  .decouverte-actions { margin-top: 24px; }
}

/* audit pass */
.avis-links { display: flex; align-items: center; gap: 18px; }
@media (max-width: 639px) { .avis-links { width: 100%; justify-content: space-between; } }

/* the copy stands on the light line like the medallion: whatever the window height,
   the line runs under the text, never through it */
@media (min-width: 960px) {
  .hero-grid { align-items: end; }
  .hero-copy { padding-bottom: clamp(26px, 3.6vh, 40px); }
}

/* ---------- WhatsApp & Instagram ---------- */
.wa-float {
  position: fixed; z-index: 44;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--noir); color: var(--platre);
  box-shadow: inset 0 0 0 1px rgb(236 234 229 / 0.16), 0 14px 30px -12px rgb(0 0 0 / 0.75);
  font-size: 14.5px; font-weight: 560;
  transition: transform 160ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.wa-float svg { width: 22px; height: 22px; color: var(--lumiere); }
.wa-float:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { box-shadow: inset 0 0 0 1px rgb(240 178 122 / 0.6), 0 14px 30px -12px rgb(0 0 0 / 0.75); } }
.menu:not([hidden]) ~ .wa-float { display: none; }
@media (max-width: 639px) {
  .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
  .wa-float svg { width: 25px; height: 25px; }
}
@media print { .wa-float { display: none !important; } }

.contact-wa { align-self: flex-start; margin-top: 4px; }
.contact-wa-label { display: inline-flex; align-items: center; gap: 10px; }
.contact-wa-label svg { width: 18px; height: 18px; color: var(--lumiere); }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--rule);
  transition: color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 160ms var(--ease-out);
}
.footer-social a:active { transform: scale(0.94); }
.footer-social svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .footer-social a:hover { color: var(--platre); box-shadow: inset 0 0 0 1px var(--platre); } }
.wa-float { transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }

/* one buy / subscribe button per formula, same copper pill as the Découverte */
.offer-buy { margin-top: auto; align-self: flex-start; }
.offer-note + .offer-buy { margin-top: 0; }
.offer:has(.offer-buy) .offer-note { margin-top: 4px; }

/* ---------- shop panel (Jayne web shop in an iframe) ---------- */
html.shop-open { overflow: hidden; }
.shop {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(640px, 100vw); height: 100dvh; max-width: none; max-height: none;
  background: var(--platre-2); color: var(--noir);
  box-shadow: -30px 0 80px -30px rgb(0 0 0 / 0.6);
  flex-direction: column;
  transform: translateX(100%);
  /* exit is faster than entry */
  transition: transform 240ms var(--ease-out), display 240ms allow-discrete, overlay 240ms allow-discrete;
}
.shop[open] { display: flex; transform: none; transition-duration: 420ms; transition-timing-function: var(--ease-soft); }
@starting-style { .shop[open] { transform: translateX(100%); } }
.shop::backdrop {
  background: rgb(14 13 12 / 0.55);
  opacity: 0;
  transition: opacity 240ms var(--ease-out), display 240ms allow-discrete, overlay 240ms allow-discrete;
}
.shop[open]::backdrop { opacity: 1; }
@starting-style { .shop[open]::backdrop { opacity: 0; } }
.shop-head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px; padding: 0 12px 0 24px;
  background: var(--noir); color: var(--platre);
  padding-top: env(safe-area-inset-top, 0px);
}
.shop-title { font-size: 13px; font-weight: 560; letter-spacing: 0.18em; text-transform: uppercase; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.shop-offer { letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 500; color: var(--lumiere); }
.shop-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.shop-close svg { width: 20px; height: 20px; }
.shop-close:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .shop-close:hover { background: rgb(236 234 229 / 0.1); } }
.shop-body { position: relative; flex: 1; min-height: 0; display: flex; }
.shop-frame { flex: 1; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 300ms var(--ease-out); }
.shop-frame.is-ready { opacity: 1; }
.shop-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; color: var(--muted); }
.shop-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--cuivre); animation: shop-spin 700ms linear infinite; }
@keyframes shop-spin { to { transform: rotate(360deg); } }
.shop-empty { align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 5vw, 48px); max-width: 32em; color: var(--muted); }
.shop-empty-title { font-size: clamp(26px, 3vw, 34px); font-weight: 560; letter-spacing: -0.03em; line-height: 1.1; color: var(--noir); }
.shop-empty .btn { margin-top: 8px; }
@media (max-width: 639px) {
  /* phones: a sheet that rises from the bottom */
  .shop { inset: auto 0 0 0; width: 100%; height: 94dvh; border-radius: 22px 22px 0 0; overflow: hidden; transform: translateY(100%); box-shadow: 0 -20px 60px -20px rgb(0 0 0 / 0.6); }
  @starting-style { .shop[open] { transform: translateY(100%); } }
  .shop-head { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shop, .shop[open] { transform: none; }
}
.shop-loading[hidden], .shop-empty[hidden] { display: none; }
