/* pages/winter-2026.css — Lausanne Bachata Winter (gabarit vitrine édition). Un mouvement par chapitre :
   1 Le billet géant : coupé sur la couture (souche | talon), une mesure d'intro, puis il se recolle et passe en couleur
     au défilement (scène épinglée, ≥ 70 vh) ; le nœud « Oui » fait le même chemin
   2 La salle : duo jour | foyer rouge, la couleur s'ouvre depuis la couture (clip-path, ≥ 70 vh)
   3 Les stages : les deux salles à contretemps (translateY opposés, ≥ 80 vh), puis le programme sur la couture
   4 La soirée : la nuit, deux pistes de texte à contresens (≥ 100 vh), lumière de piste WebGL au bureau (pause 2.2.2)
   5 Le billet : il déborde sur la nuit ; choisir sa salle pose un tampon sur la souche
   6 Retour sur 2026 : deux affiches qui se redressent et se touchent sur la couture
   Variables locales = réglages de géométrie de cette page (préfixe --w-). Couleurs, polices, durées : tokens.css. */

/* =================================================================== 1. LE BILLET GÉANT */
.w-hero {
  --w-mx: 10px;               /* marge latérale du billet */
  --w-my: 8px;                /* marge haute / basse */
  --w-pad: 14px;              /* marge intérieure du papier */
  --w-gap: 12px;              /* demi-écart des deux moitiés, au repos */
  --w-off: 30px;              /* le temps de retard de la souche (celle qui suit) */
  --w-knot: 52px;
  --w-kg: .8093;              /* tirage « soiree » : largeur moitié gauche / hauteur (730 / 902) */
  --w-kd: .6874;              /* moitié droite (620 / 902) */
  --w-ky: .64;                /* rangée du nœud : sa main à lui, sur la couture */
  --w-ph: clamp(9rem, 100svh - 35.5rem, 24rem);   /* hauteur de la photo imprimée */
  --w-cs: calc(45cqi - var(--w-mx));               /* largeur de la souche = position de la perforation dans le billet */
  --w-ct: calc(55cqi - var(--w-mx));               /* largeur du talon */
  --w-gw: min(calc(var(--w-cs) - var(--w-pad)), calc(var(--w-ph) * var(--w-kg)));
  --w-dw: min(calc(var(--w-ct) - var(--w-pad)), calc(var(--w-ph) * var(--w-kd)));
  background: var(--encre);
}
.w-scene {
  container-type: inline-size;
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--barre-h) - var(--bandeau-h));
  overflow: clip;
}
.w-billet {
  position: relative; isolation: isolate;
  margin: var(--w-my) var(--w-mx) calc(var(--w-my) + 4px);
  display: grid;
  grid-template-columns: [s] var(--w-cs) [t] 1fr [fin];
  grid-template-rows: [tete] auto [photo] var(--w-ph) [bas] auto [lieu] 1fr;
  row-gap: 12px;
  padding-block: var(--w-pad);
}
/* les deux papiers : la souche rouge (celle qui suit), le talon violet (celui qui guide), encoches sur la perforation */
.w-papier { position: absolute; top: 0; bottom: 0; z-index: -1; isolation: isolate; }
.w-papier::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: var(--grain-taille) var(--grain-taille); opacity: var(--grain-opacite);
}
.w-papier--s {
  left: 0; width: var(--w-cs);
  background: var(--suit);
  border-radius: var(--rayon) 0 0 var(--rayon);
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 100% 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 100% 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 100% 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
.w-papier--t {
  left: var(--w-cs); right: 0;
  background: var(--guide);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 0 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 0 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
/* la perforation : la couture blanche, en pointillé, qui traverse aussi la photo imprimée */
.w-papier--t::after {
  content: ""; position: absolute; z-index: 1; left: -1px; top: 20px; bottom: 20px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--or) 0 7px, transparent 7px 14px);
}

/* ---- le titre */
.w-tete {
  grid-column: s / fin; grid-row: tete;
  position: relative; z-index: 3;
  padding-inline: var(--w-pad);
}
.w-presente { margin-bottom: .55rem; }
.w-titre { font-family: var(--f-display); font-size: clamp(3.25rem, 1.6rem + 7.4vw, 7rem); line-height: .9; letter-spacing: 0; }
.w-titre .w-q, .w-titre .w-r, .w-titre .w-l { display: block; }
.w-titre .w-l { overflow: clip; overflow-clip-margin: .1em; padding-bottom: .04em; }
.w-titre .w-l > span { display: block; }
.w-q { font-weight: 200; font-variation-settings: 'wdth' 100, 'wght' 200; }
/* « Bachata » commence sur la couture : la phrase passe d'une encre à l'autre */
.w-q .w-l + .w-l { padding-left: calc(var(--w-cs) - var(--w-pad) - .04em); }
.w-r { font-size: 2em; line-height: .84; margin-top: .02em; font-weight: 900; font-variation-settings: 'wdth' 56, 'wght' 900; text-transform: uppercase; letter-spacing: -.005em; }

/* ---- la date (souche) */
.w-date {
  grid-column: s; grid-row: bas; align-self: start;
  display: grid; grid-template-columns: auto 1fr; column-gap: .45rem; align-items: end;
  padding-inline: var(--w-pad) .5rem;
  position: relative; z-index: 3;
}
.w-jour { grid-column: 1 / -1; font-size: var(--t-petit); font-weight: 700; letter-spacing: .04em; }
.w-jj { grid-row: 2 / span 2; font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 50, 'wght' 900; font-size: clamp(5.5rem, 3rem + 10vw, 9rem); line-height: .78; letter-spacing: -.02em; }
.w-mm, .w-an { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 60, 'wght' 900; font-size: clamp(1.15rem, .9rem + 1vw, 2rem); line-height: .95; }
.w-mm { align-self: end; }
.w-an { align-self: end; padding-bottom: .1em; }

.w-lieu-billet {
  grid-column: s; grid-row: lieu; align-self: end;
  padding-inline: var(--w-pad) .5rem;
  font-size: var(--t-petit); font-weight: 600; line-height: 1.3;
  position: relative; z-index: 3;
}
.w-lieu-nom { display: block; font-family: var(--f-display); font-weight: 900; font-variation-settings: var(--plein); font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem); line-height: 1; margin-bottom: .25rem; }

/* ---- les infos et le CTA (talon) */
.w-infos {
  grid-column: t; grid-row: bas / span 2; align-self: end;
  display: grid; justify-items: start; gap: .35rem;
  padding-inline: var(--w-pad);
  position: relative; z-index: 3;
}
.w-lbw { font-family: var(--f-display); line-height: .85; font-size: 3rem; white-space: nowrap; }
.w-lbw-l { font-weight: 200; font-variation-settings: 'wdth' 150, 'wght' 200; }
.w-lbw-n { font-weight: 900; font-variation-settings: 'wdth' 56, 'wght' 900; }
.w-bientot { font-size: var(--t-petit); font-weight: 600; line-height: 1.3; }
.w-cta { margin-top: .4rem; width: 100%; padding-inline: .8em; white-space: nowrap; font-size: 1rem; }
.w-cta .cta-salle { font-size: inherit; font-weight: inherit; }
.w-cta .cta-salle:not(:empty)::before { content: "· "; }

/* ---- la photo imprimée sur le billet, coupée sur la perforation */
.w-photo { grid-row: photo; height: var(--w-ph); margin: 0; overflow: clip; position: relative; }
.w-photo img { position: absolute; top: 0; height: 100%; width: auto; max-width: none; }
.w-photo--g { grid-column: s; justify-self: end; width: var(--w-gw); z-index: 1; }
.w-photo--g img { right: 0; }
.w-photo--d { grid-column: t; justify-self: start; width: var(--w-dw); z-index: 1; }
.w-photo--d img { left: 0; }
/* la couleur naturelle : quand le billet est recollé, elle s'ouvre depuis la perforation */
.w-photo--c {
  grid-column: s / fin; justify-self: start; z-index: 2;
  margin-left: calc(var(--w-cs) - var(--w-gw));
  width: calc(var(--w-gw) + var(--w-dw));
  clip-path: inset(0 0 0 0);
}
.w-photo--c img { left: calc(var(--w-gw) - var(--w-ph) * var(--w-kg)); }

/* ---- le nœud « Oui » sur la perforation */
.w-noeud {
  grid-column: s / fin; grid-row: photo; justify-self: start; align-self: start; z-index: 4;
  margin-left: calc(var(--w-cs) - var(--w-knot) / 2);
  margin-top: calc(var(--w-ph) * var(--w-ky) - var(--w-knot) / 2);
  position: relative;
  width: var(--w-knot); height: var(--w-knot); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--or); color: var(--encre); text-decoration: none;
  transition: scale 240ms var(--elan), rotate 520ms var(--prise);
}
.w-noeud-y { font-family: var(--f-display); font-weight: 900; font-variation-settings: var(--noeud); font-size: calc(var(--w-knot) * .72); line-height: 1; margin-top: -.14em; }
.w-noeud-oui {
  position: absolute; z-index: -1; left: calc(100% - var(--w-knot) * .32); top: 50%; translate: 0 -50%;
  padding: .42em .95em .42em calc(var(--w-knot) * .42);
  border-radius: 0 999px 999px 0; background: var(--or); color: var(--encre);
  font-family: var(--f-texte); font-weight: 800; font-size: max(.9375rem, calc(var(--w-knot) * .28)); line-height: 1;
}
/* frame finale : le nœud reste comme un sceau sur la perforation, le « Oui » est dit */
.w-noeud-oui { opacity: 0; clip-path: inset(0 100% 0 0); }
.w-noeud:hover { scale: 1.06; rotate: -8deg; text-decoration: none; }
.w-noeud:active { scale: .94; }
.w-noeud:focus-visible { outline-offset: 4px; }
.w-noeud:hover .w-noeud-oui { rotate: 8deg; }

/* ---- intro : une mesure 1 · 2 · 3 · tap (la photo est là dès t = 0, les moitiés arrivent d'un léger décalage) */
@media (prefers-reduced-motion: no-preference) {
  .w-t { animation: w-pose-t var(--temps) var(--elan) both; }
  .w-s { animation: w-pose-s calc(var(--temps) * 1.25) var(--prise) var(--temps) both; }
  .w-papier--t::after { animation: w-trace var(--temps) var(--elan) calc(var(--temps) * 2) both; }
  .w-noeud { animation: w-tombe var(--temps) var(--prise) calc(var(--temps) * 3) both; }
  .w-titre .w-l > span { animation: w-monte calc(var(--temps) * 1.4) var(--elan) both; }
  .w-titre .w-q .w-l + .w-l > span { animation-delay: calc(var(--temps) * .5); }
  .w-titre .w-r .w-l > span { animation-delay: var(--temps); }
}
@keyframes w-pose-t { from { transform: translate(14px, -22px); } }
@keyframes w-pose-s { from { transform: translate(-18px, 30px); } }
@keyframes w-trace  { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes w-tombe  { 0% { transform: translateY(-46px) scale(.35); opacity: 0; } 55% { transform: translateY(3px) scale(1.04); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes w-monte  { from { transform: translateY(104%); } }

/* ---- le recollage au défilement (scène épinglée) : la souche arrive un temps plus tard, puis la couleur */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .w-hero { height: calc(100svh - var(--barre-h) - var(--bandeau-h) + 75vh); view-timeline-name: --w-joint; view-timeline-inset: var(--barre-h) 0px; }
    .w-scene { position: sticky; top: var(--barre-h); }
    .w-t {
      animation-name: w-pose-t, w-joint-t; animation-duration: var(--temps), 1ms; animation-timing-function: var(--elan), var(--elan);
      animation-delay: 0ms, 0ms; animation-iteration-count: 1, 1; animation-fill-mode: both, both;
      animation-timeline: auto, --w-joint; animation-range: normal, contain 0% contain 46%;
    }
    .w-s {
      animation-name: w-pose-s, w-joint-s; animation-duration: calc(var(--temps) * 1.25), 1ms; animation-timing-function: var(--prise), var(--prise);
      animation-delay: var(--temps), 0ms; animation-iteration-count: 1, 1; animation-fill-mode: both, both;
      animation-timeline: auto, --w-joint; animation-range: normal, contain 12% contain 58%;
    }
    .w-photo--c {
      animation-name: w-couleur; animation-duration: 1ms; animation-timing-function: var(--elan); animation-fill-mode: both;
      animation-timeline: --w-joint; animation-range: contain 56% contain 92%;
    }
    .w-noeud {
      animation-name: w-tombe, w-tap; animation-duration: var(--temps), 1ms; animation-timing-function: var(--prise), linear;
      animation-delay: calc(var(--temps) * 3), 0ms; animation-iteration-count: 1, 1; animation-fill-mode: both, both;
      animation-timeline: auto, --w-joint; animation-range: normal, contain 54% contain 66%;
    }
    .w-noeud-oui {
      animation-name: w-oui-dit; animation-duration: 1ms; animation-timing-function: var(--elan); animation-fill-mode: both;
      animation-timeline: --w-joint; animation-range: contain 44% contain 58%;
    }
    .w-titre .w-r { animation-name: w-ouvre; animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --w-joint; animation-range: contain 30% contain 80%; }
  }
}
@keyframes w-joint-t { from { translate: var(--w-gap) 0; } }
@keyframes w-joint-s { from { translate: calc(-1 * var(--w-gap)) var(--w-off); } }
@keyframes w-couleur { from { clip-path: inset(0 var(--w-dw) 0 var(--w-gw)); } }
@keyframes w-oui-dit  { from { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes w-tap     { 0% { scale: 1; } 40% { scale: .84; } 75% { scale: 1.1; } 100% { scale: 1; } }
@keyframes w-ouvre   { from { font-variation-settings: 'wdth' 50, 'wght' 900; } }
/* repli sans scroll-driven : le billet se recolle une mesure après l'arrivée */
.sans-sd .w-hero .w-s { transition: translate 900ms var(--prise) calc(var(--mesure) + var(--temps)); }
.sans-sd .w-hero .w-t { transition: translate 700ms var(--elan) var(--mesure); }
.sans-sd .w-hero .w-photo--c { transition: clip-path 1100ms var(--elan) calc(var(--mesure) + 1300ms); }
.sans-sd .w-hero:not(.vu) .w-s { translate: calc(-1 * var(--w-gap)) var(--w-off); }
.sans-sd .w-hero:not(.vu) .w-t { translate: var(--w-gap) 0; }
.sans-sd .w-hero .w-noeud-oui { transition: opacity 300ms var(--elan) calc(var(--mesure) + 900ms), clip-path 420ms var(--elan) calc(var(--mesure) + 900ms); }
.sans-sd .w-hero:not(.vu) .w-noeud-oui { opacity: 1; clip-path: inset(0 0 0 0); }
.sans-sd .w-hero:not(.vu) .w-photo--c { clip-path: inset(0 var(--w-dw) 0 var(--w-gw)); }

/* ---- bureau paysage : le billet en triptyque, date | photo | titre */
@media (min-width: 1100px) and (min-aspect-ratio: 1/1) {
  .w-hero {
    --w-mx: 3rem; --w-my: 1.25rem; --w-pad: 2.25rem;
    --w-gap: 34px; --w-off: 56px; --w-knot: 84px;
    --w-ph: min(calc(100svh - var(--barre-h) - var(--bandeau-h) - 2 * var(--w-my) - 2 * var(--w-pad) - 1rem), 44rem);
    --w-gw: min(calc(24cqi - var(--w-mx)), calc(var(--w-ph) * var(--w-kg)));
    --w-dw: min(calc(27cqi - var(--w-mx)), calc(var(--w-ph) * var(--w-kd)));
  }
  .w-billet { grid-template-rows: [tete photo bas lieu] 1fr; row-gap: 0; }
  .w-photo, .w-photo--c, .w-noeud { align-self: center; }
  .w-noeud { margin-top: calc(var(--w-ph) * (var(--w-ky) - .5) * 2 - 0px); }
  .w-tete {
    grid-column: t; grid-row: 1; align-self: start; justify-self: end;
    width: calc(var(--w-ct) - var(--w-dw) - 1.5rem); padding: 0 var(--w-pad) 0 0;
  }
  .w-titre { font-size: clamp(3rem, 1rem + 4.29cqi, 6.5rem); }   /* composante rem (zoom texte) ; 77,8 px à 1440 comme avant */
  .w-q { font-variation-settings: 'wdth' 92, 'wght' 200; }
  .w-q .w-l + .w-l { padding-left: 0; }
  .w-r { font-size: 1.72em; }
  .w-date {
    grid-row: 1; align-self: start; justify-self: start;
    width: calc(var(--w-cs) - var(--w-gw) - 1.5rem); padding: 0 0 0 var(--w-pad);
    grid-template-columns: 1fr;
  }
  .w-jj { grid-row: auto; font-size: clamp(8rem, 15cqi, 15rem); line-height: .76; margin-top: .25rem; }
  .w-mm, .w-an { font-size: clamp(1.75rem, 2.6cqi, 3rem); }
  .w-lieu-billet { grid-row: 1; width: calc(var(--w-cs) - var(--w-gw) - 1.5rem); padding: 0 0 0 var(--w-pad); }
  .w-infos { grid-row: 1; justify-self: end; justify-items: end; text-align: right; width: calc(var(--w-ct) - var(--w-dw) - 1.5rem); padding: 0 var(--w-pad) 0 0; }
  .w-lbw { font-size: clamp(3rem, 1rem + 4.29cqi, 6rem); }
  .w-cta { width: auto; padding-inline: 1.25em; font-size: var(--t-corps); }
}
/* téléphone : « LBW 26 » reste lisible sans écraser la date */
@media (max-width: 380px) {
  .w-lbw { font-size: 2.6rem; }
}

/* =================================================================== 2. LA SALLE : duo jour | foyer rouge */
.w-lieu { padding-top: var(--pas); overflow-x: clip; }
.w-lieu-tete { padding-inline: var(--marge); }
.w-lieu-tete .sur-titre { margin-bottom: 1rem; }
.w-lieu-tete .duo-titre { max-width: 9em; }
.w-duo-lieu {
  display: grid;
  grid-template-columns: calc(var(--part-suit) - var(--fil) / 2) calc(var(--part-guide) - var(--fil) / 2);
  column-gap: var(--fil);
  margin-top: clamp(2.5rem, 7vw, 5.5rem);
}
.w-lieu-photo { margin: 0; min-width: 0; }
.w-lieu-cadre { position: relative; height: clamp(18rem, 62vw, 40rem); overflow: clip; }
.w-lieu-cadre picture, .w-lieu-cadre img { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-lieu-cadre img { object-fit: cover; }
.w-lieu-photo--jour img { object-position: 38% 50%; }
.w-lieu-photo--foyer img { object-position: 32% 50%; }
/* frame finale : en couleur ; les tirages à l'encre sont repliés contre les bords */
.w-lieu-photo--jour .w-lieu-encre { clip-path: inset(0 100% 0 0); }
.w-lieu-photo--foyer .w-lieu-encre { clip-path: inset(0 0 0 100%); }
.w-lieu-photo figcaption { padding: .9rem clamp(.75rem, 2.4vw, 2.75rem) 0; font-size: var(--t-petit); font-weight: 600; line-height: 1.3; }
.w-lieu-photo--jour figcaption { text-align: right; padding-left: var(--marge); }
.w-lieu-photo--foyer figcaption { padding-right: var(--marge); }
.w-lieu-mot { display: block; font-family: var(--f-display); font-weight: 200; font-variation-settings: 'wdth' 130, 'wght' 200; font-size: clamp(3rem, 1.6rem + 4vw, 5.5rem); line-height: .9; margin-bottom: .35rem; }
.w-lieu-photo--foyer .w-lieu-mot { font-weight: 900; font-variation-settings: var(--plein); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .w-duo-lieu { view-timeline-name: --w-lieu; }
    .w-lieu-photo--jour .w-lieu-encre {
      animation-name: w-lieu-jour; animation-duration: 1ms; animation-timing-function: var(--elan); animation-fill-mode: both;
      animation-timeline: --w-lieu; animation-range: entry 40% cover 60%;
    }
    .w-lieu-photo--foyer .w-lieu-encre {
      animation-name: w-lieu-foyer; animation-duration: 1ms; animation-timing-function: var(--prise); animation-fill-mode: both;
      animation-timeline: --w-lieu; animation-range: entry 55% cover 66%;
    }
    .w-lieu-c img {
      animation-name: w-lieu-zoom; animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: --w-lieu; animation-range: entry 0% cover 70%;
    }
  }
}
@keyframes w-lieu-jour  { from { clip-path: inset(0 0 0 0); } }
@keyframes w-lieu-foyer { from { clip-path: inset(0 0 0 0); } }
@keyframes w-lieu-zoom  { from { scale: 1.14; } }
.w-duo-lieu[data-sd] .w-lieu-encre { transition: none; }
.sans-sd .w-lieu-encre { transition: clip-path 1200ms var(--elan) 200ms; }
.sans-sd .w-duo-lieu:not(.vu) .w-lieu-encre { clip-path: inset(0 0 0 0); }

.w-lieu-texte { display: grid; gap: 2.5rem; padding: clamp(3rem, 8vw, 6rem) var(--marge) var(--pas); }
.w-lieu-citation { font-size: clamp(1.35rem, 1rem + 1.5vw, 2.4rem); }
.w-adresse .sur-titre { margin-bottom: .5rem; }
.w-adresse-rue { font-family: var(--f-display); font-weight: 900; font-variation-settings: var(--plein); font-size: var(--t-h3); line-height: .95; }
.w-parking { margin-top: 1rem; font-weight: 600; }
.w-adresse .lien-pas { margin-top: 1rem; }
.w-adresse .lien-pas .petit { font-weight: 500; }
.w-credit { margin-top: 1.25rem; }
@media (min-width: 900px) {
  .w-lieu-tete { display: grid; grid-template-columns: var(--part-suit) var(--part-guide); padding: 0; }
  .w-lieu-tete .sur-titre { grid-column: 1; justify-self: end; text-align: right; padding: 1.5rem clamp(.75rem, 2.4vw, 2.75rem) 0 var(--marge); }
  .w-lieu-tete .duo-titre { grid-column: 2; grid-row: 1; padding: 0 var(--marge) 0 clamp(.75rem, 2.4vw, 2.75rem); }
  .w-lieu-texte { grid-template-columns: var(--part-suit) var(--part-guide); gap: 0; padding-inline: 0; align-items: start; }
  .w-lieu-citation { padding: 0 clamp(.75rem, 2.4vw, 2.75rem) 0 var(--marge); text-align: right; }
  .w-adresse { padding: .4rem var(--marge) 0 clamp(.75rem, 2.4vw, 2.75rem); }
}

/* =================================================================== 3. LES STAGES : deux salles à contretemps */
.w-stages { padding-block: var(--pas); overflow-x: clip; }
.w-stages-tete { padding-inline: var(--marge); }
.w-stages-tete .sur-titre { margin-bottom: 1rem; }
.w-stages-tete .duo-titre { max-width: 11em; }
.w-stages-format { margin-top: 1.2rem; max-width: 36em; font-size: var(--t-petit); font-weight: 600; }
.w-salles {
  display: grid; grid-template-columns: var(--part-guide) var(--part-suit);
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(4rem, 14vh, 9rem);
  overflow: clip;
}
.w-salle { min-width: 0; }
.w-salle--1 { text-align: right; padding: 0 clamp(.75rem, 2.4vw, 2.75rem) 0 var(--marge); }
.w-salle--2 { padding: 0 var(--marge) 0 clamp(.75rem, 2.4vw, 2.75rem); }
.w-salle-pas { will-change: transform; }
.w-salle-nom { margin-top: .6rem; font-family: var(--f-display); line-height: .8; }
.w-salle-mot { display: block; font-weight: 200; font-variation-settings: 'wdth' 104, 'wght' 200; font-size: clamp(3rem, 1.6rem + 3vw, 4.75rem); }
@media (min-width: 600px) { .w-salle-mot { font-variation-settings: 'wdth' 130, 'wght' 200; } }
.w-salle-mot { margin-bottom: .2em; }
/* le numéro de salle est un nœud : un disque blanc, comme le y posé sur la couture */
.w-salle-num {
  display: inline-grid; place-items: center;
  width: 1.12em; height: 1.12em; border-radius: 50%;
  background: var(--or); color: var(--encre);
  font-weight: 900; font-variation-settings: 'wdth' 56, 'wght' 900;
  font-size: clamp(7rem, 2.6rem + 17vw, 19rem); line-height: 1;
}
.w-salle--1 .w-salle-num { rotate: -6deg; }
.w-salle--2 .w-salle-num { rotate: 5deg; }
.w-salle-surnom { margin-top: .9rem; font-family: var(--f-display); font-size: clamp(1.9rem, 1.2rem + 3vw, 4.5rem); line-height: .92; }
.w-salle-surnom .q, .w-salle-surnom .r { display: block; }
.w-salle-surnom .q { font-weight: 300; font-variation-settings: 'wdth' 125, 'wght' 300; }
.w-salle-surnom .r { font-weight: 900; font-variation-settings: var(--plein); }
.w-salle-total { margin-top: 1.1rem; font-size: var(--t-petit); font-weight: 600; line-height: 1.3; }
.w-salle-total strong { display: block; font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 60, 'wght' 900; font-size: var(--t-titre); line-height: 1; margin-bottom: .2rem; }
.w-salle-source { margin-top: .5rem; font-size: var(--t-mini); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
/* contretemps : celui qui guide monte, celle qui suit descend, et ils se retrouvent à la même hauteur */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .w-salles { view-timeline-name: --w-salles; }
    .w-salle--1 .w-salle-pas {
      animation-name: w-monte-guide; animation-duration: 1ms; animation-timing-function: var(--elan); animation-fill-mode: both;
      animation-timeline: --w-salles; animation-range: entry 0% cover 55%;
    }
    .w-salle--2 .w-salle-pas {
      animation-name: w-descend-suit; animation-duration: 1ms; animation-timing-function: var(--prise); animation-fill-mode: both;
      animation-timeline: --w-salles; animation-range: entry 10% cover 62%;
    }
  }
}
@keyframes w-monte-guide  { from { transform: translateY(clamp(5rem, 22vh, 12rem)); } }
@keyframes w-descend-suit { from { transform: translateY(clamp(-12rem, -22vh, -5rem)); } }
.sans-sd .w-salle-pas { transition: transform 1100ms var(--elan); }
.sans-sd .w-salle--2 .w-salle-pas { transition-delay: var(--temps); }
.sans-sd .w-salles:not(.vu) .w-salle--1 .w-salle-pas { transform: translateY(6rem); }
.sans-sd .w-salles:not(.vu) .w-salle--2 .w-salle-pas { transform: translateY(-6rem); }

/* le programme de l'après-midi, posé sur la couture (55 %) */
.w-apresmidi { margin-top: clamp(1rem, 3vw, 2rem); }
.w-apresmidi-titre { display: block; width: max-content; max-width: calc(100% - 2 * var(--marge)); margin: 0 auto 1.75rem; padding: .35rem .85rem; border-radius: 999px; background: var(--encre); text-align: center; }
.w-pas-liste { display: grid; }
.w-pas {
  position: relative;
  display: grid; grid-template-columns: var(--part-guide) var(--part-suit); align-items: baseline;
  padding-block: .8rem;
  border-top: 1px solid var(--filet);
}
.w-pas:last-child { border-bottom: 1px solid var(--filet); }
.w-pas-g { justify-self: end; text-align: right; padding: 0 clamp(.75rem, 2.4vw, 2.75rem) 0 var(--marge); font-family: var(--f-display); font-weight: 900; font-variation-settings: var(--plein); line-height: .95; }
.w-pas-d { padding: 0 var(--marge) 0 clamp(.75rem, 2.4vw, 2.75rem); font-family: var(--f-display); font-weight: 300; font-variation-settings: 'wdth' 118, 'wght' 300; line-height: 1.08; }
.w-pas--grand .w-pas-g { font-size: clamp(2rem, 1.1rem + 4.2vw, 5.75rem); }
.w-pas--grand .w-pas-d { font-size: var(--t-titre); }
.w-pas--duo .w-pas-g, .w-pas--duo .w-pas-d { font-size: var(--t-titre); }
.w-pas--duo .w-pas-d { font-weight: 900; font-variation-settings: var(--plein); }
.w-pas--moyen .w-pas-g { font-size: clamp(3rem, 1.5rem + 7vw, 9rem); line-height: .8; }
.w-pas--moyen .w-pas-d { font-size: var(--t-titre); }
/* téléphone : le délié se serre pour que « simultanées » tienne dans la colonne (à 375 px, le » sortait de 10 px à droite) */
@media (max-width: 599px) { .w-pas:not(.w-pas--duo) .w-pas-d { font-variation-settings: 'wdth' 100, 'wght' 300; } }
/* le y entre les deux stylings : un couple sur la couture */
.w-pas-y {
  position: absolute; left: var(--part-guide); top: 50%;
  width: 2.1rem; height: 2.1rem; margin: -1.05rem 0 0 -1.05rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--or); color: var(--encre);
  font: 900 1.2rem/1 var(--f-display); font-variation-settings: var(--noeud);
}
.w-pas--duo .w-pas-g { padding-right: calc(clamp(.75rem, 2.4vw, 2.75rem) + .6rem); }
.w-pas--duo .w-pas-d { padding-left: calc(clamp(.75rem, 2.4vw, 2.75rem) + .6rem); }
.w-apresmidi-lien { margin-top: clamp(2rem, 5vw, 3.5rem); text-align: center; padding-inline: var(--marge); }

/* =================================================================== 4. LA SOIRÉE */
.w-soiree { --w-debord: clamp(11rem, 26svh, 15rem); position: relative; isolation: isolate; overflow-x: clip; background: var(--nuit); }
/* fond de nuit (.nuit-fond, .nuit-gl) et bouton pause (.nuit-commande, .nuit-pause) : composants.css §17 bis */
.w-soiree-contenu { position: relative; z-index: 1; padding: var(--pas) 0 calc(var(--pas) + var(--w-debord)); }
.w-soiree .nuit-commande { padding-inline: var(--marge); }
.w-soiree-tete { padding-inline: var(--marge); text-align: center; display: grid; justify-items: center; gap: 1rem; }
.w-soiree-tete .duo-titre { font-size: clamp(3.25rem, 1.4rem + 7.4vw, 10rem); }

/* deux pistes de texte qui dansent à contresens (doublon décoratif, aria-hidden) */
.w-pistes { margin-top: clamp(3rem, 8vw, 6rem); overflow: clip; }
.w-piste {
  display: flex; gap: .3em; width: max-content;
  font-family: var(--f-display); font-size: clamp(4.5rem, 2rem + 11vw, 15rem); line-height: .9; white-space: nowrap;
}
.w-piste span:nth-child(odd) { font-weight: 900; font-variation-settings: 'wdth' 52, 'wght' 900; text-transform: uppercase; }
.w-piste span:nth-child(even) { font-weight: 200; font-variation-settings: 'wdth' 140, 'wght' 200; }
.w-piste--1 { translate: -12% 0; }
.w-piste--2 { translate: -30% 0; }
.w-piste--2 span:nth-child(odd) { font-weight: 200; font-variation-settings: 'wdth' 140, 'wght' 200; text-transform: none; }
.w-piste--2 span:nth-child(even) { font-weight: 900; font-variation-settings: 'wdth' 52, 'wght' 900; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .w-pistes { view-timeline-name: --w-pistes; }
    .w-piste--1 {
      animation-name: w-piste-1; animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: --w-pistes; animation-range: cover 0% cover 100%;
    }
    .w-piste--2 {
      animation-name: w-piste-2; animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: --w-pistes; animation-range: cover 0% cover 100%;
    }
  }
}
@keyframes w-piste-1 { from { translate: 6% 0; } to { translate: -30% 0; } }
@keyframes w-piste-2 { from { translate: -48% 0; } to { translate: -12% 0; } }

.w-soir { margin-top: clamp(3rem, 8vw, 6rem); padding-inline: var(--marge); }
.w-horaires { display: grid; }
.w-h {
  display: grid; grid-template-columns: 1fr; gap: .35rem;
  padding-block: 1rem; border-top: 1px solid var(--filet);
}
.w-h:last-child { border-bottom: 1px solid var(--filet); }
.w-h-heure { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 56, 'wght' 900; line-height: .9; }
.w-h-quoi { font-size: var(--t-corps); font-weight: 600; }
.w-h--1 .w-h-heure { font-size: clamp(2.25rem, 1.2rem + 4vw, 5rem); }
.w-h--2 .w-h-heure { font-size: clamp(2.75rem, 1.4rem + 5.4vw, 6.5rem); }
.w-h--3 .w-h-heure { font-size: clamp(3.25rem, 1.5rem + 8vw, 10rem); }
.w-soir-source { margin-top: 1rem; }
.w-soir-photo { margin: 2.5rem 0 0; }
.w-soir-photo img { width: 100%; height: auto; box-shadow: 0 20px 50px var(--ombre-forte); }
.w-soir-photo figcaption { margin-top: .75rem; font-size: var(--t-petit); }

.w-djs { display: grid; gap: 2.5rem; margin-top: var(--pas); padding-inline: var(--marge); }
.w-dj-photo { margin: 0; max-width: 24rem; }
.w-dj-photo img { width: 100%; height: auto; }
.w-dj-photo figcaption { margin-top: .75rem; font-size: var(--t-petit); }
.w-djs-texte .sur-titre { margin-bottom: 1rem; }
.w-djs-liste { display: grid; gap: .6rem; }
.w-dj { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .6em; }
.w-dj-nom { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 52, 'wght' 900; line-height: .9; text-transform: uppercase; }
.w-dj--1 .w-dj-nom { font-size: clamp(3.25rem, 1.4rem + 8vw, 9rem); }
.w-dj--2 .w-dj-nom { font-size: clamp(2.5rem, 1.2rem + 5.6vw, 6.5rem); }
.w-dj--3 .w-dj-nom { font-size: clamp(2.9rem, 1.3rem + 6.8vw, 7.75rem); }
.w-dj--2 { padding-left: clamp(1rem, 8vw, 8rem); }
.w-dj-ville { font-size: var(--t-petit); font-weight: 600; }
.w-djs-texte > .petit { margin-top: 1.25rem; }
@media (min-width: 900px) {
  .w-soir { display: grid; grid-template-columns: var(--part-suit) 1fr; padding: 0; }
  .w-horaires { grid-column: 2; padding-right: var(--marge); }
  .w-soir-source { grid-column: 2; padding-right: var(--marge); }
  .w-soir-photo { grid-column: 1; grid-row: 1 / span 2; align-self: center; justify-self: end; width: min(36rem, calc(100% - var(--marge) - 2rem)); margin: 0 clamp(1.5rem, 3vw, 3rem) 0 0; rotate: -1.5deg; }
  .w-h { grid-template-columns: max-content minmax(12rem, 1fr); align-items: baseline; gap: 1.5rem; }
  .w-h--3 { grid-template-columns: 1fr; gap: .5rem; }
  .w-djs { grid-template-columns: var(--part-suit) 1fr; gap: 0; padding: 0; align-items: end; }
  .w-dj-photo { justify-self: end; width: min(24rem, 72%); margin-right: clamp(1rem, 3vw, 3rem); }
  .w-djs-texte { padding-right: var(--marge); padding-left: clamp(1rem, 3vw, 3rem); }
}

/* =================================================================== 5. LE BILLET : il déborde sur la nuit ; la salle choisie est tamponnée */
.w-reserve { --w-debord: clamp(11rem, 26svh, 15rem); position: relative; z-index: 2; padding: 0 var(--marge) var(--pas); }
.w-ticket {
  --souche: 40%;
  position: relative; z-index: 3;
  margin: calc(-1 * var(--w-debord)) auto 0;
  max-width: 68rem;
}
.w-ticket .billet-souche { position: relative; display: flex; flex-direction: column; }
.w-ticket-date { display: flex; flex-direction: column; }
.w-ticket-date .billet-date { font-size: clamp(4rem, 2rem + 9vw, 10rem); }
.w-ticket-lieu { margin-top: 1rem; font-size: var(--t-petit); font-weight: 600; line-height: 1.35; }
/* le tampon : vide tant qu'on hésite, à l'encre de la salle quand on choisit */
.w-tampon {
  align-self: flex-start; margin-top: auto; padding-top: 1.25rem;
  font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 70, 'wght' 900;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; text-transform: uppercase;
}
.w-tampon > span {
  display: inline-block; padding: .3em .55em .25em;
  border: 3px dashed var(--encre-douce); border-radius: 8px;
  color: var(--encre-douce);
  rotate: -9deg;
}
.w-tampon-n { display: none !important; }
.w-ticket:has(input[data-salle="2"]:checked) .w-tampon-vide,
.w-ticket:has(input[data-salle="1"]:checked) .w-tampon-vide { display: none; }
.w-ticket:has(input[data-salle="2"]:checked) .w-tampon-2,
.w-ticket:has(input[data-salle="1"]:checked) .w-tampon-1 { display: inline-block !important; border-style: solid; }
.w-tampon-2 { border-color: var(--suit) !important; color: var(--suit) !important; }
.w-tampon-1 { border-color: var(--guide) !important; color: var(--guide) !important; }
@media (prefers-reduced-motion: no-preference) {
  .w-tampon-n { animation: w-tampon 520ms var(--prise) both; }
}
@keyframes w-tampon { 0% { scale: 1.9; rotate: -28deg; opacity: 0; } 60% { opacity: 1; } 100% { scale: 1; rotate: -9deg; opacity: 1; } }

.w-ticket-titre { font-size: clamp(3rem, 1.6rem + 3.2vw, 5.5rem); color: var(--encre); }
.w-ticket .billet-talon .billet-titre { margin-top: 1.25rem; }
.w-choix { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.25rem 0 0; padding: 0; border: 0; min-inline-size: 0; }
.w-choix legend { float: left; width: 100%; grid-column: 1 / -1; margin-bottom: .1rem; }
.w-choix legend .petit { text-transform: none; letter-spacing: 0; font-weight: 500; }
.w-choix-salle {
  --c: var(--guide);
  position: relative; display: flex; align-items: center; min-height: 56px; padding: .55rem .8rem;
  border: 2px solid var(--c); cursor: pointer; font-size: var(--t-petit); line-height: 1.2;
  transition: background-color 220ms var(--elan), color 220ms var(--elan), translate 160ms var(--elan);
}
.w-choix-salle--2 { --c: var(--suit); }
.w-choix-salle strong { display: block; font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 60, 'wght' 900; font-size: 1.35rem; line-height: 1; }
.w-choix-salle input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.w-choix-salle:hover { translate: 0 -2px; }
.w-choix-salle:active { translate: 0 1px; }
.w-choix-salle:has(input:checked) { background: var(--c); color: var(--texte); }
.w-choix-salle:has(input:focus-visible) { outline: 3px solid var(--encre); outline-offset: 2px; }
.w-reserver-ligne { margin-top: 1.25rem; }
.w-reserver { width: 100%; }
.w-reserver .cta-salle { font-size: inherit; font-weight: inherit; }
.w-reserver .cta-salle:not(:empty)::before { content: "· "; }
.w-billetterie-etat { margin-top: .75rem; font-size: var(--t-petit); color: var(--encre-douce); }
.w-billetterie-etat.est-dit { color: var(--encre); font-weight: 600; }

.w-repli { display: grid; gap: 1.25rem; max-width: 68rem; margin: var(--pas) auto 0; }
/* le repli tient sur des cartes à l'encre : le texte courant ne traverse jamais la couture */
.w-repere, .w-membre { position: relative; isolation: isolate; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); background: var(--encre); border-radius: var(--rayon); }
.w-repere::before, .w-membre::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background-image: var(--grain); background-size: var(--grain-taille) var(--grain-taille); filter: invert(1); opacity: var(--grain-opacite); }
.w-membre { rotate: .8deg; }
.w-repere { rotate: -.6deg; }
.w-repere .sur-titre, .w-membre .sur-titre { margin-bottom: .9rem; }
.w-prix { display: grid; gap: .5rem; }
.w-prix li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .9rem; align-items: baseline; padding-top: .5rem; border-top: 1px solid var(--filet); font-size: var(--t-petit); line-height: 1.3; }
.w-prix-montant { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 60, 'wght' 900; font-size: 1.6rem; line-height: 1; }
.w-repere > .petit { margin-top: 1rem; }
.w-membre-titre { font-family: var(--f-display); font-weight: 900; font-variation-settings: var(--plein); font-size: var(--t-h3); line-height: .95; margin-bottom: 1rem; }
.w-membre-liste { display: grid; gap: .6rem; font-size: var(--t-petit); line-height: 1.35; }
.w-membre-liste strong { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 70, 'wght' 900; font-size: 1.15rem; letter-spacing: .02em; }
.w-membre-liste span { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 60, 'wght' 900; font-size: 1.15rem; margin-right: .3rem; }
.w-membre-liens { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 1.25rem; }
@media (min-width: 900px) {
  .w-reserve { padding-inline: 0; }
  .w-ticket { --souche: calc(45vw - 9rem); margin-left: 9rem; margin-right: var(--marge); max-width: none; }  /* la perforation tombe sur la couture */
  .w-repli { grid-template-columns: var(--part-suit) var(--part-guide); max-width: none; gap: 0; align-items: start; }
  .w-repere { justify-self: end; width: min(32rem, calc(100% - var(--marge) - 1.25rem)); margin-right: 1.25rem; }
  .w-membre { justify-self: start; width: min(36rem, calc(100% - var(--marge) - 1.25rem)); margin: 3rem 0 0 1.25rem; }
}
@media (min-width: 1280px) { .w-ticket { margin-right: 12rem; } }
@media (max-width: 599px) {
  .w-ticket .billet-souche { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: end; }
  .w-ticket-date { grid-row: 1 / span 2; }
  .w-ticket-lieu { margin-top: 0; }
  .w-tampon { margin-top: .4rem; padding-top: 0; font-size: 1.5rem; }
}

/* =================================================================== 6. RETOUR SUR 2026 : deux affiches qui se touchent */
.w-retour { padding-block: var(--pas); overflow-x: clip; }
.w-retour-tete { padding-inline: var(--marge); }
.w-retour-tete .sur-titre { margin-bottom: 1rem; }
.w-retour-tete .duo-titre { max-width: 10em; }
.w-affiches { display: grid; gap: 0; margin-top: clamp(2.5rem, 7vw, 5rem); padding-inline: var(--marge); }
.w-affiche {
  --part: 50%;
  position: relative; isolation: isolate;
  padding: clamp(1.25rem, 1rem + 2vw, 2.75rem) clamp(1rem, .8rem + 1.6vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  box-shadow: 0 24px 50px var(--ombre-forte);
}
.w-affiche::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: var(--grain-taille) var(--grain-taille); opacity: var(--grain-opacite);
}
.w-affiche--spring { background: var(--suit); rotate: -2deg; }
.w-affiche--summer { background: var(--guide); rotate: 1.5deg; margin-top: -1.5rem; }
.w-affiche-date { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.w-affiche-jour { font-size: var(--t-petit); font-weight: 700; }
.w-affiche-jj { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 50, 'wght' 900; font-size: clamp(3.5rem, 2rem + 6vw, 7rem); line-height: .8; }
.w-affiche-an { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 62, 'wght' 900; font-size: var(--t-titre); }
.w-affiche-titre { margin-top: .9rem; font-family: var(--f-display); font-size: clamp(2.25rem, 1.4rem + 3vw, 4.25rem); line-height: .92; }
.w-affiche-titre .q, .w-affiche-titre .r { display: block; }
.w-affiche-titre .q { font-weight: 200; font-variation-settings: 'wdth' 120, 'wght' 200; font-size: max(3rem, .9em); }
.w-affiche-titre .r { font-weight: 900; font-variation-settings: var(--plein); text-transform: uppercase; }
.w-affiche-accroche { margin-top: 1rem; font-size: var(--t-corps); font-weight: 600; max-width: 26em; }
.w-affiche-couples { position: relative; display: grid; gap: clamp(1.25rem, 3vw, 2rem); margin: clamp(1.75rem, 4vw, 2.75rem) 0 0; padding-block: .75rem; }
/* la couture de l'affiche : le y de chaque couple s'y pose */
.w-affiche-couples::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: var(--fil); margin-left: calc(var(--fil) / -2); background: var(--or); }
.w-couple { --serre: .1em; --taille: clamp(1.45rem, 1rem + 1.7vw, 2.6rem); }
.w-couple--grand { --taille: clamp(1.9rem, 1.1rem + 2.6vw, 3.6rem); }
.w-couple .couple-meta { font-size: .875rem; }
.w-affiche-salle2 { margin-top: 1.25rem; font-size: var(--t-petit); font-weight: 600; }
.w-affiche-djs { margin-top: 1.5rem; font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 60, 'wght' 900; font-size: var(--t-titre); line-height: 1.05; text-transform: uppercase; }
.w-affiche-djs .sur-titre { margin-bottom: .35rem; font-variation-settings: normal; }
.w-affiche-merci { margin-top: 1.5rem; font-size: var(--t-petit); font-weight: 600; }
.w-affiche-merci cite { display: block; margin-top: .35rem; font-style: italic; font-weight: 500; }
.w-affiche-vibe { margin-top: 1.5rem; font-family: var(--f-display); font-weight: 300; font-variation-settings: 'wdth' 118, 'wght' 300; font-size: var(--t-titre); line-height: 1.1; }
.w-retour-lien { margin-top: var(--pas); text-align: center; padding-inline: var(--marge); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .w-affiches { view-timeline-name: --w-affiches; }
    .w-affiche--spring {
      animation-name: w-affiche-g; animation-duration: 1ms; animation-timing-function: var(--elan); animation-fill-mode: both;
      animation-timeline: --w-affiches; animation-range: entry 0% cover 45%;
    }
    .w-affiche--summer {
      animation-name: w-affiche-d; animation-duration: 1ms; animation-timing-function: var(--prise); animation-fill-mode: both;
      animation-timeline: --w-affiches; animation-range: entry 15% cover 55%;
    }
  }
}
@keyframes w-affiche-g { from { translate: -14% 3rem; rotate: -9deg; } }
@keyframes w-affiche-d { from { translate: 14% -2rem; rotate: 8deg; } }
.sans-sd .w-affiche { transition: translate 900ms var(--elan), rotate 900ms var(--elan); }
.sans-sd .w-affiche--summer { transition-delay: var(--temps); }
.sans-sd .w-affiches:not(.vu) .w-affiche--spring { translate: -8% 2rem; rotate: -7deg; }
.sans-sd .w-affiches:not(.vu) .w-affiche--summer { translate: 8% -1rem; rotate: 6deg; }
@media (min-width: 900px) {
  .w-retour-tete { display: grid; grid-template-columns: var(--part-suit) var(--part-guide); padding: 0; }
  .w-retour-tete .sur-titre { grid-column: 1; justify-self: end; text-align: right; padding: 1.4rem clamp(.75rem, 2.4vw, 2.75rem) 0 var(--marge); }
  .w-retour-tete .duo-titre { grid-column: 2; grid-row: 1; padding: 0 var(--marge) 0 clamp(.75rem, 2.4vw, 2.75rem); }
  /* les deux affiches se touchent sur la couture (45 %) */
  .w-affiches { grid-template-columns: var(--part-suit) var(--part-guide); padding: 0; align-items: start; }
  .w-affiche--spring { justify-self: end; width: min(34rem, calc(100% - var(--marge))); margin-right: -.5rem; margin-top: 3rem; padding-right: clamp(1.5rem, 1rem + 2vw, 3rem); }
  .w-affiche--summer { justify-self: start; width: min(36rem, calc(100% - var(--marge))); margin-left: -.5rem; margin-top: 0; z-index: 2; padding-left: clamp(1.75rem, 1rem + 2.4vw, 3.25rem); }
}

/* =================================================================== très petit écran / zoom 400–500 % */
@media (max-width: 21.9rem) {
  .w-hero { --w-ph: 9rem; }
  .w-q .w-l + .w-l { padding-left: 0; }
  .w-titre { font-size: 3rem; }
  .w-q { font-variation-settings: 'wdth' 72, 'wght' 200; }
  .w-r { font-size: 1.5em; }
  .w-jj { font-size: 4rem; }
  .w-duo-lieu, .w-salles { grid-template-columns: 1fr; }
  .w-salle--1 { text-align: left; padding: 0 var(--marge); }
  .w-salle--2 { padding: 2rem var(--marge) 0; }
  .w-salle-num { font-size: 7rem; }
  .w-pas { grid-template-columns: 1fr; }
  .w-pas-g { justify-self: start; text-align: left; }
  .w-pas-g, .w-pas-d { padding-inline: var(--marge); }
  .w-pas-y { display: none; }
  .w-piste { font-size: 3rem; }
  .w-choix { grid-template-columns: 1fr; }
  .w-prix li { grid-template-columns: 1fr; }
  /* le talon n'a que 120 px : « LBW 26 » (174 px) et le bouton (153 px) élargissaient le billet de 44 px, « 26 » sortait de la scène */
  .w-lbw { font-size: 1.75rem; }
  .w-cta { white-space: normal; padding-inline: .6em; }
  /* le billet (≈ 600 px) ne tient pas épinglé dans un écran de 180 px : la piste le rognait (lieu, « LBW 26 », bouton jamais
     vus en mouvement) ; il défile dans le flux et se recolle quand même, au fil de la page */
  .w-hero { height: auto; }
  .w-scene { position: relative; top: 0; }
}
.w-billetterie-dit { margin-top: .6rem; padding: .7rem .9rem; border-left: 4px solid var(--encre); background: color-mix(in srgb, var(--encre) 6%, transparent); font-size: var(--t-petit); font-weight: 600; color: var(--encre); }

/* =================================================================== CHARTE v1.0 (05.10.2026) — Winter : la maison, or sans note
   Le billet géant n'est plus coupé : la photo de décembre 2024, en couleur, est imprimée sur le billet dès t = 0 ;
   plus de scène épinglée de 75 vh. Les deux papiers (noir-2 | noir) sont bordés d'un filet or ; le nœud reste un
   sceau or sur la perforation (lien vers la salle). */
.w-hero { height: auto; }
.w-scene { position: relative; top: 0; }
.w-photo--c, .sans-sd .w-hero:not(.vu) .w-photo--c { clip-path: none; animation: none; transition: none; }
.w-noeud-oui, .w-titre .w-r { animation: none; }
.w-papier { box-shadow: inset 0 0 0 2px var(--ligne-forte); }
@media (prefers-reduced-motion: no-preference) {
  .w-t { animation: w-pose-t var(--temps) var(--elan) both; }
  .w-s { animation: w-pose-s calc(var(--temps) * 1.25) var(--prise) var(--temps) both; }
  .w-noeud { animation: w-tombe var(--temps) var(--prise) calc(var(--temps) * 3) both; }
}
.sans-sd .w-hero:not(.vu) .w-s, .sans-sd .w-hero:not(.vu) .w-t { translate: none; }
/* l'édition Winter : « Winter » et la date en or, comme l'affiche de la charte (§12) */
.w-r, .w-jj { color: var(--or); }
