/* GameZone Arena — pages publiques.
   Le design vient du kit (static/kit, skill taste-skill) : ce fichier ne contient que ce que le kit
   n'a pas, avec ses jetons (--s-*, --ink, --muted, --line, --action, --r-*). L'admin garde
   style.css + Bootstrap et n'utilise pas ce fichier. */

/* ---------------------------------------------------------------- logo */
.nav__logo img, .footer__logo img { height: 28px; width: auto; }
.footer__logo { display: inline-flex; align-items: center; gap: var(--s-2); font: 500 22px/1 var(--font-display); letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- hauteur des sections
   Le kit donne à chaque section la hauteur d'un ou deux écrans entiers, quel que soit son contenu :
   une rangée de quatre cartes laissait un écran presque vide sous elle. Ici chaque section prend la
   hauteur de son contenu (le héros garde son plein écran). La marge du haut (--padt) reste celle du
   kit, pour que le titre ne passe pas sous la barre de navigation quand on suit une ancre (#tarifs) ;
   celle du bas est réduite, sinon deux sections restaient séparées de près de 200 px. */
main > :is(section, .section):not(.hero, .section--hero) {
  height: auto; min-height: 0; padding-bottom: calc(var(--s-6) + var(--bar));
}
main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container) { height: auto; }
/* le pied de page aussi : à un écran pile, une fenêtre peu haute faisait passer le grand
   « GameZone Arena » par-dessus les colonnes de liens */
footer.closing { height: auto; min-height: 0; }
footer.closing > .wrap { height: auto; }
/* téléphone : 192 px de vide entre deux sections (96 en haut + 96 en bas), réduit à 112. Le haut garde
   de quoi passer sous la barre de navigation (56 px) quand on suit une ancre (#tarifs) ; le bas n'a plus
   besoin de la place de la barre d'action, elle ne compte qu'au pied de page */
@media (max-width: 639px) {
  main > :is(section, .section):not(.hero, .section--hero) { padding-top: 80px; padding-bottom: var(--s-6); }
}

/* ---------------------------------------------------------------- mots coupés
   Le kit coupe les mots longs des titres avec un tiret (« Anniver-saire ») : désactivé. Un mot trop
   long pour l'écran passe quand même à la ligne (overflow-wrap du kit) plutôt que de déborder.
   Les espaces insécables (« 20 € », « ? ») sont posées par js/typographie.js. */
h1, h2, h3, h4 { hyphens: manual; -webkit-hyphens: manual; }
p, li { text-wrap: pretty; }

/* ---------------------------------------------------------------- cartes de jeux
   Le visuel est une photo dans un cadre du kit (frame--photo), carré (recadrage des captures). */
.carte-jeu__visuel { --ratio: 100%; flex: none; margin-bottom: var(--s-4); }
.carte-jeu__infos { color: var(--muted); font-size: var(--t-small); }
.carte-jeu__genre { color: var(--accent); font-size: var(--t-small); font-weight: 500; margin-bottom: -4px; }
.carte-jeu .badge { align-self: flex-start; }

/* ---------------------------------------------------------------- formules (tarifs) */
.formule { gap: var(--s-3); }
.formule .price { margin-top: var(--s-2); }
.formule__unite { color: var(--muted); font-size: var(--t-small); }
/* Description de la formule (admin → Formules) : 3 lignes au plus */
.formule__description { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
.formule__description a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.formule__joueurs { color: var(--muted); font-size: var(--t-small); }
/* Textes légaux (CGV, mentions, confidentialité) : un bloc par article */
.texte-legal .article-legal { scroll-margin-top: 6rem; }
.regles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-8); }
.regles > div { border-top: 1px solid var(--line); padding-top: var(--s-4); }
.regles dt { color: var(--muted); font-size: var(--t-small); }
.regles dd { margin: var(--s-1) 0 0; font-size: var(--t-lead); }
@media (max-width: 639px) { .regles { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); margin-top: var(--s-6); } }

/* ---------------------------------------------------------------- boutique */
.prix-barre { color: var(--muted); text-decoration: line-through; margin-left: var(--s-2); font-weight: 400; }
.produit .panel { --p-h: 300px; background: #ffffff; }
.produit .panel img { object-fit: contain; }
.gamme__logo { height: 56px; width: auto; max-width: 280px; object-fit: contain; object-position: left center; }
@media (max-width: 639px) { .gamme__logo { height: 40px; } .produit .panel { --p-h: 240px; } }

/* ---------------------------------------------------------------- infos pratiques (section Venir) */
.infos-adresse { font: var(--display-weight) var(--t-h3)/1.3 var(--font-display); letter-spacing: var(--display-tracking); font-style: normal; }
.infos-horaires h3 { font-size: var(--t-card); font-weight: 500; margin: 0 0 var(--s-4); }
.infos-note { margin-top: var(--s-4); color: var(--muted); font-size: var(--t-small); max-width: 46ch; }
.liste-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); font-size: var(--t-lead); }
.liste-contact a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1023px) { .infos-horaires { margin-top: var(--s-7); } }
/* section Horaires : la grille du moment en grand, le statut « ouvert maintenant » avec son voyant */
.hours--grand { font-size: var(--t-lead); gap: var(--s-3) var(--s-6); }
.statut-ouverture { display: inline-flex; align-items: center; gap: var(--s-3); font: 500 var(--t-card)/1.3 var(--font-display); }
.statut-ouverture__point { width: 10px; height: 10px; border-radius: 999px; flex: none; background: var(--muted); }
.statut-ouverture[data-ouvert="oui"] .statut-ouverture__point { background: #3ecf8e; box-shadow: 0 0 0 4px rgb(62 207 142 / .18); }

/* ---------------------------------------------------------------- anniversaire */
.anniv-creneau .t-stat { white-space: nowrap; }
/* Les deux thèmes : un halo coloré discret (violet « Galaxy », bleu du logo pour la console), même carte que le reste */
.anniv-theme { gap: var(--s-3); min-height: 12rem; justify-content: flex-end; position: relative; overflow: hidden; }
.anniv-theme::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(120% 90% at 100% 0%, var(--anniv-teinte) 0%, transparent 60%); }
.anniv-theme > * { position: relative; }
.anniv-theme--galaxy { --anniv-teinte: rgb(167 89 214 / .55); }
.anniv-theme--console { --anniv-teinte: rgb(72 152 211 / .55); }
/* Thème avec photo (ajoutée dans l'admin) : la photo remplit la carte, un dégradé sombre garde le texte lisible */
.anniv-theme--photo { min-height: 16rem; }
.anniv-theme > .anniv-theme__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anniv-theme--photo::before { opacity: 1; z-index: 1;
  background: linear-gradient(to top, rgb(11 17 24 / .94) 0%, rgb(11 17 24 / .6) 45%, rgb(11 17 24 / .08) 100%); }
.anniv-theme--photo > :not(.anniv-theme__photo) { z-index: 2; }

/* ---------------------------------------------------------------- menu snack */
.menu-groupes .t-label { display: block; margin-bottom: var(--s-3); color: var(--ink); }
@media (max-width: 1023px) { .menu-groupes > div + div { margin-top: var(--s-6); } }

/* ---------------------------------------------------------------- page d'un jeu */
.jeu-texte p { font-size: var(--t-lead); line-height: 1.6; max-width: 60ch; }
.jeu-texte h3 { font-size: var(--t-card); font-weight: 500; margin-top: var(--s-6); }
.jeu-texte ul { margin: var(--s-3) 0 0; padding-left: 1.2em; display: grid; gap: var(--s-2); }
.jeu-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
/* fiche du jeu : Genre, Nombre de joueurs, Durée, Âge recommandé (deux colonnes, une seule sur téléphone) */
.fiche-jeu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-6); margin: var(--s-5) 0 var(--s-2);
             padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); max-width: 60ch; }
.fiche-jeu dt { font-size: var(--t-small); color: var(--muted); font-weight: 400; }
.fiche-jeu dd { margin: 2px 0 0; font-weight: 500; }
@media (max-width: 379px) { .fiche-jeu { grid-template-columns: minmax(0, 1fr); } }
/* badge « Nouveau » d'une carte de jeu : couleur d'accent, pour le distinguer de « Prochainement » */
.badge--nouveau { background: var(--accent); color: var(--accent-ink); }
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); }
.galerie img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); display: block; }
@media (max-width: 639px) { .galerie { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- vidéo YouTube, lancée au clic
   Rien n'est chargé depuis YouTube avant le clic : l'image est la nôtre. */
.video-clic { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video-clic > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-clic > button { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0;
  background: transparent; color: #fff; cursor: pointer; font: 500 var(--t-body)/1 var(--font-text); }
.video-clic > button span { display: inline-flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-5);
  border-radius: 999px; background: rgb(11 17 24 / .82); border: 1px solid rgb(255 255 255 / .3); }
.video-clic > button span::before { content: ""; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.video-clic > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-clic__note { margin-top: var(--s-3); color: var(--muted); font-size: var(--t-small); }

/* ---------------------------------------------------------------- réservation (recette lot 2 : R14, R15, R17, R23, R24, R25)
   Couleurs des créneaux communes au site et à l'admin (R41 B) : vert #22C55E = disponible / choisi,
   gris barré = indisponible ; orange = formule « sur contact » et réservation en pause.
   Écrans : #resa-app[data-ecran] = choix | coord | pause ; chaque bloc dit où il s'affiche (data-ecrans). */
.resa, .fenetre, .barre-resa, .page-statut {
  --vert: #22c55e; --vert-texte: #4ade80; --vert-fond: color-mix(in srgb, #22c55e 12%, var(--bg));
  --orange: #f5a524; --orange-fond: color-mix(in srgb, #f5a524 10%, var(--bg));
  --rouge: #f87171; --error: #f87171;
  --carte-resa: color-mix(in oklab, var(--surface) 70%, var(--bg));
}
#resa-app:not([data-ecran~="choix"]) [data-ecrans="choix"],
#resa-app:not([data-ecran~="coord"]) [data-ecrans="coord"],
#resa-app:not([data-ecran~="pause"]) [data-ecrans="pause"],
#resa-app[data-ecran="pause"] [data-ecrans="choix coord"] { display: none !important; }
.ico { width: 18px; height: 18px; flex: none; vertical-align: -3px; }

.resa-tete { margin-bottom: var(--s-7); }
.resa-tete .t-lead { margin-top: var(--s-3); color: var(--muted); }
.resa-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-7); align-items: start; }
.resa-etape + .resa-etape, #bloc-enligne, .contact-formule { margin-top: var(--s-7); }
.resa-etape__titre { display: flex; align-items: center; gap: var(--s-3); font: var(--display-weight) var(--t-card)/1.25 var(--font-display);
  margin: 0 0 var(--s-4); }
.resa-num { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent); font: 500 13px/1 var(--font-text); }
.resa-etape__suite:not(:empty)::before { content: "·"; margin: 0 .35em; color: var(--muted); }

/* ① formules en cartes (une par ligne sur téléphone, R56) */
.choix-formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-3); border: 0; padding: 0; margin: 0; min-width: 0; }
.choix-formule { position: relative; display: grid; align-content: start; gap: var(--s-1); padding: var(--s-4) var(--s-5); cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--carte-resa);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.choix-formule input { position: absolute; opacity: 0; pointer-events: none; }
/* R80 (lot 5) : survols seulement avec une souris (@media hover : sur iPhone, l'état « survol » restait collé après
   un toucher) et jamais sur l'élément choisi, qui garde toujours son aspect « choisi » */
@media (hover: hover) {
  .choix-formule:not(:has(input:checked)):hover { border-color: color-mix(in oklab, var(--ink) 45%, transparent); transform: translateY(-2px); }
}
.choix-formule:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.choix-formule--contact:has(input:checked) { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: var(--orange-fond); }
.choix-formule:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.choix-formule__titre { font-weight: 500; font-size: var(--t-card); }
.choix-formule__prix { font-variant-numeric: tabular-nums; margin-top: var(--s-2); }
.choix-formule__prix strong { font: 500 var(--t-h3)/1 var(--font-display); }
.choix-formule__prix span { color: var(--muted); font-size: var(--t-small); }
.choix-formule__detail { color: var(--muted); font-size: var(--t-small); }
.badge-contact { order: -1; justify-self: start; margin-bottom: 2px; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border: 1px solid var(--orange); border-radius: 999px; color: var(--orange); font-size: 12px; font-weight: 500; }
.badge-contact .ico { width: 12px; height: 12px; vertical-align: 0; }
/* ② nombre de joueurs : un bandeau à part sur toute la largeur (R53), pas une carte de plus.
   Ordinateur : texte, pastilles des valeurs possibles, − / + ; téléphone : texte puis − / + en grand. */
.bandeau-joueurs { display: flex; align-items: center; gap: var(--s-4) var(--s-5); flex-wrap: wrap; padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--carte-resa); }
.bandeau-joueurs__texte { display: grid; gap: 2px; margin: 0; min-width: 0; }
.bandeau-joueurs__texte > span { font-weight: 500; }
.bandeau-joueurs__texte small { color: var(--muted); font-size: var(--t-small); }
.pastilles-joueurs { display: flex; flex-wrap: wrap; gap: 6px; }
.pastilles-joueurs[hidden] { display: none; }
.pastille-joueurs { min-width: 40px; height: 40px; padding: 0 var(--s-2); border: 1px solid var(--line-strong); border-radius: var(--r-sm, 6px);
  background: none; color: var(--ink); font: 500 var(--t-body)/1 var(--font-text); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
@media (hover: hover) {
  .pastille-joueurs:not([aria-pressed="true"]):hover { border-color: var(--ink); transform: translateY(-1px); }
}
.pastille-joueurs:active { transform: scale(.96); }
.pastille-joueurs[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.bandeau-joueurs .compteur { margin-left: auto; }
.compteur { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); width: fit-content; }
.compteur button { width: 48px; height: 48px; border: 0; background: none; color: var(--ink); font: 400 22px/1 var(--font-text); cursor: pointer;
  transition: background-color var(--dur) var(--ease); }
@media (hover: hover) {
  .compteur button:hover:not(:disabled) { background: color-mix(in oklab, var(--ink) 8%, transparent); }
}
.compteur button:active:not(:disabled) { transform: scale(.94); }
.compteur button:disabled { color: color-mix(in oklab, var(--muted) 60%, transparent); cursor: default; }
.compteur output { min-width: 3.2ch; text-align: center; align-self: stretch; display: grid; place-items: center;
  border-inline: 1px solid var(--line-strong); color: var(--ink); font: 500 var(--t-card)/1 var(--font-text); font-variant-numeric: tabular-nums; }

/* ② bande de jours : 7 jours sur PC, 4 sur téléphone (glisser au doigt) */
.jours-tete { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.jours-tete p { margin: 0; }
.jours-tete__mois { font-weight: 500; text-transform: capitalize; }
.jours-tete__limite { color: var(--muted); font-size: var(--t-small); margin-left: var(--s-2); }
.jours-tete .btn { gap: var(--s-2); }
.txt-mobile { display: none; }
.bande-jours { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: var(--s-2); }
.bande-jours__liste { display: grid; grid-template-columns: repeat(var(--visibles, 7), minmax(0, 1fr)); gap: var(--s-2); touch-action: pan-y; }
.bande-jours__fleche { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--carte-resa); color: var(--ink); cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
@media (hover: hover) {
  .bande-jours__fleche:hover:not(:disabled) { border-color: var(--ink); }
}
.bande-jours__fleche:active:not(:disabled) { transform: scale(.96); }
.bande-jours__fleche:disabled { opacity: .35; cursor: default; }
.jour { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 108px; padding: var(--s-3) 2px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--carte-resa); color: var(--ink); font: inherit; cursor: pointer; min-width: 0;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
@media (hover: hover) {
  .jour:hover:not(:disabled):not([aria-pressed="true"]) { border-color: color-mix(in oklab, var(--ink) 45%, transparent); transform: translateY(-2px); }
}
.jour__sem, .jour__mois { color: var(--muted); font-size: 12px; }
.jour__num { font: 500 26px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.jour__etat { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; color: var(--vert-texte); white-space: nowrap; }
.jour__etat .mot-mobile { display: none; }
@media (max-width: 1279px) {
  .jour__etat .mot-pc { display: none; } .jour__etat .mot-mobile { display: inline; }
  /* cases étroites (7 jours à 1024 px, 4 à 390 px) : « 23 dispo » débordait. Sans la pastille, et
     « dispo » passe à la ligne s'il le faut (le vert suffit à dire « ouvert ») */
  .jour__etat { flex-wrap: wrap; justify-content: center; column-gap: 3px; white-space: normal; text-align: center; line-height: 1.25; }
  .jour__etat::before { display: none; }
}
.jour__etat::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--vert); }
.jour[aria-pressed="true"] { border: 2px solid var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 15%, transparent); }
.jour:disabled { cursor: default; opacity: .55; }
.jour:disabled .jour__etat { color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.jour:disabled .jour__etat::before { display: none; }
.jour--ferme { border-style: dashed; background: none; }
/* Jour non réservable en ligne mais cliquable pour expliquer (R51 « par téléphone », R52 fermeture exceptionnelle) */
.jour--explique { opacity: .8; }
.jour--explique .jour__etat { color: var(--orange); letter-spacing: .02em; text-transform: uppercase; }
.jour--explique .jour__etat::before { display: none; }
.jour--explique[aria-pressed="true"] { border: 2px solid var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 15%, transparent); opacity: 1; }
.jour--chargement .jour__etat { width: 60%; height: 10px; border-radius: 4px; background: var(--line); color: transparent; }
.jour--chargement .jour__etat::before { display: none; }

/* ③ créneaux : légende, groupes Après-midi / Soirée */
.legende { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0 0 var(--s-4); padding: 0; font-size: var(--t-small); color: var(--muted); }
.legende li { display: inline-flex; align-items: center; gap: var(--s-2); }
.pastille { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line-strong); background: var(--carte-resa); }
.pastille--libre { border-color: var(--vert); background: var(--vert-fond); }
.pastille--choix { border-color: var(--vert); background: var(--vert); }
.groupe-creneaux + .groupe-creneaux { margin-top: var(--s-5); }
.groupe-creneaux__titre { margin: 0 0 var(--s-3); font: 500 var(--t-small)/1.4 var(--font-text); color: var(--ink); }
.groupe-creneaux__titre span { color: var(--vert-texte); margin-left: var(--s-2); }
.creneaux { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s-2); }
.creneau { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 44px; padding: 0; border: 1px solid var(--vert);
  border-radius: var(--r-sm, 6px); background: var(--vert-fond); color: var(--vert-texte); font: 500 var(--t-body)/1 var(--font-text);
  font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
@media (hover: hover) {
  .creneau:hover:not(:disabled):not([aria-pressed="true"]) { background: color-mix(in srgb, var(--vert) 22%, var(--bg)); transform: translateY(-1px); }
}
.creneau:active:not(:disabled) { transform: scale(.97); }
.creneau[aria-pressed="true"], .creneau[aria-pressed="true"]:is(:hover, :active, :focus-visible) { background: var(--vert); color: #06210f; font-weight: 600; }
.creneau[aria-pressed="true"] .ico { width: 15px; height: 15px; stroke-width: 2.6; vertical-align: 0; }
.creneau:disabled { border-color: transparent; background: color-mix(in oklab, var(--ink) 5%, var(--bg)); color: color-mix(in oklab, var(--muted) 75%, transparent);
  text-decoration: line-through; cursor: default; }
.creneaux--chargement { pointer-events: none; }
.creneaux--chargement .creneau { border-color: transparent; background: var(--line); color: transparent; text-decoration: none; }
.resa-message { padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); background: var(--carte-resa); }
.resa-message--alerte { border-color: var(--orange); background: var(--orange-fond); margin-bottom: var(--s-4); }
.resa-message--ferme { border-color: var(--orange); background: var(--orange-fond); margin-bottom: var(--s-4); }
.resa-message--info { margin-bottom: var(--s-4); padding: var(--s-3) var(--s-4); font-size: var(--t-small); color: var(--muted); }
.resa-message--info a { color: var(--ink); }

/* Jour « PAR TÉLÉPHONE » (R51) : écran court à la place des créneaux */
.encart-appel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3) var(--s-4); align-items: start;
  padding: var(--s-5); border: 1px solid var(--orange); border-radius: var(--r-lg); background: var(--orange-fond); }
.encart-appel__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--orange);
  background: color-mix(in srgb, var(--orange) 16%, var(--bg)); }
.encart-appel__titre { margin: 0 0 var(--s-1); font: 500 var(--t-card)/1.3 var(--font-display); }
.encart-appel p { margin: 0; color: var(--muted); }
.encart-appel .btn { grid-column: 1 / -1; justify-self: start; gap: var(--s-2); }

/* panneau de droite : récapitulatif qui suit le défilement (PC) */
.resa-cote { position: sticky; top: calc(var(--nav) + var(--s-5)); }
.recap-carte, .encart { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--carte-resa); }
.recap-carte__tete { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-4); }
.recap-carte__titre { margin: 0; font: 500 var(--t-card)/1.3 var(--font-display); }
.recap-lignes > li { padding-block: var(--s-3); grid-template-columns: auto minmax(0, 1fr); }
.recap-lignes .rows__value { font-weight: 600; text-align: right; }
.rows__value--vert:not(:empty) { color: var(--vert-texte); }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin: var(--s-4) 0; color: var(--muted); font-size: var(--t-small); }
.recap-total strong { color: var(--ink); font: 500 var(--t-h3)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn--plein { width: 100%; }
.btn .ico { width: 18px; height: 18px; vertical-align: 0; }
.recap-note { margin-top: var(--s-3); text-align: center; color: var(--muted); font-size: var(--t-small); }
.recap-infos { list-style: none; padding: var(--s-4) 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-2); color: var(--muted); font-size: var(--t-small); }
.recap-infos li { display: flex; gap: var(--s-2); align-items: flex-start; }
.lien-simple { background: none; border: 0; padding: 0; min-height: 44px; color: var(--accent); font: 500 var(--t-small)/1 var(--font-text);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien-simple:hover { color: var(--ink); }
.encart__titre { margin: 0 0 var(--s-3); color: var(--muted); font: 500 var(--t-small)/1.3 var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.encart__titre span { text-transform: none; letter-spacing: 0; }
.semaine { display: grid; gap: var(--s-1); margin: 0; font-size: var(--t-small); }
.semaine > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); }
.semaine dt { color: var(--muted); font-weight: 400; }
.semaine dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.semaine .est-aujourdhui :is(dt, dd) { color: var(--vert-texte); }
.a-preparer { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.a-preparer li { display: flex; gap: var(--s-2); }
.a-preparer li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55em; border-radius: 999px; background: var(--orange); }

/* formule « en nous contactant » (R23) */
.contact-formule { padding: var(--s-6); border: 1px solid var(--orange); border-radius: var(--r-lg); background: var(--orange-fond); }
.contact-formule__ico .ico { width: 36px; height: 36px; color: var(--orange); }
.contact-formule__titre { margin: var(--s-3) 0 var(--s-3); font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); }
.contact-formule > p { color: var(--muted); max-width: 52ch; }
.contact-boutons { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.bouton-contact { display: flex; align-items: center; gap: var(--s-4); min-height: 64px; padding: var(--s-3) var(--s-5); border: 1px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--bg); color: var(--ink); text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.bouton-contact:hover { transform: translateY(-2px); border-color: var(--ink); }
.bouton-contact:active { transform: translateY(0) scale(.99); }
.bouton-contact .ico { width: 24px; height: 24px; }
.bouton-contact span { display: grid; gap: 2px; min-width: 0; }
.bouton-contact small { color: var(--muted); font-size: var(--t-small); overflow-wrap: anywhere; }
.bouton-contact--appel { background: var(--vert); border-color: var(--vert); color: #06210f; }
.bouton-contact--appel small { color: #0d3a1d; }
.bouton-contact--appel:hover { background: #2fd36b; border-color: #2fd36b; }
.bouton-contact--whatsapp { background: var(--vert-fond); border-color: color-mix(in srgb, var(--vert) 60%, transparent); }
.bouton-contact--whatsapp strong { color: var(--vert-texte); }

/* ④ coordonnées (R15) */
.lien-retour { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--muted); font: inherit; font-size: var(--t-small); cursor: pointer; }
.lien-retour:hover { color: var(--ink); }
.lien-retour .ico { width: 16px; height: 16px; vertical-align: 0; }
.progression { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); list-style: none; margin: var(--s-2) 0 var(--s-6); padding: 0;
  font-size: 12px; color: var(--muted); }
.progression li { padding-top: var(--s-2); border-top: 4px solid var(--line); text-align: center; }
.progression li:first-child { text-align: left; }
.progression li:last-child { text-align: right; }
.progression .est-fait { border-color: var(--vert); }
.progression .est-actif { border-color: var(--accent); color: var(--accent); }
.coord-titre { margin: 0; font: var(--display-weight) var(--t-h1)/1.05 var(--font-display); letter-spacing: var(--display-tracking); outline: none; }
#ecran-coordonnees > .t-lead { margin-top: var(--s-3); color: var(--muted); }
.ligne-confiance { display: flex; align-items: center; gap: var(--s-2); margin: var(--s-2) 0 var(--s-6); font-weight: 600; }
.ligne-confiance .ico { color: var(--vert-texte); }
.recap-compact { display: none; }
.formulaire-resa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); }
.formulaire-resa > :is(.cases, .btn, .resa-erreur, .note-bas) { grid-column: 1 / -1; }
.requis { color: var(--rouge); }
.field input { transition: border-color var(--dur) var(--ease); }
.field.est-ok input { border-color: color-mix(in srgb, var(--vert) 70%, transparent); padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field__aide { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 400; line-height: 1.45; }
.cases { display: grid; gap: var(--s-4); margin-top: var(--s-2); }
.case { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--t-body); font-weight: 400; cursor: pointer; }
.case input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--vert); flex: none; cursor: pointer; }
.case input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.cases .field__error { margin: var(--s-2) 0 0 calc(22px + var(--s-3)); }
.lien-cgv { display: inline; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien-cgv:hover { color: var(--ink); }
.anniv { margin: 0 0 0 calc(11px); padding: var(--s-1) 0 var(--s-1) var(--s-5); border: 0; border-left: 2px solid var(--vert); display: grid; gap: var(--s-3); }
.anniv legend { float: left; display: inline-flex; align-items: center; gap: var(--s-2); padding: 0; margin-bottom: var(--s-3); font-size: var(--t-small); }
.anniv legend span { color: var(--muted); }
.anniv legend + * { clear: both; }
.anniv__listes { display: flex; gap: var(--s-3); }
.anniv select { height: 48px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg); color: var(--ink);
  font: 400 16px/1 var(--font-text); }
.anniv select:first-child { width: 6.5rem; }
.anniv select:last-child { width: 10rem; }
.formulaire-resa > .btn { height: 56px; margin-top: var(--s-2); font-size: var(--t-card); }
.resa-erreur { color: var(--error); font-weight: 500; }
.resa-erreur:empty { display: none; }
.note-bas { text-align: center; color: var(--muted); font-size: 12.5px; }
.note-bas .link::after { content: none; }
.piege, .piege[hidden] { display: block; position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; visibility: hidden; }

/* boutons verts (Appeler, J'ai lu et j'accepte) */
.btn--vert { background: var(--vert); color: #06210f; font-weight: 600; }
.btn--vert:hover { background: #2fd36b; }

/* écran pause / appelez-nous (R17) */
.ecran-pause { max-width: 560px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: var(--s-4); }
.ecran-pause__ico { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 22%, var(--bg)), var(--bg)); color: var(--ink); }
.ecran-pause__ico .ico { width: 44px; height: 44px; stroke-width: 1.5; }
.etiquette { margin: 0; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.etiquette--orange { border: 1px solid var(--orange); color: var(--orange); background: var(--orange-fond); }
.etiquette--vert { border: 1px solid var(--vert); color: var(--vert-texte); background: var(--vert-fond); }
.ecran-pause__titre { margin: 0; font: var(--display-weight) var(--t-h2)/1.1 var(--font-display); letter-spacing: var(--display-tracking); outline: none; }
.ecran-pause .t-lead { color: var(--muted); }
.ecran-pause__boutons { justify-content: center; margin: var(--s-2) 0; }
.ecran-pause .encart { width: 100%; text-align: left; }
.ecran-pause__pied { color: var(--muted); font-size: var(--t-small); }
.ecran-pause__pied .link::after { content: none; }

/* fenêtres : CGV (R25) et calendrier. PC : centrée, fond assombri ; téléphone : panneau qui monte du bas */
.fenetre { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); overflow: hidden; }
.fenetre[open] { display: flex; flex-direction: column; }
.fenetre::backdrop { background: rgb(4 7 10 / .72); backdrop-filter: blur(3px); }
.fenetre__poignee { display: none; }
.fenetre__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--line); }
.fenetre__tete h2 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-display); }
.fenetre__tete p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.fenetre__fermer { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: none; color: var(--ink); cursor: pointer; }
.fenetre__fermer:hover { border-color: var(--ink); }
.fenetre__corps { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-5) var(--s-6); }
.texte-cgv h2 { margin: var(--s-5) 0 var(--s-2); color: var(--accent); font: 600 13px/1.4 var(--font-text); letter-spacing: .05em; text-transform: uppercase; }
.texte-cgv > section:first-child h2 { margin-top: 0; }
.texte-cgv p, .texte-cgv li { font-size: var(--t-small); line-height: 1.65; }
.texte-cgv p + p { margin-top: var(--s-2); }
.texte-cgv a { color: var(--accent); text-decoration: underline; }
.texte-cgv ul { margin: var(--s-2) 0; padding-left: 1.2em; list-style: disc; display: grid; gap: 2px; }
.fenetre__pied { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line); }
.fenetre__pied p { margin: 0; color: var(--muted); font-size: 12.5px; }
.fenetre__boutons { display: flex; flex-direction: row-reverse; gap: var(--s-3); }
.fenetre--calendrier { width: min(440px, calc(100vw - 32px)); padding: var(--s-5); gap: var(--s-3); }
.calendrier__tete { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: var(--s-2); }
.calendrier__mois { margin: 0; text-align: center; font: 500 var(--t-card)/1.2 var(--font-display); text-transform: capitalize; }
.calendrier__semaine, .calendrier__grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendrier__semaine { color: var(--muted); font-size: 11px; text-align: center; }
.cal-jour { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 48px; padding: 2px 0; border: 1px solid var(--line); border-radius: var(--r-sm, 6px);
  background: var(--bg); color: var(--ink); font: 500 15px/1.1 var(--font-text); cursor: pointer; }
.cal-jour small { font-size: 9.5px; font-weight: 500; color: var(--vert-texte); }
@media (hover: hover) {
  .cal-jour:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--vert); }
}
.cal-jour:disabled { opacity: .45; cursor: default; }
.cal-jour:disabled small { color: var(--muted); }
.cal-jour--ferme { border-style: dashed; }
.cal-jour[aria-pressed="true"] { border: 2px solid var(--vert); }
.cal-jour--vide { visibility: hidden; }
.calendrier__pied { justify-content: center; }

/* pages Merci (R40) et Annulation (R35) : une colonne centrée, un rond d'état, le récapitulatif */
.page-statut { max-width: 560px; margin: 0 auto; display: grid; justify-items: center; gap: var(--s-4); text-align: center; }
.page-statut__titre { margin: 0; font: var(--display-weight) var(--t-h2)/1.1 var(--font-display); letter-spacing: var(--display-tracking); text-wrap: balance; }
/* le texte d'introduction porte l'information (date limite, ce qui s'est passé) : gris plus clair, contraste 7:1 */
.page-statut .t-lead { color: color-mix(in oklab, var(--ink) 80%, var(--bg)); }
.page-statut .t-lead strong { color: var(--ink); }
.page-statut > .encart { width: 100%; text-align: left; }
.encart--vert { border-color: color-mix(in srgb, var(--vert) 55%, transparent); }
.statut-rond { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted);
  background: var(--carte-resa); }
.statut-rond .ico { width: 36px; height: 36px; stroke-width: 2.2; }
.statut-rond--vert { border-color: color-mix(in srgb, var(--vert) 60%, transparent); background: var(--vert-fond); color: var(--vert); }
.statut-rond--orange { border-color: color-mix(in srgb, var(--orange) 60%, transparent); background: var(--orange-fond); color: var(--orange); }
.statut-rond--bleu { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); }
.page-statut__boutons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); width: 100%; }
.page-statut__boutons--pile { grid-template-columns: minmax(0, 1fr); }
.page-statut__boutons .btn { width: 100%; }
.page-statut__petit { color: var(--muted); font-size: var(--t-small); }
.page-statut > .recap-infos { width: 100%; text-align: left; padding: var(--s-4) var(--s-5); }
.rows__value.barre { text-decoration: line-through; color: var(--muted); }
.rows__value.texte-orange { color: var(--orange); }
.lien-souligne { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lien-souligne:hover { color: var(--ink); }
.btn--rouge { background: var(--rouge); color: #2a0707; font-weight: 600; }
.btn--rouge:hover { background: #fb8f8f; }
.btn--whatsapp { background: var(--vert-fond); color: var(--vert-texte); border-color: color-mix(in srgb, var(--vert) 60%, transparent); font-weight: 600; }
.btn--whatsapp:hover { background: color-mix(in srgb, var(--vert) 20%, var(--bg)); }
@media (max-width: 639px) { .page-statut__boutons { grid-template-columns: minmax(0, 1fr); } }

/* barre du bas (téléphone et tablette) */
.barre-resa { display: none; }

@media (max-width: 1023px) {
  .resa-grille { grid-template-columns: minmax(0, 1fr); }
  .resa-cote { position: static; }
  #resa-app[data-ecran="choix"] #aside-enligne { display: none; }
  .barre-resa:not([hidden]) { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-4); padding: var(--s-3) var(--gut) calc(var(--s-3) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line-strong); }
  .barre-resa__infos { display: grid; gap: 2px; min-width: 0; font-size: var(--t-small); color: var(--muted); }
  .barre-resa__infos > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .barre-resa strong { color: var(--ink); font: 500 var(--t-h3)/1 var(--font-display); }
  .barre-resa .btn { flex: none; height: 52px; padding-inline: var(--s-6); }
  body:has(.barre-resa:not([hidden])) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  /* écran Coordonnées : l'encadré compact en haut suffit (maquette R15 téléphone) */
  #resa-app[data-ecran="coord"] .resa-cote { display: none; }
  #resa-app[data-ecran="coord"] .recap-compact { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
    margin-bottom: var(--s-5); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--carte-resa); }
  .recap-compact > div { display: grid; gap: 2px; min-width: 0; }
  .recap-compact span { color: var(--muted); font-size: var(--t-small); }
}
@media (max-width: 767px) {
  /* R56 : une carte de formule par ligne, pleine largeur ; joueurs : − / + en grand (maquette R53) */
  .choix-formules { grid-template-columns: minmax(0, 1fr); }
  .pastilles-joueurs { display: none; }
  .bandeau-joueurs { display: grid; }
  .bandeau-joueurs .compteur { margin-left: 0; width: 100%; height: 56px; }
  .bandeau-joueurs .compteur button { width: 64px; height: 56px; }
  .bandeau-joueurs .compteur output { flex: 1; font-size: var(--t-h3); }
  .encart-appel .btn { width: 100%; justify-content: center; }
  .creneaux { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .creneau { height: 48px; }
  .txt-pc { display: none; }
  .txt-mobile { display: inline; }
  .jours-tete { align-items: flex-start; }
  .jours-tete__limite { display: block; margin: 2px 0 0; }
  .formulaire-resa { grid-template-columns: minmax(0, 1fr); }
  .progression { font-size: 11px; }
  .coord-titre { font-size: var(--t-h2); }
  .fenetre--cgv { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; }
  .fenetre--cgv .fenetre__poignee { display: block; width: 44px; height: 5px; margin: var(--s-3) auto 0; border-radius: 999px; background: var(--line-strong); }
  .fenetre__tete, .fenetre__corps { padding-inline: var(--s-5); }
  .fenetre__pied { flex-direction: column; align-items: stretch; padding: var(--s-4) var(--s-5) calc(var(--s-4) + env(safe-area-inset-bottom)); }
  .fenetre__pied p { order: 2; text-align: center; }
  .fenetre__boutons { flex-direction: column; }
  .fenetre__boutons .btn { width: 100%; }
  /* R77 (lot 5) : CGV sur téléphone = presque tout l'écran (48 px de la page visibles en haut), hauteur de l'écran
     SANS le clavier (svh / dvh), en-tête et pied compacts, le texte prend le reste et défile */
  .fenetre--cgv { height: calc(100vh - 48px); height: calc(100svh - 48px); height: calc(100dvh - 48px);
    max-height: none; margin: auto 0 0; }
  .fenetre--cgv .fenetre__poignee { margin-top: var(--s-2); }
  .fenetre--cgv .fenetre__tete { align-items: center; padding: var(--s-2) var(--s-3) var(--s-2) var(--s-5); gap: var(--s-3); }
  .fenetre--cgv .fenetre__tete h2 { font-size: 18px; line-height: 1.25; }
  .fenetre--cgv .fenetre__tete p { margin-top: 2px; font-size: 12px; }
  .fenetre--cgv .fenetre__fermer { width: 40px; height: 40px; }
  .fenetre--cgv .fenetre__corps { padding: var(--s-4) var(--s-5); }
  .fenetre--cgv .texte-cgv p, .fenetre--cgv .texte-cgv li { font-size: 15px; line-height: 1.55; }
  .fenetre--cgv .fenetre__rappel { display: block; margin-top: var(--s-4); color: var(--muted); }
  .fenetre--cgv .fenetre__pied { padding: var(--s-3) var(--s-5) calc(var(--s-3) + env(safe-area-inset-bottom)); gap: 0; }
  .fenetre--cgv .fenetre__boutons .btn { min-height: 50px; }
  .ecran-pause__boutons { flex-direction: column; width: 100%; }
  .ecran-pause__boutons .btn { width: 100%; }
  .contact-formule { padding: var(--s-5); }
}
@media (max-width: 379px) {
  .bande-jours { gap: 4px; }
  .bande-jours__liste { gap: 4px; }
  .jour__etat .mot-dispo { display: none; }
  /* COMPLET, FERMÉ, TERMINÉ, PAR TÉL. tiennent dans la case (R56) */
  .jour:disabled .jour__etat, .jour--explique .jour__etat { font-size: 9.5px; letter-spacing: 0; }
  .choix-formule { padding: var(--s-3) var(--s-4); }
  .barre-resa .btn { padding-inline: var(--s-4); }
}

/* Section Horaires de l'accueil : fermetures et ouvertures spéciales des 14 prochains jours (R52) */
.jours-particuliers { padding: var(--s-4) var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-md); }
.jours-particuliers h3 { margin: 0 0 var(--s-2); font-size: var(--t-body); font-weight: 600; }
.jours-particuliers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.jours-particuliers li { font-size: var(--t-small); }
.jours-particuliers li span { display: block; color: var(--muted); }
.jours-particuliers__ferme strong { color: #f5a524; }

/* ---------------------------------------------------------------- pages de texte (légales, annulation, 404) */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--t-h3); font-weight: var(--display-weight); margin: var(--s-8) 0 var(--s-3); }
.prose h3 { font-size: var(--t-card); font-weight: 500; margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose li { line-height: 1.7; color: var(--ink); }
.prose p + p { margin-top: var(--s-3); }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--s-2); margin: var(--s-3) 0; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0; font-size: var(--t-small); }
.prose th, .prose td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------------------------------------------------------------- pied de page */
.footer__reseaux { display: flex; gap: var(--s-4); }
.footer__reseaux a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- bannière cookies (mécanisme gz_cookies conservé) */
.gz-cookie-banner { position: fixed; z-index: 40; left: var(--s-4); right: var(--s-4); bottom: calc(var(--s-4) + var(--bar)); margin-inline: auto;
  max-width: 560px; padding: var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--p-surface); color: var(--ink); display: none; }
.gz-cookie-banner.visible { display: block; }
.gz-cookie-banner p { font-size: var(--t-small); line-height: 1.5; }
.gz-cookie-banner .btn-row { margin-top: var(--s-4); }

/* ---------------------------------------------------------------- ajustements du kit pour ce site */
/* « GameZone Arena » (14 caractères) est plus long que les noms prévus par le kit : sans ça il déborde à droite */
.close__word { font-size: clamp(32px, 10vw, 144px); }
/* la photo du set Warhammer (fond blanc) */
.produit-vitrine { aspect-ratio: 1 / 1; background: #ffffff; border-radius: var(--r-lg); overflow: hidden; }
.produit-vitrine > img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 639px) {
  /* deux cartes de jeu par ligne sur téléphone (165 px chacune, comme le prévoit le kit) */
  .grid > .carte-jeu.span-3, .grid > .carte-jeu.span-4 { grid-column: span 6; }
  .carte-jeu h3 { font-size: var(--t-body); }
  .carte-jeu__infos { font-size: var(--t-label); }
  /* bannière cookies compacte : texte court, deux boutons côte à côte */
  .gz-cookie-banner { padding: var(--s-4); left: var(--s-3); right: var(--s-3); }
  .gz-cookie-banner .btn-row { flex-direction: row; margin-top: var(--s-3); }
  .gz-cookie-banner .btn-row > .btn { flex: 1 1 0; width: auto; }
  .gz-cookie-banner .btn-row > .btn--secondary { border-color: var(--line-strong); text-decoration: none; }
}

/* tablette : deux cartes de jeu par ligne aussi (sans ça, une carte par ligne : la section fait 4 à 6 écrans) */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid > .carte-jeu.span-3, .grid > .carte-jeu.span-4 { grid-column: auto / span 6; }
}
/* 1024-1279 : le kit met les cartes span-4 à imagées deux par ligne et la dernière, impaire, en pleine
   largeur ; pour les trois jeux « bientôt » on garde trois par ligne (sinon une image de 940 px de haut) */
@media (min-width: 1024px) and (max-width: 1279px) { .grid > .carte-jeu.span-4 { grid-column: auto / span 4 !important; } }
/* le nom en géant du pied de page : interligne du kit (.86) trop serré, le haut des lettres était rogné */
.close__word { line-height: 1.02; padding-top: .04em; }
@media (max-width: 639px) { .footer__legal { flex-direction: column; align-items: flex-start; gap: var(--s-3); } }
/* débordements sur téléphone : la ligne de crédits et les coordonnées passent à la ligne au lieu
   d'élargir la page (à 390 px, la page faisait 533 px de large) */
.footer__legal > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.footer__legal .credits { flex-basis: auto; white-space: normal; }
.footer__col li { overflow-wrap: anywhere; }
.close__word { padding-bottom: .1em; }
/* très petits écrans (320 px) : le nom à côté du logo réduit pour laisser la place au bouton menu */
@media (max-width: 379px) { .nav__logo { font-size: 17px; gap: var(--s-1); } .nav__logo img { height: 22px; } }
/* petit portable (1024-1199) : six liens + « Réserver une session » ne tiennent pas, « Infos » passait sous le
   bouton. Le bouton devient « Réserver » (la suite reste lue par les lecteurs d'écran) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__btn-suite { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* /reserver n'a pas la barre d'actions du bas : sur téléphone et tablette, le bouton « Réserver une session »
   de la barre du haut (la page où l'on est déjà) ne reste que dans le menu, sinon il débordait à 320 px */
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions:has(> .btn[aria-current="page"]) { display: none; }
  .nav:not(.is-open) .nav__actions:has(> .btn[aria-current="page"]) + .nav__toggle { margin-left: auto; }
}
/* Smartphone, toutes les pages (R56) : la barre du haut n'a que le logo et le bouton ☰, toujours visible.
   On réserve avec la barre d'actions du bas et le bouton « Réserver une session » en bas du menu. PC inchangé. */
@media (max-width: 639px) {
  .nav:not(.is-open) .nav__actions { display: none; }
  .nav:not(.is-open) .nav__toggle { margin-left: auto; }
}

/* grand écran : l'encart du héros remonte (il finissait presque au bas de l'écran, collé à la section suivante) */
@media (min-width: 1024px) { .hero.hero--photo { --hpadb: 200px; } }

/* ---------------------------------------------------------------- débordements horizontaux (téléphone)
   Sur un vrai téléphone, un seul élément plus large que l'écran élargit toute la page : elle « glisse »
   sur le côté pendant le défilement (l'overflow-x: clip du kit sur body ne l'empêche pas sur mobile). */
/* pied de page : la colonne « Venir » prend toute la largeur, l'email tient sur une ligne sans être coupé */
@media (max-width: 639px) {
  .footer .footer__col--venir { grid-column: 1 / -1; order: 1; }
  .footer .footer__col:not(.footer__col--venir) { order: 2; }
  .footer__col--venir li { overflow-wrap: normal; }
}
/* listes nom / valeur (.rows) qui contiennent une longue valeur (email) : la valeur passe sous le nom */
@media (max-width: 639px) {
  .rows--empile > li { grid-template-columns: minmax(0, 1fr); }
  .rows--empile > li > * { grid-column: 1; grid-row: auto; text-align: left; max-width: none; }
}
/* tableau des pages de texte : sur téléphone, une fiche par ligne (étiquette reprise de l'en-tête) */
@media (max-width: 639px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prose td { padding: var(--s-2) 0; border-bottom: 0; }
  .prose tr { padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
  .prose td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: var(--t-label); }
}
/* photo du héros Warhammer : carrée et à hauteur du héros, elle dépassait sa colonne de 8 px à droite */
.produit-vitrine { max-width: 100%; }

/* ---------------------------------------------------------------- animations (static/js/animations.js)
   Ajoutées en plus du kit, volontairement discrètes. Tout est sous prefers-reduced-motion: no-preference :
   un visiteur qui a demandé moins d'animations voit le site immobile. */
@media (prefers-reduced-motion: no-preference) {
  /* apparition au défilement : la classe n'est posée que par le script, sur ce qui est sous l'écran */
  .apparition { opacity: 0; transform: translateY(20px); }
  .apparition.est-visible {
    opacity: 1; transform: none;
    transition: opacity 650ms var(--m-ease-enter), transform 650ms var(--m-ease-enter);
    transition-delay: var(--apparition-delai, 0ms);
  }

  /* changement de page : fondu court entre deux pages du site (View Transitions, Chrome, Edge, Safari 18) ;
     la barre de navigation ne bouge pas, seul le contenu change */
  @view-transition { navigation: auto; }
  .nav { view-transition-name: barre-nav; }
  .actionbar { view-transition-name: barre-actions; }
  ::view-transition-old(root) { animation: 160ms ease-out both vt-sortie; }
  ::view-transition-new(root) { animation: 260ms var(--m-ease-enter) both vt-entree; }
  @keyframes vt-sortie { to { opacity: 0; } }
  @keyframes vt-entree { from { opacity: 0; transform: translateY(8px); } }

  /* tunnel de réservation : chaque écran (coordonnées, pause, formule sur contact) glisse en place,
     les créneaux arrivent l'un après l'autre, la bande de jours glisse dans le sens des flèches */
  #resa-app[data-ecran="coord"] #ecran-coordonnees, #resa-app[data-ecran="pause"] .ecran-pause,
  .contact-formule:not([hidden]), .page-statut { animation: resa-etape 420ms var(--m-ease-enter) both; }
  @keyframes resa-etape { from { opacity: 0; transform: translateY(12px); } }
  .creneaux > .creneau { animation: resa-creneau 320ms var(--m-ease-enter) both; animation-delay: calc(min(var(--i, 0), 16) * 14ms); }
  @keyframes resa-creneau { from { opacity: 0; transform: scale(.94); } }
  .bande-jours__liste[data-sens="suiv"] > .jour { animation: jours-suiv 280ms var(--m-ease-enter) both; }
  .bande-jours__liste[data-sens="prec"] > .jour { animation: jours-prec 280ms var(--m-ease-enter) both; }
  @keyframes jours-suiv { from { opacity: 0; transform: translateX(16px); } }
  @keyframes jours-prec { from { opacity: 0; transform: translateX(-16px); } }
  .fenetre[open] { animation: fenetre 260ms var(--m-ease-enter) both; }
  @keyframes fenetre { from { opacity: 0; transform: translateY(16px) scale(.98); } }
  @media (max-width: 767px) { .fenetre--cgv[open] { animation: panneau 300ms var(--m-ease-enter) both; }
    @keyframes panneau { from { transform: translateY(100%); } } }
  .jour--chargement .jour__etat, .creneaux--chargement .creneau { animation: squelette 1.2s ease-in-out infinite alternate; }
  @keyframes squelette { to { opacity: .45; } }
}

/* ---------------------------------------------------------------- promo boutique (réglage de l'admin) */
.promo { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-3); margin: 0; padding: var(--s-3) var(--s-4);
         border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent);
         border-radius: var(--r-md); font-weight: 500; max-width: 100%; }
.promo__etiquette { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 10px; font-size: var(--t-small); font-weight: 600; }
.hero-copy .promo { margin: var(--s-4) 0; }

/* ---------------------------------------------------------------- accès (Venir à l'arène) */
.acces { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.acces li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-small); color: var(--ink); }

/* ---------------------------------------------------------------- choix de l'appli d'itinéraire (téléphone, js/itineraire.js) */
.itineraire-choix { margin: auto auto 0; width: 100%; max-width: 480px; border: 0; padding: var(--s-5) var(--s-4) calc(var(--s-4) + env(safe-area-inset-bottom));
                    border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface); color: var(--ink); }
.itineraire-choix::backdrop { background: rgba(0, 0, 0, .55); }
.itineraire-choix__titre { margin: 0 0 var(--s-4); text-align: center; color: var(--muted); font-size: var(--t-small); }
.itineraire-choix__liste { display: grid; gap: var(--s-2); }
.itineraire-choix__liste a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 var(--s-4);
                             background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink);
                             font-weight: 500; text-decoration: none; background-image: none; }
.itineraire-choix__liste a:active { background: color-mix(in srgb, var(--accent) 18%, var(--bg)); }
.itineraire-choix__fermer { display: block; width: 100%; min-height: 48px; margin-top: var(--s-3); background: none; border: 0; color: var(--muted); font: inherit; }


/* ---------------------------------------------------------------- haut de toutes les pages (lot 4)
   .haut-site (fixe, tout en haut) : bandeau d'annonce « Important » (R43, orange, refermable) puis la bande
   d'infos (R19, ordinateur seulement). Sa hauteur est posée dans --haut-sup par un petit script : le menu se place
   dessous et la page commence après eux, sans saut. */
.haut-site { position: fixed; inset: 0 0 auto 0; z-index: 51; }
/* Lot 6 (R82) : bandeau des sites de test (vert = test v1, orange = test v2), jamais en production */
.bandeau-env { margin: 0; padding: 4px 16px; font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: 0.01em;
               text-align: center; color: #fff; }
.bandeau-env--v1 { background: #15803d; }
.bandeau-env--v2 { background: #b45309; }
.nav { top: var(--haut-sup, 0px); }
main { padding-top: var(--haut-sup, 0px); }
:root { --haut-fixe: calc(var(--nav) + var(--haut-sup, 0px)); }
.annonce-bandeau { color: #1a1205; font-size: var(--t-small); background: linear-gradient(90deg, #f5b84b, #f59e0b); }
.annonce-bandeau__barre { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding-block: 6px; }
.annonce-bandeau__barre p { flex: 1; margin: 0; font-weight: 500; text-wrap: pretty; }
.annonce-bandeau a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.annonce-bandeau strong { font-weight: 700; }
.annonce-bandeau__fermer { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px;
  border: 0; border-radius: var(--r-sm); background: rgb(0 0 0 / .1); color: inherit; cursor: pointer; }
.annonce-bandeau__fermer:hover { background: rgb(0 0 0 / .18); }
.annonce-bandeau__fermer:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.bande-infos { display: none; background: #070b10; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.bande-infos__ligne { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px var(--s-4); min-height: 32px; padding-block: 4px; }
.bande-infos a { color: var(--ink); text-decoration: none; }
.bande-infos a[data-itineraire] { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bande-infos a:hover { color: var(--accent); }
.bande-infos__statut::before, .pied__statut::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--muted); vertical-align: 1px; }
.bande-infos__statut[data-ouvert="oui"]::before, .pied__statut[data-ouvert="oui"]::before { background: #3ecf8e; }
@media (min-width: 1024px) { .bande-infos { display: block; } }
/* « 📍 Nous trouver » : toujours en pastille (R19), même dans le menu ☰ */
.nav__link--trouver { padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 999px; }
.nav__link--trouver[aria-current="page"] { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.nav.is-open .nav__link--trouver { display: inline-flex; align-self: flex-start; }

/* ---------------------------------------------------------------- bas de page (R47, R58, R02) */
.pied { padding: var(--s-9) 0 calc(var(--s-6) + var(--barre-bas, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.pied__colonnes { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); }
.pied__phrase { margin: var(--s-4) 0 0; color: var(--muted); font-size: var(--t-small); max-width: 34ch; }
.pied__col h2 { margin: 0 0 var(--s-3); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pied__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-size: var(--t-small); }
.pied__col a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.pied__col a:hover { color: var(--accent); }
.pied__reseaux a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 32px; }
.pied__sigle { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 6px; font-size: 9px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
/* R74 (lot 5) : vrais logos des réseaux (SVG en currentColor), 16 px dans un carré de 30 px */
.pied__reseaux .pied__sigle { width: 30px; height: 30px; flex: none; color: var(--ink); }
.pied__reseaux .pied__sigle svg { width: 16px; height: 16px; display: block; }
.pied__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.pied__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.pied__legal a { color: var(--muted); text-decoration: none; }
.pied__legal a:hover { color: var(--ink); }
@media (max-width: 1023px) { .pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 639px) { .pied__colonnes { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } .pied__bas { flex-direction: column; } }

/* ---------------------------------------------------------------- barre du bas sur smartphone (R19) */
.barre-bas { display: none; }
@media (max-width: 639px) {
  :root:has(#barre-bas) { --barre-bas: calc(72px + env(safe-area-inset-bottom)); }
  .barre-bas { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: var(--s-3); padding: var(--s-3) var(--gut, 16px) calc(var(--s-3) + env(safe-area-inset-bottom)); background: var(--bg);
    border-top: 1px solid var(--line); transition: transform 220ms ease, visibility 0s; }
  .barre-bas .btn { width: 100%; height: 48px; justify-content: center; }
  .barre-bas.est-cachee, .barre-bas.est-clavier { transform: translateY(110%); visibility: hidden; transition: transform 220ms ease, visibility 0s 220ms; }
}
@media (max-width: 639px) and (prefers-reduced-motion: reduce) { .barre-bas, .barre-bas.est-cachee { transition: none; } }
/* Annonce dans une page (haut de l'accueil, haut de la page Réserver) */
.annonce { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); max-width: 60ch; margin: 0 0 var(--s-5);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font-weight: 500; color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.annonce--important { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.annonce__etiquette { padding: 2px 10px; border-radius: 999px; font-size: var(--t-small); font-weight: 600;
  background: var(--accent-ink); color: var(--accent); }
.annonce__lien { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.resa .annonce { margin-bottom: var(--s-4); }

/* =====================================================================
   Recette lot 4 : Autres pages (R42) et blocs « gz- » du HTML libre
   ===================================================================== */
.apercu-brouillon { margin: 0; padding: var(--s-2) var(--s-4); background: #f5b84b; color: #0b1118; text-align: center; font-size: var(--t-small); font-weight: 600; }
.page-perso__debut--fond { position: relative; isolation: isolate; }
.page-perso__debut--fond::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(11 17 24 / .94), rgb(11 17 24 / .78) 55%, rgb(11 17 24 / .6)), var(--fond-page) center / cover no-repeat; }
.page-perso__sous-titre { margin: var(--s-2) 0 0; color: var(--muted); font-size: var(--t-lead); }
.page-perso__texte { margin-top: var(--s-4); font-size: var(--t-lead); color: var(--ink); max-width: 60ch; }
.page-perso__texte > * { margin: 0; }
.page-perso__texte > * + * { margin-top: var(--s-3); }
.page-perso__texte p:has(> .gz-pastille:first-child) { display: block; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font-size: var(--t-body); }
.page-perso__texte .gz-petit, .gz-petit { color: var(--muted); font-size: var(--t-small); }
.page-perso__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-perso__infos { padding-block: var(--s-6) 0; }
.page-perso__infos .regles { margin-top: 0; }
.page-perso__bas { padding-top: var(--s-8); }
.gz-pastille { display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 10px; margin-right: var(--s-1);
  font-size: var(--t-small); font-weight: 600; line-height: 1.6; vertical-align: 1px; }
.gz-contenu > * { margin: 0; }
.gz-contenu > * + * { margin-top: var(--s-5); }
.gz-contenu > .gz-titre, .gz-contenu > h2 { margin-top: var(--s-10); }
.gz-contenu > :first-child { margin-top: 0; }
.gz-titre span, .gz-contenu h2 span { color: var(--muted); }
.gz-contenu p, .gz-contenu li { max-width: 70ch; }
.gz-contenu ul, .gz-contenu ol { padding-left: 1.2em; }
.gz-contenu ul { list-style: disc; }
.gz-contenu a:not([class]) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.gz-contenu img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.gz-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.gz-cols.gz-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gz-card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.gz-card > * { margin: 0; }
/* image en tête de carte : entière (logo d'une gamme comme photo), sur un fond sombre */
.gz-card > img:first-child { width: calc(100% + 2 * var(--s-5)); max-width: none; margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) var(--s-2);
  aspect-ratio: 16 / 7; object-fit: contain; padding: var(--s-4); background: var(--bg); border-radius: 0; }
.gz-card small { color: var(--muted); font-size: var(--t-small); }
.gz-card h2 { font-size: var(--t-h3); }
.gz-card h3 span, .gz-card h2 span { font-size: var(--t-body); font-weight: 400; color: var(--muted); }
.gz-card p { color: var(--muted); }
.gz-produit { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-1) var(--s-3); align-items: center; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.gz-produit > img { grid-row: span 3; width: 64px; height: 64px; object-fit: contain; background: #ffffff; border-radius: var(--r-sm); }
.gz-produit > span { grid-column: 2; font-weight: 500; color: var(--ink); }
.gz-produit > p { grid-column: 2; margin: 0; font-size: var(--t-small); }
.gz-produit > b { grid-column: 3; grid-row: 1; font-size: var(--t-card); color: var(--ink); white-space: nowrap; }
.gz-produit > s { grid-column: 3; grid-row: 2; justify-self: end; color: var(--muted); }
.gz-prix b { font-size: var(--t-card); }
.gz-prix s { margin-left: var(--s-2); color: var(--muted); }
.gz-infos { display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-1) var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.gz-infos dt { color: var(--muted); font-size: var(--t-small); }
.gz-infos dd { margin: 0; }
.gz-bouton { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-5); border-radius: var(--r-btn, var(--r-md));
  background: var(--action); color: var(--action-ink); font-weight: 600; text-decoration: none; }
.gz-bouton:hover { filter: brightness(1.08); }
.video-clic.gz-youtube { background: var(--surface); }
@media (max-width: 767px) {
  .gz-cols, .gz-cols.gz-3 { grid-template-columns: minmax(0, 1fr); }
  .gz-infos { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
  .gz-infos dd + dt { margin-top: var(--s-3); }
}
/* Résumé d'une Autre page sur l'accueil (R48) : son début de page dans un encadré */
.page-resume { display: grid; gap: var(--s-6); align-items: center; padding: var(--s-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.page-resume--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.page-resume h2 { margin: 0; }
.page-resume .page-perso__media { margin: 0; }
@media (max-width: 1023px) { .page-resume--media { grid-template-columns: minmax(0, 1fr); } .page-resume { padding: var(--s-5); } }

/* ---- Lot 4 : pages /tarifs (R44, R20) et /horaires (R57, R46) ---- */
.page-titre { padding-block: var(--s-9) var(--s-4); }
.page-titre__h { font-size: var(--t-h1); margin: 0; }
.page-titre__h .muted { color: var(--muted); }
main > section.page-bloc { padding-block: var(--s-6); }
main > section.page-titre + section.page-bloc { padding-top: 0; }
.page-bloc + .page-bloc { padding-top: var(--s-4); }
.cartes-formules { align-items: stretch; }
.carte-formule { display: flex; flex-direction: column; height: 100%; }
.carte-formule h3 { margin: 0; }
.carte-formule .formule__unite { margin-left: var(--s-2); }
.carte-formule__contact { align-self: flex-start; padding: 1px 10px; border: 1px solid #f5b84b; border-radius: 999px; color: #f5b84b; font-size: var(--t-small); }
.carte-formule__detail { margin: 0; color: var(--muted); font-size: var(--t-small); }
.carte-formule__description { padding-top: var(--s-3); border-top: 1px solid var(--line); color: var(--ink); }
.carte-formule__description > * { margin: 0; }
.carte-formule__description a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.carte-formule__lien { margin: auto 0 0; padding-top: var(--s-3); }
.rows__precision { display: block; color: var(--muted); font-size: var(--t-small); font-weight: 400; }
.horaires-titre { margin: 0; font-size: var(--t-h3); }
.horaires-titre .muted { color: var(--muted); font-weight: 400; }
.jours-horaires { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-3); list-style: none; margin-inline: 0; margin-bottom: 0; padding: 0; }
.jour-horaire { display: flex; flex-direction: column; gap: 2px; min-height: 76px; padding: var(--s-3) var(--s-3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.jour-horaire__nom { color: var(--muted); font-size: var(--t-small); }
.jour-horaire__heures { font-weight: 500; white-space: nowrap; }
.jour-horaire__precision { color: #f5b84b; font-size: var(--t-small); }
.jour-horaire--ferme .jour-horaire__heures { color: var(--muted); font-weight: 400; }
/* R78 (lot 5) : le jour même sans cadre (un cadre carré était rogné par les coins arrondis de la liste) :
   fond bleuté, barre de 4 px à gauche, gras, pastille « Aujourd'hui » */
.jour-horaire--aujourdhui { background: rgb(72 152 211 / .16); box-shadow: inset 4px 0 0 #4898d3; font-weight: 600; }
.jour-horaire--aujourdhui .jour-horaire__nom { color: var(--ink); }
.jour-horaire__pastille { align-self: flex-start; margin-top: var(--s-1); padding: 2px 8px; border-radius: 999px; background: #4898d3;
  color: #0b1118; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.horaires-tete .horaires-sous { margin: var(--s-1) 0 0; color: var(--muted); font-size: var(--t-small); }
@media (max-width: 1023px) { .jours-horaires { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .jours-horaires { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .jour-horaire { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-3); min-height: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .jour-horaire:last-child { border-bottom: 0; }
  .jour-horaire__nom { flex: 0 0 6.5rem; color: var(--ink); font-size: var(--t-body); }
  .jour-horaire__precision { flex: 1 1 100%; padding-left: calc(6.5rem + var(--s-3)); }
  .jour-horaire__pastille { order: 2; margin: 0 0 0 auto; align-self: center; }
  .jour-horaire__precision { order: 3; }
}
.dates-particulieres { padding: var(--s-4) var(--s-5); border: 1px solid rgb(245 184 75 / .45); border-radius: var(--r-md); background: rgb(245 184 75 / .07); }
.dates-particulieres h3 { margin: 0 0 var(--s-2); color: #f5b84b; font-size: var(--t-body); font-weight: 600; }
.dates-particulieres ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.regles.infos-pratiques { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
@media (max-width: 639px) { .regles.infos-pratiques { grid-template-columns: minmax(0, 1fr); } }

/* ---- Lot 4 : jeux (R45, R49) ---- */
.badge--bientot { background: #f5b84b; color: #0b1118; }
.haut-jeux { min-height: 0; }
.haut-jeux__texte h1 { margin: 0; max-width: 14ch; }
.haut-jeux .page-perso__texte { color: var(--muted); }
/* barre de pastilles des sections : collée sous le menu pendant le défilement ; défile de côté sur téléphone */
.pastilles-sections { position: sticky; top: var(--haut-fixe, var(--nav)); z-index: 20; background: var(--bg); border-block: 1px solid var(--line); }
.pastilles-sections ul { display: flex; gap: var(--s-2); margin: 0; padding: var(--s-3) 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pastilles-sections ul::-webkit-scrollbar { display: none; }
.pastilles-sections a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-4); border: 1px solid var(--line-strong, var(--line)); border-radius: 999px;
  color: var(--ink); text-decoration: none; white-space: nowrap; font-size: var(--t-small); }
.pastilles-sections a:hover, .pastilles-sections a:focus-visible { border-color: var(--accent); }
.pastilles-sections a.pastille--bientot { border-color: rgb(245 184 75 / .6); color: #f5b84b; }
.section-jeux { scroll-margin-top: calc(var(--haut-fixe, var(--nav)) + 72px); }
.galerie--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .galerie--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .galerie--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } }
.video-clic > video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.fiche-jeu-haut { background: linear-gradient(180deg, var(--surface), var(--bg)); }
.fiche-jeu-haut .badge { align-self: flex-start; }
.fiche-jeu-haut h1 { margin: var(--s-3) 0 0; }
.mt-voir-tout { margin-top: var(--s-5); }
/* Haut de page « court » (maquettes du lot 4 : /jeux, fiche jeu, Autres pages) : hauteur = contenu,
   pas un écran entier comme le héros de l'accueil */
main > .hero.hero--court { height: auto; min-height: 0; padding: calc(var(--nav) + var(--haut-bande, 0px) + var(--s-9)) 0 var(--s-9); }
main > .hero.hero--court > .wrap { height: auto; }
.hero--court .hero-split > .hero-visual { height: auto; aspect-ratio: 16 / 10; }
@media (max-width: 639px) {
  main > .hero.hero--court { min-height: 0; padding-bottom: var(--s-7); }
  .hero--court .hero-split > .hero-visual, .hero--court .fiche-jeu-haut__video { margin-top: var(--s-5); }
}

/* ---- Lot 4 : page /nous-trouver (R19) ---- */
.nous-trouver { --vert: #22c55e; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.nous-trouver__plan { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.nous-trouver__plan img { display: block; width: 100%; height: auto; }
.nous-trouver__infos { display: grid; gap: var(--s-4); }
.carte-trouver { margin: 0; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.carte-trouver h2 { margin: 0; font-size: var(--t-h3); }
.carte-trouver address { margin: var(--s-2) 0 var(--s-4); font-style: normal; color: var(--muted); }
.carte-trouver__etiquette { font-size: 12px !important; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3) !important; }
.nous-trouver__itineraires { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.nous-trouver__itineraires .btn { justify-content: center; padding-inline: var(--s-2); }
.nous-trouver__contacts { display: grid; gap: var(--s-2); }
.contact-ligne { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.contact-ligne:hover { border-color: var(--accent); }
.contact-ligne svg { width: 22px; height: 22px; flex: none; }
.contact-ligne span { display: grid; }
.contact-ligne small { color: var(--muted); font-size: var(--t-small); overflow-wrap: anywhere; }
.contact-ligne--whatsapp { border-color: rgb(37 211 102 / .5); background: rgb(37 211 102 / .08); }
.contact-ligne--whatsapp strong { color: #25d366; }
.nous-trouver__reperes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.nous-trouver__reperes li { display: grid; gap: var(--s-1); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font-size: var(--t-small); }
.nous-trouver__reperes span { font-size: 1.3rem; }
.nous-trouver__statut { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-2); }
@media (max-width: 1023px) { .nous-trouver { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .nous-trouver__reperes { grid-template-columns: minmax(0, 1fr); } }

/* ---- Lot 4 : accueil (R48) ---- */
.accueil-texte > * { margin: 0; }
.accueil-texte > * + * { margin-top: var(--s-2); }
.hero__text .btn-row { margin-top: var(--s-6); }
.resume h2 { margin: 0; }
.resume + .resume { padding-top: var(--s-4); }
/* Lot 8 : « Suis-nous » de l'accueil, une carte par réseau, logo + nom (4 sur une ligne sur ordinateur, les unes sous les autres sur téléphone) */
.reseaux-cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-3); }
.reseau-carte { display: flex; align-items: center; gap: var(--s-3); min-height: 68px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line);
                border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-decoration: none; }
.reseau-carte__logo { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-md);
                      background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--ink); }
.reseau-carte__logo svg { width: 22px; height: 22px; display: block; }
.reseau-carte__nom { font-size: 1.05rem; }
.reseau-carte__fleche { margin-left: auto; color: var(--muted); }
@media (hover: hover) {
  .reseau-carte:hover { border-color: var(--accent); }
  .reseau-carte:hover .reseau-carte__fleche { color: var(--accent); }
}
.reseau-carte:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.page-resume .page-perso__media { position: relative; aspect-ratio: 16 / 10; height: auto; border-radius: var(--r-md); overflow: hidden; }
.page-resume .page-perso__media > .frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .nav:not(.is-open) .nav__toggle { margin-left: auto; } }
/* Boutons secondaires en contour (barre du bas, itinéraires de Nous trouver) */
.barre-bas .btn--secondary, .nous-trouver__itineraires .btn--secondary {
  border: 1px solid var(--line-strong, rgb(242 245 248 / .22)); border-radius: var(--r-btn, var(--r-md)); background: transparent;
  color: var(--ink); text-decoration: none; justify-content: center; }
.barre-bas .btn--secondary::after, .nous-trouver__itineraires .btn--secondary::after { content: none; }
.nous-trouver__itineraires .btn { min-height: 44px; font-size: var(--t-small); white-space: nowrap; }
@media (max-width: 380px) { .nous-trouver__itineraires { grid-template-columns: minmax(0, 1fr); } }
html[data-buttons] .barre-bas .btn--secondary, html[data-buttons] .nous-trouver__itineraires .btn--secondary {
  border: 1px solid var(--line-strong, rgb(242 245 248 / .22)); background: transparent; text-decoration: none; padding-inline: var(--s-3); }
.nav:not(.is-open) .nav__actions + .nav__toggle { margin-left: auto; }
@media (min-width: 1024px) { .nav:not(.is-open) .nav__actions + .nav__toggle { margin-left: 0; } }

/* ---------------------------------------------------------------- R70 (lot 5) : pas de zoom au double appui
   Safari (iPhone) zoome quand on appuie vite deux fois sur un bouton (− / + des joueurs, flèches des jours…).
   « manipulation » retire seulement ce zoom-là : le zoom à deux doigts reste possible (accessibilité), le
   viewport n'est pas bloqué. Et tout champ fait au moins 16 px sur téléphone, sinon Safari zoome à la saisie. */
a, button, label, summary, select, input, textarea, [role="button"], [role="radio"], [role="option"], [tabindex],
.btn, .jour, .creneau, .choix-formule, .pastille-joueurs, .carte-formule, .video-clic, .frame { touch-action: manipulation; }
@media (max-width: 767px) {
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: max(16px, 1em); }
}

/* ---------------------------------------------------------------- R73 (lot 5) : média de droite des pages perso entier
   Le cadre imposait 16:10 et la vidéo (16:9) était rognée (« OURNOIS VR »). Le cadre prend maintenant le format
   réel de la vidéo ou de l'image, rien n'est coupé ; seul le fond décoratif du bandeau reste recadré. */
.hero--court .hero-split > .page-perso__media,
.page-resume .page-perso__media { aspect-ratio: auto; height: auto; min-height: 0; flex: none; align-self: center; display: block; background: transparent; }
.page-perso__media::before { content: none; }
.page-perso__media > :is(.frame__img, video) {
  position: static; inset: auto; display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain;
}
@media (max-width: 1023px) {
  .hero--court .hero-split > .page-perso__media { margin-top: var(--s-5); width: 100%; }
}
/* R73 : sur téléphone, sous la vidéo, l'espace normal entre deux blocs (au lieu d'environ 140 px) */
@media (max-width: 639px) {
  main > .hero.hero--court.page-perso__debut { padding-bottom: var(--s-5); }
  main > .page-perso__debut + :is(.page-perso__infos, .page-perso__bas) { padding-top: var(--s-5); }
}

/* ---------------------------------------------------------------- R79 (lot 5) : espace entre un titre et son cadre
   Une seule règle : au moins 16 px entre un titre de section et le tableau, la liste ou la carte qui le suit
   (« Période scolaire » touchait ses horaires : la liste annulait la marge). */
:is(h2, h3, .horaires-tete) + :is(ol, ul, table, .jours-horaires, .carte, .card, .frame, .regles, .gz-cols, .gz-card) { margin-top: var(--s-4); }
