@import url("fonts.css");

/* ============================================================
   Boxing Club Invincible — feuille de styles
   Palette dérivée du logo Invincible : rouge #DC1F26 + noir + blanc
   ============================================================ */

:root {
  --red: #dc1f26;
  --red-dark: #b3161c;      /* pour le texte rouge sur fond clair (contraste AA) */
  --red-deep: #8f1116;
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --ink-2: #232323;
  --white: #ffffff;
  --paper: #f6f5f4;
  --paper-2: #eceae8;
  --line: #e3e0dd;
  --line-dark: #2c2c2c;
  --text: #1c1c1c;
  --muted: #6a6a6a;
  --muted-dark: #a9a9a9;

  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .35);
  --header-h: 74px;
}

/* -------- Reset léger -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0; text-transform: uppercase; letter-spacing: .01em; }

/* -------- Utilitaires -------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--dark { background: var(--ink); color: #efeeec; }
.section--paper { background: var(--paper); }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 3px; }

/* Lien d'évitement : masqué hors focus, apparaît au clavier (WCAG 2.4.1) */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  transform: translateY(-250%);
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 14px; padding: 12px 20px; border-radius: var(--radius);
}
.skip-link:focus { transform: none; outline: 3px solid #fff; outline-offset: 2px; }

.kicker {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
  color: var(--red-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.section--dark .kicker { color: #ff5a5f; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }

.section-title { font-size: clamp(30px, 4.4vw, 50px); }
.section-intro { max-width: 640px; color: var(--muted); font-size: 18px; margin-top: 14px; }
.section--dark .section-intro { color: var(--muted-dark); }

/* -------- Boutons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 15px;
  padding: 15px 28px; border: 2px solid transparent; border-radius: var(--radius);
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); box-shadow: 0 8px 22px rgba(220, 31, 38, .35); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 16px; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.header.is-solid { background: rgba(13, 13, 13, .95); backdrop-filter: blur(8px); border-bottom-color: var(--line-dark); box-shadow: 0 6px 24px rgba(0,0,0,.25); }

.brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { height: 42px; width: auto; }
.brand__text { font-family: var(--font-head); text-transform: uppercase; line-height: 1; color: #fff; }
.brand__text b { display: block; font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.brand__text span { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .28em; color: #ff5a5f; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase;
  letter-spacing: .05em; font-size: 15px; color: #f0eeec; padding: 10px 14px; border-radius: 4px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.nav__cta { margin-left: 8px; background: var(--red); color: #fff; padding: 11px 20px; }
.nav a.nav__cta:hover { background: var(--red-deep); }

.burger {
  display: none; z-index: 2; background: transparent; border: 0; width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.burger span { position: relative; display: block; width: 26px; height: 2.5px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 26px; height: 2.5px; background: #fff; transition: transform .25s ease; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: var(--header-h);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.72) 0%, rgba(13,13,13,.35) 40%, rgba(13,13,13,.80) 100%),
    linear-gradient(90deg, rgba(13,13,13,.75) 0%, rgba(13,13,13,.15) 60%);
}
.hero__inner { position: relative; z-index: 1; padding-block: 60px; max-width: 780px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 600;
  background: var(--red); color: #fff; padding: 7px 14px; border-radius: 3px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(44px, 9vw, 96px); letter-spacing: .005em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 em { color: var(--red); font-style: normal; }
.hero__lead { font-size: clamp(17px, 2.4vw, 21px); max-width: 600px; margin: 20px 0 0; color: #e9e7e5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-family: var(--font-head); text-transform: uppercase; font-size: 22px; letter-spacing: .02em; }
.hero__meta span { font-size: 13.5px; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .1em; }
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ============================================================
   Le club (à propos)
   ============================================================ */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__media .badge {
  position: absolute; bottom: -20px; right: -12px; background: var(--red); color: #fff;
  font-family: var(--font-head); text-transform: uppercase; padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); line-height: 1;
}
.about__media .badge b { display: block; font-size: 30px; }
.about__media .badge span { font-size: 12px; letter-spacing: .12em; }
.about p { color: var(--muted); margin: 0 0 16px; }
.about p strong { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.stat { text-align: center; padding: 26px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.section--paper .stat { background: #fff; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(34px, 5vw, 46px); color: var(--red-dark); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ============================================================
   Public cible
   ============================================================ */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.acard { background: var(--ink-soft); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px 26px; }
.acard .ico { width: 46px; height: 46px; color: var(--red); margin-bottom: 16px; }
.acard h3 { font-size: 22px; margin-bottom: 10px; }
.acard p { color: var(--muted-dark); margin: 0; font-size: 15.5px; }

/* ============================================================
   Horaires & lieu
   ============================================================ */
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 48px); }
.sched-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.sched-card h3 { font-size: 24px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.sched-card h3 .ico { width: 26px; height: 26px; color: var(--red); }
.days { display: flex; flex-direction: column; gap: 12px; }
.day { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--red); }
.day b { font-family: var(--font-head); text-transform: uppercase; font-size: 18px; letter-spacing: .03em; }
.day span { font-family: var(--font-head); font-size: 20px; color: var(--red-dark); }
.sched-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.place p { margin: 0 0 6px; color: var(--muted); }
.place .addr { font-size: 18px; color: var(--text); font-weight: 600; }
.place .label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--red-dark); margin-top: 18px; }
.map-embed { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ============================================================
   Tarifs / Licences
   ============================================================ */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4d0cc; }
.price--featured { border-color: var(--red); box-shadow: 0 18px 40px rgba(220,31,38,.14); }
.price--featured::before {
  content: "Le plus choisi"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .08em; font-size: 12px; padding: 6px 16px; border-radius: 3px; white-space: nowrap;
}
.price__name { font-size: 24px; }
.price__desc { color: var(--muted); font-size: 14.5px; margin: 8px 0 20px; min-height: 42px; }
.price__amount { font-family: var(--font-head); line-height: 1; margin-bottom: 4px; }
.price__amount b { font-size: 52px; color: var(--ink); }
.price__amount b .cur { font-size: 26px; vertical-align: top; }
.price__amount .per { display: block; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--muted); margin-top: 6px; font-weight: 500; }
.price ul { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.price li { position: relative; padding-left: 28px; font-size: 15px; color: #333; }
.price li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--red); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; }
.price .btn { margin-top: auto; }

.addon {
  margin-top: 26px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px;
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px 34px;
}
.addon__ico { width: 54px; height: 54px; color: var(--red); }
.addon h3 { font-size: 24px; }
.addon p { margin: 8px 0 0; color: var(--muted-dark); font-size: 15px; max-width: 620px; }
.addon__price { text-align: right; }
.addon__price b { font-family: var(--font-head); font-size: 44px; line-height: 1; }
.addon__price span { display: block; font-size: 13px; color: var(--muted-dark); }
.prices-note { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }

/* ============================================================
   Galerie
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery button { padding: 0; border: 0; background: none; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); opacity: 0; transition: opacity .2s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery button:hover::after { opacity: 1; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: 14px; opacity: 0; transition: opacity .2s ease; }
.gallery button:hover figcaption { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,8,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; width: auto; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 50%; width: 52px; height: 52px; font-size: 26px; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 20px; }
.lightbox__nav.next { right: 20px; }

/* ============================================================
   Inscription (téléchargement dossier)
   ============================================================ */
.enroll { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.enroll__steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.enroll__steps li { display: flex; gap: 16px; align-items: flex-start; }
.enroll__steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-size: 19px; display: flex; align-items: center; justify-content: center; }
.enroll__steps b { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 17px; letter-spacing: .02em; }
.enroll__steps p { margin: 2px 0 0; color: var(--muted-dark); font-size: 15px; }

.form-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: #333; margin-bottom: 7px; }
.field .req { color: var(--red-dark); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,31,38,.12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.consent label { font-size: 13.5px; color: var(--muted); line-height: 1.5; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.consent a { color: var(--red-dark); text-decoration: underline; }

.form-msg { display: none; margin-top: 4px; margin-bottom: 16px; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.form-msg.is-visible { display: block; }
.form-msg.ok { background: #e8f6ec; color: #1c6b34; border: 1px solid #bfe3c8; }
.form-msg.err { background: #fdeaea; color: #9f1c22; border: 1px solid #f3c4c6; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Contact
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; }
.cinfo .ico { flex: none; width: 44px; height: 44px; border-radius: var(--radius); background: rgba(220,31,38,.1); color: var(--red-dark); display: flex; align-items: center; justify-content: center; }
.cinfo .ico svg { width: 22px; height: 22px; }
.cinfo b { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.cinfo p, .cinfo a { color: var(--muted); font-size: 15.5px; margin: 3px 0 0; }
.cinfo a:hover { color: var(--red-dark); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #080808; color: #cfcdcb; padding: 60px 0 26px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer .brand__text b { color: #fff; }
.footer p { color: var(--muted-dark); font-size: 14.5px; margin: 16px 0 0; max-width: 320px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); color: #cfcdcb;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer h4 { font-size: 15px; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--muted-dark); font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; color: #8a8a8a; }
.footer__bottom a { color: #8a8a8a; }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   Pages légales (contenu texte)
   ============================================================ */
.legal { padding-top: calc(var(--header-h) + 50px); padding-bottom: 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; color: var(--ink); }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: #333; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--red-dark); text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--red-dark); }
.legal .todo { background: #fff7d6; border: 1px solid #ecd98a; border-radius: 4px; padding: 2px 6px; font-size: .92em; color: #7a5c00; }

/* ============================================================
   FAQ (accordéon natif <details> — fonctionne sans JS)
   ============================================================ */
.faq { max-width: 840px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(16px, 2vw, 19px);
  color: var(--ink); padding: 22px 4px; transition: color .15s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red-dark); }
.faq__item summary::after {
  content: ""; flex: none; width: 22px; height: 22px; position: relative;
  background: var(--red); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 5h2v14h-2z'/%3E%3Cpath fill='black' d='M5 11h14v2H5z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 11h14v2H5z'/%3E%3C/svg%3E");
}
.faq__a { padding: 0 4px 24px; }
.faq__a p { margin: 0; color: var(--muted); font-size: 16px; }
.faq__a a { color: var(--red-dark); text-decoration: underline; }

/* ============================================================
   Bloc "Le coach" (autorité — section #club)
   HTML prêt en commentaire dans index.html ; s'active quand la
   photo réelle du coach (assets/img/coach.jpg) est fournie.
   ============================================================ */
.coach {
  margin-top: 64px; display: grid; grid-template-columns: minmax(260px, 360px) 1fr;
  background: var(--ink); color: #efeeec; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.coach__media { position: relative; }
.coach__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center top; }
.coach__body { padding: clamp(28px, 4vw, 48px); }
.coach__body .kicker { color: #ff5a5f; }
.coach__name { font-size: clamp(26px, 3vw, 34px); }
.coach__creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 18px; padding: 0; list-style: none; }
.coach__creds li {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 12.5px; color: #efeeec;
  border: 1px solid var(--line-dark); border-left: 3px solid var(--red);
  border-radius: 3px; padding: 8px 12px; background: var(--ink-soft);
}
.coach__body p { color: var(--muted-dark); margin: 0 0 14px; }
.coach__body p strong { color: #efeeec; }
@media (max-width: 800px) {
  .coach { grid-template-columns: 1fr; }
  .coach__media img { min-height: 0; aspect-ratio: 4 / 3; object-position: center 20%; }
}

/* ============================================================
   Carte athlète (future section "Athlètes" — section sombre)
   HTML gabarit en commentaire dans index.html. Grille souple :
   tient de 1 à N cartes (cartes plafonnées, rangée centrée).
   AUCUNE donnée inventée : palmarès = faits datés fournis par le club.
   ============================================================ */
.athletes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 280px));
  justify-content: center; gap: 22px;
}
.athlete {
  display: flex; flex-direction: column; background: var(--ink-soft);
  border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.athlete:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.athlete__photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.athlete__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.athlete__name { font-size: 21px; color: #fff; }
.athlete__cat {
  align-self: flex-start; margin: 10px 0 12px; padding: 5px 10px; border-radius: 3px;
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px;
}
.athlete__record { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.athlete__record li { font-size: 14px; color: var(--muted-dark); padding-left: 16px; position: relative; }
.athlete__record li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }
.athlete__next {
  margin-top: auto; padding-top: 14px; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: #ff5a5f;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
/* Le contenu n'est masqué que si le JS est actif (classe .js sur <html>).
   Sans JS, ou si l'animation échoue, tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint::after { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .about, .schedule, .enroll, .contact { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .audience { grid-template-columns: 1fr; }
  .addon { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .addon__ico { margin-inline: auto; }
  .addon p { margin-inline: auto; }
  .addon__price { text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .about__media .badge { right: 12px; }
}

@media (max-width: 800px) {
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(10,10,10,.98); backdrop-filter: blur(6px);
    transform: translateX(100%); transition: transform .3s ease; z-index: 1;
  }
  body.menu-open .nav { transform: none; }
  body.menu-open { overflow: hidden; } /* pas de scroll de la page derrière le menu ouvert */
  .nav a { font-size: 22px; padding: 12px 24px; }
  .nav a.nav__cta { margin-top: 10px; }
  .burger { display: flex; }
  .header { background: rgba(13,13,13,.95); border-bottom-color: var(--line-dark); }
  /* PAS de backdrop-filter sur le header en mobile : un backdrop-filter sur un
     ancêtre devient le référentiel des descendants position:fixed → le menu
     plein écran (.nav) se retrouverait piégé dans la boîte du header (74px)
     dès que .is-solid s'active au scroll. Le fond à 95% d'opacité suffit ici. */
  .header.is-solid { backdrop-filter: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .g-wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero__meta { gap: 18px; }
  .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery .g-wide, .gallery .g-tall { grid-column: auto; grid-row: auto; }
}
