/* ==========================================================================
   Doudoune Club — feuille de style
   Direction : « Pose ta doudoune ». On arrive de nuit devant le logo du club, sur un noir où bougent
   les lumières floues de la salle, puis la page descend simplement : le club, la Club 21, les photos, la réservation.
   Couleurs et écriture manuscrite d'après la charte graphique du club (logo 2022). Trois polices au plus :
   Anybody (titres), Instrument Sans (textes), Ms Madi (accroches manuscrites, à la place de Belinday).
   ========================================================================== */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
/* Écriture manuscrite proche de Belinday, la police « la plus proche du logo » de la charte (licence libre OFL) */
@font-face {
  font-family: "Ms Madi";
  src: url("../fonts/ms-madi-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Toute la page suit la charte (demande du club, 22/11/2026), sauf la Club 21 (rouge et noir, plus bas) :
     fonds noirs ou blancs comme ceux de la charte (le noir légèrement violacé, pour s'accorder au rose et au violet),
     textes blancs ou noirs, et les couleurs de la charte pour les accents et les titres. Plus de brun, de bleu marine,
     de vert ni d'orange. */
  --nuit: #07060b;
  --braise: #110d14;     /* deuxième noir, pour alterner les rubriques */
  --braise-2: #1c1622;   /* fenêtres, cadres d'images */
  --neige: #fbfafd;      /* le blanc des rubriques claires */
  --encre: #141016;      /* le noir du texte sur fond clair */
  --clair: #f7f5fa;
  --clair-doux: rgba(247, 245, 250, 0.74);
  /* Charte graphique : JAUNE 249,233,48 · ROSE 231,26,121 · VIOLET 166,82,154 · BLEU 110,198,217 · JAUNE 2 255,211,0
     Dégradés de la charte : rose-jaune et violet-bleu. Boutons : rose (« Réservation VIP ») ; accents rose et violet ;
     titres de rubrique dans les dégradés. Le jaune reste dans le logo. */
  --jaune: #f9e930;
  --jaune-2: #ffd300;
  --rose: #e71a79;       /* l'action principale : texte presque noir dessus (le blanc y serait trop peu lisible) */
  --rose-pale: #f7acb5;  /* l'écriture manuscrite de la couverture de la charte */
  --violet: #a6529a;     /* texte blanc dessus */
  --ciel: #6ec6d9;
  --degrade-violet-bleu: linear-gradient(100deg, var(--violet) 0%, #8a8ac0 55%, var(--ciel) 100%);
  --degrade-rose-violet: linear-gradient(100deg, var(--rose) 0%, var(--violet) 100%);
  /* Club 21 seulement : le rouge et le noir de son logo */
  --c21-noir: #070203;
  --c21-rouge-bouton: #c8101c; /* texte blanc dessus (5,9:1) */

  --police-titre: "Anybody", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --police-texte: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --police-script: "Ms Madi", "Segoe Script", "Brush Script MT", cursive;

  --gouttiere: clamp(20px, 4.6vw, 72px);
  --largeur-max: 1360px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-tiroir: cubic-bezier(0.32, 0.72, 0, 1);

  --entete-h: 76px;
  --focus: #ffffff;

  /* Hauteur des scènes épinglées, et réserve gardée en bas pour ce qui y est ancré (voir juste dessous). */
  --scene-h: 100svh;
  --reserve: 0px;
}
/* Téléphones : la barre d'adresse se replie pendant le défilement et l'écran grandit.
   Les scènes épinglées prennent donc la grande hauteur (lvh), pour ne jamais laisser de bande vide en bas,
   et ce qui est ancré en bas garde une réserve pour rester visible tant que la barre est affichée. */
@supports (height: 100lvh) {
  html.anim { --scene-h: 100lvh; --reserve: calc(100lvh - 100svh); }
}
/* Maquette en ligne : sur l'offre gratuite, Netlify ajoute en bas à droite un badge (cadre de 197 × 64 px,
   au-dessus de tout, qui capte aussi les touchers). Sur téléphone, ce qui est ancré en bas de l'écran lui laisse
   cette place : boutons et horaires du premier écran, pied de page.
   Sans effet dans la version de production, qui n'a pas l'attribut data-demo. */
@media (max-width: 720px) {
  html[data-demo] { --place-badge: 50px; }
}

/* ---------- Socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent; /* chaque élément cliquable a son propre retour au toucher */
  scroll-padding-top: var(--entete-h);
  background: var(--braise);
  scrollbar-gutter: stable;
}
html.modale-ouverte { overflow: hidden; }
/* « defile-doux » : posée par le script une fois la page en place, pour que l'arrivée directe sur une rubrique soit sûre */
@media (prefers-reduced-motion: no-preference) {
  html.defile-doux, html.sans-js { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--braise);
  color: var(--clair);
  font: 400 1.0625rem/1.55 var(--police-texte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button, a, [role="button"] { touch-action: manipulation; }
button { -webkit-user-select: none; user-select: none; }
::selection { background: var(--rose); color: #fff; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sur-clair { --focus: var(--encre); color-scheme: light; }

[hidden] { display: none !important; }
.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.enveloppe { width: 100%; max-width: calc(var(--largeur-max) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: max(var(--gouttiere), env(safe-area-inset-left, 0px)) max(var(--gouttiere), env(safe-area-inset-right, 0px)); }
.ancre { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.plus { font-family: var(--police-texte); font-stretch: 100%; font-weight: 700; margin-right: 0.03em; }
.insecable { white-space: nowrap; }

.evitement {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 12px 18px; border-radius: 999px; background: var(--rose); color: var(--nuit);
  font: 700 0.9375rem/1 var(--police-titre); text-decoration: none;
  transform: translateY(-200%);
}
.evitement:focus { transform: none; }

/* ---------- Titres ---------- */
.titre-section {
  font-family: var(--police-titre);
  font-weight: 800;
  font-stretch: 132%;
  font-size: clamp(2.6rem, 8.2vw, 7.25rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.titre-section span { display: block; font-weight: 500; font-stretch: 118%; font-size: 0.42em; letter-spacing: -0.01em; line-height: 1.15; margin-top: 0.3em; opacity: 0.72; }
/* Les grands titres de rubrique dans les dégradés de la charte (comme les lettres du logo dans ses déclinaisons) :
   violet-bleu sur fond noir, rose-violet sur fond blanc (le bleu y serait trop pâle). */
.infos__titre, .evenements .titre-section, .photos .titre-section {
  background: var(--degrade-violet-bleu); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  width: fit-content; max-width: 100%; padding-bottom: 0.06em;
}
.sur-clair .titre-section {
  background: var(--degrade-rose-violet); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  width: fit-content; max-width: 100%; padding-bottom: 0.06em;
}
.sur-clair .titre-section span { opacity: 1; }
@media (forced-colors: active) {
  .infos__titre, .evenements .titre-section, .photos .titre-section, .sur-clair .titre-section, .club21__titre { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}

/* ---------- Boutons ---------- */
.bouton {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border: 0; border-radius: 999px;
  font-family: var(--police-titre); font-weight: 700; font-stretch: 112%; font-size: 0.9375rem; line-height: 1; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.bouton:active { transform: scale(0.97); }
.bouton .ico { transition: transform 220ms var(--ease-out); }
.bouton--petit { --h: 44px; padding: 0 20px; font-size: 0.875rem; }
/* Rose et violet exacts de la charte. Rose : texte presque noir (4,6:1 ; en blanc, 4,4:1 seulement). Violet : texte blanc (4,9:1). */
.bouton--rose { background: var(--rose); color: var(--nuit); }
.bouton--violet { background: var(--violet); color: #fff; }
.bouton--rouge { background: var(--c21-rouge-bouton); color: #fff; }
.bouton--clair { background: var(--clair); color: var(--nuit); }
.bouton--trait { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
/* Gris, sans lien : « Billets bientôt disponibles » (demande du club, 25/11/2026). Rien ne bouge au survol ni au toucher. */
.bouton--bientot { background: var(--gris, #4d4953); color: var(--gris-texte, #efecf2); cursor: default; }
.bouton--bientot:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .bouton--rose:hover { background: #ef3d8e; }
  .bouton--violet:hover { background: #91468a; }
  .bouton--rouge:hover { background: #e0141f; }
  .bouton--clair:hover { background: #fff; }
  .bouton--trait:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
  .bouton:not(.bouton--bientot):hover .ico { transform: translateX(3px); }
}

.rond {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(17, 13, 20, 0.56); color: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.rond:active { transform: scale(0.94); }
.rond--trait { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
.rond[disabled] { opacity: 0.32; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .rond:not([disabled]):hover { background: rgba(255, 255, 255, 0.2); }
  .rond--trait:not([disabled]):hover { background: color-mix(in srgb, currentColor 14%, transparent); }
}
.rond--photo { position: absolute; z-index: 4; right: var(--gouttiere); bottom: calc(var(--reserve) + clamp(20px, 4svh, 40px)); }

.lien-icone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; }
.lien-icone span, .lien-icone { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lien-icone:hover { background-size: 100% 2px; } }

/* ==========================================================================
   En-tête
   ========================================================================== */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: max(12px, env(safe-area-inset-top, 0px)) max(calc(var(--gouttiere) - 8px), env(safe-area-inset-right, 0px)) 0 max(calc(var(--gouttiere) - 8px), env(safe-area-inset-left, 0px)); pointer-events: none; }
.entete__barre {
  pointer-events: auto;
  max-width: calc(var(--largeur-max) + 16px); margin-inline: auto; min-height: 60px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 6px 8px; border-radius: 999px;
  color: #fff;
  transition: background-color 320ms ease, box-shadow 320ms ease;
}
.entete.est-flottante .entete__barre {
  background: rgba(17, 13, 20, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 34px rgba(0, 0, 0, 0.3);
}
.marque { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; padding: 0 4px; border-radius: 999px; text-decoration: none; color: inherit; transition: opacity 280ms ease, visibility 280ms; }
/* Le logo rond officiel (disque blanc, lettres rayées, triangles), en petit : 48 px de haut dans la barre de 60 px. */
.marque__logo { display: block; height: 48px; width: auto; flex: none; overflow: visible; }
/* Grand écran : un peu plus grand, sans changer la hauteur de la barre (il déborde de 4 px en haut et en bas). */
@media (min-width: 861px) { .entete__barre .marque__logo { height: 56px; margin-block: -4px; } }
/* Sur les pages claires, tant que la barre est transparente, un liseré dessine le bord du disque blanc. */
.page-claire .entete:not(.est-flottante) .marque__logo .logo-rond__disque { stroke: rgba(20, 16, 22, 0.38); stroke-width: 10; }
/* Sur l'accueil, tant que le grand titre est à l'écran, la marque de l'en-tête lui laisse la place. */
.js .page-accueil .entete:not(.est-flottante) .marque { opacity: 0; visibility: hidden; }
/* Version de démonstration : une mention discrète à la place du logo tant qu'il est masqué (haut de l'accueil),
   et une phrase au pied de page. La génération --production ne les écrit pas. */
.entete__maquette {
  position: absolute; left: max(var(--gouttiere), env(safe-area-inset-left, 0px)); top: calc(max(12px, env(safe-area-inset-top, 0px)) + 16px);
  margin: 0; padding: 5px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; line-height: 1.25; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  opacity: 0; visibility: hidden; transition: opacity 280ms ease, visibility 280ms;
}
.js .page-accueil .entete:not(.est-flottante) .entete__maquette { opacity: 1; visibility: visible; }
@media (max-width: 359px) { .entete__maquette { display: none; } }
.pied__maquette a { color: inherit; text-underline-offset: 3px; }

.entete__liens { display: flex; gap: clamp(6px, 1.4vw, 22px); }
.entete__liens a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 8px calc(100% - 10px) / 0 2px no-repeat;
  transition: background-size 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .entete__liens a:hover { background-size: calc(100% - 16px) 2px; } }
.entete__liens a[aria-current="true"] { background-size: calc(100% - 16px) 2px; }
.entete__actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.entete__menu { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* Langue : le code de l'autre version (EN ou FR), dans un petit cercle cerclé de la couleur du texte. */
.entete__langue {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--police-titre); font-weight: 700; font-stretch: 112%; font-size: 0.8125rem; letter-spacing: 0.04em; line-height: 1;
  text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor;
  transition: background-color 160ms ease, color 160ms ease; -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) { .entete__langue:hover { background: #fff; color: var(--nuit); box-shadow: none; } }
.entete__langue:active { transform: scale(0.96); }
.page-claire .entete:not(.est-flottante) .entete__barre { color: var(--encre); --focus: var(--encre); }

/* « Réservation » : l'accès direct au formulaire de réservation VIP, à toutes les largeurs */
.entete__reserver { --h: 44px; padding: 0 18px; }
@media (max-width: 400px) { .entete__reserver { padding: 0 13px; font-size: 0.8125rem; } }
@media (max-width: 339px) { .entete__reserver { padding: 0 10px; font-stretch: 100%; } }
/* Six liens depuis « Évènements » (24/11/2026) : sous 920 px ils ne tiennent plus, le bouton Menu prend le relais. */
@media (max-width: 920px) {
  .entete__barre { grid-template-columns: 1fr auto; }
  .entete__liens { display: none; }
  .entete__menu { display: inline-grid; }
}
@media (max-width: 520px) {
  .entete__barre { gap: 8px; }
  .entete__actions { gap: 4px; }
  .marque__logo { height: 44px; }
}

/* ---------- Menu (petits écrans) ---------- */
.menu {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 14px var(--gouttiere) max(24px, env(safe-area-inset-bottom));
  border: 0; background: var(--nuit); color: #fff; overscroll-behavior: contain;
  opacity: 0; clip-path: inset(0 0 100% 0);
  transition: opacity 200ms ease, clip-path 220ms var(--ease-tiroir), overlay 220ms allow-discrete, display 220ms allow-discrete;
}
.menu[open] { display: flex; flex-direction: column; gap: clamp(20px, 4svh, 40px); opacity: 1; clip-path: inset(0 0 0 0); transition: opacity 240ms ease, clip-path 420ms var(--ease-tiroir), overlay 420ms allow-discrete, display 420ms allow-discrete; }
@starting-style { .menu[open] { opacity: 0; clip-path: inset(0 0 100% 0); } }
.menu::backdrop { background: transparent; }
.menu__haut { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.marque--menu { opacity: 1 !important; visibility: visible !important; }
.menu__liens { display: grid; gap: 2px; margin-top: auto; }
/* Sept liens depuis « Nos évènements » (24/11/2026) : chacun sur une ligne, pour que le menu tienne sur l'écran d'un téléphone. */
.menu__liens a { font-family: var(--police-titre); font-weight: 800; font-stretch: 130%; font-size: clamp(1.3rem, 7vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; text-decoration: none; padding: 7px 0; }
@media (max-height: 720px) {
  .menu[open] { gap: 14px; }
  .menu__liens a { padding: 6px 0; font-size: clamp(1.3rem, min(7vw, 6svh), 3.6rem); }
}
/* Téléphone à l'horizontale : les liens sur deux colonnes */
@media (max-height: 520px) and (min-width: 560px) { .menu__liens { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.menu__contacts { display: grid; gap: 4px; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 18px; }
.menu__contacts li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.menu__contacts span { color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; }
.menu__contacts a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.menu__contacts small { font-size: 0.8125rem; }
.menu__contacts .ico--whatsapp { color: var(--rose); }
.menu__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.menu__reseaux { display: flex; gap: 24px; }
.menu__reseaux a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; }
.menu__langues { display: flex; gap: 6px; }
.menu__langues > * { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.menu__langues [aria-current] { background: #fff; color: var(--nuit); }
.menu__langues a { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }

/* ==========================================================================
   Lumières de club — fond noir, lueurs floues comme derrière une vitre embuée
   (premier écran, pied de page, pages de message). Le script les fait bouger et se tourner vers la souris.
   ========================================================================== */
.lumieres {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  /* avant le script, ou sans WebGL : quelques lueurs fixes sur le même noir */
  background:
    radial-gradient(58% 52% at 10% 16%, rgba(231, 26, 121, 0.2), transparent 72%),
    radial-gradient(52% 58% at 90% 20%, rgba(231, 26, 121, 0.14), transparent 72%),
    radial-gradient(58% 58% at 84% 100%, rgba(111, 195, 218, 0.13), transparent 72%),
    radial-gradient(52% 52% at 14% 100%, rgba(166, 82, 154, 0.22), transparent 72%),
    var(--nuit);
}
.lumieres canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms ease; }
.lumieres.est-allume canvas { opacity: 1; }
/* Un grain très fin par-dessus : il évite les « marches » dans les dégradés sombres. */
.lumieres::after { content: ""; position: absolute; inset: 0; opacity: 0.035; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 160px 160px; }

/* ==========================================================================
   Premier écran — le logo officiel sur le noir du club (sans horaires depuis le 22/11/2026, demande du club)
   ========================================================================== */
.ouverture { position: relative; background: var(--nuit); }
.ouverture__scene {
  position: relative; isolation: isolate; overflow: clip; background: var(--nuit);
  /* Le logo : un disque blanc de diamètre --d, centré en (--cx ; --cy). Avec ses triangles et son manuscrit, il
     tient dans une boîte de 1,1765 d sur 1,2824 d, où le disque est décalé de 0,0868 d vers la gauche.
     --zone est la hauteur laissée au logo entre l'en-tête et le bas de l'écran (--bas-h : « Never Stop Dancing »
     et la flèche). */
  --bas-h: 112px;
  --zone: calc(100svh - var(--entete-h) - var(--bas-h));
  --d: min(calc((var(--zone) - 20px) / 1.2824), 40vw, 540px);
  --cx: calc(50vw - 0.0868 * var(--d));
  --cy: calc(var(--entete-h) + var(--zone) / 2);
}
.ouverture__scene::before { content: ""; display: block; height: 100svh; }

/* De bas en haut : lumières, disque blanc, triangles, nom. */
.ouverture__disque {
  position: absolute; z-index: 1; left: calc(var(--cx) - var(--d) / 2); top: calc(var(--cy) - var(--d) / 2); width: var(--d); height: var(--d);
  border-radius: 50%; background: #fff; pointer-events: none;
}
.ouverture__triangles {
  position: absolute; z-index: 3; pointer-events: none;
  left: calc(var(--cx) - var(--d) / 2 + var(--tg) * var(--d));
  top: calc(var(--cy) - var(--d) / 2 + var(--th) * var(--d));
  width: calc(var(--tl) * var(--d)); height: calc(var(--thh) * var(--d));
}
.ouverture__triangles-svg { width: 100%; height: 100%; overflow: visible; }
.ouverture__triangles .tri { stroke-width: 3.6; }
.ouverture__nom {
  position: absolute; z-index: 4; margin: 0; pointer-events: none;
  left: calc(var(--cx) - var(--d) / 2 + var(--ng) * var(--d));
  top: calc(var(--cy) - var(--d) / 2 + var(--nh) * var(--d));
  width: calc(var(--nl) * var(--d)); height: calc(var(--nhh) * var(--d));
}
.ouverture__nom-svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* « Never Stop Dancing » juste sous le logo (remis le 22/11/2026, 4e liste du club, comme avant le 18/11). La boîte
   du logo, haute de 1,2824 d, est centrée sur --cy : son bas est à --cy + 0,6412 d. */
.ouverture__signature {
  position: absolute; z-index: 5; left: var(--gouttiere); right: var(--gouttiere); top: calc(var(--cy) + 0.6412 * var(--d) + 12px);
  margin: 0; text-align: center; white-space: nowrap;
  font-family: var(--police-titre); font-weight: 500; font-stretch: 118%; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.1; color: var(--clair-doux);
}
/* La petite flèche en bas du premier écran : la suite du site est plus bas (demande du club, 22/11/2026). */
.ouverture__suite {
  position: absolute; z-index: 6; left: 50%; bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + var(--place-badge, 0px)); margin-left: -24px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: #fff; background: rgba(7, 6, 11, 0.35); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
  -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.ouverture__suite .ico { width: 22px; height: 22px; }
.ouverture__suite:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .ouverture__suite:hover { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1.5px #fff; } }
html.anim .ouverture__suite { animation: fondu 600ms ease 1400ms backwards; }
html.anim .ouverture__suite .ico { animation: suite 1.8s var(--ease-in-out) 2s infinite; }
@keyframes suite { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

/* Entrée du premier écran : le disque se pose, les triangles se tracent, le nom arrive lettre après lettre,
   puis « Club Val d'Isère » s'écrit à la main ; « Never Stop Dancing » monte doucement sous le logo. */
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes monte { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
html.anim .ouverture__signature { animation: monte 520ms var(--ease-out) 300ms backwards; }
@keyframes disque-pose { from { transform: scale(0.92); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lettre-pose { from { transform: translateY(9px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes trait-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ecrit { from { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
html.anim .ouverture__disque { animation: disque-pose 700ms var(--ease-out) backwards; }
html.anim .ouverture__triangles .tri { stroke-dasharray: 1; animation: trait-trace 900ms var(--ease-in-out) 120ms backwards; }
html.anim .ouverture__triangles .tri2 { animation-delay: 210ms; }
html.anim .logo__lettres .l { transform-box: fill-box; animation: lettre-pose 480ms var(--ease-out) calc(160ms + var(--i) * 42ms) backwards; }
html.anim .manuscrit__traits path { stroke-dasharray: 1; animation: ecrit calc(var(--part) * 1000ms) linear calc(560ms + var(--debut) * 1000ms) backwards; }
html.anim .manuscrit__plein { animation: fondu 200ms ease calc(560ms + var(--debut) * 1000ms) backwards; }

/* Fenêtre très basse (téléphone à l'horizontale) : le logo au milieu, dans toute la hauteur. */
@media (min-width: 721px) and (max-height: 540px) {
  .ouverture__scene { --d: min(calc((100svh - 24px) / 1.2824), 34vw); --cy: 50svh; }
  .ouverture__signature { display: none; }
}

/* Écran étroit ou vertical : le logo prend la largeur. */
@media (max-width: 720px), (max-width: 1100px) and (max-aspect-ratio: 1/1) {
  .ouverture__scene {
    --bas-h: calc(106px + max(env(safe-area-inset-bottom, 0px), var(--place-badge, 0px)));
    --d: min(calc((var(--zone) - 8px) / 1.2824), calc((100vw - 36px) / 1.1765), 560px);
  }
  .ouverture__signature { font-stretch: 100%; font-size: min(1rem, 3.9vw); }
}
@media (max-width: 359px) {
  .fiche__lien, .fiche__texte { font-size: 1rem; font-stretch: 104%; }
}

/* Apparition des rubriques au défilement : une seule fois, discrète. Le script pose « revele-pret » avant de
   masquer quoi que ce soit : sans lui, tout reste visible. */
html.anim.revele-pret [data-revele]:not(.est-vu) { opacity: 0; transform: translateY(26px); }
html.anim.revele-pret [data-revele] { transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }


/* ==========================================================================
   Informations pratiques — horaires, adresse, plan cliquable (itinéraire Google Maps)
   ========================================================================== */
.infos { position: relative; background: var(--braise); padding-block: clamp(72px, 10vw, 150px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.infos__grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.infos__titre { font-family: var(--police-titre); font-weight: 800; font-stretch: 128%; font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1; letter-spacing: -0.022em; margin-bottom: clamp(20px, 2.6vw, 34px); text-wrap: balance; }
/* Les jours d'ouverture en grand (demande du club, 22/11/2026) : pastilles violettes, puis l'heure d'ouverture en rose. */
.infos__ouverture { display: grid; justify-items: start; gap: clamp(12px, 1.4vw, 16px); margin-bottom: clamp(24px, 3vw, 34px); }
.infos__etiquette { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9375rem; color: var(--clair-doux); }
.infos__etiquette .ico { color: var(--rose); }
/* Deux colonnes égales à toutes les largeurs : quatre jours, deux lignes équilibrées. */
.infos__jours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 440px); }
.infos__jours li {
  display: grid; place-items: center; min-height: 52px; padding: 0 16px; border-radius: 999px;
  background: var(--violet); color: #fff;
  font-family: var(--police-titre); font-weight: 800; font-stretch: 118%; font-size: clamp(1.0625rem, 1.45vw, 1.3rem); line-height: 1; letter-spacing: -0.005em;
}
.infos__heure { font-family: var(--police-titre); font-weight: 800; font-stretch: 125%; font-size: clamp(1.6rem, 2.7vw, 2.4rem); line-height: 1.05; letter-spacing: -0.018em; color: var(--rose); }
.infos__liste { display: grid; margin-bottom: clamp(24px, 3vw, 36px); }
@media (max-width: 520px) {
  .infos__jours { width: 100%; }
}
.infos__ligne { display: grid; gap: 6px; padding: clamp(14px, 1.8vw, 20px) 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.infos__ligne:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.infos__ligne dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9375rem; color: var(--clair-doux); }
.infos__ligne dt .ico { color: var(--rose); }
.infos__ligne dd { font-family: var(--police-titre); font-weight: 700; font-stretch: 112%; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.25; letter-spacing: -0.01em; padding-left: calc(1.25em + 10px); }
.infos__ligne dd a { text-decoration: none; font-variant-numeric: tabular-nums; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .infos__ligne dd a:hover { background-size: 100% 2px; } }
.infos__plan { margin: 0; }
.infos__carte { position: relative; display: block; aspect-ratio: 8 / 5; border-radius: var(--r-l); overflow: hidden; background: #120a0c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); -webkit-tap-highlight-color: transparent; transition: transform 200ms var(--ease-out); }
.infos__carte picture, .infos__carte img { width: 100%; height: 100%; }
.infos__carte img { object-fit: cover; transition: transform 500ms var(--ease-out); }
.infos__carte:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .infos__carte:hover img { transform: scale(1.03); } }
/* Le club sur le plan : un point rose qui bat doucement, et son nom (posé sur l'étiquette du plan) */
.infos__repere { position: absolute; left: calc(var(--px) * 100%); top: calc(var(--py) * 100%); display: grid; justify-items: center; gap: 6px; transform: translate(-50%, -12px); pointer-events: none; }
.infos__point { width: 22px; height: 22px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(7, 6, 11, 0.85), 0 0 0 0 rgba(231, 26, 121, 0.6); }
html.anim .infos__point { animation: repere 2.2s ease-out infinite; }
@keyframes repere { 0% { box-shadow: 0 0 0 4px rgba(7, 6, 11, 0.85), 0 0 0 4px rgba(231, 26, 121, 0.6); } 70%, 100% { box-shadow: 0 0 0 4px rgba(7, 6, 11, 0.85), 0 0 0 22px rgba(231, 26, 121, 0); } }
.infos__nom { padding: 6px 12px; border-radius: 999px; background: var(--nuit); color: #fff; font-family: var(--police-titre); font-weight: 700; font-stretch: 112%; font-size: 0.875rem; line-height: 1; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }
.infos__attribution { margin-top: 8px; font-size: 0.75rem; color: rgba(247, 245, 250, 0.6); text-align: right; }
.infos__attribution a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .infos__grille { grid-template-columns: 1fr; }
  .infos__carte { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Le club
   ========================================================================== */
.club { position: relative; background: var(--nuit); padding-block: clamp(80px, 12vw, 176px); overflow: clip; }
.club__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.club__titre { font-family: var(--police-titre); font-weight: 800; font-stretch: 132%; font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: -0.005em; line-height: 1; color: var(--rose); margin-bottom: clamp(16px, 2vw, 24px); }
.club__chapo { font-family: var(--police-titre); font-weight: 700; font-stretch: 116%; font-size: clamp(1.9rem, 3.5vw, 3.35rem); line-height: 1.04; letter-spacing: -0.022em; max-width: 14em; text-wrap: balance; }
.club__para { margin-top: clamp(18px, 2.2vw, 28px); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; color: var(--clair-doux); max-width: 32em; text-wrap: pretty; }
.club__saison { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(20px, 2.4vw, 30px); padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font-weight: 600; line-height: 1.35; }
.club__point { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(231, 26, 121, 0.55); }
html.anim .club__point { animation: battement 2.4s ease-out infinite; }
@keyframes battement { 0% { box-shadow: 0 0 0 0 rgba(231, 26, 121, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(231, 26, 121, 0); } }
.club__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 3vw, 40px); }
.club__photo { position: relative; }
.club__agrandir { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--r-l); overflow: hidden; background: var(--braise-2); cursor: zoom-in; -webkit-tap-highlight-color: transparent; transition: transform 200ms var(--ease-out); }
.club__agrandir picture, .club__agrandir img { width: 100%; height: 100%; }
.club__agrandir img { object-fit: cover; transition: transform 420ms var(--ease-out); }
.club__agrandir:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .club__agrandir:hover img { transform: scale(1.03); } }
@media (max-width: 860px) {
  .club__grille { grid-template-columns: 1fr; }
  .club__photo { order: -1; }
}

/* ==========================================================================
   Club 21 — la soirée années 80-90, un samedi par mois. Seule rubrique hors de la charte du Doudoune : du noir,
   du blanc et le rouge de son logo (demandes du club, 22/11/2026 : « plus sophistiqué et classe », puis « un peu
   plus de rouge »). Clin d'œil aux années 80 : titre blanc en lettres rayées, accroche et dates en néon rouge,
   sol quadrillé rouge, lueur rouge à l'horizon.
   ========================================================================== */
.club21 {
  position: relative; isolation: isolate; overflow: clip; color: #fff; --focus: #fff;
  background:
    radial-gradient(85% 55% at 50% 100%, rgba(200, 16, 28, 0.34), transparent 72%),
    radial-gradient(50% 45% at 0% 0%, rgba(200, 16, 28, 0.12), transparent 70%),
    var(--c21-noir);
  padding-block: clamp(80px, 11vw, 160px);
  border-top: 2px solid var(--c21-rouge-bouton);
}
/* Le sol quadrillé, en perspective : de fins filets rouges qui avancent doucement vers nous (par transformation
   seulement, sans repeindre la page), plus lentement avec « réduire les animations ». */
.club21__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.club21__sol {
  position: absolute; left: -60%; right: -60%; bottom: 0; height: 42%; overflow: hidden;
  transform: perspective(360px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  opacity: 0.8;
}
.club21__sol::before {
  content: ""; position: absolute; inset: -56px 0 0 0;
  background:
    linear-gradient(rgba(255, 52, 52, 0.4) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 52, 52, 0.4) 1px, transparent 1px) 50% 0 / 56px 100%;
}
html.anim .club21__sol::before { animation: sol21 3.2s linear infinite; }
@keyframes sol21 { from { transform: translateY(0); } to { transform: translateY(56px); } }

/* À gauche le titre, à droite la programmation */
.club21__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(48px, 7vw, 120px); align-items: center; }

/* Le logo, plus petit, tout contre le titre */
.club21__marque { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(14px, 1.8vw, 24px); }
.club21__marque picture { flex: none; width: clamp(128px, 14vw, 200px); }
.club21__logo { width: 100%; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45)) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5)); }
/* Le titre en lettres rayées, comme celles du logo du Doudoune, en blanc */
.club21__titre {
  font-family: var(--police-titre); font-weight: 900; font-stretch: 150%; text-transform: uppercase;
  font-size: clamp(3.4rem, 7vw, 6.6rem); line-height: 0.86; letter-spacing: -0.035em;
  background: linear-gradient(to bottom, transparent 0 64%, var(--c21-noir) 64% 100%) 0 0.02em / 100% 0.0905em repeat, #fff;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.04em; width: fit-content;
}
/* « Années 80 – 90 » : en néon rouge, comme les chiffres des dates */
.club21__accroche {
  font-family: var(--police-script); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: #ff4b42;
  text-shadow: 0 0 10px rgba(255, 40, 40, 0.35);
  transform: rotate(-4deg); transform-origin: 0 50%; margin: 0.3em 0 0 0.2em;
}
.club21__texte { margin: clamp(20px, 2.4vw, 30px) 0 clamp(24px, 2.8vw, 34px); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, 0.74); max-width: 30em; text-wrap: pretty; }

/* Les dates : une liste sobre, chiffres en néon rouge, filets fins rouges ; un trait rouge sous le titre */
.club21__sous-titre { font-family: var(--police-titre); font-weight: 800; font-stretch: 125%; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.1; margin-bottom: 18px; }
.club21__sous-titre::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 12px; background: var(--c21-rouge-bouton); }
.dates21 { display: grid; border-top: 1px solid rgba(255, 75, 66, 0.34); }
.date21 time { --num: clamp(1.9rem, 2.8vw, 2.5rem); display: grid; grid-template-columns: 5.4em calc(var(--num) * 1.6) minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 75, 66, 0.24); }
.date21__jour { font-weight: 600; color: rgba(255, 255, 255, 0.62); }
.date21__jour::first-letter { text-transform: uppercase; }
.date21__num { font-family: var(--police-titre); font-weight: 900; font-stretch: 140%; font-size: var(--num); line-height: 0.9; letter-spacing: -0.03em; color: #ff4b42; text-shadow: 0 0 14px rgba(255, 40, 40, 0.3); text-align: right; font-variant-numeric: tabular-nums; }
.date21__num sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.1em; }
.date21__mois { font-weight: 700; font-size: 1.125rem; }
.date21__annee { font-weight: 500; color: rgba(255, 255, 255, 0.62); }
.club21__plus { margin-top: 18px; color: rgba(255, 255, 255, 0.74); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
@media (max-width: 860px) {
  .club21__grille { grid-template-columns: 1fr; align-items: start; }
}

/* ==========================================================================
   Nos évènements — les lundis avec un artiste (demande du club, 24/11/2026), dans le style du Doudoune, et le Nouvel An.
   Chaque date est un disque blanc, dans la typographie des informations pratiques (demande du club, 25/11/2026 : plus
   de triangle ni de lettres rayées). À côté : l'artiste, son style de musique, deux phrases, et le bouton de la
   billetterie : gris tant qu'elle n'est pas ouverte (25/11/2026), rose ensuite.
   ========================================================================== */
.evenements { position: relative; background: var(--braise); padding-block: clamp(72px, 10vw, 150px); overflow: clip; }
/* Le titre sur une ligne dès que la largeur le permet. Place en haut pour ses accents : le dégradé s'arrête au bord de
   sa boîte et les couperait. */
.evenements .titre-section { font-size: clamp(min(2.1rem, 8.6vw), 6.6vw, 5.9rem); line-height: 1; padding-top: 0.16em; margin-top: -0.16em; margin-bottom: clamp(26px, 3.6vw, 52px); }
.evenements__liste { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.evenement {
  --d: clamp(116px, 10.4vw, 148px); /* diamètre du disque */
  display: grid; grid-template-columns: var(--d) minmax(0, 1fr) auto; grid-template-areas: "date artiste billet" "date texte billet";
  align-items: center; column-gap: clamp(30px, 3.6vw, 56px); row-gap: 16px;
  padding-block: clamp(34px, 3.6vw, 50px); border-top: 1px solid rgba(255, 255, 255, 0.16);
}
/* La date : la typographie des informations pratiques (jours et heure d'ouverture), en noir sur le disque blanc */
.evenement__date {
  grid-area: date; display: grid; align-content: center; justify-items: center; gap: 3px; width: var(--d); height: var(--d);
  border-radius: 50%; background: #fff; color: var(--encre); text-align: center;
  font-family: var(--police-titre); font-weight: 800; letter-spacing: -0.005em;
}
.evenement__jour, .evenement__mois { font-stretch: 112%; font-size: clamp(0.8125rem, 1vw, 0.9375rem); line-height: 1.15; }
.evenement__jour::first-letter { text-transform: uppercase; }
.evenement__num { position: relative; font-stretch: 125%; font-size: clamp(2.5rem, 3.5vw, 3.2rem); line-height: 0.95; letter-spacing: -0.018em; font-variant-numeric: tabular-nums; }
.evenement__num sup { position: absolute; left: 100%; top: 0.2em; margin-left: 0.15em; font-stretch: 112%; font-size: 0.34em; line-height: 1; letter-spacing: 0; }
.evenement__artiste { grid-area: artiste; align-self: end; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 14px; }
.evenement__nom { font-family: var(--police-titre); font-weight: 800; font-stretch: 128%; font-size: clamp(1.6rem, 2.9vw, 2.75rem); line-height: 1.04; letter-spacing: -0.022em; overflow-wrap: anywhere; }
/* Ce qui complète le nom (« Jamaïque », « Chanteur de Danakil, DJ set / sound system ») : à la suite, ou d'un bloc à la ligne */
.evenement__nom span { display: inline-block; padding-top: 0.25em; line-height: 1.2; text-wrap: balance; font-weight: 500; font-stretch: 112%; font-size: 0.56em; letter-spacing: -0.01em; color: var(--clair-doux); }
/* Le style de musique : une pastille violette, comme les jours d'ouverture */
.evenement__style { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 34px; padding: 5px 15px 5px 11px; border-radius: 17px; background: var(--violet); color: #fff; font-family: var(--police-titre); font-weight: 700; font-stretch: 112%; font-size: 0.875rem; line-height: 1.15; }
.evenement__style .ico { width: 1.2em; height: 1.2em; }
.evenement__texte { grid-area: texte; align-self: start; max-width: 40em; color: var(--clair-doux); line-height: 1.6; text-wrap: pretty; }
.evenement__actions { grid-area: billet; display: grid; gap: 10px; }
.evenement__billet .ico { width: 1.35em; height: 1.35em; }
/* Une date mise en avant (le Nouvel An, demande du club, 25/11/2026) : un encart au rose du club, qui déborde dans la
   marge pour que son disque et ses boutons restent alignés sur ceux des autres dates. Texte presque noir (4,6:1), bouton
   « Réservation VIP » en noir, bouton gris plus clair. */
.evenement--phare {
  --debord: clamp(18px, 2.5vw, 36px);
  --gris: #d5d1d9; --gris-texte: #494550;
  margin-inline: calc(var(--debord) * -1); padding-inline: var(--debord); border-top: 0; border-radius: var(--r-l);
  background: var(--rose); color: var(--nuit);
}
.evenement--phare + .evenement { border-top-color: transparent; }
.evenements__liste:has(> .evenement--phare:last-child) { border-bottom-color: transparent; }
.evenement--phare ::selection { background: var(--nuit); color: #fff; }
.evenement--phare .evenement__nom { font-size: clamp(2.4rem, calc(5.6vw - 1.25rem), 4rem); line-height: 0.98; }
.evenement--phare .evenement__nom span { color: inherit; }
.evenement--phare .evenement__texte { color: inherit; font-weight: 500; font-size: 1.125rem; }
.evenement__vip { background: var(--nuit); color: #fff; }
.evenement--phare .evenement__billet.bouton--rose { background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .evenement__vip:hover { background: #2b2433; }
  .evenement--phare .evenement__billet.bouton--rose:hover { background: var(--clair); }
}
.evenements__plus { margin-top: 18px; color: var(--clair-doux); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
@media (max-width: 1080px) {
  .evenement { grid-template-columns: var(--d) minmax(0, 1fr); grid-template-areas: "date artiste" "date texte" "date billet"; }
  .evenement__date { align-self: start; }
  .evenement__actions { display: flex; flex-wrap: wrap; margin-top: 4px; }
  .evenement--phare .evenement__nom { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
}
@media (max-width: 760px) {
  .evenement__actions { display: grid; justify-content: start; }
}
@media (max-width: 620px) {
  .evenement { --d: 108px; grid-template-areas: "date artiste" "texte texte" "billet billet"; column-gap: 20px; row-gap: 20px; padding-block: 32px 34px; }
  .evenement__date { align-self: center; }
  .evenement__artiste { align-self: center; gap: 12px; }
  .evenement__nom { font-size: min(1.6rem, 6.6vw); }
  .evenement__nom span { display: block; padding-top: 0; margin: 0.35em 0 0; line-height: 1.15; }
  .evenement__style { padding: 5px 12px 5px 9px; gap: 6px; font-size: 0.8125rem; font-stretch: 104%; }
  .evenement__jour, .evenement__mois { font-size: 0.75rem; font-stretch: 106%; }
  .evenement__num { font-size: 2.35rem; }
  .evenement__actions { justify-content: stretch; margin-top: 0; }
  .evenement__actions .bouton { padding-inline: 16px; }
  .evenement--phare { --debord: var(--gouttiere); border-radius: 0; }
  .evenement--phare .evenement__artiste { container-type: inline-size; justify-items: stretch; }
  .evenement--phare .evenement__nom { font-size: min(2.1rem, 7.2vw); font-size: max(min(1.6rem, 6.6vw), min(2.6rem, 14.1cqi)); }
  .evenement--phare .evenement__texte { font-size: 1.0625rem; }
}
@media (max-width: 360px) {
  .evenement__actions .bouton { padding-inline: 8px; gap: 8px; font-size: 0.875rem; font-stretch: 104%; }
}

/* ==========================================================================
   Photos — deux rangées qui défilent comme un bandeau
   ========================================================================== */
.photos { background: var(--nuit); padding-block: clamp(72px, 10vw, 150px); overflow: clip; }
.photos__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 3.6vw, 52px); }
.photos__pause { flex: none; margin-bottom: 0.6em; color: #fff; }
.photos__pause .ico--lecture, .photos__pause[aria-pressed="true"] .ico--pause { display: none; }
.photos__pause[aria-pressed="true"] .ico--lecture { display: block; }
.sans-js .photos__pause { display: none; }
.bandeau { --h: clamp(180px, 24vw, 340px); --ecart: clamp(10px, 1.2vw, 18px); display: grid; gap: var(--ecart); }
.bandeau__rangee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
/* La piste contient sa liste deux fois : en glissant de la moitié de sa longueur, elle boucle sans à-coup. */
.bandeau__piste { display: flex; width: max-content; animation: defile var(--duree, 90s) linear infinite; }
.bandeau__rangee--inverse .bandeau__piste { animation-direction: reverse; }
@keyframes defile { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.bandeau.est-en-pause .bandeau__piste, .bandeau.est-hors-ecran .bandeau__piste, .bandeau:focus-within .bandeau__piste { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .bandeau:hover .bandeau__piste { animation-play-state: paused; } }
.modale-ouverte .bandeau__piste { animation-play-state: paused; }
.bandeau__photo { flex: none; height: var(--h); aspect-ratio: var(--ratio); margin-right: var(--ecart); }
.bandeau__bouton { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r-m); overflow: hidden; background: var(--braise-2); cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.bandeau__bouton picture, .bandeau__bouton img { width: 100%; height: 100%; }
.bandeau__bouton img { object-fit: cover; -webkit-user-drag: none; user-select: none; transition: transform 420ms var(--ease-out); }
.bandeau__bouton:focus-visible { outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) { .bandeau__bouton:hover img { transform: scale(1.04); } }
@media (max-width: 720px) { .bandeau__bouton { border-radius: 14px; } }

/* ==========================================================================
   Signature — le disque blanc du logo emporte la nuit
   ========================================================================== */
.signature { position: relative; background: var(--neige); }
.signature__scene { position: relative; min-height: 78svh; display: grid; place-items: center; overflow: clip; background: var(--braise); }
.signature__mots {
  grid-area: 1 / 1; display: grid; justify-items: start; margin: 0; padding-inline: var(--gouttiere);
  font-family: var(--police-titre); font-weight: 900; font-stretch: 150%; text-transform: uppercase;
  font-size: clamp(2.6rem, 11.4vw, 12.5rem); line-height: 0.9; letter-spacing: -0.01em;
  --raie: var(--clair);
}
.signature__mots span {
  display: block;
  background: linear-gradient(to bottom, var(--raie) 0 64%, transparent 64% 100%) 0 0.02em / 100% 0.0905em repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.02em;
}
.signature__mots span:nth-child(2) { margin-left: 1.45em; }
.signature__mots span:nth-child(3) { margin-left: 0.5em; }
.signature__mots b { font-weight: inherit; }
.signature__mots--sombre { --raie: var(--encre); }
.signature__disque { grid-area: 1 / 1; width: 100%; height: 100%; display: grid; place-items: center; background: var(--neige); }
/* Sans animation : le disque a déjà tout recouvert (état final). */
html.anim .signature { height: calc(var(--scene-h) + 120vh); }
html.anim .signature__scene { position: sticky; top: 0; height: var(--scene-h); min-height: 0; }
html.anim .signature__disque { clip-path: circle(0px at 50% 50%); }
html:not(.anim) .signature__mots--clair { display: none; }
@media (max-width: 720px) {
  .signature__mots { font-size: clamp(2rem, 11.4vw, 4.6rem); padding-inline: 16px; }
  .signature__mots span:nth-child(2) { margin-left: 0.9em; }
  .signature__mots span:nth-child(3) { margin-left: 0; }
}

/* ==========================================================================
   Contact & réservations
   ========================================================================== */
.contact { background: var(--neige); color: var(--encre); padding-block: clamp(40px, 6vw, 96px) clamp(88px, 12vw, 180px); }
.contact__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 104px); margin-top: clamp(36px, 6vw, 88px); align-items: start; }
.fiche { display: grid; }
.fiche__ligne { display: grid; grid-template-columns: minmax(130px, 0.36fr) minmax(0, 1fr); gap: 8px 24px; padding: clamp(18px, 2.2vw, 28px) 0; border-top: 1.5px solid rgba(20, 16, 22, 0.14); }
.fiche__ligne:last-child { border-bottom: 1.5px solid rgba(20, 16, 22, 0.14); }
.fiche dt { font-weight: 600; font-size: 0.9375rem; padding-top: 0.5em; color: rgba(20, 16, 22, 0.76); }
.fiche dd { display: grid; gap: 4px; justify-items: start; }
.fiche__lien, .fiche__texte { display: inline-flex; align-items: flex-start; gap: 14px; min-height: 44px; padding: 5px 0; font-family: var(--police-titre); font-weight: 700; font-stretch: 116%; font-size: clamp(1.15rem, 2.05vw, 1.75rem); line-height: 1.18; letter-spacing: -0.012em; text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fiche__lien .ico, .fiche__texte .ico { margin-top: 0.08em; color: var(--rose); }
.fiche__lien span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2.5px no-repeat; transition: background-size 280ms var(--ease-out); padding-bottom: 3px; }
@media (hover: hover) and (pointer: fine) { .fiche__lien:hover span { background-size: 100% 2.5px; } }
.fiche__texte { font-weight: 600; }
.fiche__lien .ico--whatsapp { color: var(--violet); }
.fiche__mention { font-size: 0.9375rem; font-weight: 600; color: rgba(20, 16, 22, 0.72); }

.contact__cote { display: grid; gap: clamp(28px, 4vw, 52px); }

.formulaire { display: grid; gap: 18px; }
.formulaire__titre { font-family: var(--police-titre); font-weight: 800; font-stretch: 130%; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -0.015em; }
.formulaire__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.formulaire__intro { display: flex; align-items: flex-start; gap: 12px; font-size: 1.0625rem; line-height: 1.5; color: rgba(20, 16, 22, 0.86); max-width: 36em; }
.formulaire__intro .ico { width: 1.5em; height: 1.5em; color: var(--violet); margin-top: -0.1em; }
.formulaire__obligatoires { font-size: 0.875rem; color: rgba(20, 16, 22, 0.7); margin-top: -6px; }
.formulaire__note { display: flex; align-items: center; gap: 8px; margin-top: -6px; font-size: 0.9375rem; color: rgba(20, 16, 22, 0.76); }
.formulaire__note .ico { width: 1.1em; height: 1.1em; color: var(--rose); }
.champ { display: grid; gap: 7px; }
.champ label { font-weight: 600; font-size: 0.9375rem; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: 13px 16px; border: 1.5px solid rgba(20, 16, 22, 0.28); border-radius: 14px; background: #fff; color: var(--encre);
  font: 400 1.0625rem/1.4 var(--police-texte); -webkit-appearance: none; appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.champ textarea { resize: vertical; min-height: 116px; }
.champ input { min-height: 52px; }
.champ input::-webkit-date-and-time-value { text-align: left; }
.champ select { min-height: 52px; padding-right: 46px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2315114d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px 20px no-repeat; }
.champ__aide { font-size: 0.9375rem; color: rgba(20, 16, 22, 0.72); margin-top: -3px; }
.champ input:focus-visible, .champ textarea:focus-visible, .champ select:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; border-color: var(--encre); border-radius: 14px; }
.champ.est-invalide input, .champ.est-invalide textarea, .champ.est-invalide select { border-color: #b3123f; }
.champ__erreur { color: #a60f39; font-size: 0.9375rem; font-weight: 600; }
/* ---------- Calendrier de réservation (demande du club, 22/11/2026) ----------
   Seuls les jours d'ouverture se choisissent (teintés de violet) ; les autres sont grisés ; les soirées Club 21
   ont un liseré rouge et leur mention, les évènements un liseré violet et le nom de l'artiste (24/11/2026) ou
   « Nouvel An » (25/11/2026) ; le jour choisi passe en rose. */
.champ--calendrier .formulaire__note { margin-top: 0; }
.calendrier { margin-top: 6px; padding: clamp(10px, 1.8vw, 16px); border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 16, 22, 0.16); }
.calendrier.est-invalide { box-shadow: inset 0 0 0 2px #b3123f; }
.calendrier__tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.calendrier__mois { font-family: var(--police-titre); font-weight: 800; font-stretch: 118%; font-size: 1.0625rem; line-height: 1.1; text-transform: capitalize; text-align: center; }
.calendrier__nav { width: 44px; height: 44px; background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px rgba(20, 16, 22, 0.24); }
@media (hover: hover) and (pointer: fine) { .calendrier__nav:not([disabled]):hover { background: rgba(166, 82, 154, 0.12); } }
.calendrier__grille { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.calendrier__grille th { padding: 4px 0 6px; font-size: 0.75rem; font-weight: 600; color: rgba(20, 16, 22, 0.66); text-transform: capitalize; }
.calendrier__grille td { padding: 0; text-align: center; vertical-align: middle; }
.jour {
  width: 100%; min-height: 46px; display: grid; place-items: center; align-content: center; gap: 2px; padding: 4px 0; border: 0; border-radius: 12px;
  font-family: var(--police-titre); font-weight: 700; font-stretch: 110%; font-size: 0.9375rem; line-height: 1; color: var(--encre); background: transparent;
}
.jour--ferme { color: #77707d; font-weight: 500; }
.jour--ouvert { background: rgba(166, 82, 154, 0.13); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 160ms ease, transform 120ms var(--ease-out); }
.jour--ouvert:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .jour--ouvert:hover { background: rgba(166, 82, 154, 0.26); } }
.jour--club21 { box-shadow: inset 0 0 0 1.5px rgba(176, 0, 15, 0.6); }
.jour--evenement { box-shadow: inset 0 0 0 1.5px var(--violet); }
.jour--annonce { gap: 1px; }
/* La mention : « Club 21 » ou l'artiste (son nom court sur téléphone, où la case est étroite) */
.jour--annonce::after { content: attr(data-court); max-width: 100%; font-family: var(--police-texte); font-weight: 700; font-stretch: 100%; font-size: 0.5625rem; line-height: 1.05; letter-spacing: 0.01em; text-align: center; text-wrap: balance; }
.jour--club21::after { color: #b0000f; white-space: nowrap; }
.jour--evenement::after { color: #6d2a64; }
.jour[aria-pressed="true"] { background: var(--rose); color: var(--nuit); box-shadow: none; }
.jour[aria-pressed="true"]::after { color: var(--nuit); }
.jour:focus-visible { outline: 3px solid var(--encre); outline-offset: 1px; }
.calendrier__choix { min-height: 1.4em; margin-top: 10px; font-size: 0.9375rem; line-height: 1.4; }
.calendrier__choix-libelle { color: rgba(20, 16, 22, 0.72); }
/* d'un bloc : « Nouvel An » ou le nom de l'artiste ne se coupe pas en fin de ligne */
.calendrier__choix-club21, .calendrier__choix-evenement { display: inline-block; font-weight: 700; color: #b0000f; }
.calendrier__choix-evenement { color: #6d2a64; }
.calendrier__legende { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: 0.8125rem; color: rgba(20, 16, 22, 0.72); }
.calendrier__repere { display: inline-flex; align-items: center; gap: 7px; }
.calendrier__puce { width: 14px; height: 14px; border-radius: 4px; }
.calendrier__puce--ouvert { background: rgba(166, 82, 154, 0.13); box-shadow: inset 0 0 0 1px rgba(166, 82, 154, 0.35); }
.calendrier__puce--club21 { box-shadow: inset 0 0 0 1.5px rgba(176, 0, 15, 0.6); }
.calendrier__puce--evenement { box-shadow: inset 0 0 0 1.5px var(--violet); }
@media (min-width: 600px) { .jour--annonce::after { content: attr(data-mention); font-size: 0.6875rem; line-height: 1.1; } .jour { min-height: 56px; } }
@media (max-width: 380px) { .calendrier__grille { border-spacing: 2px; } .jour { min-height: 42px; font-size: 0.875rem; } .jour--annonce::after { font-size: 0.5rem; } }
.formulaire__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 4px; }
.formulaire__confidentialite { font-size: 0.9375rem; font-weight: 600; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.formulaire__etat { font-weight: 600; line-height: 1.4; }
.formulaire__etat:empty { display: none; }
.formulaire__etat { padding: 14px 16px; border-radius: 14px; background: rgba(20, 16, 22, 0.07); }
.formulaire__etat[data-etat="ok"] { background: #dff5e3; color: #0f4d22; }
.formulaire__etat[data-etat="erreur"] { background: #fde3ea; color: #7d0b2b; }
.formulaire__etat a { font-weight: 700; }
.formulaire__bas .ico--whatsapp { width: 1.35em; height: 1.35em; }
@media (max-width: 900px) {
  .contact__grille { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fiche__ligne { grid-template-columns: 1fr; gap: 2px; }
  .fiche dt { padding-top: 0; }
  .formulaire__duo { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Pied de page — retour dans la nuit
   ========================================================================== */
.pied { position: relative; isolation: isolate; overflow: clip; background: var(--nuit); color: #fff; padding-block: clamp(64px, 9vw, 128px) max(28px, env(safe-area-inset-bottom), calc(var(--place-badge, 0px) + 18px)); }
.pied > .enveloppe { position: relative; z-index: 1; }
.pied__haut { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: center; }
.pied__cocorico { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 48px); }
.pied__coq { flex: none; width: clamp(96px, 12vw, 168px); border-radius: 50%; transition: transform 300ms var(--ease-out); }
.pied__coq img { border-radius: 50%; }
@media (hover: hover) and (pointer: fine) { .pied__coq:hover { transform: rotate(-6deg) scale(1.03); } }
.pied__titre { font-family: var(--police-titre); font-weight: 800; font-stretch: 126%; font-size: clamp(1.5rem, 3.3vw, 3.1rem); line-height: 1; letter-spacing: -0.022em; max-width: 17em; margin-bottom: clamp(16px, 2.4vw, 28px); text-wrap: balance; }
.pied__tele { width: clamp(88px, 10vw, 150px); }
.pied__bas { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 110px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.pied__marque img { width: clamp(84px, 8vw, 116px); }
.pied__liens, .pied__legal { display: flex; flex-wrap: wrap; gap: 4px clamp(16px, 2.4vw, 32px); }
.pied__liens a, .pied__legal a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.pied__legal a { font-weight: 400; color: rgba(255, 255, 255, 0.82); }
@media (hover: hover) and (pointer: fine) { .pied__liens a:hover, .pied__legal a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.pied__credits { grid-column: 1 / -1; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
/* Un bouton par Cocorico (Val d'Isère, Tignes), demande du club du 22/11/2026 */
.pied__boutons { display: flex; flex-wrap: wrap; gap: 10px; }
/* « Réservé aux plus de 18 ans », avec une pastille 18+ cerclée de rose */
.pied__majorite { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.9375rem; }
.pied__18 { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--rose); font-family: var(--police-titre); font-weight: 800; font-stretch: 112%; font-size: 0.8125rem; letter-spacing: -0.01em; }
@media (max-width: 860px) {
  .pied__haut { grid-template-columns: 1fr; }
  .pied__cocorico { flex-direction: column; align-items: flex-start; }
  .pied__tele { justify-self: start; }
  .pied__bas { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Fenêtres (réservation VIP, navette)
   ========================================================================== */
.fenetre {
  width: min(560px, calc(100vw - 32px)); padding: clamp(28px, 5vw, 52px); border: 0; border-radius: var(--r-l);
  background: var(--braise-2); color: var(--clair); overscroll-behavior: contain;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 120px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: scale(0.96);
  transition: opacity 200ms ease, transform 200ms var(--ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete;
}
.fenetre[open] { opacity: 1; transform: none; transition: opacity 280ms ease, transform 320ms var(--ease-out), overlay 320ms allow-discrete, display 320ms allow-discrete; }
@starting-style { .fenetre[open] { opacity: 0; transform: scale(0.96); } }
.fenetre::backdrop { background: rgba(8, 6, 10, 0); transition: background-color 280ms ease, overlay 280ms allow-discrete, display 280ms allow-discrete; }
.fenetre[open]::backdrop { background: rgba(8, 6, 10, 0.66); }
@starting-style { .fenetre[open]::backdrop { background: rgba(8, 6, 10, 0); } }
.fenetre__fermer { position: absolute; top: 14px; right: 14px; }
.fenetre__titre { font-family: var(--police-titre); font-weight: 800; font-stretch: 128%; font-size: clamp(1.55rem, 4.6vw, 2.25rem); line-height: 1.02; letter-spacing: -0.022em; padding-right: 52px; text-wrap: balance; }

.fenetre--rose .fenetre__titre { color: var(--rose); }
.fenetre__texte { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; color: var(--clair-doux); }
.fenetre__texte .ico { color: var(--rose); }
.fenetre__liens { display: grid; gap: 8px; margin-top: clamp(20px, 3.6vw, 30px); }
.grand-lien { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 10px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); text-decoration: none; font-family: var(--police-titre); font-weight: 700; font-stretch: 116%; font-size: clamp(1.1rem, 4.2vw, 1.55rem); line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; transition: background-color 180ms ease, transform 160ms var(--ease-out); }
.grand-lien .ico { color: var(--rose); }
.grand-lien .ico--whatsapp { color: var(--rose); }
.grand-lien--discret { min-height: 52px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); font-family: var(--police-texte); font-weight: 600; font-size: 1rem; }
.grand-lien:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .grand-lien:hover { background: rgba(255, 255, 255, 0.14); } }
@media (max-width: 560px) {
  .fenetre { width: 100vw; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; padding-bottom: max(28px, env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1; transition: transform 240ms var(--ease-tiroir), overlay 240ms allow-discrete, display 240ms allow-discrete; }
  .fenetre[open] { transform: none; transition: transform 420ms var(--ease-tiroir), overlay 420ms allow-discrete, display 420ms allow-discrete; }
  @starting-style { .fenetre[open] { transform: translateY(100%); opacity: 1; } }
}

/* ==========================================================================
   Visionneuse (photos et affiches agrandies)
   ========================================================================== */
.visionneuse {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 8, 12, 0.96); color: #fff; overflow: hidden; overscroll-behavior: contain;
  opacity: 0; transition: opacity 220ms ease, overlay 220ms allow-discrete, display 220ms allow-discrete;
}
.visionneuse[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; align-items: center; opacity: 1; }
@starting-style { .visionneuse[open] { opacity: 0; } }
.visionneuse::backdrop { background: rgba(10, 8, 12, 0.96); }
.visionneuse__barre { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(14px, 2.4vw, 28px) 6px; }
.visionneuse__compteur { font-family: var(--police-titre); font-weight: 600; font-stretch: 118%; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.visionneuse__nav { margin: 0 clamp(8px, 2vw, 28px); }
.visionneuse__cadre { grid-column: 2; grid-row: 2; width: 100%; height: 100%; display: grid; place-items: center; min-height: 0; touch-action: pan-y pinch-zoom; }
.visionneuse__image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.visionneuse__legende { grid-column: 1 / -1; min-height: 52px; padding: 10px 24px max(16px, env(safe-area-inset-bottom)); text-align: center; font-weight: 600; }
@media (max-width: 720px) {
  .visionneuse[open] { grid-template-columns: minmax(0, 1fr); }
  .visionneuse__cadre { grid-column: 1; padding-inline: 8px; }
  .visionneuse__nav { position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 2; }
  .visionneuse__nav--prec { left: 8px; }
  .visionneuse__nav--suiv { right: 8px; }
  .visionneuse__legende { padding-inline: 76px; min-height: 76px; display: grid; place-items: center; }
}

/* ==========================================================================
   Pages de texte (mentions légales, confidentialité, message envoyé, 404)
   ========================================================================== */
.page-claire { background: var(--neige); }
.legal { background: var(--neige); color: var(--encre); padding: calc(var(--entete-h) + clamp(40px, 7vw, 96px)) 0 clamp(72px, 10vw, 140px); --focus: var(--encre); }
.legal__corps { max-width: 46rem; }
/* 8,2vw : le mot le plus long (« confidentialité ») tient sur une ligne jusqu'aux téléphones de 320 px. */
.legal h1 { font-family: var(--police-titre); font-weight: 800; font-stretch: 130%; font-size: clamp(1.6rem, 8.2vw, 4.2rem); line-height: 0.95; letter-spacing: -0.025em; margin-bottom: 0.5em; text-wrap: balance; overflow-wrap: break-word; }
.legal h2 { font-family: var(--police-titre); font-weight: 700; font-stretch: 122%; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.1; letter-spacing: -0.01em; margin: 2.2em 0 0.6em; }
.legal h2.legal__grand { font-size: clamp(1.1rem, 1.8vw, 1.3rem); letter-spacing: 0.01em; padding-top: 1.6em; border-top: 1.5px solid rgba(20, 16, 22, 0.16); }
.legal h3 { font-weight: 700; font-size: 1.0625rem; margin: 1.6em 0 0.4em; }
.legal p { margin-bottom: 1em; max-width: 68ch; }
.legal a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__site { font-weight: 600; }
.message { position: relative; isolation: isolate; overflow: clip; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--entete-h) + 40px) var(--gouttiere) 80px; background: var(--nuit); color: #fff; }
.message__boite { position: relative; z-index: 1; }
.message__boite { display: grid; gap: 22px; justify-items: center; max-width: 34rem; }
.message h1 { font-family: var(--police-titre); font-weight: 800; font-stretch: 132%; font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 0.95; letter-spacing: -0.025em; text-wrap: balance; }
.message p { color: rgba(255, 255, 255, 0.82); font-size: 1.125rem; }
.message__tele { width: clamp(120px, 22vw, 190px); }

/* ---------- Préférences du visiteur ---------- */
/* « Réduire les animations » (réglage du téléphone, de la tablette ou de l'ordinateur) : depuis le 22/11/2026, à la
   demande du club, les animations jouent quand même, partout, mais en plus doux (classe « doux » posée par le script
   de l'en-tête) : apparitions en fondu sans glissement, bandeau et sol de la Club 21 plus lents, lumières plus lentes
   (script), fenêtres qui apparaissent en fondu. Le bandeau garde son bouton pause. */
html.doux.anim.revele-pret [data-revele]:not(.est-vu) { transform: none; }
html.doux .bandeau__piste { animation-duration: calc(var(--duree, 90s) * 1.5); }
html.doux.anim .club21__sol::before { animation-duration: 6s; }
html.doux.anim .ouverture__signature { animation-name: fondu; }
html.doux .fenetre, html.doux .fenetre[open] { transform: none; transition: opacity 160ms ease, overlay 160ms allow-discrete, display 160ms allow-discrete; }
html.doux .menu, html.doux .menu[open] { clip-path: none; transition: opacity 160ms ease, overlay 160ms allow-discrete, display 160ms allow-discrete; }
@media (prefers-reduced-transparency: reduce) {
  .entete.est-flottante .entete__barre { background: #1f0e12; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --clair-doux: #fff; }
  .entete.est-flottante .entete__barre { background: #150a0c; box-shadow: inset 0 0 0 2px #fff; }
  .rond { background: #000; box-shadow: inset 0 0 0 2px #fff; }
}
@media print {
  .entete, .menu, .fenetre, .visionneuse, .rond, .bandeau__photo[aria-hidden="true"] { display: none !important; }
  .bandeau__piste { animation: none !important; flex-wrap: wrap; width: auto; }
  [data-revele] { opacity: 1 !important; transform: none !important; }
}
