/* Fit Fight — salle de boxe et remise en forme, Anglet
   Charte : noir du ring, corail des tatamis, toile crème, sable, acier.
   Polices hébergées sur le site (pas d'appel à Google Fonts). */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --noir: #000000;
  --tatami: #e26b54;
  --toile: #f7f4eb;
  --sable: #e5decb;
  --acier: #44474d;
  --gris: #9a9ca1;
  --blanc: #ffffff;
  --trait: #2b2c2f;

  --f-titre: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-texte: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gouttiere: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --entete: 72px;
  --courbe: cubic-bezier(0.2, 0.8, 0.2, 1);
  --courbe-ferme: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--entete) + 12px);
  -webkit-text-size-adjust: 100%;
}
html.motion { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font: 400 1.0625rem/1.65 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-ouvert { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul { padding: 0; margin: 0; }
sup { font-size: 0.6em; line-height: 0; }

:focus-visible { outline: 3px solid var(--tatami); outline-offset: 3px; }
.essai :focus-visible, .devis :focus-visible { outline-color: var(--noir); }

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

.evitement {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 0.8rem 1.2rem; background: var(--tatami); color: var(--noir);
  font-weight: 600; text-decoration: none;
}
.evitement:focus { top: 12px; }

.enveloppe {
  width: min(100% - 2 * var(--gouttiere), var(--max));
  margin-inline: auto;
}

.titre-section {
  font-family: var(--f-titre);
  font-weight: 850;
  text-transform: uppercase;
  font-size: clamp(3.1rem, 8.4vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: -0.005em;
  margin-bottom: 0.4em;
  text-wrap: balance;
}

.accroche {
  font-family: var(--f-titre);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
  margin-bottom: 0.8em;
}

[hidden] { display: none !important; }

.desktop-seul { display: none; }
@media (min-width: 1024px) {
  .desktop-seul { display: inline; }
  .mobile-seul { display: none; }
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  background-color: transparent;
  font: 600 0.95rem/1.15 var(--f-texte);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s var(--courbe), border-color 0.25s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--courbe-ferme);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--tatami { background: var(--tatami); color: var(--noir); }
.btn--tatami::before { background: var(--blanc); }
.btn--contour { border-color: var(--blanc); color: var(--blanc); }
.btn--contour::before { background: var(--blanc); }
.btn--contour:hover, .btn--contour:focus-visible { color: var(--noir); }
.btn--noir { background: var(--noir); color: var(--blanc); }
.btn--noir::before { background: var(--blanc); }
.btn--noir:hover, .btn--noir:focus-visible { color: var(--noir); }
.btn--contour-noir { border-color: var(--noir); color: var(--noir); }
.btn--contour-noir::before { background: var(--noir); }
.btn--contour-noir:hover, .btn--contour-noir:focus-visible { color: var(--blanc); }
.btn--petit { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--large { min-height: 60px; font-size: 1.05rem; width: 100%; }

.lien-fleche {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
  padding-bottom: 4px;
  transition: background-size 0.35s var(--courbe-ferme);
}
.lien-fleche:hover { background-size: 40% 2px; }

/* ---------- Barre de progression ---------- */
.progression {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  pointer-events: none;
}
.progression span {
  display: block; height: 100%;
  background: var(--tatami);
  transform-origin: left center;
  transform: scaleX(var(--progression, 0));
}

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--entete);
  display: flex; align-items: center; gap: 1rem;
  padding-inline: var(--gouttiere);
}
/* Le fond flouté est porté par un pseudo-élément : un backdrop-filter sur l'en-tête
   lui-même enfermerait le menu plein écran (position fixed) dans ses 72 px. */
.entete::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s;
}
.entete.est-defile::before { opacity: 1; }
.marque {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; margin-right: auto;
  position: relative; z-index: 2;
}
.marque img { width: 40px; height: 40px; }
.marque span {
  font: 900 1.75rem/1 var(--f-titre);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.entete__essai { position: relative; z-index: 2; }

.burger {
  position: relative; z-index: 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.burger__barres, .burger__barres::before, .burger__barres::after {
  display: block; width: 26px; height: 2px; background: var(--blanc);
  transition: transform 0.3s var(--courbe), opacity 0.2s;
}
.burger__barres { position: relative; }
.burger__barres::before, .burger__barres::after { content: ""; position: absolute; left: 0; }
.burger__barres::before { top: -8px; }
.burger__barres::after { top: 8px; }
.burger[aria-expanded="true"] .burger__barres { background: transparent; }
.burger[aria-expanded="true"] .burger__barres::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__barres::after { transform: translateY(-8px) rotate(-45deg); }

.nav ul { list-style: none; }

@media (max-width: 1099px) {
  .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--noir);
    padding: calc(var(--entete) + 24px) var(--gouttiere) 32px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s 0.3s;
  }
  .nav.est-ouvert { visibility: visible; opacity: 1; transition: opacity 0.3s; }
  .nav ul { display: grid; gap: 0.2rem; }
  .nav a:not(.btn) {
    font: 850 clamp(2.6rem, 12vw, 4.2rem)/1.02 var(--f-titre);
    text-transform: uppercase; text-decoration: none;
  }
  .nav ul a:hover { color: var(--tatami); }
  .nav__plus { display: grid; gap: 1rem; margin-top: 2rem; }
  .nav__plus .nav__tel { font: 600 1.1rem/1.4 var(--f-texte) !important; text-transform: none !important; }
  html.motion .nav.est-ouvert li { animation: entree-lien 0.5s var(--courbe) both; }
  html.motion .nav.est-ouvert li:nth-child(2) { animation-delay: 40ms; }
  html.motion .nav.est-ouvert li:nth-child(3) { animation-delay: 80ms; }
  html.motion .nav.est-ouvert li:nth-child(4) { animation-delay: 120ms; }
  html.motion .nav.est-ouvert li:nth-child(5) { animation-delay: 160ms; }
  html.motion .nav.est-ouvert li:nth-child(6) { animation-delay: 200ms; }
}
@keyframes entree-lien { from { transform: translateY(30%); opacity: 0; } }

@media (max-width: 420px) {
  .marque span { font-size: 1.45rem; }
  .marque img { width: 34px; height: 34px; }
  .entete__essai { padding-inline: 0.8rem; }
}

@media (min-width: 1100px) {
  .burger { display: none; }
  .nav { margin-right: 1.6rem; }
  .nav ul { display: flex; gap: clamp(1.1rem, 2vw, 2rem); }
  .nav a {
    font-size: 0.9rem; font-weight: 500; text-decoration: none;
    background: linear-gradient(var(--tatami), var(--tatami)) left bottom / 0 2px no-repeat;
    padding-block: 6px;
    transition: background-size 0.3s var(--courbe-ferme);
  }
  .nav a:hover, .nav a[aria-current="true"] { background-size: 100% 2px; }
  .nav__plus { display: none; }
}

/* ---------- Pastille « round » ---------- */
/* Bandeau vertical dans la marge gauche, lu de bas en haut */
.round {
  position: fixed; left: max(4px, calc(var(--gouttiere) / 2 - 17px)); bottom: 24px; z-index: 40;
  display: none;
  align-items: center; gap: 0.75rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 0.8rem 0.35rem;
  background: var(--noir);
  border: 1px solid var(--trait);
  color: var(--blanc);
  pointer-events: none;
  white-space: nowrap;
}
.round__num { font: 600 0.7rem/1.2 var(--f-texte); color: var(--gris); }
.round__nom { font: 800 1.05rem/1 var(--f-titre); text-transform: uppercase; }
.round__chrono {
  font: 800 1.45rem/1 var(--f-titre);
  color: var(--tatami);
  font-variant-numeric: tabular-nums;
  min-height: 3.1ch;
}
.round { transition: opacity 0.4s, translate 0.4s var(--courbe); }
.round.est-cache { opacity: 0; translate: 0 12px; }
.round.cloche { animation: cloche 0.7s ease-out; }
@keyframes cloche {
  0% { background: var(--tatami); border-color: var(--tatami); }
  100% { background: var(--noir); }
}
@media (min-width: 1024px) { .round { display: flex; } }

/* ---------- Entrée sur le ring ---------- */
/* Sans animation (ou sans JavaScript), la scène est une ouverture fixe : la photo du ring et le titre.
   Avec animation, elle reste épinglée et le défilement fait avancer : couloir, arrivée au ring, trois coups, puis le ring. */
.entree { position: relative; background: var(--noir); }
.entree__scene {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--entete) + 24px) var(--gouttiere) clamp(32px, 6vh, 64px);
  overflow: hidden;
}
.entree__plan { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.entree__plan img { width: 100%; height: 100%; object-fit: cover; }
.entree__plan--ring { z-index: 6; }
.entree__plan--ring img { object-position: 50% 32%; }
.entree__plan--ring::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.94) 6%, rgba(0,0,0,0.5) 52%, rgba(0,0,0,0.18) 100%);
}
.entree__plan--couloir, .entree__plan--arrivee, .entree__voile, .entree__faisceaux,
.entree__etincelles, .entree__ondes, .entree__combo, .entree__flash, .entree__accueil, .entree__replique { display: none; }

.ouverture__texte { position: relative; z-index: 9; }
.ouverture__titre {
  font: 900 clamp(3.6rem, 19.5vw, 11rem)/0.84 var(--f-titre);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.3em;
}
.ligne { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.ligne > span { display: block; }
.ouverture__accroche {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--sable);
  margin-bottom: 1.6rem;
}
.ouverture__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.4rem; }
.ouverture__adresse { font-size: 0.85rem; color: var(--sable); margin: 0; }
@keyframes apparait { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 1023px) {
  .ouverture__actions .btn { flex: 1 1 220px; }
  /* Sur téléphone, le titre reste sous les visages de la photo. */
  .ouverture__titre { font-size: clamp(3.2rem, 15.5vw, 9rem); }
}
@media (min-width: 1024px) {
  .entree__scene { align-content: center; }
  /* La photo occupe la gauche de l'écran, le titre la droite, sur fond noir. */
  .entree__plan--ring { right: 43%; }
  .entree__plan--ring::after {
    background: linear-gradient(to right, rgba(0,0,0,0) 62%, rgba(0,0,0,0.85) 92%, #000 100%),
      linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%);
  }
  .ouverture__texte { margin-left: auto; width: min(39vw, 660px); }
  .ouverture__titre { font-size: min(7.7vw, 9.4rem); }
}

/* --- Version animée --- */
html.motion .entree { height: 340vh; }
html.motion .entree__scene {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  min-height: 0;
}
html.motion .entree__plan--couloir,
html.motion .entree__plan--arrivee,
html.motion .entree__voile,
html.motion .entree__faisceaux,
html.motion .entree__etincelles,
html.motion .entree__ondes,
html.motion .entree__combo,
html.motion .entree__flash,
html.motion .entree__replique { display: block; }
html.motion .entree__plan img { will-change: transform; }

.entree__plan--couloir { z-index: 1; }
.entree__plan--couloir img { object-position: 50% 36%; transform-origin: 50% 39%; }
/* Le vrai ring du club, vu depuis un coin : la caméra s'enfonce entre les cordes. */
.entree__plan--arrivee { z-index: 2; opacity: 0; }
.entree__plan--arrivee img { object-position: 60% 46%; transform-origin: 34% 48%; }
@media (min-width: 1024px) {
  .entree__plan--arrivee img { object-position: 50% 40%; transform-origin: 36% 50%; }
}
html.motion .entree.secousse .entree__plan--arrivee { animation: secousse 0.3s linear; }
@keyframes secousse {
  0% { transform: translate3d(0, 0, 0); } 15% { transform: translate3d(-9px, 5px, 0); } 30% { transform: translate3d(8px, -6px, 0); }
  50% { transform: translate3d(-6px, -3px, 0); } 70% { transform: translate3d(4px, 3px, 0); } 100% { transform: translate3d(0, 0, 0); }
}
html.motion .entree__plan--ring { opacity: 0; }

.entree__voile {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0,0,0,0.25), rgba(0,0,0,0.9) 100%);
  opacity: 0.55;
  pointer-events: none;
}

.entree__faisceaux {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}
.entree__faisceaux i {
  --de: -14deg; --a: 8deg;
  position: absolute; top: -14vh; left: 50%;
  width: 44vmax; height: 140vh;
  margin-left: -22vmax;
  /* Un cône de lumière aux bords doux : dégradé conique, estompé vers le bas par un masque. */
  background: conic-gradient(from 168deg at 50% 0, rgba(255,232,206,0) 0deg, rgba(255,232,206,0.38) 12deg, rgba(255,232,206,0) 24deg, rgba(255,232,206,0) 360deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0) 82%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0) 82%);
  transform-origin: 50% 0;
  transform: rotate(var(--de));
  animation: balayage 7s ease-in-out infinite alternate;
}
.entree__faisceaux i:nth-child(1) { left: 18%; --de: 22deg; --a: 6deg; animation-duration: 8.5s; }
.entree__faisceaux i:nth-child(2) { left: 52%; --de: -7deg; --a: 7deg; animation-duration: 6s; }
.entree__faisceaux i:nth-child(3) { left: 84%; --de: -24deg; --a: -8deg; animation-duration: 9.5s; }
@keyframes balayage { from { transform: rotate(var(--de)); } to { transform: rotate(var(--a)); } }
html:not(.en-entree) .entree__faisceaux i { animation-play-state: paused; }

.entree__etincelles {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Ondes de choc : un cercle part de l'endroit du coup. */
.entree__ondes { position: absolute; inset: 0; z-index: 7; overflow: hidden; pointer-events: none; }
.onde {
  position: absolute;
  width: 46vmax; height: 46vmax;
  margin: -23vmax 0 0 -23vmax;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), rgba(255,255,255,0) 58%);
  animation: onde 0.55s ease-out forwards;
}
@keyframes onde { from { opacity: 1; transform: scale(0.05); } to { opacity: 0; transform: scale(1); } }

.entree__flash {
  position: absolute; inset: 0; z-index: 8;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
html.motion .entree.eclair .entree__flash { animation: eclair 0.75s ease-out; }
@keyframes eclair { 0% { opacity: 0; } 10% { opacity: 0.92; } 100% { opacity: 0; } }

html.motion .entree__accueil {
  display: grid;
  position: absolute; inset: 0; z-index: 9;
  place-content: center; justify-items: center;
  gap: 0.9rem;
  padding: calc(var(--entete) + 8px) var(--gouttiere) 24px;
  text-align: center;
  will-change: opacity, transform;
}
.entree__badge { width: clamp(110px, 19vh, 200px); height: auto; }
.entree__lieu { margin: 0; font-size: clamp(0.95rem, 1.5vw, 1.15rem); font-weight: 600; color: var(--blanc); }
.entree__invite {
  margin: 0;
  max-width: 11ch;
  font: 900 clamp(2.9rem, 9vw, 7.4rem)/0.84 var(--f-titre);
  text-transform: uppercase;
  text-wrap: balance;
}
.entree__boutons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1.5rem; margin-top: 0.7rem; }
.entree__passer { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9rem; font-weight: 600; }
.entree__son {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px;
  font-size: 0.85rem; color: var(--sable);
  cursor: pointer;
}
.entree__son input { width: 20px; height: 20px; margin: 0; accent-color: var(--tatami); }
html.motion .entree__badge { animation: apparait 0.9s 0.1s var(--courbe) both; }
html.motion .entree__lieu { animation: apparait 0.9s 0.25s var(--courbe) both; }
html.motion .entree__invite { animation: apparait 0.9s 0.35s var(--courbe) both; }
html.motion .entree__boutons, html.motion .entree__son { animation: apparait 0.9s 0.55s var(--courbe) both; }

html.motion .entree__replique {
  position: absolute; z-index: 9;
  left: var(--gouttiere); right: var(--gouttiere); top: 50%;
  margin: 0;
  translate: 0 -50%;
  text-align: center;
  font: 900 clamp(2.8rem, 9.5vw, 8.4rem)/0.86 var(--f-titre);
  text-transform: uppercase;
  text-shadow: 0 6px 44px rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

/* Trois coups pour entrer : jab, cross, crochet. */
html.motion .entree__combo { position: absolute; inset: 0; z-index: 9; visibility: hidden; }
html.motion .entree.en-combo .entree__combo { visibility: visible; }
.entree__frappe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.entree__frappe:focus-visible { outline-offset: -10px; }
.entree__consigne {
  position: absolute; left: var(--gouttiere); right: var(--gouttiere); top: 50%;
  display: grid; gap: 0.9rem; justify-items: center;
  margin: 0;
  translate: 0 -50%;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.entree.en-combo .entree__consigne { opacity: 1; }
.entree[data-coups="1"] .entree__consigne, .entree[data-coups="2"] .entree__consigne, .entree[data-coups="3"] .entree__consigne { opacity: 0; }
.entree__consigne strong {
  font: 900 clamp(2.8rem, 8.6vw, 7rem)/0.86 var(--f-titre);
  text-transform: uppercase;
  text-shadow: 0 6px 44px rgba(0, 0, 0, 0.8);
  max-width: 11ch;
}
.entree__consigne span {
  padding: 0.55rem 1rem;
  background: var(--tatami);
  color: var(--noir);
  font-size: 0.9rem; font-weight: 700;
}
html.motion .entree.en-combo .entree__consigne span { animation: battement 1.1s ease-in-out infinite; }
@keyframes battement { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.entree__coup {
  position: absolute; left: 0; right: 0; top: 50%;
  margin: 0;
  translate: 0 -50%;
  text-align: center;
  font: 900 clamp(5.2rem, 25vw, 20rem)/0.8 var(--f-titre);
  text-transform: uppercase;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform: scale(2.4);
  pointer-events: none;
}
.entree__coup:nth-of-type(4) { color: var(--tatami); }
.entree__coup.actif { opacity: 1; transform: none; transition: transform 0.17s cubic-bezier(0.2, 1.5, 0.4, 1), opacity 0.06s; }
.entree__coup.passe { opacity: 0; transform: translateY(-34%) scale(0.7); transition: transform 0.3s var(--courbe), opacity 0.25s; }
.entree__marques {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 9vh, 84px);
  display: flex; justify-content: center; gap: 10px;
  margin: 0;
  pointer-events: none;
}
.entree__marques i { width: 46px; height: 6px; background: rgba(255, 255, 255, 0.3); transition: background-color 0.15s; }
.entree[data-coups="1"] .entree__marques i:nth-child(-n+1),
.entree[data-coups="2"] .entree__marques i:nth-child(-n+2),
.entree[data-coups="3"] .entree__marques i { background: var(--tatami); }

html.motion .ouverture__texte { visibility: hidden; }
html.motion .entree.est-dans-le-ring .ouverture__texte { visibility: visible; }
html.motion .entree .ligne > span { transform: translateY(108%); transition: transform 0.95s var(--courbe); }
html.motion .entree.est-dans-le-ring .ligne > span { transform: none; }
html.motion .entree.est-dans-le-ring .ligne:nth-child(1) > span { transition-delay: 0.12s; }
html.motion .entree.est-dans-le-ring .ligne:nth-child(2) > span { transition-delay: 0.2s; }
html.motion .entree.est-dans-le-ring .ligne:nth-child(3) > span { transition-delay: 0.28s; }
html.motion .entree.est-dans-le-ring .ligne:nth-child(4) > span { transition-delay: 0.36s; }
html.motion .ouverture__accroche,
html.motion .ouverture__actions,
html.motion .ouverture__adresse,
html.motion .ouverture__texte .prochain { opacity: 0; transform: translateY(14px); transition: opacity 0.7s, transform 0.7s var(--courbe); }
html.motion .entree.est-dans-le-ring .ouverture__accroche,
html.motion .entree.est-dans-le-ring .ouverture__actions,
html.motion .entree.est-dans-le-ring .ouverture__adresse,
html.motion .entree.est-dans-le-ring .ouverture__texte .prochain { opacity: 1; transform: none; transition-delay: 0.6s; }

/* Prochain cours, calculé à l'heure de Paris. */
.prochain {
  display: inline-flex; align-items: center; gap: 0.65rem;
  min-height: 44px;
  margin-top: 1.1rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.86rem; font-weight: 600;
  text-decoration: none;
}
.prochain:hover { border-color: var(--tatami); }
.prochain__point { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tatami); }
html.motion .prochain__point { animation: pouls 1.6s ease-in-out infinite; }
@keyframes pouls { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

@media (min-width: 1024px) {
  html.motion .entree { height: 400vh; }
}
/* Visiteur déjà entré pendant cette visite : rien ne s'affiche tant que la page ne l'a pas remis sur le ring. */
html.deja-vu:not(.pret) .entree__scene > * { visibility: hidden; }

/* Pendant la marche vers le ring, l'en-tête se fait oublier. */
html.en-entree .entete::before { opacity: 0; }
html.en-entree .progression { opacity: 0; }
.entete__essai { transition: opacity 0.4s, color 0.25s var(--courbe), border-color 0.25s; }
.burger { transition: opacity 0.4s; }
@media (min-width: 1100px) { .nav { transition: opacity 0.4s; } }


/* ---------- Bouton du son ---------- */
.son {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 40px; min-width: 40px;
  padding: 0.4rem 0.7rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--blanc);
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer;
}
.son__barres { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.son__barres { position: relative; }
.son__barres i { width: 3px; height: 14px; background: currentColor; transform: scaleY(0.45); transform-origin: 50% 100%; }
.son__barres i:nth-child(2) { transform: scaleY(0.9); }
.son__barres i:nth-child(3) { transform: scaleY(0.65); }
/* Son coupé : les barres sont barrées. */
.son__barres::after {
  content: "";
  position: absolute; left: -3px; right: -3px; top: 50%;
  height: 2px; margin-top: -1px;
  background: currentColor;
  transform: rotate(-38deg);
}
.son[aria-pressed="true"] { border-color: var(--tatami); color: var(--tatami); }
.son[aria-pressed="true"] .son__barres::after { display: none; }
html.motion .son[aria-pressed="true"] .son__barres i { animation: egaliseur 0.8s ease-in-out infinite alternate; }
html.motion .son[aria-pressed="true"] .son__barres i:nth-child(2) { animation-delay: -0.3s; }
html.motion .son[aria-pressed="true"] .son__barres i:nth-child(3) { animation-delay: -0.55s; }
@keyframes egaliseur { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@media (max-width: 699px) {
  .son { justify-content: center; padding: 0; border-color: transparent; }
  .son__texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .entete { gap: 0.5rem; }
}

/* ---------- Projecteur qui suit le pointeur ---------- */
.poursuite { display: none; }
@media (hover: hover) and (min-width: 1024px) {
  html.motion .poursuite {
    display: block;
    position: fixed; left: 0; top: 0; z-index: 30;
    width: 72vmax; height: 72vmax;
    margin: -36vmax 0 0 -36vmax;
    background: radial-gradient(circle, rgba(255,238,220,0.14), rgba(255,238,220,0.05) 36%, rgba(255,238,220,0) 62%);
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s;
    will-change: transform;
  }
  html.motion .poursuite.est-la { opacity: 1; }
  html.en-entree .poursuite.est-la { opacity: 0; }
}

/* ---------- Ruban ---------- */
.ruban {
  background: var(--tatami);
  color: var(--noir);
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative; z-index: 2;
}
.ruban__piste {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.ruban__piste > span {
  font: 900 clamp(1.7rem, 3.2vw, 2.6rem)/1 var(--f-titre);
  text-transform: uppercase;
}
.ruban__piste > .ruban__ovale {
  font: 800 0.95rem/1 var(--f-titre);
  border: 3px solid var(--noir);
  border-radius: 50%;
  padding: 0.35rem 1rem;
  letter-spacing: 0.02em;
}

/* ---------- Round 1 : le club ---------- */
.club {
  background: var(--toile);
  color: var(--noir);
  padding-block: clamp(5rem, 12vw, 10rem) clamp(5rem, 10vw, 8rem);
}
.manifeste {
  font: 850 clamp(2.5rem, 6.6vw, 6.4rem)/0.92 var(--f-titre);
  text-transform: uppercase;
  max-width: 17ch;
  margin: 0 0 clamp(4rem, 9vw, 8rem);
  text-wrap: balance;
}
.manifeste .mot { color: rgba(0, 0, 0, 0.13); transition: color 0.25s linear; }
.manifeste .mot.allume { color: var(--noir); }

.club__duo { display: grid; gap: 2.5rem; align-items: center; }
.club__photo { margin: 0; }
.club__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.club__photo figcaption { font-size: 0.82rem; color: var(--acier); margin-top: 0.7rem; }
.club__texte p { max-width: 60ch; }
.club__chapeau { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 500; line-height: 1.5; }
.club__devise {
  font: 800 clamp(1.5rem, 2.4vw, 2rem)/1.05 var(--f-titre);
  text-transform: uppercase;
  border-left: 4px solid var(--tatami);
  padding-left: 1rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .club__duo { grid-template-columns: 5fr 6fr; gap: 6vw; }
}

.chiffres { margin-top: clamp(4rem, 9vw, 7rem); border-top: 2px solid var(--noir); }
.chiffres__liste { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.chiffre {
  display: flex; flex-direction: column-reverse; justify-content: flex-end;
  padding: 1.4rem 1rem 1.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.chiffre dd {
  margin: 0;
  font: 900 clamp(3rem, 6vw, 5.2rem)/0.9 var(--f-titre);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.chiffre dt { font-size: 0.88rem; color: var(--acier); margin-top: 0.4rem; max-width: 22ch; }
.chiffre--grand { grid-column: 1 / -1; }
.unite { text-transform: none; }
.chiffre--grand dd { font-size: clamp(5rem, 14vw, 10rem); color: var(--tatami); }
@media (min-width: 900px) {
  .chiffres__liste { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .chiffre { border-bottom: 0; padding-top: 2rem; }
  .chiffre--grand { grid-column: auto; }
  .chiffre + .chiffre { border-left: 1px solid rgba(0, 0, 0, 0.15); padding-left: 1.4rem; }
  .chiffre--grand dd { font-size: clamp(5rem, 9vw, 9rem); }
}

.salle { display: grid; gap: 1rem; margin-top: clamp(4rem, 8vw, 6rem); }
.salle__vue { margin: 0; overflow: hidden; }
.salle__vue img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.salle__texte h3 {
  font: 850 clamp(1.8rem, 3vw, 2.6rem)/0.95 var(--f-titre);
  text-transform: uppercase;
  margin: 1rem 0 0.8rem;
}
.salle__texte p { color: var(--acier); max-width: 50ch; }
@media (min-width: 900px) {
  .salle { grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; gap: 1.2rem 1.6rem; }
  .salle__vue--a { grid-row: 1 / span 2; }
  .salle__vue--a img { aspect-ratio: auto; min-height: 100%; }
}

/* ---------- Round 2 : les cours ---------- */
.cours { background: var(--noir); padding-block: clamp(4.5rem, 9vw, 7rem); }
.cours__scene { position: relative; }
.cours__piste {
  list-style: none;
  display: flex; gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  padding: 0 var(--gouttiere) 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--tatami) var(--trait);
}
.cours__intro {
  padding-inline: var(--gouttiere);
  margin-bottom: 2rem;
  max-width: 760px;
}
.cours__intro p { color: var(--sable); max-width: 46ch; }
.cours__aide { color: var(--gris) !important; font-size: 0.85rem; min-height: 1.4em; }
.envies { margin: 1.5rem 0 1rem; }
.envies__titre { margin: 0 0 0.65rem; font: 850 1.45rem/1 var(--f-titre); text-transform: uppercase; color: var(--blanc) !important; }
.envies__choix { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.envies__choix button {
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  border: 1px solid #55575c;
  border-radius: 999px;
  background: transparent;
  color: var(--blanc);
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.envies__choix button:hover { border-color: var(--blanc); }
.envies__choix button[aria-pressed="true"] { background: var(--tatami); border-color: var(--tatami); color: var(--noir); }
.envies__resultat { margin: 0.7rem 0 0; font-size: 0.85rem; min-height: 1.5em; }
.envies__resultat:empty { display: none; }
.carte.est-masquee { display: none; }

.carte {
  flex: 0 0 min(76vw, 360px);
  aspect-ratio: 3 / 4.1;
  scroll-snap-align: start;
  position: relative;
}
.carte__bouton {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s var(--courbe);
  padding: 0; border: 0;
  background: var(--trait);
  color: var(--blanc);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.carte__bouton img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--courbe), filter 0.5s;
  filter: saturate(0.9) contrast(1.05);
}
.carte__bouton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 48%, rgba(0,0,0,0) 70%);
  transition: box-shadow 0.3s;
}
.carte__nom, .carte__sous, .carte__voir { position: absolute; left: 1.2rem; right: 1.2rem; z-index: 2; }
.carte__nom {
  bottom: 4.6rem;
  font: 900 clamp(2.4rem, 4vw, 3.4rem)/0.86 var(--f-titre);
  text-transform: uppercase;
  transition: color 0.3s;
}
.carte__sous { bottom: 2.6rem; font-size: 0.86rem; color: var(--sable); }
.carte__voir {
  bottom: 1rem;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 0.25em;
  color: var(--blanc);
}
.carte__bouton:hover img, .carte__bouton:focus-visible img { transform: scale(1.06); filter: saturate(1.1) contrast(1.05); }
.carte__bouton:hover .carte__nom, .carte__bouton:focus-visible .carte__nom { color: var(--tatami); }
.carte__bouton:hover::after, .carte__bouton:focus-visible::after { box-shadow: inset 0 0 0 3px var(--tatami); }
.carte__bouton:focus-visible { outline-offset: -3px; }

.cours__jauge { display: none; }

@media (min-width: 1024px) {
  .cours__piste { gap: 1.6vw; }
  .carte { flex: 0 0 auto; height: min(72vh, 640px); aspect-ratio: 3 / 4.2; }
}
/* Défilement horizontal épinglé (ordinateur, animations autorisées) */
html.fx .cours { padding-block: 0; }
html.fx .cours__scene {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
html.fx .cours__intro {
  position: absolute; z-index: 0;
  left: 0; top: 50%;
  width: 36vw;
  margin: 0;
  translate: 0 -50%;
  opacity: calc(1 - var(--avance, 0) * 9);
}
/* La piste laisse passer les clics vers les boutons d'envie ; seules les cartes les reçoivent. */
html.fx .cours__piste { pointer-events: none; }
html.fx .carte { pointer-events: auto; }
html.fx .cours__piste {
  position: relative; z-index: 1;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
  padding-left: calc(var(--gouttiere) + 36vw);
  transform: translate3d(var(--x, 0px), 0, 0);
  will-change: transform;
}
/* Dans la scène épinglée, l'introduction doit tenir dans la hauteur de l'écran. */
html.fx .cours__intro .titre-section { font-size: clamp(3rem, 5.2vw, 5.6rem); margin-bottom: 0.3em; }
html.fx .cours__intro > p { font-size: 0.95rem; }
html.fx .envies { margin: 1.1rem 0 0.8rem; }
html.fx .cours__jauge {
  display: block;
  position: absolute; left: var(--gouttiere); right: var(--gouttiere); bottom: 5vh;
  height: 2px; background: var(--trait);
}
html.fx .cours__jauge span {
  display: block; height: 100%; background: var(--tatami);
  transform-origin: left; transform: scaleX(var(--avance, 0));
}

/* ---------- Round 3 : le planning ---------- */
.planning {
  background: var(--toile);
  color: var(--noir);
  padding-block: clamp(5rem, 11vw, 9rem);
}
.planning__haut { display: grid; gap: 3rem; align-items: start; }
.planning__texte p { max-width: 52ch; }
.planning__note {
  font-size: 0.92rem;
  border-left: 4px solid var(--tatami);
  padding-left: 1rem;
  color: var(--acier);
}
@media (min-width: 1024px) {
  .planning__haut { grid-template-columns: 5fr 7fr; gap: 5vw; }
  .planning__texte { position: sticky; top: calc(var(--entete) + 32px); }
}

.tableau {
  background: var(--noir);
  color: var(--blanc);
  padding: clamp(1rem, 2.4vw, 1.75rem);
  border-radius: 8px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.tableau__commandes { display: grid; gap: 0.9rem; margin-bottom: 1.2rem; }
.bascule, .mode {
  display: inline-flex; flex-wrap: wrap;
  border: 1px solid #3a3b3e;
  border-radius: 4px;
  padding: 3px; gap: 3px;
  justify-self: start;
}
.bascule button, .mode button {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.55rem 0.9rem; border-radius: 2px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gris);
  min-height: 40px;
}
.bascule button[aria-checked="true"], .mode button[aria-checked="true"] { background: var(--tatami); color: var(--noir); }
.jours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.jours button {
  position: relative;
  border: 1px solid #3a3b3e; border-radius: 3px;
  background: transparent; cursor: pointer;
  min-height: 44px;
  font: 800 1.15rem/1 var(--f-titre);
  text-transform: uppercase;
  color: var(--blanc);
}
.jours button[aria-pressed="true"] { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.jours button.est-aujourdhui::after {
  content: ""; position: absolute; top: 5px; right: 5px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--tatami);
}
.tableau__ecran { border-top: 1px solid var(--trait); padding-top: 1rem; }
.tableau__jour {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  font: 900 clamp(2rem, 4vw, 2.8rem)/1 var(--f-titre);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.tableau__etiquette:empty { display: none; }
.tableau__etiquette {
  font: 600 0.75rem/1 var(--f-texte); text-transform: none;
  background: var(--tatami); color: var(--noir);
  padding: 0.35rem 0.55rem; border-radius: 2px;
}
.tableau__lignes { display: grid; gap: 0; min-height: 4rem; }
.rangee {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 0.7rem 0;
  border-top: 1px solid #1d1e20;
  transition: opacity 0.3s;
}
.rangee:first-child { border-top: 0; }
.rangee.est-passee { opacity: 0.38; }
.rangee__haut { display: flex; align-items: center; gap: 0.6rem; }
.rangee__heure { display: grid; grid-template-columns: repeat(5, 1.45rem); gap: 2px; }
.rangee__heure .volet { color: var(--tatami); }
.rangee__tag {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.5rem; border-radius: 2px;
  border: 1px solid #3a3b3e; color: var(--sable);
}
.rangee__tag--prochain { background: var(--tatami); border-color: var(--tatami); color: var(--noir); }
.rangee__tag--encours { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }
.rangee__nom { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; container-type: inline-size; }
.volet {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 0.72;
  background: #1b1c1e;
  border-radius: 2px;
  font-family: var(--f-titre);
  font-weight: 800;
  line-height: 1;
  color: #f4f1e8;
  overflow: hidden;
  backface-visibility: hidden;
}
.rangee__heure .volet { font-size: 1.2rem; }
.rangee__nom .volet { font-size: clamp(0.85rem, 6.4cqi, 2.1rem); }
.volet::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(0, 0, 0, 0.9);
}
.volet.vide { background: #121314; }
@media (min-width: 600px) {
  .rangee { grid-template-columns: auto 1fr; align-items: center; column-gap: 0.9rem; }
  .rangee__haut { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .rangee__heure { grid-template-columns: repeat(5, 1.7rem); }
  .rangee__heure .volet { font-size: 1.35rem; }
}
.tableau__pied { font-size: 0.78rem; color: var(--gris); margin: 1rem 0 0; }

.semaine { margin-top: clamp(4rem, 8vw, 6rem); }
.semaine__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; margin-bottom: 1rem; }
.semaine__tete h3 { font: 900 clamp(2rem, 4vw, 3.2rem)/1 var(--f-titre); text-transform: uppercase; }
.semaine__tete p { margin: 0; font-size: 0.88rem; color: var(--acier); }
.semaine__defile { overflow-x: auto; padding-bottom: 0.5rem; }
.semaine__defile:focus-visible { outline-offset: 0; }
.grille-semaine { border-collapse: separate; border-spacing: 4px; width: 100%; min-width: 860px; table-layout: fixed; }
.grille-semaine caption { text-align: left; }
.grille-semaine thead th {
  font: 900 1.35rem/1 var(--f-titre); text-transform: uppercase;
  text-align: left; padding: 0.3rem 0.4rem 0.6rem;
}
.grille-semaine thead th.est-aujourdhui { color: var(--tatami); }
.grille-semaine th[scope="row"] {
  width: 92px;
  font-size: 0.8rem; font-weight: 600; text-align: left; line-height: 1.25;
  padding-right: 0.4rem;
  position: sticky; left: 0; z-index: 1;
  background: var(--toile);
}
.grille-semaine td { vertical-align: top; padding: 0; }
.grille-semaine td.vide { background: rgba(0, 0, 0, 0.035); }
.grille-semaine .ligne-combat th[scope="row"] { color: var(--acier); }
.seance {
  display: block; width: 100%;
  min-height: 52px;
  margin-bottom: 4px;
  padding: 0.55rem 0.6rem;
  border: 0; border-radius: 2px;
  text-align: left; cursor: pointer;
  font: 850 1.05rem/1 var(--f-titre); text-transform: uppercase;
  transition: opacity 0.25s, transform 0.25s var(--courbe);
}
.seance:last-child { margin-bottom: 0; }
.seance small { display: block; font: 500 0.7rem/1.3 var(--f-texte); text-transform: none; margin-top: 0.3rem; opacity: 0.8; }
.seance--cross { background: var(--tatami); color: var(--noir); }
.seance--boxe { background: var(--noir); color: var(--blanc); }
.seance--renfo { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.seance--doux { background: var(--sable); color: var(--noir); }
.seance--combat { background: var(--acier); color: var(--blanc); }
.seance:hover { transform: translateY(-2px); }
.grille-semaine[data-survol] .seance:not(.est-survol) { opacity: 0.22; }
.legende { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; list-style: none; margin-top: 1rem; font-size: 0.8rem; color: var(--acier); }
.legende li { display: inline-flex; align-items: center; gap: 0.45rem; }
.legende i { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.semaine__impact { font-size: 0.88rem; color: var(--acier); margin-top: 1.4rem; max-width: 70ch; }

/* ---------- Planning sur téléphone ---------- */
/* Rien de tout cela n'apparaît au-dessus de 699 px : l'affichage ordinateur et tablette ne change pas. */
.agenda, .agenda__nav, .apercu, .tel-seul { display: none; }
@media (max-width: 699px) {
  .hors-tel { display: none; }
  .tel-seul { display: inline; }

  /* Le choix du planning : deux moitiés égales */
  .tableau { padding: 0.9rem; }
  .bascule { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; }
  .bascule button { padding-inline: 0.4rem; }
  .jours button { min-height: 48px; font-size: 1.25rem; }

  /* Les cours du jour : de grandes cartes, à la couleur du cours, à la place des petites palettes */
  .tableau__lignes, .tableau__ecran [data-tableau-lecteur] { display: none; }
  .tableau__jour { font-size: 2.5rem; margin-bottom: 1rem; }
  .agenda { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
  .agenda__cours {
    display: grid; grid-template-columns: 5.7rem 1fr 14px; align-items: center; gap: 0 0.7rem;
    width: 100%; min-height: 78px;
    padding: 0.85rem 0.9rem 0.85rem 1rem;
    border: 0; border-radius: 4px;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .agenda__cours.seance--boxe, .agenda__cours.seance--combat { box-shadow: inset 0 0 0 1px #4d4f55; }
  .agenda__heure { font: 900 2.1rem/0.9 var(--f-titre); font-variant-numeric: tabular-nums; }
  .agenda__fin { display: block; margin-top: 0.35rem; font: 600 0.72rem/1.2 var(--f-texte); white-space: nowrap; opacity: 0.75; }
  .agenda__nom { font: 850 1.65rem/0.95 var(--f-titre); text-transform: uppercase; }
  .agenda__detail { display: block; margin-top: 0.35rem; font: 500 0.78rem/1.35 var(--f-texte); text-transform: none; opacity: 0.85; }
  .agenda__etat {
    display: inline-block; margin-top: 0.45rem; padding: 0.22rem 0.5rem;
    background: var(--noir); color: var(--blanc);
    font: 700 0.7rem/1.2 var(--f-texte); text-transform: none;
    border-radius: 2px;
  }
  .agenda__cours.seance--boxe .agenda__etat, .agenda__cours.seance--combat .agenda__etat { background: var(--tatami); color: var(--noir); }
  .agenda__fleche { width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
  .agenda__cours.est-passe { opacity: 0.38; }
  .agenda__vide { padding: 1.4rem 1rem; border: 1px dashed #4d4f55; border-radius: 4px; color: var(--sable); font-size: 0.95rem; }
  html.motion .agenda.arrive > li { animation: agenda-entree 0.4s var(--courbe) both; }
  html.motion .agenda.arrive > li:nth-child(2) { animation-delay: 40ms; }
  html.motion .agenda.arrive > li:nth-child(3) { animation-delay: 80ms; }
  html.motion .agenda.arrive > li:nth-child(4) { animation-delay: 120ms; }
  html.motion .agenda.arrive > li:nth-child(n+5) { animation-delay: 160ms; }
  @keyframes agenda-entree { from { opacity: 0; transform: translate3d(var(--sens, 18px), 0, 0); } }

  /* Jour précédent, jour suivant */
  .agenda__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 0.9rem; }
  .agenda__nav button {
    min-height: 48px;
    border: 1px solid #4d4f55; border-radius: 4px;
    background: transparent; color: var(--blanc);
    font: 800 1.15rem/1 var(--f-titre); text-transform: uppercase;
    cursor: pointer;
  }
  .agenda__nav button:last-child { text-align: right; padding-right: 0.9rem; }
  .agenda__nav button:first-child { text-align: left; padding-left: 0.9rem; }

  /* La semaine d'un coup d'œil : une ligne par jour, une pastille par cours */
  .semaine__defile { display: none; }
  .apercu { display: grid; gap: 0; border-top: 2px solid var(--noir); }
  .apercu__jour {
    display: grid; grid-template-columns: 3.4rem 1fr; align-items: center; gap: 0.6rem;
    width: 100%; min-height: 56px;
    padding: 0.6rem 0;
    border: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    background: none; color: var(--noir);
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .apercu__nom { position: relative; font: 900 1.5rem/1 var(--f-titre); text-transform: uppercase; }
  .apercu__jour.est-aujourdhui .apercu__nom { color: var(--tatami); }
  .apercu__jour[aria-pressed="true"] { background: rgba(0, 0, 0, 0.06); box-shadow: -8px 0 0 rgba(0, 0, 0, 0.06), 8px 0 0 rgba(0, 0, 0, 0.06); }
  .apercu__cours { display: flex; flex-wrap: wrap; gap: 4px; }
  .apercu__cours i {
    min-width: 3.05rem; padding: 0.32rem 0.3rem;
    border-radius: 2px;
    font: 700 0.76rem/1 var(--f-texte); font-style: normal; font-variant-numeric: tabular-nums;
    text-align: center;
  }
  .apercu__aucun { font-size: 0.82rem; color: var(--acier); }
}

/* ---------- Round 4 : les coachs ---------- */
.coachs { background: var(--noir); padding-block: clamp(5rem, 11vw, 9rem); }
.coachs__tete { display: grid; gap: 1rem 5vw; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.coachs__tete p { color: var(--sable); max-width: 56ch; }
@media (min-width: 900px) { .coachs__tete { grid-template-columns: 1fr 1fr; } }

.face {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "g d" "fiche fiche";
  gap: 1rem;
}
.face__coin { margin: 0; position: relative; }
.face__coin--gauche { grid-area: g; }
.face__coin--droite { grid-area: d; }
.face__coin img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  transition: filter 0.6s;
}
.face__coin--gauche img { object-position: 22% 50%; }
.face__coin:hover img { filter: grayscale(0) contrast(1.05); }
.face__coin::before {
  content: ""; position: absolute; top: 0; height: 6px; width: 46%; z-index: 1;
}
.face__coin--gauche::before { left: 0; background: var(--tatami); }
.face__coin--droite::before { right: 0; background: var(--blanc); }
.face__coin figcaption { margin-top: -0.55em; position: relative; z-index: 2; }
.face__coin--droite figcaption { text-align: right; }
.face__nom {
  display: block;
  font: 900 clamp(2.8rem, 9vw, 6.5rem)/0.85 var(--f-titre);
  text-transform: uppercase;
}
.face__coin figcaption a { font-size: 0.9rem; color: var(--sable); }

.fiche { grid-area: fiche; border-collapse: collapse; width: 100%; margin-top: 1.5rem; }
.fiche tr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "label label" "g d";
  gap: 0.3rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--trait);
}
.fiche th[scope="row"] {
  grid-area: label;
  font: 600 0.75rem/1.2 var(--f-texte);
  color: var(--tatami);
  text-align: center;
}
.fiche td { font-size: 0.92rem; line-height: 1.45; }
.fiche td:first-child { grid-area: g; }
.fiche td:last-child { grid-area: d; text-align: right; }
@media (min-width: 1024px) {
  .face {
    grid-template-columns: 1fr 1.4fr 1fr;
    grid-template-areas: "g fiche d";
    gap: 2.5vw;
    align-items: start;
  }
  .face__coin { position: sticky; top: calc(var(--entete) + 24px); }
  .fiche { margin-top: 0; }
  .fiche tr { grid-template-columns: 1fr 7.5rem 1fr; grid-template-areas: "g label d"; align-items: center; padding: 1.15rem 0; }
  .fiche tr:first-child { border-top: 0; }
  .fiche td:first-child { text-align: right; }
  .fiche td:last-child { text-align: left; }
}
.face__coin, .fiche td { transition: opacity 0.4s; }
.face[data-choix="dorian"] .face__coin--gauche img,
.face[data-choix="christian"] .face__coin--droite img { filter: grayscale(0) contrast(1.05); }
.face[data-choix="dorian"] .face__coin--droite,
.face[data-choix="christian"] .face__coin--gauche { opacity: 0.4; }
.face[data-choix="dorian"] .fiche td:last-child,
.face[data-choix="christian"] .fiche td:first-child { opacity: 0.35; }
.coin {
  display: grid; gap: 1.2rem; justify-items: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--trait);
  text-align: center;
}
.coin__titre { margin: 0; font: 900 clamp(1.9rem, 3.6vw, 3rem)/0.95 var(--f-titre); text-transform: uppercase; }
.coin__choix { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.coin__choix button {
  min-width: 160px; min-height: 56px;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--blanc);
  background: transparent;
  color: var(--blanc);
  font: 850 1.6rem/1 var(--f-titre);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.coin__choix button:hover { border-color: var(--tatami); }
.coin__choix button[aria-pressed="true"] { background: var(--blanc); color: var(--noir); }
.coin__choix button[data-coin-choix="dorian"][aria-pressed="true"] { background: var(--tatami); border-color: var(--tatami); }
.coin__reponse { display: grid; gap: 1rem; justify-items: center; }
.coin__reponse p { margin: 0; max-width: 54ch; color: var(--sable); }
html.motion .coin__reponse:not([hidden]) { animation: apparait 0.45s var(--courbe) both; }

/* ---------- Round 5 : sur mesure ---------- */
/* Les cours individuels sont l'offre haut de gamme : un fond sable, plus calme que le reste,
   une grande photo qui reste à l'écran et une fiche lue ligne par ligne, comme chez un tailleur. */
.mesure { background: var(--sable); color: var(--noir); padding-block: clamp(5rem, 11vw, 9rem); }
.mesure :focus-visible { outline-color: var(--noir); }
.mesure__tete { display: grid; gap: 0.5rem 5vw; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.mesure__tete .titre-section { margin-bottom: 0; }
.mesure__chapeau { margin: 0; max-width: 38ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.5; }
@media (min-width: 900px) { .mesure__tete { grid-template-columns: 1.3fr 1fr; } }

/* Le luxe ici vient de la retenue : des graisses fines, beaucoup d'air, des filets d'un pixel,
   des mouvements lents. Rien à choisir : on lit, et la photo change avec ce qu'on lit. */

/* --- Cours privés : cinq chapitres, une photo qui les accompagne --- */
.recit__tete { display: grid; gap: 0.6rem 4vw; align-items: baseline; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(0, 0, 0, 0.35); }
.recit__nom, .ems__nom {
  font: 300 clamp(2.6rem, 6.4vw, 6rem)/0.92 var(--f-titre);
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.recit__accroche, .ems__accroche { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 300; line-height: 1.25; letter-spacing: -0.01em; }
@media (min-width: 900px) { .recit__tete { grid-template-columns: auto 1fr; } .recit__accroche { justify-self: end; text-align: right; } }

.recit__scene { display: none; }
.recit__chapitres { list-style: none; display: grid; gap: 3.2rem; margin: 2.4rem 0 0; }
.chapitre__photo { position: relative; margin: 0 0 1.4rem; aspect-ratio: 5 / 4; overflow: hidden; background: var(--noir); }
.chapitre__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.chapitre__photo::after, .recit__scene::after, .ems__photo::after {
  content: "";
  position: absolute; inset: 12px; z-index: 2;
  border: 1px solid rgba(229, 222, 203, 0.55);
  pointer-events: none;
}
.chapitre h4 { margin: 0 0 0.6em; font-size: clamp(1.8rem, 3.5vw, 3.2rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; max-width: 14ch; }
.chapitre p { max-width: 42ch; font-weight: 300; font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.7; }
.chapitre__liste { list-style: none; max-width: 32rem; }
.chapitre__liste li { padding: 0.85rem 0; border-top: 1px solid rgba(0, 0, 0, 0.28); font-size: clamp(1.06rem, 1.35vw, 1.22rem); font-weight: 400; }
.chapitre__liste li:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.28); }
.chapitre__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
@media (max-width: 559px) { .chapitre__actions .btn { flex: 1 1 100%; } }

@media (min-width: 1024px) {
  .recit__corps { display: grid; grid-template-columns: 5fr 6fr; gap: 8vw; align-items: start; }
  .recit__scene {
    display: block;
    position: sticky; top: calc(var(--entete) + 36px);
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--entete) - 90px);
    width: 100%;
    margin-top: 3rem;
    overflow: hidden;
    background: var(--noir);
  }
  .recit__photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 22%;
    opacity: 0;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.1);
    transition: opacity 0.9s var(--courbe), transform 1.8s var(--courbe);
  }
  .recit__photo.est-active { opacity: 1; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04); }
  /* Une jauge très fine indique où l'on en est. */
  .recit__jauge { position: absolute; right: 12px; top: 12px; bottom: 12px; z-index: 3; width: 3px; background: rgba(229, 222, 203, 0.25); }
  .recit__jauge i { display: block; width: 100%; height: 100%; background: var(--sable); transform-origin: 50% 0; transform: scaleY(var(--avance, 0.2)); transition: transform 0.8s var(--courbe); }
  .chapitre__photo { display: none; }
  .recit__chapitres { gap: 0; margin: 0; }
  .chapitre { display: grid; align-content: center; min-height: 58vh; padding-block: 2rem; border-bottom: 1px solid rgba(0, 0, 0, 0.22); }
  .chapitre:last-child { border-bottom: 0; }
  html.js .chapitre { opacity: 0.26; transition: opacity 0.7s var(--courbe); }
  html.js .chapitre.est-actif { opacity: 1; }
  html.js .chapitre:focus-within { opacity: 1; }
}

/* --- E.M.S. : un panneau noir dans la section sable --- */
.ems {
  display: grid; gap: 2.4rem;
  margin-top: clamp(5rem, 11vw, 9rem);
  padding: clamp(1.75rem, 5vw, 4.5rem);
  background: var(--noir);
  color: var(--sable);
}
.ems :focus-visible { outline-color: var(--tatami); }
.ems__nom { color: var(--blanc); margin-bottom: 0.25em; }
.ems__accroche { margin-bottom: 1.6rem; }
.ems__texte p:not(.ems__accroche) { max-width: 52ch; font-weight: 300; font-size: 1.04rem; line-height: 1.75; }
.ems__texte .btn { margin-top: 1rem; }
.btn--sable { background-color: var(--sable); color: var(--noir); }
.btn--sable::before { background: var(--blanc); }
.ems__visuel { position: relative; }
.ems__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
/* La seule photo disponible vient du fabricant : recadrée sur la combinaison et le pupitre, en noir et blanc. */
.ems__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 78% 50%;
  filter: grayscale(1) contrast(1.18) brightness(0.86);
  transform: scale(1.02);
  transition: filter 0.9s, transform 1.6s var(--courbe);
}
.ems__photo:hover img { filter: grayscale(0) contrast(1.05) brightness(0.95); transform: scale(1.06); }
/* Le cadran : 20 minutes sur une heure. */
.ems__cadran {
  position: absolute; left: -7%; bottom: -8%; z-index: 3;
  display: grid; place-items: center;
  width: clamp(130px, 34%, 190px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--noir);
}
.ems__cadran svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ems__cadran circle { fill: none; stroke-width: 2; }
.ems__cadran-fond { stroke: rgba(229, 222, 203, 0.22); }
.ems__cadran-trait { stroke: var(--tatami); stroke-linecap: butt; stroke-dasharray: 20 60; stroke-dashoffset: 0; }
html.motion .ems__cadran-trait { stroke-dashoffset: 20; transition: stroke-dashoffset 1.6s var(--courbe) 0.2s; }
html.motion .ems.est-vu .ems__cadran-trait { stroke-dashoffset: 0; }
.ems__cadran p { position: relative; display: grid; justify-items: center; margin: 0; }
.ems__cadran strong { font: 200 clamp(3rem, 6vw, 4.4rem)/0.85 var(--f-titre); color: var(--blanc); }
.ems__cadran span { font-size: 0.78rem; font-weight: 500; }
.ems__reperes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid rgba(229, 222, 203, 0.3); }
.ems__reperes > div { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid rgba(229, 222, 203, 0.3); }
.ems__reperes dt { font-size: 0.8rem; font-weight: 500; color: var(--gris); }
.ems__reperes dd { margin: 0.3rem 0 0; font: 300 clamp(1.5rem, 2.4vw, 2.1rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: 0.04em; color: var(--blanc); }
@media (min-width: 900px) {
  .ems { grid-template-columns: 6fr 5fr; gap: 3rem 6vw; align-items: center; }
  .ems__reperes { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin-top: 1.5rem; }
  .ems__reperes > div { border-bottom: 0; }
  .ems__reperes > div + div { padding-left: 1.4rem; border-left: 1px solid rgba(229, 222, 203, 0.3); }
}

/* --- Offres sur mesure : deux filets, le numéro en très grand --- */
.devis {
  display: grid; gap: 2rem 5vw; align-items: end;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-block: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.devis h3 { font: 300 clamp(2.2rem, 4.6vw, 4rem)/0.95 var(--f-titre); text-transform: uppercase; letter-spacing: 0.035em; margin-bottom: 1.4rem; }
.devis__colonnes { display: grid; gap: 0 2.5rem; }
.devis__colonnes p { max-width: 48ch; font-weight: 300; line-height: 1.7; }
.devis__appel { display: grid; gap: 0.9rem; justify-items: start; }
.devis__appel p { margin: 0; font-weight: 500; }
.devis__numero {
  font: 300 clamp(3rem, 6.4vw, 5.6rem)/0.9 var(--f-titre);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--noir);
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  padding-bottom: 8px;
  transition: background-size 0.5s var(--courbe-ferme);
}
.devis__numero:hover, .devis__numero:focus-visible { background-size: 100% 2px; }
@media (min-width: 760px) { .devis__colonnes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .devis { grid-template-columns: 1.25fr auto; } }

/* ---------- Cours individuels et confort d'usage sur téléphone ---------- */
/* Rien de tout cela n'apparaît au-dessus de 699 px : l'affichage ordinateur et tablette ne change pas. */
.recit__etapes, .barre { display: none; }
@media (max-width: 699px) {
  /* Cours privés : cinq volets plein cadre, à faire glisser de côté, la photo derrière le texte */
  .recit__tete { padding-bottom: 1rem; }
  .recit__etapes { display: flex; gap: 4px; margin: 1.1rem 0 0.8rem; }
  .recit__etapes i { flex: 1; height: 3px; background: rgba(0, 0, 0, 0.18); transition: background-color 0.3s; }
  .recit__etapes i.est-fait { background: var(--noir); }
  .recit__chapitres {
    display: flex; gap: 10px;
    margin: 0 calc(-1 * var(--gouttiere));
    padding: 0 var(--gouttiere) 0.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gouttiere);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .recit__chapitres::-webkit-scrollbar { display: none; }
  .chapitre {
    position: relative;
    flex: 0 0 88%;
    scroll-snap-align: start;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 520px; min-height: min(72svh, 600px);
    padding: 1.3rem 1.2rem 1.4rem;
    overflow: hidden;
    background: var(--noir);
    color: var(--blanc);
  }
  .chapitre__photo { position: absolute; inset: 0; z-index: 0; margin: 0; aspect-ratio: auto; }
  .chapitre__photo::before {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 36%, rgba(0,0,0,0.2) 64%, rgba(0,0,0,0) 100%);
  }
  .chapitre > :not(.chapitre__photo) { position: relative; z-index: 3; }
  .chapitre h4 { max-width: none; font-size: 1.9rem; font-weight: 500; }
  .chapitre p { font-size: 1rem; font-weight: 400; line-height: 1.55; color: var(--sable); }
  .chapitre__liste li { padding: 0.55rem 0; border-color: rgba(255, 255, 255, 0.3); font-size: 1rem; }
  .chapitre__liste li:last-child { border-color: rgba(255, 255, 255, 0.3); }
  .chapitre__actions { margin-top: 1.1rem; }
  .chapitre__actions .btn--noir { background-color: var(--sable); color: var(--noir); }
  .chapitre__actions .btn--contour-noir { border-color: var(--blanc); color: var(--blanc); }

  /* E.M.S. : le titre, la photo et les repères d'abord, le détail ensuite */
  .ems { display: flex; flex-direction: column; gap: 0; margin-top: 3.5rem; padding: 1.5rem 1.1rem 1.6rem; }
  .ems__texte { display: contents; }
  .ems__nom { order: 1; }
  .ems__accroche { order: 2; margin-bottom: 1.2rem; }
  .ems__visuel { order: 3; margin-bottom: 2.6rem; }
  .ems__photo { aspect-ratio: 1 / 1; }
  .ems__cadran { left: -2%; bottom: -12%; width: 118px; }
  .ems__reperes { order: 4; margin-bottom: 1.4rem; }
  .ems__texte > p:not(.ems__accroche) { order: 5; }
  .ems__texte > .btn { order: 6; width: 100%; margin-top: 0.6rem; }

  /* Des cibles assez grandes pour le pouce (44 px au moins) */
  .marque, .entete__essai { min-height: 44px; }
  .son { min-width: 44px; min-height: 44px; }
  .envies__choix button, .bascule button { min-height: 44px; }
  .agenda__fin { font-size: 0.75rem; }
  .face__coin figcaption a, .contact a, .lien-fleche, .pied__bas a { display: inline-flex; align-items: center; min-height: 44px; }
  .face__coin figcaption a { font-size: 1rem; }
  .pied nav ul { gap: 0; }
  .pied nav a { display: flex; align-items: center; min-height: 44px; }

  /* Barre du bas : le round en cours, appeler, y aller, essayer */
  .barre {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: auto 1fr 1fr 1.45fr; gap: 6px; align-items: stretch;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, 0.93);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.35s var(--courbe), visibility 0s 0.35s;
  }
  html.barre-visible .barre { transform: none; visibility: visible; transition: transform 0.35s var(--courbe); }
  body.menu-ouvert .barre { transform: translateY(110%); visibility: hidden; }
  .barre__round { display: grid; align-content: center; min-width: 62px; margin: 0; padding-right: 0.3rem; }
  .barre__round span { font: 600 0.75rem/1.15 var(--f-texte); color: var(--gris); white-space: nowrap; }
  .barre__round strong { font: 900 1.5rem/1 var(--f-titre); font-variant-numeric: tabular-nums; color: var(--tatami); }
  html.motion .barre.cloche .barre__round strong { animation: barre-cloche 0.7s ease-out; }
  @keyframes barre-cloche { 0% { color: var(--blanc); transform: scale(1.25); } 100% { transform: none; } }
  .barre__action {
    display: flex; align-items: center; justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: var(--blanc);
    font: 600 0.84rem/1.1 var(--f-texte);
    text-align: center; text-decoration: none;
  }
  .barre__action--essai { background: var(--tatami); border-color: var(--tatami); color: var(--noir); }
  /* Quand la barre est là, « Essai gratuit » quitte l'en-tête et le bas de page lui laisse la place. */
  html.barre-visible .entete__essai { display: none; }
  .pied { padding-bottom: 72px; }
  /* Sur le ring, le titre et le prochain cours restent au-dessus de la barre. */
  .entree__scene { padding-bottom: 84px; }
}

/* ---------- Round 6 : les formules ---------- */
.tarifs { background: var(--noir); padding-block: clamp(5rem, 11vw, 9rem); }
.tarifs__tete { display: grid; gap: 1rem 5vw; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.tarifs__tete p { color: var(--sable); max-width: 54ch; }
.tarifs__chapeau { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--blanc) !important; }
@media (min-width: 900px) { .tarifs__tete { grid-template-columns: 1fr 1fr; } }

.onglets {
  display: flex; flex-wrap: wrap; column-gap: clamp(1.2rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--trait);
  margin-bottom: 2rem;
}
.onglets button {
  flex: 0 0 auto;
  background: none; border: 0; cursor: pointer;
  padding: 0.9rem 0;
  font: 850 clamp(1.35rem, 2.4vw, 1.9rem)/1 var(--f-titre);
  text-transform: uppercase;
  color: var(--gris);
  box-shadow: inset 0 -4px 0 transparent;
  transition: color 0.2s, box-shadow 0.3s var(--courbe);
}
.onglets button:hover { color: var(--blanc); }
.onglets button[aria-selected="true"] { color: var(--blanc); box-shadow: inset 0 -4px 0 var(--tatami); }
.panneau:focus-visible { outline-offset: 8px; }
html.motion .panneau:not([hidden]) { animation: apparait 0.5s var(--courbe) both; }
.mode { margin-bottom: 1.6rem; }
html:not(.js) .onglets, html:not(.js) .mode { display: none; }
html:not(.js) .panneau + .panneau { margin-top: 4rem; }

.grille-prix { display: grid; gap: 2.5rem 5vw; }
@media (min-width: 900px) { .grille-prix { grid-template-columns: 1fr 1fr; } }
.groupe-prix h3 { font-size: 0.95rem; font-weight: 600; color: var(--sable); margin-bottom: 0.4rem; }
.groupe-prix h3 span { font-weight: 400; color: var(--gris); }
.prix-liste { list-style: none; }
.prix {
  display: grid; grid-template-columns: 1fr auto;
  gap: 1.2rem; align-items: end;
  padding: 1.3rem 0;
  border-top: 1px solid var(--trait);
}
.prix h4 { font: 850 clamp(1.6rem, 2.6vw, 2.1rem)/0.95 var(--f-titre); text-transform: uppercase; margin-bottom: 0.35rem; }
.prix div p { font-size: 0.86rem; color: var(--gris); margin: 0; max-width: 40ch; }
.prix__montant {
  margin: 0;
  font: 900 clamp(2.6rem, 5vw, 3.8rem)/0.85 var(--f-titre);
  text-align: right; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.prix__montant small { display: block; font: 400 0.78rem/1.4 var(--f-texte); color: var(--gris); margin-top: 0.35rem; }
.prix--vedette h4, .prix--vedette .prix__montant { color: var(--tatami); }
.panneau[data-mode="solo"] .prix[data-pour="duo"],
.panneau[data-mode="duo"] .prix[data-pour="solo"] { display: none; }
.notes { list-style: none; margin-top: 2rem; display: grid; gap: 0.4rem; font-size: 0.88rem; color: var(--sable); }
.notes li { padding-left: 1.1rem; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--tatami); }
.notes .notes__impact { color: var(--blanc); font-weight: 600; }
.fenetre__texte .mention-impact { color: var(--blanc); font-weight: 600; border-left: 3px solid var(--tatami); padding-left: 0.8rem; }

/* ---------- Devise, sac de frappe et actualité ---------- */
/* Une scène noire : un seul projecteur tombe sur le sac, le tableau d'affichage reprend les palettes du planning. */
.devise {
  position: relative;
  /* Le sac qui se balance ne doit jamais élargir la page. */
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(5rem, 12vh, 9rem) clamp(4rem, 8vw, 6rem);
  background: radial-gradient(ellipse 60% 42% at 74% 96%, rgba(226,107,84,0.2), rgba(226,107,84,0) 70%), var(--noir);
}
.devise__ring { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .devise__ring { grid-template-columns: 1.15fr 0.85fr; gap: 3vw; } }
.devise__titre {
  font: 900 clamp(3.2rem, 8vw, 7.8rem)/0.85 var(--f-titre);
  text-transform: uppercase;
  max-width: 12ch;
}
.devise__titre span { display: block; }
.devise__coup {
  margin: 1.5rem 0 1.4rem;
  min-height: 3.3em;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--sable);
}
.devise__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; min-height: 52px; margin-top: 1.6rem; }

/* Tableau d'affichage */
.marquoir { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin: 0; }
.marquoir > div { display: grid; gap: 0.4rem; }
.marquoir dt { font-size: 0.78rem; font-weight: 600; color: var(--gris); }
.marquoir dd { display: flex; gap: 3px; margin: 0; }
.marquoir .volet { width: clamp(2rem, 3.4vw, 2.9rem); aspect-ratio: 0.7; font-size: clamp(1.7rem, 3vw, 2.5rem); border-radius: 3px; }
.devise.en-round .marquoir > div:nth-child(-n+2) .volet { color: var(--tatami); }

.sac-zone { position: relative; display: grid; justify-items: center; }
/* Le faisceau du projecteur */
.sac__faisceau {
  position: absolute; left: 50%; top: -22%; z-index: 0;
  width: 150%; height: 135%;
  margin-left: -75%;
  background: conic-gradient(from 166deg at 50% 0, rgba(255,236,214,0) 0deg, rgba(255,236,214,0.2) 14deg, rgba(255,236,214,0) 28deg, rgba(255,236,214,0) 360deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 96%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 96%);
  pointer-events: none;
}
.sac {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: min(100%, 540px);
  height: clamp(460px, 74vh, 700px);
  padding: 0; border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.sac:focus-visible { outline-offset: -4px; }
/* Sur téléphone, le tableau d'affichage et le sac tiennent ensemble à l'écran. */
@media (max-width: 899px) { .sac { height: clamp(380px, 54vh, 500px); } }
.sac__toile { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.sac.est-3d .sac__toile { display: block; }
.sac.est-3d .sac__dessin { display: none; }
/* Dessin de secours, si le rendu en relief n'est pas disponible */
.sac__dessin { display: block; height: 96%; width: auto; overflow: visible; }
.sac__pendule { transform-box: view-box; transform-origin: 130px 9px; will-change: transform; }
.sac__eclat {
  position: absolute; left: var(--ix, 50%); top: var(--iy, 50%);
  width: 190px; height: 190px;
  margin: -95px 0 0 -95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,214,190,0.4) 30%, rgba(226,107,84,0) 66%);
  opacity: 0;
  pointer-events: none;
}
.sac.touche .sac__eclat { animation: impact 0.34s ease-out; }
@keyframes impact { 0% { opacity: 0.95; transform: scale(0.2); } 100% { opacity: 0; transform: scale(1.5); } }
.sac__sol {
  position: relative; z-index: 0;
  width: 46%; max-width: 250px; height: 26px;
  margin-top: -18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.9), rgba(0,0,0,0) 70%);
}
.frappe-num {
  position: absolute; z-index: 2;
  margin: -0.5em 0 0 -0.3em;
  font: 900 2.6rem/1 var(--f-titre);
  color: var(--blanc);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  animation: monte-num 0.7s ease-out forwards;
}
@keyframes monte-num { from { opacity: 1; transform: translateY(0) scale(1.25); } to { opacity: 0; transform: translateY(-80px) scale(0.9); } }
.evenements {
  margin-top: clamp(3rem, 8vw, 6rem);
  display: grid; gap: 1rem 3rem; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}
.evenements h3 { font: 900 clamp(1.8rem, 3vw, 2.4rem)/1 var(--f-titre); text-transform: uppercase; }
.evenements p { margin: 0; color: var(--sable); max-width: 56ch; }
.evenements .btn { justify-self: start; }
@media (min-width: 900px) { .evenements { grid-template-columns: auto 1fr auto; } }

/* ---------- Round 7 : essai et contact ---------- */
.essai { background: var(--tatami); color: var(--noir); padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem); }
.essai__grille { display: grid; gap: 2.5rem; align-items: start; }
.essai__intro p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 500; max-width: 40ch; }
@media (min-width: 1024px) { .essai__grille { grid-template-columns: 5fr 7fr; gap: 5vw; } }

.formulaire { display: grid; gap: 1.4rem; }
.champs { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .champs { grid-template-columns: 1fr 1fr; }
  .champ--large { grid-column: 1 / -1; }
}
.champ { display: grid; gap: 0.35rem; }
.champ label { font-size: 0.85rem; font-weight: 600; }
.facultatif { font-weight: 400; }
.champ input, .champ select {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--noir);
  border-radius: 0;
  background: var(--blanc);
  color: var(--noir);
  font-size: 1rem;
  appearance: none;
}
.champ select {
  background-image: linear-gradient(45deg, transparent 50%, var(--noir) 50%), linear-gradient(135deg, var(--noir) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 2.6rem;
}
.champ input::placeholder { color: #6b6d72; }
.champ input:focus-visible, .champ select:focus-visible { outline: 3px solid var(--noir); outline-offset: 2px; }
.champ [aria-invalid="true"] { border-color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir), 0 0 0 3px var(--blanc); }
.champ__erreur { font-size: 0.8rem; font-weight: 600; margin: 0; }
.champ__erreur::before { content: "! "; }
.consentement { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.88rem; }
.consentement input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--noir); }
.cache-robot { position: absolute; left: -9999px; }
.formulaire__etat { margin: 0; font-weight: 600; }
.formulaire__etat:empty { display: none; }
.formulaire__etat.est-ok { background: var(--noir); color: var(--blanc); padding: 1rem 1.2rem; }
.formulaire__etat.est-erreur { background: var(--blanc); color: var(--noir); padding: 1rem 1.2rem; border: 2px solid var(--noir); }
.formulaire__etat a { font-weight: 700; }

.contact {
  display: grid; gap: 2rem;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: 2.5rem;
  border-top: 2px solid var(--noir);
}
.contact h3 { font: 900 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--f-titre); text-transform: uppercase; margin-bottom: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.contact a { font-weight: 600; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr 1.4fr; gap: 4vw; } }
.statut:empty { display: none; }
.statut { font: 600 0.75rem/1 var(--f-texte); text-transform: none; background: var(--noir); color: var(--blanc); padding: 0.4rem 0.6rem; }
.horaires { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.horaires th, .horaires td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid rgba(0, 0, 0, 0.18); font-weight: 400; }
.horaires th { font-weight: 600; }
.horaires td { text-align: right; }
.horaires tr.est-aujourdhui { background: var(--noir); color: var(--blanc); }
.horaires__note { font-size: 0.8rem; margin-top: 0.8rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.pied__haut { display: grid; gap: 2.5rem; align-items: start; }
.pied__badge { width: 140px; }
.pied nav ul { list-style: none; display: grid; gap: 0.5rem; }
.pied nav a { text-decoration: none; font-size: 0.95rem; }
.pied nav a:hover { color: var(--tatami); }
.pied__partenaire img { width: 140px; margin-bottom: 0.8rem; }
.pied__partenaire p { font-size: 0.85rem; color: var(--gris); max-width: 34ch; }
@media (min-width: 900px) { .pied__haut { grid-template-columns: auto 1fr auto; gap: 6vw; } }
.pied__geant {
  font: 900 clamp(6rem, 27vw, 30rem)/0.78 var(--f-titre);
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--tatami);
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  letter-spacing: -0.01em;
}
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem 2rem; font-size: 0.8rem; color: var(--gris); border-top: 1px solid var(--trait); }
.pied__bas p { margin: 0; }

/* ---------- Fenêtre « cours » ---------- */
.fenetre {
  padding: 0; border: 1px solid var(--trait);
  background: var(--noir); color: var(--blanc);
  width: min(1040px, 100vw - 32px);
  max-width: none;
  max-height: min(88vh, 760px);
  overflow: hidden;
}
.fenetre::backdrop { background: rgba(0, 0, 0, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.motion .fenetre[open] { animation: fenetre-entree 0.4s var(--courbe); }
@keyframes fenetre-entree { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.fenetre__corps { display: grid; max-height: inherit; }
.fenetre__photo { margin: 0; }
.fenetre__photo img { width: 100%; height: 100%; object-fit: cover; }
.fenetre__texte { padding: clamp(1.5rem, 4vw, 2.75rem); overflow-y: auto; }
.fenetre__texte h2 { font: 900 clamp(2.8rem, 6vw, 4.6rem)/0.86 var(--f-titre); text-transform: uppercase; margin-bottom: 0.8rem; padding-right: 2.5rem; }
.fenetre__texte .accroche { color: var(--tatami); font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.fenetre__texte p, .fenetre__texte li { color: var(--sable); font-size: 0.98rem; }
.fenetre__texte ul { padding-left: 1.1rem; margin-bottom: 1em; }
.fenetre__sous { font: 800 1.5rem/1 var(--f-titre); text-transform: uppercase; margin: 1.6rem 0 0.7rem; }
.fenetre__creneaux { list-style: none; padding: 0 !important; display: grid; gap: 0; margin-bottom: 1.6rem !important; }
.fenetre__creneaux li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--trait); color: var(--blanc) !important; }
.fenetre__creneaux li span:first-child { font: 800 1.15rem/1.2 var(--f-titre); text-transform: uppercase; }
.fenetre__creneaux li span:last-child { font-variant-numeric: tabular-nums; color: var(--sable); }
.fenetre__creneaux .aucun { display: block; color: var(--gris) !important; font-size: 0.9rem; }
.fenetre__fermer {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--blanc); color: var(--noir);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.fenetre__fermer:hover { background: var(--tatami); }
@media (max-width: 799px) {
  .fenetre { width: 100vw; height: 100dvh; max-height: none; margin: 0; border: 0; }
  .fenetre__corps { grid-template-rows: 34vh 1fr; height: 100%; }
}
@media (min-width: 800px) {
  .fenetre__corps { grid-template-columns: 5fr 6fr; height: min(88vh, 760px); }
}

/* ---------- Titres révélés au défilement ---------- */
html.motion .titre-section.a-reveler { clip-path: inset(0 0 100% 0); transform: translateY(0.25em); }
html.motion .titre-section.a-reveler.est-visible {
  clip-path: inset(0 0 -0.1em 0); transform: none;
  transition: clip-path 1s var(--courbe), transform 1s var(--courbe);
}

/* ---------- Pages simples (mentions légales, confirmation) ---------- */
.page-simple { background: var(--toile); color: var(--noir); }
.page-simple--tatami { background: var(--tatami); }
.page-simple__entete {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gouttiere);
  background: var(--noir); color: var(--blanc);
}
.page-simple__corps {
  width: min(100% - 2 * var(--gouttiere), 760px);
  margin: clamp(3rem, 8vw, 6rem) auto;
}
.page-simple__corps h2 { font: 900 1.7rem/1 var(--f-titre); text-transform: uppercase; margin: 2.4rem 0 0.8rem; }
.page-simple__chapeau { font-size: 1.25rem; font-weight: 500; }
.page-simple mark { background: var(--sable); padding: 0 0.25em; }
.page-simple__pied {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  padding: 1.5rem var(--gouttiere) 2rem; font-size: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.page-simple__pied p { margin: 0; }

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
