/* ============================================================
   evenement.html — la page d'une fête.
   Réorganisée le 29 septembre 2026, à la demande du client, d'après la
   page d'un événement DICE, dans la charte La Bringue :
   - ordinateur : deux colonnes. À gauche l'affiche (ou le carré de la
     couleur de l'organisateur), qui reste à l'écran au défilement ; à
     droite, dans l'ordre de lecture : le titre, la date, le lieu, les
     portes et l'âge, la barre d'achat, À propos, Où, et l'encadré de
     l'organisateur. Une fête passée montre ses contenus sous le titre ;
   - sous 900 px : une seule colonne dans le même ordre, l'affiche en
     tête, la barre d'achat collée en bas de l'écran (style.css).
   Une seule zone de tarifs et d'achat : la barre. L'ancienne liste des
   tarifs du bas de page et son second bouton ont été retirés, et la
   section « Infos pratiques » aussi : tout ce qu'elle disait est dans
   la tête de la page (voir evenement.html, « une fois chacun »).

   Page bleue avec la teinte de la fête (style.css, « La couleur de la
   fête ») : tout texte hors surface s'écrit en --ink ou --ink-soft, qui
   valent le papier ici. Pire cas mesuré sur le haut du dégradé : 7,74.
   Aucune opacité sur un texte : elle ferait tomber ces mesures. Dans la
   barre (surface papier), --ink-mute vaut le bleu doux : 10,29.
   ============================================================ */

/* --- La mise en page (maquettes du 25 octobre 2026) ---
   Ordinateur : trois colonnes. À gauche (420 px) l'affiche en 4:5 et la
   carte de l'organisateur ; au centre, sous le statut et le titre, les
   infos pratiques, les détails et « Signaler » ; à droite (380 px) le bloc
   Billets. Téléphone : une colonne, dans l'ordre de la maquette (affiche,
   titre, infos, billets, détails, organisateur, signaler) : les colonnes
   s'ouvrent (display:contents) et chaque bloc prend son rang (order). */
.ev section{padding-block:0}
.ev-haut{display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:28px}
.ev-haut .fil{padding:0; font-size:16px; color:var(--lb-papier)}
.ev-haut .fil a{display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0; margin:0; font-weight:700; text-decoration:none}
.ev-haut .fil a:hover{text-decoration:underline}
.ev-haut .fil svg{flex:none}
.ev-haut .partage{display:flex; flex-direction:column; align-items:flex-end}
.ev-haut .partage > .btn{min-height:42px; font-size:12px}
.ev{
  display:grid; grid-template-columns:420px minmax(0,1fr); gap:48px; align-items:start;
  max-width:1200px; padding:22px 32px 64px;
}
.ev-gauche{display:flex; flex-direction:column; gap:20px; min-width:0}
/* Sur ordinateur, l'affiche et la carte de l'organisateur restent à
   l'écran pendant que la colonne de droite défile (demande du client du
   25 novembre 2026). --ev-tete : la hauteur de l'en-tête collant (79 px
   mesurés ; 76 par défaut). Sur un écran bas, l'affiche rétrécit pour que la colonne
   tienne entière. */
@media (min-width:901px){
  .ev-gauche{position:sticky; top:calc(var(--ev-tete, 76px) + 20px)}
  .ev-affiche .visuel{width:min(100%, calc((100vh - var(--ev-tete, 76px) - 250px) * .8)); min-width:200px; margin-inline:auto}
}
.ev-info{display:flex; flex-direction:column; gap:22px; min-width:0}
.ev-colonnes{display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:32px; align-items:start}
.ev-lire{display:flex; flex-direction:column; gap:24px; min-width:0}
.ev-achat{display:flex; flex-direction:column; gap:16px; min-width:0}
.ev-achat > [hidden]{display:none}

/* --- L'affiche : 4:5, bord papier ; sans affiche, la couleur de
   l'organisateur. --- */
.ev-affiche .visuel{aspect-ratio:4/5; border-radius:14px; border:3px solid var(--lb-papier); overflow:hidden}
.ev-affiche .visuel img{width:100%; height:100%; object-fit:cover; display:block}

/* --- Le statut et le titre --- */
.ev-entete{display:flex; flex-direction:column; align-items:flex-start; gap:10px}
.ev-entete #pastille:empty{display:none}
.ev-info h1{font-size:48px; line-height:1.02; color:var(--lb-papier); text-shadow:4px 4px 0 var(--lb-rouge); overflow-wrap:break-word}
.puce-statut{
  display:inline-flex; align-items:center; padding:5px 11px; border-radius:999px;
  font-size:13px; font-weight:700; background:var(--lb-papier); color:var(--lb-bleu);
}
/* Papier sur rouge : 4,1. */
.puce-statut--vif{background:var(--lb-rouge); color:var(--lb-papier)}

/* --- Les infos pratiques : une ligne par information, son icône dans un
   carré jaune (bleu sur jaune : 7,08), l'étiquette en petites capitales
   (Martian Mono), la valeur en Archivo gras. --- */
/* 26 novembre 2026 (carte blanche du client) : la date est une feuille de
   calendrier, penchée, à gauche ; à droite, l'heure puis le lieu, sans
   étiquette visible (elles restent lues). La ligne « Date » n'est montrée
   que si la date a changé après des ventes : sinon la feuille la dit déjà. */
.ev-infos{display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:18px; row-gap:10px; align-items:start;
  padding-bottom:20px; border-bottom:1px solid rgba(251,243,223,.2)}
.ev-feuille{grid-column:1; grid-row:1 / span 3; width:84px; display:flex; flex-direction:column; align-items:center;
  background:var(--lb-papier); color:var(--lb-bleu); border-radius:10px; overflow:hidden; rotate:-3deg;
  box-shadow:0 5px 0 var(--lb-rouge); text-align:center}
.ev-feuille:empty{display:none}
.ev-feuille__mois{align-self:stretch; padding:5px 4px 4px; background:var(--lb-jaune);
  font-family:var(--info); font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase}
.ev-feuille__jour{font-family:var(--titre); font-size:38px; line-height:1; padding-top:7px}
.ev-feuille__bas{padding:3px 4px 8px; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap}
.ev-infos__ligne{grid-column:2; display:flex; gap:10px; align-items:flex-start; min-width:0}
.ev-infos__icone{flex:0 0 22px; width:22px; height:24px; display:grid; place-items:center}
.ev-infos__icone svg{fill:none; stroke:var(--lb-jaune); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
.ev-infos__texte{flex:1; min-width:0}
.ev-infos__lbl, .ev-infos:not(.ev-infos--datechange) .ev-infos__ligne--date{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.ev-infos__val{font-size:18px; font-weight:700; line-height:1.3; color:var(--lb-papier)}
.ev-infos__adresse{margin-top:2px; font-size:14px; color:var(--brume)}
.ev-infos .lieu-liens{margin-top:10px; gap:10px}
.lieu-itineraire.btn{min-height:44px; font-size:12px; padding:0 14px}
/* Date ou lieu changés : le mot en jaune gras (7,08 sur le bleu),
   l'ancienne valeur en --brume. Jamais de rouge. */
.ev-change{font-weight:800; color:var(--lb-jaune)}
.ev-avant{font-weight:500; color:var(--brume)}

/* --- Détails --- */
.ev-sec > h2{font-size:20px; line-height:1.1; margin-bottom:10px; color:var(--lb-papier)}
/* pre-line : les paragraphes saisis par l'organisateur restent des paragraphes. */
.ev-texte{font-size:16px; line-height:1.55; color:#E4E7FA; max-width:62ch; white-space:pre-line}
.ev-texte b{color:var(--lb-papier)}
.ev-texte + .ev-texte, .ev-faits:not([hidden]){margin-top:10px}
.ev-faits[hidden]{display:none}
.ev-sec .lieu-carte{margin-top:14px}
.ev-sec .lieu-carte:empty{display:none}
.ev-encart{padding:16px 18px}

/* --- Partager : le menu de repli (WhatsApp, « Copier le lien »), dans
   le flux, sous le bouton. --- */
.ev-partage[hidden]{display:none}
.partage-menu{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px}
.partage-menu[hidden]{display:none}
.partage-etat{flex-basis:100%; font-size:14px; color:var(--ink-soft)}
.partage-etat:empty{display:none}
.partage-champ{flex:1 1 100%; min-width:0; font:inherit; font-size:14px; padding:8px 10px;
  border:2px solid var(--lb-bleu); border-radius:var(--r-touche); background:var(--lb-papier); color:var(--lb-bleu)}

/* --- Le bloc Billets : une carte papier, bord bleu, ombre rouge. --- */
.ev .barre-achat{
  margin:0; padding:18px 18px 16px; gap:0;
  border:3px solid var(--lb-bleu); border-radius:12px; box-shadow:0 5px 0 var(--lb-rouge);
}
.barre-tete{display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.barre-tete h2{font-size:20px; line-height:1.1}
.barre-appel{font-size:14px; font-weight:700}
.barre-detail[hidden], .barre-note[hidden], .barre-places[hidden]{display:none}
.ev .barre-ligne{display:flex; flex-direction:column; align-items:stretch; gap:0}
.tarifs-lignes{display:flex; flex-direction:column}
.tarif-ligne{display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #E3D6B4}
.tarif-info{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px}
.tarif-info b{font-size:16px; font-weight:800}
.ligne-prix{font-size:14px; font-weight:700}
.tarif-desc{font-size:13px; color:var(--lb-bleu-doux)}
.ev .compteur-tarif{gap:10px}
.ev .compteur-tarif button{
  width:44px; height:44px; padding:0; border:2.5px solid var(--lb-bleu); border-radius:8px; box-shadow:none;
  background:var(--lb-jaune); color:var(--lb-bleu); font-family:var(--titre); font-size:20px; line-height:1; cursor:pointer;
}
.ev .compteur-tarif button:first-child{background:var(--lb-papier)}
.ev .compteur-tarif button[disabled]{opacity:.35; box-shadow:none}
.ev .compteur-tarif output{width:22px; text-align:center; font-family:var(--titre); font-weight:400; font-size:18px; letter-spacing:0}
.tarif-ligne:last-child{border-bottom:0}
.barre-total{display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:2px; padding-top:14px; border-top:2px dashed var(--lb-bleu); font-size:16px; color:var(--lb-bleu)}
.barre-total__quoi{font-weight:700}
.barre-total__prix{font-family:var(--titre); font-weight:400; font-size:22px; white-space:nowrap}
/* Le bouton jaune « Acheter » (.btn--jaune, style.css) : actif dès qu'un
   billet est choisi. Inactif, il garde sa forme, à moitié éteint. */
.ev .barre-ligne .btn{width:100%; margin-top:12px}
.barre-places{margin-top:14px}
.barre-jauge{height:8px; border-radius:4px; background:#E3D6B4; overflow:hidden}
.barre-jauge span{display:block; height:100%; width:0; background:var(--lb-rouge)}
.barre-note{margin-top:6px; font-size:13px; color:var(--lb-bleu-doux)}
.barre-complet{margin-top:12px}

/* --- La carte de l'organisateur --- */
.ev-orga{
  display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:16px;
  background:var(--lb-papier); color:var(--lb-bleu);
  border:3px solid var(--lb-bleu); border-radius:12px; box-shadow:0 5px 0 var(--lb-rouge);
  --ink:var(--lb-bleu); --ink-soft:var(--lb-bleu-doux); --ink-mute:var(--lb-bleu-doux); --line:var(--lb-bleu); --line-fort:var(--lb-bleu);
}
/* « .ev section{padding-block:0} » l'emporte sur la classe seule : sans
   cette ligne, le texte touchait le bord haut et bas de la carte. */
.ev .ev-orga{padding-block:16px}
.ev-orga .orga-lien{flex:1 1 200px; padding:0; gap:14px}
.ev-orga .initiales{width:56px; height:56px; flex:none; border-radius:50%; border:3px solid var(--lb-bleu); font-size:20px}
.ev-orga__texte{display:flex; flex-direction:column; min-width:0}
.ev-orga__lbl{font-family:var(--info); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--lb-bleu-doux)}
.ev-orga b{margin-top:3px; font-family:var(--titre); font-weight:400; font-size:17px; text-transform:uppercase}
.ev-orga small{margin-top:2px; font-size:13px; color:var(--lb-bleu-doux)}
.ev-orga small[hidden]{display:none}
.ev-orga .abo{flex:1 0 100%; padding:0}
.ev-orga .abo-bouton{flex:1; min-height:44px; --bg:var(--lb-bleu); --fg:var(--lb-papier)}
.ev-orga .abo-bouton.btn--contour{--bg:transparent; --fg:var(--lb-bleu); --bord:var(--lb-bleu)}
.ev-orga .abo-statut-boite{flex-basis:100%}
.ev-orga .abo-statut-boite:empty{display:none}
/* La photo de l'organisateur : ronde. */
.initiales--photo{border-radius:50%; overflow:hidden}
.initiales--photo img{width:100%; height:100%; object-fit:cover; display:block}
/* Une story en ligne : anneau jaune (cerné de bleu, le jaune sur le
   papier ne se verrait pas : 1,50), séparé de la photo par un liseré
   papier. */
.initiales--story{border-radius:50%; box-shadow:0 0 0 2px var(--lb-papier), 0 0 0 5px var(--lb-jaune), 0 0 0 7px var(--lb-bleu); margin:7px}
.initiales--story.initiales--vue{box-shadow:0 0 0 2px var(--lb-papier), 0 0 0 4px var(--lb-bleu-doux)}
.orga-story{flex:none; display:grid; place-items:center; padding:0; margin:0; border:0; background:none;
  cursor:pointer; color:inherit; touch-action:manipulation; -webkit-touch-callout:none; border-radius:50%}
.orga-story:focus-visible{outline:3px solid var(--lb-bleu); outline-offset:2px}

/* --- Signaler : un petit lien discret --- */
.signaler{margin:0; font-size:13px}
.signaler a{display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--brume); text-decoration:none}
.signaler a:hover{text-decoration:underline}

/* --- Ce qu'il s'est passé : les ronds « à la une » (visionneuse.css). --- */
.ev-alaune .alaune-rang{margin-inline:-6px}
.ev-alaune .alaune-plus .alaune-cercle{background:transparent; border:2px solid color-mix(in srgb, var(--lb-papier) 55%, transparent); box-shadow:none}
.ev-alaune .alaune-plus:hover .alaune-cercle{border-color:var(--lb-papier); box-shadow:none}
.ev-alaune .alaune-plus:focus-visible .alaune-cercle{border-color:var(--lb-jaune); box-shadow:0 0 0 3px var(--lb-jaune)}
.ev-alaune .alaune-signe{font-family:var(--titre); font-size:34px; line-height:1; color:var(--lb-papier)}
.ev-alaune .alaune-ajout[hidden]{display:none}

/* Une fête passée sans contenus : une ligne à la place des billets. */
.ev-passee{font-size:17px; color:var(--lb-papier)}
.ev-passee span{font-weight:800}
.ev-passee a{color:var(--lb-papier); text-decoration:underline; display:inline-block; min-height:44px; padding-block:10px}

/* --- La barre de l'organisateur, sur sa propre fête --- */
.barre-orga-titre{font-family:var(--titre); font-size:13px; text-transform:uppercase; letter-spacing:.02em; color:var(--ink-mute); margin:0 0 10px}
.barre-orga-actions{display:flex; flex-wrap:wrap; gap:8px}
.barre-orga-actions > .btn, .barre-orga-actions > .partage > .btn{flex:1 1 auto; text-align:center; white-space:nowrap}
.barre-orga-actions > .partage{display:contents}
.barre-orga-actions .partage-menu{flex-basis:100%; margin-top:0; order:9}

/* --- La confirmation, à la place du bloc Billets --- */
.ev-merci{padding:8px 0; scroll-margin-top:124px}
.ev-merci h2{font-size:26px}
.ev-merci .billet-final{margin-top:20px}
.ev-merci .merci-actions{display:flex; gap:14px; flex-wrap:wrap; justify-content:center}
.ev-merci .merci-actions .btn{flex:1 1 100%}

/* Le retour de Wave : une ligne, une petite roue qui tourne. */
.ev-confirmation{display:flex; align-items:center; gap:12px; font-size:16px; font-weight:700}
.ev-roue{flex:none; width:20px; height:20px; border-radius:50%;
  border:3px solid currentColor; border-right-color:transparent; animation:ev-roue .9s linear infinite}
.ev-confirmation[hidden]{display:none}
@keyframes ev-roue{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){ .ev-roue{animation:none} }

/* Entre 901 et 1180 px, les billets passent sous les infos. */
@media (min-width:901px) and (max-width:1180px){
  .ev{grid-template-columns:340px minmax(0,1fr); gap:32px}
  .ev-colonnes{grid-template-columns:minmax(0,1fr)}
}

/* --- Sous 900 px : une colonne --- */
@media (max-width:900px){
  .ev-haut{padding-top:0}
  .ev-haut .fil, .ev-haut .partage > .btn{display:none}
  .ev-haut:not(:has(.partage-menu:not([hidden]))){display:none}
  .ev{display:flex; flex-direction:column; gap:20px; padding:18px 18px 28px}
  .ev-gauche, .ev-info, .ev-colonnes, .ev-lire{display:contents}
  .ev-affiche{order:1}
  .ev-affiche--sans{display:none}
  .ev-entete{order:2}
  .ev-infos{order:3}
  .ev-achat{order:4}
  .ev-sec#secDetails{order:5}
  .ev-orga{order:6}
  .signaler{order:7}
  .ev-info h1{font-size:34px}
  /* Un titre fait d'un seul mot très long ne doit pas élargir la page :
     chaque bloc est plafonné à la colonne. */
  .ev > *, .ev-info > *{max-width:100%}
  .ev :is(.ev-affiche, .ev-entete, .ev-infos, .ev-achat, .ev-sec, .ev-orga, .signaler){max-width:100%; min-width:0}
  .ev-merci .lb-mascotte--merci{width:72px}
}
/* --- La vitrine : cette page dans le téléphone du décor de l'accueil ---
   (evenement.html?vitrine=1, voir « La vitrine » dans evenement.html).
   Rien n'y change de la page, sauf deux choses qu'un téléphone n'a pas :
   la barre de défilement, retirée, et le rond qui marque un geste,
   puisqu'aucun doigt ne touche l'écran. Le rond est bleu, cerné de
   papier : il se lit sur le papier de la barre et du panneau comme sur
   le bleu de la page. Il ne porte aucun texte. */
html.vitrine{scrollbar-width:none}
html.vitrine::-webkit-scrollbar{display:none}
/* Le panneau y est ouvert sans être modal (voir evenement.html) : il
   passe au-dessus de la barre collée, comme le fait un dialogue modal. */
html.vitrine .resa-panneau{z-index:100}
/* L'affiche de la vitrine se montre entière, à sa proportion naturelle :
   ni la borne de 4:5 du cadre ni object-fit:cover ne la rognent (demande
   du client du 2 octobre 2026). Ses contacts (deux QR, deux numéros) sont
   recouverts de caches flous posés par evenement.html (MASQUES) ; sans
   backdrop-filter, le cache est plein. */
html.vitrine .ev-affiche .visuel{aspect-ratio:auto; position:relative}
html.vitrine .ev-affiche .visuel img{height:auto}
.vitrine-masque{
  position:absolute; pointer-events:none;
  background:rgba(8,12,40,.55);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .vitrine-masque{background:rgb(8,12,40)}
}
/* Le billet de la vitrine porte l'affiche entière, comme dans l'app : les
   mêmes contacts y sont cachés (les deux QR et la bande du bas), par des
   aplats posés sur un calque de la taille exacte de l'image. */
html.vitrine .bl-affiche::after{
  content:''; position:absolute; top:10px; bottom:10px; left:50%; aspect-ratio:954 / 1280; transform:translateX(-50%);
  pointer-events:none;
  background:
    linear-gradient(rgb(8,12,40), rgb(8,12,40)) 0 95.81% / 21% 16.5% no-repeat,
    linear-gradient(rgb(8,12,40), rgb(8,12,40)) 100% 95.81% / 21% 16.5% no-repeat,
    linear-gradient(rgb(8,12,40), rgb(8,12,40)) 0 100% / 100% 4.5% no-repeat;
}
.vitrine-doigt{
  position:fixed; z-index:200; width:48px; height:48px; margin:-24px 0 0 -24px; border-radius:50%;
  border:3px solid var(--lb-bleu); background:color-mix(in srgb, var(--lb-bleu) 30%, transparent);
  box-shadow:0 0 0 2px var(--lb-papier);
  opacity:0; pointer-events:none;
}
.vitrine-doigt.tape{animation:vitrine-tape .5s ease-out}
@keyframes vitrine-tape{0%{opacity:0; transform:scale(1.7)} 35%{opacity:1; transform:scale(1)} 100%{opacity:0; transform:scale(.85)}}


/* --- La vitrine : la page de paiement (Wave ou Orange Money) ---
   Dessinée par evenement.html, plein écran au-dessus du panneau : fond
   clair, comme la page d'un prestataire de paiement, sans son nom ni son
   logo. Les pastilles de couleur ne portent aucun texte. */
.vitrine-paiement{
  position:fixed; inset:0; z-index:150; overflow:hidden;
  padding:28px 18px; background:#FAFAFA; color:#111; font-family:var(--lb-font-texte, system-ui);
  display:grid; align-content:start; gap:16px;
}
.vitrine-paiement[hidden]{display:none}
.vp-tete, .vp-choix, .vp-ok{background:#fff; border:1px solid #E4E4E7; border-radius:16px; padding:16px; display:grid; gap:8px}
.vp-choix[hidden], .vp-ok[hidden]{display:none}
.vp-titre{margin:0; font-weight:800; font-size:22px}
.vp-quoi{margin:0; font-size:14px; color:#52525B}
.vp-total{display:grid; gap:2px; padding-top:8px; border-top:1px solid #E4E4E7}
.vp-total span{font-size:13px; color:#52525B}
.vp-total b{font-size:26px}
.vp-lib{margin:4px 0 0; font-weight:700; font-size:14px}
.vp-option{display:flex; align-items:center; gap:12px; padding:12px; border:1.5px solid #D4D4D8; border-radius:14px}
.vp-option.choisi{border-color:#111}
.vp-logo{width:36px; height:36px; border-radius:10px; flex:none}
.vp-nom{flex:1; font-weight:700; font-size:15px}
.vp-rond{width:20px; height:20px; border-radius:50%; border:2px solid #A1A1AA}
.vp-option.choisi .vp-rond{border:6px solid #111}
.vp-numero{margin:0; padding:12px; border:1.5px solid #D4D4D8; border-radius:12px; font-size:16px}
.vp-payer{display:block; margin-top:6px; padding:14px; border-radius:12px; background:#0A0A0A; color:#fff; text-align:center; font-weight:700}
.vp-ok{justify-items:center; text-align:center; padding:28px 16px}
.vp-coche{display:grid; place-items:center; width:56px; height:56px; border-radius:50%; background:#ECFDF3; color:#047857; font-size:28px; font-weight:800}

/* ---------- La présentation « à la DICE » (26 novembre 2026) ----------
   Demande du client. Sur ordinateur : deux colonnes au lieu de trois.
   L'affiche à gauche, qui reste à l'écran ; à droite, dans l'ordre, le
   titre, la date et le lieu, les billets, puis les détails sous un
   filet. Sur téléphone : quand la carte des billets sort de l'écran, une
   barre collée en bas rappelle le prix d'appel et y ramène (.ev-collee,
   posée par evenement.html). La carte des billets reste la seule zone
   d'achat : la barre n'achète rien, elle y conduit. */
@media (min-width:901px){
  .ev{grid-template-columns:380px minmax(0,1fr); gap:64px; max-width:1120px}
  .ev-colonnes{display:flex; flex-direction:column; gap:28px}
  .ev-lire{display:contents}
  .ev-infos{order:1}
  .ev-achat{order:2; max-width:600px}
  .ev-sec#secDetails{order:3; padding-top:28px; border-top:1px solid color-mix(in srgb, var(--lb-papier) 24%, transparent)}
  .ev .signaler{order:4}
}
@media (min-width:901px) and (max-width:1180px){
  .ev{grid-template-columns:320px minmax(0,1fr); gap:40px}
}
.ev-collee{
  position:fixed; left:0; right:0; bottom:var(--ev-onglets, 0px); z-index:54;
  display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px;
  background:var(--lb-papier); color:var(--lb-bleu); border-top:3px solid var(--lb-jaune);
  translate:0 130%; visibility:hidden; transition:translate .2s ease, visibility 0s .2s;
}
.ev-collee.vue{translate:0 0; visibility:visible; transition:translate .2s ease}
.ev-collee-txt{display:flex; flex-direction:column; min-width:0; line-height:1.2}
.ev-collee-txt small{font-family:var(--info); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--lb-bleu-doux)}
.ev-collee-txt b{font-family:var(--titre); font-weight:400; font-size:18px; text-transform:uppercase}
.ev-collee .btn{flex:none; min-height:44px; --bg:var(--lb-bleu); --fg:var(--lb-papier)}
@media (prefers-reduced-motion:reduce){ .ev-collee, .ev-collee.vue{transition:none} }

/* --- L'app, en bas de chaque fête (26 novembre 2026) : une carte de
   papier sur toute la largeur de la page, la mascotte « ton billet », ce
   que l'app apporte, et le bouton. Bleu sur papier : 10,60. --- */
.ev-app{padding-block:8px 56px}
.ev-app[hidden]{display:none}
.ev-app-in{
  display:flex; align-items:center; gap:28px; max-width:1056px; padding:26px 30px;
  background:var(--lb-papier); color:var(--lb-bleu);
  border:3px solid var(--lb-jaune); border-radius:12px; box-shadow:0 6px 0 var(--lb-rouge);
}
.ev-app-masc{flex:none; width:84px; height:auto}
.ev-app-txt{flex:1; min-width:0; display:flex; flex-direction:column; gap:12px}
.ev-app-txt h2{margin:0; font-family:var(--titre); font-weight:400; font-size:26px; line-height:1.05; text-transform:uppercase; color:var(--lb-bleu); text-shadow:none}
.ev-app-liste{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 24px; font-size:16px; font-weight:600}
.ev-app-liste li{position:relative; padding-left:22px}
.ev-app-liste li::before{content:""; position:absolute; left:0; top:.42em; width:10px; height:10px; border-radius:50%; background:var(--lb-jaune); border:2px solid var(--lb-bleu)}
.ev-app-in .btn{flex:none; --bg:var(--lb-bleu); --fg:var(--lb-papier)}
@media (max-width:900px){
  .ev-app{padding-block:0 40px}
  .ev-app-in{flex-direction:column; align-items:stretch; gap:18px; margin-inline:18px; padding:22px 18px}
  .ev-app-masc{width:64px; align-self:flex-start}
  .ev-app-txt h2{font-size:22px}
  .ev-app-liste{grid-template-columns:minmax(0,1fr)}
}

/* Sur ordinateur, la barre de rappel est une carte flottante en bas à
   droite : « Billets · dès X », et « Acheter » qui ramène à la carte. */
@media (min-width:901px){
  .ev-collee{left:auto; right:24px; bottom:24px; min-width:320px; padding:12px 14px 12px 18px; gap:24px;
    border:3px solid var(--lb-bleu); border-radius:12px; box-shadow:0 5px 0 var(--lb-rouge)}
}
/* Le fond du haut de page : l'affiche floue et assombrie (au pire, une
   affiche blanche donne un gris à 30 % : papier 7,6 et jaune 5,2 dessus),
   fondue vers le bas dans le bleu de la page. Derrière tout le contenu. */
.ev-fond{position:absolute; top:0; left:0; right:0; height:620px; z-index:-1; overflow:hidden; pointer-events:none;
  -webkit-mask-image:linear-gradient(to bottom, #000 0, #000 35%, transparent 100%);
  mask-image:linear-gradient(to bottom, #000 0, #000 35%, transparent 100%)}
.ev-fond-image{position:absolute; inset:-80px; background-size:cover; background-position:center;
  filter:blur(56px) brightness(.3) saturate(1.4)}
