/* ============================================================
   BOXE ACADÉMIE BRIVE · Direction artistique
   Dark industriel · noir profond + orange brûlé
   Display : Big Shoulders Display · Body : Archivo
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #121215;
  --bg-3: #18181c;
  --ink: #f4f1ec;
  --ink-dim: #a7a29a;
  --accent: #ff5a1f;
  --accent-hot: #ff7a2f;
  --accent-deep: #c93c0a;
  --line: rgba(244, 241, 236, 0.1);
  --display: "Big Shoulders Display", sans-serif;
  --body: "Archivo", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-punch: cubic-bezier(0.68, -0.4, 0.27, 1.3);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Garde anti-débordement : les enfants de grille ne forcent jamais la largeur */
.hero-stat, .disc-card, .coach-card, .tarif-card, .field,
.club-grid > *, .contact-grid > *, .disc-layout > *, .booking-final > * { min-width: 0; }

/* Grain global */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #0b0b0d; }

/* L'attribut hidden gagne toujours, même contre un display explicite */
[hidden] { display: none !important; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1240px, 92vw); margin-inline: auto; }

/* ============ Préloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; gap: 16px; overflow: hidden; }
.preloader-word {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: 0.04em;
  transform: translateY(110%);
  animation: preRise 0.7s var(--ease-out) forwards;
}
.preloader-word:nth-child(2) { animation-delay: 0.1s; }
.preloader-word:nth-child(3) { animation-delay: 0.2s; }
.preloader-word--accent { color: var(--accent); }
@keyframes preRise { to { transform: translateY(0); } }
.preloader-bar { width: min(280px, 60vw); height: 2px; background: var(--line); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: preBar 1s var(--ease-out) 0.2s forwards; }
@keyframes preBar { to { transform: scaleX(1); } }

/* ============ Curseur custom ============ */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor { width: 8px; height: 8px; background: var(--accent); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 90, 31, 0.5);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.cursor-ring.is-hover { width: 64px; height: 64px; background: rgba(255, 90, 31, 0.08); border-color: var(--accent); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-ring { display: none; } }

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1001;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-hot));
  transform: scaleX(0); transform-origin: left;
}

/* ============ Boutons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 17px;
  padding: 15px 30px;
  overflow: hidden; isolation: isolate;
  transition: color 0.3s var(--ease-out), transform 0.2s var(--ease-out), border-color 0.3s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn span { position: relative; z-index: 2; display: inline-block; transition: transform 0.3s var(--ease-punch); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  transform: translateY(101%);
  transition: transform 0.35s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover span { transform: translateY(-2px); }
.btn:active { transform: scale(0.96); }
.btn--solid { background: var(--accent); color: #0d0803; }
.btn--solid::before { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(244, 241, 236, 0.35); }
.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { color: #0d0803; }
.btn--sm { padding: 11px 22px; font-size: 15px; }
.btn--lg { padding: 18px 40px; font-size: 19px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.35; pointer-events: none; }

.chip {
  display: inline-block; padding: 7px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink-dim);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 90, 31, 0.06); }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  width: min(1360px, 94vw); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: #fff; padding: 3px; }
.nav-brand-text { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.05em; white-space: nowrap; }
.nav-brand-text em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 14px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-dim); transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-burger span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(11, 11, 13, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 48px;
  padding: 100px 8vw 48px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a {
  font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 56px);
  letter-spacing: 0.03em; text-transform: uppercase; padding: 6px 0;
  color: var(--ink);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s;
  transition-delay: calc(var(--i) * 60ms);
}
.mobile-menu.is-open .mobile-menu-links a { opacity: 1; transform: translateY(0); }
.mobile-menu-links a:hover { color: var(--accent); }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 6px; color: var(--ink-dim); font-size: 15px; }
.mobile-menu-foot a { color: var(--accent); font-weight: 700; font-size: 20px; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 120px;
}
.hero-bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.6); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.75) 0%, rgba(11,11,13,0.45) 40%, rgba(11,11,13,0.92) 100%),
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255, 90, 31, 0.16), transparent 60%);
}
.hero-content { position: relative; z-index: 2; width: min(1240px, 92vw); margin-inline: auto; }
.hero-kicker {
  font-size: 14px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.hero-kicker::before { content: ""; width: 48px; height: 2px; background: var(--accent); flex-shrink: 0; }
.hero-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(64px, 13.5vw, 190px);
  line-height: 0.88; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line > span { display: inline-block; transform: translateY(110%); animation: heroRise 0.9s var(--ease-out) forwards; }
.hero-title-line:nth-child(1) > span { animation-delay: 1.05s; }
.hero-title-line:nth-child(2) > span { animation-delay: 1.18s; }
.hero-title-line:nth-child(3) > span { animation-delay: 1.31s; }
.hero-title-line--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}
.hero-title em { font-style: normal; color: var(--accent); -webkit-text-stroke: 0; }
@keyframes heroRise { to { transform: translateY(0); } }
.hero-sub { max-width: 520px; color: var(--ink-dim); font-size: 18px; margin-bottom: 36px; }
.hero-cta span { display: flex; gap: 16px; flex-wrap: wrap; }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(110%); animation: heroRise 0.8s var(--ease-out) forwards; }
.hero-kicker.reveal-line > span, .hero-kicker.reveal-line { overflow: visible; }
.hero-kicker span { display: inline-block; transform: translateY(0); animation: heroFade 0.8s var(--ease-out) 0.95s backwards; }
.hero-sub > span { animation-delay: 1.5s; }
.hero-cta > span { animation-delay: 1.62s; }
@keyframes heroFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(1240px, 92vw); margin-inline: auto;
  border-top: 1px solid var(--line);
}
.hero-stat {
  padding: 22px 10px 26px; text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}
.hero-stat:first-child { border-left: 1px solid var(--line); }
.hero-stat:hover { background: rgba(255, 90, 31, 0.06); }
.hero-stat strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 52px); color: var(--accent); line-height: 1; }
.hero-stat span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

.hero-scroll-hint {
  position: absolute; right: 4vw; bottom: 130px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-dim); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--accent); animation: scrollDrop 1.8s var(--ease-out) infinite; }
@keyframes scrollDrop { to { top: 110%; } }

/* ============ Marquee ============ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; position: relative; z-index: 4; }
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-dim);
}
.marquee-track i { font-style: normal; color: var(--accent); font-size: 15px; }
.marquee-track i.i-marquee svg { width: 42px; height: 42px; display: block; }
.marquee-track--slow i.i-marquee { display: flex; align-items: center; }
.marquee-track--slow { animation-duration: 40s; font-size: 60px; color: transparent; -webkit-text-stroke: 1px rgba(244,241,236,0.25); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============ Sections communes ============ */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 7.5vw, 100px);
  line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase;
}
.section-title .accent { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.section-sub { margin-top: 20px; max-width: 560px; color: var(--ink-dim); font-size: 17px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Le Club ============ */
.club { background: var(--bg); }
.club-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.club-lead { font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; line-height: 1.5; margin-bottom: 22px; }
.club-text p:not(.club-lead) { color: var(--ink-dim); margin-bottom: 18px; }
.club-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.club-visual { position: relative; }
.club-photo {
  position: relative; overflow: hidden;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}
.club-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; filter: grayscale(0.5) contrast(1.05); transition: filter 0.5s, transform 0.7s var(--ease-out); }
.club-photo:hover img { filter: grayscale(0) contrast(1.05); transform: scale(1.04); }
.club-photo-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--accent); color: #0d0803;
  font-family: var(--display); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 20px; font-size: 15px;
}
.club-badge {
  position: absolute; top: -54px; right: -20px;
  width: 138px; height: 138px;
  display: grid; place-items: center;
  animation: spin 22s linear infinite;
}
.club-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.club-badge text { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; fill: var(--ink-dim); text-transform: uppercase; }
.club-badge em {
  font-family: var(--display); font-style: normal; font-weight: 900; font-size: 30px; color: var(--accent);
  animation: spinReverse 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

/* ============ Disciplines ============ */
.disciplines { background: var(--bg-2); }
.disciplines::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 85% 15%, rgba(255,90,31,0.07), transparent 65%);
  pointer-events: none;
}
.disc-layout { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.disc-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 24px); }
.disc-tab {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 14px; text-align: left;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.3s, padding-left 0.35s var(--ease-out), background 0.3s;
  position: relative;
}
.disc-tab-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; font-family: var(--body); }
.disc-tab-arrow { margin-left: auto; opacity: 0; transform: translateX(-10px); transition: opacity 0.3s, transform 0.3s var(--ease-out); color: var(--accent); }
.disc-tab:hover { color: var(--ink); padding-left: 24px; }
.disc-tab.is-active { color: var(--ink); padding-left: 24px; background: linear-gradient(90deg, rgba(255,90,31,0.1), transparent); }
.disc-tab.is-active .disc-tab-arrow, .disc-tab:hover .disc-tab-arrow { opacity: 1; transform: translateX(0); }
.disc-tab.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 3px; background: var(--accent); }

.disc-panels { position: relative; min-height: 420px; }
.disc-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), visibility 0.45s; }
.disc-panel.is-active { position: relative; opacity: 1; visibility: visible; transform: translateY(0); }
.disc-panel-title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4.5vw, 58px); text-transform: uppercase; line-height: 1; margin-bottom: 14px; }
.disc-panel-title .accent { color: var(--accent); }
.disc-panel-intro { color: var(--ink-dim); max-width: 520px; margin-bottom: 30px; font-size: 17px; }
.disc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.disc-card {
  border: 1px solid var(--line); padding: 22px;
  background: rgba(11, 11, 13, 0.5);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.disc-card:hover { border-color: rgba(255,90,31,0.55); background: rgba(255,90,31,0.05); transform: translateY(-4px); }
.disc-card--wide { grid-column: 1 / -1; }
.disc-card h4 { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.disc-card h4 span { font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.disc-card p { font-size: 14.5px; color: var(--ink-dim); }

/* ============ Coachs ============ */
.coachs { background: var(--bg); }
.coach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.coach-card {
  position: relative; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
  will-change: transform;
}
.coach-card:hover { border-color: rgba(255,90,31,0.6); }
.coach-photo { overflow: hidden; aspect-ratio: 3 / 3.7; }
.coach-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.5s, transform 0.65s var(--ease-out);
}
.coach-card:hover .coach-photo img { filter: grayscale(0); transform: scale(1.07); }
.coach-info { padding: 14px 16px 18px; position: relative; }
.coach-info::before { content: ""; position: absolute; top: 0; left: 16px; width: 26px; height: 2px; background: var(--accent); transition: width 0.35s var(--ease-out); }
.coach-card:hover .coach-info::before { width: 52px; }
.coach-info h3 { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1; margin-bottom: 4px; }
.coach-info p { font-size: 12px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

/* ============ Bande La Salle ============ */
.salle-band { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 200px) 0; }
.salle-band-bg { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
.salle-band-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.8) brightness(0.34) contrast(1.1); }
.salle-band-content { position: relative; z-index: 1; width: min(1240px, 92vw); margin-inline: auto; max-width: none; }
.salle-band-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.salle-band-title { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 8vw, 110px); text-transform: uppercase; line-height: 0.92; margin-bottom: 20px; }
.salle-band-title .accent { color: var(--accent); }
.salle-band-text { max-width: 480px; color: rgba(244,241,236,0.8); margin-bottom: 32px; font-size: 17px; }

/* ============ Planning & Tarifs ============ */
.planning { background: var(--bg-2); }

/* ---- Agenda : couleurs par famille de discipline (gamme chaude de la marque) ---- */
:root {
  --cat-anglaise: #ff5a1f;
  --cat-kick: #ffb36b;   /* pieds poings et MMA : même espace, même couleur */
  --cat-mma: #ffb36b;
  --cat-body: #f4f1ec;
  --cat-cross: #a7a29a;
}

.agenda-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap; margin-bottom: 20px;
}

/* Toggle Jour / Semaine */
.agenda-toggle {
  display: flex; position: relative;
  border: 1.5px solid var(--line); padding: 4px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.agenda-toggle-btn {
  position: relative; z-index: 1;
  padding: 10px 26px;
  font-family: var(--display); font-weight: 800; font-size: 17px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim); transition: color 0.3s;
}
.agenda-toggle-btn.is-active { color: #0d0803; }
.agenda-toggle::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: var(--pill-w, 50%); background: var(--accent);
  transform: translateX(var(--pill-x, 0));
  transition: transform 0.35s var(--ease-punch), width 0.35s var(--ease-out);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

/* Filtres disciplines, groupés par espace de combat */
.agenda-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.agenda-espace {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  border: 1px solid var(--line); padding: 8px 10px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: opacity 0.3s, border-color 0.3s;
}
.agenda-espace.is-off { opacity: 0.55; }
.agenda-espace-head {
  font-family: var(--display); font-weight: 800; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); padding: 6px 8px 6px 4px;
  border-right: 1px solid var(--line); margin-right: 2px;
  transition: color 0.25s;
  cursor: pointer;
}
.agenda-espace-head:hover { color: var(--accent-hot); }
.agenda-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1.5px solid var(--line);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 0.25s, border-color 0.25s, opacity 0.25s, transform 0.2s var(--ease-punch);
}
.agenda-filter i { width: 10px; height: 10px; background: var(--cat, var(--accent)); flex-shrink: 0; transition: transform 0.25s var(--ease-punch); }
.agenda-filter:hover { color: var(--ink); border-color: rgba(255,90,31,0.45); }
.agenda-filter.is-off { opacity: 0.38; }
.agenda-filter.is-off i { transform: scale(0.4); }
.agenda-filter.is-on { color: var(--ink); border-color: rgba(244,241,236,0.3); }

/* Sélecteur de jours (vue Jour) */
.agenda-days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.agenda-day-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 10px 18px; border: 1.5px solid var(--line); color: var(--ink-dim);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s var(--ease-out);
}
.agenda-day-btn strong { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.agenda-day-btn small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); min-height: 13px; }
.agenda-day-btn:hover { color: var(--ink); border-color: rgba(255,90,31,0.5); transform: translateY(-2px); }
.agenda-day-btn.is-active { background: var(--accent); border-color: var(--accent); color: #0d0803; }
.agenda-day-btn.is-active small { color: rgba(13,8,3,0.7); }

/* ---- Vue Jour : timeline ---- */
.agenda-day { display: none; }
.agenda-day.is-visible { display: block; animation: stepIn 0.4s var(--ease-out); }
.dayline { position: relative; padding-left: 92px; }
.dayline::before {
  content: ""; position: absolute; left: 78px; top: 6px; bottom: 6px;
  width: 1.5px; background: var(--line);
}
.dayline-item { position: relative; margin-bottom: 14px; animation: rowIn 0.45s var(--ease-out) backwards; animation-delay: calc(var(--i) * 55ms); }
.dayline-time {
  position: absolute; left: -92px; top: 14px; width: 64px; text-align: right;
  font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); line-height: 1.15;
}
.dayline-time small { display: block; font-family: var(--body); font-size: 11px; font-weight: 600; color: var(--ink-dim); }
.dayline-item::before {
  content: ""; position: absolute; left: -18px; top: 20px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cat, var(--accent));
  box-shadow: 0 0 0 4px var(--bg-2);
}
.dayline-cards { display: grid; gap: 8px; }
.dayline-card {
  border: 1px solid var(--line); border-left: 3px solid var(--cat, var(--accent));
  background: rgba(11, 11, 13, 0.5);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.dayline-card:hover { background: rgba(255,90,31,0.06); transform: translateX(6px); }

/* Créneaux simultanés : cartes côte à côte reliées, étiquette dédiée */
.dayline-item--multi .dayline-cards { grid-template-columns: 1fr 1fr; }
.dayline-item--multi .dayline-cards .dayline-card { border-left-width: 4px; }
.dayline-multi-tag {
  position: absolute; left: -14px; top: -11px; z-index: 2;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: #0d0803; padding: 3px 9px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.dayline-item--multi { padding-top: 6px; }
.dayline-item--multi::before { box-shadow: 0 0 0 4px var(--bg-2), 0 0 10px rgba(255,90,31,0.7); }
@media (max-width: 700px) {
  .dayline-item--multi .dayline-cards { grid-template-columns: 1fr; }
}
.dayline-name { font-weight: 700; font-size: 15.5px; }
.dayline-name small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-dim); }
.dayline-level {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); border: 1px solid var(--line); padding: 4px 11px; white-space: nowrap;
}
.dayline-live {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #0d0803; background: var(--accent); padding: 4px 10px;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 50% { opacity: 0.55; } }
.dayline-empty { padding: 28px 0 28px 0; color: var(--ink-dim); font-style: italic; }

/* ---- Vue Semaine : grille horaire ---- */
.agenda-week-wrap { display: none; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.agenda-week-wrap.is-visible { display: block; animation: stepIn 0.4s var(--ease-out); }
.agenda-week {
  --hstart: 10; --hend: 22; --hrow: 60px;
  display: grid; grid-template-columns: 52px repeat(7, minmax(128px, 1fr));
  min-width: 950px;
}
.week-hours { position: relative; }
.week-hours span {
  position: absolute; right: 10px; transform: translateY(-50%);
  font-size: 11px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.04em;
}
.week-col-head {
  padding: 10px 8px 12px; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 16px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim);
  border-bottom: 1.5px solid var(--line);
}
.week-col-head small { display: block; font-family: var(--body); font-size: 9.5px; letter-spacing: 0.16em; font-weight: 700; color: var(--accent); min-height: 12px; }
.week-col { scroll-snap-align: start; }
.week-col.is-today .week-col-head { color: var(--ink); }
.week-col-body {
  position: relative;
  height: calc((var(--hend) - var(--hstart)) * var(--hrow));
  border-left: 1px solid rgba(244, 241, 236, 0.06);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0, transparent calc(var(--hrow) - 1px),
    rgba(244, 241, 236, 0.055) calc(var(--hrow) - 1px), rgba(244, 241, 236, 0.055) var(--hrow)
  );
}
.week-col:last-child .week-col-body { border-right: 1px solid rgba(244,241,236,0.06); }
.week-col.is-today .week-col-body { background-color: rgba(255, 90, 31, 0.045); }
.week-session {
  position: absolute; overflow: hidden;
  border-left: 3px solid var(--cat, var(--accent));
  background: #17171b;
  padding: 6px 8px;
  font-size: 11px; line-height: 1.3;
  transition: transform 0.2s var(--ease-out), z-index 0s, background 0.2s;
  cursor: default;
}
.week-session:hover { transform: scale(1.04); z-index: 5; background: #1f1f24; }
.week-session strong { display: block; font-weight: 700; font-size: 11.5px; color: var(--ink); }
.week-session em { font-style: normal; display: block; color: var(--cat, var(--accent)); font-weight: 700; font-size: 10px; letter-spacing: 0.04em; }
.week-session small { display: block; color: var(--ink-dim); font-size: 10px; }
.week-now {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); z-index: 6;
  box-shadow: 0 0 8px rgba(255, 90, 31, 0.8);
}
.week-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.planning-days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.planning-day {
  font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid var(--line); color: var(--ink-dim);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s var(--ease-out);
}
.planning-day:hover { color: var(--ink); border-color: rgba(255,90,31,0.5); transform: translateY(-2px); }
.planning-day.is-active { background: var(--accent); color: #0d0803; border-color: var(--accent); }
.planning-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-bottom: 60px; }
.planning-row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 14px; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-18px);
  animation: rowIn 0.45s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 60ms);
  transition: background 0.25s, padding-left 0.3s var(--ease-out);
}
.planning-row:hover { background: rgba(255,90,31,0.05); padding-left: 24px; }
@keyframes rowIn { to { opacity: 1; transform: translateX(0); } }
.planning-row-time { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--accent); letter-spacing: 0.04em; }
.planning-row-time small { display: block; font-family: var(--body); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.planning-day--week { border-color: rgba(255,90,31,0.55); color: var(--accent); }
.planning-row-name { font-weight: 600; font-size: 16px; }
.planning-row-name small { display: block; font-weight: 400; color: var(--ink-dim); font-size: 13px; }
.planning-row-level { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); border: 1px solid var(--line); padding: 5px 12px; white-space: nowrap; }
.planning-empty { padding: 32px 14px; color: var(--ink-dim); font-style: italic; border-bottom: 1px solid var(--line); }
.planning-note { font-size: 13.5px; color: var(--ink-dim); margin-bottom: 64px; }
.planning-note strong { color: var(--ink); }
.planning-note a { color: var(--accent); font-weight: 700; }

.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 70px; }
.tarifs--four { grid-template-columns: repeat(4, 1fr); }
.tarif-card {
  position: relative; padding: 34px 28px;
  border: 1px solid var(--line); background: var(--bg);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
  will-change: transform;
}
.tarif-card:hover { border-color: rgba(255,90,31,0.55); }
.tarif-card--featured { border-color: var(--accent); background: linear-gradient(160deg, rgba(255,90,31,0.1), var(--bg) 55%); }
.tarif-flag {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #0d0803;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px;
}
.tarif-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tarif-label { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.05em; text-transform: uppercase; }
.tarif-age { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.tarif-price { display: flex; align-items: baseline; gap: 6px; }
.tarif-price strong { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 5vw, 76px); line-height: 1; color: var(--ink); }
.tarif-price em { font-style: normal; color: var(--ink-dim); font-size: 15px; font-weight: 600; }
.tarif-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.tarif-card li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-dim); }
.tarif-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.materiel { border: 1px solid var(--line); padding: 32px; background: rgba(11,11,13,0.4); }
.materiel h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 18px; }
.materiel-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.materiel-note { font-size: 12.5px; color: var(--ink-dim); }

/* ============ Coaching privé / Booking ============ */
.coaching { background: var(--bg); overflow: hidden; }
.coaching::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 45% at 10% 90%, rgba(255,90,31,0.08), transparent 60%);
  pointer-events: none;
}
.booking {
  border: 1px solid var(--line); background: var(--bg-2);
  padding: clamp(26px, 4vw, 52px);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  position: relative;
}
.booking-progress { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(30px, 4vw, 48px); }
.booking-step-dot { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.booking-step-dot span {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--ink-dim);
  font-family: var(--display); font-weight: 800; font-size: 18px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.3s var(--ease-punch);
}
.booking-step-dot em { font-style: normal; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600; }
.booking-step-dot.is-active span { background: var(--accent); border-color: var(--accent); color: #0d0803; transform: scale(1.1); }
.booking-step-dot.is-done span { border-color: var(--accent); color: var(--accent); }
.booking-step-dot.is-active em { color: var(--ink); }
.booking-step-bar { flex: 1; height: 1.5px; background: var(--line); position: relative; overflow: hidden; }
.booking-step-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.booking-step-bar.is-done i { transform: scaleX(1); }

.booking-step { display: none; }
.booking-step.is-active { display: block; animation: stepIn 0.5s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.booking-title { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.booking-title:not(:first-child) { margin-top: 36px; }

.booking-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.booking-type {
  text-align: left; padding: 20px; border: 1.5px solid var(--line);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color 0.3s, background 0.3s, transform 0.25s var(--ease-out);
  display: flex; flex-direction: column; gap: 5px;
}
.booking-type:hover { transform: translateY(-3px); border-color: rgba(255,90,31,0.5); }
.booking-type.is-selected { border-color: var(--accent); background: rgba(255,90,31,0.09); }
.booking-type strong { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.booking-type span { font-size: 13px; color: var(--ink-dim); }
.booking-type.is-selected span { color: var(--accent); }

.booking-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.booking-choice {
  padding: 13px 22px; border: 1.5px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-dim);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s var(--ease-punch);
}
.booking-choice:hover { color: var(--ink); border-color: rgba(255,90,31,0.5); }
.booking-choice.is-selected { background: var(--accent); border-color: var(--accent); color: #0d0803; transform: scale(1.04); }

.booking-coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.booking-coach {
  position: relative; overflow: hidden; text-align: left;
  border: 1.5px solid var(--line); background: var(--bg);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color 0.3s, transform 0.25s var(--ease-out);
}
.booking-coach:hover { transform: translateY(-4px); border-color: rgba(255,90,31,0.5); }
.booking-coach.is-selected { border-color: var(--accent); }
.booking-coach.is-selected::after {
  content: "✓"; position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--accent); color: #0d0803; font-weight: 800; font-size: 14px;
  animation: popIn 0.3s var(--ease-punch);
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.booking-coach img { width: 100%; aspect-ratio: 1 / 1.06; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter 0.4s; }
.booking-coach:hover img, .booking-coach.is-selected img { filter: grayscale(0); }
.booking-coach-name { display: block; padding: 10px 12px 4px; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.booking-coach-disc { display: block; padding: 0 12px 12px; font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.booking-when { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.booking-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; align-content: start; }
.booking-date {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 13px 6px; border: 1.5px solid var(--line);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease-punch);
}
.booking-date:hover { border-color: rgba(255,90,31,0.5); }
.booking-date.is-selected { background: var(--accent); border-color: var(--accent); color: #0d0803; transform: scale(1.05); }
.booking-date-dow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--ink-dim); }
.booking-date.is-selected .booking-date-dow { color: rgba(13,8,3,0.7); }
.booking-date-num { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; }
.booking-date-month { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.booking-date.is-selected .booking-date-month { color: rgba(13,8,3,0.7); }

.booking-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.booking-slots-empty { grid-column: 1 / -1; color: var(--ink-dim); font-style: italic; padding: 12px 0; }
.booking-slot {
  padding: 13px 8px; border: 1.5px solid var(--line); text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: 0.05em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease-punch);
}
.booking-slot:hover { border-color: rgba(255,90,31,0.5); }
.booking-slot.is-selected { background: var(--accent); border-color: var(--accent); color: #0d0803; transform: scale(1.05); }

.booking-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 38px; }

.booking-final { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.booking-recap {
  border: 1px solid rgba(255,90,31,0.4); background: rgba(255,90,31,0.05);
  padding: 26px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.booking-recap h4 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; color: var(--accent); }
.booking-recap dl { display: flex; flex-direction: column; gap: 12px; }
.booking-recap dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(244,241,236,0.15); padding-bottom: 10px; }
.booking-recap dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600; }
.booking-recap dd { font-weight: 600; font-size: 14.5px; text-align: right; }
.booking-recap-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-dim); }

.booking-success { text-align: center; }
.booking-success-inner { padding: clamp(24px, 5vw, 60px) 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.booking-success-glove { font-size: 74px; animation: gloveJab 0.9s var(--ease-punch); }
@keyframes gloveJab {
  0% { transform: translateX(-140px) rotate(-30deg) scale(0.4); opacity: 0; }
  55% { transform: translateX(16px) rotate(6deg) scale(1.15); opacity: 1; }
  100% { transform: translateX(0) rotate(0) scale(1); }
}
.booking-success h3 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 56px); letter-spacing: 0.03em; }
.booking-success p { color: var(--ink-dim); max-width: 440px; }
.booking-success-alt a { color: var(--accent); font-weight: 700; }

/* ============ Formulaires ============ */
.field { position: relative; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input { width: 100%; padding: 20px 16px 8px; }
.field textarea { width: 100%; padding: 20px 16px 28px; }
.field input, .field textarea {
  background: rgba(244,241,236,0.04);
  border: 1.5px solid var(--line); color: var(--ink);
  font-family: var(--body); font-size: 15px;
  outline: none; resize: vertical;
  transition: border-color 0.3s, background 0.3s;
}
.field label {
  position: absolute; left: 16px; top: 15px;
  font-size: 14px; color: var(--ink-dim);
  pointer-events: none;
  transition: top 0.25s var(--ease-out), font-size 0.25s, color 0.25s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: rgba(255,90,31,0.05); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  top: 5px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.field.is-error input, .field.is-error textarea { border-color: #e5484d; animation: shake 0.4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Erreur inline sous le champ */
.field-error {
  display: block; font-style: normal; font-size: 12.5px; font-weight: 600;
  color: #e5484d; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.3s var(--ease-out), opacity 0.3s, margin 0.3s;
}
.field.is-error .field-error { max-height: 40px; opacity: 1; margin-top: 6px; }

/* Compteur de caractères */
.field-count {
  position: absolute; right: 12px; bottom: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-dim); opacity: 0; transition: opacity 0.25s, color 0.25s;
  pointer-events: none;
}
.field:focus-within .field-count { opacity: 1; }
.field-count.is-warn { color: var(--accent); opacity: 1; }

/* Bouton en cours d'envoi */
.btn--loading { pointer-events: none; }
.btn--loading span { opacity: 0.85; }
.btn--loading::after {
  content: ""; position: absolute; z-index: 3;
  right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2.5px solid rgba(13, 8, 3, 0.25); border-top-color: #0d0803;
  border-radius: 50%; animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ============ Contact ============ */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info { display: flex; flex-direction: column; }
.contact-line {
  display: flex; flex-direction: column; gap: 5px;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease-out), background 0.3s;
}
a.contact-line:hover { padding-left: 16px; background: rgba(255,90,31,0.04); }
.contact-line-label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.contact-line-value { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.25; }
.contact-socials { display: flex; gap: 22px; }
.contact-socials a { position: relative; transition: color 0.25s; }
.contact-socials a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease-out); }
.contact-socials a:hover { color: var(--accent); }
.contact-socials a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact-map { margin-top: 30px; border: 1px solid var(--line); filter: grayscale(1) invert(0.92) contrast(0.9); transition: filter 0.45s; }
.contact-map:hover { filter: grayscale(0.2) invert(0) contrast(1); }
.contact-map iframe { width: 100%; height: 260px; border: 0; display: block; }

.contact-form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-dim); text-align: center; }

/* ---- Case anti-bot ---- */
.check {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 20px; cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1.5px solid var(--line);
  background: rgba(244, 241, 236, 0.04);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  display: grid; place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.2s var(--ease-punch);
  position: relative;
}
.check-box::after {
  content: "";
  width: 6px; height: 11px; margin-top: -2px;
  border: solid #0d0803; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.25s var(--ease-punch);
}
.check:hover .check-box { border-color: rgba(255, 90, 31, 0.6); }
.check input:checked + .check-box { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check-label { font-size: 14px; color: var(--ink-dim); transition: color 0.25s; }
.check input:checked ~ .check-label { color: var(--ink); }
.check.is-error .check-box { border-color: #e5484d; animation: shake 0.4s; }
.check-error {
  display: block; font-style: normal; font-size: 12.5px; font-weight: 600;
  color: #e5484d; margin: -12px 0 16px 36px;
}
.check-error[hidden] { display: none !important; }

/* ---- Confirmation d'envoi sur la page ---- */
.contact-success {
  border: 1px solid rgba(255, 90, 31, 0.45);
  background: linear-gradient(165deg, rgba(255,90,31,0.09), rgba(11,11,13,0.6) 55%);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  padding: clamp(34px, 5vw, 56px) clamp(24px, 4vw, 44px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: stepIn 0.5s var(--ease-out);
}
.contact-success-punch { position: relative; width: 96px; height: 96px; margin-bottom: 6px; }
.contact-success-check { width: 96px; height: 96px; }
.contact-success-check circle {
  fill: none; stroke: var(--accent); stroke-width: 3;
  stroke-dasharray: 208; stroke-dashoffset: 208;
  transform: rotate(-90deg); transform-origin: center;
  animation: drawCircle 0.7s var(--ease-out) 0.15s forwards;
}
.contact-success-check path {
  fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: square;
  stroke-dasharray: 42; stroke-dashoffset: 42;
  animation: drawCheck 0.4s var(--ease-out) 0.75s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.contact-success-glove {
  position: absolute; right: -16px; bottom: -8px;
  color: var(--accent);
  animation: gloveJab 0.8s var(--ease-punch) 1s backwards;
}
.contact-success-glove svg { width: 36px; height: 36px; display: block; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45)); }
.contact-success h3 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(32px, 4.5vw, 46px); letter-spacing: 0.03em; text-transform: uppercase;
  outline: none;
}
.contact-success h3 .accent { color: var(--accent); }
.contact-success p { color: var(--ink-dim); font-size: 15.5px; line-height: 1.6; }
.contact-success p strong { color: var(--ink); }
.contact-success-copy { border-block: 1px dashed rgba(244,241,236,0.18); padding: 14px 0; }
.contact-success-copy strong { color: var(--accent); word-break: break-all; }
.contact-success-copy small { color: var(--ink-dim); font-size: 12px; }
.contact-success-alt a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.contact-success .btn { margin-top: 12px; }

/* ============ Footer ============ */
.footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  padding: 60px 0 44px;
}
.footer-brand img { width: 74px; border-radius: 8px; background: #fff; padding: 4px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-dim); font-size: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--ink-dim); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; transition: color 0.25s, padding-left 0.25s var(--ease-out); }
.footer-nav a:hover { color: var(--accent); padding-left: 8px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; color: var(--ink-dim); font-size: 14px; }
.footer-contact > a { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); letter-spacing: 0.04em; transition: color 0.25s; }
.footer-contact > a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 18px; margin-top: 6px; }
.footer-socials a { font-weight: 700; color: var(--ink); transition: color 0.25s; }
.footer-socials a:hover { color: var(--accent); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  width: min(1240px, 92vw); margin-inline: auto;
  padding: 20px 0 26px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-dim);
}

/* ============ Page Affiliations ============ */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px);
}
.page-hero-bg { position: absolute; inset: -12% 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.3) contrast(1.1); }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,11,13,0.7), rgba(11,11,13,0.95)); }
.page-hero .container { position: relative; z-index: 2; }

.affil-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 70px; }
.affil-card {
  position: relative; padding: 38px 32px;
  border: 1px solid var(--line); background: var(--bg-2);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
  display: flex; flex-direction: column; gap: 16px;
}
.affil-card:hover { border-color: rgba(255,90,31,0.55); }
.affil-card--soon { opacity: 0.75; }
.affil-flag {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #0d0803;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px;
}
.affil-sigle { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 5vw, 68px); line-height: 1; color: var(--accent); }
.affil-card--soon .affil-sigle { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.affil-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
.affil-card p { font-size: 14.5px; color: var(--ink-dim); }
.affil-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.affil-card li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-dim); }
.affil-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.affil-why { border: 1px solid var(--line); padding: 40px 34px; background: rgba(255,90,31,0.04);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.affil-why h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.affil-why h3 span { color: var(--accent); }
.affil-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.affil-why-item strong { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.affil-why-item p { font-size: 13.5px; color: var(--ink-dim); }

@media (max-width: 900px) {
  .affil-grid { grid-template-columns: 1fr; }
  .affil-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .affil-why-grid { grid-template-columns: 1fr; }
}

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 9000;
  transform: translate(-50%, 140%);
  background: var(--accent); color: #0d0803;
  font-weight: 700; font-size: 14.5px;
  padding: 15px 28px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.45s var(--ease-punch);
  max-width: 90vw; text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .coach-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .tarifs--four { grid-template-columns: repeat(2, 1fr); }
}
/* ===== Hero mobile : les stats reviennent dans le flux (fin des chevauchements) ===== */
@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 28px) 0 0;
    justify-content: flex-start;
  }
  .hero-content { padding-bottom: 44px; }
  .hero-stats {
    position: static;
    margin-top: auto;
    width: 100%;
    border-top: 1px solid var(--line);
    background: rgba(11, 11, 13, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .hero-title { margin-bottom: 22px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
}

@media (max-width: 900px) {
  .club-grid, .disc-layout, .contact-grid, .booking-final { grid-template-columns: 1fr; }
  .tarifs--four { grid-template-columns: 1fr; }
  /* Badge rotatif : à l'intérieur de la photo, plus de débordement sur la section suivante */
  .club-badge { top: auto; bottom: 14px; right: 14px; width: 104px; height: 104px; }
  .club-badge em { font-size: 24px; }
  .disc-tabs { position: static; flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .disc-tabs::-webkit-scrollbar { display: none; }
  .disc-tab { border: 1px solid var(--line); white-space: nowrap; font-size: 17px; padding: 12px 18px !important; flex-shrink: 0; }
  .disc-tab.is-active::before { display: none; }
  .disc-tab .disc-tab-arrow { display: none; }
  .disc-cards { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: repeat(3, 1fr); }
  .tarifs { grid-template-columns: 1fr; }
  .booking-types { grid-template-columns: 1fr; }
  .booking-when { grid-template-columns: 1fr; }
  .hero-scroll-hint { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .booking-step-dot em { display: none; }
}
@media (max-width: 600px) {
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 1px solid var(--line); }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hero-stat:nth-child(3) { border-left: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .planning-row { grid-template-columns: 84px 1fr; }
  .planning-row-level { display: none; }
  .nav-brand-text { display: none; }
  .booking-slots { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Mobile : confort & pièges iOS ============ */
@media (max-width: 600px) {
  /* iOS zoome sur les champs < 16px : on force 16px */
  .field input, .field textarea, .contacts-toolbar input { font-size: 16px; }

  /* Tap targets confortables */
  .btn { padding: 16px 26px; }
  .btn--lg { padding: 18px 28px; font-size: 17px; }
  .planning-day { padding: 13px 18px; }

  /* Hero : CTA pleine largeur, empilés */
  .hero-cta span { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-title { font-size: clamp(72px, 21vw, 110px); }

  /* Sections : respiration réduite mais lisible */
  .section { padding: 72px 0; }
  .section-title { font-size: clamp(40px, 11vw, 56px); }

  /* Formulaire contact : la confirmation prend toute la place */
  .contact-success { padding: 38px 20px; }
  .contact-success .btn { width: 100%; }
  .contact-success-alt a { display: inline-block; margin-top: 2px; font-size: 18px; }
  .contact-form-note { font-size: 12px; }

  /* Marquee moins envahissant */
  .marquee-track { font-size: 19px; gap: 24px; }

  /* Bande salle */
  .salle-band-content .btn { width: 100%; }

  /* Toast au-dessus de la barre iOS + pleine largeur lisible */
  .toast {
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: calc(100vw - 32px); max-width: none;
    font-size: 14px; padding: 14px 18px;
  }

  /* Footer */
  .footer-legal { flex-direction: column; gap: 6px; text-align: center; }
  .footer-marquee .marquee-track--slow { font-size: 40px; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .hero-title { font-size: 64px; }
  .hero-stat strong { font-size: 26px; }
  .planning-row { grid-template-columns: 70px 1fr; gap: 12px; }
}

/* ============ Accessibilité : mouvement réduit ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-title-line > span, .reveal-line > span { transform: none; }
  .marquee-track { animation: none; }
}
