/* Refonte du 2026-10-02 (« c'est laid ici ben trop laid, refait la refonte du site au complet ») : trois hauts de page.
   Retour à la famille B OneHockey, celle des trois sites qu'il a approuvés (onehockey.com, Palm Beach, l'ancien Cancún) :
   fond nuit, photos dans des cartes arrondies SERRÉES avec la légende posée dessus, bande jaune, gros chiffres, un mot
   italique jaune par titre, bouton jaune en pilule à halo. Jamais une photo seule dans du vide (la cause du verdict).
   Palette et police : base.css (.palette-nuit, Inter Tight). Un rayon pour les cartes (16), un pour les grandes (26). */
:root { --r: 16px; --r-lg: 26px; --serre: 12px; --ombre: 0 40px 90px -40px rgba(0, 0, 0, .9); --glace: #DCE8EA; }
.v3 { background: var(--fond); overflow-x: clip; }
.v3 main { position: relative; }
.v3 .h1 { font-size: clamp(52px, 9vw, 150px); }
.v3 .h2 { font-size: clamp(40px, 5.6vw, 92px); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; opacity: .9; }
.v3 .lede { color: var(--doux); }
.sur-image { color: #fff; }
.sur-image .lede, .sur-image .attente { color: rgba(255, 255, 255, .88); }
.sur-image .titre em { --em: var(--jaune); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.v3 .nav ul a { color: inherit; min-width: 44px; justify-content: center; }

/* Carte photo : rayon 16, ombre douce et large, légende posée sur la photo (lieu en gras, détail à droite) */
.carte { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--fond-2); box-shadow: var(--ombre); isolation: isolate; }
/* Le zoom au survol passe par la propriété scale : GSAP écrit transform (profondeur) et l'écraserait (piège payé sur Fortuna) */
.carte img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.carte:hover img { scale: 1.05; }
.carte figcaption { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  padding: 56px 20px 18px; color: #fff; font-size: 14px; background: linear-gradient(to top, rgba(6, 8, 7, .82), rgba(6, 8, 7, 0)); }
.carte figcaption b { display: block; font-size: clamp(17px, 1.5vw, 22px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.carte figcaption span { opacity: .8; text-align: right; }

/* Bande jaune qui défile avec la page (comme sur onehockey.com), penchée. Sa zone la rogne en largeur : sans ça, ses marges
   négatives élargissaient la page entière au téléphone (414 px pour 390) et le bouton de la barre sortait de l'écran (10-02) */
.bande-zone { position: relative; z-index: 3; overflow: hidden; overflow-x: clip; overflow-y: visible; padding: 44px 0; margin: -44px 0; pointer-events: none; }
.bande { position: relative; z-index: 3; margin: 0 -6vw; transform: rotate(-2.2deg); background: var(--jaune); color: #0b0d0c; overflow: hidden; box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .9); }
.bande-piste { display: flex; width: max-content; gap: 0; }
.bande-piste span { display: inline-flex; align-items: center; gap: 28px; padding: 16px 14px; font-weight: 800; font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -0.025em; white-space: nowrap; }
.bande-piste span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #0b0d0c; }

/* Gros chiffres : seulement des faits sourcés */
.chiffres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.chiffres li { position: relative; padding-top: 22px; border-top: 1px solid var(--trait); }
.chiffres li::before { content: ''; position: absolute; left: 0; top: -1px; width: 44px; height: 2px; background: var(--jaune); }
.chiffres b { display: block; font-size: clamp(40px, 4.6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.chiffres span { display: block; margin-top: 10px; color: var(--doux); font-size: 15px; max-width: 16em; }

.section { position: relative; padding: clamp(80px, 9vw, 130px) var(--gout) clamp(30px, 3vw, 50px); }
.section-tete { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 90px); align-items: end; }
.section-tete .lede { max-width: 30em; }
.dedans { max-width: var(--max); margin: 0 auto; }

/* La glace, commune aux trois : un grand panneau couleur glace (le fond alterné de la famille B, ici la glace au lieu du
   sable), texte nuit, chiffres, quatre cartes de Sébastien (patinoire, arbitres, coupe, parents : des gens, pas que des lieux) */
.glace3 { margin: clamp(60px, 6vw, 100px) var(--serre) 0; border-radius: var(--r-lg); background: var(--glace); color: var(--texte);
  --texte: #060807; --doux: #44504F; --trait: rgba(6, 8, 7, .16); --em: #060807; padding-bottom: clamp(56px, 6vw, 90px); }
.glace3 .chiffres { margin-top: clamp(48px, 5vw, 80px); }
.glace3 .chiffres li::before { background: #060807; }
.quatuor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--serre); margin-top: clamp(40px, 4vw, 64px); }
.quatuor .carte { aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -34px rgba(6, 8, 7, .55); }
.carte[data-photo="seb-arbitres"] img { object-position: 50% 12%; }
/* La fin : une grande carte photo (la mer), jamais un titre seul sur du noir */
.fin { padding: clamp(60px, 7vw, 110px) var(--gout) clamp(40px, 4vw, 60px); }
.fin-carte { position: relative; min-height: 86vh; min-height: 86svh; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 100px var(--gout); background: #6fb9bd; }
.fin-carte > img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 58%; }
.fin-carte::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 52%, rgba(6, 8, 7, .55), rgba(6, 8, 7, .18) 78%); }
.fin-contenu { position: relative; z-index: 1; max-width: 860px; }
.fin-contenu .h2 { font-size: clamp(48px, 7.4vw, 120px); }
.fin-contenu .lede { margin: 22px auto 0; max-width: 28em; }
.fin-contenu .actions { justify-content: center; }
.fin-legende { position: absolute; z-index: 1; right: 24px; bottom: 20px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .8); }

/* Pied de page : logo, phrase, liens, crédits, © (la page ne finit plus sur « Photo credits ») */
.pied3 { padding: clamp(40px, 4vw, 60px) var(--gout) 110px; }
.pied3-haut { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-top: 28px; border-top: 1px solid var(--trait); }
.pied3-marque { display: inline-flex; min-height: 48px; align-items: center; }
.pied3-marque img { height: 60px; width: auto; }
.pied3-phrase { margin: 0; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.pied3-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.pied3 .credits { max-width: var(--max); margin: 28px auto 0; border-top: 1px solid var(--trait); padding-top: 8px; }
.pied3 .credits summary { justify-content: flex-start; }
.pied3-bas { max-width: var(--max); margin: 16px auto 0; font-size: 13px; color: var(--doux); }

/* Barre du bas des pages de choix */
.v3 .bandeau-apercu { background: rgba(245, 243, 239, .94); color: #0b0d0c; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.v3 .bandeau-apercu a { color: #0b0d0c; }

/* ============ 1. LA CARTE QUI S'OUVRE (la carte arrondie de l'ancien Cancún et de Palm Beach, puis le plein cadre) ============ */
.d1-heros { position: relative; }
.d1-scene { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
/* Marges de la carte = marge du contenu (--gout) ; v3.js calcule la même valeur pour l'ouverture */
.d1-carte { position: absolute; inset: 0; clip-path: inset(96px var(--gout) 40px var(--gout) round 26px); background: #6fb9bd; }
.d1-carte img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.d1-carte::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 56%, rgba(6, 8, 7, .5), rgba(6, 8, 7, .12) 80%); }
/* Centré par la boîte (même place que la carte), pas par transform : GSAP déplace le texte au défilement */
.d1-texte { position: absolute; z-index: 2; inset: 96px var(--gout) 40px var(--gout); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px clamp(20px, 5vw, 90px) 0; text-align: center; }
.d1-texte .lede { margin: 24px auto 0; max-width: 32em; }
.d1-texte .actions { justify-content: center; }
.d1-legende { position: absolute; z-index: 2; right: calc(var(--gout) + 24px); bottom: 58px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .8); }
.d1 .bande { margin-top: -6px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15.5vw, 236px); gap: var(--serre); margin: clamp(48px, 5vw, 76px) auto 0; max-width: var(--max); }
.bento .carte { height: 100%; }
.b1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.b2 { grid-column: 8 / 13; grid-row: 1 / 2; }
.b3 { grid-column: 8 / 11; grid-row: 2 / 4; }
.b4 { grid-column: 11 / 13; grid-row: 2 / 4; }
.b5 { grid-column: 1 / 5; grid-row: 3 / 4; }
.b6 { grid-column: 5 / 8; grid-row: 3 / 4; }

/* ============ 2. PLEIN CADRE, PUIS LE MUR DE PHOTOS (quatre colonnes qui glissent en sens contraires) ============ */
.d2-heros { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.d2-fond { position: absolute; inset: 0; background: #6fb9bd; transform-origin: 50% 62%; }
.d2-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.d2-fond::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 8, 7, .78), rgba(6, 8, 7, .3) 40%, rgba(6, 8, 7, 0) 66%), linear-gradient(to bottom, rgba(6, 8, 7, .35), rgba(6, 8, 7, 0) 20%); }
.d2-contenu { position: absolute; left: var(--gout); right: var(--gout); bottom: clamp(36px, 7vh, 80px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.d2-contenu .lede { margin-top: 22px; max-width: 30em; }
.d2-puces { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.d2-puces li { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; border-radius: var(--r); background: rgba(6, 8, 7, .46); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: rgba(255, 255, 255, .86); font-size: 14px; }
.d2-puces b { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; min-width: 4.4em; }
.mur { position: relative; }
.js:not(.mouvement-reduit) .mur { height: 260vh; }
.mur-vue { position: relative; overflow: hidden; height: 100vh; height: 100svh; }
.js:not(.mouvement-reduit) .mur-vue { position: sticky; top: 0; }
.mur-cols { position: absolute; inset: -8vh var(--serre); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--serre); }
.mur-col { display: grid; gap: var(--serre); align-content: start; will-change: transform; }
.mur-col .carte { aspect-ratio: 4 / 5; box-shadow: none; }
.mur-col .carte.large { aspect-ratio: 4 / 3; }
/* Plaque étroite : le mur reste le sujet (relecture : 760 px la cachaient) */
.mur-plaque { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(600px, calc(100% - 2 * var(--gout))); padding: clamp(24px, 2.8vw, 40px);
  border-radius: var(--r-lg); background: rgba(6, 8, 7, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--ombre); text-align: center; }
.mur-plaque .lede { margin: 20px auto 0; }
.lieux { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lieux li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--trait); font-size: 14px; font-weight: 600; }
.d2 .bande { margin-top: 0; }

/* ============ 3. CHAPITRES EMPILÉS (titre et photos qui se chevauchent, puis chaque lieu plein écran glisse sur le précédent) ============ */
.d3-heros { position: relative; min-height: 100vh; min-height: 100svh; padding: 120px var(--gout) 70px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 90px); align-items: center; max-width: 1600px; margin: 0 auto; }
.d3-texte .lede { margin-top: 26px; max-width: 30em; }
.d3-photos { position: relative; height: min(78svh, 760px); }
.d3-grande { position: absolute; inset: 0 0 0 12%; border-radius: var(--r-lg); }
.d3-petite { position: absolute; left: 0; bottom: 8%; width: 42%; aspect-ratio: 3 / 4; border-radius: var(--r); border: 6px solid var(--fond); z-index: 2; }
.chaps { position: relative; padding: 0 var(--serre); }
/* Chaque chapitre tient 45 % d'écran entier avant que le suivant n'arrive : sans ce temps, la carte suivante couvrait le nom
   du lieu (posé en bas) avant qu'on ait pu le lire (vu en capture le 10-02) */
.chap { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--serre) 0; }
.chap:not(:last-child) { margin-bottom: 45vh; }
.chap-carte { position: relative; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--fond-2); box-shadow: 0 -30px 80px -30px rgba(0, 0, 0, .9); transform-origin: 50% 0; }
.chap-carte > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.chap-ombre { position: absolute; inset: 0; z-index: 4; background: #060807; opacity: 0; pointer-events: none; }
.chap-carte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 8, 7, .74), rgba(6, 8, 7, 0) 55%); }
.chap-texte { position: absolute; z-index: 2; left: clamp(24px, 4vw, 64px); right: clamp(24px, 4vw, 64px); bottom: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 40px; color: #fff; }
.chap-nom { margin: 0; font-size: clamp(56px, 10vw, 168px); font-weight: 800; letter-spacing: -0.045em; line-height: .9; }
.chap-ligne { margin: 0; max-width: 22em; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .88); text-align: right; }
/* la barre du haut (84 px) couvrait le haut de ce chapitre : les têtes des arbitres passaient dessous (relecture, 10-02) */
.chap-glace { padding-top: 92px; }
.chap-glace .chap-carte { background: var(--glace); --texte: #060807; --doux: #44504F; --em: #060807; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--serre); padding: var(--serre); }
.chap-glace .h2 { font-size: clamp(40px, 4.6vw, 76px); }
.chap-glace .chap-carte::after { display: none; }
.chap-glace .carte { box-shadow: none; }
.chap-glace-texte { align-self: end; padding: clamp(16px, 2.6vw, 40px); color: var(--texte); }
.chap-glace-texte .lede { margin-top: 18px; }

/* ============ Téléphone ============ */
@media (max-width: 860px) {
  .v3 .h1 { font-size: clamp(46px, 13vw, 72px); }
  .section-tete { grid-template-columns: minmax(0, 1fr); }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .chiffres.mots { grid-template-columns: minmax(0, 1fr); } /* le complexe : des mots (« Unlimited », « Beachfront ») débordaient d'une demi-colonne */
  .quatuor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied3-haut { grid-template-columns: minmax(0, 1fr); }
  .pied3-marque img { height: 50px; }
  .carte figcaption { padding: 44px 14px 12px; font-size: 13px; }
  .d1-carte { clip-path: inset(84px var(--gout) var(--gout) var(--gout) round 22px); }
  .d1-texte { inset: 84px var(--gout) var(--gout) var(--gout); padding: 30px 18px 0; }
  .d1-legende { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 168px; grid-auto-flow: dense; }
  .b1 { grid-column: 1 / -1; grid-row: span 2; } .b2 { grid-column: auto; grid-row: span 1; } .b3 { grid-column: auto; grid-row: span 2; }
  .b4 { grid-column: auto; grid-row: span 2; } .b5 { grid-column: auto; grid-row: span 1; } .b6 { grid-column: 1 / -1; grid-row: span 1; }
  .d2-contenu { grid-template-columns: minmax(0, 1fr); bottom: 28px; }
  .d2-puces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .d2-puces li { flex-direction: column; gap: 2px; padding: 10px 12px; font-size: 12px; }
  .d2-puces b { font-size: 17px; min-width: 0; }
  .mur-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mur-col:nth-child(n + 3) { display: none; }
  .mur-plaque { top: auto; bottom: 24px; transform: translateX(-50%); padding: 20px 18px; }
  .mur-plaque .lede { display: none; }
  .mur-plaque .h2 { font-size: 34px; }
  .lieux { margin-top: 14px; gap: 6px; }
  .lieux li { padding: 6px 10px; font-size: 12.5px; }
  .d3-heros { grid-template-columns: minmax(0, 1fr); padding-top: 104px; gap: 36px; }
  .d3-photos { height: 62svh; }
  .chap-texte { grid-template-columns: minmax(0, 1fr); }
  .chap-ligne { text-align: left; }
  .chap-glace .chap-carte { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; }
  .chap-glace .carte:nth-child(2) { display: none; }
  .chap-glace .carte:first-child { grid-column: 1 / -1; }
  .chap-glace-texte { grid-column: 1 / -1; padding: 8px 6px 10px; }
  .chap-glace-texte .lede { margin-top: 10px; font-size: 15.5px; }
  .chap-glace-texte .h2 { font-size: 38px; }
  .fin-carte { min-height: 78svh; padding: 80px 20px; }
  .fin-legende { display: none; }
}

/* Entrées : cachées seulement si le script peut les jouer */
.js:not(.mouvement-reduit) [data-entree] { opacity: 0; }

/* ===================== SITE COMPLET (2026-10-02 : « pas seulement un site vitrine, mais un site complet ») =====================
   Huit pages (accueil, destination, patinoire, tournois, séjour, 2025, comment ça marche + FAQ, inscription), générées par
   scripts/site.py. Les pièces ci-dessous s'ajoutent à celles des directions ; même famille, mêmes rayons, mêmes couleurs. */

/* Barre : six liens au bureau ; sous 1180 px, un bouton menu ouvre la liste plein écran (v3.js). Sans script, le menu
   reste fermé et le pied de page porte tous les liens. */
.v3 .nav ul { gap: 26px; }
.v3 .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .35s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav-droite { display: flex; align-items: center; gap: 12px; }
.menu { position: fixed; inset: 0; z-index: 49; background: #060807; color: #F5F3EF; padding: 110px var(--gout) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
.menu.ouvert { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s var(--ease), visibility 0s; }
.menu a:not(.btn) { display: flex; align-items: center; min-height: 56px; font-size: clamp(30px, 8vw, 46px); font-weight: 800; letter-spacing: -0.035em; text-decoration: none; border-bottom: 1px solid rgba(245, 243, 239, .12); }
.menu a[aria-current="page"] { color: var(--jaune); }
.menu .btn { margin-top: 24px; align-self: flex-start; }
.menu-ouvert body { overflow: hidden; }
.menu-ouvert .nav { background: transparent !important; box-shadow: none !important; color: #F5F3EF !important; }
.menu-ouvert .menu-btn span { background: transparent; }
.menu-ouvert .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-ouvert .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) { .v3 .nav ul { display: none; } .js .menu-btn { display: inline-flex; } }
/* « Select your dates & levels » (Sébastien, 10-07) est plus long que « Apply your team » : sur une ligne jusqu'à 360 px */
.nav-droite .btn { white-space: nowrap; }
@media (max-width: 520px) { .nav-droite .btn { padding: 0 14px; font-size: 13px; } }
@media (max-width: 374px) { .nav-droite .btn { padding: 0 12px; font-size: 12px; } }

/* Héros des pages intérieures : une photo pleine largeur (82 % d'écran), titre en bas à gauche, petit zoom au défilement */
.ph { position: relative; height: 82vh; height: 82svh; min-height: 560px; overflow: hidden; }
.ph-fond { position: absolute; inset: 0; background: #6fb9bd; transform-origin: 50% 60%; }
.ph-fond img { width: 100%; height: 100%; object-fit: cover; }
.ph-fond::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 8, 7, .8), rgba(6, 8, 7, .25) 45%, rgba(6, 8, 7, 0) 70%), linear-gradient(to bottom, rgba(6, 8, 7, .4), rgba(6, 8, 7, 0) 22%); }
.ph-contenu { position: absolute; left: var(--gout); right: var(--gout); bottom: clamp(36px, 7vh, 80px); max-width: 980px; }
.ph-contenu .lede { margin-top: 20px; max-width: 34em; }
.ph-legende { position: absolute; right: var(--gout); bottom: 22px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .8); }
.texte-long { max-width: 40em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--doux); margin: 0; }
.texte-long + .texte-long { margin-top: 18px; }
.texte-long strong { color: var(--texte); font-weight: 700; }

/* À découvrir : quatre cartes photo qui mènent aux autres pages */
.explore { max-width: var(--max); margin: clamp(40px, 4vw, 64px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--serre); }
.explore a { display: block; text-decoration: none; color: #fff; border-radius: var(--r); }
.explore .carte { aspect-ratio: 3 / 4; transition: transform .5s var(--ease); }
.explore a:hover .carte { transform: translateY(-6px); }
.explore figcaption b::after { content: ' →'; color: var(--jaune); }

/* Deux grands panneaux (jeunesse, adultes) */
.duo { max-width: var(--max); margin: clamp(40px, 4vw, 64px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--serre); }
.panneau { border-radius: var(--r-lg); background: var(--fond-2); padding: clamp(20px, 2.4vw, 34px); display: grid; gap: 22px; align-content: start; }
.panneau h3 { margin: 0; font-size: clamp(30px, 3vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.panneau p { margin: 0; color: var(--doux); max-width: 30em; }
.panneau .paire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--serre); }
.panneau .paire .carte { aspect-ratio: 4 / 5; }

/* Le clip (muet, en boucle, chargé en Blob par v3.js ; sans script : l'affiche) */
.carte video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip { aspect-ratio: 16 / 9; }

/* Comment ça marche : trois étapes reliées par un trait qui se trace au défilement */
.etapes3 { position: relative; max-width: var(--max); margin: clamp(40px, 4.5vw, 64px) auto 0; }
.etapes3-trait { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--jaune); transform-origin: left; }
.etapes3 ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 70px); }
.etapes3 li { position: relative; padding-top: 42px; }
.etapes3 li::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 6px rgba(253, 235, 7, .16); }
.etapes3 h3 { margin: 0; font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.etapes3 p { margin: 14px 0 0; color: var(--doux); max-width: 22em; }

/* Ce qui est confirmé, et ce qui vient avec la soumission */
.confirme { max-width: var(--max); margin: clamp(40px, 4vw, 64px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--serre); }
.confirme > div { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 38px); background: var(--fond-2); }
.confirme > div:first-child { background: var(--glace); color: #060807; --doux: #44504F; --trait: rgba(6, 8, 7, .16); }
.confirme h3 { margin: 0 0 18px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.confirme ul { list-style: none; margin: 0; padding: 0; }
.confirme li { padding: 14px 0; border-top: 1px solid var(--trait); display: flex; gap: 14px; }
.confirme li b { min-width: 9.5em; }
.confirme li span { color: var(--doux); }

/* FAQ : des <details> natifs, une ligne tactile de 56 px par question */
.faq { max-width: 980px; margin: clamp(40px, 4vw, 64px) auto 0; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--jaune); color: #0b0d0c; font-weight: 800; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 46em; color: var(--doux); }
.faq details p a { color: var(--texte); }

/* L'inscription : le vrai formulaire du CRM dans la page (quand le CRM l'autorise), sinon sa carte et son bouton */
.inscrire { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.formulaire-carte { border-radius: var(--r-lg); background: #F5F3EF; color: #060807; padding: clamp(22px, 3vw, 44px); box-shadow: var(--ombre); --doux: #4F585A; --trait: rgba(6, 8, 7, .14); }
.formulaire-carte h2 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.formulaire-carte ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: q; }
.formulaire-carte li { counter-increment: q; display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--trait); color: var(--doux); }
.formulaire-carte li::before { content: counter(q); flex: none; width: 28px; height: 28px; border-radius: 50%; background: #060807; color: #F5F3EF; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.formulaire-carte .actions { margin-top: 26px; }
/* L'inscription dans la page : l'iframe charge cachée sous la carte et ne la remplace qu'au premier message du CRM (js/v3.js) */
.formulaire-dans-page { position: relative; }
.formulaire-cadre { position: absolute; left: 0; top: 0; width: 100%; height: 0; border: 0; border-radius: var(--r-lg); visibility: hidden; }
.formulaire-dans-page.pret .formulaire-carte { display: none; }
.formulaire-dans-page.pret .formulaire-cadre { position: static; display: block; visibility: visible; }
.inscrire-cote { display: grid; gap: var(--serre); }
.inscrire-cote .carte { aspect-ratio: 4 / 3; }

@media (max-width: 860px) {
  .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo, .confirme, .inscrire { grid-template-columns: minmax(0, 1fr); }
  .etapes3-trait { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; }
  .etapes3 ol { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .etapes3 li { padding-top: 0; padding-left: 44px; }
  .confirme li { flex-direction: column; gap: 4px; }
  .ph { height: 76svh; }
  .ph-legende { display: none; }
}
.visuellement-cache { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.suite { margin: 28px 0 0; }
.quatuor.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 56px); }
.carte[data-photo="seb-refs-souper"] img { object-position: 50% 34%; }
.carte[data-photo="seb-parents"] img { object-position: 50% 30%; }
.etapes3.compact { margin: 0; }
.etapes3.compact ol { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.etapes3.compact li { padding: 0 0 0 34px; }
.etapes3.compact li::before { width: 12px; height: 12px; top: 8px; }
.etapes3.compact h3 { font-size: 22px; }
.etapes3.compact p { margin-top: 6px; }
@media (max-width: 860px) {
  .quatuor.trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quatuor.trois .carte:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* Texte à côté d'une photo ou du clip : une section ne se réduit jamais à un titre et un paragraphe sur du noir
   (« c'est laid ici », 10-02 : le vide est le défaut qu'il voit d'abord) */
.tm { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 70px); align-items: center; }
.tm-texte .titre { margin-bottom: 24px; }
.tm-inverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tm-inverse .tm-media { order: -1; }
.tm-media .carte { aspect-ratio: 4 / 3; }
.tm-media .clip { aspect-ratio: 16 / 9; }
.glace3 .tm { margin-top: clamp(40px, 4vw, 64px); }
.carte-lien { display: block; position: relative; border-radius: var(--r); color: #fff; text-decoration: none; }
.jouer { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.jouer span { width: 92px; height: 92px; border-radius: 50%; background: var(--jaune); box-shadow: 0 16px 50px -12px rgba(253, 235, 7, .7); display: grid; place-items: center; transition: transform .45s var(--ease); }
.jouer span::before { content: ''; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #0b0d0c; }
.carte-lien:hover .jouer span { transform: scale(1.08); }

/* FAQ à côté d'une photo qui reste en place pendant la lecture */
.faq-grille { max-width: var(--max); margin: clamp(36px, 4vw, 60px) auto 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.faq-grille .faq { margin: 0; max-width: none; }
.faq-photo { position: sticky; top: 100px; }
.faq-photo .carte { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .tm, .tm-inverse, .faq-grille { grid-template-columns: minmax(0, 1fr); }
  .tm-inverse .tm-media { order: 0; }
  .faq-photo { position: static; }
  .faq-photo .carte { aspect-ratio: 4 / 3; }
}
/* Cibles tactiles : les liens courts du pied de page (« Stay », « 2025 ») et les liens dans les réponses de la FAQ */
.pied3-liens .lien { min-width: 44px; justify-content: center; }
.faq details p a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.faq-grille.court .faq-photo .carte { aspect-ratio: 4 / 3; }
/* Dans une carte étroite (téléphone), la légende garde le lieu et laisse tomber le détail (la date se tassait) */
.carte { container-type: inline-size; }
@container (max-width: 230px) { .carte figcaption span { display: none; } }

/* ===================== Relecture à froid du site complet (10-02) ===================== */
/* Héros intérieurs plein écran : plus de bande noire de 160 px sous la photo */
.ph { height: 100vh; height: 100svh; }
/* Héros en deux colonnes, version inversée (photos à gauche) pour varier d'une page à l'autre */
.d3-heros.inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.d3-heros.inverse .d3-photos { order: -1; }
.d3-heros.inverse .d3-grande { inset: 0 12% 0 0; }
.d3-heros.inverse .d3-petite { left: auto; right: 0; }
/* Galerie de cinq : la cinquième carte prend la rangée */
.bento.cinq .b5 { grid-column: 1 / 8; }
.quatuor.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 56px); }
.quatuor.deux .carte { aspect-ratio: 4 / 3; }
.panneau .une .carte { aspect-ratio: 16 / 10; }
.carte[data-photo="adultes-vestiaire"] img { object-position: 50% 40%; }
/* Le format, dans le panneau glace des tournois, à côté des chiffres */
.format { margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--trait); max-width: 46em; }
.format h3 { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.format p { margin: 0 0 12px; color: var(--doux); }
/* La fin d'une page intérieure : une grande carte vers la page suivante (couleur glace) et l'inscription à côté */
.prochaine { padding: clamp(70px, 8vw, 120px) var(--gout) 40px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--serre); max-width: calc(var(--max) + 2 * var(--gout)); margin: 0 auto; }
.prochaine-carte { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 46vh; padding: clamp(26px, 3.6vw, 56px); border-radius: var(--r-lg); background: var(--glace); color: #060807; text-decoration: none; }
.prochaine-k { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.prochaine-titre { display: flex; align-items: center; gap: .25em; font-size: clamp(52px, 8.4vw, 136px); font-weight: 800; letter-spacing: -0.045em; line-height: .92; }
.prochaine-titre svg { width: .7em; height: .7em; flex: none; transition: transform .5s var(--ease); }
.prochaine-carte:hover .prochaine-titre svg { transform: translateX(.15em); }
.prochaine-ligne { color: #44504F; font-size: clamp(17px, 1.4vw, 20px); }
.prochaine-cta { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-lg); background: var(--fond-2); }
.prochaine-cta p { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
/* Le jaune reste au bouton et au mot du titre : points des étapes et « + » de la FAQ en blanc cassé */
.etapes3-trait { background: var(--texte); opacity: .5; }
.etapes3 li::before { background: var(--texte); box-shadow: 0 0 0 6px rgba(245, 243, 239, .12); }
.faq summary::after { background: var(--texte); color: #060807; }
/* La carte du formulaire en glace (le seul fond clair du site), pas en blanc cassé chaud */
.formulaire-carte { background: var(--glace); }
/* Le panneau glace commence à la même marge que le texte des autres sections */
.glace3 { margin-left: var(--gout); margin-right: var(--gout); padding-left: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px); }
/* Mur : la plaque couvre les colonnes du milieu ; leurs légendes ne se coupent plus contre elle */
@media (min-width: 861px) { .mur-col:nth-child(2) figcaption, .mur-col:nth-child(3) figcaption { display: none; } }
/* Accueil : le zoom finit sur la mer et les hôtels, pas sur le sable mouillé ; un voile à gauche rend le kicker lisible */
.d2-fond { transform-origin: 32% 40%; }
.d2-fond::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(6, 8, 7, .55), rgba(6, 8, 7, 0) 55%); pointer-events: none; }
/* Barre : même marge autour de chaque lien (« Stay » restait plus serré que les autres) */
.v3 .nav ul a { padding: 0 5px; }
@media (max-width: 860px) {
  .prochaine { grid-template-columns: minmax(0, 1fr); }
  .prochaine-carte { min-height: 34vh; }
  .d3-heros.inverse .d3-photos { order: 0; }
  /* Le médaillon passe en haut à droite : il ne couvre plus la légende de la grande photo */
  .d3-petite { left: auto; right: 4px; top: 5%; bottom: auto; width: 38%; }
  .d3-heros.inverse .d3-grande, .d3-grande { inset: 0 8% 0 0; }
  .glace3 { margin-left: var(--serre); margin-right: var(--serre); }
}
@media (max-width: 860px) {
  /* « Tournaments » en 52 px débordait d'un écran de 375 px (24 px, mesuré le 10-02) */
  .prochaine-titre { font-size: clamp(36px, 10.5vw, 64px); flex-wrap: wrap; }
}
