/* Eybens Escalade — « Ciel de mai » (direction 3). Tokens : voir DESIGN.md */
:root {
  --bleu: #0079C0;
  --bleu-fonce: #00629C;
  --brume: #F1F4F6;
  --blanc: #FFFFFF;
  --encre: #0F1A22;
  --gris: #53606A;
  --filet: #D7DEE3;
  --nuit: #0C1720;
  --nuit-texte: #C3CED6;
  --nuit-discret: #93A3AF;

  --f: "Mona Sans", system-ui, sans-serif;
  --t-h1: clamp(3rem, 1.4rem + 4.6vw, 5.375rem);
  --t-h1-page: clamp(2.5rem, 1.5rem + 3.4vw, 4.5rem);
  --t-h2: clamp(2.125rem, 1.3rem + 2.8vw, 3.75rem);
  --t-cit: clamp(2.25rem, 1rem + 4vw, 4.75rem);
  --t-h3: 1.375rem;
  --t-txt: 1.1875rem;
  --t-petit: 1.0625rem;
  --t-leg: .9375rem;

  --r-photo: 28px;
  --r-carte: 20px;
  --r-pastille: 22px;
  --ombre: 0 1px 2px rgb(0 20 40 / .08), 0 16px 40px rgb(0 20 40 / .18);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --large: 1280px;
  --marge: clamp(24px, 5vw, 72px);
  --section: clamp(88px, 10vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--brume); color: var(--encre); font: 400 var(--t-txt)/1.5 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bleu-fonce); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 450; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
strong { font-weight: 600; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evite { position: absolute; left: 12px; top: -80px; z-index: 20; background: #fff; color: var(--encre); padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.evite:focus { top: 12px; }

/* Bandeau de maquette */
.demo { padding: 10px var(--marge); background: var(--nuit); color: var(--nuit-texte); font-size: var(--t-leg); line-height: 1.4; text-align: center; }
.demo a { color: #fff; }

/* Conteneur commun */
.in { max-width: var(--large); margin-inline: auto; padding-inline: var(--marge); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border-radius: 999px; font: 600 1rem/1.1 var(--f); text-decoration: none; border: 0; text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--bleu { background: var(--bleu); color: #fff; }
.btn--bleu:hover { background: var(--bleu-fonce); }
.btn--blanc { background: #fff; color: var(--encre); }
.btn--blanc:hover { background: #DDEEF8; }
.btn--contour { background: transparent; color: var(--bleu-fonce); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--contour:hover { background: #fff; }
.sur-bleu :focus-visible, .heros :focus-visible, .pied :focus-visible { outline-color: #fff; }

/* En-tête : identique sur toutes les pages */
.entete { position: relative; z-index: 10; max-width: var(--large); margin: 0 auto; padding: 20px var(--marge); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.entete--photo { position: absolute; top: 0; left: 0; right: 0; }
.marque { display: grid; place-items: center; width: 84px; height: 84px; flex: none; background: #fff; border-radius: var(--r-pastille); box-shadow: 0 1px 2px rgb(0 20 40 / .08); transition: transform .2s var(--ease); }
.marque:hover { transform: scale(1.03); }
.marque img { width: 72px; height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 1rem; background: rgb(8 24 40 / .62); border-radius: 999px; padding: 6px 6px 6px 16px; }
.entete:not(.entete--photo) .nav { background: var(--nuit); }
.nav a:not(.btn) { color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 999px; transition: background-color .2s var(--ease); }
.nav a:not(.btn):hover { background: rgb(255 255 255 / .14); }
.nav a[aria-current="page"] { background: rgb(255 255 255 / .18); }
.nav .btn { min-height: 44px; padding: 0 20px; margin-left: 8px; }
.menu-btn { display: none; }

/* ============ ACCUEIL : héros plein écran ============ */
.heros { position: relative; height: calc(100svh - 44px); min-height: 680px; max-height: 960px; color: #fff; overflow: hidden; background: #0A3F86; }
.heros__fond img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; }
.heros__texte { position: relative; z-index: 2; max-width: var(--large); margin: 0 auto; padding: 132px var(--marge) 0; }
.heros h1 {
  font-size: var(--t-h1); font-stretch: 125%; line-height: .98; letter-spacing: -.02em; max-width: 7.5em;
  text-shadow: 0 1px 24px rgb(0 40 80 / .35); animation: entree .9s var(--ease) both;
}
.carte-heros {
  position: absolute; z-index: 2; bottom: 72px; left: max(var(--marge), calc((100% - var(--large)) / 2 + var(--marge)));
  max-width: 30rem; padding: 28px 28px 24px; background: #fff; color: var(--encre); border-radius: var(--r-carte);
  box-shadow: var(--ombre); animation: entree .9s .12s var(--ease) both;
}
.carte-heros__sous { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.carte-heros__chapo { font-size: var(--t-petit); line-height: 1.45; color: var(--gris); margin-bottom: 20px; }
.carte-heros__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.carte-heros__actions a:not(.btn) { font-size: 1rem; font-weight: 500; padding: 12px 0; }
.legende-heros {
  position: absolute; z-index: 2; right: max(16px, calc((100% - var(--large)) / 2 + 16px)); bottom: 20px; margin: 0;
  padding: 6px 14px; border-radius: 999px; background: rgb(8 24 40 / .78); color: #fff;
  font-size: var(--t-leg); line-height: 1.3;
}
@keyframes entree { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============ Pages intérieures : tête de page ============ */
.tete { padding-top: clamp(32px, 5vw, 72px); }
.tete__grille { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 64px; align-items: end; }
.tete h1 { font-size: var(--t-h1-page); font-stretch: 125%; line-height: 1; letter-spacing: -.02em; max-width: 11em; }
.tete h1.h1-coupe { max-width: none; }
.tete__chapo { margin-top: 24px; max-width: 34em; color: var(--gris); }
.tete__photo img { width: 100%; border-radius: var(--r-photo); object-fit: cover; }
.faits { margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--filet); padding-top: 24px; }
.faits div { min-width: 0; }
.faits dt { font-size: var(--t-leg); color: var(--gris); margin-bottom: 4px; }
.faits dd { margin: 0; font-size: var(--t-petit); font-weight: 500; line-height: 1.4; }
.grande-photo { margin-top: clamp(40px, 5vw, 64px); }
.grande-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 8%; border-radius: var(--r-photo); }

/* ============ Section bleue : la semaine au mur ============ */
.semaine { background: var(--bleu); color: #fff; padding: clamp(80px, 8vw, 120px) 0; }
.semaine a:not(.btn) { color: #fff; }
.semaine__grille { display: grid; grid-template-columns: 7fr 5fr; gap: 56px 80px; align-items: start; }
.semaine h2 { font-size: var(--t-h2); font-stretch: 120%; line-height: 1.04; letter-spacing: -.025em; }
.semaine__etat { margin-top: 16px; font-size: var(--t-petit); max-width: 34em; }
.horaires { width: 100%; border-collapse: collapse; margin-top: 32px; font-variant-numeric: lining-nums; }
.horaires thead th { font-size: var(--t-leg); font-weight: 500; text-align: left; padding: 0 16px 10px 0; vertical-align: bottom; }
.horaires tbody tr { border-top: 1px solid rgb(255 255 255 / .45); }
.horaires tbody tr:last-child { border-bottom: 1px solid rgb(255 255 255 / .45); }
.horaires th, .horaires td { padding: 14px 16px 14px 0; text-align: left; vertical-align: baseline; }
.horaires td:last-child { padding-right: 0; }
.horaires .j { font-size: 1.5rem; font-stretch: 125%; font-weight: 450; letter-spacing: -.01em; white-space: nowrap; }
.horaires .h { white-space: nowrap; font-weight: 500; }
.horaires .p { white-space: nowrap; }
.horaires .p--libre { white-space: normal; }
.horaires .n { white-space: nowrap; }
.horaires .cap { white-space: nowrap; }
.horaires .note, .horaires .cap { display: block; font-size: var(--t-leg); font-weight: 400; margin-top: 2px; }
.etat { display: inline-block; font-size: var(--t-leg); line-height: 1.3; white-space: nowrap; }
.horaires .etat { font-size: 1rem; font-weight: 500; }
.etat--places { background: #fff; color: var(--bleu-fonce); font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.etat--presque { padding: 3px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .8); }
.etat--complet { padding: 4px 12px; border-radius: 999px; background: rgb(0 30 60 / .28); font-weight: 500; }
.horaires td:empty { padding: 0; }
.semaine__droite { padding-top: 8px; }
.prix { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
.prix > div { padding-bottom: 24px; }
.prix__l { font-size: var(--t-leg); white-space: nowrap; }
.prix__v { font-size: clamp(2.125rem, 1.6rem + 1vw, 2.625rem); font-stretch: 125%; line-height: 1.1; margin-top: 6px; letter-spacing: -.02em; }
.prix__s { font-size: var(--t-leg); margin-top: 2px; font-weight: 500; }
.prix__x { font-size: var(--t-leg); margin-top: 6px; padding-top: 6px; border-top: 1px solid rgb(255 255 255 / .45); }
.prix__ins { padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .45); }
.prix__ins p { margin-bottom: 20px; font-size: var(--t-petit); }
.prix__ins .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.prix__ins .actions a:not(.btn) { font-size: 1rem; padding: 12px 0; }
.semaine__photo { margin-top: 40px; }
.semaine__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-carte); }
.semaine__photo figcaption { color: #fff; }
.semaine__notes { margin: 24px 0 0; padding: 0; list-style: none; font-size: var(--t-petit); display: grid; gap: 6px; max-width: 46em; }
.semaine__notes li { padding-left: 1.1em; text-indent: -1.1em; }
.section-espace { margin-top: clamp(64px, 7vw, 112px); }
.semaine__pied { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 32px; margin-top: 40px; }
.semaine__pied > a:not(.btn) { padding-top: 12px; }
.horaires--complet { max-width: 880px; }

/* Bouton d'essai et ses groupes (essai publié au 6 septembre 2026) */
.essai { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.essai__pour { font-size: var(--t-petit); line-height: 1.4; }
.essai__pour--carte { order: 3; flex-basis: 100%; margin-top: 4px; color: var(--gris); }
.essai--pied { flex: none; align-items: center; }
.pied .essai__pour { color: var(--nuit-texte); }

/* ============ Sections claires ============ */
.section { padding-top: var(--section); }
.etiquette { font-size: 1rem; font-weight: 600; color: var(--bleu-fonce); margin-bottom: 16px; }
.h2 { font-size: var(--t-h2); font-stretch: 120%; line-height: 1.04; letter-spacing: -.025em; }
.cols { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; align-items: start; }
.cols .h2 { font-size: clamp(2.125rem, 1.4rem + 1.8vw, 3.25rem); }
@media (min-width: 1101px) { .cols > :first-child { position: sticky; top: 32px; align-self: start; } }
.cols__photo { margin-top: 32px; }
@media (max-width: 1100px) { .cols--photo-apres > :first-child { display: contents; } .cols--photo-apres .cols__photo { order: 2; margin-top: 0; } }
.cols__photo .photo-cadre img { aspect-ratio: 3 / 4; }
.cols__photo .r43 img { aspect-ratio: 4 / 3; object-position: 50% 45%; }

/* Section sur bleu Eybens (même règles que « La semaine au mur ») */
.bleu { background: var(--bleu); color: #fff; padding: clamp(80px, 8vw, 120px) 0; margin-top: var(--section); }
.bleu a:not(.btn) { color: #fff; }
.bleu .etiquette { color: #fff; }
.bleu .texte-gris, .bleu figcaption, .bleu figcaption strong { color: #fff; }
.bleu .h2 { color: #fff; }
.bleu .tarifs th, .bleu .tarifs td { border-color: rgb(255 255 255 / .45); }
.bleu .tarifs thead th, .bleu .tarifs tbody th span { color: #fff; }
.bleu .tarifs .eur, .bleu .tarifs td:first-of-type .eur { color: #fff; }
.bleu .tarifs td:first-of-type .eur { font-weight: 500; }
.bleu .infos li { border-color: rgb(255 255 255 / .45); }
.bleu .infos p { color: #fff; }
.tarifs + .bloc { margin-top: 64px; }
.cols__texte > * + * { margin-top: 16px; }
.texte-gris { color: var(--gris); }
figcaption { margin-top: 12px; font-size: var(--t-leg); line-height: 1.4; color: var(--gris); }
figcaption strong { color: var(--encre); font-weight: 600; }

/* Falaise */
.citation { font-size: var(--t-cit); font-stretch: 125%; font-weight: 400; line-height: 1.02; letter-spacing: -.025em; color: var(--bleu); max-width: 13em; }
.citation__source { margin-top: 20px; font-size: var(--t-petit); color: var(--gris); }
.falaise__bas { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: 24px; margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.falaise__texte { padding-right: 16px; }
.falaise__texte p + p { margin-top: 16px; }
.falaise__texte .lien-fort { display: inline-block; margin-top: 20px; font-weight: 500; padding: 10px 0; }
.photo-cadre { overflow: hidden; border-radius: var(--r-photo); }
.photo-cadre img { width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.r45 img { aspect-ratio: 4 / 5; }
.r43 img { aspect-ratio: 4 / 3; }
@media (hover: hover) { figure:hover > .photo-cadre img { transform: scale(1.02); } }

/* Venir grimper en 3 temps */
.panneau { background: #fff; border-radius: var(--r-photo); padding: clamp(32px, 5vw, 72px); }
.panneau__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 48px; margin-bottom: 48px; }
.panneau__tete p { max-width: 30em; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: e; }
.etapes li { counter-increment: e; border-top: 1px solid var(--filet); padding-top: 20px; }
.etapes li::before { content: counter(e); display: block; font-size: 3rem; font-stretch: 125%; font-weight: 400; line-height: 1; color: var(--bleu); margin-bottom: 16px; }
.etapes h3 { font-size: var(--t-h3); font-weight: 600; font-stretch: 110%; line-height: 1.2; margin-bottom: 8px; }
.etapes p { font-size: var(--t-petit); line-height: 1.5; color: var(--gris); }
.etapes p + p { margin-top: 10px; }
.etapes--sans-num li::before { content: none; }
.etapes.etapes--sans-num li { display: block; }
.etapes--sans-num p { font-size: var(--t-txt); color: var(--encre); }
.etapes--larges { grid-template-columns: 1fr; gap: 0; }
.etapes--larges li { display: grid; grid-template-columns: 4rem 1fr; column-gap: 24px; padding: 24px 0; }
.etapes--larges li::before { grid-row: span 3; margin: 0; font-size: 2.5rem; }

/* Mosaïque de la vie du club */
.mosaique { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; margin-top: 48px; }
.mosaique figure { display: flex; flex-direction: column; }
.mosaique .photo-cadre img { height: 100%; }
.m1 { grid-column: 1 / 8; } .m1 .photo-cadre { height: 460px; }
.m2 { grid-column: 8 / 13; } .m2 .photo-cadre { height: 460px; }
.m3 { grid-column: 1 / 4; } .m3 .photo-cadre { height: 380px; }
.m4 { grid-column: 4 / 7; } .m4 .photo-cadre { height: 380px; }
.m5 { grid-column: 7 / 13; } .m5 .photo-cadre { height: 380px; }
.m2 img { object-position: 50% 60%; }
.m3 img, .m4 img { object-position: 50% 35%; }
.m5 img { object-position: 50% 30%; }

.nouvelles { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nouvelles li { border-top: 1px solid var(--filet); padding-top: 20px; }
.nouvelles time { display: block; font-size: var(--t-leg); font-weight: 600; color: var(--bleu-fonce); margin-bottom: 8px; }
.nouvelles h3 { font-size: 1.25rem; font-weight: 600; font-stretch: 110%; line-height: 1.25; margin-bottom: 8px; }
.nouvelles p { font-size: var(--t-petit); color: var(--gris); }
.suite { margin-top: 40px; }

/* Listes d'informations (inscription, club) */
.infos { list-style: none; margin: 0; padding: 0; }
.infos li { border-top: 1px solid var(--filet); padding: 18px 0; }
.infos li:last-child { border-bottom: 1px solid var(--filet); }
.infos h3 { font-size: 1.1875rem; font-weight: 600; font-stretch: 105%; margin-bottom: 4px; }
.infos p { color: var(--gris); }
.infos p + p { margin-top: 8px; }
.bloc + .bloc { margin-top: 56px; }
.bloc h3.titre-bloc { font-size: var(--t-h3); font-weight: 600; font-stretch: 110%; margin-bottom: 16px; }

/* Tarifs (page inscription) */
.tarifs { width: 100%; border-collapse: collapse; }
.tarifs th, .tarifs td { text-align: left; padding: 18px 16px 18px 0; border-top: 1px solid var(--filet); vertical-align: baseline; }
.tarifs tr:last-child th, .tarifs tr:last-child td { border-bottom: 1px solid var(--filet); }
.tarifs thead th { border-top: 0; font-size: var(--t-leg); font-weight: 500; color: var(--gris); padding-bottom: 12px; }
.tarifs tbody th { font-weight: 600; font-size: 1.1875rem; }
.tarifs tbody th span { display: block; font-weight: 400; font-size: var(--t-leg); color: var(--gris); }
.tarifs .eur { font-size: clamp(1.875rem, 1.3rem + 1.4vw, 2.75rem); font-stretch: 125%; font-weight: 400; letter-spacing: -.02em; color: var(--encre); white-space: nowrap; }

/* Chronologie des nouvelles (club) */
.chrono { list-style: none; margin: 0; padding: 0; }
.chrono li { display: grid; grid-template-columns: 11rem 1fr; gap: 4px 32px; border-top: 1px solid var(--filet); padding: 24px 0; }
.chrono li:last-child { border-bottom: 1px solid var(--filet); }
.chrono time { font-weight: 600; color: var(--bleu-fonce); font-size: var(--t-petit); }
.chrono h3 { font-size: 1.25rem; font-weight: 600; font-stretch: 110%; margin-bottom: 6px; }
.chrono p { color: var(--gris); }
.chrono p + p { margin-top: 8px; font-size: 1rem; }

.duo { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; margin-top: 48px; align-items: start; }
.duo .photo-cadre img { aspect-ratio: auto; height: clamp(300px, 30vw, 420px); }
.duo .photo-cadre img.cadre-bas { object-position: 50% 78%; }
.duo .photo-cadre img.cadre-haut { object-position: 50% 45%; }
.duo .photo-cadre img.cadre-sommet { object-position: 50% 12%; }
#encadrement .cols__photo .r43 img { object-position: 50% 8%; }
.bleu .duo { margin-top: 56px; }
.duo--egal { grid-template-columns: 1fr 1fr; }
.statuts { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-stretch: 112%; line-height: 1.25; letter-spacing: -.01em; max-width: 30em; }
.statuts__source { margin-top: 16px; font-size: var(--t-petit); color: var(--gris); }

/* ============ Pied de page (Nuit) ============ */
.pied { margin-top: var(--section); background: var(--nuit); color: var(--nuit-texte); padding: 96px 0 40px; }
.pied a { color: #fff; }
.pied__appel { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid #22323F; }
.pied .pied__grand { color: #fff; font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.625rem); font-stretch: 115%; line-height: 1.12; letter-spacing: -.015em; max-width: 20em; }
.pied__appel .btn { flex: none; }
.pied .pied__date { margin-top: 12px; color: var(--nuit-discret); }
.pied__cols { margin-top: 48px; display: grid; grid-template-columns: .8fr 1.3fr 1.3fr 1.5fr .9fr; gap: 40px; align-items: start; }
.pied h2 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 10px; font-stretch: 100%; }
.pied p, .pied li { font-size: var(--t-petit); line-height: 1.5; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied ul a { display: inline-block; padding: 6px 0; text-decoration: none; }
.pied ul a:hover { text-decoration: underline; }
.pastille { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: var(--r-pastille); background: #fff; }
.pastille img { width: 80px; height: 80px; }
.pied .pied__mention { margin-top: 48px; font-size: var(--t-petit); color: var(--nuit-discret); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .semaine__grille, .tete__grille { grid-template-columns: 1fr; }
  .semaine__droite { max-width: 640px; }
  .cols, .panneau .cols { grid-template-columns: 1fr; }
  .falaise__bas { grid-template-columns: 1fr 1fr; }
  .falaise__texte { grid-column: 1 / -1; max-width: 640px; }
  .etapes { grid-template-columns: 1fr; gap: 0; }
  .etapes li { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 20px; padding: 20px 0; }
  .etapes li::before { grid-row: span 3; margin: 0; font-size: 2.5rem; }
  .pied__cols { grid-template-columns: 1fr 1fr 1fr; }
  .faits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .entete { padding: 16px 20px; }
  .marque { width: 64px; height: 64px; border-radius: 16px; }
  .marque img { width: 56px; height: 56px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: #fff; color: var(--encre); font: 500 1rem var(--f); cursor: pointer; box-shadow: 0 1px 2px rgb(0 20 40 / .1); }
  .entete:not(.entete--photo) .menu-btn { background: var(--nuit); color: #fff; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: 88px; background: #fff !important; border-radius: 16px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; box-shadow: 0 12px 32px rgb(0 0 0 / .18); }
  .nav.ouvert { display: flex; animation: menu .25s var(--ease) both; }
  .nav a:not(.btn) { color: var(--encre); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--filet); font-size: 1.125rem; }
  .nav a[aria-current="page"] { background: none; color: var(--bleu-fonce); font-weight: 600; }
  .nav .btn { margin: 16px 0 0; background: var(--bleu); color: #fff; }
  @keyframes menu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 760px) {
  :root { --r-photo: 16px; --r-carte: 16px; --r-pastille: 16px; }
  body { font-size: 1.125rem; }

  /* Héros mobile : 62svh, titre 48 px sous le logo, voile léger en haut */
  .heros { height: auto; min-height: 0; max-height: none; background: var(--brume); color: var(--encre); overflow: visible; }
  .heros__fond { display: block; position: relative; height: max(62svh, 440px); overflow: hidden; }
  .heros__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,35,80,.30) 0%, transparent 45%); pointer-events: none; }
  .heros__fond img { object-position: 50% 12%; }
  .heros__texte { position: absolute; top: 0; left: 0; right: 0; padding: 128px 20px 0; }
  .heros h1 { color: #fff; font-size: 2.875rem; line-height: 1; }
  .legende-heros { right: 12px; bottom: 12px; font-size: .875rem; padding: 5px 12px; }
  .carte-heros { position: static; max-width: none; margin: 0; padding: 24px 24px 8px; background: transparent; box-shadow: none; border-radius: 0; animation: none; }
  .carte-heros__sous { font-size: 1.3125rem; }
  .carte-heros__chapo { font-size: 1.0625rem; }
  .carte-heros__actions .btn { width: 100%; }

  .semaine { padding: 56px 0; }
  .horaires { margin-top: 24px; }
  .horaires thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .horaires, .horaires tbody { display: block; }
  .semaine__grille { gap: 32px; }
  .horaires tbody tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "j p" "h e"; column-gap: 16px; row-gap: 6px; align-items: center; padding: 12px 0; }
  .horaires .j { grid-area: j; } .horaires .h { grid-area: h; } .horaires .p { grid-area: p; } .horaires .e { grid-area: e; justify-self: end; }
  .horaires th, .horaires td { padding: 0; }
  .horaires .p { white-space: normal; }
  .horaires .j { font-size: 1.1875rem; }
  .horaires .h { font-size: 1rem; }
  .horaires .p { text-align: right; font-size: 1rem; }
  .horaires .p--libre { grid-area: auto / 1 / auto / -1; font-size: var(--t-petit); text-align: left; }
  .prix__age { display: none; }
  .horaires .n:empty { display: none; }
  .tete--photo-bas { display: flex; flex-direction: column; }
  .tete--photo-bas .tete__grille { display: contents; }
  .tete--photo-bas .tete__photo { order: 3; margin-top: 32px; }
  .tete--photo-bas .tete__photo img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
  .statuts { font-size: clamp(1.375rem, 1rem + 2vw, 3.25rem); line-height: 1.3; }
  .horaires--complet .n::before { content: "Places max.\00a0: "; }
  .horaires .n { grid-column: 1 / -1; font-size: var(--t-leg); }
  .horaires .note { font-size: .9375rem; }
  .prix { column-gap: 16px; }
  .prix > div { padding-bottom: 20px; }
  .prix__v { font-size: 1.75rem; }
  .prix__l, .prix__s, .prix__x { font-size: .875rem; }
  .prix__ins { padding-top: 20px; }
  .prix__ins p { margin-bottom: 16px; }
  .prix__ins .actions .btn { width: 100%; }
  .prix__ins .actions a:not(.btn) { padding: 8px 0 0; }
  .semaine__photo { margin-top: 28px; }
  .semaine__photo img { aspect-ratio: 21 / 9; }
  .semaine__pied .btn, .semaine__pied .essai { width: 100%; }
  .essai { align-items: stretch; }
  .essai__pour { text-align: center; }
  .essai__pour--carte { order: 0; margin-top: -4px; text-align: center; }
  .essai--pied .essai__pour { text-align: left; }

  .falaise__bas { grid-template-columns: 1fr; gap: 32px; }
  .falaise__texte { padding: 0; }
  .panneau { border-radius: 20px; padding: 32px 24px; margin-inline: -8px; }
  .etapes li { grid-template-columns: 2.75rem 1fr; column-gap: 12px; }
  .etapes--larges li { grid-template-columns: 2.75rem 1fr; column-gap: 12px; }

  .mosaique { grid-template-columns: 1fr 1fr; gap: 20px 12px; margin-top: 32px; }
  .m1, .m5 { grid-column: 1 / -1; }
  .m2, .m3, .m4 { grid-column: auto; }
  .m1 .photo-cadre { height: auto; aspect-ratio: 3 / 2; }
  .m5 .photo-cadre { height: auto; aspect-ratio: 16 / 9; }
  .m2 .photo-cadre, .m3 .photo-cadre, .m4 .photo-cadre { height: auto; aspect-ratio: 4 / 5; }
  .m4 { grid-column: 1 / -1; }
  .m4 .photo-cadre { aspect-ratio: 3 / 2; }
  figcaption { font-size: .875rem; }
  .nouvelles { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .nouvelles li { padding: 20px 0; }

  .tete__grille { gap: 32px; }
  .faits { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 32px; }
  .grande-photo img { aspect-ratio: 4 / 3; }
  .duo, .duo--egal { grid-template-columns: 1fr; gap: 32px; }
  .duo .photo-cadre img { height: auto; aspect-ratio: 4 / 3; }
  .chrono li { grid-template-columns: 1fr; }
  .tarifs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tarifs, .tarifs tbody { display: block; }
  .tarifs tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 10px; padding: 20px 0; border-top: 1px solid var(--filet); }
  .tarifs tr:last-child { border-bottom: 1px solid var(--filet); }
  .tarifs th, .tarifs td, .tarifs tr:last-child th, .tarifs tr:last-child td { padding: 0; border: 0; }
  .tarifs tbody th { grid-column: 1 / -1; }
  .tarifs td::before { content: attr(data-l); display: block; font-size: var(--t-leg); color: var(--gris); margin-bottom: 2px; }
  .tarifs .eur { font-size: 2rem; }
  #tarifs .cols__photo .photo-cadre img { aspect-ratio: 4 / 3; object-position: 50% 40%; }

  .pied { padding-top: 72px; }
  .pied__appel { flex-direction: column; align-items: stretch; padding-bottom: 48px; }
  .pied__appel .btn { width: 100%; }
  .pied__cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .pied__cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 400px) {
  .pied__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
