/*
 * V120 — pages intérieures aux couleurs de la Référence Design (temps 1, MDB 4 conservé).
 * Source opposable : .obsidian-context/05_REFERENCE_DESIGN_CLUB.md v1.2 (§5, §6, §8, §10).
 * Chargée par app/pages/pg_liste_clubs_libertins_et_saunas.php. Toutes les règles sont préfixées .front-2026.
 * Couleurs uniquement par var(--…) (exception : le blanc #fff, Référence §6). Aucune ombre, aucune animation, rayon 4 px.
 * Jetons, @font-face, page, barre, pied de page, newsletter et neutralisation .wow : communs à toutes les pages front.
 * V122 : feuille unique, aussi chargée par app/pages/home.php (body.front-2026.accueil-2026) ; règles propres à l'accueil en fin de fichier.
 */
:root {
  /* Couleurs — rôle avant valeur */
  --fond:         #f6f7f9; /* fond de page */
  --carte:        #ffffff; /* cartes, panneaux, champs (opaques : les lignes de fond passent dessous) */
  --surface:      #e8ecf1; /* aplats, figure vide, bouton désactivé */
  --ligne:        #c6ced8; /* filets, bordures de carte ; texte secondaire sur encre */
  --encre:        #13203a; /* titres, texte fort, barre et pied de page, bouton principal */
  --encre-2:      #3b4862; /* texte courant ; survol du bouton principal */
  --accent:       #d9472b; /* SEUL accent : traits du plan, pastilles, focus, barre du E du logo — jamais en petit texte */
  --accent-fonce: #b8361d; /* le même accent pour le texte : liens, dates, erreurs, bouton d'action */

  /* Typographie */
  --font-titre: "Unbounded", system-ui, sans-serif;            /* woff2 auto-hébergé, OFL — titres seulement */
  --font-texte: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* pile système (V63) */

  /* Échelle */
  --text-h1: clamp(1.9rem, 3.6vw, 3.2rem);
  --text-h2: clamp(1.3rem, 2.2vw, 1.8rem);
  --text-h3: 1rem;
  --text-base: 1.0625rem;  /* 17 px, interligne 1.6 */
  --text-small: .875rem;
  --text-etiquette: .78rem; /* dates de carte, en Unbounded capitales */

  /* Espacements, rayons, mouvement */
  --gouttiere: clamp(16px, 4vw, 56px);
  --espace-bloc: 40px;
  --espace-grille: 16px;
  --r: 4px;                 /* rayon unique ; 999px réservé aux pastilles de pays */
  --cible: 44px;            /* zone tactile minimale ; 48px pour boutons et champs */
  --ease-trace: cubic-bezier(.6, 0, .2, 1);
  --duree-trace: 1.6s;
  --duree-courte: 150ms;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/unbounded-latin-wght400-700.woff2) format('woff2');
}

/* ---------- Page (§3, §4) ---------- */
.front-2026 {
  background-color: var(--fond);
  color: var(--encre-2);
  font-family: var(--font-texte);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
.front-2026 h1,
.front-2026 h2,
.front-2026 h3 {
  font-family: var(--font-titre);
  color: var(--encre);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.front-2026 a:focus-visible,
.front-2026 button:focus-visible,
.front-2026 input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Barre de navigation, pages intérieures (§6) ---------- */
.front-2026 #navbar.navbar {
  background-color: var(--fond);
  border-bottom: 1px solid var(--ligne);
  box-shadow: none;
  font-weight: 400;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 72px;
}
.front-2026 #navbar .navbar-brand {
  padding-top: 6px;
  padding-bottom: 6px;
  color: var(--encre);
}
.front-2026 #navbar .navbar-brand img {
  filter: none !important; /* style en ligne de inc_navbar.php l.4 (ombre portée) */
}
.front-2026 #navbar .marque {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1rem;
  text-shadow: none;
}
.front-2026 #navbar .marque-nom { color: var(--encre); }
.front-2026 #navbar .marque-eu { color: var(--accent-fonce); }
.front-2026 #navbar .navbar-nav .nav-link {
  color: var(--encre);
  font-weight: 600;
  min-height: var(--cible);
  display: flex;
  align-items: center;
}
.front-2026 #navbar .navbar-nav .nav-link:hover,
.front-2026 #navbar .navbar-nav .nav-link:focus {
  color: var(--accent-fonce);
}
.front-2026 #navbar .navbar-toggler {
  min-width: var(--cible);
  min-height: var(--cible);
  color: var(--encre);
}
/* Icône du menu mobile redessinée en encre : trois traits, sans image */
.front-2026 #navbar .navbar-toggler-icon {
  position: relative;
  width: 24px;
  height: 18px;
  background-image: none;
  border-top: 2px solid var(--encre);
  border-bottom: 2px solid var(--encre);
}
.front-2026 #navbar .navbar-toggler-icon::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background-color: var(--encre);
}

/* ---------- Pied de page et newsletter, pages intérieures (§6) ---------- */
.front-2026 #footer.page-footer {
  background-color: var(--encre) !important; /* MDB : .elegant-color-dark pose son fond en !important */
  color: var(--ligne);
}
.front-2026 #footer .footer-copyright {
  background-color: transparent;
  color: var(--ligne);
}
.front-2026 #footer a {
  color: #fff;
}
.front-2026 form[action^="pg_newsletter.php"] .md-form {
  display: flex;
  flex-direction: column-reverse;
}
.front-2026 form[action^="pg_newsletter.php"] .md-form label {
  position: static;
  transform: none;
  margin-bottom: 6px;
  color: var(--encre);
  font-weight: 600;
  text-align: left;
}
.front-2026 form[action^="pg_newsletter.php"] .md-form input[type="email"]:not(.browser-default) {
  box-sizing: border-box;
  height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1.5px solid var(--encre-2);
  border-radius: var(--r);
  background-color: var(--carte);
  color: var(--encre);
  box-shadow: none;
}
.front-2026 form[action^="pg_newsletter.php"] .md-form input[type="email"]:not(.browser-default):focus {
  border-color: var(--encre);
  box-shadow: none;
}
.front-2026 form[action^="pg_newsletter.php"] .md-form input[type="email"]:not(.browser-default):focus + label {
  color: var(--encre);
}
/* Bouton secondaire (§6) : MDB pose couleur, fond et bordure de .btn-outline-primary en !important */
.front-2026 form[action^="pg_newsletter.php"] .btn-outline-primary {
  min-height: 48px;
  border-radius: var(--r);
  color: var(--encre) !important;
  background-color: transparent !important;
  border: 2px solid var(--encre) !important;
  box-shadow: none;
  font-weight: 700;
  text-transform: none;
}
.front-2026 form[action^="pg_newsletter.php"] .btn-outline-primary:hover,
.front-2026 form[action^="pg_newsletter.php"] .btn-outline-primary:focus,
.front-2026 form[action^="pg_newsletter.php"] .btn-outline-primary:active {
  color: #fff !important;
  background-color: var(--encre) !important;
  border-color: var(--encre) !important;
  box-shadow: none;
}

/* ---------- Rien ne bouge au défilement (§8) : WOW.js pose visibility/animation en style en ligne ---------- */
.front-2026 .wow {
  visibility: visible !important;
  animation: none !important;
}

/* ---------- Contenu : sous la barre fixe quand aucun hero n'est rendu (§5 v1.2) ---------- */
.front-2026 .front-contenu {
  padding: var(--espace-bloc) var(--gouttiere);
}
.front-2026 .front-contenu.sous-barre {
  margin-top: 72px; /* hauteur de la barre fixe : aucun recouvrement */
}

/* ---------- Tête de page intérieure (§6 v1.2) ---------- */
.front-2026 .front-tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}
.front-2026 .front-tete h1 {
  font-size: var(--text-h2);
  margin: 0 0 6px;
  text-align: left;
}
.front-2026 .front-nombre {
  margin: 0;
  color: var(--encre-2);
}

/* ---------- Bascule d'affichage (§6 v1.2) ---------- */
.front-2026 .bascule {
  display: flex;
  flex: none;
}
.front-2026 .bascule a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--cible);
  padding: 0 16px;
  background-color: var(--carte);
  border: 1.5px solid var(--encre);
  color: var(--encre);
  font-weight: 600;
  text-decoration: none;
}
.front-2026 .bascule a:first-child {
  border-radius: var(--r) 0 0 var(--r);
}
.front-2026 .bascule a:last-child {
  border-radius: 0 var(--r) var(--r) 0;
  margin-left: -1.5px;
}
.front-2026 .bascule a:hover {
  background-color: var(--surface);
  color: var(--encre);
}
.front-2026 .bascule a[aria-current="page"] {
  background-color: var(--encre);
  color: #fff;
}
.front-2026 .bascule svg {
  flex: none;
}

/* ---------- Grille de cartes et carte lieu avec résumé (§5, §6 v1.2) ---------- */
.front-2026 .grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--espace-grille);
}
.front-2026 .carte {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background-color: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  color: var(--encre-2);
  text-decoration: none;
}
.front-2026 .carte:hover {
  border-color: var(--encre);
  color: var(--encre-2);
}
.front-2026 .carte .titre {
  color: var(--encre);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.front-2026 .carte .resume {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--encre-2);
  font-size: var(--text-small);
  line-height: 1.5;
}
.front-2026 .carte figure {
  aspect-ratio: 4 / 3;
  margin: -16px -16px 6px;
  overflow: hidden;
  background-color: var(--surface);
  border-radius: var(--r) var(--r) 0 0;
}
.front-2026 .carte figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Lieu précédé de la pastille cerclée (§6) ---------- */
.front-2026 .ou {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--encre);
}
.front-2026 .ou::before {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background-color: #fff;
}

/* ---------- Lignes d'établissement, vue Liste (§6 v1.2) ---------- */
.front-2026 .lignes {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
}
.front-2026 .lignes li + li {
  border-top: 1px solid var(--ligne);
}
.front-2026 .lignes a {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.5fr) auto;
  grid-template-areas: "nom cat ou soirees";
  align-items: center;
  gap: 4px 16px;
  min-height: var(--cible);
  padding: 10px 16px;
  color: var(--encre-2);
  text-decoration: none;
}
.front-2026 .lignes li:first-child a {
  border-radius: var(--r) var(--r) 0 0;
}
.front-2026 .lignes li:last-child a {
  border-radius: 0 0 var(--r) var(--r);
}
.front-2026 .lignes a:hover {
  background-color: var(--surface);
  color: var(--encre-2);
}
.front-2026 .lignes a:focus-visible {
  outline-offset: -3px;
}
.front-2026 .lignes .nom {
  grid-area: nom;
  color: var(--encre);
  font-weight: 700;
}
.front-2026 .lignes .cat {
  grid-area: cat;
  color: var(--encre-2);
}
.front-2026 .lignes .ou {
  grid-area: ou;
}
.front-2026 .lignes .soirees {
  grid-area: soirees;
  justify-self: end;
  font-family: var(--font-titre);
  font-size: var(--text-etiquette);
  font-weight: 700;
  color: var(--accent-fonce);
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ---------- Pagination (§6 v1.2) ---------- */
.front-2026 .pages {
  margin-top: var(--espace-bloc);
}
.front-2026 .pages ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.front-2026 .pages a,
.front-2026 .pages .ellipse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--cible);
  min-height: var(--cible);
  padding: 0 12px;
  border-radius: var(--r);
}
.front-2026 .pages a {
  background-color: var(--carte);
  border: 1px solid var(--ligne);
  color: var(--encre);
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.front-2026 .pages a:hover {
  border-color: var(--encre);
  color: var(--encre);
}
.front-2026 .pages a[aria-current="page"] {
  background-color: var(--encre);
  border-color: var(--encre);
  color: #fff;
}
.front-2026 .pages .ellipse {
  color: var(--encre-2);
}

/* ---------- Aucun résultat ---------- */
.front-2026 .front-aucun {
  margin: 0;
  padding: 24px 16px;
  background-color: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  color: var(--encre);
}
.front-2026 .front-aucun a {
  color: var(--accent-fonce);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Sous 760 px (§6 v1.2) ---------- */
@media (max-width: 760px) {
  .front-2026 .front-tete {
    flex-direction: column;
    align-items: flex-start;
  }
  .front-2026 .lignes a {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "nom nom soirees"
      "cat ou ou";
  }
}

/*
 * V121 — fiche détaillée d'un club (Référence Design v1.3 : §5, §6 sept composants et boutons, §8, §10).
 * Chargée par app/pages/pg_fiche_club_details.php. Mêmes règles qu'en V120 : 8 jetons (+ #fff), aucune ombre, aucune animation, rayon 4 px.
 */

/* ---------- Boutons principal / secondaire / désactivé (§6) ---------- */
.front-2026 .bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: var(--r);
  font-family: var(--font-texte);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
}
.front-2026 .bouton-principal {
  background-color: var(--encre);
  border-color: var(--encre);
  color: #fff;
}
.front-2026 .bouton-principal:hover,
.front-2026 .bouton-principal:focus {
  background-color: var(--encre-2);
  border-color: var(--encre-2);
  color: #fff;
}
.front-2026 .bouton-secondaire {
  background-color: transparent;
  border-color: var(--encre);
  color: var(--encre);
}
.front-2026 .bouton-secondaire:hover,
.front-2026 .bouton-secondaire:focus {
  background-color: var(--encre);
  border-color: var(--encre);
  color: #fff;
}
.front-2026 .bouton[aria-disabled="true"],
.front-2026 .bouton[aria-disabled="true"]:hover,
.front-2026 .bouton:disabled {
  background-color: var(--surface);
  border-color: var(--surface);
  color: var(--encre-2);
  cursor: not-allowed;
}

/* ---------- Bandeau Premium : image simple en tête (§6 v1.3) ---------- */
.front-2026 .fiche-bandeau {
  margin-top: 72px; /* hauteur de la barre fixe */
}
.front-2026 .fiche-bandeau img {
  display: block;
  width: 100%;
  height: auto;
}
.front-2026 .fiche-partage {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px var(--gouttiere) 0;
  color: var(--encre-2);
}
.front-2026 .fiche-partage a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--cible);
  min-height: var(--cible);
  color: var(--encre);
}
.front-2026 .fiche-partage a:hover {
  color: var(--accent-fonce);
}

/* ---------- Tête de fiche (§6 v1.3) ---------- */
.front-2026 .fiche-tete {
  margin-bottom: 32px;
}
.front-2026 .fiche-tete h1 {
  font-size: var(--text-h1);
  margin: 0 0 12px;
  text-align: left;
}
.front-2026 .fiche-cat {
  margin: 0 0 6px;
  color: var(--encre-2);
}
.front-2026 .fiche-tete .ou {
  margin: 0;
}
.front-2026 .fiche-ferme-ligne {
  margin: 14px 0 0;
}
.front-2026 .fiche-ferme {
  display: inline-block;
  padding: 4px 10px;
  border: 1.5px solid var(--accent-fonce);
  border-radius: var(--r);
  background-color: var(--carte);
  color: var(--accent-fonce);
  font-family: var(--font-titre);
  font-size: var(--text-etiquette);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* ---------- Corps de fiche : une colonne (visuel · contact · description · dress code · infos), 7/5 dès 960 px (§6 v1.3) ---------- */
.front-2026 .fiche-corps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.front-2026 .fiche-cote {
  display: contents;
}
.front-2026 .fiche-visuel { order: 1; }
.front-2026 .fiche-contact { order: 2; }
.front-2026 .fiche-texte { order: 3; }
.front-2026 .fiche-infos { order: 4; }
.front-2026 .fiche-texte p {
  max-width: 70ch;
  margin: 0 0 1em;
}
.front-2026 .fiche-texte h2 {
  font-size: var(--text-h2);
  margin: 32px 0 12px;
}
.front-2026 .fiche-texte h2:first-child {
  margin-top: 0;
}
.front-2026 .fiche-visuel {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
}
.front-2026 .fiche-visuel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Bloc contact (§6 v1.3) ---------- */
.front-2026 .fiche-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.front-2026 .fiche-contact .bouton {
  width: 100%;
}

/* ---------- Panneau d'infos (§6 v1.3) ---------- */
.front-2026 .fiche-infos {
  padding: 4px 20px 20px;
  background-color: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
}
.front-2026 .fiche-infos h2 {
  font-size: var(--text-h3);
  margin: 18px 0 8px;
}
.front-2026 .fiche-infos p,
.front-2026 .fiche-infos ul {
  margin: 0;
}
.front-2026 .fiche-infos ul {
  list-style: none;
  padding: 0;
}
.front-2026 .fiche-infos a {
  color: var(--accent-fonce);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.front-2026 .fiche-plate {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.front-2026 .fiche-horaires {
  width: 100%;
  border-collapse: collapse;
}
.front-2026 .fiche-horaires th,
.front-2026 .fiche-horaires td {
  padding: 6px 0;
  border-top: 1px solid var(--ligne);
  text-align: left;
  vertical-align: top;
}
.front-2026 .fiche-horaires tr:first-child th,
.front-2026 .fiche-horaires tr:first-child td {
  border-top: 0;
}
.front-2026 .fiche-horaires th {
  padding-right: 16px;
  color: var(--encre);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Blocs de la fiche ---------- */
.front-2026 .fiche-bloc {
  margin-top: var(--espace-bloc);
}
.front-2026 .fiche-bloc > h2 {
  font-size: var(--text-h2);
  margin: 0 0 18px;
}

/* ---------- Vidéo Premium : conteneur 16:9 sans classe MDB (§6 v1.3) ---------- */
.front-2026 .fiche-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: var(--espace-bloc);
}
.front-2026 .fiche-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Galerie : figure 3:2, rien ne défile seul (§6 v1.3) ---------- */
.front-2026 .fiche-galerie figure {
  aspect-ratio: 3 / 2;
}
.front-2026 .carte .legende {
  font-size: var(--text-small);
  color: var(--encre-2);
}

/* ---------- Carte Google (§6 v1.3) ---------- */
.front-2026 .fiche-carte {
  height: 360px;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
}
.front-2026 .fiche-carte-lien {
  margin: 8px 0 0;
  font-size: var(--text-small);
}
.front-2026 .fiche-carte-lien a {
  color: var(--accent-fonce);
  text-decoration: underline;
}

/* ---------- Carte soirée (§6 v1.1) : même règle que l'accueil ---------- */
.front-2026 .carte .quand {
  font-family: var(--font-titre);
  font-size: var(--text-etiquette);
  font-weight: 700;
  color: var(--accent-fonce);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.front-2026 .carte-soiree figure { aspect-ratio: 1 / 1; }

/* ---------- Bloc Partenaire (profils) : exception §10 v1.3 ---------- */
.front-2026 .partenaire-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.front-2026 .partenaire-tete h2 {
  font-size: var(--text-h2);
  margin: 0;
}
.front-2026 .etiquette-partenaire {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  color: var(--encre-2);
  font-size: var(--text-small);
  font-weight: 600;
}
.front-2026 .profil figure {
  aspect-ratio: 1 / 1;
}
.front-2026 .profil .pseudo {
  color: var(--encre);
  font-weight: 700;
}
.front-2026 .profil .profil-detail {
  font-size: var(--text-small);
  color: var(--encre-2);
}

/* ---------- Signaler un problème : lien texte encre-2 ---------- */
.front-2026 .fiche-signaler {
  margin: var(--espace-bloc) 0 0;
  font-size: var(--text-small);
}
.front-2026 .fiche-signaler a {
  color: var(--encre-2);
  text-decoration: underline;
}

/* ---------- Dès 960 px : corps 7/5 (§6 v1.3) ---------- */
@media (min-width: 960px) {
  .front-2026 .fiche-corps {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 24px 40px;
    align-items: start;
  }
  .front-2026 .fiche-cote {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .front-2026 .fiche-texte {
    order: 0;
  }
}

/*
 * V122 — fiche détaillée d'une soirée (Référence Design v1.4 : §6 tête de fiche soirée, corps de fiche soirée,
 * panneau Tarifs, bloc « J'y serai », bouton d'action ; §8, §10). Chargée par app/pages/pg_fiche_soiree_details.php.
 * Mêmes règles qu'en V120/V121 : 8 jetons (+ #fff), aucune ombre, aucune animation, rayon 4 px.
 */

/* ---------- Bouton d'action (§6) ---------- */
.front-2026 .bouton-action {
  background-color: var(--accent-fonce);
  border-color: var(--accent-fonce);
  color: #fff;
}
.front-2026 .bouton-action:hover,
.front-2026 .bouton-action:focus {
  background-color: var(--encre);
  border-color: var(--encre);
  color: #fff;
}

/* ---------- Tête de fiche soirée (§6 v1.4) ---------- */
.front-2026 .soiree-quand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 6px;
}
.front-2026 .soiree-date {
  font-family: var(--font-titre);
  font-size: var(--text-etiquette);
  font-weight: 700;
  color: var(--accent-fonce);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.front-2026 .soiree-heure {
  color: var(--encre-2);
}
.front-2026 .soiree-orga {
  flex-wrap: wrap;
}
.front-2026 .soiree-orga a,
.front-2026 .soiree-terminee a {
  color: var(--accent-fonce);
  text-decoration: underline;
}
.front-2026 .soiree-terminee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

/* ---------- Corps de fiche soirée : une colonne (flyer · contact · description · dress code · tarifs · organisateur · adresse), 7/5 dès 960 px (§6 v1.4) ---------- */
.front-2026 .soiree-flyer {
  aspect-ratio: 1 / 1;
}
.front-2026 .soiree-flyer a {
  display: block;
  width: 100%;
  height: 100%;
}
.front-2026 .soiree-flyer img {
  object-fit: contain;
}
.front-2026 .soiree-orga-bloc {
  order: 4;
}
.front-2026 .soiree-adresse {
  order: 5;
}
.front-2026 .soiree-orga-bloc h2 {
  font-size: var(--text-h3);
  margin: 0 0 8px;
}

/* ---------- Panneau Tarifs (§6 v1.4) : aucune icône de genre, aucune infobulle ---------- */
.front-2026 .soiree-tarifs {
  padding: 0 20px;
}
.front-2026 .tarif {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--ligne);
}
.front-2026 .tarif:first-child {
  border-top: 0;
}
.front-2026 .tarif-public {
  color: var(--encre);
}
.front-2026 .tarif-montant {
  justify-self: end;
  color: var(--encre);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.front-2026 .tarif-gratuit {
  color: var(--accent-fonce);
}
.front-2026 .tarif-neutre {
  color: var(--encre-2);
}
.front-2026 .tarif-info {
  grid-column: 1 / -1;
  font-size: var(--text-small);
  color: var(--encre-2);
}

/* ---------- Bloc « J'y serai » (§6 v1.4) ---------- */
.front-2026 .soiree-jyserai-action {
  margin: 0;
}
.front-2026 .soiree-promo {
  margin: 8px 0 0;
  color: var(--encre-2);
}
.front-2026 .soiree-jyserai > h2 {
  margin-top: 32px;
}
.front-2026 .soiree-nombre {
  margin: 0 0 8px;
  color: var(--encre-2);
}
.front-2026 .participants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.front-2026 .bouton-compact {
  min-height: var(--cible);
  padding: 0 14px;
  font-size: var(--text-small);
}
/* Fenêtre d'un participant (modal Bootstrap 4) : panneau carte, sans ombre ni bandeau coloré */
.front-2026 .participant-fenetre .modal-content {
  padding: 16px 24px 24px;
  background-color: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  box-shadow: none;
  color: var(--encre-2);
}
.front-2026 .participant-fenetre .close {
  align-self: flex-end;
  min-width: var(--cible);
  min-height: var(--cible);
  color: var(--encre);
  opacity: 1;
  text-shadow: none;
}
.front-2026 .participant-fenetre .participant-icone {
  margin: 0;
  color: var(--encre);
  text-align: center;
}
.front-2026 .participant-fenetre h2 {
  font-size: var(--text-h3);
  margin: 12px 0 8px;
  text-align: center;
}
.front-2026 .participant-fenetre p,
.front-2026 .participant-fenetre ul {
  margin: 0 0 8px;
}
.front-2026 .participant-fenetre .participant-ages {
  text-align: center;
}
/* Fond derrière la fenêtre : encre à 50 % (opacité de .modal-backdrop.show), seulement quand une fenêtre de participant est ouverte */
.front-2026:has(.participant-fenetre.show) .modal-backdrop {
  background-color: var(--encre);
}

/*
 * V122 — règles propres à l'accueil, transférées de l'ancienne feuille de l'accueil (supprimée) sous leur sélecteur
 * .accueil-2026 inchangé. Les règles déjà présentes à l'identique sous .front-2026 ci-dessus ne sont pas recopiées.
 * home.php pose body.front-2026.accueil-2026.
 */
/* ---------- Fond : lignes fines et points, SOUS le contenu (§8) ---------- */
.accueil-2026 .fond-lignes {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}
.accueil-2026 .fond-lignes svg {
  display: block;
  width: 100%;
  height: 100%;
}
.accueil-2026 .fond-lignes path {
  fill: none;
  stroke: var(--encre);
  stroke-width: 1;
  opacity: .12;
  vector-effect: non-scaling-stroke;
}
.accueil-2026 .fond-lignes .point {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: .75;
  stroke-dasharray: 0.6 99.4;
  animation: accueil-circule 14s linear infinite;
}
.accueil-2026 .fond-lignes .point.p2 { animation-duration: 19s; animation-delay: -6s; }
.accueil-2026 .fond-lignes .point.p3 { animation-duration: 23s; animation-delay: -11s; }
.accueil-2026 .fond-lignes .point.p4 { animation-duration: 17s; animation-delay: -3s; }
@keyframes accueil-circule {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* Contenu au-dessus du fond (header n'est pas un contexte d'empilement : la barre fixe garde son z-index) */
.accueil-2026 header,
.accueil-2026 .hero-plan,
.accueil-2026 .accueil-intro,
.accueil-2026 header > .container,
.accueil-2026 .accueil-contenu,
.accueil-2026 > .container,
.accueil-2026 #footer {
  position: relative;
}
.accueil-2026 .hero-plan,
.accueil-2026 .accueil-intro,
.accueil-2026 header > .container,
.accueil-2026 .accueil-contenu,
.accueil-2026 > .container,
.accueil-2026 #footer {
  z-index: 1;
}

/* ---------- Hero sans campagne : le plan (§1, §5, §8) ---------- */
.accueil-2026 .hero-plan {
  display: grid;
  grid-template-columns: minmax(260px, 5fr) 7fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  margin-top: 72px; /* hauteur de la barre fixe : aucun recouvrement */
  padding: 28px var(--gouttiere);
  background-color: var(--carte);
  border-bottom: 1px solid var(--ligne);
}
.accueil-2026 .hero-plan h1,
.accueil-2026 .accueil-intro h1 {
  font-size: var(--text-h1);
  margin: 0 0 14px;
}
.accueil-2026 .hero-plan p,
.accueil-2026 .accueil-intro p {
  max-width: 44ch;
  margin: 0;
}
.accueil-2026 .plan {
  margin: 0;
}
.accueil-2026 .plan svg {
  display: block;
  width: 100%;
  height: auto;
}
.accueil-2026 .plan .trace {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: accueil-trace var(--duree-trace) var(--ease-trace) forwards;
}
.accueil-2026 .plan .t2 { animation-delay: .25s; }
.accueil-2026 .plan .t3 { animation-delay: .5s; }
.accueil-2026 .plan .t4 { animation-delay: .75s; }
.accueil-2026 .plan .t5 { animation-delay: 1s; }
.accueil-2026 .plan .t6 { animation-delay: 1.25s; }
@keyframes accueil-trace {
  to { stroke-dashoffset: 0; }
}
.accueil-2026 .plan circle {
  fill: #fff;
  stroke: var(--encre);
  stroke-width: 3;
  opacity: 0;
  animation: accueil-apparait .3s ease-out 1.7s forwards;
}
@keyframes accueil-apparait {
  to { opacity: 1; }
}
.accueil-2026 .plan text {
  font-family: var(--font-texte);
  font-size: 13px;
  fill: var(--encre);
}
.accueil-2026 .plan .pays {
  font-family: var(--font-titre);
  font-size: 12px;
  font-weight: 700;
}
.accueil-2026 .plan .electron {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: .4 99.6;
  opacity: .9;
  animation: accueil-circule 6s linear 2s infinite;
}
.accueil-2026 .plan .electron.e2 {
  animation-duration: 8s;
  animation-delay: 3s;
}

/* ---------- Hero avec campagne : intro sous la publicité (§5) ---------- */
.accueil-2026 .accueil-intro {
  padding: var(--espace-bloc) var(--gouttiere) 8px;
}

/* ---------- Pastilles de pays (§6) ---------- */
.accueil-2026 .pays-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.accueil-2026 .pays-liste a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--cible);
  padding: 8px 16px;
  background-color: var(--carte);
  border: 1.5px solid var(--encre);
  border-radius: 999px;
  color: var(--encre);
  font-weight: 600;
  text-decoration: none;
}
.accueil-2026 .pays-liste a span {
  font-variant-numeric: tabular-nums;
  color: var(--accent-fonce);
}
.accueil-2026 .pays-liste a:hover {
  background-color: var(--encre);
  color: #fff;
}
.accueil-2026 .pays-liste a:hover span {
  color: #fff;
}

/* ---------- Blocs et grilles de cartes (§5, §6) ---------- */
.accueil-2026 .bloc {
  padding: var(--espace-bloc) var(--gouttiere);
}
.accueil-2026 .bloc-tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}
.accueil-2026 .bloc-tete h2 {
  font-size: var(--text-h2);
  margin: 0;
}
.accueil-2026 .bloc-tete a {
  color: var(--accent-fonce);
  font-weight: 600;
  text-decoration: underline;
}

.accueil-2026 .carte .ou {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--encre);
}
.accueil-2026 .carte .ou::before {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background-color: #fff;
}

.accueil-2026 .presentation p {
  max-width: 75ch;
}

/* ---------- Une colonne sous 760 px, plan au-dessus (§5) ---------- */
@media (max-width: 760px) {
  .accueil-2026 .hero-plan {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }
  .accueil-2026 .hero-plan .plan {
    order: -1;
  }
  .accueil-2026 .bloc-tete {
    flex-direction: column;
    gap: 4px;
  }
}

/* ---------- Mouvement réduit : tout figé, plan entier (§8) ---------- */
@media (prefers-reduced-motion: reduce) {
  .accueil-2026 .plan .trace {
    animation: none;
    stroke-dashoffset: 0;
  }
  .accueil-2026 .plan circle {
    animation: none;
    opacity: 1;
  }
  .accueil-2026 .plan .electron,
  .accueil-2026 .fond-lignes .point {
    animation: none;
    display: none;
  }
}
