/* ==========================================================================
   Page « journée piste » — nouveau gabarit
   --------------------------------------------------------------------------
   Chargée uniquement sur la page d'une journée des organisateurs concernés,
   après Bootstrap et style.css. Toutes les classes sont préfixées
   « superlaps- » : aucune règle ne cible une classe du thème existant, et la
   grille Bootstrap reste utilisée telle quelle.

   Palette et polices reprises des blocs de contenu déjà en ligne :
     asphalte #17222B · gris #4B5A66 · filets #DCE1DE
     rouge #D8232A · vert #178F5A · ambre #C48A05
     titres et chiffres : Archivo · textes : IBM Plex Sans

   Point de rupture unique : 767.98 px.
   ========================================================================== */

.superlaps-cta,
.superlaps-cta-sticky,
.superlaps-gal,
.superlaps-info,
.superlaps-modal {
  --asphalte: #17222B;
  --asphalte-2: #4B5A66;
  --ligne: #DCE1DE;
  --rouge: #D8232A;
  --vert: #178F5A;
  --ambre: #C48A05;
  --jauge: var(--vert); /* pilotée par la classe d'état posée en JS */

  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--asphalte);
  font-variant-numeric: tabular-nums;
}

.superlaps-cta *,
.superlaps-cta-sticky * { box-sizing: border-box; }

.is-tendu { --jauge: var(--ambre); }
.is-critique,
.is-complet { --jauge: var(--rouge); }

/* ==========================================================================
   1. Bannière et titre
   Le nom du circuit et les dates existent en texte, et non plus seulement en
   pixels dans l'image : c'est ce qui est indexé et repris au partage du lien.
   ========================================================================== */
.superlaps-hero-page {
  display: block;
  margin: 0 0 22px;
  overflow: hidden;
  background: #17222B;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(23, 34, 43, .16);
}
.superlaps-hero-img { display: block; width: 100%; height: auto; }
.superlaps-hero-body {
  padding: 20px clamp(18px, 3vw, 30px) 24px;
  color: #fff;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
}
.superlaps-hero-txt { flex: 1 1 320px; min-width: 0; }
.superlaps-hero-aside { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

.superlaps-hero-tag {
  display: inline-block;
  background: #D8232A;
  color: #fff;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 6px 13px;
}
.superlaps-hero-body h1 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: clamp(21px, 3.2vw, 28px);
  line-height: 1.15;
  margin: 12px 0 0;
  color: #fff;
}
.superlaps-hero-body h1 span { font-weight: 700; color: #B7C3CB; }
.superlaps-hero-body h1 span::before { content: " — "; color: #4B5A66; }
.superlaps-hero-body p { margin: 11px 0 0; font-size: 14.5px; color: #A6B4BE; line-height: 1.5; max-width: 62ch; }

/* Compte à rebours : calculé en JS à partir de data-date, donc jamais périmé en cache. */
.superlaps-hero-compte {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  color: #D6DEE4;
}
.superlaps-hero-compte svg { width: 17px; height: 17px; flex: none; display: block; color: #D8232A; }
.superlaps-hero-compte b { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 16px; color: #fff; }

.superlaps-hero-share { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.superlaps-hero-share-lab { font-size: 12.5px; color: #9DADB8; margin-right: 2px; }
.superlaps-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.superlaps-share-btn:hover { background: #D8232A; border-color: #D8232A; color: #fff; }
.superlaps-share-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.superlaps-share-btn svg { width: 18px; height: 18px; display: block; }
.superlaps-share-btn[hidden] { display: none; }
.superlaps-share-copie { position: relative; }
.superlaps-share-copie.est-copie::after {
  content: attr(data-confirmation);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #fff;
  color: #17222B;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

/* ==========================================================================
   2. Colonne de réservation
   Un seul exemplaire pour toute la page, au lieu d'un par onglet.
   ========================================================================== */
.superlaps-cta { display: block; }

/* Le sticky est posé sur la COLONNE, pas sur la carte : la carte, les infos
   pratiques et la galerie se figent ensemble. Posé sur la carte seule, le
   reste de la colonne lui passerait derrière au défilement. */
@media (min-width: 768px) {
  .superlaps-cta-col { position: sticky; top: 16px; align-self: flex-start; }
}

.superlaps-cta-card {
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(23, 34, 43, .08);
}
.superlaps-cta-head { display: block; background: var(--asphalte); color: #fff; padding: 16px 20px; }
.superlaps-cta-circuit {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.superlaps-cta-dates { display: block; font-size: 13.5px; color: #9DADB8; margin-top: 3px; }
.superlaps-cta-body { padding: 20px; }

/* --- Les deux tarifs, côte à côte et de même poids visuel --- */
.superlaps-cta-tarifs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ligne);
  border-radius: 11px;
  overflow: hidden;
}
.superlaps-cta-tarifs.superlaps-cta-tarifs-seul { grid-template-columns: 1fr; }
.superlaps-cta-tarif { padding: 12px 13px 13px; }
.superlaps-cta-tarif + .superlaps-cta-tarif { border-left: 1px solid var(--ligne); }
.superlaps-cta-tarif-lab {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--asphalte-2);
}
.superlaps-cta-tarif-val {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-top: 6px;
}
.superlaps-cta-tarif-note { display: block; font-size: 11.5px; color: var(--asphalte-2); line-height: 1.35; margin-top: 4px; }
.superlaps-cta-tarif-club { background: #E6F4EC; }
.superlaps-cta-tarif-club .superlaps-cta-tarif-lab { color: #0F5F3D; }
.superlaps-cta-tarif-club .superlaps-cta-tarif-val { color: var(--vert); }
.superlaps-lic-link { display: block; font-size: 11.5px; font-weight: 600; color: var(--vert); margin-top: 4px; text-decoration: underline; }
.superlaps-lic-link:hover { color: #0F5F3D; }

/* --- Jauge de places : une seule barre, un seul point de vérité pour la couleur --- */
.superlaps-cta-jauge { margin-top: 22px; }
.superlaps-cta-jauge-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.superlaps-cta-restant { font-size: 14.5px; font-weight: 600; color: var(--jauge); }
.superlaps-cta-total { font-size: 13px; color: var(--asphalte-2); }
.superlaps-cta-bar { position: relative; height: 12px; margin-top: 9px; background: #E4E8E5; border-radius: 999px; overflow: hidden; }
.superlaps-cta-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--jauge);
  border-radius: 999px;
  transition: width .45s ease, background-color .35s ease;
}
/* Graduations : 20 crans dessinés par-dessus le remplissage, sans élément vide dans le HTML. */
.superlaps-cta-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0 calc(5% - 2px),
    rgba(255, 255, 255, .85) calc(5% - 2px) 5%);
}
.superlaps-cta-jauge-txt { margin: 9px 0 0; font-size: 12.5px; color: var(--asphalte-2); line-height: 1.45; }

/* --- Bouton de réservation --- */
.superlaps-cta-btn {
  display: block;
  margin-top: 20px;
  padding: 15px 18px;
  background: var(--rouge);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(216, 35, 42, .28);
  transition: background-color .2s ease, transform .08s ease;
}
.superlaps-cta-btn:hover { background: #B91C22; color: #fff; }
.superlaps-cta-btn:active { transform: translateY(1px); }
.superlaps-cta-btn:focus-visible { outline: 3px solid #17222B; outline-offset: 3px; }
.superlaps-cta.is-complet .superlaps-cta-btn,
.superlaps-cta-sticky.is-complet .superlaps-cta-btn {
  background: #E4E8E5;
  color: var(--asphalte-2);
  box-shadow: none;
  pointer-events: none;
}

/* --- Téléphone : visible en permanence, jamais derrière un onglet --- */
.superlaps-cta-tel { display: block; margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--asphalte-2); text-decoration: none; }
.superlaps-cta-tel:hover { color: var(--asphalte); }
.superlaps-cta-tel-ic { display: none; }
.superlaps-cta-tel b { display: block; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 17px; color: var(--asphalte); margin-top: 2px; }

/* --- Amis inscrits --- */
.superlaps-cta-amis {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #F4F6F4;
  border: 1px solid var(--ligne);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color .18s ease;
}
.superlaps-cta-amis:hover { border-color: #B9C2BC; }
.superlaps-cta-amis:focus-visible { outline: 3px solid #17222B; outline-offset: 2px; }
.superlaps-cta-avatars { display: flex; flex: none; }
.superlaps-cta-avatars img,
.superlaps-cta-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: block;
  object-fit: cover;
}
.superlaps-cta-avatars > * + * { margin-left: -11px; }
.superlaps-cta-avatars span {
  background: var(--asphalte);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.superlaps-cta-amis-txt { font-size: 13.5px; color: var(--asphalte-2); line-height: 1.3; }
.superlaps-cta-amis-txt b { color: var(--asphalte); font-weight: 600; }

/* --- Fenêtre de la liste d'amis --- */
.superlaps-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.superlaps-modal[hidden] { display: none; }
.superlaps-modal-fond { position: absolute; inset: 0; background: rgba(23, 34, 43, .55); border: 0; padding: 0; }
.superlaps-modal-carte {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 82vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 20px calc(22px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(23, 34, 43, .3);
}
@media (min-width: 768px) {
  .superlaps-modal { align-items: center; }
  .superlaps-modal-carte { border-radius: 16px; box-shadow: 0 20px 60px rgba(23, 34, 43, .35); }
}
.superlaps-modal-carte h4 { font-family: "Archivo", sans-serif; font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.superlaps-modal-carte > .superlaps-modal-sous { margin: 4px 0 0; font-size: 13.5px; color: var(--asphalte-2); }
.superlaps-modal-fermer {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ligne);
  background: #fff;
  color: var(--asphalte);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.superlaps-modal-fermer svg { width: 16px; height: 16px; display: block; }
.superlaps-amis-liste { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.superlaps-ami { display: flex; align-items: center; gap: 12px; }
.superlaps-ami img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.superlaps-ami-initiales {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--asphalte);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.superlaps-ami b { display: block; font-size: 14.5px; font-weight: 600; }
.superlaps-ami span span { display: block; font-size: 12.5px; color: var(--asphalte-2); margin-top: 1px; }

/* --- Barre collante, mobile uniquement --- */
.superlaps-cta-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--ligne);
  box-shadow: 0 -6px 20px rgba(23, 34, 43, .13);
  transform: translateY(110%);
  transition: transform .28s ease;
}
.superlaps-cta-sticky.is-visible { transform: translateY(0); }
/* Un filet de 3 px reprend le taux de remplissage, dans la couleur de la jauge. */
.superlaps-cta-sticky::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--taux, 0%);
  background: var(--jauge);
  transition: width .45s ease;
}
.superlaps-cta-sticky-txt { flex: 1 1 auto; min-width: 0; }
.superlaps-cta-sticky-ou {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--asphalte-2);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.superlaps-cta-sticky-ligne { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.superlaps-cta-sticky-prix { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 21px; line-height: 1.05; }
.superlaps-cta-sticky-sub { font-size: 12.5px; color: var(--jauge); font-weight: 600; white-space: nowrap; }
.superlaps-cta-sticky .superlaps-cta-btn { margin-top: 0; flex: 0 0 auto; padding: 14px 22px; font-size: 15.5px; }
.superlaps-cta-sticky-tel {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ligne);
  color: var(--asphalte);
  text-decoration: none;
}
.superlaps-cta-sticky-tel svg { width: 21px; height: 21px; display: block; }

/* ==========================================================================
   3. Bande d'onglets — un sommaire, plus un jeu d'onglets
   Les contenus restent tous affichés : la pastille amène à sa section et
   signale où l'on se trouve. Les quatre règles ci-dessous doivent l'emporter
   sur Bootstrap ; la classe .superlaps-journee suffit à les faire gagner.
   ========================================================================== */
.superlaps-journee .tab-content > .tab-pane { display: block; opacity: 1; scroll-margin-top: 76px; }
.superlaps-journee .tab-content > .tab-pane + .tab-pane,
.superlaps-journee .tab-content > .superlaps-gal + .tab-pane { margin-top: 20px; }

/* Sentinelle d'1 px : dès qu'elle passe au-dessus du bord haut, la bande se fige. */
.superlaps-tabs-sentinelle { display: block; height: 1px; margin: 0; }
.superlaps-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent; /* pas de bandeau permanent tant que la bande est à sa place */
  border-radius: 999px;
  transition: background-color .22s ease, box-shadow .22s ease, padding .22s ease;
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  padding: 4px 0 8px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.superlaps-tabs::-webkit-scrollbar { display: none; }
.superlaps-tabs.is-stuck {
  background: rgba(231, 233, 230, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(23, 34, 43, .12);
  padding: 8px 10px;
  margin-top: 6px;
}
.superlaps-tabs li { flex: none; scroll-snap-align: start; }
.superlaps-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #4B5A66;
  background: #fff;
  border: 1px solid #DCE1DE;
  border-radius: 999px;
  padding: 10px 17px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.superlaps-tab svg { width: 18px; height: 18px; flex: none; display: block; }
.superlaps-tab:hover { border-color: #B9C2BC; }
.superlaps-tab.active { background: #17222B; color: #fff; border-color: #17222B; }
.superlaps-tab.active svg { color: #fff; }
.superlaps-tab:focus-visible { outline: 3px solid #D8232A; outline-offset: 2px; }

/* ==========================================================================
   4. Galerie — dans le fil de lecture, juste après la présentation
   Mosaïque en grille CSS : pas de calcul de rangées en JavaScript, donc pas
   de saut de mise en page au chargement.
   ========================================================================== */
.superlaps-gal {
  display: block;
  margin-top: 20px;
  padding: clamp(16px, 2.2vw, 24px);
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 14px;
}
.superlaps-gal h3 { font-family: "Archivo", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.superlaps-gal-sub { display: block; font-size: 13.5px; color: var(--asphalte-2); margin-top: 4px; max-width: 70ch; }
.superlaps-gal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
@media (min-width: 620px) {
  .superlaps-gal-grid { grid-template-columns: repeat(4, 1fr); }
  .superlaps-gal-video { grid-row: span 2; aspect-ratio: auto; }
}
.superlaps-gal-video,
.superlaps-gal-thumb { position: relative; display: block; overflow: hidden; border-radius: 10px; background: #DEE3E0; }
.superlaps-gal-video img,
.superlaps-gal-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.superlaps-gal-thumb { aspect-ratio: 16 / 9; }
.superlaps-gal-video { grid-column: span 2; aspect-ratio: 16 / 9; }
.superlaps-gal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.superlaps-gal-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(23, 34, 43, 0) 45%, rgba(23, 34, 43, .55) 100%);
}
.superlaps-gal-play svg { width: 64px; height: 64px; display: block; filter: drop-shadow(0 3px 10px rgba(23, 34, 43, .45)); }
.superlaps-gal-lab {
  position: absolute;
  left: 13px;
  bottom: 11px;
  right: 13px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(23, 34, 43, .6);
}
.superlaps-gal-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 34, 43, .62);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 17px;
}
/* Les photos au-delà de la mosaïque restent dans le DOM pour la visionneuse. */
.superlaps-gal-cachee { display: none; }

/* ==========================================================================
   5. Infos pratiques — ce qu'on cherche sur son téléphone la veille au soir
   ========================================================================== */
.superlaps-info {
  display: block;
  margin-top: 16px;
  padding: 18px;
  background: #17222B;
  color: #fff;
  border-radius: 14px;
}
.superlaps-info h3 { font-family: "Archivo", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.superlaps-info ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 13px; }
.superlaps-info li { display: flex; gap: 11px; align-items: flex-start; }
.superlaps-info li svg { width: 19px; height: 19px; flex: none; display: block; color: #D8232A; margin-top: 2px; }
.superlaps-info b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.superlaps-info span span { display: block; font-size: 13px; color: #A6B4BE; line-height: 1.45; margin-top: 2px; }
.superlaps-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
.superlaps-info-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.superlaps-info-btn svg { width: 17px; height: 17px; display: block; }

/* ==========================================================================
   6. Réagencement mobile
   « display: contents » retire les colonnes de la mise en page sans les
   retirer du DOM : leurs enfants deviennent des éléments flex de la .row et
   s'ordonnent librement, sans dupliquer le balisage.
   ========================================================================== */
@media (max-width: 767.98px) {
  .superlaps-journee .superlaps-cta-col,
  .superlaps-journee .superlaps-contenu-col,
  .superlaps-journee .tab-content { display: contents; }

  /* Les enfants ainsi promus perdent le rembourrage de colonne Bootstrap :
     on le rétablit sur la même verticale que le reste de la page. */
  .superlaps-cta,
  .superlaps-gal,
  .superlaps-info {
    flex: 0 0 calc(100% - var(--bs-gutter-x, 1.5rem));
    max-width: calc(100% - var(--bs-gutter-x, 1.5rem));
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
  }
  .superlaps-cta { position: static; order: -1; margin-bottom: 22px; }
  .superlaps-tabs-sentinelle,
  .superlaps-tabs { flex: 0 0 100%; max-width: 100%; }
  .superlaps-journee .tab-content > .tab-pane {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
  }
  .superlaps-journee .tab-content > .tab-pane + .tab-pane { margin-top: 0; }

  .superlaps-tabs { order: 0; padding-left: 2px; padding-right: 2px; }
  .superlaps-tabs.is-stuck { padding: 8px 10px; }
  .superlaps-tab { font-size: 14px; padding: 9px 15px; }

  /* L'ordre de lecture : réservation, sommaire, présentation, galerie,
     les autres sections, puis les infos pratiques. */
  .superlaps-journee .tab-content > .tab-pane { order: 3; margin-top: 18px; }
  .superlaps-journee .tab-content > .tab-pane:first-child { order: 1; margin-top: 0; }
  .superlaps-gal { order: 2; margin-top: 18px; }
  .superlaps-info { order: 6; margin-top: 22px; padding: 20px 24px; }

  .superlaps-cta-sticky { display: flex; }
  body { padding-bottom: 84px; }

  /* Carte de réservation compacte : une colonne, chaque information sur sa
     ligne, environ 120 px de haut au lieu de 400. Le bandeau circuit + dates
     disparaît, l'information est déjà dans la bannière juste au-dessus. */
  .superlaps-cta-card {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 24px 18px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(23, 34, 43, .07);
  }
  .superlaps-cta-body { display: contents; }
  .superlaps-cta-head { display: none; }
  /* Le numéro reste en haut, discret : « Une question ? » est masqué par la
     taille nulle du lien, rétablie sur le numéro lui-même. */
  .superlaps-cta-tel {
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 11px;
    padding: 0;
    font-size: 0;
    text-align: left;
    border: 0;
    color: var(--asphalte-2);
  }
  .superlaps-cta-tel-ic { display: block; width: 14px; height: 14px; flex: none; }
  .superlaps-cta-tel b { display: inline; font-size: 13.5px; font-weight: 600; margin-top: 0; }
  .superlaps-cta-tarifs { grid-row: 2; }
  .superlaps-cta-tarif-val { font-size: 27px; }
  .superlaps-cta-jauge { grid-row: 3; margin-top: 15px; }
  .superlaps-cta-bar { height: 9px; margin-top: 6px; }
  .superlaps-cta-restant { font-size: 13.5px; }
  .superlaps-cta-jauge-txt { display: none; }
  .superlaps-cta-btn { grid-row: 4; margin-top: 15px; padding: 14px 18px; font-size: 16px; }
  .superlaps-cta-amis {
    grid-row: 5;
    margin-top: 13px;
    padding: 11px 0 0;
    background: none;
    border: 0;
    border-top: 1px solid var(--ligne);
    border-radius: 0;
  }

  .superlaps-gal { padding: 20px 24px; }

  .superlaps-hero-body { align-items: flex-start; }
  .superlaps-hero-aside { flex: 1 1 100%; align-items: flex-start; gap: 12px; }
  .superlaps-hero-share { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .superlaps-cta-sticky,
  .superlaps-cta-bar-fill,
  .superlaps-cta-btn,
  .superlaps-tabs,
  .superlaps-tab,
  .superlaps-share-btn { transition: none; }
}
