/* ==========================================================================
   Bora · site vitrine
   Charte : bleu nuit #002633, vert néon #8BE831 (jamais en texte sur fond clair)
   Titres : Anton en capitales · Texte : Rubik
   ========================================================================== */

:root {
  --nuit: #002633;
  --nuit-profond: #001a22;
  --nuit-abysse: #00141b;
  --nuit-clair: #0b3a4a;
  --neon: #8be831;
  --neon-clair: #a8e85a;
  --encre: #0f1f26;
  --texte: #3e4e56;
  --doux: #56656c;
  --gris-manifeste: #7a878d;
  --creme: #f5f1ea;
  --blanc-chaud: #f4f1ea;
  --gris-clair: #eef1f2;
  --ligne: rgba(15, 31, 38, 0.1);
  --bord-champ: #7f8f96;
  --erreur: #b42318;

  --police-titre: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --police-texte: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largeur: 1240px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --rayon-xl: 40px;
  --entete-h: 84px;
  --chevauchement: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --taille-hero: clamp(50px, 10.2vw, 160px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

main:focus {
  outline: none;
}

/* Focus visible : anneau néon + liseré bleu nuit (lisible sur fond clair comme sombre) */
:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 3px;
  box-shadow: 0 0 0 8px var(--nuit);
}

/* Lignes équilibrées, pas de mot seul en dernière ligne (sans effet là où ce n'est pas pris en charge) */
h1,
h2,
h3,
.offre__prix,
.pied__accroche {
  text-wrap: balance;
}

p,
li,
.etape__texte,
.flux__libelle {
  text-wrap: pretty;
}

/* « e-mail » ne se coupe pas au trait d'union */
.insecable {
  white-space: nowrap;
}

.visuellement-masque {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--neon);
  color: var(--nuit);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.lien-evitement:focus {
  top: 16px;
}

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* ---------- Éléments communs ---------- */
.point {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(139, 232, 49, 0.18), 0 0 12px rgba(139, 232, 49, 0.65);
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 16px/1.1 var(--police-texte);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s,
    box-shadow 0.25s;
}

.bouton svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.bouton:hover svg {
  transform: translateX(3px);
}

.bouton--neon {
  background: var(--neon);
  color: var(--nuit);
  box-shadow: 0 12px 32px -12px rgba(139, 232, 49, 0.7);
}

.bouton--neon:hover {
  background: var(--neon-clair);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(139, 232, 49, 0.85);
}

.bouton--contour {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.bouton--contour:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.bouton--doux {
  background: var(--gris-clair);
  color: var(--nuit);
}

.bouton--doux:hover {
  background: #dfe6e9;
}

.bouton--petit {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.bouton--large {
  width: 100%;
}

.bouton[disabled] {
  cursor: progress;
  opacity: 0.65;
  transform: none;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1.2 var(--police-texte);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nuit);
}

.titre-section {
  margin-top: 16px;
  font: 400 clamp(44px, 6.2vw, 86px) / 0.96 var(--police-titre);
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: var(--encre);
  text-wrap: balance;
}

.titre-section--moyen {
  margin-top: 0;
  font-size: clamp(40px, 4.8vw, 64px);
}

.chapo {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--doux);
}

.entete-section {
  max-width: 780px;
}

.entete-section--centre {
  margin-inline: auto;
  text-align: center;
}

.entete-section--centre .chapo {
  margin-inline: auto;
}

.entete-section--ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.entete-section--sombre .surtitre,
.entete-section--sombre .titre-section {
  color: #fff;
}

.entete-section--sombre .chapo {
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section--serree {
  padding-block: clamp(24px, 4vw, 56px);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Cadres : téléphone et navigateur ---------- */
.telephone {
  --l: 280px;
  position: relative;
  width: var(--l);
  padding: calc(var(--l) * 0.034);
  border-radius: calc(var(--l) * 0.155);
  background: linear-gradient(150deg, #23343b 0%, #0a1215 45%, #03080a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 3px #04090b,
    0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* Écran : barre d'état CSS puis la capture à son ratio exact (1170 × 2532).
   L'écran est donc un peu plus haut qu'une capture seule : rien n'est rogné ni déformé. */
.telephone__ecran {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: calc(var(--l) * 0.125);
  background: radial-gradient(120% 55% at 50% 0%, #0b4357 0%, var(--nuit) 62%);
}

/* Logo en filigrane : visible tant que la capture n'est pas là */
.telephone__ecran::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center 46% / 40% no-repeat;
  opacity: 0.16;
}

/* Barre d'état : les captures de l'app (Flutter web) n'en ont pas, et l'îlot posé
   directement dessus masquerait l'en-tête de l'app (titre, retour). Elle s'ajoute
   AU-DESSUS de la capture, à la couleur de sa première ligne de pixels (--barre,
   mesurée avec `python3 vitrine/outils/captures_communes.py couleurs`).
   47 px pour un écran de 390 px, comme un iPhone à îlot. */
.statut {
  position: relative;
  z-index: 2;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 390 / 47;
  padding: 0 6.5% 0 9.5%;
  background: var(--barre, var(--nuit));
  color: #fff;
  font: 500 calc(var(--l) * 0.05) / 1 var(--police-texte);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.statut--claire {
  color: #0f1f26;
}

/* Îlot de l'écran, centré dans la barre d'état */
.statut::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28%;
  height: 62%;
  border-radius: 999px;
  background: #04090b;
  transform: translate(-50%, -50%);
}

.statut__icones {
  flex: none;
  width: 3.9em;
  height: 0.72em;
}

.capture {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  color: transparent;
  font-size: 0;
}

.capture.est-absente {
  visibility: hidden;
}

.navigateur {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0a2f3c;
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, 0.85);
}

.navigateur__barre {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d3746;
}

.navigateur__points {
  display: flex;
  flex: none;
  gap: 7px;
}

.navigateur__points span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.navigateur__points span:last-child {
  background: var(--neon);
}

.navigateur__url {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navigateur__url svg {
  display: inline-block;
  margin-right: 6px;
  vertical-align: -1px;
}

.navigateur__ellipse {
  display: none;
}

.navigateur__ecran {
  position: relative;
  aspect-ratio: 2880 / 1800;
  background: #eef2f4;
}

.navigateur__ecran::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/vitrine/img/logo/bora-picto.svg?v=20261001") center / 18% no-repeat;
  opacity: 0.12;
}

/* Agrandissement : toute la capture est un lien vers l'image en pleine définition
   (sans JS) ; site.js l'ouvre dans une visionneuse. Pastille en bas à gauche, où les
   quatre captures n'ont que le pied du menu latéral (vide). */
.navigateur__zoom {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(8px, 1.5vw, 16px);
  color: #fff;
  text-decoration: none;
  cursor: zoom-in;
}

/* Capture des paiements : le bas à gauche porte la liste des participants ;
   la pastille passe en haut à droite, sur la croix de fermeture de la fenêtre. */
.navigateur__zoom--haut-droite {
  align-items: flex-start;
  justify-content: flex-end;
}

.navigateur__zoom:focus-visible {
  outline-offset: -4px;
  box-shadow: none;
}

.navigateur__loupe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 38, 51, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.7);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s, transform 0.25s var(--ease);
}

.navigateur__loupe svg {
  flex: none;
  color: var(--neon);
}

.navigateur__zoom:hover .navigateur__loupe {
  background: var(--nuit);
  transform: translateY(-2px);
}

/* Visionneuse (créée par site.js) : la capture à une taille lisible, à faire défiler */
.visionneuse {
  width: min(1400px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: var(--nuit-profond);
  color: #fff;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
}

.visionneuse::backdrop {
  background: rgba(0, 20, 27, 0.84);
}

.visionneuse__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visionneuse__titre {
  min-width: 0;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.visionneuse__fermer {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--neon);
  color: var(--nuit);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.visionneuse__defile {
  max-height: calc(100vh - 24px - 66px);
  max-height: calc(100dvh - 24px - 66px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #eef2f4;
}

.visionneuse__defile:focus-visible {
  outline-offset: -4px;
  box-shadow: none;
}

/* Au moins 1080 px de large (texte de l'ERP lisible, défilement sur téléphone) ; sur
   grand écran, la capture tient en entier dans la hauteur. */
.visionneuse__image {
  width: 1080px;
  width: max(1080px, min(100%, calc((100dvh - 96px) * 1.6)));
  max-width: none;
  height: auto;
  margin-inline: auto;
}

.visionneuse-ouverte {
  overflow: hidden;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background-color 0.35s, box-shadow 0.35s;
}

.entete__barre {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--entete-h);
  transition: height 0.35s var(--ease);
}

.entete__logo {
  flex: none;
  border-radius: 8px;
}

.entete__logo img {
  width: auto;
  height: 34px;
}

.entete__nav {
  margin-inline: auto;
}

.pilule-nav {
  display: flex;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pilule-nav a {
  position: relative;
  display: block;
  padding: 9px 20px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}

.pilule-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pilule-nav a.est-actif::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  transform: translateX(-50%);
}

.entete__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 22px;
}

.lien-espace {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.lien-espace:hover {
  color: var(--neon);
}

/* Sélecteur de page « Joueurs | Centres » : pilule segmentée, la page affichée
   en blanc (aria-current="page"). Distinct du menu d'ancres, translucide. */
.entete__pages {
  flex: none;
}

.selecteur {
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 20, 27, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.selecteur li {
  display: flex;
}

.selecteur a {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.selecteur a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.selecteur a[aria-current="page"] {
  background: #fff;
  color: var(--nuit);
}

.selecteur a[aria-current="page"]::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 2px var(--nuit);
}

.entete.est-compact,
.entete.menu-ouvert {
  background: rgba(0, 20, 27, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.7);
}

.entete.est-compact .entete__barre {
  height: 68px;
}

.burger {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.burger__barres {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.burger__barres span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger__barres span:nth-child(1) {
  top: 0;
}

.burger__barres span:nth-child(2) {
  top: 6px;
}

.burger__barres span:nth-child(3) {
  top: 12px;
}

.burger[aria-expanded="true"] .burger__barres span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__barres span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger__barres span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-mobile {
  max-height: calc(100svh - 68px);
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--nuit-abysse);
}

/* Menu ouvert : l'en-tête occupe toute la hauteur, le menu remplit le reste
   (rien de la page ne dépasse dessous) et la page ne défile plus derrière. */
.entete.menu-ouvert {
  bottom: 0;
  display: flex;
  flex-direction: column;
}

.entete.menu-ouvert .menu-mobile {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.menu-mobile-ouvert {
  overflow: hidden;
}

.menu-mobile__liens a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 400 30px/1.1 var(--police-titre);
  text-transform: uppercase;
  text-decoration: none;
}

/* Sélecteur de page en tête du menu mobile : deux grands segments */
.menu-mobile__pages {
  padding-block: 18px 6px;
}

/* Ce que la barre affiche déjà n'est pas répété dans le menu ouvert :
   le sélecteur de page à partir de 720 px, le bouton néon à partir de 600 px */
@media (min-width: 720px) {
  .menu-mobile__pages {
    display: none;
  }
}

@media (min-width: 600px) {
  .menu-mobile__actions .bouton--neon {
    display: none;
  }
}

.menu-mobile__pages .selecteur li {
  flex: 1;
}

.menu-mobile__pages .selecteur a {
  min-height: 52px;
  font-size: 16px;
}

.menu-mobile__liens a:focus-visible {
  outline-offset: -3px;
  box-shadow: none;
}

.menu-mobile__liens a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.menu-mobile__actions {
  display: grid;
  gap: 12px;
  padding-block: 24px 28px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: clamp(780px, 100svh, 1000px);
  overflow: hidden;
  padding-top: calc(var(--entete-h) + clamp(20px, 5vh, 56px));
  padding-bottom: calc(var(--chevauchement) + 40px);
  background: var(--nuit-abysse);
  color: #fff;
}

.hero__fond {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(78%, 1120px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

.hero__fond::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--nuit-abysse) 0%, rgba(0, 20, 27, 0.82) 32%, rgba(0, 38, 51, 0.38) 66%, rgba(0, 38, 51, 0.62) 100%),
    linear-gradient(180deg, rgba(0, 20, 27, 0.6) 0%, rgba(0, 20, 27, 0) 28%, rgba(0, 20, 27, 0) 62%, var(--nuit-abysse) 100%);
}

.hero__filigrane {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -12%;
  width: min(1000px, 95vw);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.045);
  -webkit-mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  transform: translateY(-48%) rotate(-14deg);
}

.hero__lueur {
  position: absolute;
  z-index: 2;
  top: 12%;
  left: 52%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(139, 232, 49, 0.22), rgba(139, 232, 49, 0.06) 55%, rgba(139, 232, 49, 0) 100%);
}

.hero .grain {
  z-index: 3;
}

.hero__scene {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.hero__surtitre {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font: 700 12.5px/1 var(--police-texte);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__titres {
  position: relative;
  /* Les capitales accentuées d'Anton montent à 1,10 em : le Ê de « PRÊT » ne doit
     pas toucher la pastille du dessus */
  margin-top: calc(16px + var(--taille-hero) * 0.2);
}

.hero__titre {
  position: relative;
  z-index: 1;
  font: 400 var(--taille-hero) / 0.9 var(--police-titre);
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: var(--blanc-chaud);
  /* même trait que le calque contour : les deux calques se superposent au pixel près */
  -webkit-text-stroke: 1.6px var(--blanc-chaud);
}

.hero__titre .hero__point-interro,
.hero__titre .hero__ponctuation {
  -webkit-text-stroke-color: var(--neon);
}

.hero__ligne {
  display: block;
  white-space: nowrap;
}

.hero__ligne--2 {
  padding-left: 0.9em;
}

.hero__point-interro,
.hero__ponctuation {
  color: var(--neon);
}

/* Calque contour : passe au-dessus des téléphones */
.hero__titre--contour {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--blanc-chaud);
  pointer-events: none;
}

.hero__titre--contour .hero__point-interro,
.hero__titre--contour .hero__ponctuation {
  color: transparent;
  -webkit-text-stroke-color: var(--neon);
}

/* Une fois découpé à la forme des téléphones (JS), le contour gagne un halo
   pour rester lisible sur un écran clair */
.hero__titre--contour.est-decoupe {
  -webkit-text-stroke-width: 3px;
  filter: drop-shadow(0 0 2px rgb(0, 20, 27)) drop-shadow(0 0 3px rgb(0, 20, 27))
    drop-shadow(0 0 12px rgba(0, 20, 27, 0.85));
}

/* Sur le cadre, un point creux ressemblait à une case à cocher : il est plein,
   détaché du fond clair par le halo sombre ci-dessus (page Centres) */
.hero__titre--contour.est-decoupe .hero__ponctuation {
  color: var(--neon);
}

.hero__accroche {
  position: relative;
  z-index: 4;
  max-width: 440px;
  margin-top: 30px;
  font-size: clamp(17px, 1.35vw, 19px);
  color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__telephones {
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 50%;
  width: 40%;
  height: 100%;
  pointer-events: none;
}

.flotte {
  position: absolute;
}

.flotte--arriere {
  top: 120px;
  left: -5%;
}

.flotte--avant {
  top: 24px;
  left: 33%;
}

/* Largeurs réduites de 5 % depuis l'ajout de la barre d'état : même hauteur qu'avant */
.telephone--avant {
  --l: clamp(224px, 19vw, 277px);
}

.telephone--arriere {
  --l: clamp(196px, 16.5vw, 241px);
  transform: rotate(-9deg);
  filter: brightness(0.9);
}

.hero__bas {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  /* de l'air au-dessus de l'onglet « BORA » de la carte blanche (il touchait l'encadré) */
  margin-bottom: 24px;
  padding-top: 40px;
}

.faits {
  display: flex;
  padding: 18px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  /* Presque opaque : un téléphone peut passer dessous (contraste de « /jour max ») */
  background: rgba(0, 26, 34, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.fait {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 4px 26px;
  text-align: center;
}

.fait + .fait {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.fait dd {
  font: 700 clamp(22px, 2.2vw, 31px) / 1 var(--police-texte);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.fait dd small {
  margin-left: 3px;
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.82);
}

.fait dt {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.74);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .stores {
  flex-direction: column;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(0, 38, 51, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}

.store:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.store__icone {
  flex: none;
}

.store__texte {
  display: flex;
  flex-direction: column;
  font: 700 15.5px/1.2 var(--police-texte);
}

.store__texte small {
  font: 500 11.5px/1.25 var(--police-texte);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

/* Entrée du hero */
.hero__ligne {
  animation: monte 1s var(--ease) both;
}

.hero__ligne--2 {
  animation-delay: 0.14s;
}

.hero__surtitre {
  animation: apparait 0.8s var(--ease) both;
}

.hero__accroche {
  animation: apparait 0.9s var(--ease) 0.3s both;
}

.hero__actions {
  animation: apparait 0.9s var(--ease) 0.42s both;
}

.hero__bas {
  animation: apparait 0.9s var(--ease) 0.55s both;
}

.hero__telephones {
  animation: monte 1.2s var(--ease) 0.2s both;
}

/* Quelques cycles seulement : aucun mouvement sans fin sur la page */
.flotte--avant {
  animation: flotte 6.5s ease-in-out 1.4s 3;
}

.flotte--arriere {
  animation: flotte 7.5s ease-in-out 1.9s 3;
}

@keyframes monte {
  from {
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes apparait {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes flotte {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ==========================================================================
   Hero de la page Centres : titre sur quatre lignes, capture du planning dans
   un cadre de navigateur en perspective, téléphone de l'app qui le chevauche.
   Les lignes 2 et 4 passent sur le cadre : elles y deviennent des contours
   (même découpe que les téléphones de la page Joueurs, site.js).
   ========================================================================== */
/* Quatre lignes de titre : la taille suit aussi la hauteur de l'écran, pour
   que les boutons et les faits tiennent dans le premier écran d'un portable
   (1366 × 768, 1440 × 900). Sous 1200 px, voir plus bas (inherit). */
.hero--centres {
  --taille-hero: clamp(50px, min(8.3vw, 12.5vh), 126px);
}

.hero--centres .hero__photo {
  width: min(76%, 1080px);
  object-position: 50% 42%;
  opacity: 0.5;
}

.hero--centres .hero__lueur {
  top: 2%;
  left: 44%;
}

.hero__ligne--3 {
  animation-delay: 0.28s;
}

.hero__ligne--4 {
  padding-left: 0.9em;
  animation-delay: 0.42s;
}

.hero__visuel {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: var(--gouttiere);
  width: 52%;
  pointer-events: none;
  animation: monte 1.2s var(--ease) 0.2s both;
}

/* Le cadre garde sa taille au-delà de 1400 px alors que le titre grandit
   encore : on le descend pour que « VOTRE CENTRE. » reste entier dessus
   (sinon le pied des lettres dépassait du cadre, en plein sous le contour). */
@media (min-width: 1400px) {
  .hero--centres .hero__visuel {
    top: 52px;
  }
}

.hero__visuel .flotte--ecran {
  position: relative;
  animation: flotte 7.5s ease-in-out 1.9s 3;
}

.navigateur--hero {
  transform: perspective(2400px) rotateY(-14deg) rotateX(5deg) rotate(-1deg);
  box-shadow: 0 70px 120px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(139, 232, 49, 0.14);
}

.hero__visuel .flotte--appli {
  position: absolute;
  right: -5%;
  bottom: -34%;
  animation: flotte 6.5s ease-in-out 1.4s 3;
}

.telephone--appli {
  --l: clamp(150px, 12.6vw, 190px);
  transform: rotate(6deg);
}

/* Pastille « reliée à l'app » entre le cadre et le téléphone */
.hero__puce {
  position: absolute;
  z-index: 3;
  right: 27%;
  bottom: -22%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 12px;
  border: 1px solid rgba(139, 232, 49, 0.5);
  border-radius: 999px;
  background: rgba(0, 26, 34, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  animation: apparait 0.9s var(--ease) 1s both;
}

.hero--centres .hero__bas {
  justify-content: flex-start;
}

/* ==========================================================================
   Mission (carte blanche qui chevauche le hero)
   ========================================================================== */
.feuille {
  position: relative;
  z-index: 5;
  margin-top: calc(-1 * var(--chevauchement));
  border-radius: var(--rayon-xl) var(--rayon-xl) 0 0;
  background: #fff;
}

.onglet-feuille {
  position: absolute;
  top: -38px;
  left: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 240px;
  height: 40px;
  padding-bottom: 3px;
  background: #fff;
  clip-path: path("M0 40C22 40 30 36 39 27L54 12C62 4 68 0 80 0H160C172 0 178 4 186 12L201 27C210 36 218 40 240 40Z");
  font: 400 17px/1 var(--police-titre);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--encre);
  transform: translateX(-50%);
}

.mission__scene {
  position: relative;
  padding-block: clamp(150px, 15vw, 200px) clamp(140px, 14vw, 190px);
}

.manifeste {
  max-width: 900px;
  margin-inline: auto;
  font: 700 clamp(25px, 3vw, 42px) / 1.22 var(--police-texte);
  letter-spacing: -0.015em;
  color: var(--encre);
  text-indent: 24%;
}

.manifeste strong {
  font-weight: 700;
}

.manifeste__doux {
  color: var(--gris-manifeste);
}

.mission__photo {
  position: absolute;
  width: clamp(130px, 15vw, 206px);
  aspect-ratio: 1.12;
  overflow: hidden;
  border-radius: 22px;
  background: var(--nuit);
  box-shadow: 0 26px 50px -26px rgba(0, 38, 51, 0.55);
}

.mission__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission__photo--1 {
  top: 34px;
  left: var(--gouttiere);
}

.mission__photo--2 {
  right: var(--gouttiere);
  bottom: 26px;
}

/* Recadrage serré sur la chasuble (page Joueurs) */
.mission__photo--chasuble img {
  object-position: 0% 100%;
  transform: scale(2);
  transform-origin: 14% 96%;
}

/* ==========================================================================
   Joueurs : filtres et galerie
   ========================================================================== */
.joueurs {
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.filtre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--gris-clair);
  color: var(--encre);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.filtre:hover {
  background: #e0e7ea;
}

.filtre[aria-selected="true"] {
  background: var(--nuit);
  color: #fff;
}

.filtre[aria-selected="true"]::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

.galerie {
  margin-top: 34px;
  border-radius: 24px;
}

.galerie:focus-visible {
  outline-offset: 8px;
}

/* Rangées de trois, la dernière centrée (8 écrans : 3 + 3 + 2 ; un filtre peut n'en garder qu'un) */
.galerie__liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.carte-ecran {
  --fond: #fff;
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  height: clamp(520px, 43vw, 600px);
  overflow: hidden;
  border-radius: 22px;
  background: var(--nuit);
  color: #fff;
}

.carte-ecran.est-filtree {
  animation: apparait 0.5s var(--ease) both;
}

/* Encoches haut et bas */
.carte-ecran::before,
.carte-ecran::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  width: 132px;
  height: 16px;
  background: var(--fond);
  transform: translateX(-50%);
}

.carte-ecran::before {
  top: -1px;
  clip-path: path("M0 0H132C120 0 114 2 108 7C103 12 98 16 88 16H44C34 16 29 12 24 7C18 2 12 0 0 0Z");
}

.carte-ecran::after {
  bottom: -1px;
  clip-path: path("M0 16H132C120 16 114 14 108 9C103 4 98 0 88 0H44C34 0 29 4 24 9C18 14 12 16 0 16Z");
}

.carte-ecran__fond {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: transform 1.2s var(--ease), opacity 0.6s;
}

.carte-ecran__fond--gauche {
  object-position: 0% 50%;
}

.carte-ecran:hover .carte-ecran__fond {
  opacity: 0.55;
  transform: scale(1.06);
}

.carte-ecran__tag {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 22px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
}

.telephone--carte {
  --l: 58cqi;
  position: absolute;
  z-index: 1;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.6s var(--ease);
}

.carte-ecran:hover .telephone--carte {
  transform: translateX(-50%) translateY(-10px);
}

.carte-ecran__legende {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 100px 24px 34px;
  background: linear-gradient(180deg, rgba(0, 20, 27, 0) 0%, rgba(0, 20, 27, 0.9) 42%, var(--nuit-abysse) 100%);
}

.carte-ecran__legende h3 {
  font: 400 26px/1.05 var(--police-titre);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.carte-ecran__legende p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Bandeau « 3 étapes »
   ========================================================================== */
.bandeau {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.85fr);
  gap: 40px;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: 36px;
  background: var(--nuit-abysse);
  color: #fff;
}

.bandeau__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.bandeau::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(0, 20, 27, 0.93) 0%, rgba(0, 20, 27, 0.6) 42%, rgba(0, 38, 51, 0.3) 68%, rgba(0, 20, 27, 0.7) 100%),
    linear-gradient(0deg, rgba(0, 20, 27, 0.75) 0%, rgba(0, 20, 27, 0) 50%);
}

/* Trait de lumière néon */
.bandeau::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 24%;
  left: -10%;
  width: 120%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 232, 49, 0) 0%, rgba(139, 232, 49, 0.75) 18%, rgba(139, 232, 49, 0) 38%, rgba(139, 232, 49, 0) 72%, rgba(139, 232, 49, 0.6) 90%, rgba(139, 232, 49, 0) 100%);
  transform: rotate(-3deg);
}

.bandeau__filigrane {
  position: absolute;
  z-index: -1;
  bottom: -30%;
  left: 26%;
  width: 520px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  -webkit-mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  transform: rotate(12deg);
}

.bandeau__texte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.bandeau__titre {
  max-width: 5.2em;
  /* 1.12 : le É de « ÉTAPES » (2e ligne) ne touche pas la ligne du dessus */
  font: 400 clamp(50px, 5.6vw, 84px) / 1.12 var(--police-titre);
  letter-spacing: 0.004em;
  text-transform: uppercase;
}

.bandeau__bas p {
  max-width: 330px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
}

/* Écran de bienvenue de l'app, au centre du bandeau */
.bandeau__telephone {
  align-self: center;
  justify-self: center;
}

.telephone--bandeau {
  --l: clamp(176px, 14.6vw, 206px);
  transform: rotate(5deg);
}

.etapes {
  align-self: center;
  padding: 4px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(0, 38, 51, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.etape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 4px;
  text-align: center;
}

.etape + .etape {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.etape__num {
  font: 400 clamp(54px, 5.6vw, 76px) / 1 var(--police-titre);
  color: #fff;
}

.etape:nth-child(2) .etape__num {
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
}

.etape__texte {
  max-width: 250px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   Centres
   ========================================================================== */
.centres {
  position: relative;
  isolation: isolate;
  margin: clamp(32px, 5vw, 72px) clamp(8px, 1.4vw, 20px) 0;
  padding-block: clamp(72px, 9vw, 120px);
  overflow: hidden;
  border-radius: var(--rayon-xl);
  background: radial-gradient(70% 45% at 88% 0%, rgba(139, 232, 49, 0.14), rgba(139, 232, 49, 0) 70%),
    linear-gradient(180deg, var(--nuit) 0%, var(--nuit-profond) 100%);
  color: #fff;
}

.centres__decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.centres__decor img {
  position: absolute;
  top: -140px;
  right: -200px;
  width: 760px;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  transform: rotate(14deg);
}

.onglets {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-top: 36px;
  padding: 5px;
  overflow-x: auto;
  /* l'onglet choisi s'arrête hors du fondu des bords */
  scroll-padding-inline: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
}

.onglets::-webkit-scrollbar {
  display: none;
}

.onglets[data-deborde="droite"] {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
}

.onglets[data-deborde="gauche"] {
  -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent);
}

.onglets[data-deborde="deux"] {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}

.onglet {
  flex: none;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.onglet:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.onglet[aria-selected="true"] {
  background: var(--neon);
  color: var(--nuit);
  font-weight: 700;
}

/* Anneau blanc puis liseré bleu nuit, à l'intérieur (la liste défile) : visible
   sur l'onglet choisi, en néon, comme sur les autres */
.onglet:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
  box-shadow: inset 0 0 0 5px var(--nuit);
}

.panneaux {
  margin-top: 36px;
}

.panneau {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  border-radius: 18px;
}

.panneau:focus-visible {
  outline-offset: 10px;
}

.panneau.est-affiche {
  animation: apparait 0.5s var(--ease) both;
}

.panneau__texte h3 {
  font: 400 clamp(30px, 3vw, 42px) / 1 var(--police-titre);
  text-transform: uppercase;
}

.points {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.points li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
}

.points li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(139, 232, 49, 0.16), 0 0 14px rgba(139, 232, 49, 0.7);
}

.flux {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  container-type: inline-size;
}

.flux::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(139, 232, 49, 0.75) 0 8px, rgba(139, 232, 49, 0) 8px 15px);
}

/* Point qui circule de l'app vers l'ERP : animé en transform (pas de recalcul de
   la mise en page), lancé quand l'encart apparaît, quatre passages puis fini */
.flux::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 16%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 14px var(--neon);
  opacity: 0;
}

.est-visible .flux::after {
  animation: circule 3.4s ease-in-out 0.9s 4;
}

@keyframes circule {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(68cqw - 10px));
    opacity: 0;
  }
}

.flux__etape {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.flux__icone {
  display: grid;
  flex: none;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1.5px solid rgba(139, 232, 49, 0.65);
  border-radius: 50%;
  background: var(--nuit);
  color: var(--neon);
  box-shadow: 0 0 0 7px var(--nuit-profond), 0 0 28px rgba(139, 232, 49, 0.28);
}

.flux__libelle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.flux__libelle strong {
  font-size: 15.5px;
  color: #fff;
}

.badge-app {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 11px;
  border: 1px solid rgba(139, 232, 49, 0.5);
  border-radius: 999px;
  background: rgba(139, 232, 49, 0.14);
  color: var(--neon);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   Page Centres : fonctionnalités (onglets en cartes, grande capture)
   ========================================================================== */
.fonctionnalites .entete-section {
  max-width: 860px;
}

/* Une idée par ligne ; interligne ouvert (les capitales accentuées d'Anton
   montent à 1,10 em) : le É de « RÉSERVATIONS » ne touche pas la ligne du dessus */
.fonctionnalites .titre-section {
  line-height: 1.14;
}

.titre-section__ligne {
  display: block;
}

.onglet__num,
.onglet__resume {
  display: none;
}

.fonctionnalites .navigateur {
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(139, 232, 49, 0.1);
}

.fonctionnalites .panneau {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

@media (min-width: 1024px) {
  .onglets--cartes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 44px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .onglets--cartes .onglet {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 0;
    padding: 20px 22px 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
    white-space: normal;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  }

  .onglets--cartes .onglet:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
  }

  .onglets--cartes .onglet[aria-selected="true"] {
    border-color: var(--neon);
    background: var(--neon);
    color: var(--nuit);
    box-shadow: 0 24px 50px -28px rgba(139, 232, 49, 0.85);
  }

  .onglet__num {
    display: block;
    margin-bottom: 10px;
    font: 400 15px/1 var(--police-titre);
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.62);
  }

  .onglet__nom {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
  }

  .onglet__resume {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
  }

  .onglet[aria-selected="true"] .onglet__num,
  .onglet[aria-selected="true"] .onglet__resume {
    color: rgba(0, 38, 51, 0.86);
  }

  .fonctionnalites .panneaux {
    margin-top: 28px;
  }

  /* Titre et points en bandeau au-dessus de la capture, affichée en grand */
  .fonctionnalites .panneau__texte {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 2.5fr);
    align-items: start;
    gap: 40px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(0, 20, 27, 0.38);
  }

  .fonctionnalites .panneau__texte h3 {
    font-size: clamp(30px, 2.6vw, 38px);
  }

  .fonctionnalites .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 2px;
  }

  .fonctionnalites .points li {
    font-size: 16px;
  }
}

/* ==========================================================================
   Page Centres : l'app remplit, l'ERP fait les comptes
   ========================================================================== */
.lien-app {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.lien-app__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.lien-app__texte > p:not(.surtitre) {
  max-width: 540px;
  margin: 20px 0 28px;
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--texte);
}

.lien-app__visuel {
  position: relative;
}

.lien-app__visuel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% -12%;
  background: radial-gradient(closest-side, rgba(139, 232, 49, 0.28), rgba(139, 232, 49, 0));
}

/* Grand écran : la capture déborde un peu dans la marge de droite */
@media (min-width: 1200px) {
  .lien-app__visuel .navigateur {
    width: 108%;
  }
}

/* Gestion des paiements : la fenêtre (et son badge « Réservé depuis l'app »)
   cadrée en grand ; en entier, ses textes faisaient ~6 px. La loupe ouvre
   toujours la capture complète. */
.lien-app__visuel .navigateur__ecran {
  overflow: hidden;
}

.lien-app__visuel .navigateur__ecran .capture {
  transform: scale(1.5);
  transform-origin: 49% 4%;
}

.navigateur--incline {
  transform: perspective(2400px) rotateY(-11deg) rotateX(3deg);
  box-shadow: 0 50px 100px -45px rgba(0, 38, 51, 0.75), 0 0 0 1px rgba(0, 38, 51, 0.08);
}

/* Le schéma, sur une carte bleu nuit (le néon n'y sert jamais de texte sur clair) */
.lien-app__flux {
  margin-top: clamp(48px, 6vw, 84px);
  padding: clamp(30px, 4vw, 46px) clamp(20px, 4vw, 56px);
  border-radius: 30px;
  background: radial-gradient(55% 140% at 0% 0%, rgba(139, 232, 49, 0.16), rgba(139, 232, 49, 0) 62%),
    var(--nuit-profond);
  color: #fff;
}

.lien-app__flux .flux {
  max-width: 980px;
  margin-inline: auto;
}

/* ==========================================================================
   Page Centres : 3 étapes pour démarrer (bandeau compte à rebours)
   ========================================================================== */
.bandeau--demarrer {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 0;
}

.bandeau--demarrer .bandeau__photo {
  object-position: 50% 72%;
}

.bandeau--demarrer .bandeau__titre {
  max-width: 6.2em;
}

.bandeau--demarrer .bandeau__bas p {
  max-width: 360px;
}

.etapes--detail {
  padding: 4px 30px;
}

.etapes--detail .etape {
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 24px 2px;
  text-align: left;
}

.etapes--detail .etape__num {
  flex: none;
  width: 2.1ch;
}

.etape__corps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.etape__titre {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.etapes--detail .etape__texte {
  max-width: none;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Offres
   ========================================================================== */
.offres {
  position: relative;
  isolation: isolate;
}

.offres::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 30%;
  left: 50%;
  width: min(1000px, 100%);
  height: 760px;
  background: radial-gradient(closest-side, rgba(139, 232, 49, 0.17), rgba(139, 232, 49, 0));
  transform: translateX(-50%);
  pointer-events: none;
}

.offres__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  margin-top: 56px;
}

@media (min-width: 1024px) {
  /* Les deux cartes latérales ont la même hauteur ; seule la carte du milieu dépasse */
  .offres__grille {
    align-items: stretch;
  }

  .offre:not(.offre--vedette) {
    margin-block: 48px;
  }
}

.offre {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--ligne);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 60px -38px rgba(0, 38, 51, 0.4);
}

.offre--vedette {
  padding-block: 42px;
  border: 2px solid var(--neon);
  box-shadow: 0 0 0 6px rgba(139, 232, 49, 0.12), 0 40px 90px -40px rgba(107, 192, 38, 0.7);
}

.offre__entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offre__nom {
  font: 400 17px/1.1 var(--police-titre);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--doux);
}

.offre__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--ligne);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.offre__tag--vedette {
  border-color: var(--nuit);
  background: var(--nuit);
  color: #fff;
}

.offre__tag--vedette .point {
  width: 7px;
  height: 7px;
}

.offre__prix {
  margin-top: 18px;
  font: 400 clamp(40px, 3.8vw, 52px) / 1 var(--police-titre);
  text-transform: uppercase;
  color: var(--nuit);
}

.offre__desc {
  margin-top: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ligne);
  font-size: 15.5px;
  color: var(--doux);
}

.offre__liste {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
  margin-top: 22px;
}

.offre__liste li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--texte);
}

.offre__liste li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--nuit) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='%238BE831' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.offre__actions {
  margin-top: 28px;
}

/* Page Centres : deux offres seulement */
.offres__grille--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
  margin-inline: auto;
}

/* Les règles à trois cartes étiraient « Multi-centres » (trois points) à la
   hauteur de la carte mise en avant : un grand vide avant son bouton */
@media (min-width: 1024px) {
  .offres__grille--duo {
    align-items: center;
  }

  .offres__grille--duo .offre:not(.offre--vedette) {
    margin-block: 0;
  }
}

/* ==========================================================================
   Page Joueurs : bandeau « Gratuit sur iPhone et Android »
   ========================================================================== */
.appli {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: 36px;
  background: var(--nuit-abysse);
  color: #fff;
}

.appli__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.appli::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(0, 20, 27, 0.95) 0%, rgba(0, 20, 27, 0.78) 48%, rgba(0, 38, 51, 0.55) 100%),
    linear-gradient(0deg, rgba(0, 20, 27, 0.7) 0%, rgba(0, 20, 27, 0) 55%);
}

/* Trait de lumière néon, comme le bandeau des étapes */
.appli::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 18%;
  left: -10%;
  width: 120%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 232, 49, 0) 0%, rgba(139, 232, 49, 0) 46%, rgba(139, 232, 49, 0.55) 70%, rgba(139, 232, 49, 0) 92%);
  transform: rotate(-4deg);
}

.appli .surtitre {
  color: #fff;
}

.appli__titre {
  margin-top: 16px;
  font: 400 clamp(46px, 5.6vw, 84px) / 1.02 var(--police-titre);
  letter-spacing: 0.004em;
  text-transform: uppercase;
}

.appli__titre em {
  font-style: normal;
  color: var(--neon);
}

.appli__texte > p:not(.surtitre) {
  max-width: 420px;
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.82);
}

.appli__liste {
  display: grid;
  padding: 6px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(0, 38, 51, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.appli__liste li {
  position: relative;
  padding: 16px 0 16px 38px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.appli__liste li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.appli__liste li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--neon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='%23002633' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: 0 0 14px rgba(139, 232, 49, 0.45);
}

/* ==========================================================================
   Terrains
   ========================================================================== */
.terrains__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.terrain {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 24px;
  background: var(--nuit);
  color: #fff;
}

.terrain img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.terrain:first-child img {
  object-position: 0% 60%;
}

.terrain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 20, 27, 0.88) 0%, rgba(0, 20, 27, 0.25) 58%, rgba(0, 20, 27, 0.1) 100%);
}

.terrain:hover img {
  transform: scale(1.05);
}

.terrain__texte {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
}

.terrain__texte strong {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 clamp(30px, 3vw, 38px) / 1 var(--police-titre);
  text-transform: uppercase;
  color: #fff;
}

.terrain__texte strong::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
}

/* ==========================================================================
   Nouveautés
   ========================================================================== */
.nouveautes {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.fleches {
  display: flex;
  gap: 10px;
}

.fleche {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(15, 31, 38, 0.25);
  border-radius: 50%;
  background: #fff;
  color: var(--nuit);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.fleche:hover:not(:disabled) {
  background: var(--nuit);
  color: #fff;
}

.fleche:disabled {
  opacity: 0.4;
  cursor: default;
}

.actus {
  display: grid;
  grid-auto-columns: calc((100% - 24px) / 2);
  grid-auto-flow: column;
  gap: 24px;
  margin-top: 36px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 32px;
}

.actus::-webkit-scrollbar {
  display: none;
}

.actus:focus-visible {
  outline-offset: 6px;
}

.actu {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--nuit);
  color: #fff;
  scroll-snap-align: start;
}

.actu img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 20, 27, 0.08) 18%, rgba(0, 20, 27, 0.72) 52%, rgba(0, 20, 27, 0.96) 100%);
}

.actu__texte {
  padding: clamp(24px, 3vw, 34px);
}

.actu__date {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
}

.actu__date::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

/* Fonction annoncée mais pas encore disponible : pastille en pointillés et
   point creux, pour la distinguer d'un coup d'œil des nouveautés livrées. */
.actu--a-venir .actu__date {
  border-style: dashed;
  border-color: rgba(139, 232, 49, 0.7);
  background: rgba(0, 38, 51, 0.55);
}

.actu--a-venir .actu__date::before {
  background: transparent;
  border: 2px solid var(--neon);
  box-shadow: none;
}

.actu h3 {
  margin-top: 14px;
  font: 400 clamp(28px, 2.6vw, 36px) / 1.16 var(--police-titre);
  text-transform: uppercase;
}

.actu__texte > p:last-child {
  max-width: 46ch;
  margin-top: 12px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.84);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: var(--creme);
}

.contact__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.contact__intro {
  position: sticky;
  top: 110px;
}

.contact .titre-section {
  /* « DÉMO » sous la jambe du Q de « QUESTION » */
  line-height: 1.14;
}

.contact__rappels {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact__rappels li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--texte);
}

.contact__rappels .point {
  transform: translateY(-2px);
}

.formulaire {
  position: relative;
  padding: clamp(22px, 3.4vw, 40px);
  border: 1px solid rgba(15, 31, 38, 0.06);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 80px -44px rgba(0, 38, 51, 0.45);
}

.profils {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--gris-clair);
}

.profils__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.profils__choix {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--encre);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.profils__choix:hover {
  background: rgba(255, 255, 255, 0.7);
}

.profils__radio:checked + .profils__choix {
  background: var(--nuit);
  color: #fff;
  font-weight: 700;
}

.profils__radio:checked + .profils__choix::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

.profils__radio:focus-visible + .profils__choix {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--nuit);
}

.formulaire__champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.champ--large {
  grid-column: 1 / -1;
}

.champ label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--encre);
}

.champ__facultatif {
  font-weight: 400;
  color: var(--doux);
}

.champ input,
.champ textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--bord-champ);
  border-radius: 14px;
  background: #fafbfb;
  color: var(--encre);
  font: 400 16px/1.45 var(--police-texte);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.champ textarea {
  min-height: 150px;
  resize: vertical;
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: var(--doux);
}

.champ input:hover,
.champ textarea:hover {
  border-color: var(--texte);
}

.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--nuit);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(139, 232, 49, 0.55);
}

.champ--erreur input,
.champ--erreur textarea {
  border-color: var(--erreur);
  background: #fff8f7;
}

.champ__erreur {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--erreur);
}

.champ__erreur::before {
  content: "!";
  content: "!" / "";
  display: grid;
  flex: none;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--erreur);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.champ__compteur {
  font-size: 13.5px;
  color: var(--doux);
}

.champ__compteur.est-atteint {
  font-weight: 500;
  color: var(--erreur);
}

.formulaire__sans-js {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #e4a59c;
  border-radius: 14px;
  background: #fdf0ee;
  color: #8a1c0f;
}

.formulaire__sans-js a {
  color: inherit;
  font-weight: 700;
}

.piege {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formulaire__pied {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.formulaire__pied .bouton {
  margin-bottom: 6px;
}

.formulaire__mention {
  font-size: 13.5px;
  text-align: center;
  color: var(--doux);
}

.formulaire__mention a {
  color: var(--nuit);
  font-weight: 500;
}

/* Renvoi vers l'autre page, affiché selon le profil choisi (data-pour) */
.formulaire__renvoi {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--gris-clair);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--texte);
}

.formulaire__renvoi a {
  color: var(--nuit);
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact__rappels a {
  color: var(--nuit);
  font-weight: 500;
  text-underline-offset: 3px;
}

.formulaire__statut {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.5;
}

.formulaire__statut:empty {
  display: none;
}

.formulaire__statut.est-succes,
.formulaire__statut.est-erreur {
  padding: 14px 16px;
  border-radius: 14px;
}

.formulaire__statut.est-succes {
  border: 1px solid var(--neon);
  background: #eef9e4;
  color: #1f4d0b;
}

.formulaire__statut.est-erreur {
  border: 1px solid #e4a59c;
  background: #fdf0ee;
  color: #8a1c0f;
}

.formulaire__statut a {
  color: inherit;
  font-weight: 700;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pied {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0 28px;
  background: var(--nuit-abysse);
  color: rgba(255, 255, 255, 0.74);
}

.pied::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -160px;
  width: 560px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.035);
  -webkit-mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  transform: rotate(-12deg);
}

.pied__haut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pied__logo {
  border-radius: 8px;
}

.pied__logo img {
  width: auto;
  height: 40px;
}

.pied__pilule {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
}

.pied__pilule a {
  display: block;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--nuit);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}

.pied__pilule a:hover {
  background: var(--gris-clair);
}

.pied__pilule a[aria-current="page"] {
  background: var(--nuit);
  color: #fff;
}

.pied__colonnes {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-block: 44px;
}

.pied__accroche {
  max-width: 15ch;
  font: 400 32px/1.24 var(--police-titre);
  text-transform: uppercase;
  color: #fff;
}

.stores--pied {
  margin-top: 26px;
}

.pied__titre {
  margin-bottom: 18px;
  font: 400 18px/1 var(--police-titre);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.pied__colonne ul {
  display: grid;
  gap: 12px;
}

.pied__colonne a {
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.pied__colonne a:hover {
  color: var(--neon);
}

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.pied__haut-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}

.pied__haut-page:hover {
  color: var(--neon);
}

/* ==========================================================================
   Page des mentions légales
   ========================================================================== */
.entete--simple {
  position: absolute;
}

.entete__retour {
  margin-left: auto;
}

.legale__bandeau {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--entete-h) + clamp(40px, 6vw, 72px)) 0 calc(var(--chevauchement) + clamp(40px, 5vw, 64px));
  background: radial-gradient(60% 90% at 88% 0%, rgba(139, 232, 49, 0.15), rgba(139, 232, 49, 0) 70%), var(--nuit-abysse);
  color: #fff;
}

.legale__bandeau::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -80px;
  width: 460px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.045);
  -webkit-mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  mask: url("/vitrine/img/logo/bora-picto-blanc.svg?v=20261001") center / contain no-repeat;
  transform: translateY(-50%) rotate(-12deg);
}

.legale__bandeau .surtitre {
  color: #fff;
}

.legale__titre {
  margin-top: 16px;
  font: 400 clamp(52px, 8vw, 112px) / 1.1 var(--police-titre);
  text-transform: uppercase;
}

.legale__maj {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.legale__feuille {
  padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 112px);
}

.legale__contenu {
  max-width: calc(860px + 2 * var(--gouttiere));
}

.legale__contenu section {
  margin-top: 52px;
}

.legale__contenu h2 {
  font: 400 clamp(30px, 3.4vw, 40px) / 1 var(--police-titre);
  text-transform: uppercase;
  color: var(--encre);
}

.legale__contenu p {
  margin-top: 14px;
  color: var(--texte);
}

.legale__contenu a {
  color: var(--nuit);
  font-weight: 500;
  text-decoration-color: rgba(0, 38, 51, 0.45);
  text-underline-offset: 3px;
}

.legale__liste {
  margin-top: 18px;
  border-top: 1px solid var(--ligne);
}

.legale__liste > div {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 6px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ligne);
}

.legale__liste dt {
  font-weight: 500;
  color: var(--encre);
}

.legale__liste dd {
  color: var(--texte);
  overflow-wrap: anywhere;
}

.a-completer {
  display: inline-flex;
  align-items: center;
  padding: 2px 11px;
  border: 1px dashed #b26a00;
  border-radius: 999px;
  background: #fff3cd;
  color: #7a4500;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.legale__alerte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 0;
  padding: 16px 18px;
  border: 1px solid #f0d084;
  border-radius: 16px;
  background: #fffbeb;
}

.legale__contenu .legale__alerte {
  margin-top: 0;
  color: #5c3b00;
}

.pied--simple {
  padding-top: 48px;
}

.pied--simple .pied__haut {
  padding-bottom: 28px;
}

/* ==========================================================================
   Apparitions au défilement (seulement si le JS tourne)
   ========================================================================== */
.js [data-revele] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delai, 0ms);
}

.js [data-revele].est-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Adaptations
   ========================================================================== */
/* Grand écran : le téléphone avant se décale vers la gauche pour laisser
   les boutons des stores à droite */
@media (min-width: 1200px) {
  .flotte--avant {
    left: 26%;
  }
}

/* Sous 1200 px, les téléphones passent sous le titre et les boutons : à côté,
   ils chevauchaient les stores et la carte des faits */
@media (max-width: 1199px) {
  .entete__barre {
    gap: 16px;
  }

  .pilule-nav a {
    padding-inline: 14px;
  }

  .entete__actions {
    gap: 14px;
  }

  .fait {
    padding-inline: 18px;
  }

  .hero {
    min-height: 0;
  }

  .hero__telephones {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    justify-content: center;
    width: auto;
    height: auto;
    margin-top: 48px;
  }

  .flotte {
    position: relative;
    inset: auto;
  }

  .flotte--arriere {
    z-index: 0;
    margin-top: 44px;
    margin-right: -12%;
  }

  .flotte--avant {
    z-index: 1;
  }

  .telephone--avant {
    --l: clamp(162px, 29.5vw, 256px);
  }

  .telephone--arriere {
    --l: clamp(142px, 25.6vw, 224px);
  }

  .hero__bas {
    flex-direction: column;
    align-items: stretch;
    padding-top: 36px;
  }

  .faits {
    justify-content: space-around;
  }

  .hero .stores {
    flex-direction: row;
  }

  .hero .store {
    flex: 1 1 190px;
  }

  /* Page Centres : même taille de titre que la page Joueurs, cadre et téléphone
     sous les boutons ; le téléphone déborde en bas à droite du cadre */
  .hero--centres {
    --taille-hero: inherit;
  }

  .hero__visuel {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 780px);
    margin: 52px auto 0;
    padding: 0 9% 13% 0;
  }

  .navigateur--hero {
    transform: perspective(2000px) rotateY(-8deg) rotateX(4deg);
  }

  .hero__visuel .flotte--appli {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .telephone--appli {
    --l: clamp(92px, 20vw, 168px);
    transform: rotate(5deg);
  }

  .hero__puce {
    right: auto;
    bottom: 6%;
    left: 4%;
  }
}

@media (max-width: 1023px) {
  :root {
    --chevauchement: 56px;
    --rayon-xl: 32px;
  }

  :root {
    --taille-hero: clamp(50px, 12.4vw, 128px);
  }

  .terrain {
    aspect-ratio: 4 / 5;
  }

  .store {
    flex: 1 1 190px;
  }

  .panneau {
    grid-template-columns: 1fr;
  }

  .lien-app__grille,
  .appli {
    grid-template-columns: 1fr;
  }

  .navigateur--incline {
    transform: perspective(2000px) rotateY(-6deg) rotateX(3deg);
  }

  .offres__grille {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .offre--vedette {
    padding-block: 34px;
  }

  .pied__colonnes {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .pied__marque {
    grid-column: 1 / -1;
  }

  .pied__accroche {
    max-width: none;
  }
}

@media (max-width: 1279px) {
  /* Lien « Espace centre » réduit à son icône, le libellé reste lu par les lecteurs d'écran */
  .lien-espace {
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
  }

  .lien-espace__texte {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Bandeau : texte et téléphone côte à côte, étapes en dessous */
@media (max-width: 1099px) {
  .bandeau {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bandeau__titre {
    max-width: none;
    font-size: clamp(50px, 6.6vw, 96px);
  }

  .bandeau__telephone {
    grid-column: 2;
    grid-row: 1;
  }

  .etapes {
    grid-column: 1 / -1;
    align-self: stretch;
  }

  .etape {
    flex-direction: row;
    gap: 18px;
    padding: 18px 2px;
    text-align: left;
  }

  .etape__num {
    flex: none;
    width: 2.1ch;
  }

  .etape__texte {
    max-width: none;
  }
}

/* Sous 1100 px : le menu d'ancres et « Espace centre » passent dans le menu
   mobile ; le sélecteur de page reste dans la barre jusqu'à 720 px */
@media (max-width: 1099px) {
  .entete__nav,
  .lien-espace {
    display: none;
  }

  .entete__actions {
    margin-left: auto;
  }

  .burger {
    display: inline-flex;
  }
}

@media (min-width: 1100px) {
  .menu-mobile {
    display: none !important;
  }
}

@media (max-width: 719px) {
  .entete__pages {
    display: none;
  }
}

@media (max-width: 899px) {
  .galerie {
    margin-inline: calc(-1 * var(--gouttiere));
    padding-inline: var(--gouttiere);
    overflow-x: auto;
    scroll-padding-inline: var(--gouttiere);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 0;
  }

  .galerie::-webkit-scrollbar {
    display: none;
  }

  .galerie__liste {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    width: max-content;
  }

  .galerie__liste::after {
    content: "";
    flex: none;
    width: 2px;
  }

  .carte-ecran {
    flex: none;
    width: min(76vw, 340px);
    height: 560px;
    scroll-snap-align: start;
  }

  .bandeau {
    min-height: 0;
  }

  .contact__grille {
    grid-template-columns: 1fr;
  }

  .contact__intro {
    position: static;
  }
}

@media (max-width: 767px) {
  .titre-section {
    font-size: clamp(42px, 11.5vw, 64px);
    line-height: 1;
  }

  .mission__scene {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-block: 72px 56px;
  }

  .manifeste {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 18px;
    text-indent: 0;
  }

  .mission__photo {
    position: static;
    width: auto;
  }

  .terrains__grille {
    grid-template-columns: 1fr;
  }

  .terrain {
    aspect-ratio: 16 / 9;
  }

  .actus {
    grid-auto-columns: 86%;
    gap: 14px;
    margin-inline: calc(-1 * var(--gouttiere));
    padding-inline: var(--gouttiere);
    scroll-padding-inline: var(--gouttiere);
    border-radius: 0;
  }

  .actu {
    min-height: 430px;
    border-radius: 26px;
  }

  .flux {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .flux::before {
    top: 16%;
    bottom: 16%;
    left: 35px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(139, 232, 49, 0.75) 0 8px, rgba(139, 232, 49, 0) 8px 15px);
  }

  .flux::after {
    display: none;
  }

  .flux__etape {
    flex-direction: row;
    text-align: left;
  }

  .flux__libelle {
    align-items: flex-start;
  }

  .pied__colonnes {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  /* Cibles tactiles plus hautes (liens du pied, politique de données) */
  .pied__titre {
    margin-bottom: 6px;
  }

  .pied__colonne ul {
    gap: 0;
  }

  .pied__colonne a {
    display: inline-block;
    padding-block: 11px;
  }

  .pied__haut-page {
    padding-block: 11px;
  }

  .formulaire__mention a {
    display: inline-block;
    padding-block: 8px;
  }
}

@media (max-width: 599px) {
  :root {
    --entete-h: 72px;
    --taille-hero: clamp(44px, 15vw, 64px);
  }

  .bandeau {
    grid-template-columns: 1fr;
  }

  /* Pas la place à côté du texte : l'app est déjà montrée par le hero et la galerie */
  .bandeau__telephone {
    display: none;
  }

  /* Adresse abrégée dans les cadres de navigateur */
  .navigateur__chemin {
    display: none;
  }

  .navigateur__ellipse {
    display: inline;
  }

  /* Pastille réduite à sa loupe : le libellé reste lu par les lecteurs d'écran */
  .navigateur__zoom {
    padding: 8px;
  }

  .navigateur__loupe {
    padding: 7px;
  }

  .navigateur__libelle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* Une ligne par onglet jusqu'à 380 px (en dessous, ils s'empilent) : le
     point vert du profil actif faisait passer « Je gère un centre » sur deux */
  .profils__choix {
    gap: 5px;
    padding: 0 4px;
    font-size: 14px;
    white-space: nowrap;
  }

  .pied__pilule {
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
  }

  .pied__pilule a {
    padding: 8px clamp(6px, 2.2vw, 10px);
    font-size: 13.5px;
  }

  .entete__actions {
    display: none;
  }

  .burger {
    margin-left: auto;
  }

  .entete__logo img {
    height: 30px;
  }

  .hero__ligne--2,
  .hero__ligne--4 {
    padding-left: 0;
  }

  /* Quatre lignes sur téléphone : un peu d'air entre elles */
  .hero--centres .hero__titre {
    line-height: 0.98;
  }

  .hero__puce {
    padding: 7px 12px 7px 10px;
    font-size: 12.5px;
  }

  .navigateur__barre {
    gap: 10px;
    padding: 8px 10px;
  }

  .navigateur__points span {
    width: 8px;
    height: 8px;
  }

  .appli__liste {
    padding: 2px 18px;
  }

  .etapes--detail {
    padding: 4px 20px;
  }

  /* Le numéro au-dessus du texte : toute la largeur pour les explications */
  .etapes--detail .etape {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 2px;
  }

  .etapes--detail .etape__num {
    width: auto;
    font-size: 46px;
  }

  .hero__actions .bouton {
    flex: 1 1 100%;
  }

  .faits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px 0;
  }

  .fait {
    padding: 14px 10px;
  }

  .fait:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fait + .fait {
    border-left: 0;
  }

  .fait:last-child {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fait dd {
    font-size: 24px;
  }

  .formulaire__champs {
    grid-template-columns: 1fr;
  }

  .offre {
    padding: 24px;
  }

  .pied__haut {
    flex-direction: column;
    align-items: flex-start;
  }

  .legale__liste > div {
    grid-template-columns: 1fr;
  }

  .entete__retour .selecteur a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (max-width: 379px) {
  .profils {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .store {
    min-width: 0;
  }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .js [data-revele] {
    opacity: 1;
    transform: none;
  }

  .flux::after {
    display: none;
  }
}
