/* L'accueil animé (maquette « 1 ter · Accueil animé v2 », validée par le
   client le 28 octobre 2026 : maquettes-site/accueil-anime-v2-apercu.html).

   Deux sortes de mouvement :
   - au temps : le titre qui monte mot par mot, les bandes qui défilent,
     les mascottes, la pastille qui pulse. Tout s'arrête avec
     prefers-reduced-motion ;
   - au défilement, en CSS seulement (animation-timeline : view(),
     scroll(), view-timeline nommées) : toutes ces règles sont sous
     .anim, que accueil.js pose sur main.accueil si le navigateur sait
     faire, si l'on n'a pas demandé moins d'animations et si la page
     défile vraiment. Sans .anim (Firefox, vieux téléphones), la page est
     complète et immobile, et aucune section n'est plus haute que son
     contenu : les hauteurs épinglées (155vh…) n'existent que sous .anim.

   Seuls translate, rotate, scale, opacity, clip-path et background-color
   sont animés, plus la largeur d'une seule barre (la jauge de l'espace
   organisateur) et un compteur entier (@property --v).

   Les scènes épinglées se calent sous l'en-tête et, sur téléphone,
   au-dessus de la barre d'onglets : accueil.js mesure leurs hauteurs dans
   --hd et --tb. Aucun ancêtre d'une scène épinglée n'a overflow:hidden
   (sticky et view() casseraient) : overflow:clip partout.

   Contrastes mesurés (WCAG 2.1) :
   - bleu sur jaune 7,08 ; bleu sur papier 10,60 ; papier sur bleu 10,60 ;
   - #2B3570 (texte secondaire) sur papier 10,0 ;
   - #C9CEF0 (petit texte sur bleu) 7,5 ; #E4E7FA sur bleu 9,3 ;
   - papier sur rouge 4,08 : seul le gros texte (Bungee 24 px et plus)
     y passe, d'où la taille des bandes, jamais réduite sous 24 px ;
   - les étiquettes des organisateurs : la couleur de l'organisateur et
     son fg de PALETTE, mesuré (4,52 au moins). */

@property --v{syntax:"<integer>"; inherits:false; initial-value:120}

.accueil{
  --hd:72px; --tb:0px;
  --ac-doux:#2B3570; --ac-pale:#C9CEF0; --ac-clair:#E4E7FA; --ac-filet:#E3D6B4;
  /* La hauteur d'une scène épinglée : l'écran moins l'en-tête et la barre
     d'onglets. svh : la plus petite hauteur de l'écran, barres du
     navigateur montrées, pour que rien ne passe dessous. */
  --scene-h:calc(100vh - var(--hd) - var(--tb));
  overflow-x:clip;
}
@supports (height:100svh){ .accueil{--scene-h:calc(100svh - var(--hd) - var(--tb))} }
/* La marge générale des sections (style.css) ne vaut pas ici ; :where()
   laisse chaque section poser la sienne. */
:where(.accueil) section{padding-block:0}
.ac-wrap{max-width:1200px; margin:0 auto; padding:0 32px}
.ac-lbl{font-family:var(--info); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; line-height:1.4}
.ac-titre{font-family:var(--titre); font-weight:400; text-transform:uppercase; line-height:1.02; letter-spacing:.01em}

/* Le trait d'avancement, sous l'en-tête (accueil seulement). */
.ac-prog{display:none}

/* ---------- 1. Le haut de page ---------- */
.ac-haut{position:relative; overflow:clip}
.ac-haut-scene{position:relative; padding-top:64px; padding-bottom:24px}
.ac-haut-texte{position:relative; z-index:6; display:flex; flex-direction:column; align-items:center; text-align:center; gap:22px}
.ac-pastille{display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:700; line-height:1.3;
  padding:7px 14px; border-radius:999px; background:var(--lb-papier); border:2.5px solid var(--lb-bleu); color:var(--lb-bleu)}
.ac-pastille[hidden]{display:none}
.ac-point{width:9px; height:9px; border-radius:50%; background:var(--lb-rouge); flex:none}
.ac-h1{margin:0; font-size:clamp(46px,7.4vw,104px); line-height:.98; color:var(--lb-bleu); text-shadow:6px 6px 0 var(--lb-rouge); text-wrap:balance}
.ac-ligne{display:block}
.ac-w{display:inline-block}
.ac-sous{margin:0; font-size:clamp(17px,1.6vw,20px); line-height:1.45; max-width:560px; font-weight:500; color:var(--lb-bleu)}
.ac-actions{display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-top:6px}

.ac-affiches{position:relative; height:340px; margin-top:34px}
.ac-affiches[hidden]{display:none}
.ac-eventail{position:absolute; left:50%; bottom:10px; width:820px; height:440px; margin-left:-410px}
.ac-af{position:absolute; bottom:0; display:block; border:3px solid var(--lb-bleu); border-radius:12px; overflow:clip;
  background:var(--lb-bleu); box-shadow:0 6px 0 var(--lb-bleu); rotate:var(--r1); transition:scale .25s ease}
.ac-af img{display:block; width:100%; height:100%; object-fit:cover}
.ac-af:hover, .ac-af:focus-visible{scale:1.05; z-index:9}
.ac-af:focus-visible{outline:3px solid var(--lb-rouge); outline-offset:3px}
.ac-af1{left:0;     width:196px; height:245px; --r1:-13deg; --r0:-5deg; --dx:312px;  z-index:1}
.ac-af2{left:140px; width:212px; height:265px; --r1:-6deg;  --r0:3deg;  --dx:164px;  z-index:2}
.ac-af3{left:290px; width:240px; height:300px; --r1:0deg;   --r0:-2deg; --dx:0px;    z-index:4}
.ac-af4{left:468px; width:212px; height:265px; --r1:6deg;   --r0:-3deg; --dx:-164px; z-index:3}
.ac-af5{left:624px; width:196px; height:245px; --r1:13deg;  --r0:5deg;  --dx:-312px; z-index:2}
/* Quatre affiches : les places 2 à 5, l'éventail recentré. */
.ac-eventail--4{left:calc(50% - 78px)}
/* Moins de trois : côte à côte, sans éventail. */
.ac-eventail--rang{left:0; right:0; width:auto; margin:0; display:flex; justify-content:center; align-items:flex-end; gap:24px}
.ac-eventail--rang .ac-af{position:relative; left:auto; rotate:0deg; width:240px; height:300px}
/* À droite de l'éventail, sans jamais sortir de l'écran (1024 px). */
.ac-salut{position:absolute; bottom:36px; left:min(calc(50% + 430px), calc(100% - 166px)); width:150px; z-index:5}
.ac-salut img{width:100%; height:auto; display:block}
.ac-eventail--rang ~ .ac-salut{left:min(calc(50% + 300px), calc(100% - 166px))}
.ac-px{position:absolute; z-index:1; pointer-events:none}
.ac-px svg{display:block}
.ac-p1{top:96px; left:7%} .ac-p2{top:250px; left:15%} .ac-p3{top:70px; right:9%}
.ac-p4{top:290px; right:16%} .ac-p5{top:420px; left:4%} .ac-p6{top:470px; right:5%}
.ac-defilez{display:none}

/* ---------- 2. Deux bandes croisées ---------- */
.ac-bandes{position:relative; z-index:6; height:170px; margin-top:-34px; overflow:clip}
.ac-bande{position:absolute; left:-6%; right:-6%; border-block:3px solid var(--lb-bleu); overflow:clip}
.ac-b1{top:34px; rotate:-3deg; background:var(--lb-bleu); color:var(--lb-papier); box-shadow:0 6px 0 var(--lb-rouge); z-index:2}
.ac-b2{top:78px; rotate:2.4deg; background:var(--lb-rouge); color:var(--lb-papier); z-index:1}
.ac-defile{display:flex; width:max-content}
.ac-defile-grp{display:flex; align-items:center; gap:26px; padding:14px 13px; font-family:var(--titre); font-size:26px;
  line-height:1.1; text-transform:uppercase; white-space:nowrap}
.ac-defile-grp svg{flex:none}

/* ---------- 3. Ce soir ---------- */
.ac-soir{padding:90px 0}
.ac-piste{max-width:1200px; margin:0 auto; padding:0 32px}
.ac-soir-intro{display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:28px}
.ac-soir-h{margin:0; font-size:clamp(38px,5.2vw,72px); color:var(--lb-bleu); text-shadow:5px 5px 0 var(--lb-rouge)}
.ac-soir-fl{display:none}
.ac-soir-liste{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px}
.ac-soir-liste > .incident-attente, .ac-soir-liste > .incident, .ac-soir-liste > .vide{grid-column:1/-1}
.ac-tw{display:flex; min-width:0}
.ac-tw > .ticket-soir{flex:1; min-width:0}
/* À la hauteur d'un billet : la mascotte, le texte, la flèche, en ligne. */
.ac-tout{flex:1; display:flex; align-items:center; justify-content:center; gap:14px; padding:12px 18px;
  text-align:left; text-decoration:none; background:var(--lb-bleu); color:var(--lb-papier); border:3px solid var(--lb-bleu);
  border-radius:14px; box-shadow:0 6px 0 var(--lb-rouge); transition:translate .2s ease, rotate .2s ease, box-shadow .2s ease}
.ac-tout:hover{color:var(--lb-papier); translate:0 -6px; rotate:-1deg; box-shadow:0 12px 0 var(--lb-rouge)}
.ac-tout:focus-visible{outline:3px solid var(--lb-rouge); outline-offset:3px}
.ac-tout img{width:52px; height:auto; flex:none}
.ac-tout-texte{font-family:var(--titre); font-size:20px; line-height:1.1; text-transform:uppercase}
.ac-fl{flex:none; display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%;
  background:var(--lb-jaune); color:var(--lb-bleu); border:3px solid var(--lb-papier); transition:translate .2s ease}
.ac-tout:hover .ac-fl{translate:6px 0}

/* ---------- 4. Les organisateurs ---------- */
.ac-orgs{position:relative; background:var(--lb-bleu); color:var(--lb-papier); padding:110px 0 130px; overflow:clip}
.ac-orgs[hidden]{display:none}
.ac-orgs-tete{display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; margin-bottom:64px}
.ac-orgs-tete h2{margin:0; color:var(--lb-jaune)}
.ac-noms{display:flex; flex-direction:column; align-items:center}
.ac-nom{position:relative; display:block; width:100%; text-align:center; text-decoration:none; color:var(--lb-papier);
  padding:10px 0; view-timeline-name:--nom; view-timeline-inset:43%}
.ac-nom:hover{color:var(--lb-papier)}
.ac-nom:focus-visible{outline:3px solid var(--lb-jaune); outline-offset:-3px}
.ac-nom-txt{position:relative; z-index:2; display:inline-block; max-width:100%; text-shadow:4px 4px 0 var(--lb-bleu); transition:text-shadow .2s ease; overflow-wrap:anywhere}
.ac-nom:hover .ac-nom-txt{text-shadow:5px 5px 0 var(--lb-rouge)}
.ac-n-gras{font-family:var(--titre); font-size:clamp(34px,6.2vw,92px); line-height:1.04; text-transform:uppercase}
.ac-n-fin{font-family:var(--corps); font-weight:200; font-stretch:118%; font-size:clamp(30px,5.8vw,82px); line-height:1.08;
  text-transform:uppercase; letter-spacing:.01em}
.ac-pf{position:absolute; z-index:-1; top:50%; width:150px; height:188px; margin-top:-94px; border:3px solid var(--lb-papier);
  border-radius:12px; overflow:clip; box-shadow:0 6px 0 var(--lb-rouge); opacity:0; scale:.3; pointer-events:none; background:var(--lb-bleu)}
.ac-pf img{display:block; width:100%; height:100%; object-fit:cover}
.ac-pf-g{right:100%; margin-right:26px; rotate:-9deg}
.ac-pf-d{left:100%; margin-left:26px; rotate:9deg}
.ac-nom-tag{position:absolute; left:50%; bottom:100%; translate:-50% 2px; white-space:nowrap; padding:6px 11px; border-radius:999px;
  border:2.5px solid var(--lb-papier); text-shadow:none; opacity:0; scale:.6}
.ac-nom.on .ac-pf, .ac-nom.on .ac-nom-tag{opacity:1; scale:1}
.ac-vign, .ac-tag-m{display:none}

/* ---------- 5. Bizarrement simple : le récit ---------- */
.ac-simple{background:var(--lb-papier); color:var(--lb-bleu); padding:110px 0; border-top:3px solid var(--lb-bleu)}
.ac-simple-in{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center}
.ac-simple-h{margin:0; font-size:clamp(34px,4.4vw,62px); text-shadow:5px 5px 0 var(--lb-rouge)}
.ac-etapes{list-style:none; margin:34px 0 0; padding:0; display:flex; flex-direction:column; gap:26px}
.ac-etape{display:grid; grid-template-columns:56px minmax(0,1fr); column-gap:18px; align-items:center}
.ac-num{display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%;
  background:var(--lb-bleu); color:var(--lb-jaune); font-family:var(--titre); font-size:18px}
.ac-etape h3{margin:0; font-size:24px; line-height:1.1}
.ac-jauges{display:none}
.ac-simple-vis{position:relative; display:flex; justify-content:center; align-items:center; min-height:600px}
.ac-plaque{position:absolute; top:4%; bottom:4%; left:10%; right:10%; background:var(--lb-jaune); border:3px solid var(--lb-bleu);
  border-radius:30px; box-shadow:0 8px 0 var(--lb-bleu); rotate:-3deg}
.ac-tel{position:relative; width:268px; height:536px; background:var(--lb-papier); border:4px solid var(--lb-bleu); border-radius:40px;
  box-shadow:0 8px 0 var(--lb-bleu); overflow:clip; color:var(--lb-bleu); line-height:1.3}
.ac-tel::before{content:""; position:absolute; z-index:9; top:10px; left:50%; width:80px; height:20px; margin-left:-40px; background:var(--lb-bleu); border-radius:12px}
.ac-ecr{position:absolute; inset:0; display:flex; flex-direction:column; gap:12px; padding:44px 18px 20px; opacity:0}
.ac-e1a{opacity:1}
.ac-e-aff{height:190px; border-radius:14px; overflow:clip; border:3px solid var(--lb-bleu); flex:none; background:var(--lb-bleu)}
.ac-e-aff img{width:100%; height:100%; object-fit:cover; display:block}
.ac-e-titre{font-family:var(--titre); font-size:17px; line-height:1.1; text-transform:uppercase; overflow-wrap:anywhere;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:clip}
.ac-e-info{color:var(--ac-doux); white-space:nowrap; overflow:clip; text-overflow:ellipsis}
#telPanier{white-space:normal}
.ac-ligne-t{display:flex; align-items:center; justify-content:space-between; gap:8px; border:2.5px solid var(--lb-bleu); border-radius:12px;
  padding:11px 12px; font-weight:700; font-size:15px; background:#fff}
.ac-ligne-t > span:first-child{min-width:0; overflow:clip; text-overflow:ellipsis; white-space:nowrap}
.ac-cpt{display:inline-flex; align-items:center; gap:9px; font-family:var(--info); font-weight:700; font-size:14px; flex:none}
.ac-cpt i{display:inline-flex; width:24px; height:24px; border-radius:50%; border:2px solid var(--lb-bleu); align-items:center; justify-content:center; font-style:normal; font-size:14px}
.ac-e-btn{margin-top:auto; position:relative; background:var(--lb-bleu); color:var(--lb-papier); border-radius:12px; text-align:center;
  padding:15px 8px; font-family:var(--titre); font-size:14px; box-shadow:0 4px 0 var(--lb-rouge)}
.ac-e-payer{font-weight:800; font-size:14px; margin-top:10px}
.ac-opt{display:flex; align-items:center; gap:10px; border:2.5px solid var(--lb-bleu); border-radius:12px; padding:13px 12px; font-weight:700; font-size:15px; background:#fff}
.ac-rond{width:18px; height:18px; border-radius:50%; border:2.5px solid var(--lb-bleu); flex:none}
.ac-opt.sel{background:var(--lb-jaune)}
.ac-opt.sel .ac-rond{background:var(--lb-bleu); box-shadow:inset 0 0 0 3px var(--lb-jaune)}
.ac-tap{position:absolute; right:22px; top:50%; width:38px; height:38px; margin-top:-19px; border-radius:50%; background:var(--lb-papier); opacity:0}
.ac-e1c{align-items:center; justify-content:center; text-align:center; gap:16px}
.ac-ok{font-family:var(--titre); font-size:22px; text-transform:uppercase}
.ac-qr{display:block; width:150px; height:150px; border:3px solid var(--lb-bleu); border-radius:10px}
.ac-e1c-titre{font-size:13px; font-weight:700; color:var(--ac-doux)}
.ac-e2{padding:0; gap:0}
.ac-e2-fond{height:150px; flex:none; overflow:clip; background:var(--lb-bleu)}
.ac-e2-fond img{width:100%; height:100%; object-fit:cover; display:block}
.ac-e2-corps{display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:0 18px}
.ac-e2-av{display:flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:50%; border:3px solid var(--lb-papier);
  margin-top:-36px; overflow:clip; box-shadow:0 0 0 3px var(--lb-bleu); font-family:var(--titre); font-size:24px; background:var(--lb-bleu); color:var(--lb-papier)}
.ac-e2-av img{width:100%; height:100%; object-fit:cover; display:block}
.ac-e2-nom{font-family:var(--titre); font-size:19px; text-transform:uppercase; line-height:1.1; overflow-wrap:anywhere}
.ac-abo{position:relative; display:inline-grid; font-weight:800; font-size:15px; margin-top:4px}
.ac-abo span{grid-area:1/1; padding:10px 18px; border-radius:10px; border:2.5px solid var(--lb-bleu); text-align:center}
.ac-abo1{background:var(--lb-bleu); color:var(--lb-papier)}
.ac-abo2{background:var(--lb-jaune); color:var(--lb-bleu); opacity:0}
.ac-e2-pro{margin-top:10px; display:flex; gap:10px; align-items:center; border-top:2px solid var(--ac-filet); padding-top:12px; width:100%; min-width:0}
.ac-e2-pro .ac-mini{width:52px; height:65px; flex:none; border-radius:8px; border:2px solid var(--lb-bleu); overflow:clip; background:var(--lb-bleu)}
.ac-e2-pro .ac-mini img{width:100%; height:100%; object-fit:cover; display:block}
.ac-e2-pro strong{display:block; font-size:14px; overflow-wrap:anywhere}
.ac-notif{position:absolute; z-index:8; top:40px; left:10px; right:10px; display:flex; gap:10px; align-items:flex-start; background:#fff;
  border:3px solid var(--lb-bleu); border-radius:14px; padding:10px 12px; box-shadow:0 5px 0 var(--lb-rouge); translate:0 -190px}
.ac-notif img{width:32px; height:32px; flex:none; background:var(--lb-bleu); border-radius:8px; padding:3px}
.ac-notif strong, .ac-notif span{display:block; font-size:13px; line-height:1.3; overflow-wrap:anywhere}
.ac-notif span{color:var(--ac-doux)}
.ac-e3{padding:0; background:var(--lb-bleu)}
.ac-sf{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0}
.ac-sf1{opacity:1}
.ac-bars{position:absolute; z-index:3; top:40px; left:12px; right:12px; display:flex; gap:5px}
.ac-bars span{flex:1; height:3px; border-radius:2px; background:rgba(251,243,223,.45); overflow:clip}
.ac-bars i{display:block; height:100%; background:var(--lb-papier); transform-origin:left; scale:1 1}
.ac-st-tete{position:absolute; z-index:3; top:54px; left:12px; right:12px; display:flex; align-items:center; gap:8px; color:#fff; font-weight:800; font-size:14px;
  text-shadow:0 1px 3px rgba(0,0,0,.6)}
.ac-st-av{width:30px; height:30px; flex:none; border-radius:50%; border:2px solid var(--lb-papier); overflow:clip; background:var(--lb-bleu)}
.ac-st-av img{width:100%; height:100%; object-fit:cover; display:block}
.ac-cap{position:absolute; z-index:3; left:12px; right:12px; bottom:16px; background:var(--lb-bleu); color:var(--lb-papier); font-weight:800; font-size:14px;
  line-height:1.25; padding:9px 11px; border-radius:10px; opacity:0; overflow-wrap:anywhere}
.ac-cap1{opacity:1}
/* Sans photo de soirée : la mascotte « fin de soirée », sur le bleu. */
.ac-e3-vide{display:flex; align-items:center; justify-content:center}
.ac-e3-vide img{width:46%; height:auto}

/* ---------- 6. Vous organisez une fête ? ---------- */
.ac-orga{background:var(--lb-bleu); color:var(--lb-papier); padding:120px 0 130px; overflow:clip}
.ac-orga-in{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:56px; align-items:center}
.ac-orga-txt{display:flex; flex-direction:column; gap:20px}
.ac-orga-txt .ac-lbl{color:var(--lb-jaune)}
.ac-orga-h{margin:0; font-size:clamp(38px,5.2vw,72px); text-shadow:5px 5px 0 var(--lb-rouge); color:var(--lb-papier)}
.ac-mot{display:inline-block}
.ac-orga-p{margin:0; font-size:18px; line-height:1.5; color:var(--ac-clair)}
.ac-promesses{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px}
.ac-promesses li{display:flex; align-items:center; gap:12px; font-weight:700; font-size:17px; line-height:1.35}
.ac-ico{display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:10px; background:var(--lb-jaune); color:var(--lb-bleu); flex:none}
.ac-orga-cta{display:flex; align-items:center; gap:22px; flex-wrap:wrap; margin-top:8px}
.ac-orga-cta .btn{--bg:var(--lb-jaune); --fg:var(--lb-bleu); --sh:var(--lb-rouge)}
.ac-lien-cl{font-weight:700; color:var(--lb-papier); text-decoration:underline; text-underline-offset:4px; min-height:44px; display:inline-flex; align-items:center}
.ac-lien-cl:hover{color:var(--lb-jaune)}
.ac-lien-cl:focus-visible{outline-color:var(--lb-jaune)}
.ac-portable-zone{position:relative; perspective:1400px}
.ac-portable{position:relative; transform-origin:50% 100%}
.ac-lp-ecran{background:var(--lb-papier); border:10px solid #0F1755; border-bottom-width:14px; border-radius:16px 16px 0 0; overflow:clip; color:var(--lb-bleu); line-height:1.3}
.ac-lp-base{height:16px; background:#0F1755; border-radius:0 0 18px 18px; margin:0 -28px; border-top:3px solid var(--ac-doux)}
.ac-lp-barre{display:flex; align-items:center; justify-content:space-between; background:var(--lb-jaune); border-bottom:3px solid var(--lb-bleu); padding:10px 14px}
.ac-lp-barre .ac-titre{font-size:15px}
.ac-lp-corps{padding:14px; display:flex; flex-direction:column; gap:10px}
.ac-lp-carte{display:flex; gap:12px; background:#fff; border:2.5px solid var(--lb-bleu); border-radius:10px; padding:10px; box-shadow:0 4px 0 var(--lb-rouge)}
.ac-lp-vign{width:64px; height:80px; flex:none; border-radius:6px; border:2px solid var(--lb-bleu); background:var(--lb-jaune); display:flex; align-items:center; justify-content:center}
.ac-lp-vign img{width:70%; height:auto}
.ac-lp-carte strong{display:block; font-size:15px}
.ac-lp-sous{font-size:12px; color:var(--ac-doux); font-weight:600}
.ac-jauge{height:9px; border-radius:5px; background:var(--ac-filet); overflow:clip; margin:7px 0 5px}
.ac-jauge i{display:block; height:100%; width:60%; background:var(--lb-bleu); border-radius:5px}
.ac-lp-vendues{font-size:12px; font-weight:700}
.ac-lp-btns{display:flex; gap:7px; margin-top:8px; flex-wrap:wrap}
.ac-lp-btns span{font-size:11px; font-weight:800; padding:6px 9px; border-radius:6px; border:2px solid var(--lb-bleu)}
.ac-lp-btns span:first-child{background:var(--lb-bleu); color:var(--lb-papier)}
.ac-lp-ligne{display:flex; align-items:center; justify-content:space-between; border-top:2px solid var(--ac-filet); padding:8px 2px; font-weight:700; font-size:13px}
.ac-lp-ligne span:last-child{color:var(--ac-doux)}
.ac-chauffe{position:absolute; right:-142px; bottom:-14px; width:130px; z-index:4}
.ac-chauffe img{width:100%; height:auto; display:block}
.ac-vendues::before{content:none}

/* ---------- 7. Avant le pied de page ---------- */
.ac-couleurs{height:14px; overflow:clip; background:var(--lb-bleu); border-top:3px solid var(--lb-bleu)}
.ac-couleurs-defile{display:flex; width:max-content; height:100%}
.ac-couleurs-defile i{display:block; width:120px; height:100%}
.ac-c-j{background:var(--lb-jaune)} .ac-c-r{background:var(--lb-rouge)} .ac-c-f{background:var(--lb-flamme)}
.ac-c-c{background:var(--lb-ciel)} .ac-c-p{background:var(--lb-papier)}
.ac-fin{background:var(--lb-bleu); padding:40px 0 10px; overflow:clip}
.ac-geant{display:flex; align-items:flex-end; justify-content:center; gap:clamp(8px,2vw,28px); margin:0; font-family:var(--titre);
  font-size:clamp(56px,13.4vw,196px); line-height:.9; color:var(--lb-jaune); text-shadow:8px 8px 0 var(--lb-rouge); text-transform:uppercase}
.ac-geant-mots{display:flex; gap:.28em}
.ac-geant-mots > span{display:flex}
.ac-gl{display:inline-block}
.ac-geant img{width:clamp(70px,10vw,150px); height:auto; flex:none; margin-bottom:-6px}

@media (min-width:901px) and (max-width:1419px){ .ac-chauffe{display:none} }

@media (max-width:900px){
  .accueil{--hd:64px}
  .ac-wrap{padding:0 18px}
  .ac-haut-scene{padding-top:34px}
  .ac-haut-texte{gap:18px}
  .ac-actions{flex-direction:column; align-self:stretch}
  .ac-actions .btn{width:100%}
  .ac-affiches{height:260px; margin-top:26px}
  .ac-eventail{width:380px; height:260px; margin-left:-190px; bottom:6px}
  .ac-eventail--4{left:calc(50% - 35px)}
  .ac-af1{left:0;     width:100px; height:125px; --dx:142px}
  .ac-af2{left:62px;  width:110px; height:138px; --dx:75px}
  .ac-af3{left:130px; width:124px; height:155px}
  .ac-af4{left:212px; width:110px; height:138px; --dx:-75px}
  .ac-af5{left:280px; width:100px; height:125px; --dx:-138px}
  .ac-eventail--rang{width:auto; margin:0; gap:14px}
  .ac-eventail--rang .ac-af{width:124px; height:155px}
  .ac-salut{width:78px; left:calc(50% + 96px); bottom:104px}
  .ac-eventail--rang ~ .ac-salut{left:calc(50% + 120px)}
  .ac-p2, .ac-p4, .ac-p5, .ac-p6{display:none}
  .ac-p1{top:24px; left:3%} .ac-p3{top:30px; right:3%}
  .ac-bandes{height:130px; margin-top:-26px}
  .ac-b1{top:24px} .ac-b2{top:64px}
  .ac-defile-grp{font-size:24px; padding:10px 11px; gap:18px}
  .ac-soir{padding:56px 0}
  .ac-piste{padding:0}
  .ac-soir-intro{padding:0 18px; margin-bottom:22px}
  .ac-soir-liste{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; padding:4px 18px 14px; scroll-padding-inline:18px}
  .ac-soir-liste > .incident-attente, .ac-soir-liste > .incident, .ac-soir-liste > .vide{flex:0 0 100%}
  .ac-tw{flex:0 0 86%; scroll-snap-align:start}
  .ac-tw--tout{flex-basis:56%}
  .ac-orgs{padding:72px 0 80px}
  .ac-orgs-tete{margin-bottom:22px}
  .ac-noms{align-items:stretch; border-top:1px solid rgba(251,243,223,.2)}
  .ac-nom{display:grid; grid-template-columns:minmax(0,1fr) 60px; column-gap:14px; align-items:center; text-align:left; padding:12px 0;
    border-bottom:1px solid rgba(251,243,223,.2); view-timeline-inset:44%}
  .ac-nom-txt{grid-column:1; grid-row:1; text-shadow:none}
  .ac-n-gras{font-size:28px}
  .ac-n-fin{font-size:24px; font-stretch:105%}
  .ac-pf, .ac-nom-tag{display:none}
  .ac-tag-m{display:block; grid-column:1; grid-row:2; margin-top:6px; color:var(--ac-pale); font-size:10px; letter-spacing:.08em}
  .ac-vign{display:block; grid-column:2; grid-row:1/3; width:60px; height:75px; border-radius:10px; border:2.5px solid var(--lb-papier);
    overflow:clip; box-shadow:0 4px 0 var(--lb-rouge); opacity:.35; scale:.85; background:var(--lb-bleu)}
  .ac-vign img{width:100%; height:100%; object-fit:cover; display:block}
  .ac-nom.on .ac-vign{opacity:1; scale:1}
  .ac-simple{padding:72px 0}
  .ac-simple-in{grid-template-columns:minmax(0,1fr); gap:30px}
  .ac-etape h3{font-size:20px}
  .ac-simple-vis{min-height:0; padding:20px 0}
  .ac-tel{width:230px; height:460px}
  .ac-e-aff{height:150px}
  .ac-orga{padding:76px 0 90px}
  .ac-orga-in{grid-template-columns:minmax(0,1fr); gap:44px}
  .ac-portable-zone{margin-top:70px}
  .ac-chauffe{width:84px; right:6px; top:-112px; bottom:auto}
  .ac-geant{flex-direction:column; align-items:center; gap:6px; font-size:54px}
  .ac-geant-mots{flex-direction:column; align-items:center; gap:0}
  .ac-geant img{width:84px; margin:0}
}
/* 360 px : l'éventail de 380 px se réduit pour rester entier. */
@media (max-width:400px){ .ac-eventail{scale:.9; transform-origin:50% 100%} }

/* ---------- Mouvement continu (au temps) ---------- */
@keyframes ac-monte{from{opacity:0; translate:0 70%} to{opacity:1; translate:0 0}}
@keyframes ac-fondu{from{opacity:0; translate:0 18px} to{opacity:1; translate:0 0}}
@keyframes ac-surgit{from{opacity:0; translate:0 240px} to{opacity:1; translate:0 0}}
@keyframes ac-salut{0%,100%{rotate:0deg} 25%{rotate:-7deg} 75%{rotate:7deg}}
@keyframes ac-flotte{0%,100%{translate:0 0; rotate:0deg} 50%{translate:0 -14px; rotate:18deg}}
@keyframes ac-pulse{0%{box-shadow:0 0 0 0 rgba(225,48,42,.7)} 80%,100%{box-shadow:0 0 0 10px rgba(225,48,42,0)}}
@keyframes ac-defile{to{translate:-50% 0}}
@keyframes ac-defileR{from{translate:-50% 0} to{translate:0 0}}
@keyframes ac-danse{0%,100%{rotate:-6deg; translate:0 0} 50%{rotate:6deg; translate:0 -10px}}
@keyframes ac-rebond{0%,100%{translate:0 0} 50%{translate:0 8px}}
@media (prefers-reduced-motion:no-preference){
  .ac-w{animation:ac-monte .8s cubic-bezier(.2,.9,.25,1.15) both}
  .ac-w1{animation-delay:.05s} .ac-w2{animation-delay:.13s} .ac-w3{animation-delay:.21s} .ac-w4{animation-delay:.32s}
  .ac-pastille{animation:ac-fondu .6s both}
  .ac-sous{animation:ac-fondu .7s .5s both}
  .ac-actions{animation:ac-fondu .7s .62s both}
  .ac-eventail{animation:ac-surgit 1s .55s cubic-bezier(.2,.9,.25,1.08) both}
  .ac-salut img{animation:ac-salut 2.6s 2.2s ease-in-out infinite; transform-origin:50% 90%}
  .ac-px svg{animation:ac-flotte 6s ease-in-out infinite}
  .ac-p2 svg{animation-duration:7.5s; animation-delay:-2s} .ac-p3 svg{animation-duration:5.5s; animation-delay:-1s}
  .ac-p4 svg{animation-duration:8s; animation-delay:-3s} .ac-p6 svg{animation-duration:7s; animation-delay:-4s}
  .ac-point{animation:ac-pulse 1.6s infinite}
  .ac-b1 .ac-defile{animation:ac-defile 38s linear infinite}
  .ac-b2 .ac-defile{animation:ac-defileR 44s linear infinite}
  .ac-chauffe img{animation:ac-danse 1.8s ease-in-out infinite; transform-origin:50% 100%}
  .ac-couleurs-defile{animation:ac-defile 22s linear infinite}
  .ac-defilez-fl{animation:ac-rebond 1.2s ease-in-out infinite}
}

/* ---------- Mouvement lié au défilement (classe anim) ---------- */
@keyframes ac-barre{to{scale:1 1}}
@keyframes ac-deck{from{translate:var(--dx) 26px; rotate:var(--r0); scale:.88} to{translate:0 0; rotate:var(--r1); scale:1}}
@keyframes ac-recul{to{scale:.84; translate:0 -24px}}
@keyframes ac-efface{0%,45%{opacity:1; visibility:visible} 75%,100%{opacity:0; visibility:hidden}}
@keyframes ac-pop{0%,52%{scale:0; rotate:-30deg} 64%{scale:1.18; rotate:8deg} 72%,100%{scale:1; rotate:0deg}}
@keyframes ac-px{to{translate:0 var(--py)}}
@keyframes ac-cue-off{0%{opacity:1} 12%,100%{opacity:0}}
@keyframes ac-glisseG{from{translate:6% 0} to{translate:-14% 0}}
@keyframes ac-glisseD{from{translate:-14% 0} to{translate:6% 0}}
@keyframes ac-piste{to{translate:var(--course-x) 0}}
@keyframes ac-carte{from{translate:0 110px; rotate:9deg; opacity:.25} to{translate:0 0; rotate:0deg; opacity:1}}
@keyframes ac-geant-in{from{scale:.6; opacity:0} to{scale:1; opacity:1}}
@keyframes ac-entre{from{opacity:0; translate:0 70px} to{opacity:1; translate:0 0}}
@keyframes ac-deploie{from{clip-path:inset(0 6% 0 6% round 56px)} to{clip-path:inset(0 0 0 0 round 0px)}}
@keyframes ac-allume{0%{opacity:.4} 30%,70%{opacity:1} 100%{opacity:.4}}
@keyframes ac-pf-g{0%{opacity:0; scale:.3; translate:140px 0; rotate:0deg} 32%,68%{opacity:1; scale:1; translate:0 0; rotate:-9deg} 100%{opacity:0; scale:.3; translate:140px 0; rotate:0deg}}
@keyframes ac-pf-d{0%{opacity:0; scale:.3; translate:-140px 0; rotate:0deg} 32%,68%{opacity:1; scale:1; translate:0 0; rotate:9deg} 100%{opacity:0; scale:.3; translate:-140px 0; rotate:0deg}}
@keyframes ac-tag{0%{opacity:0; scale:.6} 32%,68%{opacity:1; scale:1} 100%{opacity:0; scale:.6}}
@keyframes ac-vign{0%{opacity:.35; scale:.85} 32%,68%{opacity:1; scale:1} 100%{opacity:.35; scale:.85}}
@keyframes ac-etape1{0%,30%{opacity:1; translate:0 0; visibility:visible} 36%,100%{opacity:0; translate:0 -36px; visibility:hidden}}
@keyframes ac-etape2{0%,30%{opacity:0; translate:0 36px; visibility:hidden} 36%,63%{opacity:1; translate:0 0; visibility:visible} 69%,100%{opacity:0; translate:0 -36px; visibility:hidden}}
@keyframes ac-etape3{0%,63%{opacity:0; translate:0 36px; visibility:hidden} 69%,100%{opacity:1; translate:0 0; visibility:visible}}
@keyframes ac-jg{from{scale:0 1} to{scale:1 1}}
@keyframes ac-plaque{0%,31%{background-color:#F6C230; rotate:-3deg} 35%,64%{background-color:#1C2B8F; rotate:3deg} 68%,100%{background-color:#E1302A; rotate:-2deg}}
@keyframes ac-tel{0%{translate:0 40px; rotate:-4deg} 33%{translate:0 0; rotate:0deg} 66%{translate:0 -10px; rotate:2deg} 100%{translate:0 0; rotate:0deg}}
@keyframes ac-e1a{0%,9%{opacity:1} 11%,100%{opacity:0}}
@keyframes ac-e1b{0%,9%{opacity:0} 11%,20%{opacity:1} 22%,100%{opacity:0}}
@keyframes ac-e1c{0%,20%{opacity:0; scale:.9} 23%,31%{opacity:1; scale:1} 34%,100%{opacity:0; scale:1}}
@keyframes ac-e2{0%,31%{opacity:0} 35%,64%{opacity:1} 67%,100%{opacity:0}}
@keyframes ac-e3{0%,64%{opacity:0} 67%,100%{opacity:1}}
@keyframes ac-tap1{0%,5%{opacity:0; scale:.4} 7.5%{opacity:.85; scale:1} 9.5%,100%{opacity:0; scale:1.7}}
@keyframes ac-tap2{0%,16%{opacity:0; scale:.4} 18.5%{opacity:.85; scale:1} 20.5%,100%{opacity:0; scale:1.7}}
@keyframes ac-abo1{0%,43%{opacity:1} 45%,100%{opacity:0}}
@keyframes ac-abo2{0%,43%{opacity:0} 45%,100%{opacity:1}}
@keyframes ac-notif{0%,47%{translate:0 -190px} 52%,100%{translate:0 0}}
@keyframes ac-sf1{0%,76%{opacity:1} 78%,100%{opacity:0}}
@keyframes ac-sf2{0%,76%{opacity:0} 78%,88%{opacity:1} 90%,100%{opacity:0}}
@keyframes ac-sf3{0%,88%{opacity:0} 90%,100%{opacity:1}}
@keyframes ac-bb1{0%,67%{scale:0 1} 77%,100%{scale:1 1}}
@keyframes ac-bb2{0%,77%{scale:0 1} 89%,100%{scale:1 1}}
@keyframes ac-bb3{0%,89%{scale:0 1} 99%,100%{scale:1 1}}
@keyframes ac-mot{from{opacity:.12; translate:0 34px} to{opacity:1; translate:0 0}}
@keyframes ac-li{from{opacity:0; translate:-60px 0} to{opacity:1; translate:0 0}}
@keyframes ac-redresse{from{rotate:x 34deg; translate:0 80px; scale:.92} to{rotate:x 0deg; translate:0 0; scale:1}}
@keyframes ac-jauge{from{width:0%} to{width:60%}}
@keyframes ac-compte{from{--v:0} to{--v:120}}
@keyframes ac-lettre{from{translate:0 110%; rotate:14deg; opacity:0} to{translate:0 0; rotate:0deg; opacity:1}}
@keyframes ac-masc-fin{from{translate:0 120%; rotate:-20deg} to{translate:0 0; rotate:0deg}}

.anim .ac-prog{display:block; position:fixed; z-index:59; top:var(--hd); left:0; right:0; height:3px; background:var(--lb-rouge);
  transform-origin:left; scale:0 1; pointer-events:none; animation:ac-barre linear both; animation-timeline:scroll(root)}

.anim .ac-haut{height:155vh; view-timeline:--haut block}
.anim .ac-haut-scene{position:sticky; top:var(--hd); height:var(--scene-h); padding-top:22px; padding-bottom:0; display:flex; flex-direction:column}
.anim .ac-h1{font-size:clamp(40px,min(6.4vw,10.5vh),92px)}
.anim .ac-affiches{flex:1; height:auto; min-height:0; margin-top:16px}
/* 30 px : l'éventail part 26 px plus bas (ac-deck), et reste entier. */
.anim .ac-eventail{bottom:30px}
@media (min-width:901px) and (max-height:820px){
  .anim .ac-eventail{scale:.82; transform-origin:50% 100%} .anim .ac-salut{scale:.82}
}
@media (min-width:901px) and (max-height:720px){
  .anim .ac-eventail{scale:.64} .anim .ac-salut{scale:.7}
  .anim .ac-haut-texte{gap:14px}
}
.anim .ac-eventail:not(.ac-eventail--rang) .ac-af{animation:ac-deck linear both; animation-timeline:--haut; animation-range:contain 0% contain 62%}
.anim .ac-h1{animation:ac-recul linear both; animation-timeline:--haut; animation-range:contain 20% contain 100%}
.anim .ac-sous, .anim .ac-actions{animation:ac-efface linear both; animation-timeline:--haut; animation-range:contain 0% contain 100%}
.anim .ac-salut{animation:ac-pop linear both; animation-timeline:--haut; animation-range:contain 0% contain 100%}
.anim .ac-px{animation:ac-px linear both; animation-timeline:--haut; animation-range:contain 0% exit 100%}
.anim .ac-p1{--py:-180px} .anim .ac-p2{--py:-320px} .anim .ac-p3{--py:-240px}
.anim .ac-p4{--py:-120px} .anim .ac-p5{--py:-380px} .anim .ac-p6{--py:-200px}
.anim .ac-defilez{display:flex; position:absolute; z-index:7; left:32px; bottom:22px; align-items:center; gap:8px; background:var(--lb-bleu); color:var(--lb-papier);
  padding:9px 14px; border-radius:999px; animation:ac-cue-off linear both; animation-timeline:--haut; animation-range:contain 0% contain 100%}

/* Sans affiche à ouvrir (aucune fête à venir hors de ce soir, vu en
   production le 28 octobre 2026), le haut de page n'est pas épinglé : le
   titre et les boutons restent, la page ne montre pas un écran vide. */
.anim .ac-haut:has(.ac-affiches[hidden]){height:auto; view-timeline:none}
.anim .ac-haut:has(.ac-affiches[hidden]) .ac-haut-scene{position:relative; top:auto; height:auto; padding-block:64px 70px}
.anim .ac-haut:has(.ac-affiches[hidden]) :is(.ac-h1, .ac-sous, .ac-actions, .ac-px){animation:none}
.anim .ac-haut:has(.ac-affiches[hidden]) .ac-defilez{display:none}
@media (max-width:900px){
  .anim .ac-haut:has(.ac-affiches[hidden]) .ac-haut-scene{padding-block:34px 56px}
}

.anim .ac-bandes{view-timeline:--bandes block}
.anim .ac-b1 .ac-bande-mv{animation:ac-glisseG linear both; animation-timeline:--bandes; animation-range:cover 0% cover 100%}
.anim .ac-b2 .ac-bande-mv{animation:ac-glisseD linear both; animation-timeline:--bandes; animation-range:cover 0% cover 100%}

/* La piste épinglée : sur ordinateur, avec au moins deux billets, et
   seulement si elle dépasse l'écran (accueil.js pose .ac-soir--epingle,
   --course, la distance à parcourir, et --course-x, son opposé). */
@media (min-width:901px){
  .anim .ac-soir--epingle{height:calc(100vh + max(65vh, var(--course, 0px))); padding:0; view-timeline:--soir block}
  .anim .ac-soir--epingle .ac-soir-scene{position:sticky; top:var(--hd); height:calc(100vh - var(--hd)); overflow:clip; display:flex; align-items:center}
  .anim .ac-soir--epingle .ac-piste{display:flex; align-items:center; gap:36px; width:max-content; max-width:none; margin:0; padding:0 7vw;
    animation:ac-piste linear both; animation-timeline:--soir; animation-range:contain 0% contain 100%}
  .anim .ac-soir--epingle .ac-soir-liste{display:contents}
  .anim .ac-soir--epingle .ac-soir-intro{width:430px; flex:none; flex-direction:column; align-items:flex-start; gap:26px; margin:0}
  .anim .ac-soir--epingle .ac-soir-h{font-size:150px; line-height:.9; text-shadow:8px 8px 0 var(--lb-rouge);
    animation:ac-geant-in linear both; animation-timeline:--soir; animation-range:entry 30% contain 0%}
  .anim .ac-soir--epingle .ac-soir-fl{display:inline-flex; align-items:center; gap:12px; font-weight:800; font-size:18px; color:var(--lb-bleu)}
  .anim .ac-soir--epingle .ac-tw{width:370px; flex:none; animation:ac-carte linear both; animation-timeline:--soir;
    animation-range:contain var(--debut, 0%) contain var(--fin, 28%)}
  .anim .ac-soir--epingle .ac-tw:first-of-type{animation-range:entry 70% contain 22%}
  .anim .ac-soir--epingle .ac-tw--tout{width:330px}
}
@media (max-width:900px){
  .anim .ac-tw{animation:ac-entre linear both; animation-timeline:view(block); animation-range:entry 0% entry 70%}
}

.anim .ac-orgs{animation:ac-deploie linear both; animation-timeline:view(); animation-range:entry 0% entry 70%}
.anim .ac-orgs-tete{animation:ac-entre linear both; animation-timeline:view(); animation-range:entry 0% entry 80%}
.anim .ac-nom .ac-nom-txt, .anim .ac-nom .ac-tag-m{animation:ac-allume linear both; animation-timeline:--nom; animation-range:cover 0% cover 100%}
.anim .ac-nom .ac-pf-g{animation:ac-pf-g linear both; animation-timeline:--nom; animation-range:cover 0% cover 100%}
.anim .ac-nom .ac-pf-d{animation:ac-pf-d linear both; animation-timeline:--nom; animation-range:cover 0% cover 100%}
.anim .ac-nom .ac-nom-tag{animation:ac-tag linear both; animation-timeline:--nom; animation-range:cover 0% cover 100%}
.anim .ac-nom .ac-vign{animation:ac-vign linear both; animation-timeline:--nom; animation-range:cover 0% cover 100%}

.anim .ac-simple{height:270vh; padding:0; view-timeline:--simple block}
.anim .ac-simple-scene{position:sticky; top:var(--hd); height:var(--scene-h); display:flex; align-items:center}
.anim .ac-simple-scene > .ac-wrap{width:100%}
.anim .ac-etapes{display:grid; margin-top:30px}
.anim .ac-etape{grid-area:1/1}
.anim .ac-s1, .anim .ac-s2, .anim .ac-s3{animation-timeline:--simple; animation-range:contain 0% contain 100%; animation-fill-mode:both; animation-timing-function:linear}
.anim .ac-s1{animation-name:ac-etape1} .anim .ac-s2{animation-name:ac-etape2} .anim .ac-s3{animation-name:ac-etape3}
.anim .ac-jauges{display:flex; gap:8px; margin-top:30px; max-width:360px}
.ac-jauges span{flex:1; height:6px; border-radius:3px; background:var(--ac-filet); overflow:clip}
.ac-jauges i{display:block; height:100%; background:var(--lb-bleu); transform-origin:left; scale:0 1}
.anim .ac-j1{animation:ac-jg linear both; animation-timeline:--simple; animation-range:contain 0% contain 33%}
.anim .ac-j2{animation:ac-jg linear both; animation-timeline:--simple; animation-range:contain 33% contain 66%}
.anim .ac-j3{animation:ac-jg linear both; animation-timeline:--simple; animation-range:contain 66% contain 100%}
.anim .ac-plaque{animation:ac-plaque linear both; animation-timeline:--simple; animation-range:contain 0% contain 100%}
.anim .ac-tel{animation:ac-tel linear both; animation-timeline:--simple; animation-range:entry 40% contain 100%}
.anim :is(.ac-e1a, .ac-e1b, .ac-e1c, .ac-e2, .ac-e3, .ac-tap1, .ac-tap2, .ac-abo1, .ac-abo2, .ac-notif, .ac-sf1, .ac-sf2, .ac-sf3,
  .ac-cap1, .ac-cap2, .ac-cap3, .ac-bb1, .ac-bb2, .ac-bb3){
  animation-timeline:--simple; animation-range:contain 0% contain 100%; animation-fill-mode:both; animation-timing-function:linear}
.anim .ac-e1a{animation-name:ac-e1a} .anim .ac-e1b{animation-name:ac-e1b} .anim .ac-e1c{animation-name:ac-e1c}
.anim .ac-e2{animation-name:ac-e2} .anim .ac-e3{animation-name:ac-e3}
.anim .ac-tap1{animation-name:ac-tap1} .anim .ac-tap2{animation-name:ac-tap2}
.anim .ac-abo1{animation-name:ac-abo1} .anim .ac-abo2{animation-name:ac-abo2} .anim .ac-notif{animation-name:ac-notif}
.anim .ac-sf1, .anim .ac-cap1{animation-name:ac-sf1} .anim .ac-sf2, .anim .ac-cap2{animation-name:ac-sf2} .anim .ac-sf3, .anim .ac-cap3{animation-name:ac-sf3}
.anim .ac-bb1{animation-name:ac-bb1} .anim .ac-bb2{animation-name:ac-bb2} .anim .ac-bb3{animation-name:ac-bb3}
/* Sans .anim, les barres des stories restent vides : seule la première
   photo est montrée. */
.accueil:not(.anim) .ac-bars i{scale:0 1}

.anim .ac-orga .ac-mot{animation:ac-mot linear both; animation-timeline:view()}
.anim .ac-orga .ac-m1{animation-range:entry 10% entry 70%} .anim .ac-orga .ac-m2{animation-range:entry 22% entry 82%}
.anim .ac-orga .ac-m3{animation-range:entry 34% entry 94%} .anim .ac-orga .ac-m4{animation-range:entry 46% cover 40%}
.anim .ac-orga-p{animation:ac-entre linear both; animation-timeline:view(); animation-range:entry 20% cover 30%}
.anim .ac-promesses li{animation:ac-li linear both; animation-timeline:view()}
.anim .ac-promesses li:nth-child(1){animation-range:entry 20% cover 30%}
.anim .ac-promesses li:nth-child(2){animation-range:entry 35% cover 38%}
.anim .ac-promesses li:nth-child(3){animation-range:entry 50% cover 46%}
.anim .ac-orga-cta{animation:ac-entre linear both; animation-timeline:view(); animation-range:entry 30% cover 40%}
.anim .ac-portable{animation:ac-redresse linear both; animation-timeline:view(); animation-range:entry 0% cover 45%}
.anim .ac-jauge i{animation:ac-jauge linear both; animation-timeline:view(); animation-range:entry 60% cover 55%}
.anim .ac-vendues{counter-reset:v var(--v); animation:ac-compte linear both; animation-timeline:view(); animation-range:entry 60% cover 55%}
.anim .ac-vendues::before{content:counter(v)}
.anim .ac-v-fixe{display:none}

.anim .ac-gl{animation:ac-lettre linear both; animation-timeline:view()}
.anim .ac-gl1{animation-range:entry 0% entry 55%} .anim .ac-gl2{animation-range:entry 5% entry 60%} .anim .ac-gl3{animation-range:entry 10% entry 65%}
.anim .ac-gl4{animation-range:entry 15% entry 70%} .anim .ac-gl5{animation-range:entry 20% entry 75%} .anim .ac-gl6{animation-range:entry 25% entry 80%}
.anim .ac-gl7{animation-range:entry 30% entry 85%} .anim .ac-gl8{animation-range:entry 35% entry 90%} .anim .ac-gl9{animation-range:entry 40% entry 95%}
.anim .ac-geant img{animation:ac-masc-fin linear both; animation-timeline:view(); animation-range:entry 40% entry 100%}

@media (max-width:900px){
  .anim .ac-haut{height:145vh}
  .anim .ac-haut-scene{padding-top:16px; padding-bottom:12px}
  .anim .ac-simple{height:260vh}
  .anim .ac-simple-scene{padding-top:12px; padding-bottom:10px; align-items:flex-start}
  .anim .ac-simple-in{gap:10px}
  .anim .ac-simple-txt{display:contents}
  .anim .ac-simple-h{order:0; font-size:22px; text-align:center; text-shadow:3px 3px 0 var(--lb-rouge)}
  .anim .ac-simple-vis{order:1; padding:6px 0}
  .anim .ac-etapes{order:2; margin-top:4px}
  .anim .ac-jauges{order:3; margin:12px auto 0}
  .anim .ac-num{width:40px; height:40px; font-size:15px}
  .anim .ac-etape{grid-template-columns:40px minmax(0,1fr); column-gap:12px}
  .anim .ac-etape h3{font-size:18px}
  .anim .ac-tel{width:176px; height:352px; border-radius:30px}
  .anim .ac-ecr{padding:38px 12px 14px; gap:8px}
  .anim .ac-e-aff{height:104px}
  .anim .ac-e-titre{font-size:14px}
  .anim .ac-ligne-t, .anim .ac-opt{padding:8px 9px; font-size:13px}
  .anim .ac-e-btn{padding:11px 6px; font-size:12px}
  .anim .ac-e-payer{margin-top:4px; font-size:12px}
  .anim .ac-qr{width:110px; height:110px}
  .anim .ac-ok{font-size:18px}
  .anim .ac-e2-fond{height:100px}
  .anim .ac-e2-av{width:54px; height:54px; margin-top:-27px; font-size:18px}
  .anim .ac-e2-nom{font-size:15px}
  .anim .ac-abo{font-size:12px}
  .anim .ac-abo span{padding:7px 12px}
  .anim .ac-e2-pro{margin-top:4px; padding-top:8px}
  .anim .ac-e2-pro .ac-mini{width:38px; height:48px}
  .anim .ac-plaque{left:20%; right:20%; top:0; bottom:0}
  .anim .ac-notif{top:34px; left:6px; right:6px; padding:7px 8px; gap:7px}
  .anim .ac-notif strong, .anim .ac-notif span{font-size:11px}
  .anim .ac-notif img{width:24px; height:24px}
  .anim .ac-cap{font-size:12px}
  .anim .ac-defilez{left:18px; bottom:14px}
}
/* Téléphone peu haut (moins de 700 px) : le récit se resserre. */
@media (max-width:900px) and (max-height:700px){
  .anim .ac-tel{width:150px; height:300px}
  .anim .ac-e-aff{height:80px}
  .anim .ac-simple-h{font-size:19px}
}
.ac-lp-info{flex:1; min-width:0}

/* ---------- Retouches du 25 novembre 2026 (carte blanche du client) ----------
   1. « mettre le feu » en étiquette de papier, penchée : le seul mot
      collé du haut de page. Bleu sur papier : 10,60.
   2. Les billets de « Ce soir » ont les deux encoches d'un vrai billet,
      de part et d'autre du pointillé. Sur téléphone, ils sont resserrés
      pour que le titre et le prix tiennent sans être coupés.
   3. Sur téléphone, la mascotte de l'espace organisateur ne passe plus
      sur « Ce que ça coûte ». */
.ac-feu{
  display:inline-block; padding:1px 9px 2px; margin-inline:2px; rotate:-2deg;
  background:var(--lb-papier); color:var(--lb-bleu); font-weight:800; white-space:nowrap;
  border:2px solid var(--lb-bleu); border-radius:var(--lb-radius, 6px);
  box-shadow:0 3px 0 var(--lb-rouge);
}
/* Les encoches : deux demi-cercles qui entament vraiment le bord du billet,
   centrés sur le pointillé (son axe est à 1 px du talon) et sur le milieu
   du bord de 3 px. Le billet ne coupe donc plus ce qui dépasse. */
.ac-soir .ticket-soir{overflow:visible}
.ac-soir .ticket-talon{position:relative}
.ac-soir .ticket-talon::before, .ac-soir .ticket-talon::after{
  content:""; position:absolute; right:-11px; width:20px; pointer-events:none;
}
.ac-soir .ticket-talon::before{
  top:-3px; height:11.5px;
  background:radial-gradient(circle at 10px 1.5px, var(--lb-jaune) 0 7px, var(--lb-bleu) 7.5px 10px, transparent 10.5px);
}
/* En bas, l'encoche traverse aussi l'ombre rouge du billet (5 px). */
.ac-soir .ticket-talon::after{
  bottom:-8px; height:16.5px;
  background:
    radial-gradient(circle at 10px 10px, var(--lb-jaune) 0 7px, var(--lb-bleu) 7.5px 10px, transparent 10.5px),
    radial-gradient(circle at 10px 15px, var(--lb-jaune) 0 9.5px, transparent 10px);
  background-size:20px 11.5px, 20px 16.5px; background-repeat:no-repeat;
}
.ac-soir .ticket-soir:active .ticket-talon::after{height:11.5px; bottom:-3px}
@media (max-width:900px){
  .ac-soir .ac-tw{flex-basis:90%}
  .ac-soir .ac-tw--tout{flex-basis:56%}
  .ac-soir .ticket-talon{flex-basis:78px; padding-inline:4px}
  .ac-soir .ticket-heure{font-size:22px}
  .ac-soir .ticket-corps{gap:10px; padding:12px 10px}
  .ac-soir .ticket-affiche{flex-basis:56px; width:56px; height:70px}
  .ac-soir .ticket-titre{font-size:15px; -webkit-line-clamp:3}
  .ac-soir .ticket-prix{white-space:nowrap}
  .ac-portable-zone{margin-top:132px}
}

/* ---------- Suite de la carte blanche (25 novembre 2026) ----------
   4. Des rayons derrière le titre, comme sur une affiche : des aplats
      d'un jaune éclairci (le bleu y passe mieux que sur le jaune, 7,08
      au moins). Immobiles : une couche de cette taille qui tourne
      coûtait trop cher à l'affichage. Décor muet, sous tout le reste.
   5. « La fête continue dans l'app » : ce que l'app apporte en plus du
      site, et un bouton qui ouvre l'invitation commune (DK.inviterApp). */
.ac-haut-scene::before{
  content:""; position:absolute; z-index:0; left:50%; top:36%;
  width:max(190vw, 190vh); aspect-ratio:1; translate:-50% -50%; border-radius:50%;
  background:repeating-conic-gradient(color-mix(in oklab, var(--lb-jaune) 68%, var(--lb-papier)) 0 7.5deg, transparent 7.5deg 15deg);
  pointer-events:none;
}
.ac-app{background:var(--lb-jaune); color:var(--lb-bleu); padding:110px 0 120px; border-top:3px solid var(--lb-bleu); overflow:clip}
.ac-app-in{display:flex; flex-direction:column; align-items:center; text-align:center; gap:20px}
.ac-app-h{margin:0; font-size:clamp(34px,5vw,68px); text-shadow:5px 5px 0 var(--lb-rouge); max-width:900px}
.ac-app-cartes{list-style:none; margin:26px 0 14px; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; width:100%; max-width:1000px}
.ac-app-carte{
  background:var(--lb-papier); border:3px solid var(--lb-bleu); border-radius:12px;
  box-shadow:0 6px 0 var(--lb-bleu); padding:26px 20px 24px; text-align:left;
  display:flex; flex-direction:column; gap:10px;
}
.ac-app-carte:nth-child(1){rotate:-2deg}
.ac-app-carte:nth-child(2){rotate:1.5deg; translate:0 14px}
.ac-app-carte:nth-child(3){rotate:-1deg}
.ac-app-ico{width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:var(--lb-bleu); color:var(--lb-jaune)}
.ac-app-carte h3{margin:4px 0 0; font-family:var(--titre); font-weight:400; text-transform:uppercase; font-size:19px; line-height:1.1}
.ac-app-carte p{margin:0; font-size:16px; line-height:1.45}
@media (max-width:900px){
  .ac-app{padding:72px 0 84px}
  .ac-app-h{text-shadow:3px 3px 0 var(--lb-rouge)}
  .ac-app-cartes{grid-template-columns:minmax(0,1fr); gap:20px; max-width:420px}
  .ac-app-carte:nth-child(2){translate:0 0}
  .ac-app-in .btn{width:100%; max-width:420px}
}
.anim .ac-app-carte{animation:ac-entre linear both; animation-timeline:view(); animation-range:entry 10% cover 28%}

/* ---------- Le téléphone du récit, refait (25 novembre 2026) ----------
   Demande du client : un téléphone réaliste, et dedans ce que la
   plateforme montre vraiment. Le boîtier : cadre d'aluminium, boutons
   sur les tranches, îlot, barre d'état, indicateur d'accueil, sans image
   ni marque. Les écrans : la page d'une fête (fond bleu teinté par la
   couleur de l'organisateur, carte « Billets »), le panneau « Acheter »
   (nom, tarifs, Wave), puis le billet sans QR, avec sa référence.
   Tout reste muet (aria-hidden) ; LB-ABCDE n'est la référence de rien. */
.ac-tel{--tel-alu:#CDD1DA; --tel-alu-ombre:#8D93A3; --tel-noir:#05071C;
  border:0; background:var(--tel-noir); border-radius:46px; overflow:visible;
  box-shadow:0 0 0 3px var(--tel-alu), 0 0 0 4.5px var(--tel-alu-ombre), 0 12px 0 4px var(--lb-bleu)}
.ac-tel::before{top:2.9%; width:30%; height:3.9%; margin-left:-15%; background:#000; border-radius:999px}
.ac-tel::after{content:""; position:absolute; z-index:9; left:32%; right:32%; bottom:2.3%; height:4px; border-radius:3px;
  background:#fff; mix-blend-mode:difference; pointer-events:none}
.ac-tel-g, .ac-tel-d{position:absolute; width:3.5px; background:var(--tel-alu); box-shadow:0 0 0 1px var(--tel-alu-ombre)}
.ac-tel-g{left:-7.5px; top:17%; height:5%; border-radius:2px 0 0 2px}
.ac-tel-g::before, .ac-tel-g::after{content:""; position:absolute; left:0; width:100%; height:190%; background:inherit; box-shadow:inherit; border-radius:inherit}
.ac-tel-g::before{top:190%} .ac-tel-g::after{top:420%}
.ac-tel-d{right:-7.5px; top:30%; height:15%; border-radius:0 2px 2px 0}
.ac-tel-etat{position:absolute; z-index:9; top:3.2%; left:10.5%; right:9.5%; display:flex; align-items:center; justify-content:space-between;
  font-family:var(--corps); font-weight:800; font-size:11px; line-height:1; color:#fff; mix-blend-mode:difference; pointer-events:none}
.ac-tel-etat svg{display:block; height:10px; width:auto}
.ac-ecr{inset:5px; border-radius:41px; overflow:clip; background:var(--lb-papier); padding:50px 15px 26px; gap:10px}
.ac-e2, .ac-e3{padding:0}
.ac-e3{background:var(--lb-bleu)}

/* La page d'une fête. */
.ac-e1a{color:var(--lb-papier);
  background:linear-gradient(color-mix(in oklab, color-mix(in oklab, var(--teinte-fete, var(--lb-bleu)) 80%, var(--lb-bleu)) 55%, #000), var(--lb-bleu) 62%)}
.ac-e1a .ac-e-aff{height:176px; border:2px solid var(--lb-papier); border-radius:10px}
.ac-e1a .ac-e-titre{font-size:16px; text-shadow:2px 2px 0 var(--lb-rouge)}
.ac-e1a .ac-e-info{color:var(--ac-clair)}
.ac-e-carte{margin-top:auto; display:flex; flex-direction:column; gap:8px; padding:10px 10px 12px;
  background:var(--lb-papier); color:var(--lb-bleu); border-radius:10px; box-shadow:0 4px 0 var(--lb-rouge)}
.ac-e-carte-tete, .ac-e-total{display:flex; align-items:baseline; justify-content:space-between; gap:8px; font-size:10.5px; font-weight:800}
.ac-e-carte-tete > span:first-child, .ac-e-total > span:last-child{font-family:var(--titre); font-weight:400; font-size:13px; text-transform:uppercase}
.ac-e-total{border-top:1.5px solid var(--ac-filet); padding-top:7px}
.ac-e-carte .ac-ligne-t{border:0; border-radius:0; padding:0; background:none}
.ac-t-nom{display:flex; flex-direction:column; gap:1px; min-width:0}
.ac-t-nom strong{font-size:12.5px; overflow:clip; text-overflow:ellipsis; white-space:nowrap}
.ac-t-nom small{font-size:10.5px; font-weight:700}
.ac-tel .ac-cpt{gap:8px; font-size:13px}
.ac-tel .ac-cpt i{border-radius:6px; background:var(--lb-papier)}
.ac-tel .ac-cpt i:last-child{background:var(--lb-jaune)}
.ac-e-carte .ac-e-btn{margin-top:0; padding:10px 6px; font-size:12.5px; text-transform:uppercase; border-radius:8px}

/* Le panneau « Acheter ». */
.ac-p-tete{display:flex; align-items:center; gap:10px; border-bottom:2.5px solid var(--lb-bleu); padding-bottom:9px; margin-inline:-15px; padding-inline:15px}
.ac-p-x{flex:none; width:26px; height:26px; display:grid; place-items:center; border:2px solid var(--lb-bleu); border-radius:6px;
  box-shadow:0 2px 0 var(--lb-rouge); font-weight:800; font-size:15px; line-height:1}
.ac-p-titres{display:flex; flex-direction:column; gap:2px; min-width:0}
.ac-p-titres .ac-e-info{font-size:9px}
.ac-p-lbl{font-family:var(--titre); font-size:10.5px; text-transform:uppercase; margin-top:2px}
.ac-p-champ{border-bottom:3px solid var(--lb-bleu); padding:2px 2px 7px; font-size:14px; font-weight:600}
.ac-p-champ::after{content:""; display:inline-block; width:1.5px; height:15px; margin-left:2px; vertical-align:-2px; background:var(--lb-bleu)}
.ac-p-tarif{display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 9px;
  border:2.5px solid var(--lb-bleu); border-radius:8px; background:#fff}
.ac-p-tarif strong{font-family:var(--titre); font-weight:400; text-transform:uppercase; font-size:11.5px}
.ac-p-tarif small{font-family:var(--info)}
.ac-e1b .ac-opt{padding:10px 11px; border-radius:8px; font-size:14px}
.ac-e1b .ac-e-btn{text-transform:uppercase; border-radius:8px; padding:13px 6px; font-size:13px}

/* Le billet, sans QR : une carte, sa référence en grand. */
.ac-e1c{background:var(--lb-bleu); justify-content:flex-start; align-items:stretch; text-align:left; gap:14px; padding-top:64px}
.ac-e1c .ac-ok{color:var(--lb-papier); text-shadow:2px 2px 0 var(--lb-rouge); font-size:20px; text-align:center}
.ac-b{position:relative; display:flex; flex-direction:column; gap:8px; padding:14px 14px 16px; background:var(--lb-papier);
  border:2.5px solid var(--lb-jaune); border-radius:12px; box-shadow:0 5px 0 var(--lb-rouge)}
.ac-b-statut{align-self:flex-start; padding:3px 9px; border-radius:999px; background:var(--lb-bleu); color:var(--lb-papier);
  font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.04em}
.ac-b .ac-e-titre{font-size:16px}
.ac-b-ligne{display:flex; justify-content:space-between; gap:8px; font-size:12.5px; font-weight:800;
  border-top:2px dashed var(--lb-bleu); padding-top:10px; margin-top:4px}
.ac-b-ref{display:flex; flex-direction:column; gap:3px; padding:10px; border-radius:8px; background:var(--lb-jaune); text-align:center}
.ac-b-ref strong{font-family:var(--info); font-size:21px; letter-spacing:.06em; line-height:1.1}
.ac-b-orga{white-space:normal}

@media (max-width:900px){
  .ac-tel{border-radius:40px}
  .ac-ecr{border-radius:35px; padding-top:44px}
  .ac-e1a .ac-e-aff{height:128px}
  .ac-e1c{padding-top:54px}
  /* Épinglé sur téléphone, il est petit : on garde l'essentiel. */
  .anim .ac-tel{border-radius:30px; box-shadow:0 0 0 2.5px var(--tel-alu), 0 0 0 3.5px var(--tel-alu-ombre), 0 8px 0 3px var(--lb-bleu)}
  .anim .ac-ecr{inset:4px; border-radius:26px; padding:30px 9px 16px; gap:6px}
  .anim .ac-e2, .anim .ac-e3{padding:0}
  .anim .ac-tel-etat{font-size:8px} .anim .ac-tel-etat svg{height:7px}
  .anim .ac-tel::after{height:3px}
  .anim .ac-e1a .ac-e-aff{height:92px; border-radius:7px}
  .anim .ac-e1a .ac-e-titre{font-size:12px}
  .anim .ac-e1a .ac-e-info, .anim .ac-e-carte-tete, .anim .ac-p-opt, .anim .ac-b-orga{display:none}
  .anim .ac-e-carte{padding:7px 7px 9px; gap:6px; border-radius:8px}
  .anim .ac-t-nom strong{font-size:10.5px} .anim .ac-t-nom small{font-size:9px}
  .anim .ac-tel .ac-cpt{gap:5px; font-size:11px} .anim .ac-tel .ac-cpt i{width:19px; height:19px; font-size:12px}
  .anim .ac-e-total{font-size:9px; padding-top:5px} .anim .ac-e-total > span:last-child{font-size:10.5px}
  .anim .ac-e-carte .ac-e-btn, .anim .ac-e1b .ac-e-btn{padding:8px 4px; font-size:10.5px}
  .anim .ac-p-tete{margin-inline:-9px; padding-inline:9px; padding-bottom:6px; gap:7px}
  .anim .ac-p-x{width:20px; height:20px; font-size:12px}
  .anim .ac-p-lbl{font-size:9px} .anim .ac-p-champ{font-size:12px; padding-bottom:5px}
  .anim .ac-e1b .ac-opt{padding:7px 8px; font-size:12px}
  .anim .ac-e1c{padding-top:40px; gap:9px} .anim .ac-e1c .ac-ok{font-size:14px}
  .anim .ac-b{padding:9px 9px 10px; gap:6px; border-radius:9px}
  .anim .ac-b .ac-e-titre{font-size:12px} .anim .ac-b-statut{font-size:8.5px; padding:2px 7px}
  .anim .ac-b-ligne{font-size:10px; padding-top:7px; margin-top:2px}
  .anim .ac-b-ref{padding:7px} .anim .ac-b-ref strong{font-size:15px}
}

/* Sans aucune fête annoncée (un site tout juste ouvert), le téléphone
   garde ses textes d'exemple (« Votre fête ») : ses cadres d'image
   montrent alors la tête de la mascotte, au lieu d'un bleu vide. Dès
   qu'une fête existe, la page y pose son affiche ou sa couleur. */
.ac-e-aff:empty, .ac-e2-fond:empty, .ac-e2-pro .ac-mini:empty{
  background:var(--lb-bleu) url(brand/logo/tete-mascotte-fond-sombre.svg) center / auto 62% no-repeat;
}
