/* Les Archers de Claixwood — maquette phase 2, direction 1 « De la salle à la forêt ».
   Jetons issus de DESIGN.md. */
:root {
  --fond: #F0F2EB;
  --carte: #FFFFFF;
  --encre: #17190F;
  --gris: #565C4E;
  --filet: #DADDD2;
  --or: #FCBC00;
  --or-survol: #FFCB2E;
  --noir: #12110E;
  --noir-2: #1F1E1A;
  --sur-noir: #F3F1EA;
  --sur-noir-2: #B5B1A5;
  --filet-noir: rgb(243 241 234 / .16);

  --r-photo: 24px;
  --r-bloc: 28px;
  --r-carte: 16px;
  --r-legende: 10px;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --marge: clamp(1.25rem, 1rem + 2.5vw, 4rem);
  --max: 76rem;
  --section: clamp(5rem, 3rem + 6vw, 8rem);

  --t-h1: clamp(2.5rem, 1.6rem + 3.9vw, 4.75rem);   /* ~40 px a 390 px */
  --t-h2: clamp(1.75rem, 1.3rem + 2.2vw, 3.375rem);  /* ~29 px a 390 px */
  --t-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  --t-chapo: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: "Onest", system-ui, sans-serif; font-weight: 400;
  font-size: clamp(1.125rem, 1.08rem + .2vw, 1.1875rem); line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
p, li, dd { text-wrap: pretty; }
sup { line-height: 0; font-size: .65em; }
.nw { white-space: nowrap; }
.chiffres { font-variant-numeric: tabular-nums; }
.visuel-seul { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
.noir :focus-visible, .pied :focus-visible, .fiche :focus-visible { outline-color: var(--or); }
.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--encre); color: #fff; padding: .75rem 1rem; border-radius: 8px; }
.evitement:focus { top: 1rem; }

/* Bandeau maquette */
.demo { background: var(--encre); color: #E9EAE3; text-align: center; font-size: .9375rem; line-height: 1.4; padding: .5rem 1rem; }
.demo a { color: #fff; text-underline-offset: 3px; }

/* En-tête */
.entete { position: relative; z-index: 10; }
.entete__in { max-width: var(--max); margin: 0 auto; padding: .875rem var(--marge); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: block; border-radius: 8px; }
.logo img { width: 176px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-size: 1rem; font-weight: 500; padding: .75rem 0; text-underline-offset: 8px; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 3px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-btn { display: none; }

/* Boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem;
  border-radius: 999px; font: 600 1rem/1.2 "Onest", sans-serif; text-decoration: none; border: 0; cursor: pointer;
  text-align: center; transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--or { background: var(--or); color: var(--encre); }
.btn--or:hover { background: var(--or-survol); }
.btn--encre { background: var(--encre); color: #fff; min-height: 44px; padding: 0 1.25rem; font-size: .9375rem; }
.btn--encre:hover { background: #33362A; }
.lien { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; display: inline-flex; align-items: center; min-height: 44px; }
.lien:hover { text-decoration-thickness: 2px; }

/* Titres de section */
.section { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--marge) 0; }
.titre-section { max-width: 44rem; }
.titre-section h2, .h2 { font-size: var(--t-h2); line-height: 1.06; font-weight: 500; letter-spacing: -.02em; }
.titre-section p { margin-top: 1rem; color: var(--gris); max-width: 40rem; }
.titre-section--deux { max-width: none; display: grid; grid-template-columns: 5fr 6fr; gap: 1rem 4rem; align-items: end; }
.titre-section--deux p { margin: 0; }
h3, .h3 { font-size: var(--t-h3); line-height: 1.2; font-weight: 500; letter-spacing: -.015em; }

/* Photos et légendes */
.cadre { position: relative; overflow: hidden; border-radius: var(--r-photo); background: #DFE2D8; }
.cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.cadre:hover img, .tuile:hover img, .terrain:hover .cadre img { transform: scale(1.03); }
.legende {
  position: absolute; left: 1rem; bottom: 1rem; max-width: 70%; z-index: 1;
  background: rgb(18 17 14 / .92); color: var(--sur-noir); border-radius: var(--r-legende);
  font-size: .9375rem; font-weight: 500; line-height: 1.3; padding: .4375rem .75rem;
}
.sous-legende { margin-top: .625rem; font-size: 1rem; color: var(--gris); line-height: 1.4; }

/* ===== Héros (accueil) ===== */
.heros { max-width: var(--max); margin: 0 auto; padding: clamp(1.5rem, .5rem + 4vw, 4rem) var(--marge) 0; }
.heros__texte { text-align: center; max-width: 64rem; margin: 0 auto; }
.heros h1 { font-size: var(--t-h1); line-height: 1.04; font-weight: 500; letter-spacing: -.025em; }
.heros h1 .ligne { display: block; }
.chapo { margin: 1.25rem auto 0; max-width: 40rem; color: var(--gris); font-size: var(--t-chapo); line-height: 1.5; }
.actions { margin-top: 1.75rem; display: flex; gap: .75rem 1.75rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.heros__media { position: relative; margin: clamp(1.5rem, 1rem + 2.5vw, 3rem) auto 0; max-width: 1200px; }
.heros__photo { position: relative; }
.heros__photo .cadre { aspect-ratio: 16 / 9; }
.heros__photo .cadre img { object-position: 50% 38%; }
.fiche {
  position: absolute; right: 2rem; bottom: -3rem; z-index: 2; width: min(34rem, 46%);
  background: var(--noir); color: var(--sur-noir); border-radius: var(--r-carte); padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 16px 40px rgb(0 0 0 / .18);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem 1.75rem;
}
.fiche dt { color: var(--or); font-size: .9375rem; font-weight: 500; line-height: 1.3; }
.fiche dd { margin-top: .25rem; font-size: 1.125rem; font-weight: 500; line-height: 1.35; font-variant-numeric: tabular-nums; }
.fiche > div:nth-child(n+3) { border-top: 1px solid var(--filet-noir); padding-top: 1rem; }
.heros__photo .legende { max-width: 40%; }

/* ===== Deux terrains ===== */
.terrains__grille { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.terrain { background: var(--carte); border-radius: var(--r-photo); overflow: hidden; display: flex; flex-direction: column; }
.terrain .cadre { border-radius: 0; aspect-ratio: 3 / 2; }
.terrain__texte { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.terrain h3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.terrain p { color: var(--gris); }
.terrain .repere { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--filet); color: var(--encre); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ===== Cibles (mosaïque) ===== */
.cibles { display: grid; grid-template-columns: 4fr 7fr; gap: 2rem 4rem; align-items: start; }
.cibles__texte p { margin-top: 1rem; color: var(--gris); }
.chiffres-parcours { margin-top: 2rem; display: grid; gap: 0; }
.chiffres-parcours div { display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; gap: 1rem; padding: .875rem 0; border-top: 1px solid var(--filet); }
.chiffres-parcours div:last-child { border-bottom: 1px solid var(--filet); }
.chiffres-parcours dt { font-size: 2.5rem; font-weight: 300; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chiffres-parcours dd { color: var(--gris); line-height: 1.4; }
.chiffres-parcours dd strong { color: var(--encre); font-weight: 500; }
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tuile { margin: 0; }
.tuile .cadre { border-radius: var(--r-carte); }
.mosaique--cibles .tuile:first-child { grid-column: 1 / -1; }
.mosaique--cibles .tuile:first-child .cadre { aspect-ratio: 16 / 10; }
.mosaique--cibles .tuile:not(:first-child) .cadre { aspect-ratio: 1 / 1; }
.mosaique--cibles .tuile:nth-child(2) img { object-position: 45% 60%; }
.mosaique--cibles .tuile:nth-child(3) img { object-position: 75% 50%; }

/* ===== Venir essayer ===== */
.essai { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem; margin-top: 3rem; align-items: stretch; }
.carte { background: var(--carte); border-radius: var(--r-carte); padding: 2rem; }
.carte h3 { margin-bottom: 1rem; }
.creneaux { list-style: none; padding: 0; }
.creneaux li { display: grid; grid-template-columns: 10.5rem 1fr; gap: .125rem 1.25rem; padding: .875rem 0; border-top: 1px solid var(--filet); font-variant-numeric: tabular-nums; }
.creneaux .qui { font-weight: 500; }
.creneaux .quand { color: var(--encre); }
.creneaux .quand strong { font-weight: 600; }
.etiquette { display: inline-block; background: var(--or); color: var(--encre); font-size: .9375rem; font-weight: 600; line-height: 1.2; border-radius: 999px; padding: .25rem .625rem; vertical-align: .1em; }
.prix-ligne { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--encre); padding-top: 1.25rem; margin-top: .5rem; }
.prix-ligne div { display: flex; flex-direction: column; }
.prix-ligne strong { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prix-ligne span { color: var(--gris); font-size: 1.0625rem; line-height: 1.35; margin-top: .25rem; }
.liste-points { list-style: none; padding: 0; }
.liste-points li { padding: .875rem 0; border-top: 1px solid var(--filet); }
.liste-points li:first-child { border-top: 0; padding-top: 0; }
.note { margin-top: 1rem; font-size: 1.0625rem; color: var(--gris); line-height: 1.45; }
.carte .actions { justify-content: flex-start; margin-top: 1.5rem; }

/* ===== Saison (bloc noir) ===== */
.saison { max-width: calc(var(--max) + 4rem); margin: 0 auto; padding: var(--section) clamp(.75rem, .5rem + 1vw, 2rem) 0; }
.noir { background: var(--noir); color: var(--sur-noir); border-radius: var(--r-bloc); }
.saison__bloc { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem); display: grid; grid-template-columns: 7fr 4fr; gap: 3rem 4.5rem; align-items: start; }
.saison__bloc h2 { font-size: var(--t-h2); line-height: 1.06; font-weight: 500; letter-spacing: -.02em; }
.saison__intro { margin-top: 1rem; color: var(--sur-noir-2); max-width: 36rem; }
.dates { list-style: none; padding: 0; margin-top: 2.5rem; }
.dates li { display: grid; grid-template-columns: 12.5rem 1fr; gap: .25rem 1.75rem; padding: 1.375rem 0; border-top: 1px solid var(--filet-noir); align-items: first baseline; }
.dates time, .dates .date { color: var(--or); font-size: clamp(2rem, 1.5rem + 1.4vw, 2.5rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dates .date--texte { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); white-space: normal; }
.dates p { color: var(--sur-noir); }
.dates p > span { display: block; color: var(--sur-noir-2); margin-top: .25rem; }
.saison__photos { display: grid; gap: 1.5rem; }
.saison__photos .cadre { border-radius: 20px; background: var(--noir-2); }
.saison__photos figcaption { margin-top: .625rem; font-size: 1rem; color: var(--sur-noir-2); line-height: 1.4; }
.noir a:not(.btn) { color: var(--sur-noir); }

/* ===== Appel final ===== */
.appel { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--marge); text-align: center; }
.appel h2 { font-size: var(--t-h2); line-height: 1.06; font-weight: 500; letter-spacing: -.02em; max-width: 44rem; margin: 0 auto; }
.appel p { margin: 1.25rem auto 0; max-width: 36rem; color: var(--gris); }
.appel .actions { margin-top: 2rem; }

/* ===== Pages intérieures ===== */
.page-tete { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 1rem + 4vw, 4.5rem) var(--marge) 0; display: grid; grid-template-columns: 6fr 5fr; gap: 2rem 4rem; align-items: end; }
.page-tete h1 { font-size: var(--t-h1); line-height: 1.04; font-weight: 500; letter-spacing: -.025em; }
.page-tete .chapo { margin: 0; max-width: 34rem; }
.page-tete__photo { grid-column: 1 / -1; margin-top: clamp(.5rem, 0rem + 2vw, 1.5rem); }
.page-tete__photo .cadre { aspect-ratio: 2 / 1; }
.page-tete__photo .cadre img { object-position: 50% 45%; }
.page-tete__photo--salle .cadre img { object-position: 50% 30%; }
.sommaire { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-top: 1.5rem; grid-column: 1 / -1; }

/* Tableau des horaires */
.horaires-grille { margin-top: 3rem; display: grid; gap: 2rem; }
.table-carte { background: var(--carte); border-radius: var(--r-carte); padding: 1.5rem 2rem 1rem; }
.table-carte h3 { margin-bottom: .75rem; }
table.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires caption { text-align: left; }
.horaires th, .horaires td { text-align: left; padding: .875rem 1rem .875rem 0; border-top: 1px solid var(--filet); vertical-align: baseline; }
.horaires thead th { border-top: 0; font-size: 1rem; font-weight: 500; color: var(--gris); padding-top: .25rem; }
.horaires tbody th { font-weight: 500; width: 9rem; }
.horaires td:nth-child(2) { width: 11rem; white-space: nowrap; }
.horaires td:last-child { width: 9rem; color: var(--gris); }
.horaires tr.debut td, .horaires tr.debut th { font-weight: 600; }
.horaires tr.debut td:last-child { color: var(--encre); font-weight: 500; }
.reserve { margin-top: 1.25rem; font-size: 1.0625rem; color: var(--gris); max-width: 46rem; }

.tarifs { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tarif { background: var(--carte); border-radius: var(--r-carte); padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: .5rem; }
.tarif strong { font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tarif h3 { font-size: 1.25rem; font-weight: 600; }
.tarif p { color: var(--gris); font-size: 1.0625rem; }
.deux-col { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.deux-col--photo { grid-template-columns: 5fr 6fr; gap: 2rem 4rem; align-items: center; }
.points { list-style: none; padding: 0; margin-top: 1rem; }
.points li { padding: .75rem 0 .75rem 1.5rem; border-top: 1px solid var(--filet); position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: .5rem; height: 1px; background: var(--encre); }

.etapes { list-style: none; counter-reset: e; padding: 0; margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.etapes li { counter-increment: e; border-top: 1px solid var(--encre); padding-top: 1.25rem; }
.etapes li::before { content: counter(e); display: block; font-size: 2.5rem; font-weight: 300; line-height: 1; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.etapes h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.etapes p { margin-top: .5rem; color: var(--gris); }

.bloc-noir { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.bloc-noir h2 { font-size: var(--t-h2); line-height: 1.06; font-weight: 500; letter-spacing: -.02em; }
.bloc-noir .lede { margin-top: 1rem; color: var(--sur-noir-2); max-width: 40rem; }

/* Page club */
.texte-long { max-width: 40rem; }
.texte-long p + p { margin-top: 1rem; }
.texte-long p { color: var(--gris); }
.texte-long p.fort { color: var(--encre); }
.mosaique--parcours { margin-top: 3rem; grid-template-columns: repeat(12, 1fr); }
.mosaique--parcours .tuile:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.mosaique--parcours .tuile:nth-child(1) .cadre { height: calc(100% - 2.25rem); min-height: 100%; }
.mosaique--parcours .tuile:nth-child(2), .mosaique--parcours .tuile:nth-child(3) { grid-column: span 5; }
.mosaique--parcours .tuile:nth-child(n+4) { grid-column: span 6; }
.mosaique--parcours .tuile:nth-child(2) .cadre, .mosaique--parcours .tuile:nth-child(3) .cadre { aspect-ratio: 3 / 2; }
.mosaique--parcours .tuile:nth-child(n+4) .cadre { aspect-ratio: 4 / 3; }
.mosaique--parcours .tuile:nth-child(1) { display: flex; flex-direction: column; }
.mosaique--parcours .tuile:nth-child(1) .cadre { flex: 1; height: auto; min-height: 0; }
.mosaique--parcours .tuile:nth-child(1) img { position: absolute; inset: 0; }
.rdv { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.rdv article { border-top: 1px solid var(--encre); padding-top: 1.25rem; }
.rdv h3 { font-size: 1.375rem; }
.rdv p { margin-top: .625rem; color: var(--gris); }
.rdv .quand { color: var(--encre); font-weight: 500; }
.rdv--deux { grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.rdv .cadre { aspect-ratio: 3 / 2; border-radius: var(--r-carte); margin-bottom: 1.25rem; }
.rdv--photos article { border-top: 0; padding-top: 0; }
.chiffres-parcours--ligne { grid-template-columns: repeat(3, 1fr); gap: 0 2rem; margin-top: 3rem; }
.chiffres-parcours--ligne div, .chiffres-parcours--ligne div:last-child { grid-template-columns: 1fr; gap: .5rem; border-bottom: 1px solid var(--filet); padding: 1.25rem 0; }
.chiffres-parcours--ligne dt { font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem); }
.encart { margin-top: 2rem; max-width: 46rem; font-size: 1.0625rem; color: var(--gris); }
.encart strong { color: var(--encre); font-weight: 500; }
.resultats-grille { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem 4.5rem; align-items: start; }
.contact-grille { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-grille .carte p { color: var(--gris); }
.contact-grille .carte p.fort { color: var(--encre); font-weight: 500; overflow-wrap: anywhere; }
.seances { list-style: none; padding: 0; margin-top: 1.5rem; }
.seances li { display: grid; grid-template-columns: 17rem 1fr; gap: .25rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--filet); align-items: baseline; font-variant-numeric: tabular-nums; }
.seances li strong { font-size: 1.375rem; font-weight: 500; }
.seances li span { color: var(--gris); }

/* ===== Pied ===== */
.pied { background: var(--noir); color: var(--sur-noir-2); margin-top: 0; }
.pied__in { max-width: var(--max); margin: 0 auto; padding: 4.5rem var(--marge) 3rem; display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 2.5rem 2rem; font-size: 1.0625rem; line-height: 1.5; }
.pied__club img { width: 180px; margin-bottom: 1.25rem; }
.pied h2 { color: var(--sur-noir); font-size: 1.0625rem; font-weight: 600; margin-bottom: .625rem; letter-spacing: 0; }
.pied a { color: var(--sur-noir); text-underline-offset: 3px; }
.pied ul { list-style: none; padding: 0; }
.pied li a, .pied p a { display: inline-block; padding: .5rem 0; }
.pied p + p { margin-top: .25rem; }
.pied__mention { max-width: var(--max); margin: 0 auto; padding: 1.5rem var(--marge) 2rem; border-top: 1px solid var(--filet-noir); font-size: 1.0625rem; color: var(--sur-noir-2); }

/* ===== Mouvement ===== */
@media (prefers-reduced-motion: no-preference) {
  .heros__texte, .heros__photo { animation: entree .8s var(--ease) both; }
  .heros__photo { animation-delay: .08s; }
  @keyframes entree { from { opacity: 0; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== Tablette ===== */
@media (max-width: 1080px) {
  .nav { gap: 1.25rem; }
  .logo img { width: 150px; }
}
@media (max-width: 960px) {
  .terrains__grille, .titre-section--deux, .saison__bloc, .cibles, .essai, .deux-col, .deux-col--photo, .resultats-grille, .page-tete { grid-template-columns: 1fr; }
  .fiche { position: relative; right: auto; bottom: auto; width: auto; margin: -2rem 1rem 0; }
  .heros__photo .legende { max-width: 70%; bottom: 3rem; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .rdv, .rdv--deux, .contact-grille, .tarifs { grid-template-columns: 1fr; }
  .pied__in { grid-template-columns: 1fr 1fr; }
  .saison__photos { grid-template-columns: 1fr 1fr; }
  .mosaique--parcours .tuile:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .mosaique--parcours .tuile:nth-child(1) .cadre { aspect-ratio: 4 / 3; flex: none; }
  .mosaique--parcours .tuile:nth-child(2), .mosaique--parcours .tuile:nth-child(3) { grid-column: span 6; }
}

/* ===== Mobile ===== */
@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; border: 1px solid var(--encre);
    background: transparent; font: 500 1rem "Onest", sans-serif; color: var(--encre); align-items: center; cursor: pointer;
  }
  .menu-btn[aria-expanded="true"] { background: var(--encre); color: #fff; }
  .nav {
    display: none; position: absolute; left: .75rem; right: .75rem; top: calc(100% - .25rem); z-index: 5;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--carte); border-radius: var(--r-carte);
    padding: .5rem 1.25rem 1.25rem; box-shadow: 0 12px 32px rgb(23 25 15 / .16);
  }
  .nav.ouvert { display: flex; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--filet); font-size: 1.125rem; }
  .nav .btn { margin-top: 1rem; min-height: 48px; font-size: 1rem; }
}
@media (max-width: 760px) {
  :root { --r-photo: 16px; --r-bloc: 20px; }
  .logo img { width: 124px; }
  .entete__in { padding-block: .625rem; }
  .heros { padding-top: 1.25rem; }
  .heros__texte { text-align: left; }
  .heros h1 { line-height: 1.06; }
  .heros h1 .ligne { display: inline; }
  .chapo { margin: .875rem 0 0; font-size: 1.0625rem; }
  .actions { justify-content: flex-start; margin-top: 1.25rem; }
  .heros .lien { display: none; }
  .heros__photo { margin-top: 1.5rem; }
  .heros__photo .cadre { aspect-ratio: 4 / 5; }
  .heros__photo .cadre img { object-position: 50% 40%; }
  .fiche { margin: -2rem .75rem 0; padding: .375rem 1.25rem; gap: 0; grid-template-columns: 1fr; }
  .fiche > div, .fiche > div:nth-child(n+3) { display: grid; grid-template-columns: 6.75rem 1fr; gap: .75rem; align-items: baseline; padding: .75rem 0; border-top: 0; }
  .fiche > div + div { border-top: 1px solid var(--filet-noir); }
  .fiche dd { font-size: 1.0625rem; margin: 0; }
  .fiche dt { font-size: .9375rem; }
  .prix-ligne { gap: .5rem; }
  .prix-ligne strong { font-size: 1.625rem; }
  .prix-ligne span { font-size: 1rem; }
  .appel .actions { justify-content: center; }
  .saison__photos { grid-template-columns: 1fr; gap: 1.5rem; }
  .saison__photos .cadre { aspect-ratio: 4 / 3; border-radius: 14px; }
  .saison__photos img { object-position: 50% 25%; }
  .saison__photos figcaption { font-size: .9375rem; }
  .legende { left: .75rem; bottom: .75rem; font-size: .875rem; padding: .375rem .625rem; }
  .heros__photo .legende { bottom: 2.75rem; }
  .terrain__texte, .carte { padding: 1.5rem; }
  .mosaique { gap: 10px; }
  .mosaique--cibles .tuile:first-child .cadre { aspect-ratio: 4 / 3; }
  .sous-legende { font-size: .9375rem; }
  .creneaux li { grid-template-columns: 1fr; }
  .dates li { grid-template-columns: 1fr; gap: .5rem; }
  .etapes { grid-template-columns: 1fr; gap: 1.5rem; }
  .pied__in { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .page-tete__photo .cadre { aspect-ratio: 4 / 5; }
  .page-tete__photo--salle .cadre { aspect-ratio: 4 / 3; }
  .page-tete__photo--salle .cadre img { object-position: 50% 30%; }
  .page-tete { gap: 1rem; }
  .sommaire { margin-top: .25rem; gap: 0 1.25rem; }
  .seances li { grid-template-columns: 1fr; }
  .chiffres-parcours--ligne { grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
  .chiffres-parcours--ligne dd { font-size: 1.0625rem; line-height: 1.35; }
  .mosaique--parcours { grid-template-columns: 1fr 1fr; }
  .mosaique--parcours .tuile:nth-child(n) { grid-column: span 1; }
  .mosaique--parcours .tuile:nth-child(1) { grid-column: 1 / -1; }
  .mosaique--parcours .tuile:nth-child(n+2) .cadre { aspect-ratio: 1 / 1; }
  /* Tableau des horaires en blocs empilés */
  table.horaires, .horaires tbody, .horaires tr, .horaires th, .horaires td { display: block; width: auto !important; }
  .horaires thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .horaires tr { padding: .875rem 0; border-top: 1px solid var(--filet); }
  .horaires th, .horaires td { border: 0; padding: 0; }
  .horaires tbody th { display: inline; }
  .horaires td:nth-child(2) { display: inline; margin-left: .5rem; }
  .horaires td:nth-child(3) { margin-top: .125rem; }
  .table-carte { padding: 1.25rem 1.25rem .5rem; }
}

/* ===== Passe 2 (24/11/2026) ===== */
/* Tarifs : cartes compactes, particularités en grille */
.tarif h3 { margin-top: .25rem; }
.points--grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; margin-top: 2rem; }
/* Étapes d'inscription dans un bloc noir, numéros or fins */
.etapes-bloc { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem 4.5rem; align-items: start; }
.etapes-bloc .actions { justify-content: flex-start; margin-top: 2rem; }
.etapes--noir { margin-top: 0; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.etapes--noir li { border-top: 1px solid var(--filet-noir); padding: 1.5rem 0 1.75rem; }
.etapes--noir li::before { color: var(--or); font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); font-weight: 300; letter-spacing: -.02em; margin-bottom: .875rem; }
.etapes--noir h3 { color: var(--sur-noir); }
.etapes--noir p { color: var(--sur-noir-2); }
.deux-col--egal { align-items: stretch; }
.deux-col--egal .carte { display: flex; flex-direction: column; }
.deux-col--egal .carte .actions { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--filet); }
/* Règlement du parcours : replis sur mobile, ouverts sur desktop */
.repli summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; list-style: none; cursor: pointer; }
.repli summary::-webkit-details-marker { display: none; }
.repli__etat { flex: none; font-size: 1rem; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.repli__etat::after { content: "Afficher"; }
.repli[open] .repli__etat::after { content: "Masquer"; }
.repli summary:hover .repli__etat { text-decoration-thickness: 2px; }
@supports selector(::details-content) {
  @media (min-width: 761px) {
    .repli summary { cursor: default; min-height: 0; }
    .repli__etat { display: none; }
    .repli::details-content { content-visibility: visible; display: block; }
  }
}
/* Rendez-vous : photos carrées */
.rdv--photos .cadre { aspect-ratio: 1 / 1; }
.rdv--photos .legende { top: .75rem; bottom: auto; left: .75rem; }  /* en haut : le sujet est en bas du carré */
.prochains { margin-top: 3rem; }
.terrain--groupe .cadre { aspect-ratio: 4 / 3; }
.terrain--groupe .cadre img { object-position: 50% 40%; }

/* ===== Passe 3 (24/11/2026) ===== */
/* Inscription : en-tête sur la ligne de jeunes, bandeau large */
.page-tete__photo--salle .cadre { aspect-ratio: 21 / 9; }
.page-tete__photo--salle .cadre img { object-position: 50% 48%; }
/* Carte « Encadrement » : pleine, sans vide étiré */
.deux-col--egal { align-items: start; }
.deux-col--egal .carte .actions { margin-top: 1.5rem; padding-top: 1.25rem; }
.encadrants { display: grid; gap: 0; }
.encadrants div { padding: .875rem 0; border-top: 1px solid var(--filet); }
.encadrants dt { font-size: 1rem; font-weight: 500; color: var(--gris); line-height: 1.35; }
.encadrants dd { margin-top: .25rem; font-size: 1.25rem; font-weight: 500; line-height: 1.35; }
.carte--encadrement .points { margin-top: 0; }
.carte--encadrement .points li { color: var(--encre-2, var(--encre)); }
.carte .actions { margin-top: 1.25rem; padding-top: 1rem; }
/* « Ce que le club prête » : arcs d'initiation, cadre carré */
.tuile--pret .cadre { aspect-ratio: 1 / 1; }
.tuile--pret .cadre img { object-position: 50% 24%; }
/* Accueil : une seule photo haute dans « La saison » (desktop) */
@media (min-width: 961px) {
  .saison__bloc:has(.saison__photos--haute) { align-items: stretch; }
  .saison__photos--haute, .saison__photos--haute figure { display: flex; flex-direction: column; }
  .saison__photos--haute figure { flex: 1; }
  .saison__photos--haute .cadre { flex: 1; min-height: 28rem; }
  .saison__photos--haute img { position: absolute; inset: 0; object-position: 50% 30%; }
  .saison__photos--une .cadre { aspect-ratio: 4 / 5; }
}
/* Club : chiffres alignés, contact en deux cartes */
.chiffres-parcours--ligne div, .chiffres-parcours--ligne div:last-child { align-items: start; align-content: start; }
.chiffres-parcours--ligne dd { margin-top: 0; }
.contact-grille { grid-template-columns: 1fr 1fr; align-items: start; }
.contact-qui { color: var(--gris); font-weight: 400; }
.titre-reglement { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.terrain--texte { align-self: start; }
@media (max-width: 960px) {
  .contact-grille { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Légendes : petites étiquettes sur une ligne */
  .legende { font-size: .8125rem; padding: .3rem .6rem; white-space: nowrap; max-width: calc(100% - 1.5rem); overflow: hidden; text-overflow: ellipsis; }
  .heros__photo .legende { max-width: calc(100% - 1.5rem); }
  .page-tete__photo--salle .cadre { aspect-ratio: 4 / 3; }
  .page-tete__photo--salle .cadre img { object-position: 50% 40%; }
  .page-tete__photo:not(.page-tete__photo--salle) .cadre { aspect-ratio: 1 / 1; }
  .page-tete__photo:not(.page-tete__photo--salle) .cadre img { object-position: 50% 50%; }
  .tuile--pret .cadre { aspect-ratio: 4 / 3; }
  .tuile--pret .cadre img { object-position: 50% 30%; }
  .rdv summary h3 { font-size: 1.25rem; }
  .encadrants dd { font-size: 1.125rem; }
}

@media (max-width: 960px) {
  .etapes-bloc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .saison { padding-inline: var(--marge); }
  .saison__bloc, .bloc-noir { padding: 2.25rem 1.5rem; }
  .tarifs { grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 2rem; }
  .tarif { padding: 1rem .75rem; gap: .25rem; }
  .tarif strong { font-size: 1.75rem; white-space: nowrap; }
  .tarif h3 { font-size: 1.0625rem; line-height: 1.3; }
  .points--grille { grid-template-columns: 1fr; }
  .etapes--noir { grid-template-columns: 1fr; }
  .etapes--noir li { padding: 1.25rem 0 1.5rem; }
  .etapes--noir li::before { font-size: 2.5rem; margin-bottom: .625rem; }
  .rdv--deux { gap: 0; }
  .rdv--deux article { padding-top: .5rem; }
  .rdv--deux article:first-child { padding-bottom: 1.5rem; }
  .rdv--deux article:last-child { border-bottom: 1px solid var(--encre); }
  .repli .points { margin-top: .25rem; padding-bottom: 1rem; }
  .terrain--groupe .cadre { aspect-ratio: 4 / 5; }
  .terrain--groupe .cadre img { object-position: 50% 50%; }
}
