/* Fit Fight — version « plus classe, plus légère » (28/11/2026).
   Cette feuille vient après style.css et ne fait que retenir : moins de graisse, plus d'air,
   des filets fins, moins de hauteur de page. Rien ici ne change les contenus. */

/* ---------- 1. Le ton général : plus fin, plus calme ---------- */
body { font-weight: 350; }
.titre-section {
  font-weight: 700;
  font-size: clamp(2.7rem, 6.2vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0.004em;
  margin-bottom: 0.45em;
}
.accroche { font-weight: 700; }
.club, .cours, .coachs, .mesure, .tarifs, .essai { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

/* Un même lien discret pour déplier un texte */
.suite summary, .parcours summary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px;
  cursor: pointer; list-style: none;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.suite summary::-webkit-details-marker, .parcours summary::-webkit-details-marker { display: none; }
.suite summary::after, .parcours summary::after {
  content: ""; width: 0.5em; height: 0.5em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg); transition: transform 0.3s var(--courbe);
}
.suite[open] summary::after, .parcours[open] summary::after { transform: translateY(0.12em) rotate(-135deg); }
.suite__fermer, [open] > summary .suite__ouvrir { display: none; }
[open] > summary .suite__fermer { display: inline; }
.suite[open] summary { margin-bottom: 0.4rem; }

/* ---------- 2. L'entrée animée est retirée : on arrive directement sur le ring ----------
   Plus d'accueil, de couloir ni de jab-cross-crochet. Le titre se pose simplement à l'arrivée. */
html.sans-entree .entree { height: auto; }
html.sans-entree .entree__scene { position: relative; top: auto; height: auto; min-height: 100vh; min-height: 100svh; }
html.sans-entree .entree__plan--couloir, html.sans-entree .entree__plan--arrivee, html.sans-entree .entree__voile,
html.sans-entree .entree__faisceaux, html.sans-entree .entree__etincelles, html.sans-entree .entree__ondes,
html.sans-entree .entree__combo, html.sans-entree .entree__flash, html.sans-entree .entree__accueil,
html.sans-entree .entree__replique { display: none !important; }
html.sans-entree .entree__plan--ring { opacity: 1; }
html.sans-entree .ouverture__texte { visibility: visible; }
html.sans-entree.motion .entree .ligne > span { transform: none; transition: none; animation: ligne-monte 0.95s var(--courbe) both; }
html.sans-entree.motion .entree .ligne:nth-child(2) > span { animation-delay: 0.08s; }
html.sans-entree.motion .entree .ligne:nth-child(3) > span { animation-delay: 0.16s; }
html.sans-entree.motion .entree .ligne:nth-child(4) > span { animation-delay: 0.24s; }
html.sans-entree.motion .ouverture__accroche, html.sans-entree.motion .ouverture__actions,
html.sans-entree.motion .ouverture__adresse, html.sans-entree.motion .ouverture__texte .prochain {
  opacity: 1; transform: none; transition: none; animation: apparait 0.7s 0.55s var(--courbe) both;
}
html.sans-entree.motion .entree__plan--ring img { animation: ring-arrive 1.6s var(--courbe) both; }
@keyframes ligne-monte { from { transform: translateY(108%); } }
@keyframes ring-arrive { from { transform: scale(1.08); opacity: 0.4; } }

/* ---------- 3. Le club ---------- */
.manifeste {
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 4.8rem);
  line-height: 0.95;
  max-width: 18ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.club__chapeau { font-weight: 400; }
.club__devise { font-weight: 700; border-left-width: 2px; margin-top: 1.6rem; }
.chiffres { margin-top: clamp(3rem, 6vw, 4.5rem); border-top-width: 1px; }
.chiffre dd { font-weight: 700; font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
.chiffre--grand dd { font-size: clamp(3.8rem, 11vw, 6rem); }
@media (min-width: 900px) { .chiffre--grand dd { font-size: clamp(3.6rem, 6vw, 5.6rem); } }
.salle { margin-top: clamp(3rem, 6vw, 4.5rem); }
.salle__texte h3 { font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

/* ---------- 4. Les cours : un carrousel à parcourir, plus de défilement forcé ---------- */
html.fx .cours { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
html.fx .cours__scene { position: static; height: auto; display: block; overflow: visible; }
html.fx .cours__intro { position: static; width: auto; translate: none; opacity: 1; margin: 0 0 2.2rem; }
html.fx .cours__piste {
  pointer-events: auto; overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 1.2rem; padding-left: var(--gouttiere);
  transform: none; will-change: auto;
}
html.fx .cours__jauge { display: none; }
.cours__piste { scrollbar-width: none; }
.cours__piste::-webkit-scrollbar { display: none; }
.cours__piste.est-tiree { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.cours__piste.est-tiree .carte__bouton { pointer-events: none; }
.carte__nom { font-weight: 800; font-size: clamp(2rem, 2.7vw, 2.6rem); bottom: 4.3rem; }
.carte__bouton:hover::after, .carte__bouton:focus-visible::after { box-shadow: inset 0 0 0 1.5px var(--tatami); }
.envies__titre { font-weight: 700; }

.cours__pied { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; }
.cours__pied .cours__aide { margin: 0; }
.cours__fleches { display: none; gap: 0.5rem; }
.cours__fleches button {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 1px solid #6a6c71; border-radius: 50%;
  background: transparent; color: var(--blanc); cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, opacity 0.2s;
}
.cours__fleches button:hover:not(:disabled) { border-color: var(--tatami); background: var(--tatami); color: var(--noir); }
.cours__fleches button:disabled { opacity: 0.28; cursor: default; }
.cours__fleches span { width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.cours__fleches [data-cours-prec] span { transform: translateX(2px) rotate(-135deg); }

@media (min-width: 1024px) {
  .cours__intro, html.fx .cours__intro {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 6vw; align-items: start;
    width: min(100% - 2 * var(--gouttiere), var(--max)); max-width: none;
    margin-inline: auto; padding-inline: 0;
  }
  .cours__intro .titre-section, html.fx .cours__intro .titre-section { grid-column: 1; grid-row: 1 / span 4; margin: 0; font-size: clamp(2.7rem, 6.2vw, 5.6rem); }
  .cours__intro > :not(.titre-section) { grid-column: 2; }
  .cours__intro > p, html.fx .cours__intro > p { font-size: 1rem; max-width: 52ch; margin-top: 0; }
  .cours__fleches { display: flex; }
  .cours__piste, html.fx .cours__piste {
    padding-inline: max(var(--gouttiere), calc((100vw - var(--max)) / 2));
    scroll-padding-inline: max(var(--gouttiere), calc((100vw - var(--max)) / 2));
    cursor: grab;
  }
  .carte { height: min(56vh, 500px); }
}

/* ---------- 5. Les coachs ---------- */
.face__nom { font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 4.8rem); }
.face__coin::before { height: 2px; }
.parcours { grid-area: fiche; }
.parcours summary { display: flex; justify-content: center; margin-top: 0.6rem; color: var(--sable); }
.parcours .fiche { margin-top: 0.4rem; }
@media (min-width: 1024px) {
  .parcours summary { display: none; }
  .parcours .fiche { margin-top: 0; }
}

/* ---------- 6. Les cours individuels : la même présentation, resserrée ---------- */
@media (min-width: 1024px) {
  .chapitre { min-height: 40vh; padding-block: 1.6rem; }
  .recit__scene { max-height: min(calc(100vh - var(--entete) - 90px), 620px); }
}

/* ---------- 7. L'essai gratuit : la toile claire plutôt qu'un aplat de couleur ---------- */
.essai { background: var(--toile); }
.champ input, .champ select { border-width: 1px; }
.champ input:focus-visible, .champ select:focus-visible { outline: 2px solid var(--noir); outline-offset: 2px; }
.contact { border-top-width: 1px; }
.essai .btn--noir:hover { background: var(--tatami); border-color: var(--tatami); color: var(--noir); }
.formulaire__etat.est-erreur { border-width: 1px; }

/* =====================================================================================
   Version 18 — « haut de gamme » (28/11/2026)
   Repères tirés de l'étude de sites de luxe, de sites primés et de clubs de sport haut de gamme :
   peu de mots par écran, une échelle de tailles courte, aucun texte sous 14 px, des apparitions
   brèves, rien qui retarde la lecture. Voir README, section « Version ?v=18 ».
   ===================================================================================== */

/* ---------- A. Une échelle de tailles courte et lisible ---------- */
:root {
  --t-note: 0.875rem;                          /* 14 px : la plus petite taille autorisée */
  --t-texte: 1.0625rem;                        /* 17 px : le texte courant */
  --t-chapeau: clamp(1.15rem, 1.5vw, 1.3rem);  /* la phrase d'introduction d'une partie */
  --t-sous-titre: clamp(1.5rem, 2.2vw, 2rem);
  --lecture: 58ch;                             /* largeur maximale d'une colonne de texte */
}
figcaption, small, .tableau__pied, .horaires__note, .chiffre dt, .fiche th[scope="row"], .carte__voir,
.statut, .tableau__etiquette, .ems__reperes dt, .marquoir dt, .prix__montant small, .notes,
.cours__aide, .envies__resultat, .champ__erreur, .son__texte, .carte__sous, .face__coin figcaption a,
.semaine__impact, .planning__note, .consentement, .champ label, .envies__choix button { font-size: var(--t-note); }
.coachs__tete p, .cours__intro > p, .planning__texte p, .club__texte p, .essai__intro p { max-width: var(--lecture); }
.club__chapeau, .mesure__chapeau, .tarifs__chapeau { font-size: var(--t-chapeau); }

/* ---------- B. Les coachs : deux portraits, le détail à la demande ---------- */
@media (min-width: 1024px) {
  .face {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "g d" "fiche fiche";
    gap: 1.5rem 2.5vw;
    max-width: 1120px; margin-inline: auto;
  }
  .face__coin { position: relative; top: auto; }
  .face__coin img { aspect-ratio: 5 / 5.4; }
  .parcours summary { display: flex; }
  .parcours .fiche { margin-top: 1rem; }
  .parcours .fiche tr:first-child { border-top: 1px solid var(--trait); }
}
.face__coin figcaption a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- C. Les cours individuels : resserrés ---------- */
@media (min-width: 1024px) {
  .chapitre { min-height: 34vh; padding-block: 1.4rem; }
}
.suite--claire summary { color: var(--sable); }
.ems .suite--claire p { margin-top: 0; }

/* ---------- La semaine en clair et le planning à emporter (version 19) ---------- */
.semainier { display: none; }
.garder {
  display: grid; gap: 1rem 2rem; align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.garder__texte h3 { font: 500 clamp(1.5rem, 2.2vw, 2rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.garder__texte p { margin: 0; max-width: 46ch; color: var(--acier); }
.garder__etat { margin: 0; font-weight: 500; grid-column: 1 / -1; }
.garder__etat:empty { display: none; }
.garder__apercu { margin: 0; grid-column: 1 / -1; justify-self: start; }
.garder__apercu img { width: min(100%, 320px); border: 1px solid rgba(0, 0, 0, 0.25); }
.garder__apercu figcaption { margin-top: 0.6rem; font-size: var(--t-note); color: var(--acier); max-width: 36ch; }
@media (min-width: 760px) { .garder { grid-template-columns: 1fr auto; } }
@media (max-width: 699px) {
  .apercu { display: none !important; }
  .semaine .legende { display: none; }
  .semainier { display: grid; margin-top: 1rem; border-top: 2px solid var(--noir); }
  .semainier__jour { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0 0.8rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.16); }
  .semainier__jour h4 { font: 500 1.35rem/1.2 var(--f-titre); text-transform: uppercase; letter-spacing: 0.02em; padding-top: 0.15rem; }
  .semainier__jour.est-aujourdhui h4 { color: var(--tatami); }
  .semainier__jour.est-aujourdhui h4::after { content: "Aujourd'hui"; display: block; font: 500 0.8rem/1.3 var(--f-texte); text-transform: none; letter-spacing: 0; color: var(--acier); }
  .semainier ul { list-style: none; display: grid; gap: 0.5rem; }
  .semainier li { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 0.6rem; align-items: baseline; font-size: 1rem; line-height: 1.35; }
  .semainier__heure { font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .garder .btn { width: 100%; }
}

/* ---------- La semaine interactive (version 20) : choisir un cours, voir le prochain ---------- */
.filtre-semaine { margin-top: 1.2rem; }
.filtre-semaine__titre { margin: 0 0 0.6rem; font-size: var(--t-note); font-weight: 600; color: var(--acier); }
.filtre-semaine__choix { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.filtre-semaine__choix button {
  min-height: 44px; padding: 0.45rem 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.4); border-radius: 999px;
  background: transparent; color: var(--noir);
  font-size: var(--t-note); font-weight: 600; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filtre-semaine__choix button:hover { border-color: var(--noir); }
.filtre-semaine__choix button[aria-pressed="true"] { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.filtre-semaine__resultat { margin: 0.8rem 0 0; min-height: 1.6em; font-weight: 500; }
.grille-semaine .seance { transition: opacity 0.3s, transform 0.3s var(--courbe), box-shadow 0.3s; }
.grille-semaine .seance.est-attenue { opacity: 0.16; }
.grille-semaine .seance.est-choisi { box-shadow: 0 0 0 2px var(--toile), 0 0 0 4px var(--noir); transform: scale(1.03); }
@media (max-width: 699px) {
  .filtre-semaine__choix { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); scrollbar-width: none; }
  .filtre-semaine__choix::-webkit-scrollbar { display: none; }
  .filtre-semaine__choix button { flex: none; }
  .semainier li { display: block; transition: opacity 0.3s; }
  .semainier li button {
    all: unset; box-sizing: border-box; cursor: pointer;
    display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 0.1rem 0.6rem; align-items: baseline;
    width: 100%; min-height: 44px; padding: 0.35rem 0.5rem; margin-left: -0.5rem;
    font-size: 1rem; line-height: 1.35;
    transition: background-color 0.2s;
  }
  .semainier li button:focus-visible { outline: 2px solid var(--noir); outline-offset: 2px; }
  .semainier li button:active { background: rgba(0, 0, 0, 0.08); }
  .semainier ul { gap: 0; }
  .semainier__marque { grid-column: 2; font-size: 0.8rem; font-weight: 600; color: var(--noir); }
  .semainier li.est-prochain button { background: var(--noir); color: var(--blanc); }
  .semainier li.est-prochain .semainier__marque { color: var(--tatami); }
  .semainier li.est-passe { opacity: 0.45; }
  .semainier li.est-attenue { opacity: 0.2; }
  .semainier li.est-choisi button { background: var(--sable); }
  .semainier li.est-choisi.est-prochain button { background: var(--noir); }
  .semainier__jour.est-vide { opacity: 0.45; }
}

/* ---------- D. Lisibilité et accès ---------- */
:focus-visible { outline-width: 2px; }
.nav a, .pied a { text-underline-offset: 0.3em; }
.pied nav a, .contact a, .lien-fleche { display: inline-flex; align-items: center; min-height: 44px; }
.envies__choix button { min-height: 44px; }
.prix h4 + p, .notes { line-height: 1.5; }
.club__photo figcaption, .legende, .pied__bas, .semaine__defile th, .pied__partenaire p { font-size: var(--t-note); }
.seance small { font-size: 0.8rem; }
.round__num { font-size: 0.8rem; }

/* ---------- E. Typographie de maison : des titres fins, de taille mesurée ----------
   Constat de l'étude (Aesop, Aman, Hermès, Bang & Olufsen, Loro Piana, Soho House, Third Space) :
   des titres de graisse 300 à 400, de 30 à 66 px ; jamais de grand titre gras. */
.titre-section {
  font-weight: 300;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
}
.ouverture__titre { font-weight: 400; letter-spacing: 0.01em; }
@media (max-width: 1023px) { .ouverture__titre { font-size: clamp(2.9rem, 13.4vw, 6rem); } }
@media (min-width: 1024px) { .ouverture__titre { font-size: min(6.3vw, 7.4rem); } }
.manifeste { font-weight: 300; font-size: clamp(1.9rem, 3.7vw, 3.4rem); line-height: 1.04; letter-spacing: 0.015em; max-width: 22ch; }
.devise__titre { font-weight: 400; letter-spacing: 0.012em; }
.face__nom { font-weight: 300; letter-spacing: 0.03em; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.carte__nom { font-weight: 500; letter-spacing: 0.015em; font-size: clamp(1.8rem, 2.3vw, 2.3rem); }
.chiffre dd { font-weight: 300; letter-spacing: 0.01em; }
.club__devise, .accroche, .salle__texte h3, .contact h3, .evenements h3, .envies__titre, .semaine__tete h3 { font-weight: 500; letter-spacing: 0.02em; }
.cours__intro .titre-section, html.fx .cours__intro .titre-section { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.club__duo .titre-section { font-size: clamp(2.1rem, 3.8vw, 3.5rem); }

/* ---------- F. Des boutons discrets, une seule couleur d'accent ----------
   Chez ces maisons, les boutons sont noirs, blancs ou à filet ; la couleur ne sert qu'à signaler. */
.btn { border-width: 1px; font-weight: 500; letter-spacing: 0.01em; min-height: 50px; }
.btn--petit { min-height: 44px; }
.btn--tatami { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn--tatami::before { background: var(--tatami); }
.btn--tatami:hover, .btn--tatami:focus-visible { border-color: var(--tatami); }
.barre__action--essai { background: var(--blanc) !important; border-color: var(--blanc) !important; color: var(--noir) !important; }
.lien-fleche { background-size: 100% 1px; font-weight: 500; }
.lien-fleche:hover { background-size: 40% 1px; }

/* ---------- G. Le rythme : 64 à 96 px entre les parties, 40 à 64 px sur téléphone ---------- */
.club, .cours, .coachs, .mesure, .tarifs, .essai, html.fx .cours { padding-block: clamp(3.5rem, 7vw, 6rem); }
.coachs__tete, .mesure__tete { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 1024px) {
  .face { max-width: 1040px; }
  .face__coin img { aspect-ratio: 5 / 4.3; }
}
@media (max-width: 699px) { .ems__texte > .suite { order: 5; } }
.ems .suite--claire p { max-width: 52ch; font-weight: 300; font-size: 1.04rem; line-height: 1.75; }
