/* Polices du site, hébergées avec lui (Oswald et Questrial, licence SIL Open Font License), plutôt que chargées chez Google. */
/* Oswald, latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/polices/oswald-latin-ext-5930b85b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald, latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/polices/oswald-latin-c27e7c11.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Oswald, latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/polices/oswald-latin-ext-5930b85b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald, latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/polices/oswald-latin-c27e7c11.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Oswald, latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/polices/oswald-latin-ext-5930b85b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald, latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/polices/oswald-latin-c27e7c11.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Questrial, latin-ext */
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/polices/questrial-latin-ext-57ee6e62.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Questrial, latin */
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/polices/questrial-latin-3a4c18c9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Maquettes du Circuit de Rumilly : base commune aux trois styles (charte du site actuel). */
:root { --noir: #0f0f0f; --noir-2: #171717; --noir-3: #262626; --jaune: #ffec0f; --blanc: #ffffff;
        --gris: #c4c4c4; --gris-clair: #e2e2e2; --vert: #3ddc84; --rouge: #ff6b5e; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { background: var(--noir); color: var(--blanc); }
/* Arrivée sur une section par un lien (groupes.html#anniversaires) : son titre ne passe pas sous l'en-tête fixe (24/11/2026). */
main [id] { scroll-margin-top: 100px; }
@media (max-width: 640px) { main [id] { scroll-margin-top: 80px; } }
/* Texte plus grand (revue de Jessica du 25/11/2026 : les parents, avec leurs lunettes, le lisaient mal) : corps à 20 px,
   textes secondaires à 18 ou 16 px, étiquettes à 15 px. */
body { font-family: Questrial, system-ui, sans-serif; font-size: 20px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
.titre { font-family: Oswald, Impact, sans-serif; text-transform: uppercase; font-weight: 600; letter-spacing: .01em; line-height: 1.05; }
.conteneur { width: min(1240px, 100% - 48px); margin: 0 auto; }
.evitement { position: absolute; left: -9999px; top: 0; }
.evitement:focus { left: 16px; top: 16px; z-index: 100; background: var(--jaune); color: var(--noir); padding: 10px 14px; }
.hors-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }

/* Bandeau de maquette, tout en haut */
.maquette { background: #1f1d06; color: var(--jaune); font-size: 14px; border-bottom: 1px solid #3a3609; }
.maquette .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; min-height: 36px; flex-wrap: wrap; padding: 4px 0; }
.maquette a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Boutons et pastilles */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 16px;
  white-space: nowrap; border: 2px solid var(--jaune); cursor: pointer; background: none; text-align: center; }
.bouton.plein { background: var(--jaune); color: var(--noir); }
.bouton.creux { color: var(--jaune); }
.bouton.noir { background: var(--noir); color: var(--jaune); border-color: var(--noir); }
.bouton.noir-creux { color: var(--noir); border-color: var(--noir); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.pastille { display: inline-block; align-self: flex-start; background: var(--jaune); color: var(--noir); font-size: 15px; font-weight: 700;
  padding: 3px 10px; white-space: nowrap; line-height: 1.4; }
.pastille-offre { background: var(--blanc); }

/* Sections */
.sec { padding: 64px 0; }
.sec-gris { background: var(--noir-2); }
.sec-jaune { background: var(--jaune); color: var(--noir); }
.sec-tete { margin-bottom: 26px; max-width: 72ch; }
.sec-titre { font-size: 40px; }
.sec-intro { color: var(--gris); margin-top: 10px; }
.sec-jaune .sec-intro { color: #333; }

/* Cartes */
.cartes { display: grid; gap: 18px; }
.cartes-1 { grid-template-columns: minmax(0, 1fr); }
.cartes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cartes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.carte { display: flex; flex-direction: column; min-width: 0; }
.carte-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Les photos des karts de Sodikart : le kart entier sur son fond blanc, jamais recadré (cartes et encart du baby kart) */
.carte-img[src*="sodikart-"], .encart-img[src*="sodikart-"], .carte-img[src*="kart-subaru"] { object-fit: contain; background: #fff; }
.carte-corps { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.carte-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 600; font-size: 24px; line-height: 1.15; white-space: nowrap; }
.carte-texte { color: var(--gris); font-size: 18px; }
.carte-lignes { display: flex; flex-direction: column; gap: 4px; font-size: 18px; color: var(--gris-clair); }
.carte-lignes li { padding-left: 16px; position: relative; }
.carte-lignes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--jaune); }
.carte-prix { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.prix-ligne { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.carte-prix b { font-family: Oswald, sans-serif; font-weight: 600; font-size: 32px; color: var(--jaune); white-space: nowrap; line-height: 1.1; }
.carte-prix s { color: var(--gris); font-size: 18px; white-space: nowrap; }
.prix-detail { color: var(--gris); font-size: 16px; }
.carte .bouton { margin-top: 12px; }
.carte-badge { width: 72px; height: 72px; object-fit: contain; }

/* Tableaux : deviennent des fiches sur téléphone */
.tableau-cadre { width: 100%; }
.tableau { width: 100%; border-collapse: collapse; font-size: 19px; }
.tableau th { text-align: left; font-family: Oswald, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 15px;
  color: var(--gris); padding: 0 12px 10px; border-bottom: 1px solid var(--noir-3); white-space: nowrap; }
.tableau td { padding: 14px 12px; border-bottom: 1px solid var(--noir-3); vertical-align: top; }
.tableau .n { text-align: right; white-space: nowrap; }
.tableau td:first-child { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 18px; }
.tableau + .cartes { margin-top: 26px; }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.etape { display: flex; gap: 16px; align-items: flex-start; }
.etape-num { flex: none; width: 52px; height: 52px; display: grid; place-items: center; font-family: Oswald, sans-serif; font-weight: 700;
  font-size: 26px; background: var(--jaune); color: var(--noir); }
.etape-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 21px; line-height: 1.2; margin-bottom: 4px; }
.etape p { color: var(--gris); font-size: 18px; }

/* Listes */
.liste { display: flex; flex-direction: column; gap: 8px; }
.liste li { padding-left: 20px; position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--jaune); }
.liste-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 20px; margin-bottom: 10px; }
.liste + .cartes, .liste + .boutons { margin-top: 26px; }

/* Bandeau d'appel */
.bandeau { background: var(--jaune); color: var(--noir); }
.bandeau .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; }
.bandeau h2 { font-size: 34px; }
.bandeau p { margin-top: 4px; }

/* Encart : bon à savoir, à venir */
/* Un encadré prend toute la largeur : le texte à gauche, les gestes à droite (David, 25/11/2026 : un encadré seul à 60 % de
   la largeur laissait « un trou vide énorme »). */
.encart { display: flex; gap: 22px 32px; align-items: center; justify-content: space-between; border: 2px solid var(--noir-3);
  background: var(--noir); padding: 24px 28px; }
.encart-texte { flex: 1 1 auto; min-width: 0; max-width: 820px; }
.encart-actions { flex: none; display: flex; flex-direction: column; gap: 10px; }
.encart-actions .bouton { min-width: 240px; }
.encart-img { width: 150px; height: 150px; object-fit: cover; flex: none; }
.encart-tag { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--jaune); }
.encart-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 24px; margin: 4px 0 6px; }
.encart p:not([class]) { color: var(--gris-clair); }

/* Emplacement d'un module à venir */
.module { border: 2px dashed var(--jaune); padding: 28px; }
.module-tag { display: inline-block; background: var(--jaune); color: var(--noir); font-weight: 700; font-size: 14px; padding: 3px 10px;
  text-transform: uppercase; letter-spacing: .06em; }
.module-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 28px; margin: 12px 0 6px; }
.module > p:not([class]) { color: var(--gris-clair); max-width: 72ch; }
.module-pas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.module-pas li { display: flex; align-items: center; gap: 10px; background: var(--noir); border: 1px solid var(--noir-3); padding: 14px; font-size: 18px; min-height: 64px; }
.module-num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--jaune); color: var(--jaune);
  font-family: Oswald, sans-serif; font-size: 16px; }

/* Formulaires de démonstration */
.formulaire { background: var(--noir-2); border: 1px solid var(--noir-3); padding: 28px; max-width: 880px; display: flex; flex-direction: column; gap: 18px; }
.sec-gris .formulaire { background: var(--noir); }
.form-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 26px; }
.form-tete p { color: var(--gris); }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ-large { grid-column: 1 / -1; }
.champ-nom { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; color: var(--gris-clair); }
.champ-nom em { font-style: normal; color: var(--gris); font-size: 15px; }
.champ input, .champ textarea { width: 100%; background: var(--noir); border: 1px solid #3a3a3a; padding: 12px 14px; font-size: 19px; min-height: 52px;
  border-radius: 0; appearance: none; }
.champ textarea { resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--jaune); }
.champ-manquant input, .champ-manquant textarea { border-color: var(--rouge); }
.puces { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.puces legend { font-size: 16px; color: var(--gris-clair); margin-bottom: 8px; }
.puce { position: relative; }
.puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid #3a3a3a; cursor: pointer; font-size: 18px; white-space: nowrap; }
.puce input:checked + span { border-color: var(--jaune); color: var(--jaune); }
.puce input:focus-visible + span { outline: 3px solid var(--jaune); outline-offset: 2px; }
.consentement { font-size: 16px; color: var(--gris); }
.form-erreur { border-left: 4px solid var(--rouge); background: #2a1513; padding: 12px 14px; font-size: 18px; }
.form-retour { border-left: 4px solid var(--vert); background: #10241a; padding: 12px 14px; font-size: 18px; }
.formulaire .bouton { align-self: flex-start; }

/* Image et texte côte à côte */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.duo + .duo { margin-top: 56px; }
.duo-inverse .duo-media { order: 2; }
.duo-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.duo-etiquette { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: 16px; color: var(--jaune); }
.duo-grand { font-family: Oswald, sans-serif; font-weight: 700; font-size: 72px; line-height: 1; color: var(--jaune); white-space: nowrap; }
.duo-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 28px; line-height: 1.1; margin: 8px 0 10px; }
.duo-texte > p:not([class]) { color: var(--gris-clair); }
.duo-texte .liste { margin-top: 16px; }
.duo-note { margin-top: 16px; color: var(--gris); font-size: 18px; }

/* Chiffres, avis, galerie */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chiffre { padding: 28px 20px; border-left: 1px solid var(--noir-3); display: flex; flex-direction: column; gap: 6px; }
.chiffre:first-child { border-left: 0; }
.chiffre .v { font-family: Oswald, sans-serif; font-weight: 600; font-size: 46px; color: var(--jaune); line-height: 1; white-space: nowrap; }
.chiffre .l { color: var(--gris); font-size: 18px; }
.avis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.avis-carte { background: var(--noir-2); border: 1px solid var(--noir-3); padding: 24px; display: flex; flex-direction: column; gap: 14px; justify-content: space-between; }
.avis-carte figcaption { color: var(--gris); font-size: 16px; }
.avis-mention { margin-top: 16px; color: var(--gris); font-size: 16px; }
.avis-mention a { color: var(--jaune); text-decoration: underline; text-underline-offset: 3px; }
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.galerie-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Tuiles vers les autres rubriques */
.tuiles { display: grid; gap: 14px; }
.tuiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tuiles-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tuile { position: relative; min-height: 220px; overflow: hidden; display: flex; align-items: flex-end; background: var(--noir-2); border: 1px solid var(--noir-3); min-width: 0; }
.tuile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.tuile-texte { position: relative; width: 100%; padding: 16px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.88) 55%); display: flex; flex-direction: column; min-width: 0; }
.tuile-texte b { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 22px; white-space: nowrap; font-weight: 600; }
.tuile-texte span { color: var(--gris-clair); font-size: 16px; }
.tuile:hover .tuile-img { opacity: .8; }

/* Agenda des courses, en lignes */
.agenda { display: flex; flex-direction: column; gap: 12px; }
.course { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto; align-items: center; gap: 20px; background: var(--noir-2);
  border: 1px solid var(--noir-3); padding: 14px 18px 14px 0; }
.course-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--noir-3); padding: 4px 0; }
.course-date .jour { font-size: 15px; color: var(--gris); }
.course-date .num { font-family: Oswald, sans-serif; font-weight: 700; font-size: 40px; color: var(--jaune); line-height: 1; }
.course-date .mois { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }
.course-corps { min-width: 0; }
.course-nom { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 24px; white-space: nowrap; }
.course-detail { color: var(--gris); font-size: 18px; }
.course-prix { font-family: Oswald, sans-serif; font-size: 28px; color: var(--jaune); white-space: nowrap; }

/* Accès */
.acces { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: stretch; }
.acces-texte { display: flex; flex-direction: column; gap: 12px; }
.acces-texte p { color: var(--gris-clair); }
.acces-carte iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.acces-contact a { color: var(--jaune); }
.note-petite { margin: 20px 0 8px; color: var(--gris); font-size: 18px; }

/* Menu : bouton et panneau plein écran */
.bouton-menu { display: none; align-items: center; justify-content: center; min-width: 48px; height: 48px; border: 2px solid var(--jaune); background: none;
  color: var(--jaune); cursor: pointer; padding: 0 12px; flex: none; }
.barres { display: flex; flex-direction: column; gap: 5px; }
.barres span { display: block; width: 22px; height: 2px; background: var(--jaune); }
.menu-mot { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: 17px; font-weight: 600; }
.menu-panneau { position: fixed; inset: 0; z-index: 50; background: var(--noir); overflow-y: auto; padding: 16px 24px 32px; display: flex; flex-direction: column; gap: 20px; }
.menu-panneau[hidden] { display: none; }
.menu-tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.menu-logo img { width: 150px; height: auto; }
.menu-fermer { min-height: 48px; padding: 0 16px; border: 2px solid var(--jaune); background: none; color: var(--jaune); font-family: Oswald, sans-serif;
  text-transform: uppercase; letter-spacing: .06em; font-size: 16px; cursor: pointer; }
.menu-liens { display: flex; flex-direction: column; }
.menu-liens a { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 26px; padding: 10px 0; border-bottom: 1px solid var(--noir-3); white-space: nowrap; }
.menu-liens a[aria-current="page"] { color: var(--jaune); }
.menu-actions { display: flex; flex-direction: column; gap: 10px; }
.menu-contact { display: flex; flex-direction: column; gap: 4px; color: var(--gris); }
.menu-contact a { color: var(--jaune); font-family: Oswald, sans-serif; font-size: 24px; }
html.menu-ouvert { overflow: hidden; }
.nav a[aria-current="page"] { color: var(--jaune); }

@media (min-width: 1024px) {
  .menu-panneau { padding: 24px max(24px, calc((100% - 1240px) / 2)) 40px; }
  .menu-liens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .menu-actions { flex-direction: row; }
}
@media (max-width: 1023px) {
  .cartes-3, .cartes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; gap: 22px; }
  .duo-inverse .duo-media { order: 0; }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffre:nth-child(3) { border-left: 0; }
  .chiffre:nth-child(n+3) { border-top: 1px solid var(--noir-3); }
  .avis { grid-template-columns: 1fr; }
  .tuiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuiles-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-pas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acces { grid-template-columns: 1fr; }
  .bandeau .conteneur { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 19px; }
  .conteneur { width: calc(100% - 32px); }
  .sec { padding: 44px 0; }
  .sec-titre { font-size: 32px; }
  .cartes-2, .cartes-3, .cartes-4 { grid-template-columns: 1fr; }
  .champs { grid-template-columns: 1fr; }
  .formulaire { padding: 20px 16px; }
  .formulaire .bouton { align-self: stretch; }
  .boutons .bouton { width: 100%; }
  .bandeau h2 { font-size: 28px; }
  .bandeau .bouton { width: 100%; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuiles-4, .tuiles-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuile { min-height: 160px; }
  .tuile-texte b { font-size: 18px; }
  .module { padding: 20px 16px; }
  .module-pas { grid-template-columns: 1fr; }
  .encart { flex-direction: column; align-items: stretch; padding: 18px 16px; }
  .encart-actions .bouton { width: 100%; min-width: 0; }
  .duo-grand { font-size: 56px; }
  .chiffre { padding: 22px 14px; }
  .chiffre .v { font-size: 38px; }
  .menu-panneau { padding: 12px 16px 28px; }
  .course { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "date corps" "date prix" "bouton bouton"; gap: 6px 14px; padding: 12px 14px 14px 0; }
  .course-date { grid-area: date; align-self: stretch; }
  .course-date .num { font-size: 34px; }
  .course-corps { grid-area: corps; }
  .course-prix { grid-area: prix; font-size: 24px; }
  .course .bouton { grid-area: bouton; width: calc(100% - 14px); margin: 6px 0 0 14px; }
  .course-nom { font-size: 21px; }
  .tableau thead { display: none; }
  .tableau, .tableau tbody, .tableau tr, .tableau td { display: block; width: 100%; }
  .tableau tr { border: 1px solid var(--noir-3); background: var(--noir-2); padding: 8px 14px; margin-bottom: 12px; }
  .sec-gris .tableau tr { background: var(--noir); }
  .tableau td { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--noir-3); text-align: right; }
  .tableau td:last-child { border-bottom: 0; }
  .tableau td::before { content: attr(data-label); font-family: Questrial, sans-serif; text-transform: none; font-size: 16px; color: var(--gris);
    text-align: left; flex: none; max-width: 45%; letter-spacing: 0; }
  .tableau td:first-child { font-size: 20px; }
  .tableau td:has(.vide) { display: none; }
  .tableau .n { white-space: normal; }
}
@media (max-width: 360px) {
  .chiffres { grid-template-columns: 1fr; }
  .chiffre, .chiffre:nth-child(3) { border-left: 0; border-top: 1px solid var(--noir-3); }
  .chiffre:first-child { border-top: 0; }
  .tuiles-4, .tuiles-6 { grid-template-columns: 1fr; }
  .menu-liens a { font-size: 22px; }
}

/* --- Les pages refaites après la revue de Jessica du 25/11/2026 ------------------------------------------------------ */

/* Une rangée de trois cartes reste à trois sur tablette : jamais deux cartes puis une seule, avec un vide à côté. */
@media (min-width: 641px) and (max-width: 1023px) {
  .cartes-3.rang-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .cartes-3.rang-3 .carte-corps { padding: 16px 14px 18px; }
  .cartes-3.rang-3 .carte-titre { font-size: 22px; }
}

/* Les karts d'une piste (pistes-tarifs.html), sous le duo de la piste. Deux cartes à photo côte à côte : des photos plus
   larges que hautes (photos-larges), pour que les cartes ne soient pas deux fois plus hautes que celles à trois. */
.karts-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 600; font-size: 26px; line-height: 1.15; margin: 44px 0 16px; }
.cartes-2.photos-larges .carte-img { aspect-ratio: 16 / 9; }

/* Deux prix l'un sous l'autre dans une carte (les deux niveaux d'un volant, le coaching selon le nombre de personnes) */
.prix-niveaux { gap: 6px; }
.prix-niveau { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.prix-niveau span { color: var(--gris); font-size: 16px; }
.prix-niveau b { font-family: Oswald, sans-serif; font-weight: 600; font-size: 28px; color: var(--jaune); white-space: nowrap; line-height: 1.1; }

/* Les stages des vacances (ecole.html) : Pâques et la Toussaint à gauche, l'été à droite ; une colonne sous 1 024 px. */
.stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "s1 s2" "s3 s2"; gap: 28px 36px; align-items: start; }
.stage-1 { grid-area: s1; }
.stage-2 { grid-area: s2; }
.stage-3 { grid-area: s3; }
.stage .compris-titre { margin-top: 0; margin-bottom: 4px; }
.stage-periode { color: var(--gris); margin-bottom: 12px; }

/* Le club du mercredi : le rythme des semaines à gauche, les tarifs du mois à droite. */
.club-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; margin-top: 32px; align-items: stretch; }
.club-semaines, .club-tarifs { min-width: 0; padding: 24px 26px; background: var(--noir-2); border: 1px solid var(--noir-3); }
.club-semaines .compris-titre, .club-tarifs .compris-titre { margin-top: 0; }
.semaine { border-left: 4px solid var(--jaune); padding: 4px 0 4px 16px; }
.semaine + .semaine { margin-top: 14px; }
.semaine-nom { font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 600; font-size: 21px; }
.semaine p { color: var(--gris-clair); font-size: 18px; }
.club-note { margin-top: 14px; color: var(--gris-clair); font-size: 18px; }
.mois-tarifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mois-case { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; padding: 10px 14px;
  background: var(--noir); border: 1px solid var(--noir-3); }
.mois-case span { font-size: 18px; color: var(--gris-clair); }
.mois-case b { font-family: Oswald, sans-serif; font-weight: 600; font-size: 24px; color: var(--jaune); white-space: nowrap; }
.mois-note { margin-top: 12px; color: var(--gris); font-size: 16px; }

/* Une rangée de boutons centrée sous une rangée de cartes */
.boutons-centres { justify-content: center; margin-top: 28px; }
.boutons-centres .bouton { min-width: 280px; }

/* Bandeau d'appel à deux boutons, de même taille */
.bandeau-boutons { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.bandeau-boutons .bouton { min-width: 270px; }

/* De grandes offres côte à côte, comme sur un flyer (anniversaires.html) ; la phrase d'introduction s'y lit en gros. */
.sec-jaune .sec-intro { color: var(--noir); font-size: 22px; }
.offres-fete { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offre-fete { display: flex; flex-direction: column; min-width: 0; background: var(--noir); color: var(--blanc); }
.offre-fete-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.offre-fete-corps { display: flex; flex-direction: column; gap: 4px; padding: 22px 28px 28px; }
.offre-fete-nom { font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; font-size: 32px; line-height: 1.1; white-space: nowrap; }
.offre-fete-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.offre-fete-prix b { font-family: Oswald, sans-serif; font-weight: 700; font-size: 92px; line-height: 1.05; color: var(--jaune); white-space: nowrap; }
.offre-fete-prix span { font-size: 22px; color: var(--gris-clair); }
.offre-fete-detail { font-size: 22px; }
.offre-fete-plus { font-size: 20px; color: var(--gris-clair); }

/* Ce qui est compris : de grandes cases cochées */
.compris-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 600; font-size: 28px; line-height: 1.15; margin: 36px 0 14px; }
.compris { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.compris-case { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 20px; background: var(--noir); color: var(--blanc);
  font-size: 20px; line-height: 1.3; }
.coche { position: relative; flex: none; width: 42px; height: 42px; background: var(--jaune); }
.coche::after { content: ""; position: absolute; left: 15px; top: 7px; width: 10px; height: 20px; border-right: 4px solid var(--noir);
  border-bottom: 4px solid var(--noir); transform: rotate(45deg); }

/* Une offre en bande jaune, en très gros (groupes.html) */
.offre-bande { background: var(--jaune); color: var(--noir); }
.offre-bande .conteneur { display: flex; align-items: center; gap: 18px 36px; padding: 42px 0; }
.offre-bande-tag { flex: none; background: var(--noir); color: var(--jaune); font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 22px; padding: 10px 18px; white-space: nowrap; }
.offre-bande-texte { min-width: 0; }
.offre-bande h2 { font-size: 42px; text-transform: none; letter-spacing: 0; }
.offre-bande p { font-size: 22px; margin-top: 8px; }

/* Cinq photos en mosaïque, sans vide (melbourne.html) : une large, une, la haute (portrait), une, une large. */
.photos-mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 20vw, 290px); gap: 12px;
  grid-template-areas: "a a b c" "d e e c"; }
.mosaique-img { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.zone-a { grid-area: a; }
.zone-b { grid-area: b; }
.zone-c { grid-area: c; }
.zone-d { grid-area: d; }
.zone-e { grid-area: e; }

/* Contact (contact.html) : le formulaire, et à côté « Appeler le circuit », à sa hauteur (la photo prend la place qui reste). */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.contact-carte { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 28px; background: var(--noir-2);
  border: 1px solid var(--noir-3); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form > .bouton { align-self: center; min-width: 280px; }
.contact-erreur { border-left: 4px solid var(--rouge); background: #2a1513; padding: 12px 14px; font-size: 18px; }
.contact-merci { margin-top: 20px; border-left: 4px solid var(--vert); background: #10241a; padding: 20px 22px; display: flex;
  flex-direction: column; align-items: flex-start; gap: 10px; }
/* contact.js cache le formulaire après l'envoi et remplit le remerciement ; il marque un champ manquant d'une classe « faux ». */
/* Le formulaire et le remerciement sont en display flex : sans ces deux règles, l'attribut hidden posé par contact.js
   ne les cacherait pas. */
.contact-form[hidden], .contact-merci[hidden] { display: none; }
.contact-form[hidden] + .contact-merci { margin-top: 0; }
.contact-merci .titre { font-size: 30px; }
.contact-merci a { color: var(--jaune); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .champ.faux input, .contact-form .champ.faux textarea { border-color: var(--rouge); }
.contact-form .champ.faux .champ-libelle { color: var(--rouge); }
.contact-appel { display: flex; flex-direction: column; min-width: 0; background: var(--noir-2); border: 1px solid var(--noir-3); }
.contact-appel-img { width: 100%; height: 0; min-height: 220px; flex: 1 1 auto; object-fit: cover; }
.contact-appel-texte { display: flex; flex-direction: column; gap: 20px; padding: 24px 26px 28px; }
.contact-appel-infos { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact-appel-infos p { color: var(--gris-clair); }
.contact-appel-infos .encart-titre { margin: 0 0 2px; }
.contact-tel a { font-family: Oswald, sans-serif; font-weight: 600; font-size: 40px; line-height: 1.1; color: var(--jaune); white-space: nowrap; }
.contact-heures { margin-top: 8px; }
.contact-gestes { flex-direction: column; }
.contact-gestes .bouton { width: 100%; }

@media (max-width: 1023px) {
  .compris { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offre-fete-prix b { font-size: 76px; }
  .offre-bande h2 { font-size: 34px; }
  .photos-mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; grid-template-areas: "a a" "b c" "d c" "e e"; }
  .contact-grille { grid-template-columns: minmax(0, 1fr); }
  .contact-appel { order: -1; }
  .contact-appel-img { display: none; }
  .contact-appel-texte { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px 32px; }
  .contact-gestes { flex: none; }
  .contact-gestes .bouton { min-width: 250px; }
}
@media (max-width: 640px) {
  .karts-titre { font-size: 22px; margin-top: 32px; }
  .offres-fete { grid-template-columns: minmax(0, 1fr); }
  .offre-fete-corps { padding: 18px 18px 22px; }
  .offre-fete-nom { font-size: 26px; }
  .offre-fete-prix b { font-size: 66px; }
  .offre-fete-prix span, .offre-fete-detail { font-size: 20px; }
  .compris { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .compris-case { padding: 14px 16px; font-size: 19px; }
  .compris-titre { font-size: 24px; }
  .offre-bande .conteneur { flex-direction: column; align-items: flex-start; padding: 30px 0; }
  .offre-bande h2 { font-size: 28px; }
  .offre-bande p { font-size: 20px; }
  .photos-mosaique { grid-auto-rows: 38vw; gap: 8px; }
  .contact-carte { padding: 20px 16px; }
  .contact-form > .bouton { align-self: stretch; min-width: 0; }
  .contact-appel-texte { flex-direction: column; align-items: stretch; padding: 20px 16px 22px; }
  .contact-gestes .bouton { min-width: 0; }
  .contact-tel a { font-size: 34px; }
  .bandeau-boutons { width: 100%; flex-direction: column; }
  .bandeau-boutons .bouton { width: 100%; min-width: 0; }
}
@media (max-width: 1023px) {
  .stages { grid-template-columns: minmax(0, 1fr); grid-template-areas: "s1" "s2" "s3"; }
  .club-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .club-semaines, .club-tarifs { padding: 18px 16px; }
  /* Le mois au-dessus de son prix : côte à côte, « 292,50 € » ne tenait plus dans sa case à 393 px (25/11/2026). */
  .mois-case { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 12px; }
  .mois-case span { font-size: 17px; }
  .mois-case b { font-size: 21px; }
  .prix-niveau b { font-size: 24px; }
  .boutons-centres .bouton { min-width: 0; }
}
@media (max-width: 359px) {
  .mois-tarifs { grid-template-columns: minmax(0, 1fr); }
}

/* Revue du soir de Jessica (25/11/2026). Les icônes du pack anniversaire, au trait noir dans le carré jaune de la coche. */
.icone-case { display: grid; place-items: center; flex: none; width: 42px; height: 42px; background: var(--jaune); }
.icone-case svg { fill: none; stroke: var(--noir); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* « Bon à savoir » des anniversaires (revue de Jessica et David du 25/11/2026 au soir : quatre cartes de même hauteur
   laissaient trois cases à moitié vides) : les conditions en liste à icônes à gauche, les invitations et le dessin des
   cartons à droite, deux colonnes de même hauteur ; une seule colonne sous 1 024 px. */
.savoir { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.savoir-liste { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.savoir-case { flex: 1; flex-direction: row; align-items: center; gap: 18px; padding: 20px 22px; }
.savoir-case-texte { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.savoir-invit { padding: 22px; gap: 16px; }
.savoir-dessin { background: var(--blanc); padding: 14px 18px; }
.savoir-dessin svg { display: block; width: 100%; height: auto; max-height: 180px; }
@media (max-width: 1023px) { .savoir { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .savoir-case { gap: 14px; padding: 16px; } .savoir-invit { padding: 16px; } }
/* La mention sanitaire, partout où le site parle d'alcool (Code de la santé publique, art. L3323-4). */
.offre-bande-mention { font-size: 16px; margin-top: 12px; }
.mention-sante { margin-top: 16px; color: var(--gris); font-size: 16px; text-align: center; }
/* Les stages des vacances 2027 : chaque vacances dans son cadre, l'en-tête en jaune, des lignes bien séparées, et chaque
   valeur sur une ligne (fit.js rétrécit au besoin). */
.stages-tableaux .stage { background: var(--noir); border: 2px solid var(--noir-3); border-top: 6px solid var(--jaune); padding: 18px 20px 8px; }
.stages-tableaux .tableau th { background: var(--jaune); color: var(--noir); padding: 10px 12px; font-weight: 600; }
.stages-tableaux .tableau td { border-bottom: 1px solid var(--noir-3); }
.stages-tableaux .tableau tbody tr:nth-child(even) td { background: rgba(255, 236, 15, .07); }
.stages-tableaux .tableau td:first-child { color: var(--jaune); }
.stages-tableaux .tableau .val { display: block; }
@media (max-width: 640px) {
  .stages-tableaux .stage { padding: 14px 12px 4px; }
  .stages-tableaux .tableau tr { background: var(--noir-2); }
}
/* Le décompte du message du formulaire de contact : gris tant qu'il manque des caractères, jaune une fois le minimum atteint. */
.champ-compte { white-space: nowrap; }
.champ-compte.compte-ok { color: var(--jaune); }
/* Les tableaux des stages : colonnes de largeur fixe, pour que chaque valeur tienne sur sa ligne en rétrécissant (fit.js)
   au lieu d'élargir le tableau (mesuré à 1024 px le 25/11/2026). */
.stages-tableaux .tableau { table-layout: fixed; }
.stages-tableaux .tableau th:nth-child(1) { width: 30%; }
.stages-tableaux .tableau th:nth-child(2) { width: 46%; }
.stages-tableaux .tableau th:nth-child(3) { width: 24%; }
.stages-tableaux .tableau td { overflow: hidden; }
/* Le décompte du message passe sous le libellé quand la place manque (320 px), sans jamais se couper. */
.champ-nom { flex-wrap: wrap; }

/* Proposition A : grille de départ. Photo en grand, deux gros boutons, bandeaux jaunes, cartes à photo. */
/* La bande des horaires, en haut de chaque page (revue de Jessica du 25/11/2026) : quatre longueurs du même texte
   (themes.horaires()), la plus longue qui tient sur une ligne s'affiche ; fit.js rétrécit au besoin, jusqu'à 14 px. */
.style-a .infos { background: #000; border-bottom: 1px solid var(--noir-3); font-size: 16px; }
.style-a .infos .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.style-a .statut { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.style-a .statut > .h { display: none; min-width: 0; }
.style-a .statut > .h-long { display: block; }
.style-a .point { width: 10px; height: 10px; border-radius: 50%; background: var(--vert); flex: none; }
.style-a .infos-liens { display: flex; flex: none; gap: 22px; white-space: nowrap; color: var(--gris); }
.style-a .infos-liens a:hover { color: var(--jaune); }
.style-a .entete { position: sticky; top: 0; z-index: 20; background: rgba(15, 15, 15, .97); border-bottom: 1px solid var(--noir-3); }
/* La bande des horaires et l'en-tête collés ensemble en haut (revue du soir de Jessica, 25/11/2026) ; une ancre (#creneaux)
   s'arrête sous eux. */
.style-a .haut-fixe { position: sticky; top: 0; z-index: 20; }
.style-a .haut-fixe .entete { position: relative; top: auto; }
.style-a [id] { scroll-margin-top: 132px; }
.style-a .entete .conteneur { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.style-a .logo { flex: none; }
.style-a .logo img { width: 178px; height: auto; }
.style-a .nav { display: flex; gap: 20px; margin: 0 auto; }
.style-a .nav a { font-family: Oswald, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; white-space: nowrap; }
.style-a .nav a:hover { color: var(--jaune); }
.style-a .ctas { display: flex; gap: 10px; flex: none; }
.style-a .ctas .bouton { min-height: 46px; padding: 0 18px; font-size: 15px; }

/* Ouverture des pages : grande photo */
.style-a .hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.style-a .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.style-a .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.92) 100%); }
.style-a .hero .conteneur { position: relative; z-index: 1; padding: 80px 0 52px; }
.style-a .surtitre { color: var(--jaune); font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: 16px; margin-bottom: 12px; white-space: nowrap; }
.style-a .hero h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 18ch; }
.style-a .hero-accueil { min-height: 600px; }
.style-a .hero-accueil h1 { font-size: clamp(44px, 6.4vw, 92px); max-width: 15ch; }
.style-a .hero-intro { color: #e6e6e6; font-size: 22px; margin-top: 14px; max-width: 54ch; }
.style-a .hero-boutons { margin-top: 26px; }
.style-a .deux-gros .bouton { min-height: 64px; padding: 0 34px; font-size: 20px; }

/* Les chiffres de la page, sur un bandeau jaune */
.style-a .faits-bande { background: var(--jaune); color: var(--noir); }
.style-a .faits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.style-a .fait { padding: 18px 20px; border-left: 1px solid rgba(0, 0, 0, .2); }
.style-a .fait:first-child { border-left: 0; padding-left: 0; }
.style-a .fait dt { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; font-family: Oswald, sans-serif; }
.style-a .fait dd { font-family: Oswald, sans-serif; font-size: 24px; font-weight: 600; line-height: 1.15; }

/* Cartes à photo */
.style-a .carte { background: var(--noir-2); border: 1px solid var(--noir-3); }
.style-a .sec-gris .carte { background: var(--noir); }
.style-a .carte-corps { padding: 18px 18px 20px; }
.style-a .carte-prix { border-top: 1px solid var(--noir-3); }
.style-a .sec-titre { position: relative; padding-bottom: 12px; }
.style-a .sec-titre::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--jaune); }
.style-a .sec-jaune .sec-titre::after { background: var(--noir); }

/* Accueil : les courses sur bandeau jaune */
.style-a .courses-bande { padding: 44px 0 52px; }
.style-a .sec-tete-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; max-width: none; }
.style-a .lien-fort { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; white-space: nowrap; border-bottom: 2px solid currentColor; }
.style-a .agenda-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.style-a .course-carte { background: var(--noir); color: var(--blanc); display: grid; grid-template-columns: 96px minmax(0, 1fr); min-height: 196px; }
.style-a .course-carte .course-date { background: var(--noir-3); border-right: 0; }
.style-a .course-carte .course-corps { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.style-a .course-pied { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.style-a .prix-heure { white-space: nowrap; }
.style-a .course-heure { font-size: 18px; color: var(--gris); }
.style-a .course-carte .bouton { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* Accueil : offrir */
.style-a .offrir { padding-top: 0; }
.style-a .offrir-bloc { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--noir-2); border: 1px solid var(--noir-3); }
.style-a .offrir-img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.style-a .offrir-texte { padding: 40px 44px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.style-a .offre { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.style-a .offre b { font-family: Oswald, sans-serif; font-size: 30px; color: var(--jaune); white-space: nowrap; }
.style-a .offre s { color: var(--gris); font-size: 20px; }
.style-a .offrir-texte p { color: var(--gris); }
.style-a .offrir-texte .bouton { align-self: flex-start; }
.style-a .chiffres-bande { border-top: 1px solid var(--noir-3); }

/* Pied de page en quatre colonnes */
.style-a .pied { padding: 48px 0 40px; color: var(--gris); font-size: 17px; border-top: 1px solid var(--noir-3); }
.style-a .pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.style-a .pied h3 { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--blanc); font-size: 18px; margin-bottom: 10px; }
.style-a .pied-logo { width: 160px; height: auto; margin-bottom: 12px; }
.style-a .pied a:hover { color: var(--jaune); }
.style-a .pied p + p { margin-top: 4px; }
.style-a .pied-reseaux { display: flex; gap: 16px; }

@media (max-width: 1359px) {
  .style-a .nav { display: none; }
  .style-a .ctas { margin-left: auto; }
  .style-a .bouton-menu { display: inline-flex; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .style-a .course-carte { grid-template-columns: 1fr; }
  .style-a .course-carte .course-date { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 10px; padding: 12px 20px; }
  .style-a .course-carte .num { font-size: 30px; }
}
/* L'accueil montre six rubriques en trois colonnes : deux rangées pleines, téléphone compris (deux colonnes). */
@media (min-width: 641px) {
  .style-a .tuiles-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .style-a .statut > .h-long { display: none; }
  .style-a .statut > .h-moyen { display: block; }
  .style-a .infos-liens a:not(:last-child) { display: none; }
  .style-a .agenda-cartes { grid-template-columns: 1fr; }
  .style-a .offrir-bloc { grid-template-columns: 1fr; }
  .style-a .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-a .fait:nth-child(3) { border-left: 0; padding-left: 0; }
  .style-a .fait:nth-child(n+3) { border-top: 1px solid rgba(0, 0, 0, .2); }
  .style-a .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .style-a .infos { font-size: 15px; }
  .style-a .statut > .h-moyen { display: none; }
  .style-a .statut > .h-court { display: block; }
  .style-a .infos-liens { display: none; }
  .style-a .entete .conteneur { min-height: 64px; gap: 14px; }
  .style-a .logo img { width: 140px; }
  .style-a .ctas { display: none; }
  .style-a .bouton-menu { margin-left: auto; }
  .style-a .hero { min-height: 400px; }
  .style-a .hero-accueil { min-height: 520px; }
  .style-a .hero .conteneur { padding: 56px 0 30px; }
  .style-a .hero-intro { font-size: 20px; }
  .style-a .deux-gros { flex-direction: column; }
  .style-a .deux-gros .bouton { width: 100%; min-height: 58px; font-size: 18px; padding: 0 16px; }
  .style-a .sec-tete-ligne { flex-direction: column; align-items: flex-start; gap: 6px; }
  .style-a .course-carte { grid-template-columns: 78px minmax(0, 1fr); min-height: 0; }
  /* les zones nommées de la liste des courses (commun.css) ne valent pas pour ces cartes : sans cette remise à zéro,
     la date se posait sur la description (vu le 25/11/2026) */
  .style-a .course-carte .course-date, .style-a .course-carte .course-corps { grid-area: auto; }
  .style-a .course-carte .course-nom { font-size: 21px; }
  .style-a .course-pied { flex-wrap: wrap; }
  .style-a .offrir-texte { padding: 26px 20px; }
  .style-a .offrir-texte .bouton { align-self: stretch; }
  .style-a .fait { padding: 14px 12px; }
  .style-a .fait dd { font-size: 20px; }
  .style-a .faits.longs { grid-template-columns: 1fr; }
  .style-a .faits.longs .fait { border-left: 0; padding-left: 0; }
  .style-a .faits.longs .fait + .fait { border-top: 1px solid rgba(0, 0, 0, .2); }
  .style-a .pied-grille { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 359px) {
  .style-a .statut > .h-court { display: none; }
  .style-a .statut > .h-mini { display: block; }
}
@media (max-width: 360px) {
  .style-a .course-carte .course-nom { font-size: 19px; }
  .style-a .faits { grid-template-columns: 1fr; }
  .style-a .fait, .style-a .fait:nth-child(3) { border-left: 0; padding-left: 0; }
  .style-a .fait + .fait { border-top: 1px solid rgba(0, 0, 0, .2); }
}

/* Les trois menus de la proposition A (24/11/2026) : le même rangement en quatre univers, trois façons de l'afficher.
   1. Vitrine (.menu-vitrine) : chaque univers ouvre sous la barre trois grandes photos, en noir et blanc, qui passent en
      couleur au survol.
   2. Mosaïque (.menu-mosaique) : le bouton Menu ouvre tout le site en photos, les quatre univers côte à côte.
   3. Liste illustrée (.menu-liste) : chaque univers ouvre une liste courte, une petite photo par rubrique.
   Sur un écran tactile, sans survol, les photos restent en couleur. Ajoutée après commun.css et a.css. */

/* --- La tuile photo : vitrine, mosaïque et tiroir du téléphone --- */
.tuile-photo { position: relative; display: block; overflow: hidden; background: #000; isolation: isolate; }
.tuile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .3s ease, transform .5s ease; }
.tuile-photo::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .9) 100%); }
.tuile-photo::before { content: ""; position: absolute; left: 0; bottom: 0; z-index: 3; width: 0; height: 5px; background: var(--jaune); transition: width .3s ease; }
.tp-texte { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px 20px; }
.tp-titre { font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 26px; line-height: 1.1;
  white-space: nowrap; transition: color .2s ease; }
.tp-ligne { color: #ececec; font-size: 18px; line-height: 1.35; }
.tp-tag { background: var(--jaune); color: var(--noir); font-size: 15px; font-weight: 700; padding: 3px 10px; line-height: 1.4; white-space: nowrap; }
.tuile-photo:hover::before, .tuile-photo:focus-visible::before, .tuile-photo[aria-current="page"]::before { width: 100%; }
.tuile-photo:hover .tp-titre, .tuile-photo:focus-visible .tp-titre, .tuile-photo[aria-current="page"] .tp-titre { color: var(--jaune); }
.tuile-photo:focus-visible { outline: 3px solid var(--jaune); outline-offset: -3px; }
@media (hover: hover) {
  .tuile-photo img { filter: grayscale(1) brightness(.72); }
  .tuile-photo:hover img, .tuile-photo:focus-visible img { filter: none; transform: scale(1.04); }
}

/* --- Les univers de la barre (vitrine et liste) --- */
.style-a .univers { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.univers-item { position: relative; }
.univers-bouton { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 14px; border: 0; background: none;
  color: var(--blanc); font-family: Oswald, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: 16px;
  white-space: nowrap; cursor: pointer; }
.univers-bouton::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--jaune);
  transform: scaleX(0); transition: transform .2s ease; }
.univers-bouton:hover, .univers-bouton.actif, .univers-bouton[aria-expanded="true"] { color: var(--jaune); }
.univers-bouton[aria-expanded="true"]::after { transform: scaleX(1); }
.chevron { flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
[aria-expanded="true"] > .chevron { transform: translateY(2px) rotate(-135deg); }
.voile { position: fixed; inset: 0; z-index: 15; background: rgba(0, 0, 0, .62); }
.voile[hidden] { display: none; }

/* --- 1. Vitrine : trois grandes photos sous la barre --- */
.vitrine { position: absolute; left: 0; right: 0; top: 100%; background: var(--noir); border-top: 1px solid var(--noir-3);
  border-bottom: 3px solid var(--jaune); padding: 22px 0 24px; }
.vitrine[hidden] { display: none; }
/* La A met en rangée tout .conteneur de l'en-tête (a.css) : la grille des photos reprend la main. */
.style-a .vitrine .vitrine-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; min-height: 0; }
.vitrine .tuile-photo { height: 300px; }

/* --- 3. Liste illustrée : une liste courte sous l'univers --- */
.deroulant { position: absolute; top: calc(100% + 14px); left: 0; width: 440px; background: var(--noir-2); border: 1px solid var(--noir-3);
  border-top: 3px solid var(--jaune); padding: 6px; }
.univers-item:nth-child(n+3) .deroulant { left: auto; right: 0; }
.deroulant[hidden] { display: none; }
.ligne-menu { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; }
.ligne-menu + .ligne-menu { border-top: 1px solid var(--noir-3); }
.ligne-menu img { width: 84px; height: 84px; object-fit: cover; transition: filter .25s ease; }
.lm-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.lm-titre { font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 19px; line-height: 1.15;
  white-space: nowrap; transition: color .2s ease; }
.lm-ligne { color: var(--gris); font-size: 16px; line-height: 1.35; }
.ligne-menu .tp-tag { margin-top: 2px; }
.ligne-menu:hover, .ligne-menu:focus-visible { background: var(--noir); }
.ligne-menu:hover .lm-titre, .ligne-menu:focus-visible .lm-titre, .ligne-menu[aria-current="page"] .lm-titre { color: var(--jaune); }
@media (hover: hover) {
  .ligne-menu img { filter: grayscale(1) brightness(.8); }
  .ligne-menu:hover img, .ligne-menu:focus-visible img { filter: none; }
}

/* --- Le tiroir du téléphone et de la tablette (vitrine et liste) : les univers en accordéon --- */
.accordeons { display: flex; flex-direction: column; }
.acc { border-bottom: 1px solid var(--noir-3); }
.acc:first-child { border-top: 1px solid var(--noir-3); }
.acc-bouton { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "titre chevron" "ligne chevron";
  align-items: center; column-gap: 16px; row-gap: 2px; padding: 14px 4px; border: 0; background: none; color: var(--blanc); text-align: left; cursor: pointer; }
.acc-titre { grid-area: titre; font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; font-size: 28px; line-height: 1.1; white-space: nowrap; }
.acc-ligne { grid-area: ligne; color: var(--gris); font-size: 18px; }
.acc-bouton .chevron { grid-area: chevron; width: 12px; height: 12px; margin-right: 6px; }
.acc-bouton[aria-expanded="true"] .acc-titre { color: var(--jaune); }
.acc-contenu { display: flex; flex-direction: column; gap: 10px; padding: 2px 0 18px; }
.acc-contenu[hidden] { display: none; }
.menu-tiroir .tuile-photo { height: 156px; }
.menu-tiroir .tp-texte { padding: 14px 16px 16px; gap: 4px; }
.menu-tiroir .tp-titre { font-size: 22px; }
.menu-tiroir .tp-ligne { font-size: 16px; }
.menu-liste .acc-contenu { gap: 0; }
.menu-liste .menu-tiroir .ligne-menu { padding: 10px 0; }

/* --- 2. Mosaïque : tout le site en photos, sur un écran --- */
.style-a.menu-mosaique .bouton-menu { display: inline-flex; gap: 10px; padding: 0 16px; }
.menu-mosaique .menu-mot { font-size: 16px; }
.mosaique { gap: 18px; }
.mosaique .menu-tete { flex-wrap: wrap; }
.mos-actions { display: flex; gap: 10px; margin-left: auto; }
.mos-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mos-titre { font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase; font-size: 28px; line-height: 1.1; color: var(--jaune); white-space: nowrap; }
.mos-ligne { color: var(--gris); font-size: 16px; margin: 4px 0 12px; }
.mos-tuiles { display: grid; gap: 12px; }
.mosaique .tuile-photo { height: clamp(150px, calc((100vh - 330px) / 3), 230px); }
.mosaique .tp-texte { padding: 14px 16px 16px; gap: 4px; }
.mosaique .tp-titre { font-size: 22px; }
.mosaique .tp-ligne { font-size: 15px; }
.mos-contact { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }

/* --- Paliers --- */
@media (min-width: 1024px) {
  .style-a.menu-a .bouton-menu { display: none; }
  .style-a.menu-a .ctas { margin-left: 0; }
  .style-a.menu-mosaique .bouton-menu { display: inline-flex; }
  .style-a.menu-mosaique .ctas { margin-left: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .vitrine .tuile-photo { height: 250px; }
  .vitrine .tp-titre { font-size: 24px; }
  .mosaique .tp-titre { font-size: 20px; }
}
@media (max-width: 1023px) {
  .style-a .univers, .style-a .vitrine, .style-a .voile { display: none; }
  .mos-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaique .tuile-photo { height: 170px; }
}
@media (max-width: 767px) {
  .mos-grille { grid-template-columns: 1fr; gap: 24px; }
  .mos-actions { order: 3; width: 100%; margin-left: 0; }
  .mos-actions .bouton { flex: 1 1 0; min-width: 0; padding: 0 10px; }
  .mos-tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mosaique .tuile-photo { height: auto; overflow: visible; background: none; }
  .mosaique .tuile-photo img { position: static; display: block; aspect-ratio: 1 / 1; height: auto; }
  .mosaique .tuile-photo::after, .mosaique .tuile-photo::before { display: none; }
  .mosaique .tp-texte { position: static; padding: 8px 0 0; gap: 3px; }
  .mosaique .tp-titre { font-size: 16px; white-space: normal; line-height: 1.15; }
  .mosaique .tp-ligne { display: none; }
  .mosaique .tp-tag { background: none; color: var(--jaune); padding: 0; font-weight: 600; white-space: normal; }
}
@media (max-width: 640px) {
  .style-a.menu-a .ctas { display: flex; margin-left: auto; }
  .style-a.menu-a .ctas .creux { display: none; }
  .style-a.menu-a .ctas .bouton { min-height: 48px; padding: 0 16px; }
  .style-a.menu-a .bouton-menu { margin-left: 0; }
  .style-a.menu-mosaique .bouton-menu { padding: 0 12px; }
  .style-a.menu-mosaique .menu-mot { display: none; }
}
@media (max-width: 359px) {
  /* Trois vignettes de 89 px ne tiennent pas « Anniversaires » : deux par rangée, la troisième en bandeau. */
  .mos-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mos-tuiles > :nth-child(3) { grid-column: span 2; }
  .mos-tuiles > :nth-child(3) img { aspect-ratio: 2 / 1; }
  .style-a.menu-a .logo img { width: 112px; }
  .style-a.menu-a .entete .conteneur { gap: 10px; }
  .style-a.menu-a .ctas .bouton { padding: 0 12px; }
}

/* Site : la réservation des sessions (front/reservation.js), dans le style de la proposition A. */
.resa { background: var(--noir); border: 2px solid var(--noir-3); padding: clamp(18px, 3vw, 32px); }
.sec-gris .resa { background: var(--noir); }
.resa-etapes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.resa-titre { display: flex; align-items: center; gap: 12px; font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 22px; letter-spacing: .02em; margin-bottom: 14px; white-space: nowrap; }
.resa-num { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; background: var(--jaune); color: var(--noir); font-size: 18px; }
.resa-aide { color: var(--gris); font-size: 18px; margin-top: 10px; }
.resa-aide a, .resa-mention a { color: var(--jaune); text-decoration: underline; text-underline-offset: 3px; }
.resa-alerte { color: var(--rouge); }

.resa-karts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.resa-kart { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 14px 16px; min-height: 120px;
  background: var(--noir-2); border: 2px solid var(--noir-3); color: var(--blanc); cursor: pointer; font-size: 17px; }
.resa-kart span { color: var(--gris); }
.resa-kart em { font-style: normal; color: var(--jaune); font-family: Oswald, sans-serif; font-size: 20px; margin-top: auto; }
.resa-kart-nom { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 22px; font-weight: 600; }
.resa-kart:hover { border-color: var(--gris); }
.resa-kart[aria-checked="true"] { border-color: var(--jaune); background: #1f1d06; }

/* La formule : une, deux ou trois sessions de 10 minutes, la Sprint Race en Master, ou les deux packs de l'anniversaire enfant
   (Jessica, 25/11/2026) : six cases, en trois colonnes sur ordinateur. Un ruban jaune signale l'offre de la troisième session
   et les packs de l'anniversaire. */
.resa-formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.resa-formule { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 16px; min-height: 100px;
  background: var(--noir-2); border: 2px solid var(--noir-3); color: var(--blanc); cursor: pointer; font-size: 17px; }
.resa-formule b { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 21px; font-weight: 600; white-space: nowrap; }
.resa-formule span { color: var(--gris); }
.resa-formule em { font-style: normal; color: var(--jaune); font-family: Oswald, sans-serif; font-size: 19px; margin-top: auto; white-space: nowrap; }
/* Une formule que le kart choisi ne court pas (anniversaire avec le Master, Sprint Race hors Master) : toute la case passe
   en gris, ruban compris, et ne se clique plus (revue de Jessica et David du 25/11/2026 au soir : « il faut vraiment que les
   gens comprennent que ce n'est pas cliquable »). */
.resa-formule[data-autre-kart] { opacity: .45; filter: grayscale(1); cursor: not-allowed; }
.resa-formule[data-autre-kart] em { color: var(--gris); }
.resa-formule[data-autre-kart] .resa-ruban { background: var(--gris); }
.resa-formule.avec-ruban { padding-top: 38px; }
.resa-ruban { position: absolute; top: 0; left: 0; padding: 3px 10px; background: var(--jaune); color: var(--noir); font-style: normal;
  font-family: Oswald, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.resa-par-pilote { margin-top: 12px; }

/* Les étapes dans l'ordre (David, 25/11/2026) : grisée et inerte tant que la précédente n'est pas faite, avec ce qu'il faut faire. */
.resa-etape { transition: opacity .2s; }
.resa-etape.verrou { opacity: .42; }
.resa-etape.verrou .resa-num { background: var(--noir-3); color: var(--gris); }
.resa-verrou-aide { display: none; color: var(--gris); font-size: 17px; margin: -6px 0 12px; }
.resa-etape.verrou .resa-verrou-aide { display: block; }
.resa-avertir { margin-top: 14px; padding: 12px 14px; border-left: 4px solid var(--jaune); background: #1f1d06; color: var(--blanc); }
.resa-avertir a { color: var(--jaune); }
.resa-formule:hover { border-color: var(--gris); }
.resa-formule.choisi { border-color: var(--jaune); background: #1f1d06; }

.resa-compteur { display: inline-flex; align-items: center; border: 2px solid var(--noir-3); }
.resa-compteur button { width: 52px; height: 52px; background: var(--noir-2); border: 0; color: var(--jaune); font-size: 26px; cursor: pointer; }
.resa-compteur button:hover { background: var(--noir-3); }
.resa-nb { min-width: 64px; text-align: center; font-family: Oswald, sans-serif; font-size: 26px; }

.resa-mois { display: flex; align-items: center; justify-content: space-between; max-width: 420px; margin-bottom: 10px; }
.resa-mois b { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 20px; font-weight: 600; letter-spacing: .03em; }
.resa-nav { width: 44px; height: 44px; background: var(--noir-2); border: 2px solid var(--noir-3); color: var(--jaune); font-size: 24px; cursor: pointer; }
.resa-nav:disabled { color: var(--noir-3); cursor: default; }
.resa-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.resa-entete { text-align: center; color: var(--gris); font-size: 15px; padding: 4px 0; }
.resa-entete .court { display: none; }
.resa-jour { aspect-ratio: 1; min-height: 44px; background: var(--noir-2); border: 2px solid var(--noir-3); color: var(--blanc); font-size: 17px; cursor: pointer; }
.resa-jour:hover:not(:disabled) { border-color: var(--gris); }
.resa-jour:disabled { background: none; border-color: transparent; color: #5f5f5f; cursor: default; }
.resa-jour.choisi { background: var(--jaune); border-color: var(--jaune); color: var(--noir); font-weight: 700; }

.resa-heures-grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.resa-heure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 74px; padding: 8px;
  background: var(--noir-2); border: 2px solid var(--noir-3); color: var(--blanc); cursor: pointer; }
.resa-heure b { font-family: Oswald, sans-serif; font-size: 24px; font-weight: 600; white-space: nowrap; }
.resa-heure span { font-size: 15px; color: var(--gris); white-space: nowrap; }
.resa-heure:hover:not(:disabled) { border-color: var(--gris); }
.resa-heure:disabled { opacity: .55; cursor: default; }
.resa-heure.choisi { border-color: var(--jaune); background: #1f1d06; }
.resa-heure.choisi span { color: var(--jaune); }

.resa-champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.resa-champ { display: flex; flex-direction: column; gap: 6px; font-size: 17px; color: var(--gris); }
.resa-champ input, .resa-champ textarea { width: 100%; background: var(--noir-2); border: 2px solid var(--noir-3); color: var(--blanc); padding: 12px 14px; font-size: 18px; }
.resa-champ input:focus, .resa-champ textarea:focus { border-color: var(--jaune); outline: none; }
.resa-champ.faux input, .resa-champ.faux textarea { border-color: var(--rouge); }
.resa-large { grid-column: 1 / -1; }
.resa-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.resa-recap { margin-top: 16px; color: var(--jaune); font-size: 18px; }
.resa-erreur { margin-top: 12px; color: var(--rouge); font-size: 18px; }
.resa-envoi { display: flex; justify-content: center; margin-top: 18px; }
.resa-bouton { min-width: 260px; }
.resa-mention { margin-top: 14px; color: var(--gris); font-size: 16px; text-align: center; }

.resa-form, .resa-merci { scroll-margin-top: 140px; }
.resa-merci { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 0; }
.resa-merci-titre { font-size: clamp(26px, 4vw, 40px); }
.resa-merci-ref b { color: var(--jaune); font-family: Oswald, sans-serif; font-size: 24px; letter-spacing: .06em; }
.resa-merci a { color: var(--jaune); text-decoration: underline; text-underline-offset: 3px; }
.resa-merci-fort { color: var(--jaune); font-weight: 700; }

/* Le jour à gauche, le nombre de pilotes et les départs à droite : le calendrier et ses heures face à face (David,
   25/11/2026 : un calendrier seul dans la carte laissait un trou énorme à côté). Sous 900 px, tout passe en une colonne. */
.resa-duo { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 30px 48px; align-items: start; }
.resa-droite { display: grid; gap: 30px; min-width: 0; }
.resa-gauche .resa-grille, .resa-gauche .resa-mois { max-width: none; }
.resa-pilotes-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.resa-pilotes-ligne .resa-aide { flex: 1 1 220px; margin: 0; }
.resa-heures > .resa-aide:only-child { display: grid; place-items: center; min-height: 350px; margin: 0; padding: 24px;
  border: 2px dashed var(--noir-3); text-align: center; }
/* Un départ tous les quarts d'heure : jusqu'à trente-deux heures par jour, en grille de trois à droite du calendrier. */
@media (min-width: 900px) {
  .resa-droite .resa-heures-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .resa-droite .resa-heure { min-height: 60px; padding: 6px 4px; }
  .resa-droite .resa-heure b { font-size: 21px; }
}
/* En grand écran, quatre colonnes : les départs du jour tiennent à la hauteur du calendrier, sans vide dessous. */
@media (min-width: 1200px) {
  .resa-droite .resa-heures-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .resa-duo { grid-template-columns: minmax(0, 1fr); }
  .resa-gauche .resa-grille, .resa-gauche .resa-mois { max-width: 420px; }
  .resa-heures > .resa-aide:only-child { min-height: 0; border: 0; padding: 0; place-items: start; text-align: left; }
}

.liens-apex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.liens-apex .bouton { width: 100%; }
.contact-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

@media (max-width: 1023px) {
  .resa-karts, .resa-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resa-heures-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resa-champs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .liens-apex { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .resa-titre { font-size: 19px; }
  .resa-kart { min-height: 104px; padding: 12px; }
  .resa-kart-nom { font-size: 20px; }
  .resa-heures-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resa-champs { grid-template-columns: 1fr; }
  .resa-bouton { width: 100%; min-width: 0; }
  .resa { padding: 14px; }
  .resa-grille, .resa-mois { max-width: none; }
  .resa-grille { gap: 4px; }
  .resa-jour { aspect-ratio: auto; min-height: 42px; min-width: 0; font-size: 16px; padding: 0; }
  .resa-entete .long { display: none; }
  .resa-entete .court { display: inline; }
}
@media (max-width: 359px) {
  .resa-karts, .resa-formules { grid-template-columns: 1fr; }
  .resa-kart, .resa-formule { min-height: 0; }
}

/* Le formulaire de contact (front/contact.js) : un champ à corriger se voit. */
.contact-form .faux input, .contact-form .faux textarea { border-color: var(--rouge); }
.contact-form .champ[hidden] { display: none; }

/* Les bons cadeaux (front/bons.js) : les mêmes cases que la réservation ; le total, et le prix barré de l'offre spéciale. */
.bons-total { margin-top: 18px; text-align: center; font-size: 20px; }
.bons-total b { color: var(--jaune); }
.bons-parcours .resa-formule s { color: var(--gris); font-size: 16px; margin-left: 6px; }
.bons-parcours .resa-karts { margin-bottom: 0; }
/* Le relais vers la billetterie d'Apex (revue du 25/11/2026 au soir) : Apex ouvre la catégorie du kart, panier vide ; on dit
   en clair quoi y cliquer, le nom du bon en jaune. */
.bons-relais:empty { display: none; }
.bons-relais { max-width: 620px; margin: 18px auto 0; padding: 14px 18px; background: var(--noir-2); border-left: 4px solid var(--jaune); }
.bons-relais-titre { font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 600; font-size: 18px; letter-spacing: .03em; }
.bons-relais ol { margin: 8px 0 0 22px; display: flex; flex-direction: column; gap: 4px; font-size: 18px; }
.bons-relais b { color: var(--jaune); }
