body{margin:0}
@font-face{font-family:'Radio Canada MP';src:url(/assets/polices/radio-canada-mp-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Radio Canada MP';src:url(/assets/polices/radio-canada-mp-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Radio Canada MP Condensee';src:url(/assets/polices/radio-canada-mp-condensee-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'LS Serif';src:url(/assets/v5/ls-serif.776e6e4f8f.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'LS Pixel';src:url(/assets/v5/ls-pixel.6b5c029df9.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'MP Pinceau';src:url(/assets/v5/pinceau.addcc80ddc.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'MP Secours Benin';src:url(/assets/polices/mp-secours-benin-400.woff2) format('woff2');font-weight:400;unicode-range:U+0181,U+0186,U+0189-018A,U+0190-0191,U+01B2-01B4,U+01B7,U+0253-0254,U+0256-0257,U+025B,U+028B,U+0292,U+0329,U+0330;font-display:swap}
@font-face{font-family:'MP Secours Benin';src:url(/assets/polices/mp-secours-benin-700.woff2) format('woff2');font-weight:700;unicode-range:U+0181,U+0186,U+0189-018A,U+0190-0191,U+01B2-01B4,U+01B7,U+0253-0254,U+0256-0257,U+025B,U+028B,U+0292,U+0329,U+0330;font-display:swap}
@font-face{font-family:'MP Secours Benin Condensee';src:url(/assets/polices/mp-secours-benin-condensee-700.woff2) format('woff2');font-weight:700;unicode-range:U+0181,U+0186,U+0189-018A,U+0190-0191,U+01B2-01B4,U+01B7,U+0253-0254,U+0256-0257,U+025B,U+028B,U+0292,U+0329,U+0330;font-display:swap}

body{margin:0}






/* Miivâ Pass : jetons v3.1 (design/jetons/variables.css) sans les deux blocs « prefers-color-scheme »,
   composants du kit v3 (design/prototypes/billet-v4), compléments v3.1, puis la direction artistique v4. */
/* Miivâ Pass : jetons de design v3.1 en propriétés CSS.
   Couleurs et logo validés par Bachard (D-46, 12/11/2026) ; le reste est proposé. Même contenu que miiva-pass.tokens.json : controle-contraste.mjs vérifie que les deux disent la même chose.
   Deux modes (D-48) : la page suit le réglage de l'appareil (prefers-color-scheme) ; data-mode="clair" ou data-mode="sombre" sur la racine force un mode, choisi par la personne et gardé sur l'appareil.
   Miivâ Pass a ses couleurs (D-40) : bleu foncé, bleu clair soutenu, et le grenat de LIVING SOFTWARES au milieu du symbole.
   Le bleu agit ; la couleur de l'événement habille ; le grenat signe ; le rouge des états dit non.
   data-mode et data-evenement se posent sur la racine de la page. Les composants n'emploient que les rôles, jamais une primitive. */

:root {
  /* polices : un seul endroit. Radio Canada, nommée « Radio Canada MP » (décision du jury A, 12/11/2026, à valider par Bachard).
     Trois styles : 400, 700, condensée 700. Secours Fira Sans pour les lettres du Bénin absentes, par unicode-range.
     Les fichiers et les règles @font-face sont dans design/polices/ (README) ; la page les déclare, ce fichier ne charge rien.
     Graisses servies : 400 et 700 seulement. Mettez font-synthesis: none sur la racine (pas de faux gras). */
  --mp-police-texte: 'Radio Canada MP', 'MP Secours Benin', system-ui, sans-serif;
  --mp-police-titre: 'Radio Canada MP Condensee', 'MP Secours Benin Condensee', 'Radio Canada MP', sans-serif;  --mp-police-chiffres: var(--mp-police-titre);
  --mp-police-code: var(--mp-police-texte); /* en graisse 700, chiffres tabulaires, interlettrage 0,06 em, groupes de quatre signes */
  /* couche 1 : primitives. Le numéro est la clarté OKLCH (0 noir, 100 blanc). « rouge » : l'état refusé seulement ; « grenat » : la marque. */
  --mp-neutre-0: #000000;  --mp-neutre-100: #FFFFFF;
  --mp-bleu-97: #EFF6FE;  --mp-bleu-94: #DFEDFE;  --mp-bleu-62: #3986E4;  --mp-bleu-46: #0056AA;  --mp-bleu-40: #03468B;  --mp-bleu-33: #1C3657;  --mp-bleu-27: #0E2745;  --mp-bleu-23: #0A1E37;  --mp-bleu-19: #061427;  --mp-bleu-54: #106DCE;  --mp-bleu-58: #0278E7;
  --mp-ciel-64: #0395DB;  --mp-ciel-80: #81C9E9;
  --mp-grenat-31: #5A121F;  --mp-grenat-42: #8A1B2E;  --mp-grenat-58: #D13A50;  --mp-grenat-68: #EC6A7A;
  --mp-ardoise-97: #F4F7FB;  --mp-ardoise-92: #DDE3EC;  --mp-ardoise-63: #7D8A9D;  --mp-ardoise-46: #4A5970;  --mp-ardoise-78: #A7B9D1;
  --mp-orange-30: #45240E;  --mp-orange-49: #974600;  --mp-orange-56: #B45700;  --mp-orange-66: #E16C10;  --mp-orange-73: #F8842D;  --mp-orange-86: #FBC49E;  --mp-orange-95: #FEEADB;
  --mp-bordeaux-36: #6E1728;
  --mp-brun-24: #2D1A10;
  --mp-sarcelle-64: #00A2A2;  --mp-sarcelle-65: #07A4A4;
  --mp-prune-44: #84098D;  --mp-prune-56: #AB3DB3;
  --mp-ls-19: #141416;  --mp-ls-95: #F4EFE6;
  --mp-vert-22: #0B1F12;  --mp-vert-79: #3DDC84;
  --mp-rouge-50: #B3261E;
  --mp-ambre-21: #1B1714;  --mp-ambre-78: #F5A300;
  --mp-gris-49: #55616B;
  /* structure */
  --mp-esp-1: 4px;  --mp-esp-2: 8px;  --mp-esp-3: 12px;  --mp-esp-4: 16px;  --mp-esp-5: 24px;  --mp-esp-6: 32px;  --mp-esp-7: 48px;  --mp-esp-8: 64px;  --mp-esp-9: 96px;
  --mp-corps-1: 13px;  --mp-corps-2: 16px;  --mp-corps-3: 20px;  --mp-corps-4: 25px;  --mp-corps-5: 31px;  --mp-corps-6: 39px;  --mp-corps-7: 49px;  --mp-corps-8: 61px;  --mp-corps-9: 76px;  --mp-corps-10: 95px;  --mp-corps-11: 119px;
  --mp-interligne-1: 20px;  --mp-interligne-2: 24px;  --mp-interligne-3: 28px;  --mp-interligne-4: 32px;  --mp-interligne-5: 36px;  --mp-interligne-6: 44px;  --mp-interligne-7: 52px;  --mp-interligne-8: 64px;  --mp-interligne-9: 76px;  --mp-interligne-10: 96px;  --mp-interligne-11: 120px;
  --mp-graisse-regulier: 400;  --mp-graisse-moyen: 600;  --mp-graisse-gras: 700;  --mp-graisse-extra-gras: 800; /* la police ne sert que 400 et 700 : 600 et 800 s'affichent en 700 */
  --mp-chiffres: tabular-nums; /* colonnes de prix et de compteurs seulement */
  --mp-rayon: 8px;
  --mp-ombre-flottant: 0px 1px 2px 0px rgb(10 30 55 / 12%), 0px 4px 12px 0px rgb(10 30 55 / 10%);
  --mp-ombre-feuille: 0px 2px 4px 0px rgb(10 30 55 / 10%), 0px 12px 32px 0px rgb(10 30 55 / 16%);
  --mp-ombre-objet-clair: 0px 1px 1px 0px rgb(10 30 55 / 14%), 0px 3px 6px 0px rgb(10 30 55 / 10%), 0px 14px 24px -6px rgb(10 30 55 / 22%);
  --mp-ombre-objet-sombre: 0px 1px 1px 0px rgb(0 0 0 / 50%), 0px 3px 6px 0px rgb(0 0 0 / 40%), 0px 14px 24px -6px rgb(0 0 0 / 55%);
  --mp-perspective: 900px;  --mp-inclinaison-max: 8;
  --mp-duree-court: 120ms;  --mp-duree-moyen: 240ms;  --mp-duree-long: 480ms;  --mp-duree-verdict: 1000ms;
  --mp-courbe-standard: cubic-bezier(0.2, 0, 0, 1);  --mp-courbe-sortie: cubic-bezier(0.4, 0, 1, 1);  --mp-courbe-tampon: cubic-bezier(0.34, 1.4, 0.64, 1);  --mp-courbe-objet: cubic-bezier(0.16, 1, 0.3, 1);
  --mp-trait-filet: 1px;  --mp-trait-contour: 2px;  --mp-trait-picto: 2px;  --mp-trait-focus: 2px;  --mp-trait-tirets: 4px;
  --mp-cible-minimum: 44px;  --mp-cible-bouton: 52px;  --mp-cible-portail: 56px;
  --mp-corps-verdict-ecran: 8.6vw; /* grand écran : 165 px à 1920 px de large */

  /* hors couches : états et verdicts. Jamais redéfinis ailleurs, ni par un mode, ni par un thème. */
  --mp-etat-accepte: var(--mp-vert-79);  --mp-sur-etat-accepte: var(--mp-vert-22);
  --mp-etat-refuse: var(--mp-rouge-50);  --mp-sur-etat-refuse: var(--mp-neutre-100);
  --mp-etat-a-traiter: var(--mp-ambre-78);  --mp-sur-etat-a-traiter: var(--mp-ambre-21);
  --mp-etat-hors-ligne: var(--mp-gris-49);  --mp-sur-etat-hors-ligne: var(--mp-neutre-100);
  --mp-etat-filet-sombre: var(--mp-ardoise-78);
  --mp-verdict-hachures: var(--mp-ambre-21);  --mp-verdict-tirets: var(--mp-neutre-100);
}

:root, [data-mode="clair"] {
  /* couche 2 : rôles, mode clair, par défaut ; [data-mode="clair"] le force */
  --mp-fond: var(--mp-neutre-100);  --mp-surface: var(--mp-neutre-100);  --mp-surface-2: var(--mp-ardoise-97);  --mp-bordure: var(--mp-ardoise-92);
  --mp-bordure-forte: var(--mp-ardoise-63);  --mp-texte: var(--mp-bleu-23);  --mp-texte-2: var(--mp-ardoise-46);  --mp-action: var(--mp-bleu-46);
  --mp-sur-action: var(--mp-neutre-100);  --mp-action-presse: var(--mp-bleu-40);  --mp-action-doux: var(--mp-bleu-97);  --mp-accent: var(--mp-ciel-64);
  --mp-sur-accent: var(--mp-bleu-23);  --mp-accent-doux: var(--mp-bleu-94);  --mp-accent-texte: var(--mp-bleu-46);  --mp-lien: var(--mp-bleu-46);
  --mp-encre: var(--mp-bleu-23);  --mp-marque: var(--mp-grenat-42);  --mp-marque-aplat: var(--mp-grenat-31);  --mp-sur-marque-aplat: var(--mp-neutre-100);
  --mp-marque-ls: var(--mp-ls-19);
  --mp-voile: rgb(10 30 55 / 48%);
  --mp-focus: var(--mp-lien);
  --mp-ombre-objet: var(--mp-ombre-objet-clair);
  --mp-section-claire-fond: var(--mp-neutre-100);  --mp-section-claire-texte: var(--mp-bleu-23);  --mp-section-nuit-fond: var(--mp-bleu-23);  --mp-section-nuit-texte: var(--mp-bleu-97);  --mp-section-ciel-fond: var(--mp-bleu-97);  --mp-section-ciel-texte: var(--mp-bleu-23);
  /* catégories de données, ordre fixe : en ligne, revendeurs, guichet, invitations */
  --mp-donnee-en-ligne: var(--mp-bleu-54);  --mp-donnee-revendeurs: var(--mp-orange-66);  --mp-donnee-guichet: var(--mp-sarcelle-64);  --mp-donnee-invitations: var(--mp-prune-44);
  /* catégories de billets (Studio), ordre fixe, marques de graphique seulement */
  --mp-categorie-1: var(--mp-ciel-64);  --mp-categorie-2: var(--mp-bleu-46);  --mp-categorie-3: var(--mp-bleu-23);
  color-scheme: light;
}

[data-mode="sombre"] {
  /* couche 2 : rôles, mode sombre, choisi à la main */
  --mp-fond: var(--mp-bleu-19);  --mp-surface: var(--mp-bleu-23);  --mp-surface-2: var(--mp-bleu-27);  --mp-bordure: var(--mp-bleu-33);
  --mp-bordure-forte: var(--mp-ardoise-63);  --mp-texte: var(--mp-bleu-97);  --mp-texte-2: var(--mp-ardoise-78);  --mp-action: var(--mp-ciel-64);
  --mp-sur-action: var(--mp-bleu-23);  --mp-action-presse: var(--mp-ciel-80);  --mp-action-doux: var(--mp-bleu-27);  --mp-accent: var(--mp-ciel-64);
  --mp-sur-accent: var(--mp-bleu-23);  --mp-accent-doux: var(--mp-bleu-27);  --mp-accent-texte: var(--mp-ciel-80);  --mp-lien: var(--mp-ciel-80);
  --mp-encre: var(--mp-bleu-23);  --mp-marque: var(--mp-grenat-58);  --mp-marque-aplat: var(--mp-grenat-31);  --mp-sur-marque-aplat: var(--mp-neutre-100);
  --mp-marque-ls: var(--mp-ls-95);
  --mp-voile: rgb(0 0 0 / 60%);
  --mp-focus: var(--mp-lien);
  --mp-ombre-objet: var(--mp-ombre-objet-sombre);
  --mp-section-claire-fond: var(--mp-bleu-23);  --mp-section-claire-texte: var(--mp-bleu-97);  --mp-section-nuit-fond: var(--mp-bleu-19);  --mp-section-nuit-texte: var(--mp-bleu-97);  --mp-section-ciel-fond: var(--mp-bleu-27);  --mp-section-ciel-texte: var(--mp-bleu-97);
  /* catégories de données, ordre fixe : en ligne, revendeurs, guichet, invitations */
  --mp-donnee-en-ligne: var(--mp-bleu-58);  --mp-donnee-revendeurs: var(--mp-orange-66);  --mp-donnee-guichet: var(--mp-sarcelle-65);  --mp-donnee-invitations: var(--mp-prune-56);
  /* catégories de billets (Studio), ordre fixe, marques de graphique seulement */
  --mp-categorie-1: var(--mp-bleu-62);  --mp-categorie-2: var(--mp-ciel-80);  --mp-categorie-3: var(--mp-bleu-97);
  color-scheme: dark;
}



:root, [data-mode] {
  /* couche 3 : thème d'événement. Par défaut, la base : Miivâ Pass. Redéclaré à chaque changement de mode, pour que var() suive le mode. */
  --mp-evt: var(--mp-action);  --mp-sur-evt: var(--mp-sur-action);  --mp-evt-texte: var(--mp-accent-texte);  --mp-evt-doux: var(--mp-action-doux);
  --mp-evt-2: var(--mp-accent);  --mp-sur-evt-2: var(--mp-encre);  --mp-evt-encre: var(--mp-bleu-23);  --mp-evt-contour: 0;
  /* le billet est du papier : il garde les couleurs du mode clair dans les deux modes */
  --mp-evt-billet: var(--mp-bleu-46);  --mp-sur-evt-billet: var(--mp-neutre-100);  --mp-evt-texte-billet: var(--mp-bleu-46);
  --mp-section-action-fond: var(--mp-evt);  --mp-section-action-texte: var(--mp-sur-evt);
}
@media (prefers-reduced-motion: reduce) {
  :root { --mp-duree-court: 0ms;  --mp-duree-moyen: 0ms;  --mp-duree-long: 0ms; }  /* --mp-duree-verdict reste : ce n'est pas une animation */
}

/* Thèmes des organisateurs du jeu de démonstration (design/donnees/univers.json, organisations[].theme).
   Le serveur sert un bloc de ce genre avec chaque événement. Le billet reste du papier clair : --mp-evt-encre est son texte. */
[data-evenement="festival-sable-et-sons-2027"] { /* Festival Sable et Sons, MIIVA (miiva), mode clair */
  --mp-evt: #B45700;  --mp-sur-evt: #FFFFFF;  --mp-evt-texte: #974600;  --mp-evt-doux: #FEEADB;
  --mp-evt-2: #6E1728;  --mp-sur-evt-2: #FFFFFF;  --mp-evt-encre: #2D1A10;  --mp-evt-billet: #B45700;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #974600;  --mp-evt-contour: 0;
}
[data-mode="sombre"][data-evenement="festival-sable-et-sons-2027"], [data-mode="sombre"] [data-evenement="festival-sable-et-sons-2027"] { /* Festival Sable et Sons, MIIVA (miiva), mode sombre */
  --mp-evt: #F8842D;  --mp-sur-evt: #2D1A10;  --mp-evt-texte: #FBC49E;  --mp-evt-doux: #45240E;
  --mp-evt-2: #FEEADB;  --mp-sur-evt-2: #2D1A10;  --mp-evt-encre: #2D1A10;  --mp-evt-billet: #B45700;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #974600;  --mp-evt-contour: 0;
}
[data-evenement="lagune-electrique-2026"] { /* Lagune Électrique, Collectif Deux Rives (deux_rives), mode clair */
  --mp-evt: #00706B;  --mp-sur-evt: #FFFFFF;  --mp-evt-texte: #00706B;  --mp-evt-doux: #DBF7F4;
  --mp-evt-2: #B5157A;  --mp-sur-evt-2: #FFFFFF;  --mp-evt-encre: #0A1E37;  --mp-evt-billet: #00706B;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #00706B;  --mp-evt-contour: 0;
}
[data-mode="sombre"][data-evenement="lagune-electrique-2026"], [data-mode="sombre"] [data-evenement="lagune-electrique-2026"] { /* Lagune Électrique, Collectif Deux Rives (deux_rives), mode sombre */
  --mp-evt: #1B7C77;  --mp-sur-evt: #FFFFFF;  --mp-evt-texte: #459D97;  --mp-evt-doux: #143432;
  --mp-evt-2: #CA318C;  --mp-sur-evt-2: #FFFFFF;  --mp-evt-encre: #0A1E37;  --mp-evt-billet: #00706B;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #00706B;  --mp-evt-contour: 0;
}
[data-evenement="veillee-des-fromagers-2026"] { /* Veillée des Fromagers, Association Contes du Fromager (fromager), mode clair */
  --mp-evt: #3A6B2A;  --mp-sur-evt: #FFFFFF;  --mp-evt-texte: #3A6B2A;  --mp-evt-doux: #E5F6E0;
  --mp-evt-2: #B8821F;  --mp-sur-evt-2: #0A1E37;  --mp-evt-encre: #0A1E37;  --mp-evt-billet: #3A6B2A;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #3A6B2A;  --mp-evt-contour: 0;
}
[data-mode="sombre"][data-evenement="veillee-des-fromagers-2026"], [data-mode="sombre"] [data-evenement="veillee-des-fromagers-2026"] { /* Veillée des Fromagers, Association Contes du Fromager (fromager), mode sombre */
  --mp-evt: #4B7D3B;  --mp-sur-evt: #FFFFFF;  --mp-evt-texte: #689B59;  --mp-evt-doux: #21341B;
  --mp-evt-2: #B8821F;  --mp-sur-evt-2: #0A1E37;  --mp-evt-encre: #0A1E37;  --mp-evt-billet: #3A6B2A;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #3A6B2A;  --mp-evt-contour: 0;
}
/* @composant base */
.mp { font-family: var(--mp-police-texte); font-synthesis: none; font-size: var(--mp-corps-2); line-height: 1.5; color: var(--mp-texte); background: var(--mp-fond); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.mp *, .mp *::before, .mp *::after { box-sizing: border-box; }
.mp :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
.mp :where(ul, ol) { padding: 0; list-style: none; }
.mp :focus-visible { outline: var(--mp-trait-focus) solid var(--mp-focus); outline-offset: 3px; }
.mp :where(a), .mp-lien { color: var(--mp-lien); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mp-picto { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: butt; stroke-linejoin: miter; }
.mp-picto--16 { width: 16px; height: 16px; } .mp-picto--20 { width: 20px; height: 20px; } .mp-picto--32 { width: 32px; height: 32px; } .mp-picto--48 { width: 48px; height: 48px; }
.mp-chiffre { font-family: var(--mp-police-chiffres); font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.mp-colonne-chiffres { font-variant-numeric: var(--mp-chiffres); }
.mp-legende { font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); color: var(--mp-texte-2); }
/* les deux I : trois rôles seulement (l'onglet ouvert, la poignée du volet, le trait de l'anneau) */
.mp-deux-i { display: inline-block; width: 28px; height: 4px; color: var(--mp-marque); background: linear-gradient(90deg, currentColor 0 12px, transparent 12px 16px, currentColor 16px 28px); }
.mp-section { padding: var(--mp-esp-5) var(--mp-esp-4); }
.mp-section--claire { background: var(--mp-section-claire-fond); color: var(--mp-section-claire-texte); }
.mp-section--nuit { background: var(--mp-section-nuit-fond); color: var(--mp-section-nuit-texte); --mp-sous-objet: var(--mp-section-nuit-fond); }
.mp-section--ciel { background: var(--mp-section-ciel-fond); color: var(--mp-section-ciel-texte); --mp-sous-objet: var(--mp-section-ciel-fond); }
.mp-section--action { background: var(--mp-section-action-fond); color: var(--mp-section-action-texte); --mp-sous-objet: var(--mp-section-action-fond); }
@media (prefers-reduced-motion: reduce) { .mp *, .mp *::before, .mp *::after { animation-duration: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0ms !important; } }

/* @composant boutons
   Le bouton est un billet : un talon carré qui porte le pictogramme de l'action, une perforation, deux encoches en V.
   La forme est dessinée sous le contenu (::before, ::after) ; le repère du clavier, posé sur le bouton, n'est jamais rogné. */
.mp-bouton { --b-fond: var(--mp-action); --b-texte: var(--mp-sur-action); --b-perfo: color-mix(in srgb, var(--mp-sur-action) 55%, transparent); --b-h: var(--mp-cible-bouton); --b-talon: var(--b-h); --b-e: 7px;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; min-height: var(--b-h); padding: 0 var(--mp-esp-5); border: 0; border-radius: var(--mp-rayon); background: none; color: var(--b-texte);
  font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform var(--mp-duree-court) var(--mp-courbe-standard); }
.mp-bouton::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--mp-rayon); background: var(--b-fond); }
.mp-bouton:focus-visible { outline-offset: 3px; }
/* le talon : la perforation et les encoches, au bord du talon */
.mp-bouton--talon { padding-left: 0; }
.mp-bouton--talon::before { background: repeating-linear-gradient(to bottom, var(--b-perfo) 0 3px, transparent 3px 7px) calc(var(--b-talon) - 1px) 0 / 2px 100% no-repeat, var(--b-fond);
  clip-path: polygon(0 0, calc(var(--b-talon) - var(--b-e)) 0, var(--b-talon) var(--b-e), calc(var(--b-talon) + var(--b-e)) 0, 100% 0, 100% 100%, calc(var(--b-talon) + var(--b-e)) 100%, var(--b-talon) calc(100% - var(--b-e)), calc(var(--b-talon) - var(--b-e)) 100%, 0 100%); }
.mp-bouton__talon { display: grid; place-items: center; flex: none; width: var(--b-talon); align-self: stretch; }
.mp-bouton__libelle { padding-left: var(--mp-esp-4); }
.mp-bouton__plus { margin-left: auto; padding-left: var(--mp-esp-4); font-weight: 400; font-size: var(--mp-corps-1); }
/* enfoncé, désactivé, en cours */
.mp-bouton:active, .mp-bouton.est-presse { --b-fond: var(--mp-action-presse); transform: translateY(1px); }
.mp-bouton:disabled, .mp-bouton[aria-disabled="true"] { --b-fond: var(--mp-bordure); --b-texte: var(--mp-texte-2); --b-contour: var(--mp-bordure); --b-perfo: var(--mp-bordure-forte); cursor: not-allowed; transform: none; }
.mp-bouton.est-en-cours { cursor: progress; transform: none; }
/* largeur pleine : le libellé se centre dans le corps du billet */
.mp-bouton--large { display: flex; width: 100%; }
.mp-bouton--large .mp-bouton__libelle { flex: 1; text-align: center; padding-right: var(--mp-esp-4); }
/* second : papier, contour à l'encre ; le contour suit les encoches (::after dessous, ::before rentré de 2 px) */
.mp-bouton--second { --b-fond: var(--mp-surface); --b-texte: var(--mp-texte); --b-contour: var(--mp-texte); --b-perfo: color-mix(in srgb, var(--mp-texte) 45%, transparent); }
.mp-bouton--second::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: var(--mp-rayon); background: var(--b-contour); }
.mp-bouton--second::before { inset: 2px; border-radius: 6px; }
.mp-bouton--second.mp-bouton--talon::after { clip-path: polygon(0 0, calc(var(--b-talon) - var(--b-e)) 0, var(--b-talon) var(--b-e), calc(var(--b-talon) + var(--b-e)) 0, 100% 0, 100% 100%, calc(var(--b-talon) + var(--b-e)) 100%, var(--b-talon) calc(100% - var(--b-e)), calc(var(--b-talon) - var(--b-e)) 100%, 0 100%); }
.mp-bouton--second.mp-bouton--talon::before { background: repeating-linear-gradient(to bottom, var(--b-perfo) 0 3px, transparent 3px 7px) calc(var(--b-talon) - 3px) 0 / 2px 100% no-repeat, var(--b-fond);
  clip-path: polygon(0 0, calc(var(--b-talon) - var(--b-e) - 2.83px) 0, calc(var(--b-talon) - 2px) calc(var(--b-e) + 0.83px), calc(var(--b-talon) + var(--b-e) - 1.17px) 0, 100% 0, 100% 100%, calc(var(--b-talon) + var(--b-e) - 1.17px) 100%, calc(var(--b-talon) - 2px) calc(100% - var(--b-e) - 0.83px), calc(var(--b-talon) - var(--b-e) - 2.83px) 100%, 0 100%); }
.mp-bouton--second:active, .mp-bouton--second.est-presse { --b-fond: var(--mp-action-doux); }
/* voir plus (D-42) : un billet teinté, sans contour, qui déplie la suite ; aria-expanded tourne le chevron */
.mp-bouton--plus { --b-fond: var(--mp-surface-2); --b-texte: var(--mp-texte); --b-perfo: var(--mp-bordure-forte); }
.mp-bouton--plus:active, .mp-bouton--plus.est-presse { --b-fond: var(--mp-action-doux); }
.mp-bouton--plus .mp-bouton__libelle { flex: 1; text-align: left; }
.mp-bouton--plus .mp-bouton__plus { color: var(--mp-texte-2); }
.mp-bouton__chevron { flex: none; margin: 0 var(--mp-esp-4) 0 var(--mp-esp-3); transform: rotate(90deg); transition: transform var(--mp-duree-moyen) var(--mp-courbe-standard); }
.mp-bouton[aria-expanded="true"] .mp-bouton__chevron { transform: rotate(-90deg); }
.mp-bouton--plus { padding-right: 0; }
/* discret : un lien qui agit, sans forme */
.mp-bouton--discret { --b-fond: transparent; --b-texte: var(--mp-lien); min-height: var(--mp-cible-minimum); padding: 0 var(--mp-esp-2); text-decoration: underline; text-underline-offset: 3px; }
.mp-bouton--discret:active, .mp-bouton--discret.est-presse { --b-fond: var(--mp-action-doux); }
/* pictogramme seul (en-tête : retour, fermer) : aria-label obligatoire */
.mp-bouton--picto { --b-fond: transparent; --b-texte: var(--mp-texte); width: var(--mp-cible-minimum); min-height: var(--mp-cible-minimum); padding: 0; justify-content: center; }
.mp-bouton--picto:active, .mp-bouton--picto.est-presse { --b-fond: var(--mp-surface-2); }
/* portail : plus haut, libellé plus grand */
.mp-bouton--portail { --b-h: var(--mp-cible-portail); font-size: var(--mp-corps-3); }
/* sur un écran de verdict « à traiter » (ambre) : couleurs fixes, hors thème ; jamais de bleu ni de grenat */
.mp-bouton--verdict { --b-fond: var(--mp-verdict-hachures); --b-texte: var(--mp-etat-a-traiter); --b-perfo: color-mix(in srgb, var(--mp-etat-a-traiter) 55%, transparent); --b-h: var(--mp-cible-portail); font-size: var(--mp-corps-2); }
.mp-bouton--verdict.mp-bouton--second { --b-fond: var(--mp-etat-a-traiter); --b-texte: var(--mp-verdict-hachures); --b-contour: var(--mp-verdict-hachures); --b-perfo: color-mix(in srgb, var(--mp-verdict-hachures) 45%, transparent); }
.mp-bouton--verdict:active, .mp-bouton--verdict.est-presse { --b-fond: var(--mp-verdict-hachures); }
.mp-bouton--verdict.mp-bouton--second:active, .mp-bouton--verdict.mp-bouton--second.est-presse { --b-fond: var(--mp-etat-a-traiter); }

/* @composant champs
   Le champ reprend le talon du bouton quand il a un préfixe (indicatif, pictogramme) : même perforation, mêmes encoches. */
.mp-champ { display: grid; gap: var(--mp-esp-2); }
.mp-champ__etiquette { font-size: var(--mp-corps-1); font-weight: 700; line-height: var(--mp-interligne-1); }
.mp-champ__boite { --c-talon: 88px; --c-e: 6px; --c-contour: var(--mp-bordure-forte); --c-l: 1.5px; position: relative; isolation: isolate; display: flex; align-items: center; min-height: var(--mp-cible-bouton); padding: 0 var(--mp-esp-4); border-radius: var(--mp-rayon); }
.mp-champ__boite::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: var(--mp-rayon); background: var(--c-contour); }
.mp-champ__boite::before { content: ""; position: absolute; inset: var(--c-l); z-index: -1; border-radius: calc(var(--mp-rayon) - 1px); background: var(--mp-surface); }
.mp-champ__boite:focus-within { --c-contour: var(--mp-focus); --c-l: 2px; }
.mp-champ__boite--talon { padding-left: 0; }
.mp-champ__boite--talon::after { clip-path: polygon(0 0, calc(var(--c-talon) - var(--c-e)) 0, var(--c-talon) var(--c-e), calc(var(--c-talon) + var(--c-e)) 0, 100% 0, 100% 100%, calc(var(--c-talon) + var(--c-e)) 100%, var(--c-talon) calc(100% - var(--c-e)), calc(var(--c-talon) - var(--c-e)) 100%, 0 100%); }
.mp-champ__boite--talon::before { background: repeating-linear-gradient(to bottom, var(--mp-bordure-forte) 0 3px, transparent 3px 7px) calc(var(--c-talon) - var(--c-l) - 1px) 0 / 1.5px 100% no-repeat, linear-gradient(var(--mp-surface-2), var(--mp-surface-2)) 0 0 / calc(var(--c-talon) - var(--c-l) - 1px) 100% no-repeat, var(--mp-surface);
  clip-path: polygon(0 0, calc(var(--c-talon) - var(--c-e) - 2.5px) 0, calc(var(--c-talon) - var(--c-l)) calc(var(--c-e) + 0.6px), calc(var(--c-talon) + var(--c-e) - 1px) 0, 100% 0, 100% 100%, calc(var(--c-talon) + var(--c-e) - 1px) 100%, calc(var(--c-talon) - var(--c-l)) calc(100% - var(--c-e) - 0.6px), calc(var(--c-talon) - var(--c-e) - 2.5px) 100%, 0 100%); }
.mp-champ__prefixe { display: flex; align-items: center; justify-content: center; gap: 6px; width: var(--c-talon); flex: none; align-self: stretch; font-weight: 700; color: var(--mp-texte-2); }
.mp-champ__boite--talon .mp-champ__saisie { padding-left: var(--mp-esp-4); }
.mp-champ__saisie { flex: 1; min-width: 0; border: 0; background: none; color: var(--mp-texte); font: 700 var(--mp-corps-3)/1.2 var(--mp-police-code); font-variant-numeric: var(--mp-chiffres); padding: 0; outline: none; }
.mp-champ__saisie::placeholder { color: var(--mp-texte-2); font-weight: 400; }
.mp-champ__aide { font-size: var(--mp-corps-1); color: var(--mp-texte-2); }
.mp-champ--erreur .mp-champ__boite { --c-contour: var(--mp-texte); --c-l: 2px; }
.mp-champ__erreur { display: flex; gap: var(--mp-esp-2); align-items: flex-start; font-size: var(--mp-corps-1); font-weight: 700; color: var(--mp-texte); }
.mp-champ__erreur::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--mp-texte); color: var(--mp-fond); font-size: 12px; line-height: 1; }
.mp-champ--desactive .mp-champ__boite { --c-contour: var(--mp-bordure); --c-l: 1px; }
.mp-champ--desactive .mp-champ__boite::before { background: var(--mp-surface-2); }
.mp-champ--desactive .mp-champ__saisie { color: var(--mp-texte-2); }

/* @composant puces
   Une puce est une pilule : elle informe ou filtre, elle n'a jamais la forme du billet. Jamais d'état, jamais de grenat. */
.mp-puce { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 16px; background: var(--mp-surface-2); color: var(--mp-texte); font-size: var(--mp-corps-1); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.mp-puce .mp-picto { width: 16px; height: 16px; }
.mp-puce__nombre { font-variant-numeric: var(--mp-chiffres); font-weight: 400; color: var(--mp-texte-2); }
.mp-puce--evt { background: var(--mp-evt-doux); color: var(--mp-texte); }
.mp-puce--choix { min-height: var(--mp-cible-minimum); padding: 0 16px; border: 0; background: var(--mp-surface); box-shadow: inset 0 0 0 1.5px var(--mp-bordure-forte); cursor: pointer; font: 700 var(--mp-corps-1)/1.2 var(--mp-police-texte); color: var(--mp-texte); }
.mp-puce--choix[aria-pressed="true"] { background: var(--mp-action-doux); box-shadow: inset 0 0 0 2px var(--mp-action); }
.mp-puce--statut { background: none; box-shadow: inset 0 0 0 1px var(--mp-bordure); font-weight: 400; }
.mp-puce--statut-fort { font-weight: 700; box-shadow: inset 0 0 0 2px var(--mp-texte); }
.mp-puce--statut-clos { font-weight: 700; color: var(--mp-texte-2); background: var(--mp-surface-2); box-shadow: none; }

/* @composant etats : pastilles, couleurs fixes, avec la marque et le mot */
.mp-etat { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px 0 6px; border-radius: var(--mp-rayon); font-size: var(--mp-corps-1); font-weight: 700; }
.mp-etat svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.mp-etat--accepte { background: var(--mp-etat-accepte); color: var(--mp-sur-etat-accepte); }
.mp-etat--refuse { background: var(--mp-etat-refuse); color: var(--mp-sur-etat-refuse); }
.mp-etat--a-traiter { background: var(--mp-etat-a-traiter); color: var(--mp-sur-etat-a-traiter); }
.mp-etat--hors-ligne { background: var(--mp-etat-hors-ligne); color: var(--mp-sur-etat-hors-ligne); }
[data-mode="sombre"] .mp-etat, .mp-section--nuit .mp-etat { box-shadow: 0 0 0 1px var(--mp-etat-filet-sombre); }

/* @composant carte
   La carte d'un événement est un billet couché : un talon à la couleur de l'événement (la date), une perforation, le corps.
   Une carte = une chose qu'on peut prendre (un événement, un billet). Les autres listes sont des lignes, pas des cartes. Aucune ombre. */
.mp-carte { --k-talon: 76px; --k-e: 7px; position: relative; isolation: isolate; display: grid; grid-template-columns: var(--k-talon) 1fr; min-height: 112px; color: var(--mp-texte); text-decoration: none; border-radius: var(--mp-rayon); }
.mp-carte::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: var(--mp-rayon); background: var(--mp-bordure);
  clip-path: polygon(0 0, calc(var(--k-talon) - var(--k-e)) 0, var(--k-talon) var(--k-e), calc(var(--k-talon) + var(--k-e)) 0, 100% 0, 100% 100%, calc(var(--k-talon) + var(--k-e)) 100%, var(--k-talon) calc(100% - var(--k-e)), calc(var(--k-talon) - var(--k-e)) 100%, 0 100%); }
.mp-carte::before { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: calc(var(--mp-rayon) - 1px);
  background: linear-gradient(var(--mp-evt-billet), var(--mp-evt-billet)) 0 0 / calc(var(--k-talon) - 1px) 100% no-repeat, var(--mp-surface);
  clip-path: polygon(0 0, calc(var(--k-talon) - var(--k-e) - 1.41px) 0, calc(var(--k-talon) - 1px) calc(var(--k-e) + 0.41px), calc(var(--k-talon) + var(--k-e) - 0.59px) 0, 100% 0, 100% 100%, calc(var(--k-talon) + var(--k-e) - 0.59px) 100%, calc(var(--k-talon) - 1px) calc(100% - var(--k-e) - 0.41px), calc(var(--k-talon) - var(--k-e) - 1.41px) 100%, 0 100%); }
.mp-carte__talon { display: grid; align-content: center; justify-items: center; gap: 2px; padding: var(--mp-esp-3) 0; color: var(--mp-sur-evt-billet); text-align: center; }
.mp-carte__jour { font-family: var(--mp-police-chiffres); font-size: var(--mp-corps-6); font-weight: 700; line-height: 1; }
.mp-carte__mois { font-size: var(--mp-corps-1); font-weight: 700; line-height: 1.2; }
.mp-carte__corps { display: grid; align-content: center; gap: 4px; padding: var(--mp-esp-3) var(--mp-esp-4) var(--mp-esp-3) var(--mp-esp-5); min-width: 0; }
.mp-carte__organisateur { font-size: var(--mp-corps-1); font-weight: 700; color: var(--mp-evt-texte-billet); }
.mp-carte__titre { font-family: var(--mp-police-titre); font-size: var(--mp-corps-4); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.mp-carte__lieu { display: flex; align-items: center; gap: 6px; font-size: var(--mp-corps-1); color: var(--mp-texte-2); }
.mp-carte__bas { display: flex; align-items: center; justify-content: space-between; gap: var(--mp-esp-3); margin-top: 4px; }
.mp-carte__prix { font-weight: 700; font-variant-numeric: var(--mp-chiffres); white-space: nowrap; }

/* @composant anneau
   L'anneau signé : la forme du symbole. Un C ouvert à droite, bouts coupés à l'horizontale comme le symbole,
   et les deux I du symbole, toujours en grenat : ils traversent l'œil et servent de barre de fraction (ce qui reste au-dessus, le total au-dessous).
   Ce qui reste : épais, à la couleur de l'événement. Ce qui est parti : un filet. Le nombre est toujours écrit. Le SVG vient de l'atelier (anneau.py). */
.mp-anneau { display: inline-grid; justify-items: center; gap: 2px; }
.mp-anneau svg { display: block; overflow: visible; }
.mp-anneau__reste { fill: var(--mp-evt); }
.mp-anneau__parti { fill: var(--mp-bordure-forte); }
.mp-anneau__trait { fill: var(--mp-marque); }
.mp-anneau__nombre { font-family: var(--mp-police-chiffres); font-weight: 700; fill: var(--mp-texte); }
.mp-anneau__sur { font-family: var(--mp-police-texte); font-weight: 400; fill: var(--mp-texte-2); }
.mp-anneau--arrive .mp-anneau__reste { animation: mp-anneau-arrive var(--mp-duree-long) var(--mp-courbe-objet) both; }
@keyframes mp-anneau-arrive { from { opacity: 0; } to { opacity: 1; } }

/* @composant onglets : l'onglet ouvert porte les deux I, en grenat */
.mp-onglets { display: flex; gap: var(--mp-esp-5); border-bottom: 1px solid var(--mp-bordure); }
.mp-onglet { position: relative; display: inline-flex; align-items: center; gap: var(--mp-esp-2); min-height: 48px; padding: 0; border: 0; background: none; font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); color: var(--mp-texte-2); cursor: pointer; }
.mp-onglet .mp-picto { width: 20px; height: 20px; }
.mp-onglet[aria-selected="true"] { color: var(--mp-texte); }
.mp-onglet[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 4px; background: linear-gradient(90deg, var(--mp-marque) 0 16px, transparent 16px 20px, var(--mp-marque) 20px 36px); }

/* @composant volet : la poignée en deux I, au ton des bordures */
.mp-volet { background: var(--mp-surface); border-radius: var(--mp-rayon) var(--mp-rayon) 0 0; box-shadow: var(--mp-ombre-feuille); padding: var(--mp-esp-3) var(--mp-esp-4) var(--mp-esp-5); }
[data-mode="sombre"] .mp-volet, .mp-volet[data-mode="sombre"] { box-shadow: 0 -1px 0 var(--mp-bordure); }
.mp-volet__poignee { display: block; width: 40px; height: 4px; margin: 0 auto var(--mp-esp-4); background: linear-gradient(90deg, var(--mp-bordure-forte) 0 18px, transparent 18px 22px, var(--mp-bordure-forte) 22px 40px); }

/* @composant verdict
   Les écrans de verdict ne changent pas (D-19, D-43, R-12) : la couleur, la marque et le mot. Ni bleu de marque, ni grenat, ni couleur d'événement.
   Hors ligne : bandeau gris en tête d'un autre verdict (V-37) ; gris plein écran quand le portail ne peut pas trancher (V-38). */
.mp-verdict { container-type: inline-size; position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: var(--mp-esp-3); width: 344px; max-width: 100%; min-height: 520px; padding: var(--mp-esp-4); border-radius: var(--mp-rayon); overflow: hidden; font-family: var(--mp-police-texte); }
.mp-verdict__haut { display: flex; justify-content: space-between; gap: var(--mp-esp-3); font-size: var(--mp-corps-2); font-weight: 700; }
.mp-verdict__milieu { display: grid; align-content: center; gap: var(--mp-esp-3); }
.mp-verdict--accepte { background: var(--mp-etat-accepte); color: var(--mp-sur-etat-accepte); }
.mp-verdict--refuse { background: var(--mp-etat-refuse); color: var(--mp-sur-etat-refuse); }
.mp-verdict--a-traiter { background: var(--mp-etat-a-traiter); color: var(--mp-sur-etat-a-traiter); padding-top: 40px; padding-bottom: 40px; }
.mp-verdict--a-traiter::before, .mp-verdict--a-traiter::after { content: ""; position: absolute; left: 0; right: 0; height: 24px; background: repeating-linear-gradient(135deg, var(--mp-verdict-hachures) 0 8px, transparent 8px 16px); }
.mp-verdict--a-traiter::before { top: 0; } .mp-verdict--a-traiter::after { bottom: 0; }
.mp-verdict--hors-ligne { background: var(--mp-etat-hors-ligne); color: var(--mp-sur-etat-hors-ligne); padding: var(--mp-esp-5); }
.mp-verdict--hors-ligne::before { content: ""; position: absolute; inset: 10px; border: var(--mp-trait-tirets) dashed var(--mp-verdict-tirets); border-radius: 4px; pointer-events: none; }
.mp-verdict__bandeau { display: flex; align-items: center; gap: var(--mp-esp-2); margin: calc(var(--mp-esp-4) * -1) calc(var(--mp-esp-4) * -1) 0; padding: 10px var(--mp-esp-4); background: var(--mp-etat-hors-ligne); color: var(--mp-sur-etat-hors-ligne); font-size: var(--mp-corps-1); font-weight: 700; }
.mp-verdict__bandeau .mp-picto { width: 20px; height: 20px; }
.mp-verdict__marque { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: butt; stroke-linejoin: miter; }
.mp-verdict__etat { display: flex; align-items: center; gap: var(--mp-esp-3); font-size: var(--mp-corps-4); font-weight: 700; line-height: 1.1; }
.mp-verdict__ligne { font-family: var(--mp-police-titre); font-size: min(var(--mp-corps-8), 17.5cqi); text-wrap: balance; font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
.mp-verdict__ligne--longue { font-size: min(var(--mp-corps-7), 14cqi); }
.mp-verdict__detail { font-size: var(--mp-corps-2); font-weight: 700; }
.mp-verdict__actions { display: grid; gap: var(--mp-esp-3); margin-top: var(--mp-esp-2); }
.mp-verdict__pied { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: var(--mp-esp-3); padding-top: var(--mp-esp-3); border-top: 2px solid currentColor; font-size: var(--mp-corps-1); line-height: 1.3; }
.mp-verdict__pied span { display: block; font-weight: 400; }
.mp-verdict__pied b { font-weight: 700; }
.mp-verdict--entre .mp-verdict__marque { animation: mp-verdict-marque var(--mp-duree-court) var(--mp-courbe-standard) both; }
@keyframes mp-verdict-marque { from { transform: scale(0.7); } to { transform: scale(1); } }

/* @composant tete-de-billet
   La tête d'un billet au thème de l'événement : le billet entier est le travail du prototype du parcours public (billet-v4).
   Elle montre ici comment le thème habille le papier. */
.mp-tete-billet { --t-e: 11px; position: relative; display: grid; gap: 4px; padding: var(--mp-esp-4) var(--mp-esp-4) var(--mp-esp-5); border-radius: var(--mp-rayon) var(--mp-rayon) 0 0; background: var(--mp-neutre-100); color: var(--mp-evt-encre); box-shadow: var(--mp-ombre-objet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--t-e)), calc(100% - var(--t-e)) 100%, var(--t-e) 100%, 0 calc(100% - var(--t-e))); }
.mp-tete-billet__bande { height: 8px; margin: calc(var(--mp-esp-4) * -1) calc(var(--mp-esp-4) * -1) var(--mp-esp-3); background: var(--mp-evt-billet); }
.mp-tete-billet__organisateur { display: flex; align-items: center; gap: var(--mp-esp-2); font-size: var(--mp-corps-1); font-weight: 700; color: var(--mp-evt-texte-billet); }
.mp-tete-billet__titre { font-family: var(--mp-police-titre); font-size: var(--mp-corps-5); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.mp-tete-billet__quand { font-weight: 700; }

/* Compléments du parcours public : composants du kit v2 absents du kit v3, sur les rôles v3. */
.mp-volet__titre { font-size: var(--mp-corps-3); font-weight: 700; margin-bottom: var(--mp-esp-2); }
.mp-volet__ligne { display: flex; align-items: center; gap: var(--mp-esp-4); width: 100%; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--mp-bordure); background: none; color: var(--mp-texte); font: 700 var(--mp-corps-2)/1.3 var(--mp-police-texte); text-align: left; cursor: pointer; }
.mp-volet__ligne:last-child { border-bottom: 0; }
.mp-volet__ligne small { display: block; font-weight: 400; font-size: var(--mp-corps-1); color: var(--mp-texte-2); }
.mp-objet { --tx: 0; --ty: 0; position: relative; display: grid; justify-items: center; perspective: var(--mp-perspective); }
.mp-objet__corps { position: relative; transition: transform var(--mp-duree-long) var(--mp-courbe-objet); }
.mp-objet.est-actif .mp-objet__corps { transform: rotateX(calc(var(--ty) * -1deg * var(--mp-inclinaison-max))) rotateY(calc(var(--tx) * 1deg * var(--mp-inclinaison-max))); transition: none; will-change: transform; }
.mp-reseau { display: flex; align-items: center; gap: var(--mp-esp-2); min-height: 40px; padding: 0 var(--mp-esp-4); font-size: var(--mp-corps-1); }
.mp-reseau--en-ligne { background: var(--mp-surface-2); color: var(--mp-texte); }
.mp-reseau--hors-ligne { background: var(--mp-etat-hors-ligne); color: var(--mp-sur-etat-hors-ligne); }
.mp-reseau strong { font-weight: 700; }
.mp-badge__sceau { position: relative; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; }
.mp-badge__sceau .mp-picto { width: 32px; height: 32px; }

/* ==== Compléments v3.1 : langue, apparence, mention de LS (charte v3.1, § 10 à § 12).
   Récrits d'après la charte : le kit v3.1 de l'atelier n'est pas au dépôt. ==== */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* @composant langue : « FR | EN », une pilule au contour ; chaque choix fait 44 × 44 px au moins */
.mp-langue { display: inline-flex; align-items: center; height: 44px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--mp-bordure-forte); font-size: var(--mp-corps-1); line-height: 1; }
.mp-langue__choix { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 4px; border: 0; background: none; color: var(--mp-texte-2); font: 700 var(--mp-corps-1)/1 var(--mp-police-texte); text-decoration: none; cursor: pointer; }
.mp-langue__choix span { padding: 3px 0; border-bottom: 2px solid transparent; }
.mp-langue__choix[aria-current="true"], .mp-langue__choix[aria-pressed="true"] { color: var(--mp-texte); }
.mp-langue__choix[aria-current="true"] span, .mp-langue__choix[aria-pressed="true"] span { border-bottom-color: currentColor; }
.mp-langue__barre { color: var(--mp-bordure-forte); }
/* @composant apparence : trois positions */
.mp-apparence { display: inline-flex; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--mp-bordure-forte); }
.mp-apparence__choix { min-height: 44px; padding: 0 14px; border: 0; border-radius: 22px; background: none; color: var(--mp-texte-2); font: 400 var(--mp-corps-1)/1.2 var(--mp-police-texte); white-space: nowrap; cursor: pointer; }
.mp-apparence__choix[aria-pressed="true"] { color: var(--mp-texte); font-weight: 700; box-shadow: inset 0 0 0 2px var(--mp-texte); }
/* @composant mention-ls : le symbole de LIVING SOFTWARES, 32 px de haut mesurés sur les tuiles, puis le texte */
.mp-mention-ls { display: flex; align-items: center; gap: 16px; font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); color: var(--mp-texte-2); }
.mp-mention-ls svg { flex: none; width: 31.2px; height: 32px; color: var(--mp-marque-ls); }
.mp-mention-ls b { font-weight: 700; color: var(--mp-texte); }


/* ==== Direction artistique v4, état du 16/11/2026 (après-midi) : proposition, à valider par Bachard ====
   L'événement n'est pas la société. Miivâ Pass prend les couleurs de MIIVÂ : noir, bordeaux, orange ; aucun bleu.
   Sur les pages d'un événement, le fond, les écritures et le bouton viennent de son affiche (classe mp4-univers). */
[data-da="4"] { --mp-papier: #FFFFFF;  --mp-papier-texte: #171213;  --mp-papier-texte-2: #5A5356;  --mp4-argent: #E9E8E6;  --mp4-argent-2: #8D8F92; }
/* Merry Blackmas, BDE ESGIS Bénin : thème calculé d'après l'affiche (R-12) */
[data-evenement="merry-blackmas-2026"] {
  --mp-evt: #DC3140;  --mp-sur-evt: #FFFFFF;  --mp-evt-texte: #860000;  --mp-evt-doux: #FFE5E2;
  --mp-evt-2: #050101;  --mp-sur-evt-2: #FFFFFF;  --mp-evt-encre: #050101;  --mp-evt-billet: #520D1B;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #860000;  --mp-evt-contour: 0;
}
[data-mode="sombre"][data-evenement="merry-blackmas-2026"], [data-mode="sombre"] [data-evenement="merry-blackmas-2026"] {
  --mp-evt: #DC3140;  --mp-sur-evt: #FFFFFF;  --mp-evt-texte: #F95057;  --mp-evt-doux: #4D040D;
  --mp-evt-2: #E9E8E6;  --mp-sur-evt-2: #050101;  --mp-evt-encre: #050101;  --mp-evt-billet: #520D1B;
  --mp-sur-evt-billet: #FFFFFF;  --mp-evt-texte-billet: #860000;  --mp-evt-contour: 1;
}
/* la société : le bordeaux agit, le noir écrit, sur blanc ; des gris à peine teintés de bordeaux, ni brun ni sable */
[data-da="4"][data-mode="clair"] { --mp-fond: #FFFFFF;  --mp-surface: #FFFFFF;  --mp-surface-2: #F7F4F5;  --mp-bordure: #E7E2E4;  --mp-bordure-forte: #857B7F;  --mp-texte: #171213;  --mp-texte-2: #5A5356;
  --mp-action: #6E1728;  --mp-sur-action: #FFFFFF;  --mp-action-presse: #5B0019;  --mp-action-doux: #FEEBEB;  --mp-accent: #6E1728;  --mp-sur-accent: #FFFFFF;  --mp-accent-doux: #FEEBEB;  --mp-accent-texte: #6E1728;
  --mp-lien: #6E1728;  --mp-encre: #171213;  --mp-marque: #6E1728;  --mp-marque-aplat: #6E1728;  --mp-sur-marque-aplat: #FFFFFF;  --mp-focus: #171213; }
[data-da="4"][data-mode="sombre"] { --mp-fond: #0E0B0C;  --mp-surface: #1A1517;  --mp-surface-2: #241D20;  --mp-bordure: #3A3034;  --mp-bordure-forte: #9B9095;  --mp-texte: #FFFFFF;  --mp-texte-2: #CBC3C6;
  --mp-action: #FFFFFF;  --mp-sur-action: #171213;  --mp-action-presse: #E7E2E4;  --mp-action-doux: #241D20;  --mp-accent: #E58A9B;  --mp-sur-accent: #171213;  --mp-accent-doux: #3A1620;  --mp-accent-texte: #F0A6B3;
  --mp-lien: #FFFFFF;  --mp-encre: #171213;  --mp-marque: #F0A6B3;  --mp-marque-aplat: #6E1728;  --mp-sur-marque-aplat: #FFFFFF;  --mp-focus: #FFFFFF; }
.mp.mp4-univers[data-mode] { --mp-fond: #050101;  --mp-surface: #240204;  --mp-surface-2: #380308;  --mp-bordure: #5F2021;  --mp-bordure-forte: #8D8F92;
  --mp-texte: #FFFFFF;  --mp-texte-2: #CEC5C4;  --mp-action: #FFFFFF;  --mp-sur-action: #050101;  --mp-action-presse: #E9E8E6;  --mp-action-doux: #380308;
  --mp-accent: var(--mp-evt);  --mp-sur-accent: var(--mp-sur-evt);  --mp-accent-doux: var(--mp-evt-doux);  --mp-accent-texte: var(--mp-evt-texte);  --mp-lien: #FFFFFF;  --mp-focus: #FFFFFF;
  isolation: isolate; }
/* le fond passe derrière sans isoler le contenu : les lettrages de l'affiche se fondent avec lui */
.mp4-univers > .mp4-univers__fond { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(circle 1.2px at 9% 31%, rgb(255 255 255 / 55%) 98%, transparent), radial-gradient(circle 1px at 91% 44%, rgb(255 255 255 / 45%) 98%, transparent),
  radial-gradient(circle 1.4px at 78% 63%, rgb(255 255 255 / 40%) 98%, transparent), radial-gradient(circle 1px at 17% 72%, rgb(255 255 255 / 45%) 98%, transparent),
  radial-gradient(circle 1.2px at 58% 88%, rgb(255 255 255 / 35%) 98%, transparent),
  radial-gradient(ellipse 70% 22% at 10% 36%, color-mix(in srgb, var(--mp-evt-billet) 72%, transparent), transparent),
  radial-gradient(ellipse 65% 20% at 94% 60%, color-mix(in srgb, var(--mp-evt) 22%, transparent), transparent),
  radial-gradient(ellipse 80% 18% at 28% 88%, color-mix(in srgb, var(--mp-evt-billet) 62%, transparent), transparent); }

/* les écritures de l'affiche : capitales fines et espacées, capitales étroites et grasses, cartouche rouge, pinceau */
.mp4-label { font: 700 var(--mp-corps-1)/1.1 var(--mp-police-texte); letter-spacing: 0.12em; text-transform: uppercase; }
.mp4-fin { font: 400 var(--mp-corps-1)/1.3 var(--mp-police-texte); letter-spacing: 0.32em; text-transform: uppercase; }
.mp4-gras { font: 700 var(--mp-corps-5)/0.95 var(--mp-police-titre); text-transform: uppercase; }
.mp4-cartouche { display: inline-block; padding: 6px 10px 5px 14px; background-color: var(--mp-evt); color: var(--mp-sur-evt); font: 700 var(--mp-corps-1)/1 var(--mp-police-texte); letter-spacing: 0.3em; text-transform: uppercase; }
.mp4-script { display: inline-block; padding: 0 6px 4px 0; font: 400 var(--mp-corps-6)/1.1 "MP Pinceau", var(--mp-police-texte); color: var(--mp-evt-texte); transform: rotate(-4deg); transform-origin: left bottom; }
.mp4-etoile { flex: none; width: 12px; height: 12px; fill: var(--mp-evt); }
/* le lettrage de l'affiche : son noir s'efface sur un fond sombre, ses bords se fondent */
.mp4-lettrage { display: block; mix-blend-mode: screen; }
/* les boules de l'affiche : la date et l'heure */
.mp4-boule { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 88px; height: 88px; border-radius: 50%; color: #FFFFFF; text-align: center;
  background: radial-gradient(circle at 32% 24%, rgb(255 255 255 / 42%) 0 5%, transparent 21%), radial-gradient(circle at 50% 56%, #2B2B30 0%, #0B0B0D 62%, #000000 100%);
  box-shadow: inset -6px -10px 18px rgb(0 0 0 / 55%), inset 4px 6px 10px rgb(255 255 255 / 10%), 0 0 0 1px rgb(233 232 230 / 22%); }
.mp4-boule--rouge { background: radial-gradient(circle at 32% 24%, rgb(255 255 255 / 48%) 0 5%, transparent 21%), radial-gradient(circle at 50% 56%, var(--mp-evt) 0%, var(--mp-evt-billet) 74%, #2A060D 100%); }
.mp4-boule::before { content: ""; position: absolute; left: 50%; bottom: calc(100% - 2px); width: 16px; height: 10px; margin-left: -8px; border-radius: 3px 3px 1px 1px; background: linear-gradient(90deg, #6B5A3A, #E9D9A8 45%, #6B5A3A); }
.mp4-boule::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 8px); width: 1px; height: 54px; background: linear-gradient(to top, rgb(233 232 230 / 75%), transparent); }
.mp4-boule b { font: 700 var(--mp-corps-5)/0.9 var(--mp-police-titre); }
.mp4-boule span { font: 700 var(--mp-corps-1)/1 var(--mp-police-texte); letter-spacing: 0.06em; text-transform: uppercase; }
.mp4-duo { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 14px; text-align: center; }
.mp4-duo > div { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; }
.mp4-duo > i { background: var(--mp4-argent-2); }
.mp4-grain::after { content: ""; position: absolute; inset: 0; z-index: 0; background-image: url(/assets/v5/grain.dd8244839d.png); background-size: 128px 128px; mix-blend-mode: soft-light; opacity: 0.6; pointer-events: none; }
.mp4-grain > * { position: relative; z-index: 1; }
.mp4-halo { position: absolute; z-index: 0; left: 0; right: 0; height: 520px; background: radial-gradient(ellipse 78% 46% at 50% 44%, color-mix(in srgb, var(--mp-evt) 34%, transparent), transparent); pointer-events: none; }
.mp4-halo ~ * { position: relative; z-index: 1; }
/* le billet : une tête à la couleur du billet de l'affiche, un filet clair, des encoches en V (D-33), un talon de papier */
.mp4-billet { display: flex; flex-direction: column; }
.mp4-billet__tete { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; background-color: var(--mp-evt-billet); color: var(--mp-sur-evt-billet); border-radius: 20px 20px 0 0;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--mp-evt) 70%, transparent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px)); }
.mp4-billet__talon { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; background-color: var(--mp-papier); color: var(--mp-papier-texte); border-radius: 0 0 20px 20px;
  background-image: repeating-linear-gradient(90deg, var(--mp-papier-texte) 0 6px, transparent 6px 12px); background-size: calc(100% - 28px) 2px; background-position: 14px 0; background-repeat: no-repeat;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px); }
.mp4-code { display: block; fill: var(--mp-papier-texte); shape-rendering: crispEdges; }
.mp4-trio { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); align-self: stretch; }
.mp4-trio > p { display: flex; flex-direction: column; gap: 6px; padding: 0 6px; }
.mp4-trio > p + p { border-left: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.mp4-trio b { font: 700 var(--mp-corps-3)/1 var(--mp-police-titre); text-transform: uppercase; }
.mp4-billet--vip .mp4-billet__tete { background-color: var(--mp-evt-encre); color: #FFFFFF; box-shadow: none; }
.mp4-lisere { filter: drop-shadow(0 0 0.6px var(--mp4-argent)) drop-shadow(0 0 0.6px var(--mp4-argent)) drop-shadow(0 0 16px rgb(233 232 230 / 16%)); }
.mp4-lisere--evt { filter: drop-shadow(0 0 0.6px var(--mp-evt)) drop-shadow(0 0 0.6px var(--mp-evt)); }
[data-da="4"][data-mode="clair"] .mp4-billet, [data-da="4"][data-mode="clair"] .mp4-carte { filter: drop-shadow(0 1px 0 var(--mp-bordure)) drop-shadow(0 10px 18px rgb(23 18 19 / 14%)); }
/* la carte d'action : un petit billet ; son talon est le bouton */
.mp4-carte { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.mp4-carte__tete { position: relative; overflow: hidden; flex: 1 0 auto; display: flex; flex-direction: column; gap: 8px; min-height: 112px; padding: 14px 14px 20px; border-radius: 16px 16px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px)); }
.mp4-carte__talon { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 0 0 16px 16px; background-color: var(--mp-papier); color: var(--mp-papier-texte); font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); text-decoration: none; cursor: pointer;
  background-image: repeating-linear-gradient(90deg, var(--mp-papier-texte) 0 5px, transparent 5px 10px); background-size: calc(100% - 20px) 1.5px; background-position: 10px 0; background-repeat: no-repeat;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%, 0 8px); }
/* le choix du pass : le billet couché de l'affiche, sa tranche à gauche, deux encoches rondes sur la perforation */
.mp4-choix { position: relative; display: flex; align-items: stretch; width: 100%; height: 163px; padding: 0; border: 0; border-radius: 14px; background-color: var(--mp-evt-billet); color: var(--mp-sur-evt-billet); font: inherit; text-align: left; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--mp-evt) 70%, transparent);
  -webkit-mask: radial-gradient(circle 8px at 52px 0, transparent 7.5px, #000 8px) top / 100% 51% no-repeat, radial-gradient(circle 8px at 52px 100%, transparent 7.5px, #000 8px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 8px at 52px 0, transparent 7.5px, #000 8px) top / 100% 51% no-repeat, radial-gradient(circle 8px at 52px 100%, transparent 7.5px, #000 8px) bottom / 100% 51% no-repeat; }
.mp4-choix--vip { background-color: var(--mp-evt-encre); color: #FFFFFF; box-shadow: none; }
.mp4-choix--vip .mp4-choix__nom { color: var(--mp-evt-texte); }
.mp4-choix__tranche { flex: none; display: grid; place-items: center; width: 52px; border-right: 2px dotted currentColor; }
.mp4-choix__tranche span { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 var(--mp-corps-1)/1 var(--mp-police-texte); letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.mp4-choix__corps { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; text-align: center; }
.mp4-choix__prix { font: 700 var(--mp-corps-7)/0.9 var(--mp-police-titre); white-space: nowrap; }
.mp4-choix__prix small { font: 700 var(--mp-corps-2)/1 var(--mp-police-texte); }
.mp4-choix__coche { flex: none; align-self: center; display: grid; place-items: center; width: 28px; height: 28px; margin-right: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; }
.mp4-choix__coche svg { display: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mp4-choix[aria-pressed="true"] .mp4-choix__coche { background: #FFFFFF; color: #050101; box-shadow: none; }
.mp4-choix[aria-pressed="true"] .mp4-choix__coche svg { display: block; }
/* l'opérateur de paiement, la note, la zone de texte, les étapes */
.mp4-option { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; border: 0; border-radius: var(--mp-rayon); background: var(--mp-surface); box-shadow: inset 0 0 0 1.5px var(--mp-bordure-forte); color: var(--mp-texte); font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); text-align: left; cursor: pointer; }
.mp4-option i { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; }
.mp4-option[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--mp-action); }
.mp4-option[aria-pressed="true"] i { box-shadow: inset 0 0 0 7px var(--mp-action); }
.mp4-note { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mp4-note__choix { display: grid; place-items: center; aspect-ratio: 1; min-height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--mp-surface); box-shadow: inset 0 0 0 1.5px var(--mp-bordure-forte); color: var(--mp-texte); font: 700 var(--mp-corps-5)/1 var(--mp-police-titre); cursor: pointer; }
.mp4-note__choix[aria-pressed="true"] { background: var(--mp-action); color: var(--mp-sur-action); box-shadow: none; }
.mp4-zone { display: block; width: 100%; min-height: 96px; padding: 12px 16px; border: 0; border-radius: var(--mp-rayon); background: var(--mp-surface); box-shadow: inset 0 0 0 1.5px var(--mp-bordure-forte); color: var(--mp-texte); font: 400 var(--mp-corps-2)/var(--mp-interligne-2) var(--mp-police-texte); resize: none; }
.mp4-zone::placeholder { color: var(--mp-texte-2); }
.mp4-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.mp4-etapes span { height: 4px; background: var(--mp-bordure); }
.mp4-etapes span.fait { background: var(--mp-texte-2); }
.mp4-etapes span[aria-current="step"] { background: var(--mp-action); }
.mp4-lignes { display: flex; flex-direction: column; }
.mp4-lignes > li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--mp-esp-4); padding: var(--mp-esp-3) 0; border-bottom: 1px solid var(--mp-bordure); }
.mp4-lignes > li > :last-child { flex: none; font-weight: 700; }
.mp4-statut { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--mp-rayon); background: var(--mp-surface); box-shadow: inset 0 0 0 1.5px var(--mp-bordure-forte); }
.mp4-statut b { font: 700 var(--mp-corps-3)/1.2 var(--mp-police-texte); }
.mp4-statut svg { flex: none; margin-top: 2px; }
.mp4-points { display: flex; flex-direction: column; gap: var(--mp-esp-2); }
.mp4-marches { display: flex; flex-direction: column; gap: var(--mp-esp-3); counter-reset: marche; font-weight: 700; }
.mp4-marches > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: var(--mp-esp-3); }
.mp4-marches > li::before { counter-increment: marche; content: counter(marche); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #FFFFFF; font: 700 var(--mp-corps-4)/1 var(--mp-police-titre);
  background: radial-gradient(circle at 32% 24%, rgb(255 255 255 / 48%) 0 6%, transparent 24%), radial-gradient(circle at 50% 56%, var(--mp-evt) 0%, var(--mp-evt-billet) 74%, #2A060D 100%); box-shadow: inset -3px -5px 9px rgb(0 0 0 / 45%); }
.mp4-points > li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--mp-rayon); background: var(--mp-surface); box-shadow: inset 0 0 0 1px var(--mp-bordure); }
.mp4-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 4fr)) minmax(0, 2fr); gap: 6px; }
.mp4-case { min-width: 0; height: 56px; padding: 0; border: 0; border-radius: 10px; background: var(--mp-surface); box-shadow: inset 0 0 0 1.5px var(--mp-bordure-forte); color: var(--mp-texte); font: 700 var(--mp-corps-3)/1 var(--mp-police-titre); letter-spacing: 0.06em; text-align: center; }
/* le terrain : le poste, puis le verdict. Mesures : INTERFACE-VENTE-ET-TERRAIN.md, § 4. Ni bleu, ni grenat, ni couleur d'événement. */
.mp4-poste { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 700 var(--mp-corps-2)/1.25 var(--mp-police-texte); }
.mp4-poste span { margin-left: 10px; font-weight: 400; font-size: var(--mp-corps-1); }
.mp4-verdict { --mp-fond: var(--v-fond);  --mp-surface: var(--v-fond);  --mp-texte: var(--v-encre);  --mp-texte-2: var(--v-encre);  --mp-bordure: var(--v-encre);  --mp-bordure-forte: var(--v-encre);
  --mp-action: var(--v-encre);  --mp-sur-action: var(--v-fond);  --mp-action-presse: var(--v-encre);  --mp-focus: var(--v-encre);  --mp-lien: var(--v-encre);
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 38px 30px 34px; background-color: var(--v-fond); color: var(--v-encre); }
.mp4-verdict--accepte { --v-fond: var(--mp-etat-accepte);  --v-encre: var(--mp-sur-etat-accepte); }
.mp4-verdict--refuse { --v-fond: var(--mp-etat-refuse);  --v-encre: var(--mp-sur-etat-refuse); }
.mp4-verdict--a-traiter { --v-fond: var(--mp-etat-a-traiter);  --v-encre: var(--mp-sur-etat-a-traiter); padding-top: 50px; padding-bottom: 50px; }
.mp4-verdict--hors-ligne { --v-fond: var(--mp-etat-hors-ligne);  --v-encre: var(--mp-sur-etat-hors-ligne); }
.mp4-verdict--refuse::before { content: ""; position: absolute; inset: 10px; border: 7px solid var(--v-encre); pointer-events: none; }
.mp4-verdict--hors-ligne::before { content: ""; position: absolute; inset: 10px; border: 5px dashed var(--v-encre); pointer-events: none; }
.mp4-verdict--a-traiter::before, .mp4-verdict--a-traiter::after { content: ""; position: absolute; left: 0; right: 0; height: 28px; background: repeating-linear-gradient(-45deg, var(--v-encre) 0 9px, transparent 9px 18px); pointer-events: none; }
.mp4-verdict--a-traiter::before { top: 0; }
.mp4-verdict--a-traiter::after { bottom: 0; }
.mp4-verdict__corps { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
.mp4-verdict__marque { display: block; width: 96px; height: 96px; fill: none; stroke: currentColor; stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.mp4-verdict__etat { font: 700 var(--mp-corps-6)/1 var(--mp-police-titre); text-transform: uppercase; }
.mp4-verdict__ligne { font: 700 var(--mp-corps-8)/0.95 var(--mp-police-titre); letter-spacing: -0.01em; }
.mp4-verdict__detail { font: 700 var(--mp-corps-3)/1.25 var(--mp-police-texte); }
.mp4-verdict__pied { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--v-encre); }
.mp4-verdict__pied p:first-child { font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); }
.mp4-verdict__pied p:last-child { font: 700 var(--mp-corps-2)/1.25 var(--mp-police-texte); }
.mp4-jauge { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.mp4-jauge span { height: 14px; box-shadow: inset 0 0 0 2px currentColor; }
.mp4-jauge span.plein { background: currentColor; }
.mp4-choisir { display: flex; flex-direction: column; gap: 6px; }
.mp4-choisir p { font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); font-weight: 700; }
.mp4-pas { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; min-height: 56px; border-radius: var(--mp-rayon); background: var(--mp-surface); box-shadow: inset 0 0 0 1.5px var(--mp-bordure-forte); text-align: center; font: 700 var(--mp-corps-4)/1 var(--mp-police-titre); }
.mp4-pas button { display: grid; place-items: center; width: 44px; height: 56px; padding: 0; border: 0; background: none; color: var(--mp-texte); font: 700 var(--mp-corps-4)/1 var(--mp-police-titre); cursor: pointer; }
.mp4-bandeau { flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; background: var(--mp-etat-hors-ligne); color: var(--mp-sur-etat-hors-ligne); font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); }
.mp4-anneau { align-self: center; width: 104px; height: 104px; border-radius: 50%; border: 7px solid var(--mp-bordure); border-top-color: var(--mp-evt-texte); border-right-color: var(--mp-evt-texte); }
/* la régie : l'outil de la société, en clair, dense */
.mp4-regie { display: grid; grid-template-columns: 232px minmax(0, 1fr); flex: 1; min-height: 0; }
.mp4-regie__nav { display: flex; flex-direction: column; gap: 4px; padding: 24px 16px; background: var(--mp-surface-2); border-right: 1px solid var(--mp-bordure); }
.mp4-regie__lien { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--mp-texte); font-weight: 700; text-decoration: none; }
.mp4-regie__lien[aria-current="page"] { background: var(--mp-action); color: var(--mp-sur-action); }
.mp4-regie__corps { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 28px 32px; }
.mp4-tuile { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 20px; border-radius: 14px; background: var(--mp-surface); box-shadow: inset 0 0 0 1px var(--mp-bordure); }
.mp4-tuile b { font: 700 var(--mp-corps-7)/1 var(--mp-police-titre); }
.mp4-table { width: 100%; border-collapse: collapse; font-size: var(--mp-corps-2); }
.mp4-table th { padding: 10px 12px; border-bottom: 1px solid var(--mp-bordure-forte); color: var(--mp-texte-2); font: 700 var(--mp-corps-1)/1.2 var(--mp-police-texte); letter-spacing: 0.08em; text-align: left; text-transform: uppercase; }
.mp4-table td { padding: 12px; border-bottom: 1px solid var(--mp-bordure); }
.mp4-pastille { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 13px; font: 700 var(--mp-corps-1)/1 var(--mp-police-texte); white-space: nowrap; }
.mp4-vignette { flex: none; display: block; border-radius: 10px; object-fit: cover; background: #050101; }
/* la planche des fondations */
.mp4-nuance { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 96px; padding: 12px; border-radius: 12px; font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); }
.mp4-nuance b { font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); }
.mp4-etat { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 18px; font-weight: 700; }


/* Miivâ Pass v2 : feuille commune, après le kit DA4.
   Mobile d'abord. Pas de style dans les pages (CSP stricte). Safari 14+, Chrome, Edge, Firefox. */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #050101; }
.mp2-fige, .mp2-fige body { overflow: hidden; }
.mp2-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
img { max-width: 100%; }

/* lien d'évitement, visible au clavier seulement */
.mp2-evitement {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: #FFFFFF; color: #171213;
  font: 700 14px/1.2 'Radio Canada MP', system-ui, sans-serif; text-decoration: none;
}
.mp2-evitement:focus { top: 8px; }

/* bandeau de démonstration (app. et private.) */
.mp2-bandeau {
  display: flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 6px 16px; padding-left: max(16px, env(safe-area-inset-left));
  background: #F5A300; color: #1B1714;
  font: 700 12px/1.3 'Radio Canada MP', 'MP Secours Benin', system-ui, sans-serif; letter-spacing: 0.01em;
}

/* ---------- racines : pages écrites pour le site, et écrans des planches ---------- */
.mp2-univers-corps > .mp, .mp2-univers-corps .mp2-vue > .mp {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh;
}
.mp2-pile { width: 100%; }
.mp2-colonne .mp2-pile { max-width: 480px; margin: 0 auto; }
.mp2-large .mp2-pile { max-width: 1240px; margin: 0 auto; }
.mp2-colonne .mp2-vue > .mp, .mp2-large .mp2-vue > .mp {
  position: relative; isolation: isolate;
  min-height: calc(100vh - 34px); min-height: calc(100dvh - 34px);
}
.mp2-colonne .mp2-vue > .mp { box-shadow: 0 0 0 1px rgb(255 255 255 / 7%); }
.mp2-large .mp2-vue > .mp { overflow-x: auto; }
.mp2-vue { display: none; }
.mp2-vue.mp2-vue--active { display: block; }

/* les lettrages de l'affiche s'adaptent à la largeur */
.mp img.mp4-lettrage { max-width: 100%; height: auto; }

/* ---------- pied (l'en-tête et le menu sont dans chrome.css) ---------- */
.mp2-pied {
  margin-top: auto; display: flex; justify-content: center;
  padding: var(--mp-esp-6) var(--mp-esp-4) calc(var(--mp-esp-6) + env(safe-area-inset-bottom));
}
.mp2-pied__ls { color: var(--mp-texte-2); text-decoration: none; border-radius: 8px; }
.mp2-pied__ls:hover, .mp2-pied__ls:focus-visible { color: var(--mp-texte); }
.mp2-pied__ls .mp-mention-ls { color: inherit; }

/* ---------- pages publiques ---------- */
.mp2-accueil {
  display: flex; flex-direction: column; gap: var(--mp-esp-6);
  width: 100%; max-width: 960px; margin: 0 auto;
  padding: var(--mp-esp-5) max(var(--mp-esp-4), env(safe-area-inset-right)) var(--mp-esp-7) max(var(--mp-esp-4), env(safe-area-inset-left));
}
.mp2-accueil--etroit { max-width: 560px; }
.mp2-accueil-tete { display: flex; flex-direction: column; gap: var(--mp-esp-2); }
.mp2-marque { margin: 0; color: var(--mp-evt); }
.mp2-titre { margin: 0; font: 700 clamp(36px, 10vw, 61px)/0.95 var(--mp-police-titre); letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.mp2-sous-titre { margin: 0; max-width: 60ch; color: var(--mp-texte-2); font: 400 var(--mp-corps-2)/1.5 var(--mp-police-texte); }
.mp2-etiquette { margin: 0; color: var(--mp-texte-2); }

.mp2-agenda { display: flex; flex-direction: column; gap: var(--mp-esp-3); }
.mp2-agenda__grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mp2-agenda__jour { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; border-radius: 10px; color: var(--mp-texte-2); }
.mp2-agenda__jour span { font-size: var(--mp-corps-1); }
.mp2-agenda__jour b { font: 700 var(--mp-corps-3)/1 var(--mp-police-titre); }
.mp2-agenda__jour--actif { background: var(--mp-evt); color: #FFFFFF; }

.mp2-carte {
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  border-radius: 16px; background: var(--mp-surface);
  box-shadow: inset 0 0 0 1px var(--mp-bordure), 0 18px 40px rgb(0 0 0 / 35%);
}
.mp2-affiche-carte {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 280px; padding: var(--mp-esp-6) var(--mp-esp-4); text-decoration: none;
  background:
    radial-gradient(80% 60% at 50% 10%, rgb(198 17 47 / 30%) 0%, transparent 70%),
    radial-gradient(120% 90% at 50% 115%, rgb(82 13 27 / 70%) 0%, transparent 75%),
    #050101;
}
.mp2-affiche-carte img[src*="organisateurs"] { width: 195px; }
.mp2-affiche-carte img[src*="titre"] { width: min(300px, 100%); }
.mp2-affiche-carte img[src*="signature"] { width: 140px; }
.mp2-carte-corps { display: flex; flex-direction: column; gap: var(--mp-esp-2); padding: var(--mp-esp-5) var(--mp-esp-4) var(--mp-esp-5); }
.mp2-carte-titre { margin: 0; font: 700 var(--mp-corps-5)/1 var(--mp-police-titre); text-transform: uppercase; }
.mp2-carte-ligne { margin: 0; color: var(--mp-texte-2); font: 400 var(--mp-corps-2)/1.4 var(--mp-police-texte); }
.mp2-prix { margin: var(--mp-esp-1) 0 var(--mp-esp-3); font: 700 var(--mp-corps-3)/1.2 var(--mp-police-titre); color: var(--mp-evt-texte); }
.mp2-passes, .mp2-etapes { display: flex; flex-direction: column; gap: var(--mp-esp-3); }

.mp2-marches { list-style: none; margin: 0; padding: 0; counter-reset: mp2; display: flex; flex-direction: column; gap: var(--mp-esp-3); }
.mp2-marches li { counter-increment: mp2; display: flex; align-items: flex-start; gap: var(--mp-esp-3); }
.mp2-marches li::before {
  content: counter(mp2); flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--mp-evt); color: #FFFFFF; font: 700 var(--mp-corps-2)/1 var(--mp-police-titre);
}

/* listes de cartes (pass d'exemple, outils de l'équipe) */
.mp2-liste-pass { display: flex; flex-direction: column; gap: var(--mp-esp-2); }
.mp2-carte-pass {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "titre picto" "etat picto" "code picto";
  align-items: center; column-gap: var(--mp-esp-3); row-gap: 2px;
  min-height: 56px; padding: var(--mp-esp-3) var(--mp-esp-4);
  border-radius: 14px; background: var(--mp-surface); color: var(--mp-texte); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--mp-bordure);
}
.mp2-carte-pass:hover, .mp2-carte-pass:focus-visible { box-shadow: inset 0 0 0 1px var(--mp-evt); }
.mp2-carte-pass__titre { grid-area: titre; font: 700 var(--mp-corps-3)/1.15 var(--mp-police-titre); text-transform: uppercase; }
.mp2-carte-pass__etat { grid-area: etat; color: var(--mp-texte-2); font-size: var(--mp-corps-1); }
.mp2-carte-pass__code { grid-area: code; color: var(--mp-texte-2); font: 700 var(--mp-corps-1)/1.4 var(--mp-police-texte); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.mp2-carte-pass .mp-picto { grid-area: picto; width: 20px; height: 20px; }

.mp2-grille-qr { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--mp-esp-4); }
.mp2-qr-carte { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--mp-esp-3); padding: var(--mp-esp-4); border-radius: 16px; background: var(--mp-surface); box-shadow: inset 0 0 0 1px var(--mp-bordure); }
.mp2-qr-carte img { width: 200px; height: 200px; padding: 10px; border-radius: 12px; background: #FFFFFF; }
.mp2-qr-carte figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.mp2-qr-carte figcaption b { font: 700 var(--mp-corps-3)/1.15 var(--mp-police-titre); text-transform: uppercase; }
.mp2-qr-carte figcaption span { color: var(--mp-texte-2); font-size: var(--mp-corps-1); }

.mp-puce--choix[aria-pressed="true"] { background: var(--mp-texte); color: var(--mp-fond); box-shadow: none; }

/* ---------- les pages de la société (la vitrine) : elles suivent le mode de <html> ----------
   Cadres « Vitrine · les événements » (clair) et « Vitrine · voir mon pass » (sombre) : la
   société en noir, bordeaux et blanc (DA v4, § 3.1). L'affiche garde son noir dans les deux modes. */
html[data-apparence] body { background: var(--mp-fond); }
.mp2-page .mp2-marque { color: var(--mp-marque); }
.mp2-accroche { margin: 0; color: var(--mp-accent-texte); }
.mp2-page .mp2-titre { font-size: var(--mp-corps-7); }
.mp2-page .mp2-agenda__jour--actif { background: var(--mp-action); color: var(--mp-sur-action); }
.mp2-page .mp2-carte { box-shadow: inset 0 0 0 1px var(--mp-bordure), 0 10px 18px rgb(23 18 19 / 10%); }
.mp2-infos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--mp-esp-2); }
.mp2-infos li { display: flex; align-items: center; gap: var(--mp-esp-3); font: 400 var(--mp-corps-2)/1.4 var(--mp-police-texte); }
.mp2-page .mp2-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--mp-esp-2); margin: var(--mp-esp-1) 0 var(--mp-esp-2); color: var(--mp-texte); font: 400 var(--mp-corps-2)/1.2 var(--mp-police-texte); }
.mp2-page .mp2-prix span { color: var(--mp-texte-2); }
.mp2-page .mp2-prix b { font: 700 var(--mp-corps-4)/1 var(--mp-police-titre); }
.mp2-visee { display: block; width: min(220px, 60vw); height: auto; aspect-ratio: 1; margin: 0 auto; fill: none; stroke: var(--mp-texte); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mp2-visee-texte { margin: 0; text-align: center; font: 400 var(--mp-corps-2)/1.5 var(--mp-police-texte); }
.mp2-note { margin: 0; color: var(--mp-texte-2); font: 400 var(--mp-corps-1)/var(--mp-interligne-1) var(--mp-police-texte); text-align: center; }
.mp2-voir__actions { display: flex; flex-direction: column; gap: var(--mp-esp-5); }
.mp2-import, .mp2-saisie { display: flex; flex-direction: column; gap: var(--mp-esp-3); }
.mp2-import[hidden] { display: none !important; }
.mp2-perdu { display: flex; flex-direction: column; gap: var(--mp-esp-2); padding-top: var(--mp-esp-5); border-top: 1px solid var(--mp-bordure); scroll-margin-top: var(--mp-esp-5); }
.mp2-perdu p { margin: 0; color: var(--mp-texte-2); font: 400 var(--mp-corps-2)/1.5 var(--mp-police-texte); }
.mp2-perdu:focus { outline: none; }
/* les fenêtres de la vitrine prennent le mode de la page */
html[data-apparence][data-mode="clair"] .mp2-dialogue { background: rgb(23 18 19 / 42%); }
html[data-apparence][data-mode="clair"] .mp2-dialogue__boite { background: #FFFFFF; color: #171213; box-shadow: 0 0 0 1px #E7E2E4, 0 24px 64px rgb(23 18 19 / 22%); }
html[data-apparence][data-mode="clair"] .mp2-dialogue .mp-champ__etiquette { color: #5A5356; }
html[data-apparence][data-mode="clair"] .mp2-dialogue .mp-champ__saisie { background: #FFFFFF; color: #171213; border-color: #857B7F; }
html[data-apparence][data-mode="clair"] .mp2-dialogue .mp-champ__saisie:focus { outline-color: #171213; }
html[data-apparence][data-mode="clair"] .mp2-dialogue .mp-bouton--plein { background: #6E1728; color: #FFFFFF; }
html[data-apparence][data-mode="clair"] .mp2-dialogue .mp-bouton--second { color: #171213; border-color: #857B7F; }
html[data-apparence][data-mode="sombre"] .mp2-dialogue .mp-bouton--plein { background: #FFFFFF; color: #171213; }
html[data-apparence][data-mode="clair"] .mp2-toast { background: #171213; color: #FFFFFF; }

/* ---------- ajouts de démonstration dans les écrans des planches ---------- */
.mp2-zone-ajouts { display: flex; flex-direction: column; gap: var(--mp-esp-3); padding: var(--mp-esp-2) var(--mp-esp-4) var(--mp-esp-6); }
.mp2-zone-ajouts:empty { display: none; }
.mp2-essais { display: flex; flex-direction: column; gap: var(--mp-esp-2); padding: var(--mp-esp-3); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--mp-bordure); }
.mp2-essais > .mp4-fin { margin: 0; color: var(--mp-texte-2); }
.mp2-essais__puces { display: flex; flex-wrap: wrap; gap: var(--mp-esp-2); }
.mp2-essais__puces .mp-puce { border: 0; cursor: pointer; min-height: var(--mp-cible-minimum); }
.mp2-qr { display: block; margin: 0 auto; width: 148px; height: 148px; }
.mp2-payeur { margin: calc(var(--mp-esp-2) * -1) 0 0; text-align: center; color: var(--mp-texte-2); font: 400 var(--mp-corps-1)/1.4 var(--mp-police-texte); }
.mp2-choisi { box-shadow: inset 0 0 0 2px var(--mp-evt) !important; color: var(--mp-texte) !important; }

/* ---------- dialogues et messages ---------- */
.mp2-dialogue {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); background: rgb(5 1 1 / 74%);
}
.mp2-dialogue__boite {
  width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px; padding: 20px;
  border-radius: 20px; background: #1A1517; color: #FFFFFF;
  box-shadow: 0 0 0 1px #3A3034, 0 24px 64px rgb(0 0 0 / 60%);
  font: 400 16px/1.45 'Radio Canada MP', 'MP Secours Benin', system-ui, sans-serif;
}

.mp2-dialogue .mp-champ__etiquette { color: #CBC3C6; font: 700 13px/1.3 'Radio Canada MP', system-ui, sans-serif; }
.mp2-dialogue .mp-champ__saisie {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #9B9095;
  background: #0E0B0C; color: #FFFFFF; font: 700 18px/1.2 'Radio Canada MP', system-ui, sans-serif; letter-spacing: 0.06em;
}
.mp2-dialogue .mp-champ__saisie:focus { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.mp2-dialogue .mp-bouton { width: 100%; justify-content: center; min-height: 52px; border-radius: 10px; font: 700 16px/1.2 'Radio Canada MP', system-ui, sans-serif; cursor: pointer; }
.mp2-dialogue .mp-bouton--plein { background: #DC3140; color: #FFFFFF; border: 0; }
.mp2-dialogue .mp-bouton--second { background: transparent; color: #FFFFFF; border: 1.5px solid #9B9095; }
.mp2-dialogue .mp-puce { background: #241D20; color: #FFFFFF; border: 0; cursor: pointer; }
.mp2-dialogue .mp-puce[aria-pressed="true"] { background: #FFFFFF; color: #171213; }
.mp2-fenetre__titre { margin: 0; font: 700 22px/1.1 'Radio Canada MP Condensee', 'Radio Canada MP', sans-serif; text-transform: uppercase; }
.mp2-fenetre__note { margin: 0; color: #CBC3C6; font-size: 13px; }
.mp2-fenetre__montant { margin: 0; padding: 12px; border-radius: 10px; background: #0E0B0C; font-weight: 700; }
.mp2-lien-simple { align-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: #CBC3C6; text-decoration: underline; font: inherit; cursor: pointer; }

.mp2-toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
  transform: translateX(-50%); width: max-content; max-width: min(92vw, 480px);
  padding: 12px 16px; border-radius: 12px; background: #FFFFFF; color: #171213;
  box-shadow: 0 12px 32px rgb(0 0 0 / 45%);
  font: 700 14px/1.35 'Radio Canada MP', 'MP Secours Benin', system-ui, sans-serif; text-align: center;
}

/* ---------- grands écrans ---------- */


/* ---------- impression du billet reçu ---------- */




@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* classes des planches */
.s0{position: relative; display: flex; flex-direction: column}
.s1{display: flex; align-items: center; gap: var(--mp-esp-1); min-height: 64px; padding: 0 var(--mp-esp-2) 0 var(--mp-esp-4)}
.s2{display: flex; align-items: center; min-height: 44px; margin-right: auto}
.s3{display: block; width: 145px; height: 22px}
.s4{position: relative; display: flex; flex-direction: column; gap: var(--mp-esp-5); padding: var(--mp-esp-2) var(--mp-esp-4) 0}
.s5{display: flex; align-items: center; justify-content: space-between; gap: var(--mp-esp-3)}
.s6{font-size: var(--mp-corps-5)}
.s7{padding: 6px 8px 5px 12px; box-shadow: inset 0 0 0 1px currentColor}
.s8{gap: 12px; padding: 20px 18px 30px}
.s9{width: 216px; height: 96px}
.s10{font: 700 var(--mp-corps-6)/1 var(--mp-police-titre); text-transform: uppercase}
.s11{gap: var(--mp-esp-3); padding: 26px 20px 22px}
.s12{padding: 16px; border-radius: 12px; background: var(--mp-neutre-100)}
.s13{width: 148px; height: 148px}
.s14{font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); color: var(--mp-papier-texte-2)}
.s15{display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mp-esp-3)}
.s16{background-color: var(--mp-surface-2); color: var(--mp-texte)}
.s17{font-size: var(--mp-corps-4)}
.s18{background-color: var(--mp-evt-billet); color: var(--mp-sur-evt-billet)}
.s19{display: flex; flex-direction: column; gap: var(--mp-esp-1)}
.s20{color: var(--mp-texte-2)}
.s21{margin-top: auto; padding: var(--mp-esp-6) var(--mp-esp-4) var(--mp-esp-6)}
.s22{display: flex; flex-direction: column; gap: var(--mp-esp-5); padding: var(--mp-esp-2) var(--mp-esp-4) var(--mp-esp-7)}
.s23{display: flex; flex-direction: column; align-items: flex-start; gap: 2px}
.s24{font-size: var(--mp-corps-8)}
.s25{gap: 12px; padding: 18px 18px 28px}
.s26{width: 190px; height: 84px}
.s27{font: 700 var(--mp-corps-4)/1 var(--mp-police-titre); text-transform: uppercase}
.s28{padding: 20px 20px 16px}
.s29{display: flex; flex-direction: column; gap: var(--mp-esp-3); min-width: 0; margin: 0; padding: 0; border: 0}
.s30{padding: 0; margin-bottom: var(--mp-esp-3); color: var(--mp-texte-2)}
.s31{display: flex; justify-content: space-between; gap: var(--mp-esp-3); font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); color: var(--mp-texte-2)}
.s32{display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0}
.s33{display: flex; flex-wrap: wrap; gap: var(--mp-esp-2)}
.s34{display: flex; flex-direction: column; gap: var(--mp-esp-2)}
.s35{font-weight: 400; color: var(--mp-texte-2)}
.s36{display: flex; flex-direction: column; gap: var(--mp-esp-3)}
.s37{font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); text-align: center; color: var(--mp-texte-2)}
.s38{display: flex; align-items: center; gap: var(--mp-esp-1); min-height: 64px; padding: 0 var(--mp-esp-4) 0 var(--mp-esp-2)}
.s39{flex: 1; min-width: 0; font-size: var(--mp-corps-1); font-weight: 700; line-height: var(--mp-interligne-1)}
.s40{font-size: var(--mp-corps-7)}
.s41{display: flex; align-items: center; justify-content: center; min-height: 44px}
.s42{font-size: var(--mp-corps-6)}
.s43{font: 700 var(--mp-corps-4)/1 var(--mp-police-titre)}
.s44{text-align: center; font: 700 var(--mp-corps-4)/1.2 var(--mp-police-texte)}
.s45{text-align: center; color: var(--mp-texte-2)}
.s46{stroke-width: 5.500}
.s47{display: flex; flex-direction: column; gap: var(--mp-esp-5); padding: var(--mp-esp-2) var(--mp-esp-4) 0}
.s48{gap: var(--mp-esp-3); padding: 24px 20px 20px}
.s49{width: 132px; height: 132px}
.s50{flex: 1; display: flex; flex-direction: column; gap: var(--mp-esp-4); padding: 28px 24px 22px}
.s51{flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--mp-esp-4)}
.s52{display: flex; justify-content: center}
.s53{font: 700 var(--mp-corps-5)/1 var(--mp-police-titre); text-transform: uppercase}
.s54{min-height: 56px}
.s55{font: 700 var(--mp-corps-6)/1 var(--mp-police-titre); text-align: center; text-transform: uppercase}
.s56{display: flex; align-items: center; gap: var(--mp-esp-3); padding: 14px 16px; border-radius: var(--mp-rayon); background: var(--mp-surface)}
.s57{flex: none; width: 28px; height: 28px; fill: none; stroke: var(--mp-etat-accepte); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round}
.s58{display: flex; flex-direction: column; gap: 2px}
.s59{font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1); color: var(--mp-texte-2)}
.s60{flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--mp-esp-3)}
.s61{display: block; width: 200px; height: 200px; margin: 0 auto; fill: none; stroke: var(--mp-texte); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round}
.s62{font: 700 var(--mp-corps-5)/1 var(--mp-police-titre); text-align: center; text-transform: uppercase}
.s63{display: flex; align-items: center; gap: var(--mp-esp-3); padding: var(--mp-esp-3) var(--mp-esp-4); border-radius: var(--mp-rayon); background: var(--mp-surface)}
.s64{font-size: var(--mp-corps-1); line-height: var(--mp-interligne-1)}
.s65{min-height: 56px; justify-content: center; gap: var(--mp-esp-3)}
.s66{min-height: 56px; justify-content: center}
.s67{flex: 1; display: flex; flex-direction: column; gap: var(--mp-esp-5); padding: 28px 24px 22px}
.s68{flex: 1; display: flex; flex-direction: column; gap: var(--mp-esp-5)}
.s69{display: flex; align-items: center; gap: var(--mp-esp-3)}
.s70{width: 56px; height: 56px}
.s71{display: flex; flex-direction: column; gap: 4px}
.s72{font-size: var(--mp-corps-1); color: var(--mp-texte-2)}
.s73{min-height: 72px}
.s74{min-height: 72px; justify-content: center; gap: var(--mp-esp-3)}
.s75{font: 700 var(--mp-corps-7)/0.95 var(--mp-police-titre); text-transform: uppercase}
.s76{padding: 0 12px 20px}
.s77{display: block; width: 171px; height: 26px}
.s78{margin-top: auto; padding: 0 12px}
.s79{display: flex; align-items: center; gap: var(--mp-esp-4)}
.s80{width: 64px; height: 64px}
.s81{display: flex; flex-direction: column; gap: 6px; margin-right: auto}
.s82{color: var(--mp-marque)}
.s83{text-align: right}
.s84{display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mp-esp-4)}
.s85{background-color: #F5A300; color: #1B1714}
.s86{background-color: #55616B; color: #FFFFFF}
.s87{background-color: #3DDC84; color: #0B1F12}
.s88{display: flex; align-items: flex-end; justify-content: space-between; gap: var(--mp-esp-4)}
.s89{display: flex; flex-direction: column; gap: 6px}
.s90{flex: none; width: 300px}
.s91{display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mp-esp-4)}
.s92{display: inline-flex; align-items: center; gap: var(--mp-esp-3)}
.s93{letter-spacing: 0.06em; white-space: nowrap}
.s94{display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-weight: 700}
.s95{flex: none; width: 280px}

/* Miivâ Pass : l'en-tête et le menu, les mêmes sur toutes les pages (DA v4, cadre
   « Vitrine · le menu ouvert »). Feuille autonome : elle sert aussi sur la page de l'événement,
   qui ne charge pas le kit.

   Le mode (D-48, charte v3.1 § 11) : mode.js pose data-mode="clair" ou "sombre" sur <html>
   avant le premier affichage, d'après le choix gardé sur l'appareil, sinon d'après l'appareil.
   Sans script, la page suit l'appareil. L'en-tête de la page de l'événement reste sombre :
   il est posé sur l'affiche (mpv-tete--univers). Le menu de app. et private. reste sombre
   (mpv-menu--sombre), comme leurs écrans.
   Safari 14+, Chrome, Edge, Firefox. Aucun style écrit dans les pages (CSP). */

/* ---------- les couleurs : DA v4, § 3.1 ---------- */
:root {
  --mpv-fond: #FFFFFF; --mpv-surface: #FFFFFF; --mpv-surface-2: #F7F4F5;
  --mpv-bordure: #E7E2E4; --mpv-bordure-forte: #857B7F;
  --mpv-texte: #171213; --mpv-texte-2: #5A5356;
  --mpv-action: #6E1728; --mpv-sur-action: #FFFFFF; --mpv-action-doux: #FEEBEB;
  --mpv-marque: #6E1728; --mpv-focus: #171213; --mpv-marque-ls: #141416;
  --mpv-voile: rgb(23 18 19 / 42%); --mpv-ombre: 0 0 48px rgb(23 18 19 / 18%);
  --mpv-logo-clair: block; --mpv-logo-sombre: none;
  --mpv-police-texte: 'Radio Canada MP', 'MP Secours Benin', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mpv-police-titre: 'Radio Canada MP Condensee', 'MP Secours Benin Condensee', 'Radio Canada MP', 'Arial Narrow', sans-serif;
}

[data-mode="sombre"], .mpv-tete--univers, .mpv-menu--sombre {
  --mpv-fond: #0E0B0C; --mpv-surface: #1A1517; --mpv-surface-2: #241D20;
  --mpv-bordure: #3A3034; --mpv-bordure-forte: #9B9095;
  --mpv-texte: #FFFFFF; --mpv-texte-2: #CBC3C6;
  --mpv-action: #FFFFFF; --mpv-sur-action: #171213; --mpv-action-doux: #241D20;
  --mpv-marque: #F0A6B3; --mpv-focus: #FFFFFF; --mpv-marque-ls: #F4EFE6;
  --mpv-voile: rgb(0 0 0 / 62%); --mpv-ombre: 0 0 48px rgb(0 0 0 / 55%);
  --mpv-logo-clair: none; --mpv-logo-sombre: block;
}
/* la page de l'événement : l'en-tête est posé sur le noir de l'affiche */
.mpv-tete--univers { --mpv-bordure-forte: #8D8F92; --mpv-texte-2: #CEC5C4; }

/* ---------- pièces communes ---------- */
/* le menu est hors des racines .mp du kit : il pose lui-même son modèle de boîte (sinon largeur + marges > écran) */
.mpv-tete, .mpv-tete *, .mpv-tete *::before, .mpv-tete *::after,
.mpv-menu, .mpv-menu *, .mpv-menu *::before, .mpv-menu *::after { box-sizing: border-box; }
.mpv-cache { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.mpv-picto { display: block; width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: butt; stroke-linejoin: miter; }
.mpv-picto--20 { width: 20px; height: 20px; }

.mpv-logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; border-radius: 4px; -webkit-tap-highlight-color: transparent; }
.mpv-logo img { width: 145px; height: 22px; max-width: none; }
.mpv-logo__clair { display: var(--mpv-logo-clair); }
.mpv-logo__sombre { display: var(--mpv-logo-sombre); }

.mpv-langue { display: inline-flex; flex: none; align-items: center; height: 44px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--mpv-bordure-forte); font: 700 13px/1 var(--mpv-police-texte); }
.mpv-langue__choix { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 4px; border-radius: 22px; color: var(--mpv-texte-2); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mpv-langue__choix span { padding: 3px 0; border-bottom: 2px solid transparent; }
.mpv-langue__choix[aria-current] { color: var(--mpv-texte); }
.mpv-langue__choix[aria-current] span { border-bottom-color: currentColor; }
.mpv-langue__choix:hover { color: var(--mpv-texte); }
.mpv-langue__barre { color: var(--mpv-bordure-forte); }

.mpv-bouton { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--mpv-texte); cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; }
.mpv-bouton:hover { background: var(--mpv-surface-2); }
.mpv-bouton:active { background: var(--mpv-bordure); }
.mpv-tete--univers .mpv-bouton:hover, .mpv-tete--univers .mpv-bouton:active { background: rgb(255 255 255 / 12%); }

.mpv-tete :focus-visible, .mpv-menu :focus-visible { outline: 2px solid var(--mpv-focus); outline-offset: 2px; }

/* ---------- l'en-tête ---------- */
.mpv-tete { position: relative; z-index: 20; color: var(--mpv-texte); }
.mpv-tete__int, .mpv-menu__tete {
  display: flex; align-items: center; gap: 4px;
  min-height: 64px; width: 100%; margin: 0 auto;
  padding: 0 max(8px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
}
.mpv-tete__int { max-width: 960px; }
.mpv-tete__int > .mpv-langue, .mpv-menu__tete > .mpv-langue, .ev-tete.mpv-tete > .mpv-langue { margin-right: 4px; }

/* ---------- le menu ---------- */
html.mpv-fige { overflow: hidden; }
/* Safari sur iPhone fait défiler la page sous un calque fixe : la page est figée à sa place. */
html.mpv-fige body { position: fixed; left: 0; right: 0; top: var(--mpv-haut, 0); overflow: hidden; }

.mpv-menu { position: fixed !important; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; display: flex; justify-content: flex-end; margin: 0; }
.mpv-menu[hidden] { display: none !important; }
/* le voile est un bouton (un simple bloc ne reçoit pas le « clic » d'un toucher dans Safari) */
.mpv-menu__voile { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--mpv-voile); cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; }
.mpv-menu__voile:focus { outline: none; }
.mpv-menu__panneau {
  position: relative; display: flex; flex-direction: column;
  width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--mpv-fond); color: var(--mpv-texte);
  font: 400 16px/1.5 var(--mpv-police-texte); text-align: left;
  -webkit-font-smoothing: antialiased;
}
.mpv-menu__panneau:focus { outline: none; }
.mpv-menu__corps { display: flex; flex-direction: column; gap: 24px; padding: 8px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.mpv-menu__liste { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mpv-menu__liste li { margin: 0; padding: 0; }
.mpv-menu__lien {
  display: flex; align-items: center; gap: 12px; min-height: 60px;
  border-bottom: 1px solid var(--mpv-bordure); color: var(--mpv-texte); text-decoration: none;
  font: 700 25px/1 var(--mpv-police-titre); text-transform: uppercase; letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}
.mpv-menu__repere { flex: none; width: 6px; height: 24px; background: transparent; }
.mpv-menu__lien[aria-current] .mpv-menu__repere { background: var(--mpv-marque); }
.mpv-menu__lien:hover, .mpv-menu__lien:focus-visible { color: var(--mpv-marque); }
.mpv-menu__lien:hover .mpv-menu__repere { background: var(--mpv-bordure-forte); }
.mpv-menu__lien[aria-current]:hover .mpv-menu__repere { background: var(--mpv-marque); }

.mpv-menu__bloc { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.mpv-etiquette { margin: 0; color: var(--mpv-texte-2); font: 700 13px/1.1 var(--mpv-police-texte); letter-spacing: 0.12em; text-transform: uppercase; }
.mpv-menu__carte { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--mpv-surface-2); color: var(--mpv-texte); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mpv-menu__carte:hover { box-shadow: inset 0 0 0 1px var(--mpv-bordure-forte); }
.mpv-menu__carte img { flex: none; display: block; width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: #050101; }
.mpv-menu__carte-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mpv-menu__carte-texte b { font: 700 25px/1 var(--mpv-police-titre); text-transform: uppercase; }
.mpv-menu__carte-texte span { color: var(--mpv-texte-2); font-size: 13px; line-height: 20px; }

.mpv-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.mpv-puce {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 16px;
  border: 0; border-radius: 16px; background: var(--mpv-surface); color: var(--mpv-texte);
  box-shadow: inset 0 0 0 1.5px var(--mpv-bordure-forte);
  font: 700 13px/1.2 var(--mpv-police-texte); white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none;
}
.mpv-puce[aria-pressed="true"] { background: var(--mpv-action-doux); box-shadow: inset 0 0 0 2px var(--mpv-action); }

.mpv-menu__pied { margin-top: auto; padding: 32px max(16px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.mpv-mention { display: inline-flex; border-radius: 8px; color: var(--mpv-texte-2); text-decoration: none; }
.mpv-mention .mp-mention-ls { display: flex; align-items: center; gap: 16px; font-size: 13px; line-height: 20px; color: var(--mpv-texte-2); }
.mpv-mention .mp-mention-ls svg { flex: none; width: 31.2px; height: 32px; color: var(--mpv-marque-ls); }
.mpv-mention .mp-mention-ls b { font-weight: 700; color: var(--mpv-texte); }

/* l'arrivée du menu : un glissé bref, coupé si l'appareil demande moins d'animations */
@keyframes mpv-glisse { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mpv-fondu { from { opacity: 0; } to { opacity: 1; } }
.mpv-menu:not([hidden]) .mpv-menu__panneau { animation: mpv-glisse 180ms cubic-bezier(0.2, 0, 0, 1); }
.mpv-menu:not([hidden]) .mpv-menu__voile { animation: mpv-fondu 180ms linear; }
@media (prefers-reduced-motion: reduce) {
  .mpv-menu:not([hidden]) .mpv-menu__panneau, .mpv-menu:not([hidden]) .mpv-menu__voile { animation: none; }
}

/* tablette et ordinateur : un volet à droite, la page reste visible sous un voile */




/* Miivâ Pass, v3 : ce que l'accueil et la page de l'événement partagent.
   Le langage des billets : aplat à grain, cadre intérieur, perforation pointillée à encoches,
   talon clair. Couleurs de l'événement : rouge du billet #520D1B (papier #EEECE8 : contraste 12,3:1), accent #DC3140,
   argent #C9C9CB, noir #050101, papier #EEECE8. */

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

.v3-mini .mp-picto, .v3-rond .mp-picto, .v3-billet .mp-picto {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.v3-mini .mp-picto path[d^="M6 4L18"] { fill: currentColor; }

/* le grain du papier */
.v3-grain { position: relative; isolation: isolate; }
.v3-grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/v5/grain.dd8244839d.png); opacity: 0.2; mix-blend-mode: multiply;
}

/* libellés et valeurs des billets */
.v3-ticket__lib {
  display: block; font: 700 11px/1 'Radio Canada MP', 'MP Secours Benin', system-ui, sans-serif;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.78;
}
.v3-ticket__val {
  display: block; margin-top: 5px;
  font: 700 26px/0.95 'Radio Canada MP Condensee', 'MP Secours Benin Condensee', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
}
.v3-ticket__script { font-family: "MP Pinceau", cursive; font-weight: 400; text-transform: none; }
.v3-ticket__cote {
  position: absolute; top: 50%; right: 21px; margin: 0; transform: translateY(-50%); writing-mode: vertical-rl;
  font: 700 10px/1 'Radio Canada MP', 'MP Secours Benin', system-ui, sans-serif; letter-spacing: 0.24em; opacity: 0.6;
}

/* ---------- le petit billet : un bouton (le talon porte l'action) ---------- */
.v3-mini {
  --haut: #050101; --encre: #FFFFFF; --talon: 52px;
  display: grid; grid-template-rows: 1fr var(--talon); min-height: 136px; padding: 0; overflow: hidden;
  border: 0; border-radius: 20px; cursor: pointer; text-align: left; text-decoration: none;
  font: inherit; color: #1A0306; background: #EEECE8;
  -webkit-mask:
    radial-gradient(circle 9px at 0 calc(100% - var(--talon)), #0000 8.5px, #000 9px) left / 51% 100% no-repeat,
    radial-gradient(circle 9px at 100% calc(100% - var(--talon)), #0000 8.5px, #000 9px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 9px at 0 calc(100% - var(--talon)), #0000 8.5px, #000 9px) left / 51% 100% no-repeat,
    radial-gradient(circle 9px at 100% calc(100% - var(--talon)), #0000 8.5px, #000 9px) right / 51% 100% no-repeat;
}
.v3-mini__haut { display: grid; align-content: start; gap: 8px; padding: 15px 16px; background: var(--haut); color: var(--encre); }
.v3-mini__sur {
  font: 700 11px/1 'Radio Canada MP', 'MP Secours Benin', system-ui, sans-serif;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.78;
}
.v3-mini__val { font: 700 26px/0.95 'Radio Canada MP Condensee', 'MP Secours Benin Condensee', 'Arial Narrow', sans-serif; text-transform: uppercase; overflow-wrap: anywhere; }
.v3-mini__talon {
  display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; white-space: nowrap;
  border-top: 2px dotted rgb(26 3 6 / 0.5); background: #EEECE8; color: #1A0306;
  font: 700 14px/1 'Radio Canada MP Condensee', 'MP Secours Benin Condensee', 'Arial Narrow', sans-serif;
  letter-spacing: 0.03em; text-transform: uppercase; transition: background-color 0.15s;
}
.v3-mini__talon .mp-picto { width: 17px; height: 17px; }
.v3-mini--noir { --haut: #050101; --encre: #FFFFFF; }
.v3-mini--argent { --haut: #C9C9CB; --encre: #1A0306; }
.v3-mini:hover .v3-mini__talon { background: #FFFFFF; }
.v3-mini:active .v3-mini__talon { background: #E2DFDA; }
.v3-mini:focus-visible { outline: 3px solid #DC3140; outline-offset: 3px; }

/* ---------- message bref et menu de partage ---------- */
.v3-toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 90;
  transform: translateX(-50%); max-width: min(92vw, 420px); padding: 13px 18px; border-radius: 12px;
  background: #171213; color: #FFFFFF; font: 700 14px/1.35 'Radio Canada MP', system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.v3-pop {
  position: absolute; z-index: 80; min-width: 230px; padding: 6px; border-radius: 14px; display: grid; gap: 2px;
  background: #171213; color: #FFFFFF; border: 1px solid rgb(255 255 255 / 0.12);
}
.v3-pop a, .v3-pop button {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px; border: 0;
  background: none; color: inherit; text-decoration: none; text-align: left; cursor: pointer;
  font: 700 14px/1 'Radio Canada MP', system-ui, sans-serif;
}
.v3-pop a:hover, .v3-pop button:hover, .v3-pop a:focus-visible, .v3-pop button:focus-visible { background: rgb(255 255 255 / 0.1); outline: none; }

/* MiivÃ¢ Pass, v3 : l'accueil (miivapass.com). La page garde les couleurs de la sociÃ©tÃ©, claire ou
   sombre ; les billets portent celles de l'Ã©vÃ©nement. */

/* ---------- l'agenda ---------- */
.v3-agenda {
  margin: 22px 0 0; padding: 18px 0 16px; border-radius: 24px;
  background: var(--mpv-surface-2); border: 1px solid var(--mpv-bordure);
}
.v3-agenda__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px 12px; }
.v3-agenda__mois {
  margin: 0; color: var(--mpv-texte);
  font: 700 30px/0.95 var(--mpv-police-titre); text-transform: uppercase;
}
.v3-agenda__actions { display: flex; flex: none; gap: 8px; align-items: center; }
.v3-puce {
  height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--mpv-bordure-forte); background: var(--mpv-surface); color: var(--mpv-texte);
  font: 700 14px/1 var(--mpv-police-texte);
}
.v3-puce:hover { border-color: var(--mpv-texte); }
.v3-rond {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--mpv-action); color: var(--mpv-sur-action);
}
.v3-rond:disabled { opacity: 0.3; cursor: default; }
.v3-puce:focus-visible, .v3-rond:focus-visible, .v3-j:focus-visible, .v3-g:focus-visible,
.v3-jour__suivant:focus-visible, .v3-ligne:focus-visible, .v3-ticket:focus-visible { outline: 3px solid var(--mpv-focus); outline-offset: 2px; }

/* la bande des jours : du 1er novembre 2026, sans fin */
.v3-bande {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
}
.v3-bande::-webkit-scrollbar { display: none; }
.v3-bande__liste {
  position: relative; display: flex; align-items: stretch; gap: 8px; width: max-content;
  margin: 0; padding: 4px 18px 8px; list-style: none;
}
.v3-bande__sep {
  display: flex; align-items: center; justify-content: center; padding: 0 2px 0 8px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  color: var(--mpv-marque); font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.1em; text-transform: uppercase;
}
.v3-j {
  scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 54px; height: 74px; padding: 0; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--mpv-bordure); background: var(--mpv-surface); color: var(--mpv-texte);
  font-family: var(--mpv-police-texte); transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.v3-j__sem { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--mpv-texte-2); }
.v3-j__num { font: 700 24px/1 var(--mpv-police-titre); }
.v3-j__point { width: 6px; height: 6px; border-radius: 50%; }
.v3-j:hover { border-color: var(--mpv-bordure-forte); }
.v3-j--passe { color: var(--mpv-texte-2); background: transparent; }
.v3-j--auj { border: 2px solid var(--mpv-texte); }
.v3-j--auj .v3-j__sem { color: var(--mpv-texte); }
.v3-j--evt .v3-j__point { background: var(--mpv-action); }
.v3-j[aria-pressed="true"] { background: var(--mpv-action); border-color: var(--mpv-action); color: var(--mpv-sur-action); }
.v3-j[aria-pressed="true"] .v3-j__sem { color: inherit; }
.v3-j--evt[aria-pressed="true"] .v3-j__point { background: currentColor; }

/* le calendrier du mois */
.v3-grille { margin: 6px 14px 4px; padding: 14px; border-radius: 18px; background: var(--mpv-surface); border: 1px solid var(--mpv-bordure); }
.v3-grille[hidden] { display: none; }
.v3-grille__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.v3-grille__mois { margin: 0; color: var(--mpv-texte); font: 700 21px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v3-rond--petit { width: 40px; height: 40px; background: var(--mpv-surface-2); color: var(--mpv-texte); }
.v3-grille__sem, .v3-grille__jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.v3-grille__sem span { padding: 6px 0; color: var(--mpv-texte-2); font: 700 11px/1 var(--mpv-police-texte); text-transform: uppercase; }
.v3-g {
  position: relative; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--mpv-texte); font: 700 15px/1 var(--mpv-police-texte);
}
.v3-g:hover { background: var(--mpv-surface-2); }
.v3-g--passe { color: var(--mpv-texte-2); }
.v3-g--auj { box-shadow: inset 0 0 0 2px var(--mpv-texte); }
.v3-g i { position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--mpv-action); transform: translateX(-50%); }
.v3-g[aria-pressed="true"] { background: var(--mpv-action); color: var(--mpv-sur-action); }
.v3-g[aria-pressed="true"] i { background: currentColor; }

/* le jour choisi */
.v3-jour { margin: 10px 18px 0; padding-top: 14px; border-top: 1px solid var(--mpv-bordure); }
.v3-jour__titre { margin: 0 0 8px; color: var(--mpv-texte); font: 700 20px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v3-jour__vide { margin: 0; color: var(--mpv-texte-2); font: 400 15px/1.45 var(--mpv-police-texte); }
.v3-jour__vide[hidden], .v3-jour__liste[hidden], .v3-jour__suivant[hidden] { display: none; }
.v3-jour__suivant {
  min-height: 44px; margin: 2px 0 0; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--mpv-marque); font: 700 15px/1.3 var(--mpv-police-texte);
  text-decoration: underline; text-underline-offset: 3px;
}
.v3-jour__liste { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v3-ligne {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none;
  background: var(--mpv-surface); border: 1px solid var(--mpv-bordure); color: var(--mpv-texte);
}
.v3-ligne:hover { border-color: var(--mpv-bordure-forte); }
.v3-ligne__heure { flex: none; min-width: 52px; font: 700 20px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v3-ligne__texte { display: grid; gap: 3px; }
.v3-ligne__texte b { font: 700 16px/1.2 var(--mpv-police-texte); }
.v3-ligne__texte span { color: var(--mpv-texte-2); font: 400 14px/1.3 var(--mpv-police-texte); }

/* ---------- Ã€ venir : chaque Ã©vÃ©nement en billet vertical ---------- */
.v3-avenir { margin-top: 34px; }
.v3-avenir__titre { margin: 0 0 14px; color: var(--mpv-texte); font: 700 26px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v3-avenir__item { display: grid; gap: 14px; max-width: 440px; }
.v3-avenir__item[hidden] { display: none; }

.v3-ticket {
  --talon: 132px;
  display: grid; grid-template-rows: 1fr var(--talon); min-height: 520px; overflow: hidden;
  border-radius: 26px; text-decoration: none; color: #1A0306; background: #EEECE8;
  -webkit-mask:
    radial-gradient(circle 13px at 0 calc(100% - var(--talon)), #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% calc(100% - var(--talon)), #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 calc(100% - var(--talon)), #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% calc(100% - var(--talon)), #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
}
.v3-ticket__haut {
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 18px;
  padding: 30px 48px 28px 30px; background: #520D1B; color: #EEECE8;
}
.v3-ticket__haut::before {
  content: ""; position: absolute; inset: 12px; border: 1.5px solid rgb(26 3 6 / 0.3); border-radius: 16px; pointer-events: none;
}
.v3-ticket__haut::after, .v3-ticket__talon::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/v5/grain.dd8244839d.png); opacity: 0.22; mix-blend-mode: multiply;
}
.v3-ticket__sur {
  font: 700 11px/1.2 var(--mpv-police-texte); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8;
}
.v3-ticket__titre { display: grid; margin-top: 4px; }
/* le lettrage de l'affiche : fond noir fondu dans le bordeaux du billet */
.v3-ticket__lettrage {
  display: block; width: min(100%, 330px); height: auto;
  margin: 4px 0 6px; mix-blend-mode: screen;
}
.v3-ticket__champs { display: grid; grid-template-columns: 1fr auto; gap: 16px 18px; margin-top: 6px; }
.v3-ticket__champs > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
.v3-ticket__pied {
  margin-top: auto; font: 700 11px/1.3 var(--mpv-police-texte); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75;
}
.v3-ticket__talon {
  position: relative; isolation: isolate; display: grid; place-content: center; justify-items: center; gap: 6px;
  border-top: 2px dotted rgb(26 3 6 / 0.55); background: #EEECE8; text-align: center;
}
.v3-ticket__entree { font: 700 12px/1 var(--mpv-police-texte); letter-spacing: 0.22em; text-transform: uppercase; }
.v3-ticket__prix { font: 700 40px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v3-ticket__mono { font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.v3-ticket:hover .v3-ticket__talon { background: #FFFFFF; }

.v3-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }





/* ============================================================================
   Miivâ Pass — design v5 de l'accueil (maquette à valider, 19/11/2026)
   Principe : « tout est billet », poussé à l'échelle de la page.
   Couleurs : celles de la DA v4, sans en inventer.
   ========================================================================== */
.v5 {
  --v5-nuit: #050101; --v5-papier: #EEECE8; --v5-encre: #1A0306; --v5-encre-2: #5A4B4D;
  --v5-billet: #520D1B; --v5-accent: #DC3140; --v5-argent: #C9C9CB;
  --v5-guilloche: rgb(110 23 40 / 0.16); --v5-sceau: #6E1728;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--mpv-fond); color: var(--mpv-texte);
  font: 400 16px/1.5 var(--mpv-police-texte); -webkit-font-smoothing: antialiased;
}
.v5[data-mode="sombre"] { --v5-guilloche: rgb(255 255 255 / 0.2); --v5-sceau: #FFFFFF; }
.v5 h1, .v5 h2, .v5 h3, .v5 p, .v5 ul { margin: 0; }
.v5 ul { padding: 0; list-style: none; }

/* ---------- le fond : le guillochis des billets de sécurité, dans les flancs ---------- */
.v5-g {
  position: absolute; z-index: -1; width: 1040px; height: 1040px; pointer-events: none;
  background: var(--v5-guilloche);
  -webkit-mask: url(/assets/v5/guilloche.94cabb074c.svg) center / contain no-repeat; mask: url(/assets/v5/guilloche.94cabb074c.svg) center / contain no-repeat;
}
.v5-pc .v5-g--d { top: -372px; right: -400px; }
.v5-pc .v5-g--g { top: 610px; left: -700px; }
.v5-mob .v5-g { width: 660px; height: 660px; }
.v5-mob .v5-g--d { top: -268px; right: -372px; }
.v5-mob .v5-g--g { top: auto; bottom: -392px; left: -392px; }
.v5-mob { --v5-guilloche: rgb(110 23 40 / 0.26); }
.v5-mob[data-mode="sombre"] { --v5-guilloche: rgb(255 255 255 / 0.3); }

/* ---------- le gabarit ---------- */
/* la page d'ordinateur est fluide : 1180 px au plus, 32 px de marge au moins ; sous 1100 px, c'est la mise en page du téléphone */
.v5-pc { min-width: 1100px; }
.v5-pc .v5-large { width: min(1180px, calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.v5-mob .v5-large { margin-left: 16px; margin-right: 16px; }

/* ---------- l'en-tête ---------- */
.v5-tete { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.v5-pc .v5-tete { width: min(1180px, calc(100% - 64px)); margin: 0 auto; min-height: 84px; }
.v5-mob .v5-tete { padding: 0 8px 0 16px; gap: 4px; }
.v5-tete .mpv-logo { margin-right: auto; }
.v5-nav { display: flex; align-items: center; gap: 2px; margin-right: 14px; }
.v5-nav a {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: 22px; color: var(--mpv-texte); text-decoration: none;
  font: 700 15px/1 var(--mpv-police-texte);
}
.v5-nav a[aria-current]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; background: var(--mpv-marque);
}
.v5-nav a:hover { background: var(--mpv-surface-2); }
.v5-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.v5-mob .v5-nav { display: none; }

/* ---------- la tête de page ---------- */
.v5-titre-page { display: flex; flex-direction: column; gap: 8px; }
.v5-pc .v5-titre-page { margin-top: 26px; }
.v5-mob .v5-titre-page { margin-top: 24px; }
.v5 .mp2-titre { font: 700 49px/0.95 var(--mpv-police-titre); letter-spacing: -0.02em; text-transform: uppercase; color: var(--mpv-texte); }
.v5-pc .mp2-titre { font-size: 76px; }
.v5 .mp2-marque { color: var(--mpv-marque); }

/* ---------- l'agenda sur grand écran : un grand billet horizontal ----------
   La souche : le calendrier du mois, toujours ouvert. Le talon de papier : le jour choisi. */
.v5-agenda {
  position: relative; display: grid; grid-template-columns: 404px minmax(0, 1fr); margin-top: 30px;
  border: 1px solid var(--mpv-bordure); border-radius: 26px; background: var(--mpv-surface);
}
/* les deux encoches de la perforation */
.v5-agenda::before, .v5-agenda::after {
  content: ""; position: absolute; left: 392px; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mpv-fond); border: 1px solid var(--mpv-bordure);
}
.v5-agenda::before { top: -13px; clip-path: inset(50% -2px -2px -2px); }
.v5-agenda::after { bottom: -13px; clip-path: inset(-2px -2px 50% -2px); }

.v5-cal { padding: 22px 22px 18px; }
.v5-cal__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.v5-cal__tete .mp4-label { color: var(--mpv-texte-2); }
.v5-cal .v3-grille { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.v5-cal .v3-grille__tete { margin-bottom: 12px; }
.v5-cal .v3-grille__mois { font-size: 26px; }
.v5-cal .v3-g { font-size: 16px; border-radius: 12px; }
.v5-cal__legende {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--mpv-bordure); color: var(--mpv-texte-2); font: 400 13px/1.2 var(--mpv-police-texte);
}
.v5-cal__legende .v5-sym { width: 15px; }

/* le talon : le jour choisi, sur le rouge du billet (clair comme sombre) */
.v5-jour {
  --mpv-texte: #1A0306; --mpv-texte-2: #5A4B4D; --mpv-bordure: transparent; --mpv-bordure-forte: #857B7F;
  --mpv-surface: #EEECE8; --mpv-marque: #6E1728; --mpv-focus: #EEECE8;
  position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: 48px; align-items: center; padding: 40px 72px 44px 56px;
  border-left: 2px dotted rgb(238 236 232 / 0.45); border-radius: 0 25px 25px 0;
  background: var(--v5-billet); color: var(--v5-papier);
}
.v5-jour::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: url(/assets/v5/grain.dd8244839d.png); opacity: 0.22; mix-blend-mode: multiply;
}
.v5-jour__titre { font: 700 58px/0.92 var(--mpv-police-titre); text-transform: uppercase; }
.v5-jour__vide { margin-top: 10px; color: rgb(238 236 232 / 0.86); font: 400 18px/1.45 var(--mpv-police-texte); }
.v5-cote {
  position: absolute; top: 50%; right: 22px; transform: translateY(-50%); writing-mode: vertical-rl;
  font: 700 10px/1 var(--mpv-police-texte); letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.55;
}

/* l'éphéméride : la feuille du jour, sur son bloc */
.v5-eph {
  position: relative; display: grid; justify-items: center; width: 184px; padding-bottom: 20px;
  border-radius: 14px; background: #FFFFFF; color: var(--v5-encre);
  box-shadow: 0 0 0 1px rgb(26 3 6 / 0.14),
    0 5px 0 -1px #FFFFFF, 0 5px 0 0 rgb(26 3 6 / 0.14),
    0 10px 0 -2px #FFFFFF, 0 10px 0 -1px rgb(26 3 6 / 0.12);
}
.v5-eph::before, .v5-eph::after {
  content: ""; position: absolute; top: -8px; width: 6px; height: 18px; border-radius: 3px; background: var(--v5-papier);
}
.v5-eph::before { left: 44px; }
.v5-eph::after { right: 44px; }
.v5-eph__sem {
  width: 100%; padding: 14px 0 11px; border-radius: 14px 14px 0 0; background: var(--v5-encre); color: var(--v5-papier);
  text-align: center; font: 700 12px/1 var(--mpv-police-texte); letter-spacing: 0.2em; text-transform: uppercase;
}
.v5-eph__num { margin-top: 14px; font: 700 124px/0.84 var(--mpv-police-titre); letter-spacing: -0.02em; }
.v5-eph__mois { margin-top: 12px; color: var(--v5-encre-2); font: 700 12px/1 var(--mpv-police-texte); letter-spacing: 0.16em; text-transform: uppercase; }

/* « Prochain » : un billet qu'on suit */
.v5-proch {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 18px;
  width: 100%; max-width: 520px; margin-top: 24px; padding: 19px 20px 19px 30px;
  border: 0; border-radius: 18px; background: var(--v5-papier); color: var(--v5-encre);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer;
  -webkit-mask:
    radial-gradient(circle 9px at 0 50%, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at 100% 50%, #0000 8.5px, #000 9px);
  mask:
    radial-gradient(circle 9px at 0 50%, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at 100% 50%, #0000 8.5px, #000 9px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-proch__sur { display: block; font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.v5-proch__titre { display: block; margin-top: 8px; font: 700 34px/0.95 var(--mpv-police-titre); text-transform: uppercase; }
.v5-proch__date { display: block; margin-top: 6px; font: 400 14px/1.3 var(--mpv-police-texte); opacity: 0.92; }
.v5-proch__fleche {
  display: grid; place-items: center; width: 44px; height: 44px; margin-right: 6px; border-radius: 50%;
  background: var(--v5-billet); color: var(--v5-papier);
}
.v5-proch__fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.v5-proch:focus-visible { outline: 3px solid var(--v5-papier); outline-offset: 3px; }

/* un jour avec événement : la ligne de l'événement, sur le talon */
.v5-jour .v3-ligne { margin-top: 22px; max-width: 520px; padding: 14px 16px; border-radius: 16px; }
.v5-jour .v3-ligne__heure { font-size: 26px; min-width: 64px; }
.v5-jour .v3-ligne__texte b { font: 700 24px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-ligne__fleche { margin-left: auto; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------- la scène « À venir » : la nuit de l'affiche traverse la page ---------- */
.v5-scene {
  --mpv-texte: #FFFFFF; --mpv-texte-2: #CBC3C6; --mpv-bordure: #3A3034; --mpv-bordure-forte: #9B9095;
  --mpv-surface: #1A1517; --mpv-surface-2: #241D20; --mpv-action: #FFFFFF; --mpv-sur-action: #171213;
  --mpv-marque: #F0A6B3; --mpv-focus: #FFFFFF;
  position: relative; isolation: isolate; color: #FFFFFF;
  background: radial-gradient(86% 72% at 20% 112%, rgb(110 23 40 / 0.55), rgb(110 23 40 / 0) 64%), var(--v5-nuit);
  /* les deux bords dentelés : la scène est un coupon détaché */
  -webkit-mask:
    radial-gradient(circle 7px at 11px 0, #0000 6.5px, #000 7px) 0 0 / 22px 100% repeat-x,
    radial-gradient(circle 7px at 11px 100%, #0000 6.5px, #000 7px) 0 100% / 22px 100% repeat-x;
  mask:
    radial-gradient(circle 7px at 11px 0, #0000 6.5px, #000 7px) 0 0 / 22px 100% repeat-x,
    radial-gradient(circle 7px at 11px 100%, #0000 6.5px, #000 7px) 0 100% / 22px 100% repeat-x;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-pc .v5-scene { margin-top: 64px; padding: 66px 0 78px; }
.v5-mob .v5-scene { margin-top: 36px; padding: 44px 0 52px; }
.v5-scene__titre { display: flex; align-items: baseline; gap: 14px; font: 700 26px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-pc .v5-scene__titre { margin-bottom: 28px; font-size: 38px; }
.v5-mob .v5-scene__titre { margin-bottom: 18px; }
.v5-scene__titre span { color: var(--v5-argent); font: 700 12px/1 var(--mpv-police-texte); letter-spacing: 0.16em; }

.v5-evt { display: grid; gap: 22px; }
.v5-pc .v5-evt { grid-template-columns: 420px minmax(0, 1fr); column-gap: 60px; align-items: stretch; }
.v5-volet { display: grid; gap: 22px; }
.v5-pc .v5-volet { grid-template-rows: minmax(0, 1fr) auto; row-gap: 30px; }
.v5-mob .v5-volet { display: contents; }
.v5-mob .v5-compte { order: -1; }
.v5 .v3-ticket__lettrage { width: min(100%, 330px); }
.v5-pc .v3-ticket__lettrage { width: 340px; }
.v5 .v3-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v5-pc .v3-boutons { gap: 18px; }
.v5-scene .v3-mini--noir .v3-mini__haut, .v5-prog .v3-mini--noir .v3-mini__haut { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); border-radius: 20px 20px 0 0; }

/* ---------- le compte à rebours : la billetterie de l'événement, en grand ---------- */
.v5-compte { display: grid; justify-items: start; gap: 14px; }
.v5-pc .v5-compte { align-self: center; gap: 18px; }
.v5-pill {
  display: inline-block; padding: 8px 12px 7px; background: var(--v5-accent); color: #FFFFFF;
  font: 700 12px/1 var(--mpv-police-texte); letter-spacing: 0.22em; text-transform: uppercase;
}
.v5-compte__titre { font: 700 30px/0.95 var(--mpv-police-titre); text-transform: uppercase; }
.v5-pc .v5-compte__titre { font-size: 46px; }
.v5-compte__grille {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%;
  border-top: 2px dotted rgb(238 236 232 / 0.32); border-bottom: 2px dotted rgb(238 236 232 / 0.32);
}
.v5-compte__grille li { display: grid; justify-items: center; gap: 8px; padding: 16px 4px 13px; overflow: hidden; }
.v5-pc .v5-compte__grille li { gap: 12px; padding: 26px 6px 20px; }
.v5-compte__grille li + li { border-left: 2px dotted rgb(238 236 232 / 0.32); }
.v5-compte__grille b {
  display: block; color: var(--v5-papier); font: 700 58px/0.8 var(--mpv-police-titre);
  font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.v5-pc .v5-compte__grille b { font-size: 116px; }
.v5-compte__grille span { color: var(--v5-argent); font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.2em; text-transform: uppercase; }
.v5-pc .v5-compte__grille span { font-size: 12px; letter-spacing: 0.22em; }
.v5-compte__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; width: 100%; }
.v5-compte__dit { color: #CBC3C6; font: 400 15px/1.4 var(--mpv-police-texte); }
.v5-pc .v5-compte__dit { font-size: 17px; }
.v5-lien {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 22px;
  box-shadow: inset 0 0 0 1.5px rgb(238 236 232 / 0.72); color: #FFFFFF; text-decoration: none;
  font: 700 14px/1 var(--mpv-police-texte);
}
.v5-pc .v5-lien { margin-left: auto; }
.v5-lien svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
/* le chiffre qui change tombe en place (coupé si l'appareil demande moins d'animations) */
@keyframes v5-tic-a { from { transform: translateY(-22%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes v5-tic-b { from { transform: translateY(-22%); opacity: 0; } to { transform: none; opacity: 1; } }
.v5-tic-a { animation: v5-tic-a 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.v5-tic-b { animation: v5-tic-b 220ms cubic-bezier(0.16, 1, 0.3, 1); }
@media (prefers-reduced-motion: reduce) { .v5-tic-a, .v5-tic-b { animation: none; } }

/* la billetterie ouverte : le tampon */
.v5-ouverte { display: grid; justify-items: start; gap: 18px; }
.v5-ouverte__mot { font: 700 64px/0.86 var(--mpv-police-titre); text-transform: uppercase; color: var(--v5-papier); }
.v5-pc .v5-ouverte__mot { font-size: 132px; }
.v5-pill--ouverte { background: var(--v5-papier); color: var(--v5-encre); }
.v5-lien--plein { box-shadow: none; background: var(--v5-papier); color: var(--v5-encre); margin-left: 0 !important; min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 26px; }

/* ---------- passés, pied ---------- */
.v5-passes { display: flex; flex-direction: column; gap: 10px; }
.v5-pc .v5-passes { margin-top: 44px; flex-direction: row; align-items: baseline; gap: 22px; }
.v5-mob .v5-passes { margin-top: 30px; }
.v5 .mp2-sous-titre { color: var(--mpv-texte-2); font: 400 16px/1.5 var(--mpv-police-texte); }
.v5 .mp2-pied { margin-top: 0; padding: 40px 16px 44px; display: flex; justify-content: center; }
.v5 .mp2-pied__ls { color: var(--mpv-texte-2); text-decoration: none; }
.v5 .mp-mention-ls { display: flex; align-items: center; gap: 16px; font-size: 13px; line-height: 20px; color: var(--mpv-texte-2); }
.v5 .mp-mention-ls svg { flex: none; width: 31.2px; height: 32px; color: var(--mpv-marque-ls); }
.v5 .mp-mention-ls b { font-weight: 700; color: var(--mpv-texte); }


/* ---------- le menu : « Pour quel événement ? » ---------- */
.v5-menu {
  --mpv-m: 24px;
  display: flex; flex-direction: column; background: var(--mpv-fond); color: var(--mpv-texte);
  font: 400 16px/1.5 var(--mpv-police-texte);
}
.v5-menu .mpv-menu__tete { max-width: none; padding: 0 16px 0 24px; }
.v5-menu .mpv-menu__corps { padding: 8px 24px 0; }
.v5-menu .mpv-menu__pied { padding: 32px 24px; }
.v5-service > summary { list-style: none; cursor: pointer; }
.v5-service > summary::-webkit-details-marker { display: none; }
.v5-service__chevron { margin-left: auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.v5-service[open] .v5-service__chevron { transform: rotate(180deg); }
.v5-service__corps { display: grid; gap: 10px; padding: 14px 0 18px 18px; border-bottom: 1px solid var(--mpv-bordure); }
.v5-service[open] > summary { border-bottom-color: transparent; }
.v5-service__q { color: var(--mpv-texte-2); font: 700 13px/1.1 var(--mpv-police-texte); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- l'image d'aperçu du lien miivapass.com (1200 × 630) ---------- */
.v5-apercu {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  width: 1200px; height: 630px; padding: 64px 72px 60px; box-sizing: border-box;
  background: radial-gradient(70% 90% at 88% 118%, rgb(110 23 40 / 0.7), rgb(110 23 40 / 0) 66%), #050101; color: #FFFFFF;
  font-family: 'Radio Canada MP', system-ui, sans-serif;
}
.v5-apercu .v5-g { width: 900px; height: 900px; top: -150px; right: -330px; background: rgb(110 23 40 / 0.75); }
.v5-apercu__titre { font: 700 118px/0.88 'Radio Canada MP Condensee', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: -0.01em; }
.v5-apercu__sous { margin-top: 22px; color: #CBC3C6; font: 400 30px/1.3 'Radio Canada MP', system-ui, sans-serif; }
.v5-apercu__pied { display: flex; align-items: center; justify-content: space-between; color: #C9C9CB; font: 700 20px/1 'Radio Canada MP', system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- variante : le talon du jour sur papier ---------- */
.v5-jour--papier {
  --mpv-surface: #FFFFFF; --mpv-bordure: rgb(26 3 6 / 0.16); --mpv-focus: #1A0306;
  border-left-color: rgb(26 3 6 / 0.45); background: var(--v5-papier); color: var(--v5-encre);
}
.v5-jour--papier::after { opacity: 0.1; }
.v5-jour--papier .v5-jour__vide { color: var(--v5-encre-2); }
.v5-jour--papier .v5-eph::before, .v5-jour--papier .v5-eph::after { background: var(--v5-encre); }
.v5-jour--papier .v5-eph__sem { background: var(--v5-billet); }
.v5-jour--papier .v5-proch { background: var(--v5-billet); color: var(--v5-papier); }
.v5-jour--papier .v5-proch__fleche { background: var(--v5-papier); color: var(--v5-encre); }

/* ---------- le téléphone : l'agenda est le même billet, debout ---------- */
.v5-mob .v3-agenda { margin: 22px 16px 0; padding: 18px 0 0; overflow: hidden; }
.v5-mob .v3-bande { overflow: hidden; }
.v5-mob .v3-bande__liste { transform: translateX(-114px); }
.v5-mob .v5-jour {
  display: block; margin-top: 12px; padding: 22px 20px 24px; border-left: 0; border-top: 2px dotted rgb(238 236 232 / 0.45);
  border-radius: 0;
  -webkit-mask:
    radial-gradient(circle 9px at 0 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at 100% 0, #0000 8.5px, #000 9px);
  mask:
    radial-gradient(circle 9px at 0 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at 100% 0, #0000 8.5px, #000 9px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-mob .v5-jour__titre { font-size: 34px; }
.v5-mob .v5-jour__vide { margin-top: 6px; font-size: 16px; }
.v5-mob .v5-proch { margin-top: 16px; padding: 14px 12px 14px 22px; }
.v5-mob .v5-proch__titre { font-size: 26px; }
.v5-mob .v5-cote { display: none; }

/* le fond de la page reste celui de la racine du cadre */
body { background: transparent; }

/* ============================================================================
   Tour 2 (19/11/2026, 7 h) : les signes de Miivâ Pass, la tablette, le menu, le chargement
   ========================================================================== */

/* ---------- le symbole Miivâ, en repère : jamais de point ---------- */
.v5-sym { display: block; flex: none; width: 13px; height: auto; }
.v5-sym__b { fill: #B45700; }
.v5-sym__c { fill: #6E1728; }
.v5-sym__h { fill: #2D1A10; }
[data-mode="sombre"] .v5-sym__b { fill: #F8842D; }
[data-mode="sombre"] .v5-sym__c { fill: #FEEADB; }
[data-mode="sombre"] .v5-sym__h { fill: #FBC49E; }
.v5 .v5-sym--mono path, .v5 [aria-pressed="true"] .v5-sym path { fill: currentColor; }
.v3-g .v5-sym { position: absolute; left: 50%; bottom: 4px; width: 12px; margin-left: -6px; }
.v3-j .v5-sym { width: 12px; margin: -2px 0 -3px; }

/* ---------- le sceau : le symbole au cœur de la rosace (ordinateur) ---------- */
.v5-sceau { position: absolute; z-index: -1; display: none; color: var(--v5-sceau); opacity: 0.3; pointer-events: none; }
.v5-pc .v5-sceau { display: block; top: 101px; right: 63px; width: 104px; }
.v5-sceau .v5-sym { width: 100%; }

/* ---------- le talon de menu : le bouton est un talon de billet ---------- */
.v5 .v5-talon-menu {
  display: inline-grid; place-items: center; flex: none; height: 44px; min-width: 78px; margin: 0; padding: 0 19px; border: 0;
  border-radius: 11px; background: var(--mpv-action); color: var(--mpv-sur-action); text-decoration: none; cursor: pointer;
  font: 700 15px/1 var(--mpv-police-titre); letter-spacing: 0.12em; text-indent: 0.12em; text-transform: uppercase;
  -webkit-mask:
    radial-gradient(circle 6px at 0 50%, #0000 5.5px, #000 6px),
    radial-gradient(circle 6px at 100% 50%, #0000 5.5px, #000 6px);
  mask:
    radial-gradient(circle 6px at 0 50%, #0000 5.5px, #000 6px),
    radial-gradient(circle 6px at 100% 50%, #0000 5.5px, #000 6px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-pc .v5-talon-menu { margin-left: 10px; }
.v5-mob .v5-talon-menu { margin-left: 2px; margin-right: 4px; }

/* ---------- la tablette : 700 à 1099 px ---------- */
.v5-tab .v5-large, .v5-tab .v5-tete { width: calc(100% - 64px); margin-left: auto; margin-right: auto; }
.v5-tab .v5-tete { min-height: 76px; }
.v5-tab .v5-nav { display: none; }
.v5-tab .v5-talon-menu { margin-left: 8px; }
.v5-tab .v5-titre-page { margin-top: 22px; }
.v5-tab .mp2-titre { font-size: 61px; }
.v5-tab .v5-g { width: 900px; height: 900px; }
.v5-tab .v5-g--d { top: -340px; right: -440px; }
.v5-tab .v5-g--g { top: 560px; left: -660px; }
.v5-tab { --v5-guilloche: rgb(110 23 40 / 0.2); }
.v5-tab[data-mode="sombre"] { --v5-guilloche: rgb(255 255 255 / 0.24); }
.v5-tab .v5-agenda { margin-top: 26px; grid-template-columns: 318px minmax(0, 1fr); }
.v5-tab .v5-agenda::before, .v5-tab .v5-agenda::after { left: 306px; }
.v5-tab .v5-cal { padding: 18px 16px 14px; }
.v5-tab .v5-cal__tete { margin-bottom: 10px; }
.v5-tab .v5-cal .v3-grille__mois { font-size: 21px; }
.v5-tab .v5-cal .v3-g { font-size: 15px; }
.v5-tab .v5-cal__legende { font-size: 12px; }
.v5-tab .v5-jour { column-gap: 18px; row-gap: 0; align-content: center; padding: 28px 44px 30px 28px; }
.v5-tab .v5-jour > div:not(.v5-eph) { display: contents; }
.v5-tab .v5-eph { grid-row: 1 / span 2; align-self: center; width: 104px; padding-bottom: 12px; }
.v5-tab .v5-eph::before { left: 26px; }
.v5-tab .v5-eph::after { right: 26px; }
.v5-tab .v5-eph__sem { padding: 10px 0 8px; font-size: 11px; }
.v5-tab .v5-eph__num { margin-top: 10px; font-size: 68px; }
.v5-tab .v5-eph__mois { margin-top: 8px; font-size: 10px; }
.v5-tab .v5-jour__titre { align-self: end; font-size: 34px; }
.v5-tab .v5-jour__vide { align-self: start; margin-top: 6px; font-size: 15px; }
.v5-tab .v5-proch, .v5-tab .v5-jour .v3-ligne { grid-column: 1 / -1; max-width: none; margin-top: 22px; }
.v5-tab .v5-proch { padding: 16px 14px 16px 24px; }
.v5-tab .v5-proch__titre { font-size: 25px; }
.v5-tab .v5-cote { right: 16px; }
.v5-tab .v5-scene { margin-top: 48px; padding: 56px 0 64px; }
.v5-tab .v5-scene__titre { margin-bottom: 22px; font-size: 32px; }
.v5-tab .v5-evt { grid-template-columns: 310px minmax(0, 1fr); column-gap: 36px; align-items: stretch; }
.v5-tab .v5-volet { grid-template-rows: minmax(0, 1fr) auto; row-gap: 24px; }
.v5-tab .v3-ticket { min-height: 500px; }
.v5-tab .v3-ticket__haut { padding: 26px 44px 24px 26px; }
.v5-tab .v3-ticket__cote { right: 18px; }
.v5-tab .v5-compte { align-self: center; gap: 14px; }
.v5-tab .v5-compte__titre { font-size: 32px; }
.v5-tab .v5-compte__grille li { gap: 9px; padding: 18px 2px 14px; }
.v5-tab .v5-compte__grille b { font-size: 66px; }
.v5-tab .v5-compte__dit { font-size: 15px; }
.v5-tab .v5-ouverte__mot { font-size: 88px; }
.v5-tab .v3-mini__val { font-size: 24px; }
.v5-tab .v3-mini__talon { font-size: 13px; gap: 6px; }
.v5-tab .v5-passes { margin-top: 36px; flex-direction: row; align-items: baseline; gap: 18px; }
/* la tablette couchée : 900 à 1099 px */
.v5-tab--paysage .v5-agenda { grid-template-columns: 372px minmax(0, 1fr); }
.v5-tab--paysage .v5-agenda::before, .v5-tab--paysage .v5-agenda::after { left: 360px; }
.v5-tab--paysage .v5-cal { padding: 20px 20px 16px; }
.v5-tab--paysage .v5-cal .v3-grille__mois { font-size: 24px; }
.v5-tab--paysage .v5-jour { column-gap: 32px; padding: 34px 62px 38px 44px; }
.v5-tab--paysage .v5-eph { width: 150px; padding-bottom: 16px; }
.v5-tab--paysage .v5-eph::before { left: 38px; }
.v5-tab--paysage .v5-eph::after { right: 38px; }
.v5-tab--paysage .v5-eph__sem { padding: 12px 0 9px; font-size: 12px; }
.v5-tab--paysage .v5-eph__num { margin-top: 12px; font-size: 98px; }
.v5-tab--paysage .v5-eph__mois { margin-top: 10px; font-size: 11px; }
.v5-tab--paysage .v5-jour__titre { font-size: 48px; }
.v5-tab--paysage .v5-jour__vide { font-size: 17px; }
.v5-tab--paysage .v5-proch__titre { font-size: 32px; }
.v5-tab--paysage .v5-evt { grid-template-columns: 384px minmax(0, 1fr); column-gap: 48px; }
.v5-tab--paysage .v3-ticket { min-height: 520px; }
.v5-tab--paysage .v5-compte__titre { font-size: 40px; }
.v5-tab--paysage .v5-compte__grille li { padding: 22px 4px 18px; }
.v5-tab--paysage .v5-compte__grille b { font-size: 96px; }
.v5-tab--paysage .v5-scene__titre { font-size: 36px; }

/* ---------- le menu : le volet d'ordinateur, les entrées de la société ---------- */
.v5-fixe { overflow: hidden; }
.v5-voile { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 30; background: var(--mpv-voile); }
.v5-tiroir {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 31; width: 452px; padding-left: 10px; box-sizing: border-box;
  /* le bord dentelé : le volet est un talon qu'on tire */
  -webkit-mask: radial-gradient(circle 7px at 0 11px, #0000 6.5px, #000 7px) 0 0 / 100% 22px repeat-y;
  mask: radial-gradient(circle 7px at 0 11px, #0000 6.5px, #000 7px) 0 0 / 100% 22px repeat-y;
}
.v5-menu .mpv-menu__tete { min-height: 76px; gap: 6px; }
.v5-menu__petits { display: grid; margin: 0; padding: 0; list-style: none; }
.v5 .v5-menu__petit {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px;
  border-bottom: 1px solid var(--mpv-bordure); color: var(--mpv-texte); text-decoration: none;
  font: 700 16px/1.2 var(--mpv-police-texte);
}
.v5-menu__petit svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.v5-etq {
  display: inline-block; margin-left: 8px; padding: 3px 6px 2px; border: 1px solid var(--mpv-bordure-forte); border-radius: 4px;
  color: var(--mpv-texte-2); font: 700 9px/1 var(--mpv-police-texte); letter-spacing: 0.12em; text-transform: uppercase; vertical-align: 1px;
}

/* ---------- le chargement : les rosaces tournent, le billet descend, l'anneau compte ---------- */
@property --v5-p { syntax: "<number>"; inherits: true; initial-value: 64; }
@property --v5-pi { syntax: "<integer>"; inherits: true; initial-value: 64; }
@keyframes v5-charge { 0% { --v5-p: 0; --v5-pi: 0; } 72% { --v5-p: 100; --v5-pi: 100; } 100% { --v5-p: 100; --v5-pi: 100; } }
@keyframes v5-tourne { to { transform: rotate(360deg); } }
.v5-entree {
  --v5-p: 64; --v5-pi: 64;
  min-width: 0 !important; position: relative; overflow: hidden; display: grid; place-items: center;
  background: var(--mpv-fond); color: var(--mpv-texte);
  /* sur le site, --v5-p suit le vrai chargement ; ici, une boucle le montre */
  animation: v5-charge 5.6s cubic-bezier(0.3, 0, 0.35, 1) infinite;
}
.v5-entree .v5-g { width: 1240px; height: 1240px; }
.v5-entree .v5-g--d { top: -500px; right: -450px; left: auto; bottom: auto; animation: v5-tourne 90s linear infinite; }
.v5-entree .v5-g--g { top: auto; right: auto; bottom: -500px; left: -450px; animation: v5-tourne 120s linear infinite reverse; }
.v5-entree { --v5-guilloche: rgb(110 23 40 / 0.2); }
.v5-entree[data-mode="sombre"] { --v5-guilloche: rgb(255 255 255 / 0.22); }
.v5-entree .v5-sceau { display: block; width: 124px; }
.v5-entree .v5-sceau--d { top: 65px; right: 101px; }
.v5-entree .v5-sceau--g { bottom: 65px; left: 115px; }
.v5-entree__bloc { position: relative; display: grid; justify-items: center; }
/* la rosace s'efface derrière le bloc central */
.v5-entree__bloc::before {
  content: ""; position: absolute; z-index: -1; top: -110px; right: -230px; bottom: -110px; left: -230px; pointer-events: none;
  background: radial-gradient(closest-side, var(--mpv-fond) 56%, transparent);
}
.v5 .v5-entree__sur { margin: 0 0 26px; color: var(--mpv-texte-2); font: 700 12px/1 var(--mpv-police-texte); letter-spacing: 0.26em; text-transform: uppercase; }
.v5-entree__logo { width: 300px; height: auto; }
.v5-entree__machine { display: grid; justify-items: center; margin-top: 30px; }
.v5-entree__fente { display: block; width: 376px; height: 5px; border-radius: 3px; background: var(--mpv-texte); }
.v5-entree__sortie { width: 320px; height: 120px; margin-top: -1px; overflow: hidden; }
.v5-entree__billet {
  display: grid; grid-template-columns: minmax(0, 1fr) 108px; width: 320px; height: 120px; overflow: hidden; border-radius: 0 0 18px 18px;
  transform: translateY(calc((var(--v5-p) - 100) * 1%));
  -webkit-mask: radial-gradient(circle 9px at 212px 100%, #0000 8.5px, #000 9px);
  mask: radial-gradient(circle 9px at 212px 100%, #0000 8.5px, #000 9px);
}
.v5-entree__tete { display: grid; align-content: center; gap: 7px; padding: 0 20px; background: var(--v5-billet); color: var(--v5-papier); }
.v5-entree__tete small { font: 700 10px/1 var(--mpv-police-texte); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.82; }
.v5-entree__tete b { font: 700 30px/0.95 var(--mpv-police-titre); text-transform: uppercase; }
.v5-entree__talon { display: grid; place-items: center; border-left: 2px dotted rgb(26 3 6 / 0.5); background: var(--v5-papier); color: var(--v5-encre); }
.v5-anneau { position: relative; display: grid; place-items: center; width: 78px; height: 78px; }
.v5-anneau svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.v5-anneau__piste { fill: none; stroke: rgb(26 3 6 / 0.16); stroke-width: 5; }
.v5-anneau__trait { fill: none; stroke: #520D1B; stroke-width: 5; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v5-p)); }
.v5-anneau__pct { position: relative; font: 700 16px/1 var(--mpv-police-titre); font-variant-numeric: tabular-nums; counter-reset: v5p var(--v5-pi); }
.v5-anneau__pct::after { content: counter(v5p) "\00a0%"; }
.v5 .v5-entree__mot { margin: 30px 0 0; color: var(--mpv-texte-2); font: 700 12px/1 var(--mpv-police-texte); letter-spacing: 0.22em; text-transform: uppercase; }
/* la signature de la société, sous la phrase : pas de lien, la page ne dure qu'un instant */
.v5-entree__ls { margin-top: 56px; }
.v5-entree__ls .mp-mention-ls { gap: 14px; }
@media (prefers-reduced-motion: reduce) { .v5-entree, .v5-entree .v5-g { animation: none; } }

/* ---------- la planche des signes ---------- */
.v5-signes { box-sizing: border-box; width: 1440px; padding: 56px 64px 64px; overflow: visible; }
.v5-signes__titre { margin-top: 20px; font: 700 61px/0.95 var(--mpv-police-titre); letter-spacing: -0.02em; text-transform: uppercase; }
.v5 .v5-signes__chapeau { margin-top: 14px; max-width: 800px; color: var(--mpv-texte-2); font: 400 18px/1.5 var(--mpv-police-texte); }
.v5-signes__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.v5-signe { display: grid; grid-template-rows: 216px auto; overflow: hidden; border: 1px solid var(--mpv-bordure); border-radius: 20px; background: var(--mpv-surface); }
.v5-signe__vue { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; background: var(--mpv-surface-2); }
.v5-signe__vue--nuit { background: #050101; color: #FFFFFF; }
.v5-signe__vue--billet { background: #520D1B; color: #EEECE8; }
.v5-signe__vue .v5-g { position: absolute; z-index: 0; width: 420px; height: 420px; top: -102px; left: 50%; margin-left: -210px; background: rgb(110 23 40 / 0.5); }
.v5-signe__texte { display: grid; align-content: start; gap: 6px; padding: 16px 18px 18px; }
.v5-signe__nom { font: 700 22px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-signe__role { color: var(--mpv-texte-2); font: 400 14px/1.4 var(--mpv-police-texte); }
.v5-signe__jours { display: flex; gap: 12px; }
.v5-signe__jours .v5-sym { width: 15px; margin-left: -7.5px; bottom: 6px; }
.v5-signe__jours .v3-g { width: 66px; aspect-ratio: 1; min-height: 0; font-size: 17px; background: var(--mpv-surface); border-radius: 12px; }
.v5-signe__jours .v3-g[aria-pressed="true"] { background: var(--mpv-action); }
.v5 .v5-signe__regles { display: grid; gap: 9px; margin: 0; padding: 22px 24px; list-style: none; align-self: stretch; align-content: center; color: var(--mpv-texte); font: 700 14px/1.35 var(--mpv-police-texte); }
.v5-signe__regles li { display: flex; align-items: baseline; gap: 10px; }
.v5-signe__regles .v5-sym { position: relative; top: 1px; width: 14px; }
.v5-signe__vue--papier { background: #EEECE8; color: #1A0306; }
.v5-spec-billet {
  display: grid; grid-template-columns: 150px 76px; width: 226px; height: 96px; overflow: hidden; border-radius: 14px;
  -webkit-mask:
    radial-gradient(circle 8px at 150px 0, #0000 7.5px, #000 8px),
    radial-gradient(circle 8px at 150px 100%, #0000 7.5px, #000 8px);
  mask:
    radial-gradient(circle 8px at 150px 0, #0000 7.5px, #000 8px),
    radial-gradient(circle 8px at 150px 100%, #0000 7.5px, #000 8px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-spec-billet b { background: #520D1B; }
.v5-spec-billet i { border-left: 2px dotted rgb(26 3 6 / 0.5); background: #EEECE8; }
.v5-spec-dent {
  align-self: end; width: 100%; height: 132px; background: #050101;
  -webkit-mask: radial-gradient(circle 7px at 11px 0, #0000 6.5px, #000 7px) 0 0 / 22px 100% repeat-x;
  mask: radial-gradient(circle 7px at 11px 0, #0000 6.5px, #000 7px) 0 0 / 22px 100% repeat-x;
}
.v5-spec-piste { display: grid; justify-items: center; gap: 10px; color: var(--mpv-texte); font: 700 12px/1 var(--mpv-police-texte); }
.v5-spec-piste .mpv-picto { width: 46px; height: 46px; stroke-width: 1.6; }


/* ============================================================================
   Tour 3 (19/11/2026, 7 h 35) : le pied de page, les formulaires, les pages de la société,
   le compte à rebours plus grand et son ouverture, les rosaces du menu, le programme
   ========================================================================== */

/* ---------- le compte à rebours : des chiffres bien plus grands ---------- */
/* mesuré avec « 88 » partout (le chiffre le plus large) : il reste 9 px au moins de chaque côté de la case */
/* la taille suit la largeur de la grille (unités cqw) ; la valeur en px qui précède sert aux navigateurs qui ne les connaissent pas */
.v5 sc-if { display: contents; }
.v5-compte__grille { container-type: inline-size; }
.v5-compte__grille b { font-size: 72px; font-size: min(72px, 20cqw); }
.v5-compte__grille li { padding: 16px 0 13px; }
.v5-pc .v5-compte__grille b { font-size: 148px; font-size: min(148px, 21cqw); }
.v5-pc .v5-compte__grille li { padding: 26px 0 20px; }
.v5-tab--paysage .v5-compte__grille b { font-size: 112px; font-size: min(112px, 21.2cqw); }
.v5-tab--paysage .v5-compte__grille li { padding: 22px 0 18px; }
/* la tablette debout : le compte prend toute la largeur, au-dessus du billet ; les deux petits billets s'empilent à côté */
.v5-tab:not(.v5-tab--paysage) .v5-evt { column-gap: 28px; row-gap: 34px; }
.v5-tab:not(.v5-tab--paysage) .v5-volet { display: contents; }
.v5-tab:not(.v5-tab--paysage) .v5-compte { grid-column: 1 / -1; order: -1; gap: 16px; }
.v5-tab:not(.v5-tab--paysage) .v5-compte__titre { font-size: 40px; }
.v5-tab:not(.v5-tab--paysage) .v5-compte__grille b { font-size: 136px; font-size: min(136px, 19.3cqw); }
.v5-tab:not(.v5-tab--paysage) .v5-compte__grille li { gap: 12px; padding: 24px 0 18px; }
.v5-tab:not(.v5-tab--paysage) .v5-compte__dit { font-size: 16px; }
.v5-tab:not(.v5-tab--paysage) .v3-boutons { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.v5-tab:not(.v5-tab--paysage) .v3-mini__haut { padding: 20px 22px; gap: 10px; }
.v5-tab:not(.v5-tab--paysage) .v3-mini__val { font-size: 40px; }
.v5-tab:not(.v5-tab--paysage) .v3-mini__talon { font-size: 15px; }

/* ---------- le pied de page : la signature en une ligne, les liens, le copyright, la rosace ---------- */
.v5-pied { position: relative; margin-top: 56px; padding-bottom: 34px; color: var(--mpv-texte-2); font: 400 14px/1.4 var(--mpv-police-texte); }
.v5-mob .v5-pied { margin-top: 40px; padding-bottom: 28px; }
.v5-pied__int { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 26px 48px; padding-top: 34px; border-top: 2px dotted var(--mpv-bordure-forte); }
.v5-pied__marque { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.v5-pied .mpv-logo { min-height: 0; margin-right: 0; }
.v5 .v5-pied__signature { color: var(--mpv-texte); font: 700 13px/1 var(--mpv-police-texte); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.v5-pied__liens { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 2px 64px; }
.v5 .v5-pied__liens a { display: flex; align-items: center; min-height: 36px; color: var(--mpv-texte); text-decoration: none; font: 700 14px/1.2 var(--mpv-police-texte); }
.v5-pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; }
.v5-mob .v5-pied__int { flex-direction: column; gap: 18px; padding-top: 28px; }
.v5-mob .v5-pied__liens { width: 100%; gap: 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v5-mob .v5-pied__liens a { min-height: 44px; }
.v5-mob .v5-pied__bas { flex-direction: column; align-items: flex-start; margin-top: 18px; }
/* la rosace du pied de page (ordinateur et tablette ; le téléphone a déjà la sienne en bas) */
.v5-g--p { display: none; }
.v5-pc .v5-g--p, .v5-tab .v5-g--p { display: block; top: auto; left: auto; bottom: -560px; right: 30px; width: 780px; height: 780px; }
.v5-tab .v5-g--p { right: -180px; }

/* ---------- le menu : les rosaces passent derrière ---------- */
.v5-menu { isolation: isolate; overflow: hidden; }
.v5-menu .v5-g--m { top: auto; left: auto; right: -330px; bottom: -270px; width: 700px; height: 700px; }
.v5-menu .v5-g--n { top: -470px; left: -420px; right: auto; bottom: auto; width: 700px; height: 700px; }

/* ---------- les pages de la société : chapeau, formulaires, textes ---------- */
.v5 > main { flex: 1 0 auto; }
.v5 .v5-chapeau { margin-top: 14px; max-width: 660px; color: var(--mpv-texte-2); font: 400 18px/1.5 var(--mpv-police-texte); }
.v5-mob .v5-chapeau { font-size: 16px; }
.v5-mob .mp2-titre { overflow-wrap: anywhere; }
.v5-etq-gabarit { display: inline-block; align-self: flex-start; margin-top: 14px; padding: 5px 9px 4px; border: 1px solid var(--mpv-bordure-forte); border-radius: 5px; color: var(--mpv-texte-2); font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.12em; text-transform: uppercase; }

.v5-form { position: relative; display: grid; margin-top: 30px; border: 1px solid var(--mpv-bordure); border-radius: 26px; background: var(--mpv-surface); }
.v5-pc .v5-form { grid-template-columns: minmax(0, 1fr) 372px; }
.v5-pc .v5-form::before, .v5-pc .v5-form::after {
  content: ""; position: absolute; right: 360px; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mpv-fond); border: 1px solid var(--mpv-bordure);
}
.v5-pc .v5-form::before { top: -13px; clip-path: inset(50% -2px -2px -2px); }
.v5-pc .v5-form::after { bottom: -13px; clip-path: inset(-2px -2px 50% -2px); }
.v5-form__corps { display: grid; align-content: start; padding: 8px 40px 36px; }
.v5-mob .v5-form__corps { padding: 4px 18px 26px; }
.v5-form__partie { display: grid; gap: 20px; padding: 28px 0; border-top: 2px dotted var(--mpv-bordure-forte); }
.v5-form__partie:first-child { border-top: 0; }
.v5-form__titre { color: var(--mpv-texte); font: 700 26px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-form__rang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.v5-mob .v5-form__rang { grid-template-columns: minmax(0, 1fr); }
.v5-form .mp-champ__saisie { width: 100%; font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); }
.v5-form textarea.mp-champ__saisie { min-height: 96px; padding: 14px 0; font-weight: 400; line-height: 1.5; resize: vertical; }
.v5-form .v5-zone { align-items: stretch; }
.v5-facultatif { font-weight: 400; color: var(--mpv-texte-2); }
.v5-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.v5 .v5-evt-choix {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
  background: var(--mpv-surface); color: var(--mpv-texte); box-shadow: inset 0 0 0 1.5px var(--mpv-bordure-forte); font: inherit;
}
.v5 .v5-evt-choix[aria-pressed="true"] { background: var(--mpv-action-doux); box-shadow: inset 0 0 0 2px var(--mpv-action); }
.v5-evt-choix img { flex: none; display: block; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #050101; }
.v5-evt-choix b { display: block; font: 700 24px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-evt-choix span span { display: block; margin-top: 5px; color: var(--mpv-texte-2); font-size: 13px; line-height: 1.3; }
.v5-evt-choix .v5-sym { width: 22px; margin-left: auto; margin-right: 6px; }
.v5-form__envoi { display: grid; gap: 14px; padding-top: 28px; border-top: 2px dotted var(--mpv-bordure-forte); }
.v5 .v5-form__note { color: var(--mpv-texte-2); font: 400 13px/1.5 var(--mpv-police-texte); }
.v5 .v5-form__note a, .v5 .v5-texte a { display: inline-block; color: var(--mpv-marque); font-weight: 700; text-underline-offset: 3px; }

/* le talon d'explication, sur le rouge du billet */
.v5-aide {
  position: relative; isolation: isolate; display: grid; align-content: start; gap: 20px; padding: 40px 54px 40px 40px;
  border-left: 2px dotted rgb(238 236 232 / 0.45); border-radius: 0 25px 25px 0; background: var(--v5-billet); color: var(--v5-papier);
}
.v5-aide::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: url(/assets/v5/grain.dd8244839d.png); opacity: 0.22; mix-blend-mode: multiply; }
/* le bas du talon : la rosace et le sceau, comme sur un billet */
.v5-aide { overflow: hidden; }
.v5-aide .v5-g--a { top: auto; right: auto; bottom: -150px; left: 50%; width: 640px; height: 640px; margin-left: -320px; background: rgb(238 236 232 / 0.2); }
.v5-aide .v5-sceau--a { position: absolute; z-index: -1; top: auto; right: auto; bottom: 122px; left: 50%; display: block; width: 96px; margin-left: -48px; color: #EEECE8; opacity: 0.46; }
.v5-mob .v5-aide .v5-g--a, .v5-mob .v5-aide .v5-sceau--a { display: none; }
.v5-mob .v5-aide { padding: 28px 22px 30px; border-left: 0; border-top: 2px dotted rgb(238 236 232 / 0.45); border-radius: 0 0 25px 25px; }
.v5-mob .v5-aide .v5-cote { display: none; }
.v5-aide__sur { font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.v5-aide__titre { font: 700 34px/0.95 var(--mpv-police-titre); text-transform: uppercase; }
.v5 .v5-aide__liste { display: grid; gap: 14px; font: 400 16px/1.4 var(--mpv-police-texte); }
.v5-aide__liste li { display: flex; align-items: baseline; gap: 12px; }
.v5-aide__liste .v5-sym { position: relative; top: 2px; width: 16px; }
.v5-aide__ecrire { display: grid; gap: 6px; padding-top: 20px; border-top: 2px dotted rgb(238 236 232 / 0.35); font: 400 14px/1.4 var(--mpv-police-texte); }
.v5 .v5-aide__ecrire a { color: var(--v5-papier); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; text-underline-offset: 3px; }
.v5 .v5-aide .v5-proch { margin-top: 0; max-width: none; padding: 16px 14px 16px 26px; column-gap: 12px; }
.v5-aide .v5-proch__sur { line-height: 1.35; }
.v5-aide .v5-proch__titre { margin-top: 6px; font-size: 26px; }

/* la demande envoyée */
.v5-recu { display: grid; grid-template-columns: minmax(0, 1fr) 190px; max-width: 760px; margin-top: 34px; overflow: hidden; border-radius: 26px;
  -webkit-mask:
    radial-gradient(circle 13px at calc(100% - 190px) 0, #0000 12.5px, #000 13px),
    radial-gradient(circle 13px at calc(100% - 190px) 100%, #0000 12.5px, #000 13px);
  mask:
    radial-gradient(circle 13px at calc(100% - 190px) 0, #0000 12.5px, #000 13px),
    radial-gradient(circle 13px at calc(100% - 190px) 100%, #0000 12.5px, #000 13px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-recu__tete { display: grid; gap: 14px; padding: 40px 44px 44px; background: var(--v5-billet); color: var(--v5-papier); }
.v5-recu__titre { font: 700 61px/0.92 var(--mpv-police-titre); text-transform: uppercase; }
.v5 .v5-recu__tete p:last-child { font: 400 18px/1.5 var(--mpv-police-texte); }
.v5-mob .v5-recu { grid-template-columns: minmax(0, 1fr); margin-top: 24px; -webkit-mask: none; mask: none; }
.v5-mob .v5-recu__tete { padding: 28px 22px 30px; }
.v5-mob .v5-recu__titre { font-size: 44px; }
.v5-mob .v5-recu__talon { grid-auto-flow: column; justify-content: start; gap: 14px; padding: 16px 22px; border-left: 0; border-top: 2px dotted rgb(26 3 6 / 0.5); }
.v5-mob .v5-recu__talon .v5-sym { width: 34px; }
.v5-recu__talon { display: grid; place-content: center; justify-items: center; gap: 14px; border-left: 2px dotted rgb(26 3 6 / 0.5); background: var(--v5-papier); color: var(--v5-encre); font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.2em; }
.v5-recu__talon .v5-sym { width: 72px; }
.v5-recu__talon .v5-sym__b { fill: #B45700; }
.v5-recu__talon .v5-sym__c { fill: #6E1728; }
.v5-recu__talon .v5-sym__h { fill: #2D1A10; }
.v5-suite { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* les pages de texte : mentions légales, conditions, confidentialité, à propos */
.v5-legal { display: grid; gap: 40px; margin-top: 30px; }
.v5-pc .v5-legal { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
.v5-legal__nav { display: grid; overflow: hidden; border: 1px solid var(--mpv-bordure); border-radius: 18px; background: var(--mpv-surface); }
.v5 .v5-legal__nav a { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 18px 0 0; border-top: 1px solid var(--mpv-bordure); color: var(--mpv-texte); text-decoration: none; font: 700 15px/1.2 var(--mpv-police-texte); }
.v5-legal__nav a:first-child { border-top: 0; }
.v5-legal__nav .mpv-menu__repere { height: 54px; }
.v5-legal__nav a[aria-current] .mpv-menu__repere { background: var(--mpv-marque); }
.v5-texte { display: grid; border: 1px solid var(--mpv-bordure); border-radius: 26px; padding: 6px 40px 34px; background: var(--mpv-surface); color: var(--mpv-texte); }
.v5-texte__partie { display: grid; gap: 14px; padding: 28px 0; border-top: 2px dotted var(--mpv-bordure-forte); }
.v5-texte__partie:first-child { border-top: 0; }
.v5-texte h2 { font: 700 26px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5 .v5-texte p { max-width: 68ch; font: 400 16px/1.6 var(--mpv-police-texte); }
.v5-fiche { display: grid; grid-template-columns: 240px minmax(0, 1fr); margin: 0; font: 400 16px/1.5 var(--mpv-police-texte); }
.v5-fiche dt { padding: 10px 16px 10px 0; border-top: 1px solid var(--mpv-bordure); color: var(--mpv-texte-2); font-weight: 700; font-size: 14px; }
.v5-fiche dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--mpv-bordure); }
.v5-fiche dt:first-of-type, .v5-fiche dd:first-of-type { border-top: 0; }
.v5-vide { color: var(--mpv-texte-2); border-bottom: 1px dashed var(--mpv-bordure-forte); }

/* ---------- l'option : l'information sur les cookies ---------- */
.v5-avis {
  position: absolute; z-index: 40; left: 24px; bottom: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px;
  width: 460px; padding: 22px 24px; border-radius: 18px; background: var(--mpv-surface); color: var(--mpv-texte);
  box-shadow: 0 0 0 1.5px var(--mpv-bordure-forte), var(--mpv-ombre); font: 400 15px/1.5 var(--mpv-police-texte);
}
.v5-avis > .v5-sym { width: 30px; margin-top: 3px; }
.v5-avis__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.v5 .v5-avis__actions a:not(.v5-talon-menu) { color: var(--mpv-marque); font-weight: 700; text-underline-offset: 3px; }

/* ---------- l'ouverture de la billetterie : le compte arrive à zéro (Merry Blackmas) ---------- */
@property --v5-k { syntax: "<number>"; inherits: false; initial-value: 0.62; }
@keyframes v5-eclat {
  0%, 30% { --v5-k: 0; opacity: 0; }
  31% { --v5-k: 0.04; opacity: 1; animation-timing-function: cubic-bezier(0.08, 0.7, 0.2, 1); }
  66% { --v5-k: 1; opacity: 1; }
  76%, 100% { --v5-k: 1.06; opacity: 0; }
}
@keyframes v5-zero-sort { 0%, 26% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; transform: scale(1.12); } }
@keyframes v5-zero-entre { 0%, 30% { opacity: 0; transform: scale(1.22); } 38%, 100% { opacity: 1; transform: none; } }
.v5-zero { position: relative; display: grid; align-self: center; }
.v5-zero > * { grid-area: 1 / 1; }
.v5-zero__compte { opacity: 0; animation: v5-zero-sort 7s cubic-bezier(0.4, 0, 1, 1) infinite; }
.v5-zero__ouverte { animation: v5-zero-entre 7s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.v5-eclat { position: absolute; left: 38%; top: 44%; width: 0; height: 0; pointer-events: none; }
.v5-eclat i {
  --v5-k: 0.62; position: absolute; left: 0; top: 0; display: block; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform: translateY(calc(var(--g) * var(--v5-k) * var(--v5-k))) rotate(var(--a)) translateX(calc(var(--d) * var(--v5-k))) rotate(calc(var(--r) * var(--v5-k)));
  animation: v5-eclat 7s linear infinite;
}
/* l'onde et la lueur de l'instant zéro */
@property --v5-o { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes v5-onde {
  0%, 29.9% { --v5-o: 0; opacity: 0; }
  30% { --v5-o: 24; opacity: 0.9; animation-timing-function: cubic-bezier(0.1, 0.7, 0.2, 1); }
  47%, 100% { --v5-o: 1240; opacity: 0; }
}
@keyframes v5-lueur { 0%, 29% { opacity: 0; transform: scale(0.2); } 32% { opacity: 1; transform: scale(0.72); } 50%, 100% { opacity: 0; transform: scale(1.2); } }
.v5-eclat::before {
  content: ""; position: absolute; box-sizing: border-box; left: calc(var(--v5-o) * -0.5px); top: calc(var(--v5-o) * -0.5px);
  width: calc(var(--v5-o) * 1px); height: calc(var(--v5-o) * 1px); border: 2px solid #EEECE8; border-radius: 50%; opacity: 0;
  animation: v5-onde 7s linear infinite;
}
.v5-eclat::after {
  content: ""; position: absolute; left: -360px; top: -360px; width: 720px; height: 720px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgb(249 80 87 / 0.46), rgb(249 80 87 / 0) 64%); animation: v5-lueur 7s linear infinite;
}
.v5-eclat svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.v5-eclat .e-f { color: #FFFFFF; }
.v5-eclat .e-fa { color: #C9C9CB; }
.v5-eclat .e-fr { color: #F95057; }
.v5-eclat .e-b { border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFFFFF 0 12%, #C9C9CB 34%, #6F6F73 100%); }
.v5-eclat .e-br { border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFD9DB 0 10%, #F95057 36%, #7A0F1B 100%); }
.v5-eclat .e-t {
  height: calc(var(--s) * 0.56); border-radius: 3px; background: #EEECE8;
  -webkit-mask: radial-gradient(circle 3px at 68% 0, #0000 2.5px, #000 3px), radial-gradient(circle 3px at 68% 100%, #0000 2.5px, #000 3px);
  mask: radial-gradient(circle 3px at 68% 0, #0000 2.5px, #000 3px), radial-gradient(circle 3px at 68% 100%, #0000 2.5px, #000 3px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-eclat .e-tr { background: #DC3140; }
@media (prefers-reduced-motion: reduce) {
  .v5-eclat { display: none; }
  .v5-zero__compte, .v5-zero__ouverte { animation: none; }
}

/* ---------- le programme de l'événement (univers de l'affiche) ---------- */
.v5-prog { background: radial-gradient(120% 46% at 50% -6%, rgb(110 23 40 / 0.6), rgb(110 23 40 / 0) 70%), #050101; color: #FFFFFF; }
.v5-prog .v5-tete { padding: 0 8px 0 16px; }
.v5-prog__int { display: grid; gap: 26px; padding: 6px 16px 40px; }
.v5 .v5-prog__retour { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #CBC3C6; text-decoration: none; font: 700 13px/1 var(--mpv-police-texte); }
.v5-prog__retour svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.v5-prog__entete { display: grid; justify-items: start; gap: 6px; }
.v5-prog__lettrage { display: block; width: 218px; height: auto; margin-left: -8px; mix-blend-mode: screen; }
.v5-prog__titre { font: 700 49px/0.95 var(--mpv-police-titre); letter-spacing: -0.02em; text-transform: uppercase; }
.v5 .v5-prog__sous { color: #CBC3C6; font: 400 16px/1.5 var(--mpv-police-texte); }
.v5-prog h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 700 26px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-prog h2 span { color: #C9C9CB; font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.16em; }
.v5-prog__bloc { display: grid; gap: 14px; }
.v5-attente {
  display: grid; grid-template-columns: minmax(0, 1fr) 92px; overflow: hidden; border-radius: 18px;
  -webkit-mask: radial-gradient(circle 9px at calc(100% - 92px) 0, #0000 8.5px, #000 9px), radial-gradient(circle 9px at calc(100% - 92px) 100%, #0000 8.5px, #000 9px);
  mask: radial-gradient(circle 9px at calc(100% - 92px) 0, #0000 8.5px, #000 9px), radial-gradient(circle 9px at calc(100% - 92px) 100%, #0000 8.5px, #000 9px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5-attente > div { display: grid; gap: 8px; padding: 18px 18px 20px; background: #520D1B; color: #EEECE8; }
.v5-attente b { font: 700 26px/0.95 var(--mpv-police-titre); text-transform: uppercase; }
.v5 .v5-attente p { font: 400 14px/1.45 var(--mpv-police-texte); opacity: 0.92; }
.v5-attente > span { display: grid; place-items: center; border-left: 2px dotted rgb(26 3 6 / 0.5); background: #EEECE8; color: #1A0306; }
.v5-attente > span svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; }
.v5-videos { display: grid; gap: 14px; }
.v5 .v5-video { display: grid; align-content: start; gap: 8px; margin: 0; }
.v5-video__vue { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--mpv-surface); box-shadow: inset 0 0 0 1px var(--mpv-bordure); }
.v5-video__lecture { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #EEECE8; color: #1A0306; }
.v5-video__lecture svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.v5-video figcaption { color: var(--mpv-texte-2); font: 700 13px/1.3 var(--mpv-police-texte); }
.v5-videos--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v5-videos--deux .v5-video__lecture { width: 44px; height: 44px; }
.v5-videos--deux .v5-video__lecture svg { width: 18px; height: 18px; }
.v5 .v5-deroule { display: grid; margin: 0; padding: 0; list-style: none; }
.v5-deroule li { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 16px 0; border-top: 2px dotted rgb(238 236 232 / 0.28); }
.v5-deroule li:first-child { border-top: 0; padding-top: 4px; }
.v5-deroule b { font: 700 26px/1 var(--mpv-police-titre); text-transform: uppercase; white-space: nowrap; }
.v5-deroule strong { display: block; font: 700 18px/1.25 var(--mpv-police-texte); }
.v5-deroule small { display: block; margin-top: 4px; color: #CBC3C6; font: 400 14px/1.4 var(--mpv-police-texte); }
.v5-prog .v5-etq { border-color: var(--mpv-bordure-forte); color: var(--mpv-texte-2); white-space: nowrap; }
.v5-prog .v5-pied { margin-top: 0; }
.v5-prog .v5-pied__int { border-top-color: rgb(238 236 232 / 0.28); }

/* la planche des signes : la signature */
.v5-spec-signature { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 0 20px; }
.v5-spec-signature img { width: 145px; height: 22px; }

/* ---------- la planche : les états d'un formulaire ---------- */
.v5-signes__grille--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v5-signes__grille--trois .v5-signe { grid-template-rows: 250px auto; }
.v5-etat-vue { place-items: center stretch; padding: 0 30px; background: var(--mpv-surface); border-bottom: 1px solid var(--mpv-bordure); }
.v5-etat-vue > div { display: grid; gap: 14px; }
.v5-etat-vue .mp-champ__saisie { width: 100%; font: 700 var(--mp-corps-2)/1.2 var(--mp-police-texte); }
.v5 .v5-etat-vue .v5-form__note { margin-top: -2px; }
.v5-attend { width: 20px; height: 20px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: v5-tourne 0.9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .v5-attend { animation: none; } }

/* ---------- le téléphone : le compte sur deux rangs, quatre coupons (retenu le 19/11 à 8 h 37) ---------- */
.v5-mob .v5-compte__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v5-mob .v5-compte__grille li { gap: 10px; padding: 22px 0 16px; }
.v5-mob .v5-compte__grille li + li { border-left: 0; }
.v5-mob .v5-compte__grille li:nth-child(even) { border-left: 2px dotted rgb(238 236 232 / 0.32); }
.v5-mob .v5-compte__grille li:nth-child(n+3) { border-top: 2px dotted rgb(238 236 232 / 0.32); }
.v5-mob .v5-compte__grille b { font-size: 128px; font-size: min(128px, 35.7cqw); }
.v5-mob .v5-compte__grille span { font-size: 12px; }

/* ---------- le téléphone : le calendrier déplié (la bande de jours s'ouvre en grille du mois) ---------- */
.v5 .v3-rond[aria-expanded="true"] { background: var(--mpv-surface); color: var(--mpv-action); box-shadow: inset 0 0 0 2px var(--mpv-action); }
.v5-mob .v5-agenda--deplie .v3-agenda__tete { padding-bottom: 14px; }
.v5-mob .v5-agenda--deplie .v3-grille { margin: 0 12px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.v5-mob .v5-agenda--deplie .v3-grille__tete { margin: 0 6px 12px; }
.v5-mob .v5-agenda--deplie .v3-grille__mois { font-size: 26px; }
.v5-mob .v5-agenda--deplie .v3-rond--petit { width: 44px; height: 44px; background: var(--mpv-surface); box-shadow: inset 0 0 0 1px var(--mpv-bordure); }
.v5-mob .v5-agenda--deplie .v3-grille__sem, .v5-mob .v5-agenda--deplie .v3-grille__jours { gap: 4px; }
.v5-mob .v5-agenda--deplie .v3-grille__sem span { padding: 4px 0 8px; }
/* chaque jour est une tuile, comme dans la bande : la bande s'est dépliée */
.v5-mob .v5-agenda--deplie .v3-g { min-height: 46px; aspect-ratio: auto; height: 50px; border-radius: 12px; background: var(--mpv-surface); box-shadow: inset 0 0 0 1px var(--mpv-bordure); font: 700 19px/1 var(--mpv-police-titre); }
.v5-mob .v5-agenda--deplie .v3-g--passe { background: transparent; box-shadow: none; }
.v5-mob .v5-agenda--deplie .v3-g--auj { box-shadow: inset 0 0 0 2px var(--mpv-texte); }
.v5-mob .v5-agenda--deplie .v3-g[aria-pressed="true"] { background: var(--mpv-action); box-shadow: none; color: var(--mpv-sur-action); }
.v5-mob .v5-agenda--deplie .v3-g .v5-sym { bottom: 5px; }
.v5-mob .v5-agenda--deplie .v3-g--evt { padding-bottom: 12px; }
.v5-mob .v5-agenda--deplie .v5-cal__legende { margin: 12px 18px 0; padding-top: 12px; }

/* ---------- téléphones étroits : l'en-tête et la tête du menu tiennent jusqu'à 320 px ---------- */
@media (max-width: 399px) {
  .v5-menu .mpv-menu__tete { padding: 0 8px 0 16px; gap: 4px; }
  .v5-menu .mpv-menu__tete .mpv-logo img { width: 120px; height: auto; }
}
@media (max-width: 359px) {
  .v5-mob .v5-tete .mpv-logo img, .v5-menu .mpv-menu__tete .mpv-logo img { width: 112px; height: auto; }
  .v5-menu .mpv-menu__tete .mpv-langue { display: none; }
}

/* ============================================================================
   Tour 4 (19/11/2026, 8 h 37 et 8 h 46) : le liseré et les encoches, le sceau partout, le cachet, l'étiquette,
   la case de consentement, le chargement sur téléphone et tablette, l'encart LIVING SOFTWARES
   ========================================================================== */

/* ---------- le liseré : le contour franc d'un billet (bordeaux sur le clair, papier sur le sombre et sur la nuit) ---------- */
.v5 { --v5-lisere: #6E1728; }
.v5[data-mode="sombre"] { --v5-lisere: #EEECE8; }
/* un billet du site (découpé par un masque) reçoit son liseré par quatre ombres portées nettes */
.v5-lisere, .v5-scene .v3-boutons, .v5-prog .v3-boutons {
  filter: drop-shadow(2px 0 0 #EEECE8) drop-shadow(-2px 0 0 #EEECE8) drop-shadow(0 2px 0 #EEECE8) drop-shadow(0 -2px 0 #EEECE8);
}
.v5-lisere { display: grid; }
.v5-scene .v3-mini--noir .v3-mini__haut, .v5-prog .v3-mini--noir .v3-mini__haut { box-shadow: none; }
.v5-prog .v5-video__vue { box-shadow: inset 0 0 0 2px #EEECE8; }

/* ---------- l'agenda et les formulaires : un billet allongé, liseré et encoches franches ---------- */
.v5-agenda, .v5-form { border: 2px solid var(--v5-lisere); }
.v5-jour { border-radius: 0 24px 24px 0; }
.v5-agenda::before, .v5-agenda::after, .v5-pc .v5-form::before, .v5-pc .v5-form::after { width: 30px; height: 30px; border: 2px solid var(--v5-lisere); }
.v5-agenda::before, .v5-pc .v5-form::before { top: -17px; }
.v5-agenda::after, .v5-pc .v5-form::after { bottom: -17px; }
.v5-agenda::before, .v5-agenda::after { left: 389px; }
.v5-tab .v5-agenda::before, .v5-tab .v5-agenda::after { left: 303px; }
.v5-tab--paysage .v5-agenda::before, .v5-tab--paysage .v5-agenda::after { left: 357px; }
.v5-pc .v5-form::before, .v5-pc .v5-form::after { right: 357px; }
.v5-aide { border-radius: 0 24px 24px 0; }

/* le téléphone : le billet est debout ; les deux demi-cercles entaillent ses côtés, à la perforation */
.v5-mob .v3-agenda { position: relative; overflow: visible; border: 2px solid var(--v5-lisere); }
.v5-mob .v5-jour { -webkit-mask: none; mask: none; border-radius: 0 0 22px 22px; }
.v5-mob .v5-form { border-radius: 26px; }
.v5-mob .v5-aide { overflow: visible; border-radius: 0 0 24px 24px; }
.v5-mob .v5-jour::before, .v5-mob .v5-aide::before {
  content: ""; position: absolute; z-index: 2; top: -16px; right: -2px; left: -2px; height: 30px; pointer-events: none;
  background:
    radial-gradient(circle 15px at 0 50%, var(--mpv-fond) 0 12.5px, var(--v5-lisere) 13px 14.5px, #0000 15px),
    radial-gradient(circle 15px at 100% 50%, var(--mpv-fond) 0 12.5px, var(--v5-lisere) 13px 14.5px, #0000 15px);
}

/* ---------- le sceau, plutôt que la rosace seule : tablette, pied de page, menu ---------- */
.v5-tab .v5-g--d { top: -320px; right: -340px; }
.v5-tab .v5-sceau { display: block; top: 97px; right: 72px; width: 76px; }
/* le pied de page : la rosace et son symbole, dans le blanc entre la signature et les liens */
.v5-pied .v5-g--p { display: block; top: -272px; right: auto; bottom: auto; left: 50%; width: 760px; height: 760px; margin-left: -392px; }
.v5-pied .v5-sceau--p { display: block; top: 76px; right: auto; left: 50%; width: 72px; margin-left: -48px; }
.v5-tab .v5-pied .v5-g--p { top: -238px; margin-left: -154px; }
.v5-tab .v5-pied .v5-sceau--p { top: 110px; margin-left: 190px; }
.v5-mob .v5-g--g { display: none; }
.v5-mob .v5-pied .v5-g--p { top: -164px; left: auto; right: -144px; width: 440px; height: 440px; margin-left: 0; }
.v5-mob .v5-pied .v5-sceau--p { top: 36px; left: auto; right: 54px; width: 44px; margin-left: 0; }
.v5-prog .v5-pied .v5-g--p { background: rgb(255 255 255 / 0.26); }
.v5-prog .v5-pied .v5-sceau--p { color: #FFFFFF; }
/* le menu */
.v5-menu .v5-g--m { right: -256px; bottom: -252px; }
.v5-menu .v5-sceau--m { display: block; top: auto; right: 62px; bottom: 70px; width: 64px; }

/* ---------- le cachet : le sceau en petit, posé comme un tampon ---------- */
.v5-cachet { position: relative; display: grid; place-items: center; flex: none; width: 96px; aspect-ratio: 1; color: var(--mpv-marque); }
.v5-cachet > i { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: currentColor; -webkit-mask: url(/assets/v5/cachet.cfb36da5ed.svg) center / contain no-repeat; mask: url(/assets/v5/cachet.cfb36da5ed.svg) center / contain no-repeat; }
.v5-cachet .v5-sym { position: relative; width: 27%; }
.v5 .v5-cachet .v5-sym path { fill: currentColor; }
/* sur le talon rouge du téléphone (agenda, formulaires) : en haut à droite, penché */
.v5-jour > .v5-cachet, .v5-aide > .v5-cachet { display: none; }
.v5-mob .v5-jour > .v5-cachet, .v5-mob .v5-aide > .v5-cachet { display: grid; position: absolute; top: 16px; right: 16px; width: 74px; color: #EEECE8; opacity: 0.5; transform: rotate(-9deg); }
.v5-mob .v5-jour__titre, .v5-mob .v5-aide__titre { padding-right: 84px; }
.v5-recu__talon .v5-cachet { width: 116px; color: #6E1728; transform: rotate(-9deg); }
.v5-avis > .v5-cachet { width: 54px; margin-top: 1px; }
.v5-attente > span .v5-cachet { width: 62px; color: #520D1B; transform: rotate(-9deg); }

/* ---------- l'étiquette : une pastille aux coins rentrés, comme un coupon ---------- */
.v5-pill {
  padding: 9px 15px 8px;
  /* quatre coins mordus, en une seule pièce : les quatre tuiles de 51 % d'avant laissaient voir leur jointure, une ligne au milieu de l'étiquette */
  -webkit-mask:
    radial-gradient(circle 5px at 0 0, #0000 4.5px, #000 5px), radial-gradient(circle 5px at 100% 0, #0000 4.5px, #000 5px),
    radial-gradient(circle 5px at 0 100%, #0000 4.5px, #000 5px), radial-gradient(circle 5px at 100% 100%, #0000 4.5px, #000 5px);
  mask:
    radial-gradient(circle 5px at 0 0, #0000 4.5px, #000 5px), radial-gradient(circle 5px at 100% 0, #0000 4.5px, #000 5px),
    radial-gradient(circle 5px at 0 100%, #0000 4.5px, #000 5px), radial-gradient(circle 5px at 100% 100%, #0000 4.5px, #000 5px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* ---------- la case : l'accord, avant l'envoi ---------- */
.v5-case { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; cursor: pointer; color: var(--mpv-texte); font: 400 15px/1.45 var(--mpv-police-texte); }
.v5-case input { position: absolute; top: 0; left: 0; width: 28px; height: 28px; margin: 0; opacity: 0; cursor: pointer; }
.v5-case__marque { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 8px; background: var(--mpv-surface); box-shadow: inset 0 0 0 2px var(--mpv-bordure-forte); color: transparent; }
.v5-case__marque svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.v5-case input:checked + .v5-case__marque { background: var(--mpv-action); box-shadow: none; color: var(--mpv-sur-action); }
.v5-case input:focus-visible + .v5-case__marque { outline: 3px solid var(--mpv-focus); outline-offset: 2px; }
.v5-case--erreur .v5-case__marque { box-shadow: inset 0 0 0 2px var(--mpv-texte); }
.v5 .v5-case a { color: var(--mpv-marque); font-weight: 700; text-underline-offset: 3px; }

/* ---------- le chargement sur téléphone et sur tablette ---------- */
.v5-entree--mob .v5-g { width: 760px; height: 760px; }
.v5-entree--mob .v5-g--d { top: -306px; right: -300px; }
.v5-entree--mob .v5-g--g { bottom: -306px; left: -300px; }
.v5-entree--mob .v5-sceau { width: 68px; }
.v5-entree--mob .v5-sceau--d { top: 44px; right: 46px; }
.v5-entree--mob .v5-sceau--g { bottom: 44px; left: 46px; }
.v5-entree--mob .v5-entree__bloc::before { top: -70px; right: -60px; bottom: -70px; left: -60px; }
.v5-entree--mob .v5-entree__logo { width: 236px; }
.v5-entree--mob .v5-entree__machine { margin-top: 26px; transform: scale(0.9); transform-origin: top center; margin-bottom: -12px; }
.v5-entree--mob .v5-entree__fente { width: 340px; }
.v5-entree--mob .v5-entree__ls { margin-top: 48px; }
.v5-entree--tab .v5-g { width: 1040px; height: 1040px; }
.v5-entree--tab .v5-g--d { top: -420px; right: -400px; }
.v5-entree--tab .v5-g--g { bottom: -420px; left: -400px; }
.v5-entree--tab .v5-sceau { width: 100px; }
.v5-entree--tab .v5-sceau--d { top: 56px; right: 70px; }
.v5-entree--tab .v5-sceau--g { bottom: 56px; left: 70px; }
.v5-entree--tab .v5-entree__bloc::before { top: -90px; right: -140px; bottom: -90px; left: -140px; }

/* ---------- la planche des états : deux rangs de deux ---------- */
.v5-signes__grille--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v5-signes__grille--deux .v5-signe { grid-template-rows: 230px auto; }
.v5-signes__grille--deux .v5-etat-vue { padding: 0 96px; }

/* ---------- la planche des signes : la tuile des règles tient deux colonnes ---------- */
.v5-signe--large { grid-column: span 2; }
.v5-signe--large .v5-signe__regles { padding: 22px 34px; }
.v5-signe__vue .v5-lisere { display: block; }

/* ---------- l'encart LIVING SOFTWARES, à la charte de la société (beige, encre, LS Serif et LS Pixel) ---------- */
.v5-ls {
  display: grid; grid-template-columns: 400px minmax(0, 1fr); align-items: center; gap: 56px; margin-top: 40px; padding: 44px 64px 44px 52px;
  border-radius: 26px; background: #F4EFE6; color: #141416; box-shadow: inset 0 0 0 1px #DCD4C6;
}
.v5-ls__logo { display: block; width: 400px; height: auto; }
.v5-ls__texte { display: grid; justify-items: start; gap: 18px; }
.v5 .v5-ls__sur { color: #514D47; font: 400 15px/1 'LS Pixel', ui-monospace, monospace; letter-spacing: 0.08em; }
.v5 .v5-ls__titre { color: #141416; font: 400 44px/1.08 'LS Serif', Georgia, serif; letter-spacing: -0.01em; text-transform: none; }
.v5 .v5-ls__dit { max-width: 44ch; color: #141416; font: 400 18px/1.55 var(--mpv-police-texte); }
.v5-form .v5-fiche { font-size: 15px; }
.v5-form .v5-fiche dt { font-size: 13px; }
.v5 .v5-form .v5-fiche a { color: var(--mpv-marque); font-weight: 700; text-underline-offset: 3px; }
.v5 .v5-ls__lien {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 6px; padding: 0 20px; background: #141416; color: #F4EFE6;
  text-decoration: none; font: 400 15px/1 'LS Pixel', ui-monospace, monospace; letter-spacing: 0.06em;
}
.v5-ls__lien svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------- la rosace en filigrane du calendrier (ordinateur, tablette, téléphone) ---------- */
.v5-cal { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px 0 0 24px; }
.v5-cal .v5-g--c { top: auto; right: -210px; bottom: -230px; left: auto; width: 520px; height: 520px; }
.v5-mob .v3-agenda { padding: 0; }
.v5-mob .v5-souche { position: relative; isolation: isolate; overflow: hidden; padding: 18px 0 12px; border-radius: 22px 22px 0 0; }
.v5-mob .v5-agenda--deplie .v5-souche { padding-bottom: 14px; }
.v5-mob .v5-souche .v5-g--c { top: auto; right: -200px; bottom: -230px; left: auto; width: 460px; height: 460px; }
.v5-mob .v5-jour { margin-top: 0; }

/* ---------- l'éclat : les étoiles et les serpentins ---------- */
.v5-eclat .e-e { color: #FFFFFF; }
.v5-eclat .e-ea { color: #C9C9CB; }
.v5-eclat .e-e svg, .v5-eclat .e-ea svg { fill: currentColor; stroke: none; }
.v5-eclat .e-s, .v5-eclat .e-sa { height: calc(var(--s) / 3); margin-top: calc(var(--s) / -6); color: #F95057; }
.v5-eclat .e-sa { color: #C9C9CB; }
.v5-eclat .e-s svg, .v5-eclat .e-sa svg { stroke-width: 2.6; }

/* ---------- tour 4, contrôle des rencontres : un signe posé en décor ne touche jamais un texte ni un bouton ---------- */
/* le menu : le sceau descend sur la ligne de la mention, à droite, sous les boutons d'apparence ;
   sous 360 px de large il n'a plus sa place et s'efface (la rosace reste) */
.v5-menu .v5-g--m { right: -302px; bottom: -295px; }
.v5-menu .v5-sceau--m { right: 24px; bottom: 34px; width: clamp(0px, calc((100% - 359px) * 999), 48px); }
/* le pied de page du téléphone : la signature reste sous le logo, à toutes les largeurs ; le sceau tient sur la ligne du logo, à droite */
.v5-mob .v5-pied__marque { flex-direction: column; align-items: flex-start; gap: 10px; }
.v5-mob .v5-pied .v5-g--p { top: -180px; right: -184px; }
.v5-mob .v5-pied .v5-sceau--p { top: 22px; right: 16px; width: 40px; }
/* la tablette couchée : comme sur l'ordinateur, au milieu du blanc entre la signature et les liens ;
   sous 980 px de large ce blanc est trop étroit et le sceau s'efface (la rosace reste) */
.v5-tab--paysage .v5-pied .v5-g--p { top: -272px; margin-left: -389px; }
.v5-tab--paysage .v5-pied .v5-sceau--p { top: 76px; margin-left: -45px; width: clamp(0px, calc((100% - 980px) * 999), 72px); }
/* le talon rouge du téléphone : la phrase du jour laisse aussi sa place au cachet */
.v5-mob .v5-jour__vide { padding-right: 84px; }
/* les pages : un titre long passe à la ligne avant le sceau du haut */
.v5-pc .v5-titre-page .mp2-titre { max-width: calc(100% - 160px); }
.v5-tab .v5-titre-page .mp2-titre { max-width: calc(100% - 140px); }

/* ---------- tour 4, contrôle des coupes : rien n'est coupé ni cassé en deux, de 320 à 1920 px ---------- */
/* Les tailles suivent la place réelle (unités de conteneur), sans dépendre de la largeur de la fenêtre. */
/* le téléphone, la tête de l'agenda : si le mois et les boutons ne tiennent pas côte à côte, les boutons passent dessous */
.v5-mob .v3-agenda__tete { flex-wrap: wrap; row-gap: 10px; }
.v5-mob .v3-agenda__tete > h2 { flex: 1 1 0; min-width: min-content; }
.v5-mob .v3-agenda__actions { margin-left: auto; }
.v5-mob .v3-agenda__tete .v3-puce { padding-right: 14px; padding-left: 14px; }
/* le téléphone, le talon du jour : le titre rapetisse avant de toucher le cachet (au pire, « Aujourd'hui » à 320 px) */
.v5-mob .v5-jour { container-type: inline-size; }
.v5-mob .v5-jour__titre { font-size: min(34px, calc((100cqw - 84px) / 5.85)); }
/* le téléphone, les deux petits billets : le titre et le talon suivent la largeur du billet */
.v5-mob .v3-boutons { container-type: inline-size; }
.v5-mob .v3-mini__val { font-size: clamp(18px, calc((50cqw - 44px) / 5.381), 26px); }
.v5-mob .v3-mini__talon { gap: 5px; padding-right: 4px; padding-left: 4px; font-size: clamp(11px, calc((50cqw - 36px) / 10.32), 14px); }
/* la tablette debout : les sept colonnes du mois tiennent dans la souche */
.v5-tab:not(.v5-tab--paysage) .v5-cal .v3-grille__sem, .v5-tab:not(.v5-tab--paysage) .v5-cal .v3-grille__jours { grid-template-columns: repeat(7, minmax(0, 1fr)); }
/* les tablettes, le talon du jour : le titre rapetisse avant de sortir du billet (inchangé à 768 et à 1024 px) */
.v5-tab .v5-jour { container-type: inline-size; }
.v5-tab .v5-jour__titre { font-size: min(34px, calc((100cqw - 110px) / 5.88)); }
.v5-tab--paysage .v5-jour__titre { font-size: min(48px, calc((100cqw - 184px) / 5.9)); }

/* un état que le compte ne montre pas (fermé ou ouvert) */
.v5 .v5-absent { display: none !important; }

/* ============================================================================
   Tour 5 (19/11/2026, 9 h 47) : le cachet sur le talon rouge partout, les bords dentelés cernés en mode sombre,
   l'acceptation des conditions au chargement du site.
   ============================================================================ */
/* le cachet sur le talon rouge du jour : ordinateur et tablettes aussi (en haut à droite, penché, comme sur le téléphone) */
.v5-pc .v5-jour > .v5-cachet, .v5-tab .v5-jour > .v5-cachet { display: grid; position: absolute; color: #EEECE8; opacity: 0.5; transform: rotate(-9deg); }
/* sur un ordinateur étroit le talon est moins large et son contenu plus haut : le cachet rapetisse avec lui */
.v5-pc .v5-jour > .v5-cachet { top: 12px; right: 60px; width: clamp(52px, calc((100% - 600px) * 0.5), 84px); }
.v5-tab .v5-jour > .v5-cachet { top: 16px; right: 40px; width: 62px; }
.v5-tab--paysage .v5-jour > .v5-cachet { top: 24px; right: 58px; width: 84px; }
.v5-jour--papier > .v5-cachet { color: #6E1728; }

/* en mode sombre, la scène et la page ont presque la même couleur : ses deux bords dentelés sont cernés d'un trait clair */
.v5[data-mode="sombre"] .v5-scene::before, .v5[data-mode="sombre"] .v5-scene::after {
  content: ""; position: absolute; z-index: 3; right: 0; left: 0; height: 10px; pointer-events: none;
  background:
    radial-gradient(circle 9px at 11px 0, #0000 6.3px, #EEECE8 6.9px 8.5px, #0000 9px) 0 0 / 22px 100% repeat-x,
    linear-gradient(#EEECE8, #EEECE8) 0 0 / 100% 2px no-repeat;
}
.v5[data-mode="sombre"] .v5-scene::before { top: 0; }
.v5[data-mode="sombre"] .v5-scene::after { bottom: 0; transform: scaleY(-1); }

/* au chargement du site : la case à cocher pour accepter les conditions d'utilisation (le carré du bas, derrière lui le voile) */
.v5-avis--accord { width: 540px; gap: 16px; padding: 24px 26px; }
.v5-avis--accord > .v5-cachet { width: 60px; margin-top: 0; }
.v5-avis__texte { display: grid; align-content: center; gap: 6px; }
.v5 .v5-avis__titre { font: 700 24px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-avis--accord > .v5-case { grid-column: 1 / -1; padding-top: 16px; border-top: 2px dotted var(--mpv-bordure-forte); }
.v5-avis--accord > .v5-case input { top: 16px; }
.v5-avis--accord .v5-avis__actions { justify-content: flex-end; }
.v5 .v5-legal__maj { margin-top: 28px; color: var(--mpv-texte-2); font: 400 14px/1.4 var(--mpv-police-texte); }

/* le lettrage de l'événement (par défaut : une image ; sa largeur se règle par --mb-l) */
.v5-mb-titre { display: block; width: var(--mb-l, 100%); max-width: 100%; }
.v5-mb-titre__img { display: block; width: 100%; height: auto; mix-blend-mode: screen; }

/* ============================================================================
   Tour 6 (19/11/2026, 10 h 34 et 10 h 47) : « Réserver », bloqué jusqu'à l'ouverture ; les étapes aux signes de Miivâ Pass.
   ============================================================================ */
/* Le bouton de Miivâ Pass : un coupon. Un rectangle aux coins mordus, comme un billet ; le mot à gauche, le pictogramme dans un talon
   que deux encoches et une perforation détachent. Plus de barre arrondie (Bachard, 11 h 04 : « j'aime pas les barres arrondies »).
   Le masque est d'une seule pièce (couches composées par intersection) : aucune jointure, donc aucune ligne au milieu. */
.v5 .v5-coupon {
  --talon: 54px; --c-fond: #EEECE8; --c-encre: #1A0306; --c-dit: rgb(26 3 6 / 0.74);
  position: relative; display: inline-flex; align-items: stretch; min-width: 0; min-height: 54px; padding: 0; border: 0; border-radius: 0;
  background: var(--c-fond); color: var(--c-encre); text-align: left; text-decoration: none; cursor: pointer;
  -webkit-mask:
    radial-gradient(circle 7px at 0 0, #0000 6.5px, #000 7px), radial-gradient(circle 7px at 100% 0, #0000 6.5px, #000 7px),
    radial-gradient(circle 7px at 0 100%, #0000 6.5px, #000 7px), radial-gradient(circle 7px at 100% 100%, #0000 6.5px, #000 7px),
    radial-gradient(circle 5px at calc(100% - var(--talon)) 0, #0000 4.5px, #000 5px), radial-gradient(circle 5px at calc(100% - var(--talon)) 100%, #0000 4.5px, #000 5px);
  mask:
    radial-gradient(circle 7px at 0 0, #0000 6.5px, #000 7px), radial-gradient(circle 7px at 100% 0, #0000 6.5px, #000 7px),
    radial-gradient(circle 7px at 0 100%, #0000 6.5px, #000 7px), radial-gradient(circle 7px at 100% 100%, #0000 6.5px, #000 7px),
    radial-gradient(circle 5px at calc(100% - var(--talon)) 0, #0000 4.5px, #000 5px), radial-gradient(circle 5px at calc(100% - var(--talon)) 100%, #0000 4.5px, #000 5px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v5 .v5-coupon__mot {
  flex: 1 1 auto; display: grid; align-content: center; gap: 5px; min-width: 0; padding: 9px 20px 8px 22px;
  font: 700 19px/1 var(--mpv-police-titre); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.v5 .v5-coupon__mot b { font: inherit; }
.v5 .v5-coupon__mot small { color: var(--c-dit); font: 400 12px/1.15 var(--mpv-police-texte); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.v5-coupon__talon { position: relative; flex: none; display: grid; place-items: center; width: var(--talon); }
.v5-coupon__talon::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: -1px; border-left: 2px dotted var(--c-encre); opacity: 0.5; }
.v5-coupon__talon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.v5 a.v5-coupon:hover .v5-coupon__talon svg { transform: translateX(3px); }
.v5 .v5-coupon:focus-visible { outline: 3px solid var(--mpv-focus); outline-offset: 3px; }
.v5 .v5-coupon--large { display: flex; width: 100%; }
.v5 .v5-coupon--court { --talon: 46px; min-height: 46px; }
.v5 .v5-coupon--court .v5-coupon__mot { padding: 7px 14px 6px 16px; font-size: 17px; }
/* sur un fond clair : le coupon à l'encre */
.v5 .v5-coupon--encre { --c-fond: #1A0306; --c-encre: #EEECE8; --c-dit: rgb(238 236 232 / 0.78); }
/* fermé : le même coupon, en gris ; il ne se touche pas */
.v5 .v5-coupon--ferme { --c-fond: #45403F; --c-encre: #DDD8D6; --c-dit: #CBC5C3; cursor: not-allowed; }

/* « Réserver », scellé jusqu'à l'ouverture : le coupon fermé, le compte écrit sous le mot, et le cachet de Miivâ Pass, barré du mot « Fermé »,
   posé sur son talon. À 22 h le cachet s'en va et le coupon prend sa couleur : rien ne bouge autour. */
.v5-reserve { --res-encre: #F95057; --res-sur-encre: #1A0306; position: relative; display: inline-grid; min-width: 0; }
.v5 .v5-reserve .v5-coupon { --talon: 62px; min-width: 300px; min-height: 58px; }
.v5-reserve__sceau {
  position: absolute; top: 50%; right: -5px; display: grid; place-items: center; width: 70px; height: 70px; margin-top: -35px;
  transform: rotate(-9deg); color: var(--res-encre); pointer-events: none;
}
.v5-reserve__sceau i { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: currentColor; -webkit-mask: url(/assets/v5/cachet.cfb36da5ed.svg) center / contain no-repeat; mask: url(/assets/v5/cachet.cfb36da5ed.svg) center / contain no-repeat; }
.v5 .v5-reserve__sceau b {
  position: relative; margin: 0 -10px; padding: 5px 8px 4px 10px; border-radius: 2px; background: var(--res-encre); color: var(--res-sur-encre);
  font: 700 14px/1 var(--mpv-police-titre); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.v5-reserve--large { display: grid; container-type: inline-size; }
/* sur un écran étroit, le mot se réduit avec la largeur disponible (19 px dès 352 px de large) */
.v5 .v5-reserve--large .v5-coupon__mot { font-size: min(19px, 5.4cqw); }
.v5 .v5-reserve--large .v5-coupon__mot small { font-size: 12px; }
.v5 .v5-reserve--large .v5-coupon { display: flex; min-width: 0; width: 100%; }
/* au dos d'un pass : le mot seul, le cachet plus petit */
.v5 .v5-reserve--court .v5-coupon { --talon: 50px; min-width: 0; min-height: 46px; }
.v5 .v5-reserve--court .v5-coupon__mot { padding: 7px 12px 6px 16px; font-size: 17px; }
.v5-reserve--court .v5-reserve__sceau { right: -4px; width: 56px; height: 56px; margin-top: -28px; }
.v5 .v5-reserve--court .v5-reserve__sceau b { margin: 0 -8px; padding: 4px 6px 3px 8px; font-size: 12px; }
/* sur le papier */
.v5-reserve--papier { --res-encre: #9C1626; --res-sur-encre: #EEECE8; }
.v5 .v5-reserve--papier .v5-coupon--ferme { --c-fond: #CFCAC6; --c-encre: #3A2E30; --c-dit: #4A3D40; }
/* dans le bloc du compte : à droite de la phrase sur un grand écran, sur toute la largeur au téléphone */
.v5-pc .v5-compte__pied .v5-reserve { margin-left: auto; }
.v5-mob .v5-compte__pied .v5-reserve { display: grid; width: 100%; container-type: inline-size; }
.v5.v5-mob .v5-compte__pied .v5-reserve .v5-coupon__mot { font-size: min(19px, 5.4cqw); }
.v5.v5-mob .v5-compte__pied .v5-reserve .v5-coupon__mot small { font-size: 12px; }
.v5.v5-mob .v5-compte__pied .v5-reserve .v5-coupon { display: flex; min-width: 0; width: 100%; }

/* les étapes d'un parcours de Miivâ Pass : le chiffre au cœur d'un cachet, une perforation d'une étape à l'autre
   (jamais les couleurs ni les objets de l'événement : c'est le système de la billetterie) */
.v5 .v5-etapes { display: grid; margin: 0; padding: 0; list-style: none; }
.v5-etapes li { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 24px; }
.v5-etapes li:last-child { padding-bottom: 0; }
.v5-etapes li:not(:last-child)::before { content: ""; position: absolute; top: 62px; bottom: 4px; left: 28px; border-left: 2px dotted rgb(238 236 232 / 0.42); }
.v5-etapes .v5-cachet { width: 58px; color: #EEECE8; }
.v5-etapes .v5-cachet b { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #EEECE8; color: #520D1B; font: 700 18px/1 var(--mpv-police-titre); }
.v5 .v5-etapes p { padding-top: 7px; color: #E9E8E6; font: 400 16px/1.45 var(--mpv-police-texte); }
.v5 .v5-etapes strong { display: block; margin-bottom: 4px; color: #FFFFFF; font: 700 20px/1.1 var(--mpv-police-titre); letter-spacing: 0.02em; text-transform: uppercase; }
.v5-etapes--clair li:not(:last-child)::before { border-left-color: rgb(26 3 6 / 0.35); }
.v5-etapes--clair .v5-cachet { color: #6E1728; }
.v5-etapes--clair .v5-cachet b { background: #6E1728; color: #EEECE8; }
.v5 .v5-etapes--clair p { color: var(--mpv-texte-2); }
.v5 .v5-etapes--clair strong { color: var(--mpv-texte); }
/* la planche des signes : les trois chiffres d'un parcours, en ligne, une perforation entre eux */
.v5-spec-etapes { display: flex; align-items: center; gap: 34px; }
.v5-spec-etapes .v5-cachet { position: relative; width: 62px; color: #EEECE8; }
.v5-spec-etapes .v5-cachet b { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #EEECE8; color: #520D1B; font: 700 19px/1 var(--mpv-police-titre); }
.v5-spec-etapes .v5-cachet + .v5-cachet::before { content: ""; position: absolute; top: 50%; right: calc(100% + 5px); width: 24px; border-top: 2px dotted rgb(238 236 232 / 0.5); }
.v5-signe__vue .v5-reserve .v5-coupon { min-width: 0; }

/* le titre d'une planche : son accent ne touche pas le surtitre */
.v5-signes .v5-signes__titre { margin-top: 8px; }

/* ---------- masques sans jointure : les formes du CSS du site (v3-accueil, kit), en une seule pièce ---------- */
/* les tuiles de 51 % accolées de ces formes laissaient voir leur jointure à certains grossissements : mêmes encoches, couches pleine taille composées par intersection */
.v3-mini {
  -webkit-mask:
    radial-gradient(circle 9px at 0 calc(100% - var(--talon)), #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at 100% calc(100% - var(--talon)), #0000 8.5px, #000 9px);
  mask:
    radial-gradient(circle 9px at 0 calc(100% - var(--talon)), #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at 100% calc(100% - var(--talon)), #0000 8.5px, #000 9px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.v3-ticket {
  -webkit-mask:
    radial-gradient(circle 13px at 0 calc(100% - var(--talon)), #0000 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% calc(100% - var(--talon)), #0000 12.5px, #000 13px);
  mask:
    radial-gradient(circle 13px at 0 calc(100% - var(--talon)), #0000 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% calc(100% - var(--talon)), #0000 12.5px, #000 13px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.mp4-choix {
  -webkit-mask: radial-gradient(circle 8px at 52px 0, transparent 7.5px, #000 8px), radial-gradient(circle 8px at 52px 100%, transparent 7.5px, #000 8px);
  mask: radial-gradient(circle 8px at 52px 0, transparent 7.5px, #000 8px), radial-gradient(circle 8px at 52px 100%, transparent 7.5px, #000 8px);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* ---------- fin des masques sans jointure ---------- */

/* ============================================================================
   Miivâ Pass — la page de l'événement (Merry Blackmas). Lot « plus_evenement » : la page, sa grille, le compte, les étapes, les crédits.
   L'affiche est dans plus-evt-affiche.css, les pass dans plus-evt-pass.css, le lettrage animé dans plus-motion.css.
   Couleurs : celles de l'affiche (thème de l'événement), sans en inventer. Le système de billetterie (étapes, bouton, cachet) garde
   les signes de Miivâ Pass.
   Mise en page par les classes de racine (v5-mob, v5-tab, v5-pc) ; aucune requête média hors « moins d'animations ».
   La racine de la page porte « v5 v5-evt » : l'accueil a lui aussi un bloc « v5-evt » (le billet de l'événement), que ces règles ne doivent
   pas toucher. Tout ce qui vise un composant partagé (pied, petits billets, compte) passe donc par « .v5.v5-evt ».
   ========================================================================== */
.v5.v5-evt {
  --evt: #DC3140; --evt-clair: #F95057; --evt-billet: #520D1B; --evt-argent: #C9C9CB; --evt-papier: #EEECE8; --evt-encre: #1A0306;
  --evt-point: rgb(201 201 203 / 0.34);
  background: radial-gradient(760px 560px at 50% -80px, rgb(110 23 40 / 0.62), rgb(110 23 40 / 0) 72%), #050101;
  color: #FFFFFF;
}
.v5-evt-etoile { flex: none; width: 12px; height: 12px; fill: var(--evt); }
.v5-evt .v5-evt-lib { display: block; font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.78; }

/* ---------- la page ---------- */
.v5-evt-int { display: grid; }
.v5-mob .v5-evt-int { padding: 2px 0 36px; }
.v5-tab .v5-evt-int { padding: 4px 0 56px; }
.v5-pc .v5-evt-int { padding: 6px 0 64px; }
.v5-evt .v5-evt-retour {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: #CBC3C6; text-decoration: none; font: 700 13px/1 var(--mpv-police-texte);
}
.v5-evt-retour svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.v5-evt-haut, .v5-evt-bas { display: grid; }
.v5-mob .v5-evt-haut { gap: 34px; }
.v5-mob .v5-evt-bas { gap: 40px; margin-top: 44px; }
.v5-tab .v5-evt-haut { gap: 44px; }
.v5-tab .v5-evt-bas { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 52px 40px; margin-top: 60px; }
.v5-tab .v5-evt-billets { grid-column: 1 / -1; }
.v5-pc .v5-evt-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 72px; margin-top: 8px; }
.v5-pc .v5-evt-bas { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 44px 72px; margin-top: 84px; }
.v5-pc .v5-evt-billets { grid-row: 1 / span 2; }

/* ---------- le compte : celui de l'accueil ; au-dessus, le lettrage « Coming soon » de l'affiche ---------- */
.v5-evt-compte { display: grid; gap: 6px; min-width: 0; }
/* l'image a un décor (rideau, boules) : ses bords se fondent dans la page, aucun rectangle ne se voit */
.v5-evt-bientot {
  display: block; order: -2; width: min(270px, 76%); height: auto; margin-left: -14px; mix-blend-mode: screen;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, #0000 100%); mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, #0000 100%);
}
.v5-mob .v5-evt-bientot, .v5-tab .v5-evt-bientot { justify-self: center; margin-left: 0; }
.v5-mob .v5-evt-compte .v5-compte, .v5-tab .v5-evt-compte .v5-compte { justify-items: center; text-align: center; }
.v5-mob .v5-evt-compte .v5-compte__grille, .v5-tab .v5-evt-compte .v5-compte__grille { width: 100%; }
.v5-mob .v5-evt-compte .v5-compte__pied, .v5-tab .v5-evt-compte .v5-compte__pied { justify-content: center; }
.v5-pc .v5-evt-compte .v5-compte__pied .v5-reserve { margin-left: 0; }
.v5-pc .v5-evt-compte .v5-compte__pied .v5-coupon { margin-left: 0; }

/* ---------- pour prendre votre pass : les étapes de Miivâ Pass (v5-etapes, dans v5.css) ---------- */
.v5-evt-ou { display: grid; gap: 24px; min-width: 0; padding-top: 34px; border-top: 2px dotted var(--evt-point); }
.v5-pc .v5-evt-ou, .v5-tab .v5-evt-ou { padding-top: 0; border-top: 0; }
.v5-evt-ou__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.v5-evt .v5-evt-ou h2 { display: grid; gap: 10px; min-width: 0; font: 700 30px/0.95 var(--mpv-police-titre); text-transform: uppercase; }
.v5-evt-ou__sur { color: var(--evt-clair); font: 700 12px/1.2 var(--mpv-police-texte); letter-spacing: 0.2em; }
.v5-evt-ou__tete > .v5-cachet { width: 76px; margin: -6px 2px 0 0; color: #EEECE8; opacity: 0.62; transform: rotate(-9deg); }
.v5-mob .v5-evt-ou__tete > .v5-cachet { width: 68px; }
.v5-mob.v5-evt .v5-evt-ou h2 { font-size: 28px; }
.v5-evt .v5-evt-ou__note { padding-top: 16px; border-top: 1px solid rgb(238 236 232 / 0.2); color: #CBC3C6; font: 400 14px/1.45 var(--mpv-police-texte); }

/* ---------- la suite : le programme, inviter ---------- */
.v5-evt-suite { display: grid; min-width: 0; }
.v5-pc .v5-evt-suite, .v5-tab .v5-evt-suite { align-self: end; }
.v5.v5-evt .v5-evt-suite .v3-boutons { filter: drop-shadow(2px 0 0 #EEECE8) drop-shadow(-2px 0 0 #EEECE8) drop-shadow(0 2px 0 #EEECE8) drop-shadow(0 -2px 0 #EEECE8); }
.v5.v5-evt .v5-evt-suite .v3-mini--noir .v3-mini__haut { box-shadow: none; }

/* ---------- les crédits : qui présente, qui tient la billetterie, qui a fait le logiciel ---------- */
.v5-evt-credits { display: grid; gap: 22px; margin-top: 44px; padding-top: 28px; border-top: 2px dotted var(--evt-point); }
.v5-tab .v5-evt-credits, .v5-pc .v5-evt-credits { grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: start; gap: 32px; margin-top: 72px; padding-top: 32px; }
.v5-evt .v5-evt-credit { display: grid; gap: 12px; justify-items: start; align-content: start; min-width: 0; }
.v5-mob .v5-evt-credit { gap: 10px; }
.v5-tab .v5-evt-credit .mp-mention-ls, .v5-pc .v5-evt-credit .mp-mention-ls { white-space: nowrap; }
/* la tablette : deux crédits sur le premier rang, le troisième dessous (les trois ne tiennent pas sur une ligne sous 768 px) */
.v5-tab .v5-evt-credits { grid-template-columns: repeat(2, auto); justify-content: start; gap: 28px 72px; }
/* les deux logos, tirés de la vidéo de l'événement (image à fond transparent du lot de l'affiche) */
.v5-evt-credit__orga { display: block; width: 206px; height: auto; }
.v5-evt-credit__mp { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.v5-evt-credit__mp img { display: block; width: 132px; height: auto; align-self: center; }
.v5-evt .v5-evt-credit__mp span { color: #CBC3C6; font: 400 14px/1 var(--mpv-police-texte); }
.v5-evt .v5-evt-credit .mp2-pied__ls { margin: 0; }

/* ---------- le pied de page de Miivâ Pass, dans l'univers de l'événement ---------- */
.v5.v5-evt .v5-pied { margin-top: 0; }
.v5.v5-evt .v5-pied__int { border-top-color: rgb(238 236 232 / 0.28); }
.v5.v5-evt .v5-pied .v5-g--p { background: rgb(255 255 255 / 0.26); }
.v5.v5-evt .v5-pied .v5-sceau--p { color: #FFFFFF; }
/* le cadre « les pass retournés » : la seule partie des pass */
.v5.v5-evt--extrait { background: #050101; }
.v5-mob.v5-evt--extrait .v5-evt-int { padding: 26px 0 30px; }

/* ---------- l'ouverture sur cette page (10 h 47) : à zéro, puis à chaque chargement pendant dix jours ----------
   Le lettrage rejoue son arrivée (lot plus_motion) et l'éclat de l'accueil part de derrière lui : les pièces retombent sur l'affiche,
   là où l'on regarde en arrivant. Plus bas, le compte laisse la place à « Ouverte » (bloc v5-zero), sans second éclat.
   Mêmes pièces, mêmes temps que sur l'accueil ; seules l'origine et l'échelle changent. (--e-d : portée, --e-g : chute, --e-s : taille, --e-o : onde.) */
.v5-evt-haut { position: relative; }
.v5-evt-eclat { position: absolute; top: 0; right: 0; left: 0; height: 0; pointer-events: none; }
.v5-evt-eclat .v5-eclat { left: 50%; top: 236px; --e-d: 0.52; --e-g: 0.6; --e-s: 0.74; --e-o: 0.62; }
.v5-tab .v5-evt-eclat .v5-eclat { top: 300px; --e-d: 0.74; --e-g: 0.8; --e-s: 0.9; --e-o: 0.86; }
.v5-pc .v5-evt-eclat .v5-eclat { left: 24%; top: 290px; --e-d: 0.8; --e-g: 0.85; --e-s: 0.9; --e-o: 0.86; }
.v5-evt-eclat .v5-eclat i {
  transform: translateY(calc(var(--g) * var(--e-g) * var(--v5-k) * var(--v5-k))) rotate(var(--a)) translateX(calc(var(--d) * var(--e-d) * var(--v5-k)))
    rotate(calc(var(--r) * var(--v5-k))) scale(var(--e-s));
}
.v5-evt-eclat .v5-eclat::before {
  left: calc(var(--v5-o) * var(--e-o) * -0.5px); top: calc(var(--v5-o) * var(--e-o) * -0.5px);
  width: calc(var(--v5-o) * var(--e-o) * 1px); height: calc(var(--v5-o) * var(--e-o) * 1px);
}
.v5-evt-eclat .v5-eclat::after { left: -230px; top: -230px; width: 460px; height: 460px; }
.v5-tab .v5-evt-eclat .v5-eclat::after, .v5-pc .v5-evt-eclat .v5-eclat::after { left: -310px; top: -310px; width: 620px; height: 620px; }
.v5-mob .v5-evt-eclat .v5-eclat i:nth-child(3n) { display: none; }
/* sur cette page le mot « Ouverte » tient la largeur de l'écran, comme sur l'accueil du téléphone */
.v5-evt-compte .v5-zero--mob { container-type: inline-size; }

/* le cadre « à l'ouverture » montre toute la page : quand la case du compte se referme sur « Ouverte », le bas de page remonte ;
   la hauteur minimale garde le fond jusqu'au bas du cadre (sans objet sur le site, où la page a la hauteur de son contenu) */
.v5-evt-compte .v5-zero { align-self: start; }

/* ============================================================================
   Miivâ Pass — la page de l'événement · l'affiche (lot plus_evt_affiche), 19/11/2026.
   Les logos des organisateurs, le lettrage, les deux boules de verre, la signature, puis la fiche : le jour, l'heure, le lieu, la soirée.
   Les images sont celles de la vidéo du motion designer de l'événement (images_affiche.py) : rien n'est redessiné.

   Composition : celle de la vidéo. --k est la part de la largeur de l'affiche que prend le titre ; le fond, les boules et leurs
   fils se mesurent en centièmes de la largeur du titre (cqw dans le bloc des boules), d'après les cotes relevées sur la vidéo.
   Les variables --evt… viennent de plus-evenement.css. Mise en page par les classes de racine (v5-mob, v5-tab, v5-pc).

   Contrat avec le lettrage animé (plus-motion.css) : aucun ancêtre du titre ne porte filter, opacity, transform, isolation,
   container-type, will-change ni z-index ; le fond est un frère placé derrière (z-index: -1), jamais un parent.
   ========================================================================== */
.v5-evt-affiche { --k: 0.92; position: relative; min-width: 0; text-align: center; }
.v5-tab .v5-evt-affiche { --k: 0.74; }

/* ---------- les organisateurs : leurs logos, tels que dans la vidéo ---------- */
.v5-evt .v5-evt-orga { width: calc(64% * var(--k)); margin: 0 auto; }
.v5-evt-orga img { display: block; width: 100%; height: auto; }

/* ---------- le titre : la marque MB_TITRE (le lettrage animé du lot plus_motion, ou l'image nette seule) ---------- */
.v5-evt .v5-evt-titre { --mb-l: 100%; width: calc(100% * var(--k)); margin: 6px auto 0; }

/* ---------- le fond réel de la vidéo, calé sous le lettrage ----------
   L'ancre est un repère sans hauteur posé au bas du lettrage. Le fond fait 1,0554 fois la largeur du titre ; le bas du
   lettrage tombe à 47,92 % de sa hauteur. Fondu « écran » : son noir disparaît dans celui de la page.
   Il s'allume quand le lettrage s'est posé (1,15 s), puis sa lumière respire lentement. */
.v5-evt-ancre { position: relative; display: block; width: calc(100% * var(--k)); height: 0; margin: 0 auto; }
@keyframes v5-evt-allume { from { opacity: 0; } to { opacity: 1; } }
@keyframes v5-evt-respire { from { opacity: 1; } to { opacity: 0.8; } }
.v5-evt .v5-evt-fond {
  position: absolute; z-index: -1; top: 0; left: 50%; width: 105.54%; max-width: none; height: auto;
  transform: translate(-50%, -47.92%); mix-blend-mode: screen; pointer-events: none;
  animation: v5-evt-allume 1.1s ease-out 1.15s both, v5-evt-respire 4.6s ease-in-out 2.4s infinite alternate;
}

/* ---------- les deux boules, la signature ----------
   Le bloc a la largeur du titre : 1cqw = un centième de cette largeur. Son haut est le bas du lettrage. */
.v5-evt-pendus { position: relative; container-type: inline-size; width: calc(100% * var(--k)); aspect-ratio: 100 / 53.5; margin: 0 auto; }
/* Une boule : son point de pivot, puis le fil, puis l'image accrochée par le haut de son anneau. Cotes relevées sur la vidéo,
   à la taille d'origine : chaque boule retombe là où le designer l'a mise, pendue à sa lettre (« B », « S »).
   Le pivot est un demi-centième à l'intérieur de la lettre : le fil de l'image et celui-ci se recouvrent, sans jour entre eux. */
@keyframes v5-evt-arrive { from { opacity: 0; transform: translateY(-3cqw); } to { opacity: 1; transform: none; } }
@keyframes v5-evt-balance { from { transform: rotate(var(--angle)); } to { transform: rotate(calc(-1 * var(--angle))); } }
.v5-evt-boule { position: absolute; display: block; width: 0; height: 0; animation: v5-evt-arrive 0.9s cubic-bezier(0.2, 0.8, 0.25, 1) 1.55s both; }
.v5-evt-boule--noire { left: 7.84cqw; top: -2.231cqw; --fil: 23.456cqw; --brins: 0.704cqw; --img: 25.35cqw; --ax: -49.59%; --ay: -1%; }
.v5-evt-boule--verre { left: 91.764cqw; top: -12.359cqw; --fil: 13.307cqw; --brins: 0.414cqw; --img: 27.833cqw; --ax: -49.67%; --ay: -0.9%; animation-delay: 1.8s; }
/* le balancement : autour du haut du fil, chaque boule à son rythme */
.v5-evt-boule__pendule {
  --angle: 2.4deg; position: absolute; top: 0; left: 0; display: block; width: 0; height: 0;
  transform-origin: 0 0; animation: v5-evt-balance 2.9s ease-in-out -1.2s infinite alternate;
}
.v5-evt-boule--verre .v5-evt-boule__pendule { --angle: 3deg; animation-duration: 2.3s; animation-delay: -0.4s; }
/* le fil : deux brins fins, comme dans la vidéo (jamais moins d'un pixel) */
.v5-evt-boule__fil { position: absolute; top: 0; left: 0; display: block; width: var(--brins); height: calc(var(--fil) + 0.3cqw); transform: translateX(-50%); }
.v5-evt-boule__fil::before, .v5-evt-boule__fil::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: max(1px, 0.26cqw);
  background: linear-gradient(to bottom, rgb(236 226 222 / 0.78), rgb(214 200 196 / 0.52) 30%, rgb(214 200 196 / 0.52));
}
.v5-evt-boule__fil::before { left: 0; transform: translateX(-50%); }
.v5-evt-boule__fil::after { right: 0; transform: translateX(50%); }
.v5-evt .v5-evt-boule__verre { position: absolute; top: var(--fil); left: 0; display: block; width: var(--img); max-width: none; height: auto; transform: translate(var(--ax), var(--ay)); }
/* « A Christmas State of Mind » : le lettrage de l'affiche, à sa place de l'affiche, juste sous le titre (le fond est baissé dessous) */
.v5-evt .v5-evt-signature { position: absolute; top: 6cqw; left: 49.2cqw; width: 45cqw; margin: 0; transform: translateX(-50%); animation: v5-evt-allume 0.9s ease-out 1.9s both; }
.v5-evt-signature img { display: block; width: 100%; height: auto; }

/* ---------- en boucle (cadres de la maquette, avec la marque EVT_AFFICHE_BOUCLE) : le même déroulé, calé sur les 9 s du lettrage ---------- */
@keyframes v5-evt-allume-b { 0%, 12.778% { opacity: 0; } 25% { opacity: 1; } 60% { opacity: 0.82; } 96.111% { opacity: 1; } 100% { opacity: 0; } }
@keyframes v5-evt-signe-b { 0%, 21.111% { opacity: 0; } 31.111% { opacity: 1; } 96.111% { opacity: 1; } 100% { opacity: 0; } }
@keyframes v5-evt-arrive-b {
  0%, 17.222% { opacity: 0; transform: translateY(-3cqw); animation-timing-function: cubic-bezier(0.2, 0.8, 0.25, 1); }
  27.222% { opacity: 1; transform: none; } 96.111% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; }
}
@keyframes v5-evt-arrive-b2 {
  0%, 20% { opacity: 0; transform: translateY(-3cqw); animation-timing-function: cubic-bezier(0.2, 0.8, 0.25, 1); }
  30% { opacity: 1; transform: none; } 96.111% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; }
}
.v5-evt .v5-evt-affiche--boucle .v5-evt-fond { animation: v5-evt-allume-b 9s linear infinite both; }
.v5-evt .v5-evt-affiche--boucle .v5-evt-signature { animation: v5-evt-signe-b 9s linear infinite both; }
.v5-evt-affiche--boucle .v5-evt-boule { animation: v5-evt-arrive-b 9s linear infinite both; }
.v5-evt-affiche--boucle .v5-evt-boule--verre { animation-name: v5-evt-arrive-b2; }

/* ---------- la fiche : le jour et l'heure, le lieu, la soirée, entre des perforations ---------- */
.v5-evt-fiche {
  position: relative; container-type: inline-size; width: 100%; margin-top: 14px;
  border-top: 2px dotted var(--evt-point); border-bottom: 2px dotted var(--evt-point); text-align: left;
}
.v5-pc .v5-evt-fiche, .v5-tab .v5-evt-fiche { width: min(100%, 540px); margin: 22px auto 0; }
.v5-evt .v5-evt-fiche__lib { display: block; color: var(--evt-clair); font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.2em; text-transform: uppercase; }
/* le jour et l'heure */
.v5-evt .v5-evt-quand { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; padding: 0; list-style: none; }
.v5-evt-quand li { display: grid; align-content: center; gap: 7px; min-width: 0; padding: 15px 4px 13px; }
.v5-evt-quand li + li { padding-left: 18px; padding-right: 10px; border-left: 2px dotted var(--evt-point); }
.v5-evt .v5-evt-quand b { font: 700 28px/0.95 var(--mpv-police-titre); font-size: min(30px, 7.4cqw); text-transform: uppercase; white-space: nowrap; }
/* la durée : la soirée va jusqu'à l'aube */
.v5-evt .v5-evt-nuit { margin: -3px 0 0; padding: 0 4px 13px; color: #D9D2D4; font: 400 15px/1.3 var(--mpv-police-texte); }
.v5-evt .v5-evt-nuit b { color: #FFFFFF; font-weight: 700; }
/* le lieu */
.v5-evt .v5-evt-lieu { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 0; padding: 14px 4px 6px; border-top: 2px dotted var(--evt-point); }
.v5-evt-lieu__pic { flex: none; display: block; width: 30px; height: 30px; color: var(--evt-clair); }
.v5-evt-lieu__pic svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.v5-evt-lieu__nom { flex: 1 1 0; display: grid; gap: 6px; min-width: min-content; }
.v5-evt .v5-evt-lieu__nom b { font: 700 24px/0.95 var(--mpv-police-titre); font-size: min(26px, 6.4cqw); text-transform: uppercase; white-space: nowrap; }
.v5-evt .v5-evt-lieu__nom > span:last-child { color: #D9D2D4; font: 400 15px/1.2 var(--mpv-police-texte); }
.v5-evt .v5-evt-lieu__carte {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-left: 42px; color: #FFFFFF;
  font: 700 14px/1 var(--mpv-police-texte); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.v5-evt-lieu__carte svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v5-evt-lieu__carte:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
/* la soirée : deux coupons séparés par une perforation ; à gauche le lettrage de l'affiche, à droite la tenue */
.v5-evt .v5-evt-soiree {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border-top: 2px dotted var(--evt-point); text-align: center;
}
.v5-evt-soiree li { display: grid; align-content: center; justify-items: center; gap: 9px; min-width: 0; padding: 18px 8px 16px; }
.v5-evt-soiree li + li { border-left: 2px dotted var(--evt-point); }
.v5-evt-soiree__prog img { display: block; width: min(100%, 49cqw, 224px); height: auto; }
.v5-evt .v5-evt-soiree__tenue b { font: 700 30px/0.92 var(--mpv-police-titre); font-size: min(36px, 8.4cqw); text-transform: uppercase; }
.v5-evt-cartouche { display: inline-block; padding: 6px 10px 5px 14px; background: var(--evt); color: #FFFFFF; font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.3em; text-transform: uppercase; }

/* ---------- moins d'animations : tout est là tout de suite, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .v5-evt .v5-evt-fond, .v5-evt .v5-evt-affiche--boucle .v5-evt-fond,
  .v5-evt .v5-evt-signature, .v5-evt .v5-evt-affiche--boucle .v5-evt-signature,
  .v5-evt-boule, .v5-evt-affiche--boucle .v5-evt-boule, .v5-evt-boule__pendule { animation: none; }
}

/* ============================================================================
   Miivâ Pass — la page de l'événement · les pass (lot plus_evt_pass), 19/11/2026.
   Deux pass à la forme de billet de Miivâ Pass : liseré de 2 px, encoches rondes à la ligne du talon, perforation en pointillé.
     Salon VIP      une carte noire : face noire mate, liseré et talon en métal brossé, nom en argent.
     Pass Standard  les rouges de l'affiche (#C6112F, #A81A23, #520D1B), liseré et talon en papier.
   « Merry Blackmas » est le lettrage de l'affiche, en blanc (image). Les informations restent dans les polices de Miivâ Pass.
   Une lumière traverse la face : une seule bande, dans un seul repère, et une réponse par matière (le mat la renvoie à peine,
   le métal fort, le filigrane et le lettrage brillent à son passage). Elle passe sous le texte : rien ne devient illisible.
   Le dos occupe la même case de grille que la face : même taille, même forme, au pixel.
   Mise en page par les classes de racine (v5-mob, v5-tab, v5-pc) ; tailles fluides par unités de conteneur (cqw). Aucune requête
   média, sauf « moins d'animations ». Les variables --evt… sont posées par plus-evenement.css.
   ========================================================================== */

/* ---------- la section ---------- */
.v5-evt-billets { display: grid; min-width: 0; }
.v5-evt-fin { display: flex; align-items: center; justify-content: center; gap: 12px; }
.v5-evt .v5-evt-fin h2 { margin-right: -0.32em; font: 400 13px/1.3 var(--mpv-police-texte); letter-spacing: 0.32em; text-transform: uppercase; }
.v5-evt .v5-evt-aide { max-width: 34ch; margin: 12px auto 0; text-align: center; color: #E9E8E6; font: 400 14px/1.45 var(--mpv-police-texte); }
.v5-evt-rang { display: grid; gap: 36px; margin-top: 22px; }
.v5-pc .v5-evt-rang, .v5-tab .v5-evt-rang { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 26px; }
/* un lot : la carte, et dessous « Réserver », visible sans retourner ; côte à côte, les deux cartes ont la même hauteur */
.v5-evt-lot { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; min-width: 0; }
.v5-evt-lot__reserver { display: grid; min-width: 0; }

/* ---------- un pass ---------- */
/* --talon : la hauteur du talon, la même sur les deux faces (les encoches en dépendent) ; --pg, --pd, --ph : les marges de la face ;
   --lettrage-l : la largeur du lettrage, dite une fois pour l'image et pour le masque de son éclat */
.v5-evt-pass {
  --talon: 128px; --pg: 26px; --pd: 44px; --ph: 26px;
  --lettrage-l: min(calc(100cqw - 4px - var(--pg) - var(--pd)), 320px);
  --lisere: #EEECE8; --encre: #FFFFFF; --filigrane: rgb(255 255 255 / 0.09);
  --fil-t: 440px; --fil-x: -168px; --fil-y: -128px; --lum-retard: 2.6s; --bloc: 200px; --retenue: 0.1;
  position: relative; display: grid; min-width: 0; container-type: inline-size; perspective: 1500px;
}
.v5-evt-pass--vip {
  --lisere: linear-gradient(135deg, #FFFFFF 0%, #A6A8AC 13%, #EFEFF1 29%, #75777B 47%, #DCDDE0 63%, #8D8F92 81%, #F4F4F5 100%);
  --encre: #E9E8E6; --filigrane: rgb(201 201 203 / 0.13); --lum-retard: 0.8s; --bloc: 152px; --retenue: 0.24;
}
.v5-evt-pass__carte { display: grid; min-width: 0; transform-style: preserve-3d; transition: transform 0.62s cubic-bezier(0.3, 0.7, 0.2, 1); }
/* à l'ordinateur, la carte s'incline sous le pointeur */
.v5-pc .v5-evt-pass:not(.v5-evt-pass--dos):not(.v5-evt-pass--dos-fixe):hover .v5-evt-pass__carte { transform: translateZ(0) rotateX(2.5deg) rotateY(-5deg); }

/* une face. Le liseré de 2 px est le fond de la face, autour d'un intérieur rentré de 2 px. Les deux masques ont le même
   centre, 13 px puis 15 px de rayon : le liseré fait aussi le tour des encoches. Chaque couche de masque couvre toute la face
   et les couches se composent par intersection : aucune tuile, donc aucun raccord au milieu. */
.v5-evt-pass__face {
  position: relative; grid-area: 1 / 1; display: grid; min-width: 0; padding: 2px; border-radius: 26px; background: var(--lisere); color: var(--encre);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  -webkit-mask:
    radial-gradient(circle 13px at 0 calc(100% - var(--talon) - 2px), #0000 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% calc(100% - var(--talon) - 2px), #0000 12.5px, #000 13px);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 13px at 0 calc(100% - var(--talon) - 2px), #0000 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% calc(100% - var(--talon) - 2px), #0000 12.5px, #000 13px);
  mask-composite: intersect;
}
.v5-evt-pass__face--dos { transform: rotateY(180deg); }
.v5-evt-pass__int {
  position: relative; z-index: 1; display: grid; grid-template-rows: minmax(0, 1fr) var(--talon); min-width: 0; overflow: hidden; border-radius: 24px;
  -webkit-mask:
    radial-gradient(circle 15px at -2px calc(100% - var(--talon)), #0000 14.5px, #000 15px),
    radial-gradient(circle 15px at calc(100% + 2px) calc(100% - var(--talon)), #0000 14.5px, #000 15px);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 15px at -2px calc(100% - var(--talon)), #0000 14.5px, #000 15px),
    radial-gradient(circle 15px at calc(100% + 2px) calc(100% - var(--talon)), #0000 14.5px, #000 15px);
  mask-composite: intersect;
}

/* ---------- le retournement ---------- */
/* l'aller : la carte se lève de 56 px vers l'œil à mi-course, puis se repose ; les deux moitiés se raccordent à vitesse égale */
@keyframes v5-evt-vers-dos {
  0% { transform: translateZ(0) rotateY(0deg); animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.7); }
  50% { transform: translateZ(56px) rotateY(90deg); animation-timing-function: cubic-bezier(0.15, 0.3, 0.3, 1); }
  100% { transform: translateZ(0) rotateY(180deg); }
}
@keyframes v5-evt-vers-face {
  0% { transform: translateZ(0) rotateY(180deg); animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.7); }
  50% { transform: translateZ(56px) rotateY(90deg); animation-timing-function: cubic-bezier(0.15, 0.3, 0.3, 1); }
  100% { transform: translateZ(0) rotateY(0deg); }
}
.v5-evt-pass--dos .v5-evt-pass__carte { transform: translateZ(0) rotateY(180deg); transition: none; animation: v5-evt-vers-dos 0.8s linear both; }
.v5-evt-pass--face .v5-evt-pass__carte { transition: none; animation: v5-evt-vers-face 0.8s linear both; }
/* le cadre fixe « les pass retournés » : le dos, sans rotation */
.v5-evt-pass--dos-fixe .v5-evt-pass__carte { transform: none; transition: none; animation: none; }
.v5-evt-pass--dos-fixe .v5-evt-pass__face--avant { visibility: hidden; }
.v5-evt-pass--dos-fixe .v5-evt-pass__face--dos { transform: none; }
/* toute la carte se touche : un vrai bouton la recouvre ; quand le dos est montré il s'arrête au-dessus du talon,
   qui porte alors deux vraies commandes (« Retourner », « Réserver ») */
.v5-evt-pass__retourner { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; padding: 0; border: 0; border-radius: 26px; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.v5-evt-pass--dos .v5-evt-pass__retourner, .v5-evt-pass--dos-fixe .v5-evt-pass__retourner { bottom: calc(var(--talon) + 2px); border-radius: 26px 26px 0 0; }
.v5-evt-pass__retourner:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 4px; }

/* ---------- la face : la matière ---------- */
/* ni le haut ni le talon ne forment de plan d'empilement : la lumière (plan 1) passe entre leurs fonds et leurs textes (plan 2) */
.v5-evt-pass__haut { position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--ph) var(--pd) 22px var(--pg); }
.v5-evt-pass__haut > *, .v5-evt-pass__talon > * { position: relative; z-index: 2; }
.v5-evt-pass__haut::after, .v5-evt-pass__talon::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; }
/* le Pass Standard : les rouges de l'affiche, du plus vif en haut à gauche au plus sourd en bas à droite ; un grain de papier */
.v5-evt-pass--standard .v5-evt-pass__face--avant .v5-evt-pass__haut {
  background:
    radial-gradient(120% 70% at 10% -10%, rgb(255 255 255 / 0.24), rgb(255 255 255 / 0) 56%),
    radial-gradient(95% 58% at 100% 108%, rgb(60 6 16 / 0.62), rgb(60 6 16 / 0) 64%),
    linear-gradient(160deg, #CF1731 0%, #C6112F 34%, #A81A23 72%, #8C1522 100%);
}
.v5-evt-pass--standard .v5-evt-pass__face--avant .v5-evt-pass__haut::after { background: url(/assets/v5/grain.dd8244839d.png); opacity: 0.2; mix-blend-mode: multiply; }
/* le Salon VIP : un noir mat, à peine éclairé d'en haut à gauche ; un grain clair très fin, comme une anodisation */
.v5-evt-pass--vip .v5-evt-pass__haut {
  background:
    radial-gradient(120% 70% at 8% -12%, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0) 58%),
    radial-gradient(100% 60% at 104% 108%, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0) 62%),
    linear-gradient(158deg, #1C1C20 0%, #101012 44%, #08080A 100%);
}
.v5-evt-pass--vip .v5-evt-pass__haut::after {
  background: #FFFFFF; opacity: 0.045;
  -webkit-mask: url(/assets/v5/grain.dd8244839d.png) 0 0 / 90px 90px; mask: url(/assets/v5/grain.dd8244839d.png) 0 0 / 90px 90px;
}
/* le filigrane : la rosace de Miivâ Pass, en bas à droite de la face */
.v5-evt-pass__haut > .v5-evt-pass__filigrane {
  position: absolute; z-index: auto; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; background: var(--filigrane);
  -webkit-mask: url(/assets/v5/guilloche.94cabb074c.svg) right var(--fil-x) bottom var(--fil-y) / var(--fil-t) var(--fil-t) no-repeat;
  mask: url(/assets/v5/guilloche.94cabb074c.svg) right var(--fil-x) bottom var(--fil-y) / var(--fil-t) var(--fil-t) no-repeat;
}

/* ---------- la face : ce qui est écrit ---------- */
.v5-evt .v5-evt-pass__evt { margin: 0 0 22px; }
.v5-evt-pass__evt img { display: block; width: var(--lettrage-l); max-width: none; height: auto; aspect-ratio: 1560 / 692; margin-left: calc(var(--lettrage-l) * -0.039); }
/* sur le rouge, une ombre portée décolle le lettrage blanc du fond */
.v5-evt-pass--standard .v5-evt-pass__evt img { filter: drop-shadow(0 3px 7px rgb(60 6 16 / 0.5)); }
.v5-evt .v5-evt-pass__nom { margin: auto 0 0; font: 700 56px/0.86 var(--mpv-police-titre); font-size: min(56px, 15.7cqw); text-transform: uppercase; }
/* une ombre serrée sous chaque texte de la face (noire sur le noir : on ne la voit qu'au passage de la lumière ; rouge sombre sur
   le rouge) : la lumière et le filigrane passent derrière les lettres sans jamais ronger leur bord */
.v5-evt-pass--vip .v5-evt-pass__face--avant .v5-evt-pass__haut { text-shadow: 0 0 2px #000000, 0 0 5px #000000, 0 0 12px rgb(0 0 0 / 0.85); }
.v5-evt-pass--standard .v5-evt-pass__face--avant .v5-evt-pass__haut { text-shadow: 0 0 1px #4A0814, 0 0 3px rgb(74 8 20 / 0.95), 0 0 6px rgb(74 8 20 / 0.8), 0 1px 12px rgb(74 8 20 / 0.55); }
/* le nom du Salon VIP : de l'argent poli, une ligne d'horizon au milieu des lettres (son ombre est un filtre : une ombre de texte
   passerait devant le dégradé, qui est un fond rogné aux lettres) */
.v5-evt .v5-evt-pass--vip .v5-evt-pass__nom { color: #DCDDE0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .v5-evt .v5-evt-pass--vip .v5-evt-pass__nom {
    background: linear-gradient(180deg, #FFFFFF 8%, #E2E3E5 34%, #ACAEB2 50%, #F3F3F4 55%, #CDCED1 80%, #A9ABAF 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: none; filter: drop-shadow(0 0 2px #000000) drop-shadow(0 0 7px rgb(0 0 0 / 0.85));
  }
}
.v5-evt-pass__champs { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.v5-evt .v5-evt-pass__champs p { margin: 0; }
.v5-evt .v5-evt-val { display: block; margin-top: 6px; font: 700 22px/0.95 var(--mpv-police-titre); font-size: min(22px, 5.5cqw); text-transform: uppercase; white-space: nowrap; }
.v5-evt .v5-evt-pass__face--avant .v5-evt-pass__haut .v5-evt-lib { opacity: 0.94; }
.v5-evt .v5-evt-pass--vip .v5-evt-pass__haut .v5-evt-lib { color: #C9C9CB; opacity: 1; }
/* la ligne du lieu prend toute la largeur : la cote, à droite, s'arrête au-dessus d'elle */
.v5-evt .v5-evt-pass__pied {
  margin: 14px calc(26px - var(--pd)) 0 0; font: 700 11px/1.3 var(--mpv-police-texte); font-size: clamp(9.5px, 3.3cqw, 11px);
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.v5-evt .v5-evt-pass__haut > .v5-evt-pass__cote {
  position: absolute; top: 50%; right: 19px; margin: 0; transform: translateY(-50%); writing-mode: vertical-rl;
  font: 700 10px/1 var(--mpv-police-texte); letter-spacing: 0.24em; opacity: 0.9;
}
.v5-evt .v5-evt-pass--vip .v5-evt-pass__haut > .v5-evt-pass__cote { color: #D4D5D8; opacity: 0.9; }

/* ---------- le talon de la face ---------- */
.v5-evt-pass__talon {
  position: relative; display: grid; align-content: center; gap: 12px; min-width: 0; padding: 0 26px;
  border-top: 2px dotted rgb(26 3 6 / 0.55); background: #EEECE8; color: #1A0306;
}
.v5-evt-pass--standard .v5-evt-pass__face--avant .v5-evt-pass__talon::after { background: url(/assets/v5/grain.dd8244839d.png); opacity: 0.22; mix-blend-mode: multiply; }
/* le talon du Salon VIP : de l'aluminium brossé (texture calculée, en incrustation sur un dégradé d'argent), le prix comme gravé */
.v5-evt-pass--vip .v5-evt-pass__face--avant .v5-evt-pass__talon {
  border-top-color: rgb(11 11 13 / 0.62); color: #0B0B0D;
  background:
    url(/assets/v5/pass-metal.68968c7490.webp) 0 0 / 420px 140px,
    linear-gradient(100deg, rgb(255 255 255 / 0) 6%, rgb(255 255 255 / 0.38) 23%, rgb(255 255 255 / 0) 41%, rgb(0 0 0 / 0.09) 62%, rgb(255 255 255 / 0) 80%, rgb(255 255 255 / 0.28) 96%),
    linear-gradient(180deg, #DBDCDE 0%, #C4C5C9 52%, #B0B2B6 100%);
  background-blend-mode: overlay, normal, normal;
}
.v5-evt .v5-evt-pass--vip .v5-evt-pass__face--avant .v5-evt-pass__somme { text-shadow: 0 1px 0 rgb(255 255 255 / 0.6); }
.v5-evt .v5-evt-pass__prix { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0; }
.v5-evt .v5-evt-pass__somme { font: 700 40px/1 var(--mpv-police-titre); font-size: min(40px, 11.4cqw); white-space: nowrap; }
.v5-evt .v5-evt-pass__somme small { font-size: 0.4em; letter-spacing: 0.06em; }
.v5-evt .v5-evt-pass__action {
  display: flex; align-items: center; gap: 8px; margin: 0; color: inherit;
  font: 700 15px/1 var(--mpv-police-titre); letter-spacing: 0.04em; text-transform: uppercase;
}
.v5-evt-pass__action svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s; }
.v5-evt-pass:hover .v5-evt-pass__action svg { transform: rotate(180deg); }

/* ---------- la lumière ---------- */
/* Une bande de lumière traverse la face en biais, toutes les 7,6 s. Elle est dessinée cinq fois dans le même repère (toute la
   face), chaque fois rognée à une matière et dosée pour elle ; les cinq partent ensemble et ne se quittent pas. */
@keyframes v5-evt-lumiere {
  0%, 68% { transform: translateX(-190%) skewX(-18deg); animation-timing-function: cubic-bezier(0.4, 0.05, 0.35, 1); }
  100% { transform: translateX(260%) skewX(-18deg); }
}
.v5-evt-lum { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.v5-evt-lum::before, .v5-evt-pass--vip .v5-evt-pass__face--avant::before {
  content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 58%;
  transform: translateX(-190%) skewX(-18deg); animation: v5-evt-lumiere 7.6s linear var(--lum-retard) infinite;
}
/* sur le mat : presque rien */
.v5-evt-lum--face { clip-path: inset(0 0 var(--talon) 0); }
.v5-evt-lum--face::before { background: linear-gradient(90deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.04) 28%, rgb(255 255 255 / 0.12) 50%, rgb(255 255 255 / 0.04) 72%, rgb(255 255 255 / 0) 100%); }
.v5-evt-pass--standard .v5-evt-lum--face::before { background: linear-gradient(90deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.05) 28%, rgb(255 255 255 / 0.14) 50%, rgb(255 255 255 / 0.05) 72%, rgb(255 255 255 / 0) 100%); }
/* sur le talon : le métal la renvoie fort, le papier à peine */
.v5-evt-lum--talon { clip-path: inset(calc(100% - var(--talon)) 0 0 0); }
.v5-evt-lum--talon::before { background: linear-gradient(90deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.35) 50%, rgb(255 255 255 / 0) 100%); }
.v5-evt-pass--vip .v5-evt-lum--talon::before { background: linear-gradient(90deg, rgb(255 255 255 / 0) 14%, rgb(255 255 255 / 0.3) 40%, rgb(255 255 255 / 0.82) 50%, rgb(255 255 255 / 0.3) 60%, rgb(255 255 255 / 0) 86%); }
/* sur le filigrane : les traits de la rosace brillent au passage. Ils brillent fort au-dessus du bloc de texte (--bloc, la hauteur
   du nom, des champs et du lieu) et à peine derrière lui, et à peine aussi derrière la cote, à droite : deux couches de masque,
   en intersection avec la rosace, font la retenue. */
.v5-evt-lum--filigrane {
  clip-path: inset(0 0 var(--talon) 0);
  -webkit-mask:
    url(/assets/v5/guilloche.94cabb074c.svg) right var(--fil-x) bottom calc(var(--fil-y) + var(--talon)) / var(--fil-t) var(--fil-t) no-repeat,
    linear-gradient(180deg, #000 0, #000 calc(100% - var(--talon) - var(--bloc) - 30px), rgb(0 0 0 / var(--retenue)) calc(100% - var(--talon) - var(--bloc)), rgb(0 0 0 / var(--retenue)) 100%),
    linear-gradient(90deg, #000 0, #000 calc(100% - 64px), rgb(0 0 0 / 0.16) calc(100% - 44px), rgb(0 0 0 / 0.16) 100%);
  -webkit-mask-composite: source-in;
  mask:
    url(/assets/v5/guilloche.94cabb074c.svg) right var(--fil-x) bottom calc(var(--fil-y) + var(--talon)) / var(--fil-t) var(--fil-t) no-repeat,
    linear-gradient(180deg, #000 0, #000 calc(100% - var(--talon) - var(--bloc) - 30px), rgb(0 0 0 / var(--retenue)) calc(100% - var(--talon) - var(--bloc)), rgb(0 0 0 / var(--retenue)) 100%),
    linear-gradient(90deg, #000 0, #000 calc(100% - 64px), rgb(0 0 0 / 0.16) calc(100% - 44px), rgb(0 0 0 / 0.16) 100%);
  mask-composite: intersect;
}
.v5-evt-lum--filigrane::before { background: linear-gradient(90deg, rgb(255 255 255 / 0) 18%, rgb(255 255 255 / 0.55) 50%, rgb(255 255 255 / 0) 82%); }
/* sur le lettrage : le chrome s'allume (au-dessus de l'image, rogné à sa forme) */
.v5-evt-lum--lettrage {
  z-index: 3;
  -webkit-mask: url(/assets/v5/titre-blanc.d212b6a87c.webp) calc(var(--pg) - var(--lettrage-l) * 0.039) var(--ph) / var(--lettrage-l) auto no-repeat;
  mask: url(/assets/v5/titre-blanc.d212b6a87c.webp) calc(var(--pg) - var(--lettrage-l) * 0.039) var(--ph) / var(--lettrage-l) auto no-repeat;
}
.v5-evt-lum--lettrage::before { background: linear-gradient(90deg, rgb(255 255 255 / 0) 26%, #FFFFFF 50%, rgb(255 255 255 / 0) 74%); }
/* l'étoile du sapin, dans le lettrage, étincelle à l'instant où la bande passe sur elle (78,7 % du cycle, calculé sur la course
   de la bande ; l'étoile est à 34,8 % de la largeur et 51,3 % de la hauteur de l'image) */
@keyframes v5-evt-eclat {
  0%, 76.6% { opacity: 0; transform: scale(0.2) rotate(0deg); }
  78.7% { opacity: 1; transform: scale(1) rotate(16deg); }
  81.6%, 100% { opacity: 0; transform: scale(0.35) rotate(38deg); }
}
.v5-evt-pass__eclat {
  --eclat: calc(var(--lettrage-l) * 0.11);
  position: absolute; left: calc(var(--lettrage-l) * 0.309); top: calc(var(--lettrage-l) * 0.2276); width: var(--eclat); height: var(--eclat);
  margin: calc(var(--eclat) / -2) 0 0 calc(var(--eclat) / -2); pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.95) 0%, rgb(255 255 255 / 0.4) 16%, rgb(255 255 255 / 0) 62%);
  animation: v5-evt-eclat 7.6s linear var(--lum-retard) infinite;
}
.v5-evt-pass__eclat::before, .v5-evt-pass__eclat::after { content: ""; position: absolute; top: 50%; left: 50%; }
.v5-evt-pass__eclat::before { width: 100%; height: 1.5px; margin: -0.75px 0 0 -50%; background: linear-gradient(90deg, rgb(255 255 255 / 0), #FFFFFF 50%, rgb(255 255 255 / 0)); }
.v5-evt-pass__eclat::after { width: 1.5px; height: 100%; margin: -50% 0 0 -0.75px; background: linear-gradient(180deg, rgb(255 255 255 / 0), #FFFFFF 50%, rgb(255 255 255 / 0)); }
/* sur le liseré de métal : un éclat court le long du bord (la bande passe sous l'intérieur de la carte, on n'en voit que le bord) */
.v5-evt-pass--vip .v5-evt-pass__face--avant::before { background: linear-gradient(90deg, rgb(255 255 255 / 0) 30%, #FFFFFF 50%, rgb(255 255 255 / 0) 70%); }

/* ---------- le dos ---------- */
.v5-evt-pass__face--dos .v5-evt-pass__haut { padding: 26px 24px 20px; }
/* le Pass Standard : le même billet, les couleurs inversées (le papier en haut, le rouge sombre de l'affiche au talon) */
.v5-evt-pass--standard .v5-evt-pass__face--dos .v5-evt-pass__haut { background: #EEECE8; color: #1A0306; }
.v5-evt-pass--standard .v5-evt-pass__face--dos .v5-evt-pass__haut::after { background: url(/assets/v5/grain.dd8244839d.png); opacity: 0.22; mix-blend-mode: multiply; }
.v5-evt-pass--standard .v5-evt-pass__face--dos .v5-evt-pass__filigrane { background: rgb(110 23 40 / 0.11); }
.v5-evt-pass--standard .v5-evt-pass__face--dos .v5-evt-pass__talon { border-top-color: rgb(238 236 232 / 0.6); background: linear-gradient(180deg, #5B0F1F 0%, #520D1B 100%); color: #FFFFFF; }
/* le Salon VIP : la carte reste noire des deux côtés */
.v5-evt-pass--vip .v5-evt-pass__face--dos .v5-evt-pass__talon { border-top-color: rgb(201 201 203 / 0.5); background: #0B0B0D; color: #FFFFFF; }
.v5-evt .v5-evt-pass__dos-sur { margin: 0; font: 700 11px/1 var(--mpv-police-texte); letter-spacing: 0.14em; text-transform: uppercase; }
.v5-evt .v5-evt-pass--standard .v5-evt-pass__dos-sur { color: #8C1522; }
.v5-evt .v5-evt-pass--vip .v5-evt-pass__dos-sur { color: #C9C9CB; }
.v5-evt .v5-evt-pass__dos-titre { margin: 10px 0 0; font: 700 30px/1 var(--mpv-police-titre); font-size: min(30px, 9.4cqw); text-transform: uppercase; white-space: nowrap; }
.v5-evt .v5-evt-pass--vip .v5-evt-pass__dos-titre { color: #FFFFFF; }
.v5-evt .v5-evt-avantages { display: grid; align-content: start; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.v5-evt-avantages li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start;
  font: 400 15px/1.3 var(--mpv-police-texte); font-size: clamp(14px, 4.4cqw, 15px); text-wrap: balance;
}
/* le Pass Standard a cinq lignes : elles respirent davantage */
.v5-evt .v5-evt-pass--standard .v5-evt-avantages { gap: 11px; }
.v5-evt-pass--standard .v5-evt-avantages li { font-size: clamp(15px, 4.7cqw, 16px); }
.v5-evt-coche { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #A81A23; color: #FFFFFF; }
.v5-evt-pass--vip .v5-evt-coche { background: #C9C9CB; color: #0B0B0D; }
.v5-evt-coche svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* le talon du dos : « Retourner » et le rappel du prix, puis « Réserver » sur toute la largeur */
.v5-evt-pass__face--dos .v5-evt-pass__talon { gap: 4px; padding: 4px 24px 12px; }
.v5-evt-pass__dos-rang { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.v5-evt .v5-evt-pass__action--retour { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.v5-evt .v5-evt-pass__action--retour:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 4px; }
.v5-evt .v5-evt-pass__rappel { margin: 0; }
.v5-evt .v5-evt-pass__rappel .v5-evt-pass__somme { font-size: min(24px, 7.6cqw); }
.v5-evt .v5-evt-pass__rappel .v5-evt-pass__somme small { font-size: 0.5em; }
.v5-evt-pass__dos-reserver { display: grid; min-width: 0; }

/* ---------- moins d'animations : aucune lumière ne passe, la carte change de face sans tourner ---------- */
@media (prefers-reduced-motion: reduce) {
  .v5-evt-lum, .v5-evt-pass__eclat, .v5-evt-pass--vip .v5-evt-pass__face--avant::before { display: none; }
  .v5-evt-pass__carte, .v5-evt-pass--dos .v5-evt-pass__carte, .v5-evt-pass--face .v5-evt-pass__carte { transform: none; transition: none; animation: none; }
  .v5-pc .v5-evt-pass:not(.v5-evt-pass--dos):not(.v5-evt-pass--dos-fixe):hover .v5-evt-pass__carte { transform: none; }
  .v5-evt-pass__face--dos { transform: none; visibility: hidden; }
  .v5-evt-pass--dos .v5-evt-pass__face--avant { visibility: hidden; }
  .v5-evt-pass--dos .v5-evt-pass__face--dos, .v5-evt-pass--dos-fixe .v5-evt-pass__face--dos { visibility: visible; }
  .v5-evt-pass__action svg { transition: none; }
}

/* au dos, sur un téléphone étroit, le mot du bouton (« Prendre son ticket ») se réduit avec la largeur du pass : il ne passe jamais sous le cachet */
.v5 .v5-evt-pass .v5-reserve--court .v5-coupon__mot { font-size: min(17px, 5.1cqw); }

/* ============================================================================
   Le lettrage « Merry Blackmas » en mouvement (lot plus_motion, 19/11/2026)
   Le haut de la page de l'événement : le lettrage de l'affiche, en CSS seul, sans script.
   - à l'arrivée (une fois, 2,4 s) : « BLACKMAS » sort de l'écran et se pose, « Merry » s'écrit sous une plume de lumière,
     l'étoile du sapin s'allume, un trait de lumière traverse le chrome, des éclats partent sur les vrais reflets ;
   - au repos : un reflet repasse toutes les 8 s, l'étoile scintille, le lettrage respire (0,6 %) ;
   - au toucher (ou au survol) : un petit feu d'artifice, trois gerbes derrière et au-dessus du lettrage ;
   - la neige : onze cristaux, sur deux profondeurs ;
   - avec la classe v5-mb-titre--boucle : tout le déroulé rejoue toutes les 9 s (les cadres de la maquette).
   Aucune adresse d’image dans cette feuille : les deux images passent par le balisage (<img> et le masque en style en ligne).
   Règle de rendu : l'image se pose en fondu « écran » sur le fond de la page ; aucun ancêtre du lettrage ne porte
   de filtre, d'isolation, de transformation ou d'opacité : chaque mouvement est sur l'image elle-même ou sur une couche sœur.
   ============================================================================ */

/* ---------- le bloc : la largeur suit --mb-l ; au-dessus du lettrage, un ciel de 16 % de la largeur pour les gerbes ---------- */
.v5-mb-titre {
  position: relative; display: block; box-sizing: content-box;
  width: var(--mb-l, 100%); max-width: 100%;
  overflow: hidden; overflow: clip;
  -webkit-tap-highlight-color: transparent;
}
/* le ciel : une cale de 16 % de la largeur du bloc (une marge en % se lirait sur la largeur du parent) */
.v5-mb-titre::before { content: ""; display: block; padding-top: 16%; }
.v5-mb-titre__art { position: relative; display: block; }
.v5-mb-titre__b { position: relative; }
.v5-mb-titre__m { position: absolute; left: 0; top: 0; height: 100%; pointer-events: none; }

/* ---------- les deux mots : la même image, coupée en deux le long du vide qui sépare « Merry » de « BLACKMAS »
   (tracé relevé colonne par colonne sur l'image ; au repos, les deux moitiés se recollent sans jointure) ---------- */
.v5-mb-titre__m, .v5-mb-titre__lum--m {
  clip-path: polygon(0 0, 100% 0, 100% 30%, 74% 30%, 73% 34%, 72% 36%, 69% 38%, 68% 39%, 67% 41%, 66% 42%, 65% 43%, 64% 44%,
    62% 44.5%, 61% 45%, 60% 45.5%, 59% 46.5%, 57.5% 46.2%, 56.5% 48%, 55% 48%, 54% 45%, 53% 41%, 50% 40%, 49% 42%, 48% 43%,
    47% 44%, 43% 44%, 42% 42%, 41% 40%, 40% 40%, 39% 38%, 36% 38%, 35% 39%, 34.3% 42%, 34% 44%, 33% 47%, 32% 48%,
    31% 51.5%, 30% 53%, 29% 54%, 27% 54%, 26% 52%, 25.6% 49%, 25% 32%, 0 32%);
}
.v5-mb-titre__b, .v5-mb-titre__ombre {
  clip-path: polygon(0 32%, 25% 32%, 25.6% 49%, 26% 52%, 27% 54%, 29% 54%, 30% 53%, 31% 51.5%, 32% 48%, 33% 47%, 34% 44%,
    34.3% 42%, 35% 39%, 36% 38%, 39% 38%, 40% 40%, 41% 40%, 42% 42%, 43% 44%, 47% 44%, 48% 43%, 49% 42%, 50% 40%, 53% 41%,
    54% 45%, 55% 48%, 56.5% 48%, 57.5% 46.2%, 59% 46.5%, 60% 45.5%, 61% 45%, 62% 44.5%, 64% 44%, 65% 43%, 66% 42%, 67% 41%,
    68% 39%, 69% 38%, 72% 36%, 73% 34%, 74% 30%, 100% 30%, 100% 100%, 0 100%);
}

/* « Merry » se révèle sous un masque oblique (110°, la pente de l'écriture) : bord net de 8 % de la largeur ;
   la position finale (12 %) laisse tout le mot visible */
.v5-mb-titre__m {
  -webkit-mask-image: linear-gradient(110deg, #000 48%, transparent 52%); mask-image: linear-gradient(110deg, #000 48%, transparent 52%);
  -webkit-mask-size: 200% 100%; mask-size: 200% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 12% 0; mask-position: 12% 0;
}

/* ---------- l'ombre : « BLACKMAS » sort de la pénombre ; le trait de lumière l'allume en passant.
   Un voile de la couleur du fond (55 %), posé sur le seul dessin (masque blanc), coupé par un bord oblique qui suit
   le trait au pixel (même courbe, même durée, même angle) ; position finale : le voile est entièrement sorti à droite ---------- */
.v5-mb-titre__ombre {
  position: absolute; inset: 0; pointer-events: none; background: rgb(5 1 1 / 0.5);
  -webkit-mask-size: 300% 100%, 100% 100%; mask-size: 300% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 13.75% 0, 0 0; mask-position: 13.75% 0, 0 0;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

.v5-mb-titre__ombre--repos { background: rgb(5 1 1 / 0.42); -webkit-mask-position: 9.75% 0, 0 0; mask-position: 9.75% 0, 0 0; }

/* ---------- les couches de lumière (la lumière du chrome n'est pas coupée : le trait passe aussi sur « Merry », comme une vraie lampe ;
   une coupe nette dans le halo du dessin laisserait un fil de lumière visible) : masquées par le dessin en blanc (l'opacité suit la lumière du chrome),
   posées en fondu « écran » : elles n'ajoutent de la lumière que là où le métal en renvoie ---------- */
.v5-mb-titre__lum {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
/* le trait de lumière : une bande inclinée à 112° (la lumière vient d'en haut à gauche), cœur net, flancs courts */
.v5-mb-titre__trait {
  position: absolute; left: 0; top: 0; bottom: 0; width: 35%; transform: translateX(-100%);
  background: linear-gradient(112deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0.12) 41%, rgb(255 255 255 / 0.78) 48.6%,
    #FFFFFF 50%, rgb(255 255 255 / 0.78) 51.4%, rgb(255 255 255 / 0.12) 59%, rgb(255 255 255 / 0) 70%);
}
/* le reflet du repos : plus large, plus doux (il passe de loin en loin, on ne doit pas le guetter) */
.v5-mb-titre__trait--repos {
  background: linear-gradient(112deg, rgb(255 255 255 / 0) 26%, rgb(233 232 230 / 0.1) 40%, rgb(255 255 255 / 0.5) 49%,
    rgb(255 255 255 / 0.58) 50%, rgb(255 255 255 / 0.5) 51%, rgb(233 232 230 / 0.1) 60%, rgb(255 255 255 / 0) 74%);
}
/* la plume : une bande brûlante sur le front de l'écriture (rouge laqué chauffé à blanc) ; même angle que le masque */
.v5-mb-titre__plume {
  position: absolute; left: 0; top: 0; bottom: 0; width: 30%; opacity: 0;
  background: linear-gradient(110deg, rgb(220 49 64 / 0) 41%, rgb(220 49 64 / 0.35) 46%, rgb(255 196 200 / 0.92) 49.4%,
    #FFF4F4 50%, rgb(255 196 200 / 0.7) 51%, rgb(220 49 64 / 0) 54%);
}

/* ---------- les éclats : étoiles à quatre branches, aiguilles nettes (losanges très fins), cœur serré, sans halo ---------- */
.v5-mb-titre__eclats { position: absolute; inset: 0; pointer-events: none; }
.v5-mb-titre__eclat { position: absolute; width: 6%; aspect-ratio: 1; margin: -3% 0 0 -3%; --e-c: rgb(233 232 230 / 0.6); }
.v5-mb-titre__eclat > span {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle, #FFFFFF 0 2.4%, rgb(255 255 255 / 0.5) 5.5%, rgb(255 255 255 / 0) 12%);
}
.v5-mb-titre__eclat > span::before, .v5-mb-titre__eclat > span::after { content: ""; position: absolute; }
.v5-mb-titre__eclat > span::before {
  left: 8%; right: 8%; top: 0; bottom: 0;
  clip-path: polygon(0 50%, 45% 47.6%, 50% 46%, 55% 47.6%, 100% 50%, 55% 52.4%, 50% 54%, 45% 52.4%);
  background: linear-gradient(90deg, rgb(255 255 255 / 0), var(--e-c) 32%, #FFFFFF 50%, var(--e-c) 68%, rgb(255 255 255 / 0));
}
.v5-mb-titre__eclat > span::after {
  left: 0; right: 0; top: 0; bottom: 0;
  clip-path: polygon(50% 0, 52.4% 45%, 54% 50%, 52.4% 55%, 50% 100%, 47.6% 55%, 46% 50%, 47.6% 45%);
  background: linear-gradient(180deg, rgb(255 255 255 / 0), var(--e-c) 32%, #FFFFFF 50%, var(--e-c) 68%, rgb(255 255 255 / 0));
}
.v5-mb-titre__eclat--sapin { width: 16%; margin: -8% 0 0 -8%; --e-c: rgb(246 196 204 / 0.62); }
.v5-mb-titre__eclat--merry { width: 10.5%; margin: -5.25% 0 0 -5.25%; --e-c: rgb(255 176 184 / 0.6); }
.v5-mb-titre__eclat--k { width: 10.5%; margin: -5.25% 0 0 -5.25%; }
.v5-mb-titre__eclat--s { width: 9.5%; margin: -4.75% 0 0 -4.75%; }
.v5-mb-titre__eclat--b, .v5-mb-titre__eclat--c, .v5-mb-titre__eclat--m { width: 8%; margin: -4% 0 0 -4%; }

/* ---------- le feu d'artifice : trois gerbes fines, derrière le lettrage (il se pose dessus en « écran ») ---------- */
.v5-mb-titre__ciel { position: absolute; inset: 0; pointer-events: none; }
.v5-mb-titre__gerbe { position: absolute; width: 30%; aspect-ratio: 1; margin: -15% 0 0 -15%; --g-t: rgb(141 143 146 / 0.5); --g-h: #E9E8E6; }
.v5-mb-titre__gerbe--rouge { width: 27%; margin: -13.5% 0 0 -13.5%; --g-t: rgb(168 26 35 / 0.6); --g-h: #DC3140; }
.v5-mb-titre__gerbe--mixte { width: 19%; margin: -9.5% 0 0 -9.5%; --g-t: rgb(198 17 47 / 0.55); --g-h: #DC3140; }
.v5-mb-titre__gerbe--mixte > i:nth-of-type(even) { --g-t: rgb(141 143 146 / 0.5); --g-h: #E9E8E6; }
/* chaque trait : une tête blanche, une traîne qui prend la couleur de la gerbe ; il part du centre, file, ralentit, retombe */
.v5-mb-titre__gerbe > i {
  position: absolute; left: 50%; top: 50%; width: 50%; height: 1.5%; margin-top: -0.75%;
  transform-origin: 0 50%; transform: rotate(var(--a));
}
.v5-mb-titre__gerbe > i > b {
  position: absolute; top: 0; bottom: 0; right: 100%; width: 30%; border-radius: 1px; opacity: 0;
  transform-origin: 100% 50%; transform: scaleX(0.05);
  background: linear-gradient(90deg, rgb(0 0 0 / 0), var(--g-t) 52%, var(--g-h) 90%, #FFFFFF);
}
/* la fusée : un fil qui monte en ralentissant jusqu'au point d'éclatement */
.v5-mb-titre__gerbe > s {
  position: absolute; left: 50%; top: 50%; width: 1.1%; height: 24%; margin-left: -0.55%; border-radius: 1px; opacity: 0;
  transform-origin: 50% 0;
  background: linear-gradient(180deg, #FFFFFF, rgb(233 232 230 / 0.55) 30%, rgb(233 232 230 / 0));
}
/* l'éclatement : un éclair bref et serré au centre (la source de toute la gerbe) */
.v5-mb-titre__gerbe > u {
  position: absolute; left: 50%; top: 50%; width: 12%; aspect-ratio: 1; margin: -6% 0 0 -6%; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #FFFFFF 0 14%, rgb(255 236 238 / 0.5) 30%, rgb(255 236 238 / 0) 62%);
}

/* ---------- la neige : de petits cristaux à six branches, nets, sur deux profondeurs ---------- */
.v5-mb-titre__neige { position: absolute; inset: 0; pointer-events: none; }
.v5-mb-titre__flocon { position: absolute; top: -8%; height: 116%; opacity: 0; }
.v5-mb-titre__derive { display: block; }
.v5-mb-titre__flocon svg { display: block; width: 100%; height: auto; fill: none; stroke: #FFFFFF; stroke-width: 1.5; stroke-linecap: round; }
.v5-mb-titre__neige--loin .v5-mb-titre__flocon svg { stroke: #E9E8E6; stroke-width: 1.8; opacity: 0.45; }

/* ============================================================================
   Le déroulé. Par défaut : l'arrivée joue une fois (2,4 s), puis le repos tourne.
   ============================================================================ */
.v5-mb-titre__b, .v5-mb-titre__lum--b { animation: v5-mb-b 1.5s both, v5-mb-souffle 7s 2.4s infinite; }
.v5-mb-titre__m { animation: v5-mb-m 1.75s both, v5-mb-ecrit 1.45s both, v5-mb-souffle 7s 2.4s infinite; }
.v5-mb-titre__lum--m { animation: v5-mb-m 1.75s both, v5-mb-souffle 7s 2.4s infinite; }
.v5-mb-titre__plume { animation: v5-mb-plume 1.45s both, v5-mb-plume-o 1.51s both; }
.v5-mb-titre__trait { animation: v5-mb-trait 2.25s both; }
.v5-mb-titre__ombre { animation: v5-mb-b 1.5s both, v5-mb-ombre 2.25s both, v5-mb-souffle 7s 2.4s infinite; }
.v5-mb-titre__ombre--repos { animation: v5-mb-b 1.5s both, v5-mb-ombre-r 8s 6s infinite both, v5-mb-souffle 7s 2.4s infinite; }
.v5-mb-titre__trait--repos { animation: v5-mb-reflet 8s 6s infinite both; }
.v5-mb-titre__eclat--sapin > span:first-child { animation: v5-mb-sapin 1.72s both; }
.v5-mb-titre__eclat--sapin > span:last-child { animation: v5-mb-scintille 3s 1.72s infinite; }
/* les éclats de l'arrivée : l'étoile du sapin d'abord (1 s), puis ceux que le trait de lumière touche en passant */
.v5-mb-titre__eclat--merry > span:first-child { animation: v5-mb-e-merry 2.14s both; }
.v5-mb-titre__eclat--b > span:first-child { animation: v5-mb-e-b 2.095s both; }
.v5-mb-titre__eclat--c > span:first-child { animation: v5-mb-e-c 2.232s both; }
.v5-mb-titre__eclat--k > span:first-child { animation: v5-mb-e-k 2.323s both; }
.v5-mb-titre__eclat--m > span:first-child { animation: v5-mb-e-m 2.356s both; }
.v5-mb-titre__eclat--s > span:first-child { animation: v5-mb-e-s 2.401s both; }
/* au repos, quatre éclats repartent quand le reflet passe sur eux (même période, même retard) */
.v5-mb-titre__eclat--b > span:last-child { animation: v5-mb-r-b 8s 6s infinite both; }
.v5-mb-titre__eclat--k > span:last-child { animation: v5-mb-r-k 8s 6s infinite both; }
.v5-mb-titre__eclat--s > span:last-child { animation: v5-mb-r-s 8s 6s infinite both; }
.v5-mb-titre__eclat--merry > span:last-child { animation: v5-mb-r-merry 8s 6s infinite both; }
/* la neige ne dépend pas du déroulé : chute à vitesse constante (la vitesse limite d'un flocon), dérive et rotation lentes */
.v5-mb-titre__flocon { animation: v5-mb-neige var(--d) var(--r) linear infinite both; }
.v5-mb-titre__derive { animation: v5-mb-derive var(--b) var(--r) ease-in-out infinite alternate both; }
.v5-mb-titre__flocon svg { animation: v5-mb-tourne var(--s) linear infinite; }

/* le feu d'artifice, sur le site : au toucher (sur un écran tactile, le toucher pose :hover), au survol,
   ou quand le code ajoute la classe v5-mb-titre--feu (pour le relancer : retirer la classe, puis la remettre) */
.v5-mb-titre__gerbe--argent { --g-h0: 0ms; --g-b0: 2300ms; }
.v5-mb-titre__gerbe--rouge { --g-h0: 380ms; --g-b0: 2850ms; }
.v5-mb-titre__gerbe--mixte { --g-h0: 820ms; --g-b0: 3500ms; }
/* ---------- le feu d'artifice part aussi seul, une fois, quand le lettrage vient de se poser (2,4 s) ----------
   Bachard, 10 h 34 : « un petit feu d'artifice » ; sans cela il ne se voyait qu'au toucher. Les images clés sont les mêmes, sous un autre nom :
   le toucher (ou le survol) peut ainsi les relancer après ce premier tir. Règle de faible poids : la boucle des cadres et le toucher l'emportent. */
@keyframes v5-mb-chute-a {
  0% { transform: translateY(0); }
  22.326% { transform: translateY(0); animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55); }
  100% { transform: translateY(17%); }
}
@keyframes v5-mb-fusee-a {
  0% { opacity: 0; transform: translateY(330%) scaleY(0.4); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  2.791% { opacity: 0.9; transform: translateY(250%) scaleY(1); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  22.326% { opacity: 0.5; transform: translateY(0) scaleY(0.25); }
  24.186% { opacity: 0; transform: translateY(0) scaleY(0.1); }
}
@keyframes v5-mb-coeur-a {
  0% { opacity: 0; transform: scale(0.2); }
  21.86% { opacity: 0; transform: scale(0.2); animation-timing-function: cubic-bezier(0.1, 0.9, 0.3, 1); }
  25.116% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(0.4, 0, 0.9, 0.5); }
  37.674% { opacity: 0; transform: scale(1.5); }
}
@keyframes v5-mb-traits-a {
  0% { opacity: 0; transform: translateX(0) scaleX(0.05); }
  22.326% { opacity: 1; transform: translateX(0) scaleX(0.05); animation-timing-function: cubic-bezier(0.08, 0.8, 0.25, 1); }
  41.86% { opacity: 1; transform: translateX(calc(240% * var(--k))) scaleX(1); animation-timing-function: cubic-bezier(0.3, 0.3, 0.5, 1); }
  72.093% { opacity: 0.85; transform: translateX(calc(320% * var(--k))) scaleX(0.32); animation-timing-function: steps(1, end); }
  76.279% { opacity: 0.35; transform: translateX(calc(322% * var(--k))) scaleX(0.28); animation-timing-function: steps(1, end); }
  80% { opacity: 0.8; transform: translateX(calc(324% * var(--k))) scaleX(0.25); animation-timing-function: steps(1, end); }
  84.186% { opacity: 0.25; transform: translateX(calc(326% * var(--k))) scaleX(0.22); animation-timing-function: steps(1, end); }
  87.907% { opacity: 0.6; transform: translateX(calc(327% * var(--k))) scaleX(0.2); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  100% { opacity: 0; transform: translateX(calc(330% * var(--k))) scaleX(0.16); }
}
.v5-mb-titre__gerbe { animation: v5-mb-chute-a 2.15s calc(2400ms + var(--g-h0)) both; }
.v5-mb-titre__gerbe > s { animation: v5-mb-fusee-a 2.15s calc(2400ms + var(--g-h0)) both; }
.v5-mb-titre__gerbe > u { animation: v5-mb-coeur-a 2.15s calc(2400ms + var(--g-h0)) both; }
.v5-mb-titre__gerbe > i > b { animation: v5-mb-traits-a 2.15s calc(2400ms + var(--g-h0)) both; }
.v5-mb-titre:not(.v5-mb-titre--boucle):hover .v5-mb-titre__gerbe, .v5-mb-titre--feu .v5-mb-titre__gerbe { animation: v5-mb-chute 2.15s var(--g-h0) both; }
.v5-mb-titre:not(.v5-mb-titre--boucle):hover .v5-mb-titre__gerbe > s, .v5-mb-titre--feu .v5-mb-titre__gerbe > s { animation: v5-mb-fusee 2.15s var(--g-h0) both; }
.v5-mb-titre:not(.v5-mb-titre--boucle):hover .v5-mb-titre__gerbe > u, .v5-mb-titre--feu .v5-mb-titre__gerbe > u { animation: v5-mb-coeur 2.15s var(--g-h0) both; }
.v5-mb-titre:not(.v5-mb-titre--boucle):hover .v5-mb-titre__gerbe > i > b, .v5-mb-titre--feu .v5-mb-titre__gerbe > i > b { animation: v5-mb-traits 2.15s var(--g-h0) both; }

/* ============================================================================
   En boucle (classe v5-mb-titre--boucle) : tout le déroulé sur 9 s, puis un effacement de 0,35 s et ça repart
   ============================================================================ */
.v5-mb-titre--boucle .v5-mb-titre__b, .v5-mb-titre--boucle .v5-mb-titre__lum--b { animation: v5-mb-b-b 9s infinite both, v5-mb-souffle-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__m { animation: v5-mb-m-b 9s infinite both, v5-mb-ecrit-b 9s infinite both, v5-mb-souffle-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__lum--m { animation: v5-mb-m-b 9s infinite both, v5-mb-souffle-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__plume { animation: v5-mb-plume-b 9s infinite both, v5-mb-plume-o-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__trait { animation: v5-mb-trait-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__ombre { animation: v5-mb-b-b 9s infinite both, v5-mb-ombre-b 9s infinite both, v5-mb-souffle-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__ombre--repos { animation: v5-mb-b-b 9s infinite both, v5-mb-ombre-r-b 9s infinite both, v5-mb-souffle-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__trait--repos { animation: v5-mb-reflet-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--sapin > span:first-child { animation: v5-mb-sapin-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--sapin > span:last-child { animation: v5-mb-scintille-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--merry > span:first-child { animation: v5-mb-e-merry-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--b > span:first-child { animation: v5-mb-e-b-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--c > span:first-child { animation: v5-mb-e-c-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--k > span:first-child { animation: v5-mb-e-k-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--m > span:first-child { animation: v5-mb-e-m-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--s > span:first-child { animation: v5-mb-e-s-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--b > span:last-child { animation: v5-mb-r-b-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--k > span:last-child { animation: v5-mb-r-k-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--s > span:last-child { animation: v5-mb-r-s-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__eclat--merry > span:last-child { animation: v5-mb-r-merry-b 9s infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__gerbe { animation: v5-mb-chute-b 9s var(--g-b0) infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__gerbe > s { animation: v5-mb-fusee-b 9s var(--g-b0) infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__gerbe > u { animation: v5-mb-coeur-b 9s var(--g-b0) infinite both; }
.v5-mb-titre--boucle .v5-mb-titre__gerbe > i > b { animation: v5-mb-traits-b 9s var(--g-b0) infinite both; }

/* ============================================================================
   Moins d'animations : le lettrage posé, net, immobile ; ni lumière qui passe, ni éclat, ni feu d'artifice, ni neige
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  .v5-mb-titre__b, .v5-mb-titre__m, .v5-mb-titre__ombre, .v5-mb-titre__lum, .v5-mb-titre__lum *, .v5-mb-titre__eclat > span,
  .v5-mb-titre__gerbe, .v5-mb-titre__gerbe *, .v5-mb-titre__flocon, .v5-mb-titre__flocon * { animation: none !important; }
  .v5-mb-titre__m { -webkit-mask-image: none; mask-image: none; }
  .v5-mb-titre__lum, .v5-mb-titre__ombre, .v5-mb-titre__eclats, .v5-mb-titre__ciel, .v5-mb-titre__neige { display: none; }
}

/* ---------- les deux gabarits d'essai : le haut de la page, sur le fond de l'événement ---------- */
.v5-mb-essai {
  flex: 1 1 auto; box-sizing: border-box; display: flex; justify-content: center; align-items: center;
  background: radial-gradient(64% 52% at 50% 36%, rgb(82 13 27 / 0.62), rgb(82 13 27 / 0) 72%), #050101;
}
.v5-mb-essai--mob { padding: 0 16px 24px; --mb-l: 358px; }
.v5-mb-essai--pc { padding: 0 40px 24px; --mb-l: 520px; }

/* ============================================================================
   Les images clés (temps écrits en millisecondes dans la note ; ici en % de chaque durée)
   ============================================================================ */
@keyframes v5-mb-neige { 0% { transform: translateY(0); opacity: 0; } 7% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@keyframes v5-mb-derive { 0% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
@keyframes v5-mb-tourne { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes v5-mb-b {
  0% { opacity: 0; transform: perspective(1100px) translate3d(0, 15%, -170px) rotateX(46deg); animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1); }
  13.333% { opacity: 1; transform: perspective(1100px) translate3d(0, 10.5%, -120px) rotateX(36deg); animation-timing-function: cubic-bezier(0.16, 0.84, 0.3, 1); }
  57.333% { opacity: 1; transform: perspective(1100px) translate3d(0, -1.6%, 48px) rotateX(-6.5deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  79.333% { opacity: 1; transform: perspective(1100px) translate3d(0, 0.35%, -7px) rotateX(1.8deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { opacity: 1; transform: none; }
}
@keyframes v5-mb-b-b {
  0% { opacity: 0; transform: perspective(1100px) translate3d(0, 15%, -170px) rotateX(46deg); animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1); }
  2.222% { opacity: 1; transform: perspective(1100px) translate3d(0, 10.5%, -120px) rotateX(36deg); animation-timing-function: cubic-bezier(0.16, 0.84, 0.3, 1); }
  9.556% { opacity: 1; transform: perspective(1100px) translate3d(0, -1.6%, 48px) rotateX(-6.5deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  13.222% { opacity: 1; transform: perspective(1100px) translate3d(0, 0.35%, -7px) rotateX(1.8deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  16.667% { opacity: 1; transform: none; }
  96.111% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  100% { opacity: 0; transform: none; }
}
@keyframes v5-mb-m {
  0% { opacity: 0; transform: perspective(1100px) translate3d(0, -3%, 90px); }
  14.286% { opacity: 1; transform: perspective(1100px) translate3d(0, -3%, 90px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  100% { opacity: 1; transform: none; }
}
@keyframes v5-mb-m-b {
  0% { opacity: 0; transform: perspective(1100px) translate3d(0, -3%, 90px); }
  2.778% { opacity: 1; transform: perspective(1100px) translate3d(0, -3%, 90px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  19.444% { opacity: 1; transform: none; }
  96.111% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  100% { opacity: 0; transform: none; }
}
@keyframes v5-mb-ecrit {
  0% { -webkit-mask-position: 88% 0; mask-position: 88% 0; }
  17.241% { -webkit-mask-position: 88% 0; mask-position: 88% 0; animation-timing-function: cubic-bezier(0.38, 0.12, 0.42, 1); }
  100% { -webkit-mask-position: 12% 0; mask-position: 12% 0; }
}
@keyframes v5-mb-ecrit-b {
  0% { -webkit-mask-position: 88% 0; mask-position: 88% 0; }
  2.778% { -webkit-mask-position: 88% 0; mask-position: 88% 0; animation-timing-function: cubic-bezier(0.38, 0.12, 0.42, 1); }
  16.111% { -webkit-mask-position: 12% 0; mask-position: 12% 0; }
  100% { -webkit-mask-position: 12% 0; mask-position: 12% 0; }
}
@keyframes v5-mb-plume {
  0% { transform: translateX(-10%); }
  17.241% { transform: translateX(-10%); animation-timing-function: cubic-bezier(0.38, 0.12, 0.42, 1); }
  100% { transform: translateX(243.33%); }
}
@keyframes v5-mb-plume-b {
  0% { transform: translateX(-10%); }
  2.778% { transform: translateX(-10%); animation-timing-function: cubic-bezier(0.38, 0.12, 0.42, 1); }
  16.111% { transform: translateX(243.33%); }
  100% { transform: translateX(243.33%); }
}
@keyframes v5-mb-plume-o {
  0% { opacity: 0; }
  16.556% { opacity: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1); }
  25.828% { opacity: 1; }
  78.808% { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  100% { opacity: 0; }
}
@keyframes v5-mb-plume-o-b {
  0% { opacity: 0; }
  2.778% { opacity: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1); }
  4.333% { opacity: 1; }
  13.222% { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  16.778% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes v5-mb-trait {
  0% { transform: translateX(-100%); }
  51.111% { transform: translateX(-100%); animation-timing-function: cubic-bezier(0.5, 0.05, 0.4, 1); }
  100% { transform: translateX(300%); }
}
@keyframes v5-mb-trait-b {
  0% { transform: translateX(-100%); }
  12.778% { transform: translateX(-100%); animation-timing-function: cubic-bezier(0.5, 0.05, 0.4, 1); }
  25% { transform: translateX(300%); }
  100% { transform: translateX(300%); }
}
@keyframes v5-mb-ombre {
  0% { -webkit-mask-position: 83.75% 0, 0 0; mask-position: 83.75% 0, 0 0; }
  51.111% { -webkit-mask-position: 83.75% 0, 0 0; mask-position: 83.75% 0, 0 0; animation-timing-function: cubic-bezier(0.5, 0.05, 0.4, 1); }
  100% { -webkit-mask-position: 13.75% 0, 0 0; mask-position: 13.75% 0, 0 0; }
}
@keyframes v5-mb-ombre-b {
  0% { -webkit-mask-position: 83.75% 0, 0 0; mask-position: 83.75% 0, 0 0; }
  12.778% { -webkit-mask-position: 83.75% 0, 0 0; mask-position: 83.75% 0, 0 0; animation-timing-function: cubic-bezier(0.5, 0.05, 0.4, 1); }
  25% { -webkit-mask-position: 13.75% 0, 0 0; mask-position: 13.75% 0, 0 0; }
  100% { -webkit-mask-position: 13.75% 0, 0 0; mask-position: 13.75% 0, 0 0; }
}
@keyframes v5-mb-sapin {
  0% { opacity: 0; transform: scale(0.1) rotate(-30deg); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  8.14% { opacity: 0.85; transform: scale(0.2) rotate(-30deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  50% { opacity: 0.95; transform: scale(0.26) rotate(-24deg); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.6); }
  58.14% { opacity: 0.9; transform: scale(0.22) rotate(-30deg); animation-timing-function: cubic-bezier(0.12, 0.9, 0.25, 1); }
  66.86% { opacity: 1; transform: scale(1.3) rotate(0deg); animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); }
  98.837% { opacity: 0.55; transform: scale(0.82) rotate(0deg); animation-timing-function: steps(1, end); }
  100% { opacity: 0; transform: scale(0.82) rotate(0deg); }
}
@keyframes v5-mb-sapin-b {
  0% { opacity: 0; transform: scale(0.1) rotate(-30deg); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  1.556% { opacity: 0.85; transform: scale(0.2) rotate(-30deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  9.556% { opacity: 0.95; transform: scale(0.26) rotate(-24deg); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.6); }
  11.111% { opacity: 0.9; transform: scale(0.22) rotate(-30deg); animation-timing-function: cubic-bezier(0.12, 0.9, 0.25, 1); }
  12.778% { opacity: 1; transform: scale(1.3) rotate(0deg); animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); }
  18.889% { opacity: 0.55; transform: scale(0.82) rotate(0deg); animation-timing-function: steps(1, end); }
  19.111% { opacity: 0; transform: scale(0.82) rotate(0deg); }
  96.111% { opacity: 0; transform: scale(0.82) rotate(0deg); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  100% { opacity: 0; transform: scale(0.82) rotate(0deg); }
}
@keyframes v5-mb-e-merry {
  0% { opacity: 0; transform: scale(0); }
  71.028% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  76.822% { opacity: 1; transform: scale(0.9) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-merry-b {
  0% { opacity: 0; transform: scale(0); }
  16.889% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  18.267% { opacity: 1; transform: scale(0.9) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  23.778% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-b {
  0% { opacity: 0; transform: scale(0); }
  70.406% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  76.325% { opacity: 1; transform: scale(0.8) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-b-b {
  0% { opacity: 0; transform: scale(0); }
  16.389% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  17.767% { opacity: 1; transform: scale(0.8) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  23.278% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-c {
  0% { opacity: 0; transform: scale(0); }
  72.222% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  77.778% { opacity: 1; transform: scale(0.75) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-c-b {
  0% { opacity: 0; transform: scale(0); }
  17.911% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  19.289% { opacity: 1; transform: scale(0.75) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  24.8% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-k {
  0% { opacity: 0; transform: scale(0); }
  73.31% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  78.648% { opacity: 1; transform: scale(1.0) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-k-b {
  0% { opacity: 0; transform: scale(0); }
  18.922% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  20.3% { opacity: 1; transform: scale(1.0) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  25.811% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-m {
  0% { opacity: 0; transform: scale(0); }
  73.684% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  78.947% { opacity: 1; transform: scale(0.8) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-m-b {
  0% { opacity: 0; transform: scale(0); }
  19.289% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  20.667% { opacity: 1; transform: scale(0.8) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  26.178% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-s {
  0% { opacity: 0; transform: scale(0); }
  74.177% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  79.342% { opacity: 1; transform: scale(0.9) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-e-s-b {
  0% { opacity: 0; transform: scale(0); }
  19.789% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  21.167% { opacity: 1; transform: scale(0.9) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  26.678% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0.08) rotate(28deg); }
}
@keyframes v5-mb-reflet {
  0% { transform: translateX(-100%); animation-timing-function: cubic-bezier(0.6, 0, 0.35, 1); }
  17.5% { transform: translateX(300%); }
  100% { transform: translateX(300%); }
}
@keyframes v5-mb-reflet-b {
  0% { transform: translateX(-100%); }
  57.778% { transform: translateX(-100%); animation-timing-function: cubic-bezier(0.6, 0, 0.35, 1); }
  73.333% { transform: translateX(300%); }
  100% { transform: translateX(300%); }
}
@keyframes v5-mb-ombre-r {
  0% { -webkit-mask-position: 79.75% 0, 0 0; mask-position: 79.75% 0, 0 0; animation-timing-function: cubic-bezier(0.6, 0, 0.35, 1); }
  17.5% { -webkit-mask-position: 9.75% 0, 0 0; mask-position: 9.75% 0, 0 0; }
  100% { -webkit-mask-position: 9.75% 0, 0 0; mask-position: 9.75% 0, 0 0; }
}
@keyframes v5-mb-ombre-r-b {
  0% { -webkit-mask-position: 79.75% 0, 0 0; mask-position: 79.75% 0, 0 0; }
  57.778% { -webkit-mask-position: 79.75% 0, 0 0; mask-position: 79.75% 0, 0 0; animation-timing-function: cubic-bezier(0.6, 0, 0.35, 1); }
  73.333% { -webkit-mask-position: 9.75% 0, 0 0; mask-position: 9.75% 0, 0 0; }
  100% { -webkit-mask-position: 9.75% 0, 0 0; mask-position: 9.75% 0, 0 0; }
}
@keyframes v5-mb-r-b {
  0% { opacity: 0; transform: scale(0); }
  6.037% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  7.588% { opacity: 1; transform: scale(0.7) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  13.787% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-r-b-b {
  0% { opacity: 0; transform: scale(0); }
  63.144% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  64.522% { opacity: 1; transform: scale(0.7) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  70.033% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-r-k {
  0% { opacity: 0; transform: scale(0); }
  9.113% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  10.662% { opacity: 1; transform: scale(0.85) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  16.863% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-r-k-b {
  0% { opacity: 0; transform: scale(0); }
  65.878% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  67.256% { opacity: 1; transform: scale(0.85) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  72.767% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-r-s {
  0% { opacity: 0; transform: scale(0); }
  10.175% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  11.725% { opacity: 1; transform: scale(0.8) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  17.925% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-r-s-b {
  0% { opacity: 0; transform: scale(0); }
  66.822% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  68.2% { opacity: 1; transform: scale(0.8) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  73.711% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-r-merry {
  0% { opacity: 0; transform: scale(0); }
  21.25% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  22.8% { opacity: 1; transform: scale(0.7) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  29% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-r-merry-b {
  0% { opacity: 0; transform: scale(0); }
  76.667% { opacity: 0; transform: scale(0) rotate(-24deg); animation-timing-function: cubic-bezier(0.15, 0.9, 0.3, 1); }
  78.044% { opacity: 1; transform: scale(0.7) rotate(0deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  83.556% { opacity: 0; transform: scale(0.08) rotate(28deg); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes v5-mb-scintille {
  0% { opacity: 0.55; transform: scale(0.82) rotate(0deg); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  12.667% { opacity: 1; transform: scale(1.08) rotate(6deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  36.667% { opacity: 0.6; transform: scale(0.86) rotate(2deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  63.333% { opacity: 0.78; transform: scale(0.95) rotate(-3deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  100% { opacity: 0.55; transform: scale(0.82) rotate(0deg); }
}
@keyframes v5-mb-scintille-b {
  0% { opacity: 0; transform: scale(0.82) rotate(0deg); }
  18.889% { opacity: 0; transform: scale(0.82) rotate(0deg); animation-timing-function: steps(1, end); }
  19.111% { opacity: 0.55; transform: scale(0.82) rotate(0deg); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  23.333% { opacity: 1; transform: scale(1.08) rotate(6deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  31.333% { opacity: 0.6; transform: scale(0.86) rotate(2deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  40.222% { opacity: 0.78; transform: scale(0.95) rotate(-3deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  52.444% { opacity: 0.55; transform: scale(0.82) rotate(0deg); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  56.667% { opacity: 1; transform: scale(1.08) rotate(6deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  64.667% { opacity: 0.6; transform: scale(0.86) rotate(2deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  73.556% { opacity: 0.78; transform: scale(0.95) rotate(-3deg); animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); }
  85.778% { opacity: 0.55; transform: scale(0.82) rotate(0deg); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  96.111% { opacity: 0.55; transform: scale(0.82) rotate(0deg); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  100% { opacity: 0; transform: scale(0.82); }
}
@keyframes v5-mb-souffle {
  0% { scale: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  50% { scale: 1.006; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { scale: 1; }
}
@keyframes v5-mb-souffle-b {
  0% { scale: 1; }
  26.667% { scale: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  63.333% { scale: 1.006; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { scale: 1; }
}
@keyframes v5-mb-fusee {
  0% { opacity: 0; transform: translateY(330%) scaleY(0.4); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  2.791% { opacity: 0.9; transform: translateY(250%) scaleY(1); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  22.326% { opacity: 0.5; transform: translateY(0) scaleY(0.25); }
  24.186% { opacity: 0; transform: translateY(0) scaleY(0.1); }
}
@keyframes v5-mb-fusee-b {
  0% { opacity: 0; transform: translateY(330%) scaleY(0.4); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  0.667% { opacity: 0.9; transform: translateY(250%) scaleY(1); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  5.333% { opacity: 0.5; transform: translateY(0) scaleY(0.25); }
  5.778% { opacity: 0; transform: translateY(0) scaleY(0.1); }
  100% { opacity: 0; transform: translateY(0) scaleY(0.1); }
}
@keyframes v5-mb-coeur {
  0% { opacity: 0; transform: scale(0.2); }
  21.86% { opacity: 0; transform: scale(0.2); animation-timing-function: cubic-bezier(0.1, 0.9, 0.3, 1); }
  25.116% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(0.4, 0, 0.9, 0.5); }
  37.674% { opacity: 0; transform: scale(1.5); }
}
@keyframes v5-mb-coeur-b {
  0% { opacity: 0; transform: scale(0.2); }
  5.222% { opacity: 0; transform: scale(0.2); animation-timing-function: cubic-bezier(0.1, 0.9, 0.3, 1); }
  6% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(0.4, 0, 0.9, 0.5); }
  9% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes v5-mb-traits {
  0% { opacity: 0; transform: translateX(0) scaleX(0.05); }
  22.326% { opacity: 1; transform: translateX(0) scaleX(0.05); animation-timing-function: cubic-bezier(0.08, 0.8, 0.25, 1); }
  41.86% { opacity: 1; transform: translateX(calc(240% * var(--k))) scaleX(1); animation-timing-function: cubic-bezier(0.3, 0.3, 0.5, 1); }
  72.093% { opacity: 0.85; transform: translateX(calc(320% * var(--k))) scaleX(0.32); animation-timing-function: steps(1, end); }
  76.279% { opacity: 0.35; transform: translateX(calc(322% * var(--k))) scaleX(0.28); animation-timing-function: steps(1, end); }
  80% { opacity: 0.8; transform: translateX(calc(324% * var(--k))) scaleX(0.25); animation-timing-function: steps(1, end); }
  84.186% { opacity: 0.25; transform: translateX(calc(326% * var(--k))) scaleX(0.22); animation-timing-function: steps(1, end); }
  87.907% { opacity: 0.6; transform: translateX(calc(327% * var(--k))) scaleX(0.2); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  100% { opacity: 0; transform: translateX(calc(330% * var(--k))) scaleX(0.16); }
}
@keyframes v5-mb-traits-b {
  0% { opacity: 0; transform: translateX(0) scaleX(0.05); }
  5.333% { opacity: 1; transform: translateX(0) scaleX(0.05); animation-timing-function: cubic-bezier(0.08, 0.8, 0.25, 1); }
  10% { opacity: 1; transform: translateX(calc(240% * var(--k))) scaleX(1); animation-timing-function: cubic-bezier(0.3, 0.3, 0.5, 1); }
  17.222% { opacity: 0.85; transform: translateX(calc(320% * var(--k))) scaleX(0.32); animation-timing-function: steps(1, end); }
  18.222% { opacity: 0.35; transform: translateX(calc(322% * var(--k))) scaleX(0.28); animation-timing-function: steps(1, end); }
  19.111% { opacity: 0.8; transform: translateX(calc(324% * var(--k))) scaleX(0.25); animation-timing-function: steps(1, end); }
  20.111% { opacity: 0.25; transform: translateX(calc(326% * var(--k))) scaleX(0.22); animation-timing-function: steps(1, end); }
  21% { opacity: 0.6; transform: translateX(calc(327% * var(--k))) scaleX(0.2); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  23.889% { opacity: 0; transform: translateX(calc(330% * var(--k))) scaleX(0.16); }
  100% { opacity: 0; transform: translateX(calc(330% * var(--k))) scaleX(0.16); }
}
@keyframes v5-mb-chute {
  0% { transform: translateY(0); }
  22.326% { transform: translateY(0); animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55); }
  100% { transform: translateY(17%); }
}
@keyframes v5-mb-chute-b {
  0% { transform: translateY(0); }
  5.333% { transform: translateY(0); animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55); }
  23.889% { transform: translateY(17%); }
  100% { transform: translateY(17%); }
}


/* ==== « Voir mon pass » et « Billet perdu ? » : deux pages du site (demande de 19 h 58) ====
   Tout vient du design validé : la coque des pages, le formulaire-billet et son talon, les cases du code de secours et le viseur de
   l'espace revendeur, les boutons du kit, le bloc d'alerte. Cette feuille ne règle que la zone du viseur et quelques mesures. */
.v5-site .v5-form__partie { gap: 16px; }
.v5-site .mp4-cases { max-width: 460px; }
/* le bouton secondaire : centré, comme dans le parcours du client validé */
.v5-site .mp-bouton--second { justify-content: center; gap: 10px; }
/* les cases : le signe de contrôle garde 44 px de large, la taille d'une cible ; au téléphone, les signes se resserrent pour tenir à 320 px */
.v5-site .mp4-cases { grid-template-columns: repeat(4, minmax(0, 1fr)) 44px; }
.v5-site .mp4-case { text-transform: uppercase; }
.v5-site .mp4-cases { container-type: inline-size; }
.v5-mob .v5-site .mp4-case { font-size: 16px; font-size: clamp(14px, 5.8cqi, 18px); letter-spacing: 0.02em; }
/* le lien du talon : une cible de 44 px de haut */
.v5-site .v5-aide__ecrire { gap: 0; padding-bottom: 0; }
.v5 .v5-site .v5-aide__ecrire a { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; margin-bottom: -10px; }
.v5-site .mp4-statut p { color: var(--mpv-texte); font: 400 15px/1.45 var(--mpv-police-texte); }
.v5-site .mp4-statut .pc-doux { color: var(--mpv-texte-2); }
/* aucune fin de paragraphe sur un mot seul */
.v5-site .v5-aide__liste span, .v5-site .mp-champ__erreur, .v5-site .mp-champ__aide, .v5-site .v5-form__note, .v5-site .mp4-statut p, .v5-titre-page + .v5-site, .v5-site .v5-aide__ecrire { text-wrap: pretty; }
/* la zone du viseur : la place de l'appareil photo ; le viseur est celui de l'espace revendeur (quatre coins, une ligne en pointillé) */
.v5-site-visee { position: relative; display: grid; place-items: center; width: 100%; max-width: 320px; aspect-ratio: 1 / 1; margin: 0 auto; overflow: hidden; border-radius: 22px; background: var(--mpv-surface-2); text-decoration: none; }
.v5-site-viseur { position: relative; z-index: 2; display: block; width: 66%; height: 66%; fill: none; stroke: var(--mpv-marque); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.v5-site-viseur__ligne { stroke: var(--mpv-texte-2); stroke-width: 2; stroke-dasharray: 2 8; }
.v5 .v5-site-visee__dit { position: absolute; z-index: 2; right: 12px; bottom: 16px; left: 12px; margin: 0; color: var(--mpv-texte-2); font: 700 11px/1.3 var(--mpv-police-texte); letter-spacing: 0.14em; text-align: center; text-transform: uppercase; }
/* l'appareil photo ouvert : son image remplit la zone (ici, un pass d'exemple) ; le viseur passe en clair */
.v5-site-visee--ouverte { background: #120D0E; }
.v5-site-visee--ouverte .v5-site-viseur { stroke: #EEECE8; }
.v5-site-visee--ouverte .v5-site-viseur__ligne { stroke: rgb(238 236 232 / 0.8); }
.v5 .v5-site-visee--ouverte .v5-site-visee__dit { color: #EEECE8; }
.v5-site-visee__vue { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #3A2A2C 0%, #171112 60%, #0C0809 100%); }
.v5-site-visee__pass { position: absolute; top: 4%; left: 50%; display: block; width: 52%; margin-left: -26%; overflow: hidden; border-radius: 12px; box-shadow: 0 18px 30px rgb(0 0 0 / 0.45); transform: rotate(-7deg); }
.v5-site-visee__corps { display: block; height: 0; padding-bottom: 46%; background: linear-gradient(160deg, #A81A23, #6E1728); }
.v5-site-visee__talon { display: grid; place-items: center; padding: 12% 0 16%; border-top: 2px dotted rgb(26 3 6 / 0.4); background: #EEECE8; }
.v5-site-visee__talon img { display: block; width: 62%; height: auto; }
/* le talon court : au format tablette, et sur ordinateur pour « Billet perdu ? », le sceau du fond passerait sous le texte ;
   le cachet prend sa place, en haut à droite, comme au téléphone */
.v5-tab .v5-site .v5-aide .v5-g--a, .v5-tab .v5-site .v5-aide .v5-sceau--a,
.v5-pc .v5-site--perdu .v5-aide .v5-g--a, .v5-pc .v5-site--perdu .v5-aide .v5-sceau--a { display: none; }
.v5-tab .v5-site .v5-aide > .v5-cachet, .v5-pc .v5-site--perdu .v5-aide > .v5-cachet { display: grid; position: absolute; top: 16px; right: 16px; width: 74px; color: #EEECE8; opacity: 0.5; transform: rotate(-9deg); }
.v5-tab .v5-site .v5-aide__titre, .v5-pc .v5-site--perdu .v5-aide__titre { padding-right: 84px; }
/* sur ordinateur, « Billet perdu ? » : le talon est plus haut que la saisie, qui se place à mi-hauteur */
.v5-pc .v5-site--perdu .v5-form__corps { align-content: center; }

/* v5-site-agenda.css */
/* Miivâ Pass, v5 : l'agenda de l'accueil, ce que le site demande et que la maquette ne porte pas. La construction ajoute
   cette feuille à la fin de la feuille principale, après v5.css. Aucune règle ne change l'image de la maquette.
   « Mois précédent » au mois de début (aria-disabled, sans disabled) a déjà son aspect dans v5-site.css. */

/* La bande des jours du téléphone défile sur le site ; la maquette la fige : overflow: hidden et une liste décalée de
   114 px, qui commence quatre jours avant aujourd'hui (v5.css, « le téléphone ») et n'a pas de marge (v5.css :
   .v5 ul { padding: 0 }). Aujourd'hui y est donc à 4 fois 62 px (un jour et son écart) - 114 px = 134 px du bord gauche
   de la bande, à toutes les largeurs.
   v5-agenda.js pose v5-defile quand il a écrit tous les jours (du mois de début à deux mois après le dernier événement) :
   la bande défile, la liste n'est plus décalée, et le script la fait défiler pour qu'aujourd'hui soit à ces 134 px, lus
   ici (scroll-padding-left). Sans script, la bande reste celle de la maquette. */
.v5 .v3-bande.v5-defile { overflow-x: auto; overflow-y: hidden; scroll-padding-left: 134px; }
.v5 .v3-bande.v5-defile .v3-bande__liste { transform: none; }

/* L'aimant de la v3 (le centre de chaque jour, v3-accueil) poserait aujourd'hui ailleurs (à 150 px à 390 px de large) :
   chaque jour s'aimante par son bord gauche, à 134 px (le retrait ci-dessus), là où la maquette met aujourd'hui. */
.v5 .v3-bande.v5-defile .v3-j { scroll-snap-align: start; }

/* Le focus d'un jour au clavier (contour de 3 px, à 2 px du jour, v3-accueil) dépasse la bande de 5 px en haut et en bas,
   et la bande coupe ce qui la dépasse : tant qu'un jour a ce focus, 5 px de marge intérieure, rendus par une marge
   négative, le montrent entier ; rien d'autre ne bouge (la bande n'a ni fond ni bord, et 12 px de vide la séparent du
   mois et du bas). Seulement pendant ce focus : posée en tout temps, cette marge change d'un niveau de couleur les coins
   arrondis des jours au repos (mesuré dans Chromium). Un navigateur sans :has() garde le contour coupé de la maquette. */
.v5 .v3-bande.v5-defile:has(.v3-j:focus-visible) { padding: 5px 0; margin: -5px 0; }

/* v5-site-arrivee.css */
/* Miivâ Pass, v5 : ce que le site ajoute à la feuille de la maquette pour l'écran de chargement et le carré d'acceptation
   (v5-arrivee.js). Se charge après v5.css. Dans la maquette, l'écran de chargement est un cadre de taille fixe (1440 × 810,
   390 × 844, 768 × 1024), sa propre racine ; le voile et le carré sont posés dans un cadre fixe de 1440 × 900. Sur le site,
   la page est fluide et défile, et le script clone l'un et l'autre dans la racine .v5 de la page. Chaque règle dit pourquoi
   elle existe ; aucune ne redessine un écran. Classes posées par le script : v5-entree--mob, v5-entree--tab et
   v5-entree--sortie (l'écran), v5-voile--accord (le voile du carré), v5-avis--defile (le carré, fenêtre trop basse),
   v5-avis-libre (la racine, carré sans voile), v5-arrivee-fige et v5-arrivee-fige--gouttiere (<html>). */

/* ---------- l'écran de chargement ---------- */

/* il couvre la fenêtre, quelle que soit sa taille, au-dessus de la page et de ses calques (bulles à 90, lien d'évitement
   à 100) ; sous le menu (1000), qui ne peut pas s'ouvrir tant qu'il est là */
.v5.v5-entree { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 990; }

/* sur le site, --v5-p suit le vrai chargement (le script la pose) : la boucle de démonstration de la maquette ne joue pas */
.v5.v5-entree { animation: none; }

/* posé dans la racine de la page, il n'en prend ni la colonne ni les marges (la colonne centrée du programme, par exemple) */
.v5.v5-entree { max-width: none !important; margin: 0 !important; }

/* dans la maquette, l'écran est sa propre racine ; sur le site, la racine de la page (v5-pc, v5-tab, v5-mob) l'entoure, et
   deux de ses règles atteindraient les rosaces et les sceaux de l'écran : on les défait, rien d'autre ne change.
   .v5-mob .v5-g--g { display: none; } (le pied du téléphone) cacherait la rosace du bas */
.v5.v5-entree .v5-g--g { display: block; }
/* .v5-pc .v5-sceau et .v5-tab .v5-sceau posent le sceau en haut à droite : celui du bas reste en bas à gauche */
.v5.v5-entree .v5-sceau--g { top: auto; right: auto; }

/* l'effacement : un fondu de 0,3 s (FONCTIONNEMENT-v5 § 2, proposition retenue ; la maquette ne le dessine pas) ; pendant
   le fondu, l'écran ne prend plus aucun geste : la page, ou le carré posé dessous, répond déjà */
.v5.v5-entree--sortie { opacity: 0; transition: opacity 0.3s ease-out; pointer-events: none; }

/* moins d'animations : sans fondu (le script retire l'écran d'un coup ; la règle tient si la classe est posée quand même) */
@media (prefers-reduced-motion: reduce) { .v5.v5-entree--sortie { transition: none; } }

/* ---------- le carré d'acceptation et son voile ---------- */

/* ils se tiennent à la fenêtre, pas au haut de la page : la page défile, eux restent où la maquette les pose (le voile sur
   tout l'écran, le carré à 24 px du bas et de la gauche) ; au-dessus des calques de la page, sous l'écran de chargement qui
   s'efface au-dessus d'eux */
.v5 .v5-voile--accord { position: fixed; z-index: 950; }
.v5 .v5-avis--accord { position: fixed; z-index: 960; }

/* posé dans la racine de la page, le carré n'en prend ni la colonne ni les marges (la colonne centrée du programme) */
.v5 .v5-avis--accord { max-width: none !important; margin: 0 !important; }

/* une fenêtre trop basse pour lui (téléphone couché, texte agrandi à 400 %) : le carré ne sort pas de l'écran, il défile en
   lui-même et « Continuer » reste atteignable ; le script ne pose v5-avis--defile que dans ce cas (sinon, rien ne change) */
.v5 .v5-avis--accord.v5-avis--defile { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }

/* le titre reste un bloc sur toutes les pages (.v5-prog h2 le mettrait en ligne flexible sur la page du programme) */
.v5 .v5-avis--accord .v5-avis__titre { display: block; }

/* le message « Cochez la case pour continuer. » vient sous la case et tient, comme elle, toute la largeur du carré */
.v5-avis--accord > .mp-champ__erreur { grid-column: 1 / -1; }

/* au téléphone, le carré prend toute la largeur, en bas (DESIGN-v5 § 8 ; aucun cadre ne le dessine) : les coins du bas
   contre le bord de l'écran, les mêmes marges intérieures, la barre du système laissée libre. Bornées à la largeur du
   téléphone : la page du programme reste .v5-mob à toutes les largeurs, son carré doit rester un carré à l'ordinateur. */
@media (max-width: 699.98px) {
  .v5-mob .v5-avis--accord {
    left: 0; right: 0; bottom: 0; width: auto;
    border-radius: 18px 18px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .v5-mob .v5-avis--accord.v5-avis--defile { max-height: 100vh; max-height: 100dvh; }
}

/* sur les pages des conditions et de la confidentialité, le carré paraît sans voile : la fin de la page reste lisible
   au-dessus de lui (le script mesure la place qu'il prend) */
.v5.v5-avis-libre { padding-bottom: var(--v5-avis-h, 0px); }

/* tant que le carré retient la page, elle ne défile pas sous le voile ; la place de la barre de défilement reste prise
   (seulement s'il y en avait une), rien ne bouge */
html.v5-arrivee-fige { overflow: hidden; }
html.v5-arrivee-fige--gouttiere { scrollbar-gutter: stable; }

/* en anglais, le pourcentage de l'anneau s'écrit sans espace (« 42% »), comme le reste des pages anglaises est localisé */
html[lang="en"] .v5-anneau__pct::after { content: counter(v5p) "%"; }

/* v5-site-evenement.css */
/* Miivâ Pass, v5 : ce que le site ajoute à la feuille de la maquette pour les gestes de la page de l'événement
   (v5-evenement.js). Se charge après plus-motion.css. La maquette n'a pas de script : ses cadres n'avaient pas besoin de ces
   deux règles, qui ne touchent que le feu d'artifice du lettrage animé et ne changent aucun écran. */

/* Le script mène le feu d'artifice dès qu'il est là (v5-mb-titre--pilote) : il le tire une fois quand le lettrage vient de se
   poser, puis à chaque toucher ou clic (v5-mb-titre--feu, retirée après 3 s). Sans cette règle, le premier tir de la feuille
   (images clés v5-mb-*-a, retardées de 2,4 s) repartirait de zéro chaque fois que v5-mb-titre--feu est retirée ou que le
   survol cesse, et un second feu partirait 2,4 s plus tard, sans geste. La règle du survol, plus forte, reste : à la souris,
   le feu part toujours au survol, comme dans la maquette. Les traits et les fusées sont transparents sans animation. */
.v5-mb-titre--pilote:not(.v5-mb-titre--feu) .v5-mb-titre__gerbe,
.v5-mb-titre--pilote:not(.v5-mb-titre--feu) .v5-mb-titre__gerbe > s,
.v5-mb-titre--pilote:not(.v5-mb-titre--feu) .v5-mb-titre__gerbe > u,
.v5-mb-titre--pilote:not(.v5-mb-titre--feu) .v5-mb-titre__gerbe > i > b { animation: none; }

/* Relancer le feu : le script pose v5-mb-titre--arret, force un recalcul, puis la retire en posant v5-mb-titre--feu. Sur un
   écran tactile, le toucher laisse le survol posé sur le lettrage : la règle du survol tiendrait les mêmes animations, qui ne
   repartiraient pas au toucher suivant. Celle-ci les coupe le temps de ce recalcul, quelle que soit la règle qui les donne. */
.v5-mb-titre--arret .v5-mb-titre__gerbe,
.v5-mb-titre--arret .v5-mb-titre__gerbe > s,
.v5-mb-titre--arret .v5-mb-titre__gerbe > u,
.v5-mb-titre--arret .v5-mb-titre__gerbe > i > b { animation: none !important; }

/* v5-site-formulaires.css */
/* Miivâ Pass, v5 : ce que le site ajoute à la feuille de la maquette pour les deux formulaires (js/v5-formulaires.js, lot 6).
   construire.py ne la prend que si FORMULAIRES_EN_LIGNE est vrai (du_site()), et la met alors dans la feuille principale de
   toutes les pages, après v5.css : chaque règle ci-dessous ne vise donc que les pages des formulaires (form.v5-form : « À propos »
   porte la même classe sur un div, jamais sur un form) ou « Demande envoyée », qui prend leur place. Chaque règle dit pourquoi
   elle existe ; aucune ne redessine un écran. */

/* un groupe de puces qui manque (« Son type », « Où vendrez-vous ? »…) : le trait fort du champ qui manque, tel que le cadre
   Formulaire-les-etats le dessine pour une boîte de saisie (.mp-champ--erreur .mp-champ__boite : 2 px de la couleur du texte).
   Un groupe n'a pas de boîte : chaque puce prend ce trait à la place du sien (1,5 px), la carte de l'événement aussi */
form.v5-form .mp-champ--erreur .mp-puce--choix { box-shadow: inset 0 0 0 2px var(--mp-texte); }
.v5 form.v5-form .mp-champ--erreur .v5-evt-choix { box-shadow: inset 0 0 0 2px var(--mp-texte); }

/* la page de consentement qui précède chaque formulaire (consentement.py) : ses deux choix sont des boutons du kit (.mp-bouton),
   posés dans le texte de la page ; la règle des liens du texte (.v5 .v5-texte a : couleur de la marque, inline-block) leur
   donnait la couleur de leur fond. Ils gardent celles du kit, comme « Retour aux événements » de « Demande envoyée » */
.v5 .v5-texte [data-v5-consentement] .mp-bouton { display: inline-flex; color: var(--b-texte); }

/* « Demande envoyée » : son titre reçoit le focus quand il remplace le formulaire, pour qu'un lecteur d'écran le dise ; ce
   n'est pas une commande : il ne prend pas l'anneau de focus du kit (.mp :focus-visible), que la maquette ne dessine pas */
.v5-recu__titre[tabindex="-1"]:focus { outline: none; }

/* la tablette (700 à 1 099 px) n'a pas de cadre : le talon rouge passe sous le formulaire, comme celui d'« À propos ». Sa rosace
   et son sceau sont placés pour la haute colonne de l'ordinateur (bas du talon) : dans un talon bas, ils tombent sur son texte
   (collisions.py, 768 et 1 024 px). Ils s'effacent, comme au téléphone (.v5-mob .v5-aide .v5-g--a, .v5-sceau--a) */
.v5-tab form.v5-form .v5-aide .v5-g--a, .v5-tab form.v5-form .v5-aide .v5-sceau--a { display: none; }

/* au-dessous de 360 px, v5-site.css élargit de 2 px le talon rouge et rapetisse son cachet, pour « À propos » et l'agenda ; les
   formulaires gardent les valeurs de leurs cadres de téléphone, que les contrôles de la maquette ont passés jusqu'à 320 px
   (DESIGN-v5, § 12) : la page reste identique au cadre à 320 px */
@media (max-width: 359.98px) {
  .v5-mob form.v5-form .v5-aide { padding-left: 22px; padding-right: 22px; }
  .v5-mob form.v5-form .v5-aide > .v5-cachet { width: 74px; }
}

/* v5-site-programme-bureau.css */
/* la colonne : la même mesure que .v5-large à l'ordinateur (v5.css, « le gabarit ») ; deux colonnes 5fr/7fr comme la
   page de l'événement (plus-evenement.css) : le billet et les deux petits billets à gauche, les vidéos à droite */
.v5-pc .v5-prog__int {
  width: min(1180px, calc(100% - 64px)); margin-left: auto; margin-right: auto;
  padding: 12px 0 64px; gap: 44px 72px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.v5-pc .v5-prog__retour, .v5-pc .v5-prog__entete { grid-column: 1 / -1; }
.v5-pc .v5-lisere, .v5-pc .v3-boutons { grid-column: 1; min-width: 0; }
.v5-pc .v3-boutons { align-self: start; }
.v5-pc section.v5-prog__bloc { grid-column: 2; grid-row: 3 / span 2; min-width: 0; }

/* l'en-tête rejoint celui des autres pages (aucun retrait) ; la nav d'ordinateur paraît (v5.css .v5-nav).
   La racine porte v5-prog et v5-pc ensemble : le composé .v5-pc.v5-prog, comme .v5-mob.v5-evt (plus-evenement.css) */
.v5-pc.v5-prog .v5-tete { padding: 0; }

/* la tête du programme : le titre à la taille du titre des pages de texte (76 px, v5.css .v5-pc .mp2-titre) */
.v5-pc .v5-prog__entete { gap: 10px; }
.v5-pc .v5-prog__lettrage { width: 372px; }
.v5-pc .v5-prog__titre { font-size: 76px; }
.v5-pc .v5-prog__sous { font-size: 18px; }

/* le billet « Programme en attente » : talon de 132 px, le masque suit (même principe que la tablette) */
.v5-pc .v5-attente { grid-template-columns: minmax(0, 1fr) 132px; }
.v5-pc .v5-attente {
  -webkit-mask-image: radial-gradient(circle 9px at calc(100% - 132px) 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at calc(100% - 132px) 100%, #0000 8.5px, #000 9px);
  mask-image: radial-gradient(circle 9px at calc(100% - 132px) 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at calc(100% - 132px) 100%, #0000 8.5px, #000 9px);
}
.v5-pc .v5-attente > div { padding: 28px 30px 30px; }
.v5-pc .v5-attente b { font-size: 34px; }
.v5-pc .v5-attente p { font-size: 16px; }
.v5-pc .v5-attente > span .v5-cachet { width: 92px; }

/* « Les vidéos » (le composé .v5-pc.v5-prog : v5-prog et v5-pc sont sur la même racine) */
.v5-pc.v5-prog h2 { font-size: 30px; }

/* v5-site-programme-tablette.css */
/* la colonne : la même mesure que .v5-large à la tablette (v5.css, « le gabarit »), sans toucher au téléphone */
.v5-tab .v5-prog__int { width: calc(100% - 64px); margin-left: auto; margin-right: auto; padding: 8px 0 56px; gap: 32px; }

/* l'en-tête : v5.css garde le retrait du téléphone (0 8px 0 16px) à tous les gabarits ; la coque rejoint celle des autres pages */
.v5-tab.v5-prog .v5-tete { padding: 0; }

/* la tête du programme, un peu plus grande */
.v5-tab .v5-prog__entete { gap: 8px; }
.v5-tab .v5-prog__lettrage { width: 300px; }
.v5-tab .v5-prog__titre { font-size: 64px; }
.v5-tab .v5-prog__sous { font-size: 17px; }

/* le billet « Programme en attente » : talon de 116 px au lieu de 92 ; les images du masque des encoches suivent
   (v5.css les écrit en dur à 92 px) ; les longhands gardent le composé intersect/source-in de v5.css */
.v5-tab .v5-attente { grid-template-columns: minmax(0, 1fr) 116px; }
.v5-tab .v5-attente {
  -webkit-mask-image: radial-gradient(circle 9px at calc(100% - 116px) 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at calc(100% - 116px) 100%, #0000 8.5px, #000 9px);
  mask-image: radial-gradient(circle 9px at calc(100% - 116px) 0, #0000 8.5px, #000 9px),
    radial-gradient(circle 9px at calc(100% - 116px) 100%, #0000 8.5px, #000 9px);
}
.v5-tab .v5-attente > div { padding: 22px 24px 24px; }
.v5-tab .v5-attente b { font-size: 30px; }
.v5-tab .v5-attente p { font-size: 15px; }
.v5-tab .v5-attente > span .v5-cachet { width: 78px; }

/* « Les vidéos » : mêmes emplacements, titre un peu plus grand */
.v5-tab.v5-prog h2 { font-size: 28px; }

/* tablette couchée (v5-tab--paysage, 900 à 1 099 px) : la composition d'ordinateur, comme la page de l'événement */
.v5-tab--paysage .v5-prog__int {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 44px;
  align-items: start;
}
.v5-tab--paysage .v5-prog__retour, .v5-tab--paysage .v5-prog__entete { grid-column: 1 / -1; }
.v5-tab--paysage .v5-lisere, .v5-tab--paysage .v3-boutons { grid-column: 1; min-width: 0; }
.v5-tab--paysage .v3-boutons { align-self: start; }
.v5-tab--paysage section.v5-prog__bloc { grid-column: 2; grid-row: 3 / span 2; min-width: 0; }

/* v5-site-videos.css */
/* Miivâ Pass, v5 : les vidéos de la page du programme de Merry Blackmas (js/v5-videos.js). La construction pose dans les
   trois emplacements de la maquette (« Les vidéos ») un lien vers chaque fichier et son image d'attente ; au toucher, le
   script ouvre le lecteur par-dessus le site. Le lecteur est celui de la page de référence du parcours client
   (design-parcours-client-2026-11-19 : reference/ecrans/Programme-video.html ; sa feuille, miiva-pass-a860d1ac9c.css,
   394f909b8c avant le 19/11 à 19 h 06, lignes 4081 à 4106, les mêmes dans les deux) : ses règles sont reprises telles
   quelles en 2 ; en 3, seulement ce qu'impose le site. La page du programme n'existe qu'en sombre : le lecteur aussi.
   Aucune règle ne change l'image de la maquette en attente. */

/* 1. Les emplacements de la page. Le lien garde l'aspect de l'emplacement de la maquette (v5.css : .v5-video__vue et son rond
   de lecture, lignes 796 à 804 ; son liseré, ligne 880) ; s'y ajoutent l'image d'attente et ce qu'un lien demande. */
a.v5-video__vue { position: relative; color: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* l'image d'attente, debout (576 × 1024), recadrée au centre dans l'emplacement 16 sur 9, sous le rond de lecture */
.v5-video__vue > .v5-video__attente { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; border-radius: inherit; }
a.v5-video__vue > .v5-video__lecture, .v5-par-lecteur__autre .v5-video__lecture { position: relative; z-index: 1; }
/* le liseré de l'emplacement est une ombre intérieure (v5.css, ligne 880), que l'image couvrirait : il passe par-dessus
   l'image, une seule fois (peint deux fois, ses coins arrondis s'épaissiraient). L'image s'arrondit elle-même : un
   overflow: hidden découperait le liseré une seconde fois et pâlirait ses coins. */
.v5-prog a.v5-video__vue { box-shadow: none; }
a.v5-video__vue::after, .v5-par-lecteur__autre .v5-video__vue::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; border-radius: inherit; pointer-events: none;
}
.v5-prog a.v5-video__vue::after { box-shadow: inset 0 0 0 2px #EEECE8; }
/* le focus au clavier : blanc sur la nuit, comme la carte du lieu de la page de l'événement */
a.v5-video__vue:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }

/* 2. Le lecteur de la page de référence (lignes 4081 à 4106 de sa feuille), sans changement */
/* la vidéo qui se lance : un voile sombre sur le site, qui reste derrière, puis le lecteur. La vidéo garde ses proportions :
   debout (9 sur 16), elle est centrée et tient dans la hauteur de l'écran ; couchée, elle prend toute la largeur. */
.v5-par-fixe { position: relative; overflow: hidden; }
.v5-par-fixe .v5-voile { background: rgb(5 1 1 / 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v5-par-lecteur { position: absolute; z-index: 31; top: 0; right: 0; bottom: 0; left: 0; display: grid; align-content: center; gap: 12px; padding: 16px; color: #FFFFFF; }
.v5-par-lecteur__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v5-par-lecteur__tete p { display: grid; gap: 8px; margin: 0; }
.v5-par-lecteur__tete b { font: 700 26px/1 var(--mpv-police-titre); text-transform: uppercase; }
.v5-par-lecteur .v5-evt-ou__sur { color: #F95057; font: 700 12px/1.2 var(--mpv-police-texte); letter-spacing: 0.2em; text-transform: uppercase; }
.v5-par-lecteur__vue { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 16px; background: #000000; box-shadow: inset 0 0 0 2px #EEECE8; overflow: hidden; }
.v5-par-lecteur__vue--debout { aspect-ratio: 9 / 16; height: 512px; justify-self: center; }
.v5-par-lecteur__vue img { width: 62%; height: auto; }
.v5-par-lecteur__vue--debout img { width: 78%; }
.v5-par-lecteur__barre { display: flex; align-items: center; gap: 12px; }
.v5-par-lecteur__pause { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border: 0; background: none; color: #EEECE8; }
.v5-par-lecteur__pause svg, .v5-par-lecteur__plein svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.v5-par-lecteur__temps { flex: none; font: 700 13px/1 var(--mpv-police-texte); font-variant-numeric: tabular-nums; }
.v5-par-lecteur__piste { flex: 1; height: 6px; background: rgb(238 236 232 / 0.28); }
.v5-par-lecteur__piste b { display: block; height: 100%; background: #EEECE8; }
.v5-par-lecteur__plein { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #EEECE8; }
.v5-par-lecteur__autres { margin: 2px 0 -2px; }
.v5-par-lecteur__suite { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v5-par-lecteur__autre { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 78px; color: #FFFFFF; font: 700 14px/1.3 var(--mpv-police-texte); text-decoration: none; }
.v5-par-lecteur__autre .v5-video__vue { aspect-ratio: 9 / 16; border-radius: 8px; background: #1A1517; box-shadow: inset 0 0 0 1px rgb(238 236 232 / 0.5); }
.v5-par-lecteur__autre .v5-video__lecture { width: 28px; height: 28px; }
.v5-par-lecteur__autre .v5-video__lecture svg { width: 12px; height: 12px; margin-left: 2px; }

/* 3. Ce qu'impose le site */

/* Le lecteur couvre la fenêtre. Le script pose son cadre (.v5-par-fixe[data-v5-lecteur]) à la fin de la racine de la page : le
   cadre est fixe, de bord à bord ; le voile et le lecteur s'y placent comme dans la référence. Il passe au-dessus du menu
   (voile 970, menu 971 : fermé tant que le lecteur est ouvert) et reste sous l'écran de chargement (990). */
.v5-par-fixe[data-v5-lecteur] { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 975; }
.v5-par-fixe[data-v5-lecteur][hidden] { display: none !important; }
/* au téléphone (v5-mob), plus large que 430 px, la page du programme garde sa colonne de 430 px, centrée (v5-site.css) :
   la première règle rend le voile du lecteur aussi large que la fenêtre (sans elle, la règle de v5-site.css le
   rapetisserait à 430 px), la seconde garde le lecteur dans 430 px centrés, à tous les gabarits */
@media (min-width: 431px) {
  .v5.v5-prog.v5-mob > .v5-par-fixe[data-v5-lecteur] { max-width: none; margin: 0; }
  .v5-par-fixe[data-v5-lecteur] > .v5-par-lecteur { max-width: 430px; margin: 0 auto; }
}
/* un écran plus bas que le lecteur (téléphone couché) : le lecteur défile en lui-même, depuis son haut ; les encoches de
   l'écran sont évitées (ailleurs, env() vaut 0 : 16 px, comme la référence). Il est le conteneur de sa vue (cqw, cqh). */
.v5-par-fixe[data-v5-lecteur] > .v5-par-lecteur {
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; align-content: safe center; container-type: size;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
/* la vidéo debout : sa hauteur suit celle de l'écran, dans la composition de la référence (512 px sur un écran de 844 px : le
   reste du lecteur et ses marges y prennent 332 px, dont 32 px de marges intérieures), sans dépasser la largeur du lecteur,
   180 px au moins. D'abord en unités de la fenêtre, pour un navigateur sans unités de conteneur. */
.v5-par-fixe[data-v5-lecteur] .v5-par-lecteur__vue--debout {
  height: max(180px, min(calc(100vh - 332px), calc((min(100vw, 430px) - 32px) * 16 / 9)));
  height: max(180px, min(calc(100cqh - 300px), calc(100cqw * 16 / 9)));
}
/* la vidéo remplit sa vue, à ses proportions (du noir autour si elles diffèrent) ; le liseré de la vue (ligne 4090 de la
   référence), qu'elle couvrirait, passe par-dessus elle, peint une seule fois. La vidéo s'arrondit elle-même : le
   overflow: hidden de la vue découperait le liseré une seconde fois et pâlirait ses coins. En plein écran, sans coins
   arrondis. */
.v5-par-lecteur__vue > video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: #000000; border-radius: inherit; touch-action: manipulation; }
.v5-par-fixe[data-v5-lecteur] .v5-par-lecteur__vue { box-shadow: none; overflow: visible; }
.v5-par-fixe[data-v5-lecteur] .v5-par-lecteur__vue::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px #EEECE8; pointer-events: none;
}
.v5-par-lecteur__vue > video:fullscreen { border-radius: 0; }
.v5-par-lecteur__vue > video:-webkit-full-screen { border-radius: 0; }
/* l'avance se manipule au doigt et au clavier (rôle slider) : une bande de 44 px de haut porte la piste de la référence, de
   6 px, au même endroit ; un glissement du doigt sur elle ne fait ni défiler ni zoomer */
.v5-par-lecteur__avance {
  flex: 1; min-width: 0; display: flex; align-items: center; height: 44px; cursor: pointer;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.v5-par-lecteur__pause, .v5-par-lecteur__plein, .v5-par-lecteur__autre { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* les vignettes de « Les autres vidéos » portent leur image d'attente : leur vue la contient, et leur liseré (la ligne
   4104 de la référence, semi-transparent) passe par-dessus l'image, peint une seule fois (deux fois, il éclaircirait) */
.v5-par-lecteur__autre .v5-video__vue { position: relative; box-shadow: none; }
.v5-par-lecteur__autre .v5-video__vue::after { box-shadow: inset 0 0 0 1px rgb(238 236 232 / 0.5); }
/* le focus au clavier, blanc sur la nuit. Le talon « Fermer » est découpé par un masque (ses encoches), qui effacerait un
   contour extérieur : son focus est un filet rouge intérieur. */
.v5-par-lecteur :focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.v5-par-lecteur .v5-talon-menu:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #DC3140; }
/* une seule vidéo : ni « Les autres vidéos » ni vignettes (la suite est une grille, que l'attribut hidden seul ne cache pas) */
.v5-par-lecteur [hidden] { display: none !important; }
/* l'ouverture : le voile paraît, le lecteur monte de 12 px ; jamais sous « moins d'animations » (le script ne pose alors pas
   la classe ; la règle ci-dessous et celle du kit la neutralisent aussi) */
@keyframes v5-par-voile-entre { from { opacity: 0; } }
@keyframes v5-par-lecteur-entre { from { opacity: 0; transform: translateY(12px); } }
.v5-par-fixe--entre > .v5-voile { animation: v5-par-voile-entre 0.2s ease-out both; }
.v5-par-fixe--entre > .v5-par-lecteur { animation: v5-par-lecteur-entre 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .v5-par-fixe--entre > .v5-voile, .v5-par-fixe--entre > .v5-par-lecteur { animation: none; }
}

/* v5-site.css */
/* Miivâ Pass, v5 : ce que le site ajoute à la feuille de la maquette. La maquette montre des cadres de largeur fixe ;
   le site sert des pages fluides, avec un script. Chaque règle dit pourquoi elle existe ; aucune ne redessine un écran. */

/* les valeurs attendues du serveur (chiffres du compte, phrase, « Ouvre dans … ») : leur place est gardée, rien de faux
   ne s'affiche avant la réponse (consigne § 1.3) */
.v5-sans-heure { visibility: hidden; }

/* une page fluide occupe au moins la hauteur de la fenêtre : le fond de la racine couvre l'écran */
.v5[data-v5-page] { min-height: 100vh; min-height: 100dvh; }

/* le site porte dans une seule page ce que la maquette met dans deux gabarits (ordinateur et tablette, téléphone) :
   la classe de gabarit cache ce qui ne sert pas */
.v5-mob > .v5-sceau:not(.v5-sceau--p) { display: none; }
.v5-mob .v5-tete .v5-nav { display: none; }
.v5-mob .v5-agenda { display: none; }
.v5:not(.v5-mob) .v3-agenda[data-v5-agenda] { display: none; }

/* « Mois précédent » au mois de début porte aria-disabled seul (il reste au clavier et dit pourquoi) : le même aspect
   que le bouton désactivé de la maquette (v3-accueil : .v3-rond:disabled) */
.v3-rond[aria-disabled="true"] { opacity: 0.3; cursor: default; }

/* le menu. La maquette le montre dans un cadre : le volet de 452 px sur 1440 × 900 (Menu-ordinateur), le menu plein, racine
   de 420 px de large et 900 px au moins (Menu-pour-quel-evenement). Sur le site, un cadre fixe le porte et défile si le
   menu est plus haut que la fenêtre ; le panneau grandit avec son contenu, comme la racine du cadre (ses rosaces s'ancrent
   à son bas). Le voile couvre la fenêtre.
   - Voile et menu passent au-dessus du carré d'acceptation (960), qui paraît sans voile sur les pages des conditions,
     et restent sous l'écran de chargement (990).
   - Le volet d'ordinateur suit son cadre, et non un volet de la page : la page du programme suit les gabarits comme les
     autres pages, et .v5-pc .v5-menu-defile porte le volet de 452 px à l'ordinateur comme partout ; avec une barre de
     défilement classique, il prend la largeur que la barre laisse (sinon elle le couperait de 17 px à gauche). Sans
     barre, il garde ses 452 px. */
.v5-voile[data-mpv-voile] { position: fixed; z-index: 970; }
.v5-menu-defile { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 971; overflow-y: auto; overscroll-behavior: contain; }
.v5-pc .v5-menu-defile, .v5-menu-defile:has(> .v5-tiroir) { left: auto; width: 452px; }
.v5-menu-defile[hidden], .v5-voile[data-mpv-voile][hidden] { display: none !important; }
.v5-menu-defile > .v5.v5-menu { min-height: 100%; box-sizing: border-box; }
.v5-menu-defile > .v5-tiroir { bottom: auto; min-height: 100%; width: 100%; }

/* le programme est dessiné au téléphone dans sa colonne de 390 px ; de 431 à 699 px la colonne reste centrée à 430 px,
   la nuit de l'affiche sur toute la largeur ; à 700 px la page prend le gabarit tablette (v5-site-programme-tablette.css)
   et à 1 100 px l'ordinateur (v5-site-programme-bureau.css) */
@media (min-width: 431px) {
  .v5-prog.v5-mob > :not(script):not(template):not(.v5-menu-defile):not(.v5-voile) {
    max-width: 430px; margin-left: auto; margin-right: auto;
  }
}

/* les conditions d'utilisation ont des listes, que le gabarit des pages de texte n'a pas : au plus près de ses paragraphes */
.v5-texte .v5-texte__liste { margin: 0 0 1em; padding-left: 1.25em; }
.v5-texte .v5-texte__liste li + li { margin-top: 0.5em; }

/* « À propos » et les pages légales n'ont d'écran qu'à l'ordinateur (A-propos, Mentions-legales). Au téléphone, leurs blocs
   prennent les marges du formulaire du téléphone de la maquette (.v5-mob .v5-form__corps, Organiser-un-evenement-telephone) :
   - la fiche (libellé, valeur) passe sur une colonne, le libellé au-dessus de sa valeur ; la colonne de 240 px du libellé
     ne laissait que quelques signes à la valeur ;
   - l'encart LIVING SOFTWARES s'empile : le logo, puis le texte ;
   - aucune grille ne s'élargit à son contenu (colonnes minmax(0, 1fr)). */
.v5-mob .v5-legal, .v5-mob .v5-form, .v5-mob .v5-fiche, .v5-mob .v5-ls { grid-template-columns: minmax(0, 1fr); }
.v5-mob .v5-texte { padding: 4px 18px 26px; }
.v5-mob .v5-fiche dt { padding: 12px 0 0; }
.v5-mob .v5-fiche dd { padding: 2px 0 12px; border-top: 0; }
.v5-mob .v5-ls { gap: 24px; padding: 28px 22px 30px; }
.v5-mob .v5-ls__logo { width: min(100%, 240px); }
.v5-mob .v5-ls__titre { font-size: 32px; }

/* au téléphone, le mot le plus long d'un titre de page tient sur sa ligne au lieu de se couper : « CONFIDENTIALITÉ » mesure
   7,51 fois la taille de la police (49 px dans la maquette), « D'UTILISATION » 6,18 fois ; la taille suit la largeur du
   titre (unités de conteneur), et la largeur de la fenêtre là où elles manquent */
html[lang="fr"] .v5-mob[data-v5-page="confidentialite"] .v5-titre-page,
html[lang="fr"] .v5-mob[data-v5-page="conditions"] .v5-titre-page { container-type: inline-size; }
html[lang="fr"] .v5-mob[data-v5-page="confidentialite"] .v5-titre-page .mp2-titre { font-size: min(49px, calc((100vw - 32px) / 7.6)); font-size: min(49px, calc(100cqi / 7.6)); }
html[lang="fr"] .v5-mob[data-v5-page="conditions"] .v5-titre-page .mp2-titre { font-size: min(49px, calc((100vw - 32px) / 6.25)); font-size: min(49px, calc(100cqi / 6.25)); }

/* au-dessous de 360 px (aucun cadre de la maquette n'est aussi étroit) :
   - le cachet du talon du jour rapetisse : à 320 px, le titre du jour, plus petit, remonte le billet « Prochain » sous le
     cachet de 74 px (3 px de rencontre en anglais) ;
   - l'encart « Travaillons ensemble » d'« À propos » prend 2 px de plus de chaque côté : à 320 px, « ÉVÉNEMENT », mot le plus
     long de ses billets, dépassait de 2 px */
@media (max-width: 359.98px) {
  .v5-mob .v5-jour > .v5-cachet, .v5-mob .v5-aide > .v5-cachet { width: 64px; }
  .v5-mob .v5-aide { padding-left: 20px; padding-right: 20px; }
}

/* l'encart LIVING SOFTWARES d'« À propos » à la tablette (aucun cadre) : le logo de 400 px et le titre de 44 px ne laissaient
   au texte que la place de sortir de l'encart (700 et 768 px) ; les deux colonnes se partagent la largeur, le titre suit */
.v5-tab .v5-ls { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; padding: 40px 40px 40px 36px; }
.v5-tab .v5-ls__logo { width: 100%; max-width: 400px; }
.v5-tab .v5-ls__titre { font-size: clamp(30px, 4.2vw, 44px); }

/* en anglais, à la tablette en hauteur, les liens du pied (« Become an official reseller ») sont plus longs qu'en français
   et rencontrent le sceau de décor du pied ; il se retire, comme la maquette le retire déjà là où il n'a pas sa place
   (tablette couchée étroite) */
html[lang="en"] .v5-tab:not(.v5-tab--paysage) .v5-pied .v5-sceau--p { display: none; }

/* au téléphone, une adresse électronique plus longue que la ligne (fiche d'« À propos », pages légales) se coupe là où il
   faut ; les contrôles de la maquette admettent qu'un mot avec @ ou / passe à la ligne */
.v5-mob .v5-fiche a, .v5-mob .v5-texte a { overflow-wrap: anywhere; }

/* La page 404 (pages_pass.py) : le bloc de titre des pages de texte, puis le bouton à talon du kit ; ni cadre ni capture validés
   pour elle. Le bouton prend la mesure du chapeau sous un titre (660 px au plus) et l'écart d'un bouton d'envoi (28 px). */
.v5 .v5-page404 { margin-top: 28px; }
.v5 .v5-page404 .mp-bouton { max-width: 660px; }

/* « Voir mon pass » : l'image vivante de l'appareil photo remplit la zone du viseur, à la place de l'image d'exemple de la
   page de référence (js/v5-voir-mon-pass.js la pose sous le viseur ; aucun attribut style). */
.v5-site-visee__vue > video.v5-site-visee__camera { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* « Voir mon pass » à l'ordinateur : le talon garde la hauteur de son cadre (753 px), pour que le sceau, ancré à 122 px du
   bas du talon, reste sous la question du talon quand la partie « Avec une capture » manque (navigateur sans lecteur de QR). */
.v5-pc .v5-site--voir .v5-aide { min-height: 753px; }
