/* ============================================================================
   myCerfa — GABARIT PARCOURS · compléments du lot « parcours » (phase 2)
   ----------------------------------------------------------------------------
   Chargé après gabarits.css sur toutes les pages à gabarit. Chaque classe est
   préfixée par la page qui l'utilise, donc sans effet ailleurs :
     .recur-*   fonctionnalites/dons-recurrents.php
     .rappro-*  fonctionnalites/rapprochement-bancaire.php
     .billet-*  fonctionnalites/billetterie-en-ligne.php
     .places-*  fonctionnalites/billetterie-places-numerotees.php
   Mêmes principes que le socle :
   - rien n'est masqué sans JS : les états « en attente » sont posés sous
     html.g-js:not(.g-fallback) et sur un bloc qui n'a pas encore .is-in
     (classe posée par [data-g-inview] / [data-g-reveal] / [data-g-stagger]) ;
   - animations en transform / opacity (propriétés translate, scale, rotate) ;
   - prefers-reduced-motion : le socle ramène toutes les durées à ~0, les
     animations s'arrêtent donc sur leur dernière image (= état final lisible).
   ============================================================================ */


/* ============================================================================
   DONS RÉCURRENTS
   ============================================================================ */

/* ---------- Frise de l'échéancier (hero) ---------- */
.recur-track {
  max-width: 1060px; margin: 52px auto 0; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 24px 30px 30px;
}
.recur-track-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.recur-track-n { font-family: var(--display); font-weight: 800; font-size: 17px; }
.recur-track-m { font-size: 13px; color: var(--ink-soft); }
.recur-months {
  list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); position: relative;
}
/* ::before = rail en pointillé (l'échéancier continue au-delà), ::after = réglé */
.recur-months::before, .recur-months::after {
  content: ""; position: absolute; top: 17px; left: calc(100% / 12); height: 3px; border-radius: 3px;
}
.recur-months::before {
  right: 0; background: repeating-linear-gradient(90deg, #c5cede 0 7px, transparent 7px 13px);
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent);
          mask-image: linear-gradient(90deg, #000 80%, transparent);
}
.recur-months::after {
  width: 50%; background: linear-gradient(90deg, var(--sky), var(--apricot));
  transform-origin: 0 50%;
}
.recur-m { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.recur-m-dot {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  margin-bottom: 12px; font-size: 15px; font-weight: 800; color: var(--white);
  background: var(--white); border: 2px dashed #c5cede;
}
.recur-m.is-paid .recur-m-dot { background: var(--sky); border: 0; box-shadow: 0 6px 16px rgba(0,179,133,.3); }
.recur-m.is-next .recur-m-dot { background: var(--apricot); border: 0; box-shadow: 0 6px 16px rgba(255,210,63,.45); }
.recur-m.is-next .recur-m-dot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--apricot); opacity: 0;
}
.recur-m-date { font-size: 13.5px; font-weight: 700; }
.recur-m-amt { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.2; }
.recur-m-state { font-size: 12px; color: var(--ink-soft); line-height: 1.4; margin-top: 4px; }
.recur-m.is-next .recur-m-state { color: #8a6d12; font-weight: 600; }
.recur-m.is-todo .recur-m-date, .recur-m.is-todo .recur-m-amt { color: var(--ink-soft); }

html.g-js:not(.g-fallback) .recur-track:not(.is-in) .recur-m { opacity: 0; translate: 0 14px; }
html.g-js:not(.g-fallback) .recur-track:not(.is-in) .recur-months::after { transform: scaleX(0); }
.recur-m { transition: opacity .5s var(--g-ease), translate .6s var(--g-ease-out); transition-delay: calc(.2s + var(--g-i, 0) * .26s); }
.recur-months::after { transition: transform 1.3s var(--g-ease); transition-delay: .35s; }
.recur-track.is-in .recur-m.is-paid .recur-m-dot { animation: recur-pop .55s var(--g-ease-out) both; animation-delay: calc(.35s + var(--g-i, 0) * .26s); }
.recur-track.is-in .recur-m.is-next .recur-m-dot::after { animation: recur-ring 1.8s ease-out 2s 4; }
@keyframes recur-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes recur-ring { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.45); } }

/* ---------- Encadré « don mensuel ou en plusieurs fois » (interrupteur) ---------- */
.recur-which {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 28px 28px 30px;
}
.recur-which-q { font-family: var(--display); font-size: 19px; text-align: center; margin-bottom: 18px; line-height: 1.25; }
.recur-which .g-tabs--switch .g-tablist { margin-bottom: 26px; }
.recur-which .g-tabpanel > p { font-size: 15.5px; color: var(--ink-soft); text-align: center; max-width: 420px; margin: 0 auto; }
.recur-which .g-tabpanel + .g-tabpanel { margin-top: 30px; }

.recur-endless {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 96%);
          mask-image: linear-gradient(90deg, #000 55%, transparent 96%);
}
.recur-endless span {
  width: 28px; height: 28px; border-radius: 9px; background: var(--pine-soft); border: 1.5px solid #c9d3f5; flex-shrink: 0;
}
.recur-endless span:nth-child(-n+3) { background: var(--pine); border-color: var(--pine); }
.recur-endless i { font-style: normal; font-weight: 800; color: var(--pine); font-size: 20px; }
.recur-endless > :nth-child(2) { --k: 1; } .recur-endless > :nth-child(3) { --k: 2; }
.recur-endless > :nth-child(4) { --k: 3; } .recur-endless > :nth-child(5) { --k: 4; }
.recur-endless > :nth-child(6) { --k: 5; } .recur-endless > :nth-child(7) { --k: 6; }
.recur-endless > :nth-child(8) { --k: 7; } .recur-endless > :nth-child(9) { --k: 8; }
.recur-which.is-in .g-tabpanel:not([hidden]) .recur-endless > * {
  animation: recur-tick .5s var(--g-ease-out) both; animation-delay: calc(.1s + var(--k, 0) * .11s);
}
@keyframes recur-tick { from { opacity: 0; transform: translateX(-12px) scale(.7); } to { opacity: 1; transform: none; } }

.recur-plans { display: grid; gap: 9px; max-width: 380px; margin: 0 auto 22px; }
.recur-plan { display: grid; grid-template-columns: 26px 1fr 22px; align-items: center; gap: 10px; }
.recur-plan b { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--pine); text-align: right; }
.recur-plan-bar {
  height: 12px; border-radius: 6px; transform-origin: 0 50%;
  background: repeating-linear-gradient(90deg, var(--pine) 0 calc(100% / var(--n) - 3px), transparent calc(100% / var(--n) - 3px) calc(100% / var(--n)));
}
.recur-plan-end {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--g-sky-soft); color: var(--g-green-ink); font-size: 12px; font-weight: 800;
}
.recur-plan:nth-child(2) { --k: 1; } .recur-plan:nth-child(3) { --k: 2; }
.recur-plan:nth-child(4) { --k: 3; } .recur-plan:nth-child(5) { --k: 4; }
.recur-which.is-in .g-tabpanel:not([hidden]) .recur-plan-bar {
  animation: recur-fill .7s var(--g-ease) both; animation-delay: calc(.1s + var(--k, 0) * .14s);
}
.recur-which.is-in .g-tabpanel:not([hidden]) .recur-plan-end {
  animation: recur-pop .45s var(--g-ease-out) both; animation-delay: calc(.7s + var(--k, 0) * .14s);
}
@keyframes recur-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Les cinq gestes ---------- */
.recur-gestes {
  list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  max-width: 1080px; margin: 0 auto;
}
.recur-geste {
  grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .35s var(--g-ease-out), box-shadow .35s, border-color .35s;
}
.recur-geste:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3daea; }
.recur-geste--key { grid-column: span 4; background: var(--ink); border-color: var(--ink); color: var(--white); }
.recur-geste--key::before {
  content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,64,215,.5), transparent 70%); pointer-events: none;
}
.recur-geste > * { position: relative; }
.recur-geste-n {
  display: block; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--pine); margin-bottom: 16px;
}
.recur-geste--key .recur-geste-n { -webkit-text-stroke-color: var(--apricot); }
.recur-geste h3 { font-size: 20px; margin-bottom: 8px; }
.recur-geste p { font-size: 15px; color: var(--ink-soft); }
.recur-geste--key p { color: #a6b3cd; max-width: 560px; }
.recur-geste .ch-tag {
  display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700;
  color: var(--ink); background: var(--apricot); padding: 3px 10px; border-radius: 100px;
}
.recur-flip {
  margin-top: 20px; display: flex; align-items: center; gap: 14px; max-width: 420px;
  background: #101d3a; border: 1px solid #1f3157; border-radius: var(--r-md); padding: 12px 16px; font-size: 13.5px;
}
.recur-flip-d { font-weight: 700; }
.recur-flip b { margin-left: auto; font-family: var(--display); font-weight: 800; }
.recur-flip-s { display: inline-grid; }
.recur-flip-s > span { grid-area: 1 / 1; padding: 3px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.recur-flip-a { background: var(--apricot-soft); color: #8a6d12; opacity: 0; }
.recur-flip-b { background: var(--g-sky-soft); color: var(--g-green-ink); }
html.g-js:not(.g-fallback) .recur-gestes:not(.is-in) .recur-flip-a { opacity: 1; }
html.g-js:not(.g-fallback) .recur-gestes:not(.is-in) .recur-flip-b { opacity: 0; }
.recur-gestes.is-in .recur-flip-a { animation: recur-out .35s var(--g-ease) 1.9s both; }
.recur-gestes.is-in .recur-flip-b { animation: recur-in .5s var(--g-ease-out) 2.05s both; }
@keyframes recur-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-8px); } }
@keyframes recur-in { 0% { opacity: 0; transform: translateY(8px) scale(.8); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }

/* ---------- Comparatif : lignes et coches en cascade ---------- */
.recur-cmp { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.recur-cmp .yes, .recur-cmp .no { display: inline-block; }
.recur-cmp tbody tr { transition: opacity .5s var(--g-ease), translate .6s var(--g-ease-out); }
.recur-cmp tbody tr:nth-child(1) { --k: 0; } .recur-cmp tbody tr:nth-child(2) { --k: 1; }
.recur-cmp tbody tr:nth-child(3) { --k: 2; } .recur-cmp tbody tr:nth-child(4) { --k: 3; }
.recur-cmp tbody tr:nth-child(5) { --k: 4; }
.recur-cmp tbody tr { transition-delay: calc(.15s + var(--k, 0) * .15s); }
html.g-js:not(.g-fallback) .recur-cmp:not(.is-in) tbody tr { opacity: 0; translate: 0 12px; }
.recur-cmp.is-in .yes { animation: recur-pop .5s var(--g-ease-out) both; animation-delay: calc(.45s + var(--k, 0) * .15s); }

/* ---------- Origines : quatre sources, une vue ---------- */
.recur-sources { position: relative; padding-right: 88px; }
.recur-sources .segment-item { position: relative; }
.recur-sources .segment-item::after {     /* branchement vers le collecteur */
  content: ""; position: absolute; right: -32px; top: 50%; width: 32px; height: 2px; background: var(--pine);
  transform-origin: 0 50%;
}
.recur-sources::before {                   /* collecteur vertical */
  content: ""; position: absolute; right: 56px; top: 36px; bottom: 36px; width: 2px; background: var(--pine);
  transform-origin: 50% 0;
}
.recur-sink {
  position: absolute; right: 0; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; background: var(--pine); color: var(--white); font-size: 22px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(37,64,215,.3);
}
.recur-sink::before { content: ""; position: absolute; right: 100%; top: 50%; width: 8px; height: 2px; background: var(--pine); }
.recur-sources .segment-item { transition: opacity .5s var(--g-ease), translate .6s var(--g-ease-out); }
.recur-sources .segment-item::after { transition: transform .4s var(--g-ease); }
.recur-sources .segment-item:nth-child(2) { --k: 1; } .recur-sources .segment-item:nth-child(3) { --k: 2; }
.recur-sources .segment-item:nth-child(4) { --k: 3; }
.recur-sources .segment-item { transition-delay: calc(var(--k, 0) * .14s); }
.recur-sources .segment-item::after { transition-delay: calc(.5s + var(--k, 0) * .14s); }
.recur-sources::before { transition: transform .5s var(--g-ease) 1.05s; }
.recur-sink { transition: opacity .4s 1.4s, scale .5s var(--g-ease-out) 1.4s; }
html.g-js:not(.g-fallback) .recur-sources:not(.is-in) .segment-item { opacity: 0; translate: -24px 0; }
html.g-js:not(.g-fallback) .recur-sources:not(.is-in) .segment-item::after { transform: scaleX(0); }
html.g-js:not(.g-fallback) .recur-sources:not(.is-in)::before { transform: scaleY(0); }
html.g-js:not(.g-fallback) .recur-sources:not(.is-in) .recur-sink { opacity: 0; scale: .5; }


/* ============================================================================
   RAPPROCHEMENT BANCAIRE
   ============================================================================ */

/* ---------- Hero en deux colonnes ---------- */
.rappro-hero { text-align: left; padding-bottom: 84px; }
.rappro-hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
}
.rappro-hero h1 { margin: 14px 0 18px; max-width: none; }
.rappro-hero .g-phero-lead { margin: 0 0 26px; max-width: 540px; }
.rappro-hero .hero-cta { justify-content: flex-start; }
.rappro-hero .hero-trust { margin-top: 24px; }

/* Relevé lu par un faisceau */
.rappro-scan { position: relative; padding-top: 32px; }
.rappro-scan > .g-example { position: absolute; top: 0; left: 0; }
.rappro-scan .recon-table { box-shadow: var(--shadow-lg); }
.rappro-rows { position: relative; overflow: hidden; }
.rappro-beam {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(37,64,215,.08) 92%, rgba(37,64,215,.22));
  border-bottom: 2px solid var(--pine);
}
.rappro-scan.is-in .rappro-beam { animation: rappro-beam 2.7s cubic-bezier(.45,.05,.55,.95) .45s both; }
@keyframes rappro-beam {
  0% { opacity: 1; transform: translateY(-100%); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}
.rappro-scan .score, .rappro-who { display: inline-block; }
.rappro-scan .score { white-space: nowrap; flex-shrink: 0; }
html.g-js:not(.g-fallback) .rappro-scan:not(.is-in) .score,
html.g-js:not(.g-fallback) .rappro-scan:not(.is-in) .rappro-who { opacity: 0; }
.rappro-scan.is-in .score { animation: rappro-stamp .5s var(--g-ease-out) both; animation-delay: calc(.95s + var(--g-i, 0) * .6s); }
.rappro-scan.is-in .rappro-who { animation: rappro-who .5s var(--g-ease) both; animation-delay: calc(1.15s + var(--g-i, 0) * .6s); }
@keyframes rappro-stamp { 0% { opacity: 0; transform: scale(1.7); } 60% { opacity: 1; transform: scale(.92); } 100% { opacity: 1; transform: none; } }
@keyframes rappro-who { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.recon-row .rr-amt.rappro-amt-off { color: var(--ink-soft); }

/* ---------- Parcours en 4 étapes ---------- */
.rappro-path .g-path-desc { max-width: 250px; margin: 0 auto; }

/* ---------- Formats : fiches de fichiers qui tombent ---------- */
.rappro-files { gap: 16px; }
.rappro-files .chip {
  width: 172px; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 16px;
  position: relative; overflow: hidden; text-align: left;
}
.rappro-files .chip::before {               /* coin corné */
  content: ""; position: absolute; top: 0; right: 0; width: 24px; height: 24px; z-index: 1;
  background: linear-gradient(225deg, var(--paper-2) 50%, #c9d3f5 50%);
  border-bottom-left-radius: 6px;
}
.rappro-files .chip .chip-key {
  display: block; border-radius: 0; padding: 24px 16px 14px; font-size: 22px; letter-spacing: .04em;
}
.rappro-files .chip .chip-lab { padding: 12px 16px 0; font-size: 13px; }
.rappro-files .chip .chip-lab b { display: block; }
.rappro-files .chip:nth-child(2) .chip-key { background: var(--apricot-soft); color: #8a6d12; }
.rappro-files .chip:nth-child(3) .chip-key { background: #e4eef2; color: #00714f; }
.rappro-files .chip:nth-child(4) .chip-key { background: var(--ink); color: var(--white); }
.rappro-files .chip:nth-child(5) .chip-key { background: #e3f7f0; color: #00714f; }
html.g-js .rappro-files > * {
  rotate: -5deg;
  transition: opacity .7s var(--g-ease), translate .8s var(--g-ease-out), rotate .8s var(--g-ease-out), transform .3s var(--g-ease-out), box-shadow .3s;
  transition-delay: calc(var(--g-i, 0) * 110ms), calc(var(--g-i, 0) * 110ms), calc(var(--g-i, 0) * 110ms), 0s, 0s;
}
html.g-js .rappro-files > :nth-child(even) { rotate: 5deg; }
html.g-js .rappro-files > * { translate: 0 -36px; }
html.g-js .rappro-files.is-in > *, html.g-js.g-fallback .rappro-files > * { rotate: none; translate: none; }
.rappro-files .chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.rappro-enc { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 700px; margin: 30px auto 0; }
.rappro-enc p { font-size: 14px; color: var(--ink-soft); }
.rappro-enc-fix { display: inline-grid; flex-shrink: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: 15px; }
.rappro-enc-fix > * { grid-area: 1 / 1; padding: 4px 11px; border-radius: 8px; text-align: center; text-decoration: none; }
.rappro-enc-fix s { background: #fff1f0; color: #b3261e; opacity: 0; }
.rappro-enc-fix span { background: var(--g-sky-soft); color: var(--g-green-ink); }
html.g-js:not(.g-fallback) .rappro-enc:not(.is-in) .rappro-enc-fix s { opacity: 1; }
html.g-js:not(.g-fallback) .rappro-enc:not(.is-in) .rappro-enc-fix span { opacity: 0; }
.rappro-enc.is-in .rappro-enc-fix s { animation: rappro-glitch .9s var(--g-ease) .4s both; }
.rappro-enc.is-in .rappro-enc-fix span { animation: recur-in .5s var(--g-ease-out) 1.25s both; }
@keyframes rappro-glitch {
  0% { opacity: 1; transform: none; } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); }
  60% { opacity: 1; transform: translateX(-2px); } 100% { opacity: 0; transform: scale(.7); }
}

/* ---------- Barème de score ---------- */
.rappro-scale { display: grid; gap: 24px; }
.rappro-gauge {
  position: relative; padding: 38px 0 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding-left: 22px; padding-right: 22px;
}
.rappro-gauge-bar {
  display: flex; height: 14px; border-radius: 100px; overflow: hidden; background: var(--paper-2);
  position: relative;
}
.rappro-z { height: 100%; transform-origin: 0 50%; }
.rappro-z--low  { flex: 50; background: #cfd6e4; }
.rappro-z--mid  { flex: 40; background: var(--apricot); }
.rappro-z--high { flex: 10; background: var(--sky); }
/* Ticks et repères placés sur la largeur utile de la barre (entre les marges de 22 px) */
.rappro-tick, .rappro-pin { position: absolute; left: calc(22px + (100% - 44px) * var(--p) / 100); }
.rappro-tick {
  bottom: 6px; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--ink-soft);
}
.rappro-pin {
  top: 8px; transform: translateX(-50%); font-family: var(--display); font-weight: 800; font-size: 12px; line-height: 1;
  padding: 4px 8px; border-radius: 100px; background: var(--white); border: 1.5px solid;
}
.rappro-pin::after {
  content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px;
  border: 4px solid transparent; border-top-color: currentColor;
}
.rappro-pin--sugg { color: #8a6d12; border-color: var(--apricot); }
.rappro-pin--auto { color: #00714f; border-color: var(--sky); }
/* 100 : bulle calée à droite, pointe au bout de la barre */
.rappro-pin--end { transform: translateX(-100%); border-bottom-right-radius: 4px; }
.rappro-pin--end::after { left: auto; right: 2px; margin-left: 0; }

.rappro-z { transition: transform .6s var(--g-ease); }
.rappro-z--mid { transition-delay: .55s; } .rappro-z--high { transition-delay: 1.1s; }
.rappro-z--low { transition-delay: 0s; }
.rappro-pin { transition: opacity .4s var(--g-ease), translate .5s var(--g-ease-out); transition-delay: calc(1.6s + var(--g-i, 0) * .3s); }
html.g-js:not(.g-fallback) .rappro-gauge:not(.is-in) .rappro-z { transform: scaleX(0); }
html.g-js:not(.g-fallback) .rappro-gauge:not(.is-in) .rappro-pin { opacity: 0; translate: 0 -12px; }

.rappro-tiers .pill-icon { font-family: var(--display); font-size: 13px; font-weight: 800; }

/* ---------- Bandeau chiffré ---------- */
.rappro-stats .sb-v { font-size: 46px; }

/* ---------- De l'opération au reçu : chaîne qui s'allume ---------- */
.rappro-chain { position: relative; padding-top: 32px; max-width: 460px; margin: 0 auto; width: 100%; }
.rappro-chain > .g-example { position: absolute; top: 0; left: 0; }
.rappro-chain .step { transition: opacity .45s var(--g-ease), translate .55s var(--g-ease-out), border-color .4s; transition-delay: calc(.2s + var(--g-i, 0) * .5s); }
.rappro-chain .step + .step::before { background: var(--pine); transform-origin: 50% 0; transition: transform .35s var(--g-ease); transition-delay: calc(var(--g-i, 0) * .5s); }
html.g-js:not(.g-fallback) .rappro-chain:not(.is-in) .step { opacity: .25; translate: -14px 0; }
html.g-js:not(.g-fallback) .rappro-chain:not(.is-in) .step + .step::before { transform: scaleY(0); }
.rappro-chain.is-in .step-final { animation: rappro-final .6s var(--g-ease-out) 1.9s both; }
@keyframes rappro-final { 0% { transform: scale(1); } 50% { transform: scale(1.04); box-shadow: 0 14px 34px rgba(37,64,215,.35); } 100% { transform: scale(1); } }


/* ============================================================================
   BILLETTERIE EN LIGNE
   ============================================================================ */

/* ---------- Bénéfices en billets à talon ---------- */
.billet-stubs-sec { padding-top: 8px; }
.billet-stubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.billet-stub {
  display: grid; grid-template-columns: 70px 1fr; position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--g-ease-out), box-shadow .35s;
}
.billet-stub:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.billet-stub-tab {
  position: relative; display: grid; place-items: center; font-size: 28px;
  background: var(--apricot-soft); border-right: 2px dashed #c5cede;
}
.billet-stub:nth-child(2) .billet-stub-tab { background: var(--pine-soft); }
.billet-stub:nth-child(3) .billet-stub-tab { background: #e4eef2; }
.billet-stub-tab::before, .billet-stub-tab::after {      /* encoches de la perforation */
  content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
}
.billet-stub-tab::before { top: -11px; }
.billet-stub-tab::after { bottom: -11px; }
.billet-stub-tab span { display: inline-block; transition: transform .45s var(--g-ease-out); }
.billet-stub:hover .billet-stub-tab span { transform: rotate(-14deg) scale(1.12); }
.billet-stub-body { padding: 24px 24px 26px; }
.billet-stub-body h2 { font-size: 19px; margin-bottom: 8px; }
.billet-stub-body p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- La page de billetterie (scène) ---------- */
.billet-stage { position: relative; padding-top: 34px; max-width: 360px; width: 100%; margin: 0 auto; }
.billet-stage > .g-example { position: absolute; top: 0; left: 0; z-index: 2; }
.billet-stage::before {                    /* second billet, en retrait */
  content: ""; position: absolute; top: 64px; left: 22px; right: -18px; bottom: 30px; z-index: 0;
  border-radius: var(--r-lg); background: linear-gradient(135deg, var(--pine), var(--pine-deep));
  rotate: 5deg; opacity: .9; box-shadow: var(--shadow-md);
}
.billet-stage .ticket-card { position: relative; z-index: 1; box-shadow: var(--shadow-lg); }
.billet-stage .ticket-cover { overflow: hidden; }
.billet-stage .ticket-cover::after {        /* reflet qui balaie la couverture */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%); pointer-events: none;
}
.billet-stage.is-in .ticket-cover::after { animation: billet-shine 1.1s var(--g-ease) 1.1s both; }
@keyframes billet-shine { to { transform: translateX(260%); } }
.billet-stage .ticket-opt { position: relative; }
.billet-stage .ticket-opt-featured::after {
  content: ""; position: absolute; inset: -5px; border-radius: 13px; border: 2px solid var(--pine); opacity: 0; pointer-events: none;
}
.billet-stage.is-in .ticket-opt-featured::after { animation: recur-ring 1.6s ease-out 1.9s 3; }
.billet-stage .ticket-submit { text-align: center; }
/* Les compteurs ajoutent des éléments : en flex, chaque morceau devenait une colonne */
.billet-stage .ticket-progress { display: block; line-height: 1.5; }
.billet-stage .ticket-progress [data-g-count], .billet-stage .ticket-progress [data-g-count] span { font-size: inherit; }   /* site.css grossit les span (prévu pour l'icône) */
.billet-stage .ticket-card { transition: opacity .7s var(--g-ease), translate .8s var(--g-ease-out), rotate .8s var(--g-ease-out); }
.billet-stage::before { transition: opacity .7s var(--g-ease) .3s, rotate .9s var(--g-ease-out) .3s; }
.billet-stage .ticket-opt { transition: opacity .5s var(--g-ease), translate .55s var(--g-ease-out); }
.billet-stage .ticket-opt:nth-child(1) { transition-delay: .45s; }
.billet-stage .ticket-opt:nth-child(2) { transition-delay: .6s; }
.billet-stage .ticket-opt:nth-child(3) { transition-delay: .75s; }
.billet-stage .ticket-progress, .billet-stage .ticket-submit { transition: opacity .5s var(--g-ease) 1s, translate .5s var(--g-ease-out) 1s; }
html.g-js:not(.g-fallback) .billet-stage:not(.is-in) .ticket-card { opacity: 0; translate: 0 26px; rotate: -2deg; }
html.g-js:not(.g-fallback) .billet-stage:not(.is-in)::before { opacity: 0; rotate: 0deg; }
html.g-js:not(.g-fallback) .billet-stage:not(.is-in) .ticket-opt { opacity: 0; translate: 18px 0; }
html.g-js:not(.g-fallback) .billet-stage:not(.is-in) .ticket-progress,
html.g-js:not(.g-fallback) .billet-stage:not(.is-in) .ticket-submit { opacity: 0; translate: 0 8px; }

/* ---------- Du billet à la base donateurs : le tapis ---------- */
.billet-belt { position: relative; max-width: 1080px; margin: 0 auto; padding-top: 34px; }
.billet-belt > .g-example { position: absolute; top: 0; left: 0; }
.billet-belt-stations { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
.billet-station { text-align: center; padding: 0 6px; }
.billet-station .pill-icon {
  width: 64px; height: 64px; border-radius: 20px; font-size: 26px; margin: 0 auto 16px;
  box-shadow: 0 0 0 6px var(--paper), var(--shadow-md); position: relative;
}
.billet-station--final .pill-icon { background: var(--pine); color: var(--white); font-size: 28px; }
.billet-station .step-name { font-family: var(--display); font-weight: 800; font-size: 15.5px; margin-bottom: 4px; }
.billet-station .step-desc { font-size: 13.5px; color: var(--ink-soft); }
.billet-belt-rail {
  position: absolute; top: calc(34px + 31px); left: 12.5%; right: 12.5%; height: 3px; z-index: 0;
  background: repeating-linear-gradient(90deg, #c5cede 0 8px, transparent 8px 14px);
}
.billet-belt-rail::after {                 /* trajet parcouru */
  content: ""; position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--apricot), var(--pine)); transform-origin: 0 50%;
}
.billet-belt-run { position: absolute; inset: 0; }
.billet-belt-token {
  position: absolute; left: 0; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; z-index: 3;
  display: grid; place-items: center; font-size: 18px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-md); opacity: 0;
}
html.g-js:not(.g-fallback) .billet-belt:not(.is-in) .billet-belt-rail::after { transform: scaleX(0); }
.billet-belt.is-in .billet-belt-run { animation: billet-run 5s var(--g-ease) .6s both; }
.billet-belt.is-in .billet-belt-rail::after { animation: billet-fill 5s var(--g-ease) .6s both; }
.billet-belt.is-in .billet-belt-token { animation: billet-token 5s linear .6s both; }
@keyframes billet-run {
  0%, 12% { transform: translateX(0); } 30%, 42% { transform: translateX(33.333%); }
  60%, 72% { transform: translateX(66.667%); } 90%, 100% { transform: translateX(100%); }
}
@keyframes billet-fill {
  0%, 12% { transform: scaleX(0); } 30%, 42% { transform: scaleX(.33333); }
  60%, 72% { transform: scaleX(.66667); } 90%, 100% { transform: scaleX(1); }
}
@keyframes billet-token { 0% { opacity: 0; } 4%, 88% { opacity: 1; } 100% { opacity: 0; } }
/* Chaque station s'allume quand le billet y arrive */
.billet-station { transition: opacity .5s var(--g-ease); }
.billet-station:nth-child(1) { transition-delay: .6s; }
.billet-station:nth-child(2) { transition-delay: 2.1s; }
.billet-station:nth-child(3) { transition-delay: 3.6s; }
.billet-station:nth-child(4) { transition-delay: 5.1s; }
html.g-js:not(.g-fallback) .billet-belt:not(.is-in) .billet-station { opacity: .35; }
.billet-belt.is-in .billet-station .pill-icon { animation: recur-pop .55s var(--g-ease-out) both; }
.billet-belt.is-in .billet-station:nth-child(1) .pill-icon { animation-delay: .6s; }
.billet-belt.is-in .billet-station:nth-child(2) .pill-icon { animation-delay: 2.1s; }
.billet-belt.is-in .billet-station:nth-child(3) .pill-icon { animation-delay: 3.6s; }
.billet-belt.is-in .billet-station:nth-child(4) .pill-icon { animation: billet-heart 1.2s var(--g-ease-out) 5.1s both; }
@keyframes billet-heart { 0% { transform: scale(.6); } 35% { transform: scale(1.18); } 55% { transform: scale(.96); } 75% { transform: scale(1.08); } 100% { transform: scale(1); } }
.billet-belt-list { grid-template-columns: 1fr 1fr; column-gap: 36px; max-width: 900px; margin: 44px auto 0; }

/* ---------- Comparatif en interrupteur (fond sombre) ---------- */
.billet-cmp .g-head p { color: #a6b3cd; }
.billet-cmp .g-eyebrow { color: var(--apricot); }
.billet-cmp .g-tabs--switch .g-tablist { background: #101d3a; box-shadow: 0 0 0 1px #1f3157; }
.billet-cmp .g-tabpanel { max-width: 640px; margin-left: auto; margin-right: auto; }
.billet-cmp .ps-col { box-shadow: var(--shadow-lg); }
.billet-cmp .ps-after { color: var(--ink); }
.billet-cmp .g-tabpanel.is-entering .ps-item { animation: g-li-in .5s var(--g-ease-out) both; }
.billet-cmp .g-tabpanel.is-entering .ps-item:nth-of-type(2) { animation-delay: .08s; }
.billet-cmp .g-tabpanel.is-entering .ps-item:nth-of-type(3) { animation-delay: .16s; }
.billet-cmp .g-tabpanel.is-entering .ps-item:nth-of-type(4) { animation-delay: .24s; }

/* ---------- Renvoi places numérotées ---------- */
.billet-next .badge { display: inline-block; margin-bottom: 10px; }
.billet-next-seats { display: grid; grid-template-columns: repeat(7, 16px); gap: 6px; flex-shrink: 0; }
.billet-next-seats span { width: 16px; height: 16px; border-radius: 5px 5px 2px 2px; background: #c9d3f5; position: relative; overflow: hidden; }
.billet-next-seats span::after { content: ""; position: absolute; inset: 0; background: var(--pine); opacity: 0; }
.billet-next-seats span:nth-child(3n+1)::after, .billet-next-seats span:nth-child(5)::after { opacity: 1; }
.billet-next-seats span:nth-child(11) { background: var(--apricot); }
.billet-next-seats span::after { transition: opacity .3s var(--g-ease); }
.billet-next-seats span:nth-child(1)::after { transition-delay: .3s; }  .billet-next-seats span:nth-child(4)::after { transition-delay: .45s; }
.billet-next-seats span:nth-child(5)::after { transition-delay: .6s; }  .billet-next-seats span:nth-child(7)::after { transition-delay: .75s; }
.billet-next-seats span:nth-child(10)::after { transition-delay: .9s; } .billet-next-seats span:nth-child(13)::after { transition-delay: 1.05s; }
html.g-js:not(.g-fallback) .billet-next:not(.is-in) .billet-next-seats span::after { opacity: 0; }


/* ============================================================================
   PLACES NUMÉROTÉES
   ============================================================================ */

/* ---------- Hero « salle de spectacle » ---------- */
.places-hero {
  text-align: left; color: var(--white); padding-bottom: 84px;
  background:
    radial-gradient(ellipse 45% 70% at 78% 0%, rgba(255,210,63,.16) 0%, transparent 70%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(37,64,215,.4) 0%, transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--ink);
}
.places-hero::after { display: none; }
.places-hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
}
.places-hero h1 { margin: 14px 0 18px; max-width: none; color: var(--white); }
.places-hero h1 em { color: var(--apricot); }
.places-hero .g-phero-lead { margin: 0 0 28px; max-width: 540px; color: #a6b3cd; }
.places-hero .g-crumb { color: #8597b8; }
.places-hero .g-crumb a { color: #c7d0e8; }
.places-hero .hero-cta { justify-content: flex-start; }
.places-hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.places-hero .btn-ghost:hover { border-color: var(--white); }
.places-hero :is(a, button):focus-visible { outline-color: var(--apricot); }

.places-show { position: relative; padding-top: 32px; }
.places-show > .g-example { position: absolute; top: 0; left: 0; z-index: 2; }
.places-show .seatmap-demo { position: relative; z-index: 1; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
/* Sur grand écran, la salle prend de l'ampleur (sièges plus grands que la vignette de site.css) */
.places-show .seatmap-demo { padding: 26px 28px; }
.places-show .seatmap-stage { padding: 10px; margin-bottom: 24px; font-size: 12px; }
.places-show .seatmap-rows { gap: 10px; margin-bottom: 24px; }
.places-show .seatmap-row { gap: 7px; }
.places-show .seatmap-rows .seat { width: 23px; height: 23px; border-radius: 6px 6px 3px 3px; }
.places-show .seatmap-row .sr-lab { width: 18px; font-size: 11px; }
.places-spot {
  position: absolute; left: 50%; top: -90px; width: 520px; height: 520px; margin-left: -260px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(255,233,160,.30), transparent 70%);
  transition: opacity 1.2s var(--g-ease);
}
html.g-js:not(.g-fallback) .places-show:not(.is-in) .places-spot { opacity: 0; }

/* Rang (--r) et place (--c) de chaque siège : sert aux cascades des plans */
:is(.places-show, .places-state) .seatmap-row:nth-child(2) { --r: 1; }
:is(.places-show, .places-state) .seatmap-row:nth-child(3) { --r: 2; }
:is(.places-show, .places-state) .seatmap-row:nth-child(4) { --r: 3; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(3)  { --c: 1; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(4)  { --c: 2; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(5)  { --c: 3; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(6)  { --c: 4; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(7)  { --c: 5; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(8)  { --c: 6; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(9)  { --c: 7; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(10) { --c: 8; }
:is(.places-show, .places-state) .seatmap-row > :nth-child(11) { --c: 9; }

/* Les sièges apparaissent rang par rang depuis la scène */
.places-show .seatmap-rows .seat {
  position: relative;
  transition: opacity .35s var(--g-ease), scale .45s var(--g-ease-out);
  transition-delay: calc(.6s + var(--r, 0) * .22s + var(--c, 0) * .035s);
}
.places-show .seat-table { transition: opacity .5s var(--g-ease) 1.6s, scale .6s var(--g-ease-out) 1.6s; }
.places-show .seatmap-legend { transition: opacity .5s var(--g-ease) 2s; }
html.g-js:not(.g-fallback) .places-show:not(.is-in) .seatmap-rows .seat { opacity: 0; scale: .3; }
html.g-js:not(.g-fallback) .places-show:not(.is-in) .seat-table { opacity: 0; scale: .7; }
html.g-js:not(.g-fallback) .places-show:not(.is-in) .seatmap-legend { opacity: 0; }
/* puis les ventes « tombent » et la sélection pulse */
.places-show.is-in .seatmap-rows .seat.is-sold { animation: places-sold .5s var(--g-ease-out) both; animation-delay: calc(2.1s + var(--c, 0) * .06s + var(--r, 0) * .1s); }
@keyframes places-sold { 0% { transform: none; } 40% { transform: translateY(-5px) scale(1.2); } 100% { transform: none; } }
.places-show .seatmap-rows .seat.is-mine::after, .places-state .seatmap-rows .seat.is-mine.is-new::after {
  content: ""; position: absolute; inset: -4px; border-radius: 6px; border: 2px solid var(--pine); opacity: 0;
}
.places-show.is-in .seatmap-rows .seat.is-mine::after { animation: recur-ring 1.5s ease-out 2.6s 4; }

/* ---------- Scrollytelling : le plan se construit ---------- */
.places-scrolly { grid-template-columns: 1fr 400px; }
.places-scrolly .g-scrolly-states { height: 440px; }
.places-scrolly .ch-tag { align-self: flex-start; margin-top: 12px; }
.places-state {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  padding: 20px; display: flex; flex-direction: column; justify-content: center;
}
.places-state-bar {
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px;
}
.places-plan {
  position: relative; padding: 16px 14px 14px; border: 1.5px dashed #c5cede; border-radius: 12px;
  background: repeating-linear-gradient(135deg, #f8f9fc 0 10px, var(--white) 10px 20px);
}
.places-plan .seatmap-stage { margin-bottom: 14px; }
.places-plan .seatmap-rows { margin-bottom: 14px; }
.places-plan .seat { position: relative; }
.places-plan .seatmap-rows { gap: 8px; }
.places-plan .seatmap-row { gap: 6px; }
.places-plan .seatmap-rows .seat { width: 20px; height: 20px; border-radius: 5px 5px 2px 2px; }
.places-plan .seatmap-legend { padding-top: 12px; gap: 10px; }
.places-tables { display: flex; gap: 28px; justify-content: center; align-items: center; margin-bottom: 10px; }
.places-tbl { position: relative; display: grid; place-items: center; }
.places-tbl i {
  font-style: normal; font-size: 9px; font-weight: 800; color: var(--ink-soft);
  background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center;
}
.places-tbl b { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--pine-soft); border: 1px solid #c9d3f5; }
.places-tbl--round { width: 60px; height: 60px; }
.places-tbl--round i { width: 34px; height: 34px; border-radius: 50%; }
.places-tbl--round b:nth-of-type(1) { top: 0; left: 24px; }
.places-tbl--round b:nth-of-type(2) { top: 24px; left: 0; }
.places-tbl--round b:nth-of-type(3) { top: 24px; right: 0; }
.places-tbl--round b:nth-of-type(4) { bottom: 0; left: 24px; }
.places-tbl--rect { width: 96px; height: 58px; }
.places-tbl--rect i { width: 72px; height: 26px; border-radius: 6px; }
.places-tbl--rect b:nth-of-type(1) { top: 0; left: 18px; }
.places-tbl--rect b:nth-of-type(2) { top: 0; left: 42px; }
.places-tbl--rect b:nth-of-type(3) { top: 0; left: 66px; }
.places-tbl--rect b:nth-of-type(4) { bottom: 0; left: 18px; }
.places-tbl--rect b:nth-of-type(5) { bottom: 0; left: 42px; }
.places-tbl--rect b:nth-of-type(6) { bottom: 0; left: 66px; }
.places-decor { display: flex; justify-content: space-between; margin-bottom: 6px; }
.places-decor span {
  font-family: var(--display); font-size: 9.5px; font-weight: 800; letter-spacing: .14em;
  background: var(--ink); color: var(--white); border-radius: 6px; padding: 4px 10px;
}
.places-mail { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.places-mail-head { background: var(--pine); color: var(--white); padding: 11px 14px; font-family: var(--display); font-weight: 800; font-size: 13.5px; }
.places-mail .places-plan { border: 0; border-radius: 0; }
.places-mail .seatmap-rows .seat:not(.is-mine), .places-mail .places-tables { opacity: .35; }
.places-mail .seatmap-legend { display: none; }
/* Ce que le geste ajoute « surgit » quand son état devient actif */
.places-state.is-active .is-new { animation: places-pop .55s var(--g-ease-out) both; }
.places-state.is-active .seatmap-row .seat.is-new { animation-delay: calc(.1s + var(--r, 0) * .12s + var(--c, 0) * .03s); }
.places-state.is-active .seat.is-mine.is-new::after { animation: recur-ring 1.5s ease-out .6s 3; }
.places-state--mail.is-active .places-mail { animation: places-mail .7s var(--g-ease-out) both; }
.places-state--mail.is-active .seat.is-mine { animation: places-pop .55s var(--g-ease-out) .5s both; }
@keyframes places-pop { 0% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes places-mail { from { opacity: 0; transform: translateY(24px) rotate(-2deg); } to { opacity: 1; transform: none; } }

/* ---------- Continuité ---------- */
.places-tally { grid-template-columns: repeat(4, 1fr); max-width: 1100px; }
.places-tally .g-tally-item { padding: 22px 20px; gap: 14px; }
.places-tally .g-tally-v { font-size: 56px; }
.places-free { text-align: center; font-size: 14.5px; color: var(--ink-soft); max-width: 660px; margin: 28px auto 0; }
.places-help { border-style: solid; border-color: var(--line); background: var(--paper-2); }


/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1100px) {
  .places-tally { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* Dons récurrents : frise verticale */
  .recur-track { margin-top: 40px; padding: 20px 18px 22px; }
  .recur-track-head { margin-bottom: 20px; }
  .recur-months { grid-template-columns: 1fr; gap: 0; }
  .recur-months::before, .recur-months::after { top: 18px; left: 17px; width: 3px; height: auto; }
  .recur-months::before {
    right: auto; bottom: 0; background: repeating-linear-gradient(180deg, #c5cede 0 7px, transparent 7px 13px);
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent);
  }
  .recur-months::after { height: 50%; background: linear-gradient(180deg, var(--sky), var(--apricot)); transform-origin: 50% 0; }
  html.g-js:not(.g-fallback) .recur-track:not(.is-in) .recur-months::after { transform: scaleY(0); }
  .recur-m { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: start; text-align: left; padding: 0 0 16px; }
  .recur-m-dot { grid-row: span 3; margin: 0; }
  .recur-m-amt { font-size: 17px; }
  .recur-m-state { margin-top: 0; }
  .recur-which { padding: 22px 16px 24px; }
  .recur-gestes { grid-template-columns: 1fr; }
  .recur-geste, .recur-geste--key { grid-column: auto; padding: 24px 20px; }
  .recur-sources { padding-right: 0; }
  .recur-sources::before, .recur-sources .segment-item::after, .recur-sink { display: none; }

  /* Rapprochement */
  .rappro-hero { padding-bottom: 56px; }
  .rappro-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .rappro-scan .recon-row { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 12px 14px; }
  .rappro-files .chip { width: calc(50% - 8px); }
  .rappro-enc { flex-direction: column; text-align: center; gap: 10px; }
  .rappro-path .g-path-desc { max-width: none; margin: 0; }

  /* Billetterie */
  .billet-stubs { grid-template-columns: 1fr; gap: 16px; }
  .billet-stub { grid-template-columns: 62px 1fr; }
  .billet-stub-body { padding: 20px 18px 22px; }
  .billet-belt-rail { display: none; }
  .billet-belt-stations { grid-template-columns: 1fr; gap: 0; }
  .billet-station { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; padding: 0 0 26px; position: relative; }
  .billet-station .pill-icon { grid-row: span 2; margin: 0; }
  .billet-station .step-name { align-self: end; }
  .billet-station:not(:last-child)::before {       /* liaison verticale */
    content: ""; position: absolute; left: 31px; top: 70px; bottom: 6px; width: 2px;
    background: linear-gradient(180deg, var(--apricot), var(--pine)); transform-origin: 50% 0;
    transition: transform .5s var(--g-ease); transition-delay: inherit;
  }
  html.g-js:not(.g-fallback) .billet-belt:not(.is-in) .billet-station::before { transform: scaleY(0); }
  .billet-station:nth-child(2) { transition-delay: 1.1s; }
  .billet-station:nth-child(3) { transition-delay: 1.6s; }
  .billet-station:nth-child(4) { transition-delay: 2.1s; }
  .billet-belt.is-in .billet-station:nth-child(2) .pill-icon { animation-delay: 1.1s; }
  .billet-belt.is-in .billet-station:nth-child(3) .pill-icon { animation-delay: 1.6s; }
  .billet-belt.is-in .billet-station:nth-child(4) .pill-icon { animation-delay: 2.1s; }
  .billet-belt-list { grid-template-columns: 1fr; margin-top: 18px; }
  .billet-cmp .ps-col { padding: 24px 20px; }
  .billet-cmp .g-tabs--switch .g-tab { white-space: nowrap; padding: 10px 12px; font-size: 13px; gap: 6px; }
  .billet-next-seats { display: none; }

  /* Places */
  .places-hero { padding-bottom: 56px; }
  .places-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .places-spot { width: 360px; height: 360px; margin-left: -180px; }
  .places-show .seatmap-demo { padding: 22px 16px; }
  .places-show .seatmap-rows { gap: 8px; }
  .places-show .seatmap-row { gap: 5px; }
  .places-show .seatmap-rows .seat { width: 19px; height: 19px; }
  .places-scrolly { grid-template-columns: 1fr; }
  .places-scrolly .g-scrolly-slot { background: none; padding: 0; border-radius: 0; max-width: 400px; }
  .places-scrolly .g-scrolly-slot .places-state { padding: 16px; }
  .places-plan .seatmap-rows .seat { width: 17px; height: 17px; }
  .places-plan .seatmap-row { gap: 5px; }
  .places-tally { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  :is(.places-show, .places-state) .seatmap-row { gap: 4px; }
  .places-show .seatmap-rows .seat { width: 17px; height: 17px; }
  .places-plan { padding: 12px 8px; }
  .places-tables { gap: 18px; }
}
