/* ==========================================================================
   Académie de Boxe Citoyenne — feuille de style
   Identité : béton noir, titres condensés italiques, accents rouges,
   cordes du ring (3 lignes) et numérotation « Round ».
   ========================================================================== */

/* ---------- Polices (auto-hébergées, aucune requête vers Google) ---------- */
@font-face {
  font-family: "Sofia XCond";
  src: url("../fonts/sofia-xcond-italic-latin.woff2") format("woff2");
  font-style: italic; font-weight: 1 1000; 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: "Sofia XCond";
  src: url("../fonts/sofia-xcond-italic-latin-ext.woff2") format("woff2");
  font-style: italic; font-weight: 1 1000; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sofia XCond";
  src: url("../fonts/sofia-xcond-normal-latin.woff2") format("woff2");
  font-style: normal; font-weight: 1 1000; 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: "Archivo";
  src: url("../fonts/archivo-normal-latin.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-stretch: 62% 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: "Archivo";
  src: url("../fonts/archivo-normal-latin-ext.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic-latin.woff2") format("woff2");
  font-style: italic; font-weight: 100 900; font-stretch: 62% 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;
}

/* ---------- Jetons ---------- */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-2: #111;
  --panel: #151515;
  --panel-2: #1c1c1c;
  --line: rgb(255 255 255 / .12);
  --line-strong: rgb(255 255 255 / .28);
  --text: #f4f1ec;
  --muted: #b3ada5;
  --red: #d60a0a;
  --red-hot: #ff2a1f;
  --red-text: #ff5a4f;
  --blue: #2f6bff;
  --paper: #ece7de;
  --paper-ink: #151312;

  /* Couleurs des groupes */
  --g-enfants: #ffc83d;
  --g-ados: #4f8bff;
  --g-adultes: #ff3b30;
  --g-feminin: #ff6fa5;
  --g-mma: #d8d8d8;

  --font-display: "Sofia XCond", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --step--1: clamp(.82rem, .79rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem);
  --step-4: clamp(2.25rem, 1.4rem + 3vw, 4.25rem);
  --step-5: clamp(3rem, 1.4rem + 6vw, 7.25rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: 88px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 80% at 50% 0%, rgb(255 255 255 / .05), transparent 60%),
    radial-gradient(140% 120% at 50% 120%, rgb(0 0 0 / .65), transparent 60%),
    url("../img/beton.webp");
  background-size: auto, auto, 1024px 1024px;
  background-attachment: scroll;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; text-wrap: balance; }
strong { font-weight: 700; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 2px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: .8em 1.2em; background: #fff; color: #000; font-weight: 700;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* Grain fin au-dessus de tout (purement décoratif) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 900; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .04; mix-blend-mode: overlay;
}

/* ---------- Typo utilitaire ---------- */
.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: 0;
}
.display--xl { font-size: var(--step-5); }
.display--l { font-size: var(--step-4); }
.display--m { font-size: var(--step-3); }
.display--s { font-size: var(--step-2); line-height: .92; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-body);
  font-stretch: 100%;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text);
}
.eyebrow::before {
  content: ""; width: .55em; height: .55em; border-radius: 50%;
  background: var(--red-hot); box-shadow: 0 0 0 4px rgb(255 42 31 / .18);
}
.eyebrow--plain::before { display: none; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: var(--text); max-width: 42ch; }
.muted { color: var(--muted); }
.text-red { color: var(--red-text); }
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
  -webkit-text-stroke-color: var(--text);
}
.prose { max-width: 68ch; }
.prose p, .prose li { color: #ddd8d0; }
.prose h3 { font-size: var(--step-1); margin: 1.6em 0 .5em; font-stretch: 100%; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.4em; margin-bottom: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: .7em; height: 2px; background: var(--red-hot);
}
.prose a { color: var(--red-text); }

/* ---------- Utilitaires d'espacement ---------- */
.mt-xs { margin-top: .3em; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 32px; }
.title-gap { margin: .3em 0 .4em; }
.items-start { align-items: start !important; }

/* ---------- Mise en page ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 960px); margin-inline: auto; }
.section { position: relative; padding-block: clamp(64px, 8vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--paper {
  background: var(--paper);
  color: var(--paper-ink);
  background-image: radial-gradient(120% 100% at 0% 0%, rgb(255 255 255 / .6), transparent 50%);
}
.section--paper .muted { color: #5a554f; }
.section--paper .eyebrow { color: var(--paper-ink); }
.section--paper .outline-text { -webkit-text-stroke-color: var(--paper-ink); }
.section--red { background: var(--red); color: #fff; }
.section-head {
  display: grid; gap: 24px 48px; align-items: end;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(36px, 5vw, 72px);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}
.section-head .display { margin-top: .25em; }
.section-head p { margin: 0; color: var(--muted); max-width: 46ch; }
.section--paper .section-head p { color: #4d4843; }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } }
.stack > * + * { margin-top: var(--stack, 1rem); }

/* Round : « ROUND 03 / 07 » */
.round {
  display: inline-flex; align-items: baseline; gap: .6em;
  font-stretch: 100%; font-weight: 700; font-size: var(--step--1);
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.round b { color: var(--red-text); font-weight: 900; }
.section--paper .round { color: #5a554f; }
.section--paper .round b { color: var(--red); }

/* Cordes du ring : signature visuelle */
.ropes {
  height: 22px; width: 100%;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 10px / 100% 2px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) 0 20px / 100% 2px no-repeat;
}
.section--paper .ropes {
  background:
    linear-gradient(rgb(0 0 0 / .35), rgb(0 0 0 / .35)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 10px / 100% 2px no-repeat,
    linear-gradient(rgb(0 0 0 / .35), rgb(0 0 0 / .35)) 0 20px / 100% 2px no-repeat;
}

/* ---------- Boutons & liens ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  min-height: 48px; padding: .85em 1.6em;
  border: 0; background: none; color: var(--btn-fg);
  font-stretch: 100%; font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: color .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); transform: skewX(-12deg);
  transition: transform .35s var(--ease), background-color .25s;
}
.btn:hover::before { background: var(--red-hot); transform: skewX(-12deg) scaleX(1.04); }
.btn svg { width: 1.2em; height: 1.2em; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; }
.btn--ghost::before { border: 2px solid var(--line-strong); }
.btn--ghost:hover::before { background: #fff; border-color: #fff; }
.btn--ghost:hover { color: #000; }
.btn--light { --btn-bg: #fff; --btn-fg: #000; }
.btn--light:hover::before { background: var(--paper); }
.btn--dark { --btn-bg: var(--paper-ink); --btn-fg: #fff; }
.btn--dark:hover::before { background: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.btn-row--center { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .9em;
  font-stretch: 100%; font-weight: 700; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; padding-block: .4em;
}
.arrow-link .arrow { width: 32px; height: 12px; color: var(--red-hot); transition: transform .35s var(--ease); flex: none; }
.arrow-link:hover .arrow { transform: translateX(8px); }
.arrow-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.arrow-link:hover span { background-size: 100% 2px; }
.section--paper .arrow-link .arrow { color: var(--red); }

/* ---------- En-tête (barre flottante qui se resserre au défilement) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  padding: 0 var(--gutter);
  transition: transform .5s var(--ease), padding .45s var(--ease);
}
.site-header__inner {
  position: relative;
  display: grid; align-items: center; gap: 16px;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header-h);
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: 0;
  border: 1px solid transparent; border-radius: 999px;
  transition: height .45s var(--ease), padding .45s var(--ease), background-color .35s, border-color .35s, box-shadow .35s;
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .site-header__inner {
  height: 60px; padding-inline: 14px 10px;
  background: rgb(14 14 14 / .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-color: rgb(255 255 255 / .1);
  box-shadow: 0 18px 40px -20px rgb(0 0 0 / .8);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
.site-header__logo { grid-column: 2; display: block; width: 138px; color: #fff; transition: width .45s var(--ease); }
.site-header.is-scrolled .site-header__logo { width: 104px; }
.site-header__logo svg { width: 100%; height: auto; }
.nav { display: none; }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: .45em;
  font-weight: 500; font-size: .92rem; letter-spacing: .005em;
  text-decoration: none; padding: .55em .15em; white-space: nowrap; color: rgb(244 241 236 / .82);
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25em; height: 1.5px;
  background: var(--red-hot); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"]::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red-hot); }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.header-actions .btn--cta { display: none; min-height: 42px; padding: .6em 1.2em; font-size: .74rem; }
.menu-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 44px; min-width: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .04); cursor: pointer;
  font-weight: 600; font-size: .8rem; letter-spacing: .02em;
  transition: background-color .25s, border-color .25s, color .25s;
}
.menu-toggle:hover { background: #fff; color: #000; border-color: #fff; }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease), width .3s;
}
.menu-toggle__bars::before { top: 1px; }
.menu-toggle__bars::after { top: 8px; width: 60%; }
.menu-toggle:hover .menu-toggle__bars::after { width: 100%; }
.menu-open .menu-toggle__bars::before { top: 4.5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 4.5px; width: 100%; transform: rotate(-45deg); }
.menu-toggle__label { display: none; min-width: 3.3em; text-align: left; }
@media (max-width: 1159px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-header__logo { grid-column: 1; width: 118px; }
  .site-header.is-scrolled .site-header__logo { width: 96px; }
}
@media (min-width: 640px) {
  .header-actions .btn--cta { display: inline-flex; }
  .menu-toggle__label { display: inline; }
}
@media (min-width: 1160px) {
  .nav { display: flex; gap: clamp(18px, 2vw, 34px); }
  .nav--left { grid-column: 1; grid-row: 1; }
}
.menu-open .site-header { transform: none; }
.menu-open .site-header .site-header__inner { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .nav, .menu-open .site-header .btn--cta { opacity: 0; pointer-events: none; }
.site-header .nav, .site-header .btn--cta { transition: opacity .3s; }

/* ---------- Menu plein écran ---------- */
.menu {
  --mx: calc(100% - var(--gutter) - 50px);
  --my: 38px;
  position: fixed; inset: 0; z-index: 110;
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--header-h) + 28px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background-color: #0b0b0b;
  background-image: radial-gradient(80% 60% at 100% 0%, rgb(214 10 10 / .22), transparent 60%), url("../img/beton.webp");
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at var(--mx) var(--my));
  visibility: hidden;
  transition: clip-path .8s cubic-bezier(.76, 0, .24, 1), visibility 0s linear .8s;
}
.menu-open .menu { clip-path: circle(150% at var(--mx) var(--my)); visibility: visible; transition: clip-path .9s cubic-bezier(.76, 0, .24, 1), visibility 0s; }
.menu-open { overflow: hidden; }
.menu__body { display: grid; gap: 40px; align-items: center; max-width: var(--maxw); width: 100%; margin-inline: auto; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .menu__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.menu__list { counter-reset: m; display: grid; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgb(255 255 255 / .07); }
.menu__list a {
  counter-increment: m;
  position: relative; display: flex; align-items: baseline; gap: 18px;
  padding: .12em 0 .08em;
  font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.9rem, .5rem + 2.75vw, 3.3rem); line-height: 1.02; letter-spacing: 0; text-decoration: none; white-space: nowrap;
  color: rgb(244 241 236 / .92);
  transform: translateY(105%);
  transition: transform .7s var(--ease), color .25s;
}
.menu__list a::before {
  content: counter(m, decimal-leading-zero);
  font-family: var(--font-body); font-style: normal; font-weight: 600;
  font-size: .72rem; letter-spacing: .08em; color: var(--muted); min-width: 1.8em; transform: translateY(-.9em);
}
.menu__list a::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 12px; translate: 0 -50%;
  background: linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat;
  clip-path: polygon(0 45%, 80% 45%, 80% 0, 100% 50%, 80% 100%, 80% 55%, 0 55%);
  color: var(--red-hot); opacity: 0; transform: translateX(-16px); transition: opacity .3s, transform .4s var(--ease);
}
.menu__list a:hover, .menu__list a:focus-visible, .menu__list a[aria-current="page"] { color: var(--red-hot); }
.menu__list a:hover::after, .menu__list a:focus-visible::after { opacity: 1; transform: none; }
.menu__list a[aria-current="page"]::before { color: var(--red-text); }
.menu-open .menu__list a { transform: none; }
.menu-open .menu__list li:nth-child(1) a { transition-delay: .18s; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .22s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .26s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .30s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .34s; }
.menu-open .menu__list li:nth-child(6) a { transition-delay: .38s; }
.menu-open .menu__list li:nth-child(7) a { transition-delay: .42s; }
.menu-open .menu__list li:nth-child(8) a { transition-delay: .46s; }
.menu-open .menu__list li:nth-child(9) a { transition-delay: .50s; }
.menu-open .menu__list li:nth-child(10) a { transition-delay: .54s; }
.menu-open .menu__list a:hover { transition-delay: 0s; }
.menu__aside { display: none; }
@media (min-width: 1000px) {
  .menu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .menu__aside { display: grid; gap: 16px; align-self: stretch; align-content: center; }
}
.menu__preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #000; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease) .35s, transform .8s var(--ease) .35s; }
.menu-open .menu__preview { opacity: 1; transform: none; }
.menu__preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); transform: scale(1.12); filter: grayscale(.2) contrast(1.05);
  transition: clip-path .7s var(--ease), transform 1.1s var(--ease);
}
.menu__preview img.is-active { clip-path: inset(0); transform: none; }
.menu__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / .65)); pointer-events: none; }
.menu__preview-label { position: absolute; z-index: 1; left: 18px; bottom: 14px; font-weight: 600; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }
.menu__aside .next-class { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease) .45s, transform .8s var(--ease) .45s; }
.menu-open .menu__aside .next-class { opacity: 1; transform: none; }
.menu__foot {
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center;
  max-width: var(--maxw); width: 100%; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .92rem;
  opacity: 0; transition: opacity .5s .5s;
}
.menu-open .menu__foot { opacity: 1; }
.menu__foot a { text-decoration: none; color: var(--text); }
.menu__foot a:hover { color: var(--red-text); }
.menu__contact { display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu-open .menu { transition: none; }
  .menu__list a, .menu__preview, .menu__aside .next-class, .menu__foot { transition: none !important; transform: none; }
}

/* ---------- Rideau de transition entre les pages (avec le logo) ---------- */
.curtain { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; }
.curtain__panel {
  position: absolute; inset: -2% -12%;
  background: linear-gradient(180deg, #e0140f, #b30707);
  transform: translateY(105%) skewY(-6deg);
}
.curtain__panel::after { content: ""; position: absolute; inset: 0; background: url("../img/beton.webp"); opacity: .55; mix-blend-mode: soft-light; }
.curtain__logo { position: absolute; left: 50%; top: 50%; width: min(56vw, 320px); translate: -50% -50%; color: #fff; opacity: 0; }
.curtain__logo svg { width: 100%; height: auto; overflow: visible; }
.curtain__logo path { fill: transparent; stroke: currentColor; stroke-width: 9; stroke-dasharray: 1; stroke-dashoffset: 1; }
.curtain__ropes { position: absolute; left: 0; right: 0; top: calc(50% + min(18vw, 110px)); display: grid; gap: 9px; justify-items: center; opacity: 0; }
.curtain__ropes i { display: block; height: 2px; width: min(70vw, 420px); background: rgb(255 255 255 / .85); transform: scaleX(0); }
.curtain__ropes i:nth-child(2) { background: #0a0a0a; }

/* Sortie de page : le rideau monte et le logo se dessine */
.is-leaving .curtain { visibility: visible; pointer-events: auto; }
.is-leaving .curtain__panel { animation: curtain-in .45s cubic-bezier(.76, 0, .24, 1) forwards; }
.is-leaving .curtain__logo { animation: logo-in .35s var(--ease) .15s forwards; }
.is-leaving .curtain__logo path { animation: draw .45s var(--ease) .1s forwards; }
/* Arrivée : la page apparaît sous le rideau qui s'en va */
.is-entering .curtain, .is-intro .curtain { visibility: visible; animation: curtain-hide 0s linear 1.6s forwards; }
.is-entering .curtain__panel { transform: none; animation: curtain-out .75s cubic-bezier(.76, 0, .24, 1) .12s forwards; }
.is-entering .curtain__logo { opacity: 1; animation: logo-out .45s var(--ease) forwards; }
.is-entering .curtain__logo path { fill: #fff; stroke-dashoffset: 0; }
/* Première visite de l'accueil : le logo se trace, puis le rideau s'ouvre */
.is-intro .curtain { animation-delay: 2.4s; }
.is-intro .curtain__panel { transform: none; background: #0a0a0a; animation: curtain-out .9s cubic-bezier(.76, 0, .24, 1) 1.45s forwards; }
.is-intro .curtain__logo { opacity: 1; animation: logo-out .5s var(--ease) 1.3s forwards; }
.is-intro .curtain__logo path { animation: draw .9s cubic-bezier(.65, 0, .35, 1) .1s forwards, fill-in .4s ease 1s forwards; }
.is-intro .curtain__logo path:nth-child(3n) { animation-delay: .2s, 1s; }
.is-intro .curtain__logo path:nth-child(3n+1) { animation-delay: .3s, 1.05s; }
.is-intro .curtain__ropes { opacity: 1; animation: logo-out .5s var(--ease) 1.3s forwards; }
.is-intro .curtain__ropes i { animation: rope .7s var(--ease) .55s forwards; }
.is-intro .curtain__ropes i:nth-child(2) { background: var(--red-hot); animation-delay: .65s; }
.is-intro .curtain__ropes i:nth-child(3) { animation-delay: .75s; }
@keyframes curtain-in { from { transform: translateY(105%) skewY(-6deg); } to { transform: translateY(0) skewY(0); } }
@keyframes curtain-out { from { transform: translateY(0) skewY(0); } to { transform: translateY(-108%) skewY(6deg); } }
@keyframes curtain-hide { to { visibility: hidden; } }
@keyframes logo-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes logo-out { to { opacity: 0; transform: translateY(-28px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill: #fff; } }
@keyframes rope { to { transform: scaleX(1); } }
/* Pendant l'intro, les animations du héros attendent la levée du rideau */
.is-intro .hero__title span, .is-intro .hero__sub, .is-intro .hero__lead, .is-intro .hero .btn-row, .is-intro .hero__aside { animation-delay: 1.75s !important; }
.is-intro .hero__title span:nth-child(2) { animation-delay: 1.83s !important; }
.is-intro .hero__title span:nth-child(3) { animation-delay: 1.91s !important; }
@media (prefers-reduced-motion: reduce) { .curtain { display: none !important; } }

/* ---------- Héros d'accueil ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid; align-items: end;
  padding: calc(var(--header-h) + 40px) 0 clamp(32px, 5vw, 64px);
  overflow: clip;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 78% 30%, rgb(214 10 10 / .22), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgb(47 107 255 / .08), transparent 70%);
}
.hero__bg::after {
  /* Les cordes du ring en très grand, en fond */
  content: ""; position: absolute; left: -5%; right: -5%; top: 46%; height: 140px;
  background:
    linear-gradient(rgb(255 255 255 / .06), rgb(255 255 255 / .06)) 0 0 / 100% 3px no-repeat,
    linear-gradient(rgb(214 10 10 / .35), rgb(214 10 10 / .35)) 0 60px / 100% 3px no-repeat,
    linear-gradient(rgb(255 255 255 / .06), rgb(255 255 255 / .06)) 0 120px / 100% 3px no-repeat;
  transform: rotate(-4deg);
}
.hero__grid {
  display: grid; gap: 40px; align-items: end;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1100px) { .hero__grid { grid-template-columns: minmax(0, 1.55fr) minmax(320px, .7fr); } }
.hero h1 { margin: 22px 0 0; }
.hero__title { display: block; font-size: var(--step-5); font-weight: 900; line-height: .9; }
.hero__title span { display: block; }
.hero__title .is-red { color: var(--red-hot); }
.hero__sub {
  display: block; margin-top: 22px;
  font-family: var(--font-body); font-style: normal; text-transform: none;
  font-stretch: 100%; font-weight: 600; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.25; letter-spacing: 0;
  color: var(--text); max-width: 34ch;
}
.hero__sub em { font-style: normal; color: var(--red-text); }
.hero__lead { margin: 18px 0 30px; color: var(--muted); max-width: 54ch; }
.hero__aside { display: grid; gap: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__title span { animation: rise-in .9s var(--ease) both; }
  .hero__title span:nth-child(2) { animation-delay: .08s; }
  .hero__title span:nth-child(3) { animation-delay: .16s; }
  .hero__sub, .hero__lead, .hero .btn-row { animation: fade-in .9s var(--ease) .3s both; }
  .hero__aside { animation: fade-in 1s var(--ease) .45s both; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(30%) skewY(3deg); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(16px); } }

/* Carte « prochain cours » */
.next-class {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); background: rgb(17 17 17 / .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 20px 22px; border-radius: var(--radius);
}
.next-class::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c, var(--red-hot)); }
.next-class__label { display: flex; justify-content: space-between; gap: 12px; font-stretch: 100%; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-class__live { display: inline-flex; align-items: center; gap: .5em; color: var(--red-text); }
.next-class__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: no-preference) { .next-class__live::before { animation: pulse 1.6s infinite; } }
@keyframes pulse { 50% { opacity: .25; } }
.next-class__name { margin: 10px 0 2px; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2.1rem; line-height: .95; }
.next-class__when { margin: 0; color: var(--text); font-weight: 600; }
.next-class__when span { color: var(--muted); font-weight: 400; }

/* Carte vidéo */
.video-card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border: 0; padding: 0; background: #000; cursor: pointer; border-radius: var(--radius);
  text-align: left;
}
.video-card video, .video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform .8s var(--ease); }
.video-card:hover video, .video-card:hover img { opacity: .95; transform: scale(1.04); }
.video-card__label {
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  display: flex; align-items: center; gap: 14px;
  font-stretch: 100%; font-weight: 700; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgb(0 0 0 / .8);
}
.video-card__play {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  background: var(--red); clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  transition: background-color .2s;
}
.video-card:hover .video-card__play { background: var(--red-hot); }
.video-card__play svg { width: 18px; height: 18px; margin-left: 3px; }

/* Bandeau de chiffres */
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px);
}
.facts > div { padding: 22px 16px 4px 0; }
.facts dt { font-stretch: 100%; font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); order: 2; }
.facts dd { margin: 0 0 4px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(2.1rem, 1.7rem + 1.4vw, 3rem); line-height: 1; text-transform: uppercase; }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* ---------- Défilé (marquee) ---------- */
.marquee {
  position: relative; z-index: 2;
  display: flex; overflow: hidden;
  background: var(--red); color: #fff;
  transform: rotate(-2deg) scale(1.04);
  box-shadow: 0 20px 50px rgb(0 0 0 / .4);
}
.marquee-wrap { overflow: clip; padding-block: clamp(32px, 5vw, 64px); }
.marquee-wrap--flat { padding: 0; }
.marquee--flat { transform: none; }
.marquee__track {
  flex: none; display: flex; align-items: center; gap: 2.2rem; padding: 18px 2.2rem 18px 0;
  font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); line-height: 1; white-space: nowrap;
}
.marquee__track li { display: flex; align-items: center; gap: 2.2rem; }
.marquee__track li::after { content: ""; width: .5em; height: .5em; background: #fff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__pause {
  position: absolute; right: 10px; top: 50%; translate: 0 -50%; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5);
  background: rgb(0 0 0 / .35); cursor: pointer; display: grid; place-items: center;
}
.marquee__pause svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .marquee__pause { display: none; } }

/* ---------- Bandeau de page intérieure ---------- */
.page-hero {
  position: relative; overflow: clip;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(40px, 5vw, 72px);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1) contrast(1.15); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 10%, rgb(10 10 10 / .55) 60%, rgb(10 10 10 / .8)), linear-gradient(0deg, var(--bg), transparent 40%); }
.page-hero .eyebrow { margin-top: 28px; }
.page-hero h1 { margin-top: 20px; }
.page-hero .lead { margin-top: 24px; color: #ddd8d0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5em; font-size: .78rem; font-stretch: 100%; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li + li::before { content: "/"; margin-right: .5em; color: var(--red-text); }

/* ---------- Cartes de groupes (slider) ---------- */
.slider-shell { position: relative; }
.slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 380px); gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 28px; margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.slider > * { scroll-snap-align: start; }
.slider::-webkit-scrollbar { height: 4px; }
.slider::-webkit-scrollbar-thumb { background: var(--red); }
.slider-controls { display: flex; gap: 10px; }
.slider-btn {
  width: 52px; height: 52px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, border-color .2s;
}
.slider-btn:hover { background: #fff; color: #000; border-color: #fff; }
.slider-btn:disabled { opacity: .3; pointer-events: none; }
.slider-btn svg { width: 22px; height: 22px; }

.group-card {
  --c: var(--red-hot);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: 440px; border-radius: var(--radius);
  background: var(--panel); text-decoration: none; isolation: isolate;
  border: 1px solid var(--line);
}
.group-card__img { position: absolute; inset: 0; z-index: -1; }
.group-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.7); transition: filter .6s var(--ease), transform .9s var(--ease); }
.group-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .1) 20%, rgb(0 0 0 / .92) 78%); }
.group-card:hover .group-card__img img { filter: grayscale(0) contrast(1.05) brightness(.8); transform: scale(1.05); }
.group-card__top { display: flex; justify-content: space-between; align-items: start; padding: 20px 22px; }
.group-card__age {
  padding: .45em .8em; background: var(--c); color: #0a0a0a;
  font-stretch: 100%; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.group-card__num { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 3rem; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .55); }
.group-card__body { margin-top: auto; padding: 22px; }
.group-card__title { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.1rem, 1.8rem + 1vw, 2.7rem); line-height: .9; }
.group-card__meta { margin: 14px 0 18px; display: grid; gap: 4px; color: #e7e2da; font-size: .95rem; }
.group-card__meta b { color: var(--c); font-weight: 800; }
.group-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.group-card:hover::after { transform: scaleX(1); }

.c-enfants { --c: var(--g-enfants); }
.c-ados { --c: var(--g-ados); }
.c-adultes { --c: var(--g-adultes); }
.c-feminin { --c: var(--g-feminin); }
.c-mma { --c: var(--g-mma); }

/* ---------- Planning ---------- */
.planning { --cols: 1; }
.planning__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  --c: var(--text);
  display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: .5em 1.1em;
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; cursor: pointer;
  font-stretch: 100%; font-weight: 700; font-size: .88rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chip[data-filter="tous"]::before { background: conic-gradient(var(--g-enfants) 0 20%, var(--g-ados) 0 40%, var(--g-adultes) 0 60%, var(--g-feminin) 0 80%, var(--g-mma) 0); }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.planning__grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .planning__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .planning__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.day { position: relative; border: 1px solid var(--line); background: rgb(17 17 17 / .7); border-radius: var(--radius); padding: 18px 16px 16px; }
.day__name { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.day__today { display: none; font-family: var(--font-body); font-style: normal; font-stretch: 100%; font-size: .64rem; font-weight: 800; letter-spacing: .1em; color: #0a0a0a; background: var(--red-hot); padding: .35em .6em; }
.day.is-today { border-color: var(--red-hot); box-shadow: inset 0 0 0 1px var(--red-hot); }
.day.is-today .day__today { display: inline-block; }
.day__slots { display: grid; gap: 8px; }
.slot { position: relative; padding: 12px 12px 12px 16px; background: var(--panel-2); border-radius: 2px; transition: opacity .25s, transform .25s; }
.slot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.slot time { display: block; font-stretch: 100%; font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; }
.slot strong { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.45rem; line-height: 1; margin: 4px 0 2px; color: var(--c); }
.slot span { font-size: .85rem; color: var(--muted); }
.slot.is-dim { opacity: .12; }
.planning__note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
@media (max-width: 719px) {
  .planning__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .planning__filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .planning__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 14px; scroll-padding-inline: var(--gutter);
    scrollbar-width: thin; scrollbar-color: var(--red) transparent;
  }
  .day { scroll-snap-align: start; }
}
.table-sr { margin-top: 24px; }
.planning-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.planning-table th, .planning-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.planning-table th { font-stretch: 100%; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.planning-table td:first-child { font-weight: 700; }
.planning-table .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: .6em; }
.table-scroll { overflow-x: auto; }

/* ---------- Tarif ---------- */
.price-card {
  position: relative; overflow: hidden;
  display: grid; gap: 28px; padding: clamp(28px, 4vw, 56px);
  background: var(--paper-ink); color: #fff; border-radius: var(--radius);
}
.price-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 28px solid var(--red); border-radius: 50%; opacity: .9; }
.price-card__amount { position: relative; display: flex; align-items: baseline; gap: .2em; font-family: var(--font-display); font-style: italic; font-weight: 900; line-height: .8; }
.price-card__amount strong { font-size: clamp(5rem, 3.6rem + 5vw, 8rem); font-weight: 900; }
.price-card__amount span { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); text-transform: uppercase; }
.price-card__per { font-stretch: 100%; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 22px; height: 22px; color: var(--red-hot); margin-top: 2px; }
.badge-pass {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px;
  border: 1px dashed rgb(255 255 255 / .45); border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
}
.badge-pass b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.8rem; line-height: 1; color: var(--g-enfants); }

/* ---------- Coach ---------- */
.coach { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .coach { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.coach__photo { position: relative; }
.coach__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(1) contrast(1.15); }
.coach__photo::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(160deg, rgb(214 10 10 / .55), transparent 55%); mix-blend-mode: multiply;
}
.coach__photo figcaption { position: absolute; left: 0; bottom: -1px; z-index: 1; background: var(--red); padding: 10px 16px; font-stretch: 100%; font-weight: 700; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.coach__name { margin: 18px 0 20px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0; }
.stats > div { background: var(--bg-2); padding: 18px 18px 16px; }
.stats dt { font-size: .86rem; color: var(--muted); }
.stats dd { margin: 0 0 6px; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem); line-height: .95; }
.quote { position: relative; margin: 32px 0 0; padding-left: 24px; border-left: 4px solid var(--red); }
.quote p { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.05; text-transform: uppercase; margin-bottom: .4em; }
.quote cite { font-style: normal; font-size: .86rem; color: var(--muted); }
.section--paper .quote cite { color: #5a554f; }

/* ---------- Valeurs ---------- */
.values { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.value { background: var(--bg); background-image: url("../img/beton.webp"); padding: 36px 28px 40px; transition: background-color .3s; }
.value__num { font-stretch: 100%; font-weight: 800; font-size: .72rem; letter-spacing: .12em; color: var(--red-text); }
.value h3 { margin: 18px 0 12px; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 1.8rem + 1.2vw, 3rem); line-height: .9; }
.value p { margin: 0; color: var(--muted); }

/* ---------- Presse ---------- */
.press-strip { grid-auto-columns: min(72%, 300px); }
.press-card { display: block; text-decoration: none; color: inherit; border: 0; padding: 0; background: none; cursor: zoom-in; text-align: left; }
.press-card__img { position: relative; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / .08), 0 18px 40px -18px rgb(0 0 0 / .35); transform: rotate(var(--r, -1deg)); transition: transform .5s var(--ease); }
.press-card:nth-child(2n) { --r: 1.2deg; }
.press-card:nth-child(3n) { --r: -.4deg; }
.press-card:hover .press-card__img { transform: rotate(0) translateY(-6px); }
.press-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; filter: sepia(.15) contrast(1.05); }
.press-card__meta { display: block; margin-top: 16px; font-stretch: 100%; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.press-card__meta small { display: block; margin-top: 4px; font-weight: 500; font-size: .8rem; color: var(--muted); }
.section--paper .press-card__meta small { color: #5a554f; }
.press-wall { columns: 1; column-gap: 22px; }
@media (min-width: 640px) { .press-wall { columns: 2; } }
@media (min-width: 1000px) { .press-wall { columns: 3; } }
@media (min-width: 1300px) { .press-wall { columns: 4; } }
.press-wall .press-card { break-inside: avoid; margin-bottom: 34px; width: 100%; }
.press-wall .press-card img { aspect-ratio: auto; }

/* ---------- Galerie photos ---------- */
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; } }
.photo-grid button { position: relative; padding: 0; border: 0; overflow: hidden; background: #000; cursor: zoom-in; border-radius: var(--radius); min-height: 180px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.4); }
.photo-grid button:hover img { transform: scale(1.06); filter: none; }
@media (min-width: 900px) {
  .photo-grid .is-wide { grid-column: span 2; }
  .photo-grid .is-tall { grid-row: span 2; }
}

/* ---------- Chronologie ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--red), var(--line) 80%); }
.timeline__item { position: relative; display: grid; gap: 10px 48px; padding: 0 0 clamp(48px, 6vw, 88px) 48px; grid-template-columns: minmax(0, 1fr); }
.timeline__item::before { content: ""; position: absolute; left: 4px; top: .6em; width: 16px; height: 16px; background: var(--red-hot); transform: rotate(45deg); box-shadow: 0 0 0 6px var(--bg); }
@media (min-width: 1000px) {
  .timeline::before { left: 50%; translate: -1px 0; }
  .timeline__item { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; }
  .timeline__item::before { left: 50%; translate: -8px 0; }
  .timeline__year { text-align: right; padding-right: 48px; }
  .timeline__body { padding-left: 48px; }
  .timeline__item:nth-child(even) .timeline__year { order: 2; text-align: left; padding: 0 0 0 48px; }
  .timeline__item:nth-child(even) .timeline__body { order: 1; padding: 0 48px 0 0; text-align: right; }
  .timeline__item:nth-child(even) .timeline__body .prose { margin-left: auto; }
}
.timeline__year { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(3.4rem, 2.6rem + 3vw, 6rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.timeline__item.is-key .timeline__year { color: var(--red-hot); -webkit-text-stroke: 0; }
.timeline__body h3 { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: var(--step-2); line-height: .95; margin-bottom: 14px; }
.timeline__body p { color: #d6d1c9; }
.timeline__body img { margin-top: 18px; border-radius: var(--radius); }

/* ---------- Disciplines (page) ---------- */
.discipline { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .discipline { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .discipline:nth-of-type(even) .discipline__media { order: 2; }
}
.discipline__media { position: sticky; top: calc(var(--header-h) + 24px); }
.discipline__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(.25) contrast(1.05); }
.discipline__tag { display: inline-block; margin-bottom: 18px; padding: .45em .8em; background: var(--c); color: #0a0a0a; font-stretch: 100%; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.discipline h2 { margin-bottom: 24px; }
.info-row { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--line); border: 1px solid var(--line); margin: 28px 0; }
.info-row > div { background: var(--bg-2); padding: 16px 18px; }
.info-row dt { font-stretch: 100%; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-row dd { margin: 6px 0 0; font-weight: 700; }

/* ---------- Étapes ---------- */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { counter-increment: s; background: var(--bg-2); padding: 32px 26px 36px; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 4.4rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--red-hot); margin-bottom: 22px; }
.step h3 { font-size: 1.25rem; font-stretch: 100%; margin-bottom: 10px; }
.step p, .step li { color: var(--muted); font-size: .96rem; }
.step ul li { padding-left: 1.1em; position: relative; margin-bottom: 4px; }
.step ul li::before { content: "—"; position: absolute; left: 0; color: var(--red-text); }

@media (min-width: 900px) { .steps.steps--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cartes génériques ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { border: 1px solid var(--line); background: rgb(17 17 17 / .75); padding: 28px; border-radius: var(--radius); }
.card h3 { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: .95; margin-bottom: 12px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.section--paper .card { background: #fff; border-color: rgb(0 0 0 / .1); }
.section--paper .card p { color: #4d4843; }
.card--link { text-decoration: none; transition: border-color .25s, transform .35s var(--ease); display: flex; flex-direction: column; }
.card--link:hover { border-color: var(--red-hot); transform: translateY(-4px); }
.card--link .arrow-link { margin-top: auto; }
.card > svg { width: 44px; height: 44px; color: var(--red-hot); margin-bottom: 18px; }
.icon-big { width: 44px; height: 44px; color: var(--red-hot); margin-bottom: 18px; }

/* ---------- Location de la salle ---------- */
.salle--page { margin-top: 0; }
.specs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.specs > div { background: var(--bg-2); padding: 24px; }
.specs b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 3rem; line-height: .9; text-transform: uppercase; }
.specs span { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-weight: 700; font-stretch: 100%; font-size: var(--step-1); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: transform .35s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red); border-color: var(--red); }
.faq summary:hover { color: var(--red-text); }
.faq .faq__a { padding: 0 0 26px; max-width: 72ch; color: #d6d1c9; }
.faq .faq__a p:last-child { margin-bottom: 0; }
.section--paper .faq, .section--paper .faq details { border-color: rgb(0 0 0 / .14); }
.section--paper .faq .faq__a { color: #3b3733; }
.section--paper .faq summary:hover { color: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { transition: height .35s var(--ease), content-visibility .35s allow-discrete; height: 0; overflow: clip; }
  .faq details[open]::details-content { height: auto; }
  @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-list > a, .contact-list > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px; background: var(--bg-2); text-decoration: none; transition: background-color .2s; }
.contact-list > a:hover { background: var(--panel-2); }
.contact-list svg { width: 28px; height: 28px; color: var(--red-hot); }
.contact-list small { display: block; font-stretch: 100%; font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list strong { font-size: 1.15rem; font-stretch: 100%; overflow-wrap: anywhere; }
.map {
  position: relative; display: grid; place-items: center; min-height: 380px; height: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    linear-gradient(rgb(10 10 10 / .55), rgb(10 10 10 / .85)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgb(255 255 255 / .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgb(255 255 255 / .05) 39px 40px),
    var(--panel);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.map__inner { position: relative; text-align: center; padding: 32px; max-width: 420px; }
.map__pin { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--red-hot); }
.map__inner p { color: var(--muted); font-size: .9rem; }
.route-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.route-links a { padding: .6em 1em; border: 1px solid var(--line-strong); font-stretch: 100%; font-weight: 700; font-size: .85rem; text-decoration: none; border-radius: 999px; }
.route-links a:hover { background: #fff; color: #000; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.towns li { padding: .35em .8em; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: #d6d1c9; }

/* Formulaires */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; }
.field label { font-stretch: 100%; font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: rgb(255 255 255 / .04); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 2px;
  font: inherit; font-size: 1rem;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: #111; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgb(255 255 255 / .07); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red-hot); }
.form__legal { font-size: .82rem; color: var(--muted); margin: 0; }
.form__legal a { color: var(--text); }
.form__status { min-height: 1.5em; font-weight: 600; color: var(--g-enfants); margin: 0; }

/* ---------- Appel final ---------- */
.final-cta { position: relative; overflow: clip; padding-block: clamp(80px, 12vw, 180px); text-align: center; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 50% 100%, rgb(214 10 10 / .5), transparent 70%);
}
.final-cta .display { margin: 24px auto 28px; max-width: 14ch; }
.final-cta p { color: #ddd8d0; max-width: 52ch; margin-inline: auto; }
.final-cta .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); background: rgb(6 6 6 / .9); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.footer-logo { width: 200px; color: #fff; margin-bottom: 20px; }
.site-footer h2 { font-stretch: 100%; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red-text); }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.footer-hours span { color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom li { margin: 0; }
.footer-giant { margin-top: 56px; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 13.4vw, 17rem); line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .16); user-select: none; white-space: nowrap; overflow: hidden; }

/* Barre d'action mobile */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
  transform: translateY(160%); transition: transform .45s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px;
  font-stretch: 100%; font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: rgb(20 20 20 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); border-radius: 2px;
}
.mobile-bar a:last-child { background: var(--red); border-color: var(--red); }
.mobile-bar svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
.menu-open .mobile-bar { transform: translateY(160%); }

/* ---------- Dialogues (vidéo / visionneuse) ---------- */
.lightbox {
  width: min(100% - 24px, 1200px); max-height: calc(100svh - 24px); padding: 0; border: 0;
  background: transparent; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgb(0 0 0 / .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__body { display: grid; place-items: center; }
.lightbox video, .lightbox img { max-height: calc(100svh - 120px); width: auto; max-width: 100%; margin-inline: auto; background: #000; }
.lightbox__caption { margin-top: 12px; text-align: center; color: #ddd; font-size: .95rem; }
.lightbox__close {
  position: fixed; top: 14px; right: 14px; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .4); background: rgb(0 0 0 / .6); cursor: pointer; display: grid; place-items: center;
}
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav { position: fixed; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .4); background: rgb(0 0 0 / .6); cursor: pointer; display: grid; place-items: center; }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: fade-in .35s var(--ease); }
}

/* ---------- Pages légales ---------- */
.legal h2 { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: var(--step-2); margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 24px; margin: 0 0 1.4em; }
@media (min-width: 700px) { .legal dl { grid-template-columns: 220px minmax(0, 1fr); } }
.legal dt { color: var(--muted); }
.legal dd { margin: 0 0 10px; }

/* ---------- 404 ---------- */
.ko { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.ko .display { font-size: clamp(7rem, 4rem + 20vw, 20rem); color: var(--red-hot); }



/* ---------- Prochain cours : barre de progression et suite ---------- */
.next-class__bar { position: relative; height: 3px; margin: 14px 0 10px; background: rgb(255 255 255 / .1); overflow: hidden; border-radius: 3px; }
.next-class__bar i { position: absolute; inset: 0; background: var(--c, var(--red-hot)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.next-class.is-live .next-class__bar i { box-shadow: 0 0 12px var(--c); }
.next-class__then { margin: 0; font-size: .84rem; color: var(--muted); }
.next-class__then:empty { display: none; }
.next-class__then b { color: var(--text); font-weight: 600; }
.next-class.is-live [data-nc-state] { color: var(--red-text); display: inline-flex; align-items: center; gap: .5em; }
.next-class.is-live [data-nc-state]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: no-preference) { .next-class.is-live [data-nc-state]::before { animation: pulse 1.6s infinite; } }
.next-class--menu { background: rgb(255 255 255 / .03); }

/* ---------- Trouve ton groupe ---------- */
.finder { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .finder { grid-template-columns: minmax(300px, .75fr) minmax(0, 1.6fr); align-items: start; } }
.finder__controls { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(17 17 17 / .78); }
.finder__q { margin: 0 0 12px; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.finder__age { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.finder__value { min-width: 2.2ch; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 4.6rem; line-height: .85; font-variant-numeric: tabular-nums; }
.finder__unit { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.finder__step { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.finder__step:hover { background: #fff; color: #000; }
.finder__range { --p: 10%; width: 100%; height: 28px; margin: 0 0 26px; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.finder__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red-hot) var(--p), rgb(255 255 255 / .16) var(--p)); }
.finder__range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red-hot) var(--p), rgb(255 255 255 / .16) var(--p)); }
.finder__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--red-hot); }
.finder__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--red-hot); }
.finder__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.finder__chips .chip::before { display: none; }
.finder__results { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); align-content: start; }
.finder-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px;
  padding: 24px 22px 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgb(255 255 255 / .05), transparent 60%), var(--panel);
}
@media (prefers-reduced-motion: no-preference) { .finder-card { animation: card-in .5s var(--ease) both; } .finder-card:nth-child(2) { animation-delay: .06s; } .finder-card:nth-child(3) { animation-delay: .12s; } }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.finder-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--c); }
.finder-card__age { margin: 0; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.finder-card__name { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 2.3rem; line-height: .95; margin: 4px 0 2px; }
.finder-card__sport { margin: 0; color: var(--muted); font-size: .92rem; }
.finder-card__when { margin: 10px 0 0; font-weight: 600; }
.finder-card__next { margin: 14px 0 18px; padding: 10px 12px; border-left: 3px solid var(--c); background: rgb(255 255 255 / .04); font-weight: 600; font-size: .95rem; }
.finder-card__next span { display: block; font-weight: 700; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.finder-card .btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: .65em 1.2em; font-size: .74rem; }
.finder-card.is-off { opacity: .32; filter: grayscale(.6); }
@media (max-width: 699px) { .finder-card.is-off { display: none; } }
.finder-card.is-off .finder-card__next, .finder-card.is-off .btn { display: none; }
.finder-card.is-match { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.finder-card__badge { position: absolute; top: 18px; right: 18px; padding: .3em .6em; border-radius: 999px; background: var(--c); color: #0a0a0a; font-weight: 700; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; }
.finder__empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.finder__empty b { display: block; font-size: 1.2rem; margin-bottom: 6px; }
.finder__empty p { margin: 0; color: var(--muted); }
.planning-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.planning-head p { margin: 0; font-size: .92rem; }

/* ---------- Réservation du cours d'essai ---------- */
.trial-layout { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .trial-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .trial-layout__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.trial { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: rgb(17 17 17 / .8); gap: 22px; }
.trial fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.trial legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.trial legend b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; letter-spacing: 0; }
.trial__step + .trial__step { padding-top: 22px; box-shadow: inset 0 1px 0 var(--line); }
.trial .group-pick, .trial .date-pick { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; color: var(--text); }
.trial__groups { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.group-pick, .date-pick { position: relative; cursor: pointer; }
.group-pick input, .date-pick input { position: absolute; opacity: 0; pointer-events: none; }
.group-pick span { display: grid; gap: 2px; height: 100%; padding: 14px 16px 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s, background-color .2s; }
.group-pick span::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--c); }
.group-pick strong { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.group-pick small { color: var(--muted); font-size: .8rem; }
.group-pick:hover span { border-color: rgb(255 255 255 / .5); }
.group-pick input:checked + span { border-color: var(--c); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--c); }
.group-pick input:focus-visible + span, .date-pick input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.trial__dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.date-pick span { display: grid; justify-items: center; gap: 1px; width: 84px; padding: 12px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-align: center; transition: border-color .2s, background-color .2s, color .2s; }
.date-pick b { font-weight: 700; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.date-pick strong { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2.2rem; line-height: 1; }
.date-pick em { font-style: normal; font-size: .78rem; color: var(--muted); }
.date-pick small { margin-top: 4px; font-weight: 700; font-size: .8rem; }
.date-pick:hover span { border-color: rgb(255 255 255 / .5); }
.date-pick input:checked + span { background: #fff; color: #000; border-color: #fff; }
.date-pick input:checked + span b, .date-pick input:checked + span em { color: #555; }

/* ---------- Mosaïque « Pourquoi l'A.B.C. » ---------- */
.bento { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(230px, auto)) auto; }
  .tile--kids { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .tile--price { grid-column: 3; grid-row: 1; }
  .tile--live { grid-column: 4; grid-row: 1; }
  .tile--coach { grid-column: 3 / span 2; grid-row: 2; }
  .tile--pass { grid-column: 1; grid-row: 3; }
  .tile--salle { grid-column: 2 / span 2; grid-row: 3; }
  .tile--values { grid-column: 4; grid-row: 3; }
  .tile--cta { grid-column: 1 / -1; grid-row: 4; min-height: 0; }
}
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  margin: 0; padding: 24px; min-height: 230px;
  border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(160deg, rgb(255 255 255 / .045), transparent 55%), rgb(17 17 17 / .85);
  text-decoration: none; color: inherit;
  transition: border-color .3s, transform .5s var(--ease);
}
a.tile:hover { border-color: rgb(255 255 255 / .35); }
.tile__kicker { font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); }
.tile__title { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 1.4rem + .9vw, 2.3rem); line-height: .95; }
.tile__text { margin: 0; color: var(--muted); font-size: .95rem; }
.tile .arrow-link { margin-top: auto; }
.tile--photo { padding: 0; min-height: 300px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile--photo:hover img { transform: scale(1.04); }
.tile__overlay { position: absolute; inset: auto 0 0 0; display: grid; gap: 10px; padding: 24px; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .85) 55%); }
.tile--kids .tile__title { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.tile__price { display: flex; align-items: flex-start; gap: .15em; margin: 6px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 900; line-height: .82; }
.tile__price strong { font-size: clamp(4.6rem, 3.6rem + 3vw, 6.2rem); }
.tile__price span { padding-top: .35em; font-size: 1.4rem; line-height: .95; text-transform: uppercase; }
.tile--live { padding: 0; border-color: transparent; background: none; }
.tile--live .next-class { height: 100%; display: flex; flex-direction: column; padding: 24px; border-radius: 6px; }
.tile--live .next-class__name { font-size: clamp(2.2rem, 1.8rem + 1.2vw, 3rem); margin-top: auto; }
.tile--coach { flex-direction: row; align-items: stretch; gap: 22px; padding: 0; }
.tile--coach img { width: 42%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: filter .5s; }
.tile--coach:hover img { filter: grayscale(0); }
.tile--coach > span { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 24px 24px 24px 0; }
.tile--pass .tile__big { margin: auto 0 0; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(3.6rem, 3rem + 2vw, 5rem); line-height: .85; color: var(--g-enfants); }
.tile__values { display: grid; gap: 2px; margin: 4px 0 6px; }
.tile__values li { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.02; }
.tile__values li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--text); }
.tile--cta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 0; padding: 28px 32px; background: var(--red); border-color: var(--red); }
.tile--cta .tile__kicker { color: rgb(255 255 255 / .8); width: 100%; }
.tile--cta .tile__title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3.1rem); }
.tile__cta { display: inline-flex; align-items: center; gap: .7em; padding: .9em 1.5em; background: #fff; color: #000; font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); transition: background-color .2s; }
.tile__cta svg { width: 1.2em; height: 1.2em; transition: transform .3s var(--ease); }
.tile--cta:hover .tile__cta svg { transform: translateX(4px); }
.tile--cta:hover { border-color: var(--red-hot); background: var(--red-hot); }
@media (max-width: 699px) { .tile--coach { flex-direction: column; } .tile--coach img { width: 100%; height: 240px; } .tile--coach > span { padding: 0 24px 24px; } }

/* ---------- La salle (accueil) ---------- */
.salle { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(48px, 7vw, 96px); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1000px) { .salle { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); } }
.salle__grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.salle__grid button { position: relative; padding: 0; border: 0; overflow: hidden; background: #000; cursor: zoom-in; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.salle__grid .salle__big { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 700px) {
  .salle__grid { grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .salle__grid .salle__big { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 420px; }
}
.salle__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.salle__grid button:hover img { transform: scale(1.05); }
.salle__features { display: grid; gap: 10px; margin-top: 22px; }
.salle__features li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.salle__features svg { width: 20px; height: 20px; color: var(--red-hot); margin-top: 3px; }

/* Repère d'entrée (contact) */
.entrance { position: relative; margin: 20px 0 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.entrance img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.entrance figcaption { padding: 14px 18px; background: var(--bg-2); font-size: .92rem; color: #d6d1c9; }
.entrance b { color: var(--red-text); }

/* Photo de fond du héros d'accueil */
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: grayscale(1) contrast(1.2) blur(1px); }
.hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 18%, rgb(10 10 10 / .4) 70%, rgb(10 10 10 / .7)), linear-gradient(0deg, var(--bg) 2%, transparent 40%); }
.hero__bg::after { z-index: 2; }

/* ---------- Ajustements des sections claires (papier) ---------- */
.section--paper .lead { color: var(--paper-ink); }
.section--paper .prose p, .section--paper .prose li { color: #3b3733; }
.section--paper .prose a { color: var(--red); }
.section--paper .stats { background: rgb(0 0 0 / .14); border-color: rgb(0 0 0 / .14); }
.section--paper .stats > div { background: #fff; }
.section--paper .stats dt { color: #5a554f; }
.section--paper .slider-btn { border-color: rgb(0 0 0 / .3); }
.section--paper .slider-btn:hover { background: var(--paper-ink); color: #fff; border-color: var(--paper-ink); }
.section--paper .slider { scrollbar-color: var(--red) rgb(0 0 0 / .08); }
.section--paper .btn--ghost::before { border-color: rgb(0 0 0 / .35); }
.section--paper .btn--ghost { color: var(--paper-ink); }
.section--paper .btn--ghost:hover::before { background: var(--paper-ink); border-color: var(--paper-ink); }
.section--paper .btn--ghost:hover { color: #fff; }
.card--link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); filter: grayscale(.3); }

/* ---------- Apparitions au défilement (jouées une seule fois, via IntersectionObserver) ---------- */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .js-ready .reveal:not(.is-in), .js-ready .section-head .display:not(.is-in) { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js-ready .reveal, .js-ready .section-head .display { transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js-ready :is(.discipline__media, .coach__photo, .salle__grid > button, .tile--photo):not(.is-in) img { clip-path: inset(16% 0 0 0); transform: scale(1.07); transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }
  .js-ready :is(.discipline__media, .coach__photo, .salle__grid > button, .tile--photo) img { transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }
  .js .page-hero h1 { animation: rise-in .9s var(--ease) .1s both; }
  .js .page-hero .lead, .js .page-hero .eyebrow { animation: fade-in .9s var(--ease) .25s both; }
  .is-entering .page-hero h1 { animation-delay: .55s; }
  .is-entering .page-hero .lead, .is-entering .page-hero .eyebrow { animation-delay: .7s; }
  .is-entering .hero__title span, .is-entering .hero__sub, .is-entering .hero__lead, .is-entering .hero .btn-row, .is-entering .hero__aside { animation-delay: .55s; }
}

/* ---------- Micro-interactions de marque ---------- */
/* Le logo de l'en-tête se redessine au survol */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-header__logo path, .footer-logo path { stroke: currentColor; stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 0; transition: fill .3s; }
  .site-header__logo:hover path, .footer-logo:hover path { animation: logo-redraw 1s cubic-bezier(.65, 0, .35, 1); }
}
@keyframes logo-redraw { 0% { fill: transparent; stroke-dashoffset: 1; } 70% { fill: transparent; stroke-dashoffset: 0; } 100% { fill: currentColor; stroke-dashoffset: 0; } }
/* Les cordes du héros se tendent au chargement */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg::after { transform-origin: left center; animation: ropes-in 1.4s var(--ease) .2s both; }
  .is-intro .hero__bg::after { animation-delay: 1.6s; }
}
@keyframes ropes-in { from { transform: rotate(-4deg) scaleX(0); } to { transform: rotate(-4deg) scaleX(1); } }
/* Grand titre du pied de page : se remplit de rouge au défilement */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .footer-giant { background: linear-gradient(90deg, var(--red-hot), var(--red-hot)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: giant-fill linear both; animation-timeline: view(); animation-range: entry 10% cover 70%; }
    @keyframes giant-fill { to { background-size: 100% 100%; } }
  }
}

/* ---------- Impression ---------- */
@media print {
  body { background: #fff; color: #000; }
  body::after, .site-header, .menu, .mobile-bar, .marquee, .video-card, .final-cta { display: none !important; }
  .section { padding-block: 24px; }
  .slot strong, .display { color: #000 !important; -webkit-text-stroke: 0 !important; }
}
