/* Odilon · page salon des maires, version 3D « cinq engagements » (odilon.studio/salon, d'abord essayée sur /salon2)
   Même scène que /salon, histoire réordonnée d'après la plaquette (relation citoyenne, réactivité,
   contrôle, sécurité, économies) ; design system Odilon (définitif, 29/09/2026) :
   Nunito, Bleu B3 #0A0D60, Rose P3 #FF3B6B, logo « odilon » (point et trait roses).
   Bricolage et Newsreader restent déclarées : ce sont les polices du site de Montere,
   dessiné sur l'écran du téléphone et sur le fronton de la mairie (voir salon.js). */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 1000; font-display: swap; src: url("/fonts/nunito-latin.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/bricolage-fr.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("/fonts/newsreader-fr.woff2") format("woff2"); }

:root {
  --navy: #0A0D60;        /* Bleu B3 (bleu 800) : fonds pleins, texte posé sur le rose */
  --pink: #FF3B6B;        /* Rose P3 (rose 500) : accent rare, un seul appel rose par écran */
  --pink-hover: #FF5F86;  /* rose 400 : survol ; petits textes roses sur fond B3 */
  --pink-press: #E0204F;  /* rose 600 : appui */
  --pink-50: #FFF0F3;
  --pink-100: #FFDCE4;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, .8);
  --line: rgba(255, 255, 255, .14);   /* blancs translucides 8 à 14 % sur B3 */
  --shadow-md: 0 4px 12px rgba(10, 13, 96, .08), 0 2px 4px rgba(10, 13, 96, .05);
  --shadow-lg: 0 16px 40px rgba(10, 13, 96, .14), 0 4px 10px rgba(10, 13, 96, .06);
  --radius-md: 12px;
  --radius-lg: 16px;
  --bar-h: 56px;
  --gutter: 16px;
  --font: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, .8, .3, 1);   /* sobre : pas de rebond */
  --ease-expo: cubic-bezier(.16, 1, .3, 1);   /* arrivées : départ vif, fin très douce */
  --ease-in: cubic-bezier(.55, 0, .75, .25);  /* sorties : départ doux */
  --fast: 120ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* Défilement normal (les crans de crans.js sont en pause ; ?crans les réactive, et coupe alors ce défilement doux) */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
html:not(.is-reduced) { scroll-behavior: smooth; }
html.at-end { overscroll-behavior-y: none; } /* téléphone, fin de page : pas de rebond (salon.js) */
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
a { color: inherit; }
/* focus : anneau rose de 3 px, décalé, toujours visible */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
::selection { background: #FFB8C8; color: #06083F; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--pink); color: var(--navy); padding: .7rem 1rem; border-radius: 999px;
  text-decoration: none; font-family: var(--font); font-weight: 800;
}
.skip:focus { top: 10px; }

/* ---------- Barre du haut ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter);
  background: var(--navy); /* sans filet : au final, elle se fond dans le ciel bleu nuit */
}
/* Avancement dans l'histoire : 8 segments verticaux au bord droit, remplis par le temps de la scène.
   Ils tiennent lieu de barre de défilement : celle du navigateur est masquée (l'indicateur d'iOS, lui,
   apparaît encore un instant pendant le défilement). */
.progress {
  position: fixed; z-index: 4; right: 6px; top: calc(var(--bar-h) + 60px); bottom: calc(22px + env(safe-area-inset-bottom));
  width: 3px; display: flex; flex-direction: column; gap: 5px;
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.progress i { flex: 1; position: relative; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .45); box-shadow: 0 0 0 1px rgba(10, 13, 96, .16); }
.progress b { position: absolute; inset: 0; background: var(--pink); transform: scaleY(0); transform-origin: 50% 0; }
.is-ready .progress { opacity: 1; }
.no-3d .progress { display: none; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
/* pas de flou d'arrière-plan ici : recalculé à chaque image au-dessus de la 3D, il coûte cher */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 30px; width: auto; }
.brand-logo .lw { fill: var(--white); }
.brand-logo .lp { fill: var(--pink); }
/* Boutons du design system : pilule, Nunito 800 ; sur fond B3, « inverse » (blanc plein)
   ou « accent » (rose plein, texte B3). Survol : le fond s'éclaircit ; appui : scale(.97). */
.bar-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: 999px;
  background: var(--white); color: var(--navy);
  font-family: var(--font); font-weight: 800; font-size: .92rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color var(--fast) var(--ease-out), transform var(--fast) var(--ease-out), opacity .4s var(--ease-out), visibility .4s;
}
.bar-link svg { width: 16px; height: 16px; }
.bar-link:hover { background: var(--pink-50); }
.bar-link:active { background: var(--pink-100); transform: scale(.97); }
/* (le bouton « Voir la démo » de la barre reste visible jusqu'au bout : la carte finale ne propose plus la démo) */

/* ---------- Scène 3D, fixée derrière le texte ---------- */
.world {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 100%; height: var(--lvh, 100vh); /* petit écran : hauteur figée par salon.js (voir fitViewport) */
  background: linear-gradient(#b8c7ee, #f4e2d2);
  pointer-events: none;
}
#scene3d { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.is-ready #scene3d { opacity: 1; }
.no-3d .world { background: var(--navy); }

/* Chargement : le point rose du logo rebondit sur son plateau. Il monte en freinant, retombe en
   accélérant, s'étire quand il va vite et ne s'écrase qu'au contact (posé sur le plateau). */
.loader {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  transition: opacity .5s ease;
}
.loader-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--pink); transform-origin: 50% 100%; animation: loader-bounce 1.05s infinite; }
.loader-tray { width: 64px; height: 7px; border-radius: 0 0 20px 20px; background: var(--pink); }
.is-ready .loader, .no-3d .loader { opacity: 0; }
@keyframes loader-bounce {
  0%   { transform: translateY(0) scale(1.24, .76); animation-timing-function: cubic-bezier(.3, 0, .6, 1); }
  11%  { transform: translateY(0) scale(.9, 1.12); animation-timing-function: cubic-bezier(.15, .6, .35, 1); }
  52%  { transform: translateY(-36px) scale(1, 1); animation-timing-function: cubic-bezier(.65, 0, .85, .35); }
  91%  { transform: translateY(-4px) scale(.9, 1.12); animation-timing-function: cubic-bezier(.3, 0, .7, 1); }
  100% { transform: translateY(0) scale(1.24, .76); }
}

/* Vignettage léger par-dessus la scène (le grain, lui, est ajouté dans le rendu 3D) */
.world::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 75% at 58% 46%, transparent 60%, rgba(38, 30, 48, .16) 100%);
  opacity: 0; transition: opacity .8s ease;
}
.is-ready .world::after { opacity: 1; }
.no-3d .world::after { display: none; }
.labels, .loader { z-index: 1; }
/* coupe quand on saute plusieurs étapes : un bref passage au bleu nuit */
.dip { position: absolute; inset: 0; z-index: 2; background: var(--navy); opacity: 0; pointer-events: none; }
.labels { position: absolute; inset: 0; overflow: hidden; }
.bubble {
  position: absolute; left: 0; top: 0;
  padding: .5rem .9rem .55rem;
  background: var(--white); color: var(--navy);
  border: 2px solid var(--navy); border-radius: var(--radius-md);
  font: 800 clamp(.95rem, .8rem + .5vw, 1.2rem)/1.2 var(--font);
  white-space: nowrap;
  filter: drop-shadow(0 4px 12px rgba(10, 13, 96, .08)) drop-shadow(0 2px 4px rgba(10, 13, 96, .05)); /* = ombre md, pointe comprise */
  transform-origin: 50% 100%;
  opacity: 0;
  will-change: transform, opacity;
}
.bubble::after {
  content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); bottom: -9px;
  width: 14px; height: 14px; margin-left: -7px;
  background: var(--white); border: 2px solid var(--navy); border-top: 0; border-left: 0;
  transform: rotate(45deg);
}

/* hors de la scène 3D, au-dessus des cartes (qui passaient dessus en défilant), sous la barre */
.hud {
  position: fixed; z-index: 5; right: var(--gutter); top: calc(var(--bar-h) + 14px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  background: var(--navy); color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .28); /* reste lisible sur le ciel bleu nuit du final */
  border-radius: 999px;
  font: 800 .95rem/1 var(--font); letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .6s ease;
}
.is-ready .hud { opacity: 1; }
/* le point du logo */
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(255, 59, 107, .35); }
/* l'heure : des chiffres qui défilent comme un compteur ; les étiquettes (saisons) glissent */
.hud-slot { display: inline-grid; height: 1.2em; line-height: 1.2; overflow: hidden; transition: width .45s var(--ease-out); }
.hud-w { grid-area: 1 / 1; justify-self: start; white-space: nowrap; }
.hud-w.in { animation: hud-in .55s var(--ease-expo) both; }
.hud-w.out { animation: hud-out .36s var(--ease-in) both; }
@keyframes hud-in { from { transform: translateY(1em); opacity: 0; } }
@keyframes hud-out { to { transform: translateY(-1em); opacity: 0; } }
.dg { position: relative; display: inline-block; width: 1ch; height: 1.2em; overflow: hidden; vertical-align: top; text-align: center; transition: width .4s var(--ease-out), opacity .3s; }
.dv { display: block; height: 1.2em; line-height: 1.2em; }
.dv.in { position: absolute; left: 0; right: 0; top: 0; animation: dg-in .4s var(--ease-out) both; }
.dv.out { animation: dg-out .4s var(--ease-out) both; }
@keyframes dg-in { from { transform: translateY(100%); } }
@keyframes dg-out { to { transform: translateY(-100%); } }
.dg.off { width: 0; opacity: 0; }

/* ---------- Étapes (texte) ---------- */
/* Entrée des cartes (classe posée par salon.js quand la scène joue l'étape ; sans JS, tout est
   visible) : la carte monte, son titre arrive ligne à ligne sous un masque, le trait rose se trace,
   puis le reste. */
.reveal .step-text { opacity: 0; transform: translateY(22px); transition: opacity .38s var(--ease-out), transform 1s var(--ease-expo); }
.reveal .step-text.is-in { opacity: 1; transform: none; }
.reveal .step-text > :not(h1):not(h2) { opacity: 0; transform: translateY(.6em); transition: opacity .7s var(--ease-out) var(--d, .3s), transform .9s var(--ease-expo) var(--d, .3s); }
.reveal .step-text.is-in > :not(h1):not(h2) { opacity: 1; transform: none; }
.reveal .step-text > .kicker { --d: .04s; }
.reveal .step-text > .sub { --d: .38s; }
.reveal .step-text > .hint, .reveal .step-text > .actions { --d: .5s; }
.reveal .step-text > .closing { --d: .66s; }
.reveal .step-text > .pledge { --d: .46s; }
.reveal .step-text > .cta-url { --d: .6s; }
.reveal .step-text .ln { display: block; overflow: hidden; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.reveal .step-text .ln > span { display: inline-block; transform: translateY(118%); transition: transform 1s var(--ease-expo) calc(.1s + var(--i, 0) * .085s); }
.reveal .step-text.is-in .ln > span { transform: none; }
.reveal .step-text h1::after, .reveal .step-text h2::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-expo) .3s; }
.reveal .step-text.is-in h1::after, .reveal .step-text.is-in h2::after { transform: none; }

.story { position: relative; z-index: 2; }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 24px var(--gutter);
}
/* petit écran : chaque carte, posée en haut de son étape, s'arrête près du bas de l'écran (ligne
   calculée d'après sa hauteur, --h, mesurée par salon.js) ; la carte suivante arrive par le bas et
   la pousse. La scène garde le haut de l'écran. Une étape ne dure que sa carte plus un tiers
   d'écran : à chaque geste, les cartes bougent sous le doigt (une étape d'un écran entier laissait
   de longs passages où rien ne bougeait, comme si la page ne répondait pas). */
.step {
  align-items: flex-start; padding-top: 0; padding-bottom: 0;
  min-height: calc(var(--h, 200px) + .3 * var(--svh, 100vh)); /* --svh : hauteur d'écran figée par salon.js */
  /* lien vers une étape (« Faites défiler ») : on y arrive carte posée sur sa ligne */
  scroll-margin-top: calc(var(--svh, 100vh) - var(--h, 240px) - 24px - env(safe-area-inset-bottom) - var(--bar-h));
}
.step-1 { min-height: calc(var(--svh, 100vh) - var(--bar-h)); align-items: flex-end; padding-top: 24px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
/* carte « marque » du design system : fond B3, rayon 16, ombre douce teintée B3 */
.step-text {
  position: sticky; top: calc(var(--svh, 100vh) - var(--h, 240px) - 16px - env(safe-area-inset-bottom));
  width: 100%; max-width: 30rem;
  padding: 20px 22px 22px;
  background: var(--navy);
  border: 1.5px solid var(--line); /* se détache aussi sur le ciel bleu nuit du final */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
/* fond presque opaque plutôt que flou d'arrière-plan (même raison que la barre) */

.kicker { font-size: .78rem; color: var(--pink-hover); margin-bottom: 10px; }
h1, h2 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.7rem, 1.2rem + 2.3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
/* le trait du logo sous chaque titre : barre rose de 6 px, bouts arrondis */
.step-text h1::after, .step-text h2::after {
  content: ""; display: block;
  width: 56px; height: 6px; margin-top: 14px;
  border-radius: 6px; background: var(--pink);
}
.sub {
  margin-top: 10px;
  font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem);
  line-height: 1.5;
  color: var(--white-soft);
  text-wrap: pretty;
}
.hint {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; min-height: 44px;
  font-size: .9rem; font-weight: 700; color: var(--white-soft);
  text-decoration: none;
}
.hint svg { width: 18px; height: 18px; }
.hint:hover { color: var(--white); }
html:not(.is-reduced) .hint svg { animation: hint-bob 1.6s ease-in-out infinite; }
@keyframes hint-bob { 50% { transform: translateY(4px); } }

/* l'unique appel rose de la page (bouton « accent », grand) */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 22px; min-height: 52px; padding: 0 26px;
  background: var(--pink); color: var(--navy);
  border-radius: 999px;
  font-family: var(--font); font-size: 1.0625rem; font-weight: 800; line-height: 1; letter-spacing: .005em; text-decoration: none;
  transition: background-color var(--fast) var(--ease-out), transform var(--fast) var(--ease-out);
}
.cta svg { width: 20px; height: 20px; }
.cta:hover { background: var(--pink-hover); }
.cta:active { background: var(--pink-press); transform: scale(.97); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.actions .cta { margin-top: 0; }
/* rendez-vous en visio : bouton secondaire (« inverse », grand) */
.rdv {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; background: var(--white); color: var(--navy);
  font-family: var(--font); font-size: 1.0625rem; font-weight: 800; line-height: 1; letter-spacing: .005em; text-decoration: none;
  transition: background-color var(--fast) var(--ease-out), transform var(--fast) var(--ease-out);
}
.rdv svg { width: 20px; height: 20px; }
.rdv:hover { background: var(--pink-50); }
.rdv:active { background: var(--pink-100); transform: scale(.97); }
.rdv[hidden] { display: none; }
/* au stand (mode kiosque), on est devant le visiteur ; ailleurs, on propose un rendez-vous */
html[data-kiosque="1"] .hors-kiosque, html:not([data-kiosque="1"]) .en-kiosque { display: none; }
/* après le salon (10/10/2026), la mention « stand n° 4 » disparaît d'elle-même ; au stand, le logo ne quitte pas l'histoire */
html[data-apres-salon="1"] .salon-rdv { display: none; }
html[data-kiosque="1"] a.brand { pointer-events: none; }
a.brand { color: inherit; text-decoration: none; border-radius: 6px; }
a.brand:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.closing {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font); font-weight: 800; font-size: 1.25rem;
  text-wrap: balance;
}
/* pas de pied de page : l'histoire se termine sur la carte finale */

/* petit écran : défilement libre, où la carte qui arrive suit le doigt. Les cartes arrivent déjà
   écrites (pas d'entrée animée, qui se jouait sur place une fois la carte posée ; seule la première
   garde la sienne, au chargement). Dès que la suivante vient la toucher, l'ancienne s'efface d'un
   fondu bref (classe is-past, salon.js) : jamais deux cartes à la fois. */
@media (max-width: 859.98px) {
  .reveal .step:not(.step-1) .step-text { opacity: 1; transform: none; transition: opacity .25s var(--ease-out); }
  .reveal .step:not(.step-1) .step-text > :not(h1):not(h2),
  .reveal .step:not(.step-1) .step-text .ln > span,
  .reveal .step:not(.step-1) .step-text h2::after { opacity: 1; transform: none; transition: none; }
  :root .step .step-text.is-past { opacity: 0; pointer-events: none; transition: opacity .16s var(--ease-in); }
}

/* ---------- Grands écrans : texte à gauche, scène à droite ---------- */
@media (min-width: 860px) {
  :root { --bar-h: 64px; --gutter: 40px; }
  .bar { padding: 0 var(--gutter); }
  .step, .step-1 { min-height: calc(100vh - var(--bar-h)); align-items: center; padding: 48px var(--gutter); scroll-margin-top: 0; }
  /* fin : la carte se cale en bas, pour rester entière au bout du défilement */
  .step-fin { min-height: calc(100vh - var(--bar-h)); align-items: flex-end; padding-bottom: 56px; }
  .step-text { position: relative; top: auto; max-width: 27rem; padding: 28px 32px 30px; }
  .progress { right: 16px; top: calc(var(--bar-h) + 72px); bottom: 40px; width: 4px; gap: 6px; }
  /* les promesses : un peu plus larges (phrase de l'argumentaire + sous-titre) */
  .step-promise .step-text { max-width: 29rem; }
  .step-fin .step-text { max-width: 32rem; }
  .hud { font-size: 1.05rem; }
}

/* ---------- Ajouts « cinq engagements » ---------- */
/* repère discret de l'engagement : numéro en blanc, nom en rose clair */
.kicker .num { color: var(--white); }
/* sécurité : les quatre prises en charge, en texte ; elles s'allument au fil des saisons (classe on,
   posée par salon.js ; sans 3D ou avec « réduire les animations », toutes visibles) */
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 9px; border-radius: 999px;
  border: 1.5px solid var(--line); background: rgba(255, 255, 255, .06);
  font-size: .86rem; font-weight: 800; line-height: 1.2; color: var(--white);
  transition: opacity .5s var(--ease-out), border-color .5s var(--ease-out), background-color .5s var(--ease-out);
}
.checks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(255, 59, 107, .3); }
.scene-led .checks li { opacity: .32; }
.scene-led .checks li::before { background: rgba(255, 255, 255, .5); box-shadow: none; }
.scene-led .checks li.on { opacity: 1; border-color: rgba(255, 95, 134, .55); background: rgba(255, 59, 107, .12); }
.scene-led .checks li.on::before { background: var(--pink); box-shadow: 0 0 0 3px rgba(255, 59, 107, .3); }
/* économies : le tarif, une fois le plateau identifiable (classe on, salon.js) */
.price {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 1.05rem; font-weight: 700; color: var(--white-soft); line-height: 1.3;
}
.price strong { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem); font-weight: 900; color: var(--white); letter-spacing: -.02em; }
.price-from { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-hover); margin-bottom: 2px; }
.price-note { display: block; margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--white-soft); }
.scene-led .price { transition: opacity .6s var(--ease-out), transform .8s var(--ease-expo); }
.scene-led .price:not(.on) { opacity: 0; transform: translateY(8px); }
.narrow-only { display: none; }
/* final */
.sub strong { color: var(--white); font-weight: 800; }
.pledge { margin-top: 10px; font-weight: 800; font-size: 1.02rem; color: var(--pink-hover); }
.cta-url { margin-top: 14px; font-size: .82rem; color: var(--white-soft); }
/* information sur la mesure d'audience, et le bouton pour la refuser */
.suivi-info { margin-top: 8px; font-size: .74rem; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.suivi-refus { margin: 0; padding: 0; border: 0; background: none; color: var(--white); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.suivi-refus:hover { color: var(--pink-hover); }
.reveal .step-text > .suivi-info { --d: .7s; }
/* le rendez-vous au salon : sous le bouton, calendrier rose */
.salon-rdv { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-weight: 800; font-size: 1rem; line-height: 1.35; color: var(--white); }
.salon-rdv svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--pink-hover); }
.reveal .step-text > .salon-rdv { --d: .56s; }

/* bulle de l'équipe Odilon : bleu B3, texte blanc (la collectivité parle en blanc) */
.bubble-team { background: var(--navy); color: var(--white); border-color: var(--white); }
.bubble-team::after { background: var(--navy); border-color: var(--white); }

/* le message préparé : brouillon (à valider), puis validé et publié sur le site et les réseaux */
.msg {
  position: absolute; left: 0; top: 0; width: 212px;
  padding: 10px 12px 11px;
  background: var(--white); color: var(--navy);
  border: 2px solid var(--navy); border-radius: var(--radius-md);
  filter: drop-shadow(0 4px 12px rgba(10, 13, 96, .12));
  font: 600 .8rem/1.3 var(--font);
  opacity: 0; transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.msg p { margin: 0; }
.msg-head { display: flex; height: 20px; }
.msg-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; height: 20px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: opacity .3s;
}
.msg-draft { background: #EEF0F7; color: #4A4F7A; }
.msg-draft::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
.msg-ok { background: #E0204F; color: var(--white); position: absolute; opacity: 0; }
.msg-ok::before { content: "✓"; font-size: .8rem; }
.msg-title { margin-top: 7px !important; font-weight: 900; font-size: .92rem; line-height: 1.2; }
.msg-text { margin-top: 2px !important; color: #3D4170; }
.msg-foot { position: relative; margin-top: 9px !important; height: 26px; }
.msg-btn {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; height: 26px; padding: 0 14px;
  border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 800; font-size: .78rem;
  transition: opacity .3s, transform .15s;
}
.msg-to { position: absolute; left: 0; top: 2px; display: flex; gap: 5px; }
.msg-to i {
  font-style: normal; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px;
  background: var(--pink-50); color: #B8143D; font-weight: 800; font-size: .7rem;
  opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-expo);
}
.msg[data-state="press"] .msg-btn { transform: scale(.92); background: #E0204F; }
.msg[data-state="ok"] .msg-draft, .msg[data-state="pub"] .msg-draft { opacity: 0; }
.msg[data-state="ok"] .msg-ok, .msg[data-state="pub"] .msg-ok { opacity: 1; }
.msg[data-state="ok"] .msg-btn, .msg[data-state="pub"] .msg-btn { opacity: 0; }
.msg[data-state="pub"] .msg-to i { opacity: 1; transform: none; }
.msg[data-state="pub"] .msg-to i:nth-child(2) { transition-delay: .12s; }
.msg[data-state="pub"] .msg-to i:nth-child(3) { transition-delay: .24s; }
@media (max-width: 859.98px) {
  .msg { width: 184px; padding: 8px 10px 9px; font-size: .74rem; }
  .msg-title { font-size: .84rem; }
  .checks { gap: 6px; margin-top: 12px; }
  .checks li { font-size: .8rem; padding: 4px 9px 4px 8px; }
  .price { margin-top: 12px; padding-top: 10px; }
  .price-from { display: inline; margin: 0 4px 0 0; font-size: .74rem; }
  .price strong { font-size: 1.6rem; }
  .price-note { margin-top: 4px; font-size: .82rem; }
  .step-fin .cta, .step-fin .rdv { width: 100%; }
  /* sécurité : la phrase courte (les quatre mentions sont juste dessous) */
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .step-fin .cta, .step-fin .rdv { min-height: 48px; padding: 0 18px; font-size: 1rem; }
  /* bulles longues : sur deux lignes */
  .bubble { white-space: normal; width: max-content; max-width: 11.5em; text-align: center; }
}

/* petit écran peu haut : la carte finale se resserre, pour laisser voir le plateau */
@media (max-width: 859.98px) and (max-height: 760px) {
  .step-fin h2 { font-size: 1.55rem; }
  .step-fin .step-text h2::after { margin-top: 10px; }
  .step-fin .sub { margin-top: 8px; font-size: .98rem; }
  .step-fin .pledge { margin-top: 6px; font-size: .95rem; }
  .step-fin .actions { margin-top: 14px; gap: 8px; }
  .step-fin .cta, .step-fin .rdv { min-height: 44px; }
  .step-fin .cta-url { margin-top: 10px; }
  .step-fin .salon-rdv { margin-top: 12px; font-size: .95rem; }
  .step-fin .step-text { padding: 16px 18px 16px; }
}

/* ---------- Mode kiosque (écran du stand), comme /salon ---------- */
html[data-kiosque="1"] { font-size: 118%; }
html[data-kiosque="1"].curseur-off, html[data-kiosque="1"].curseur-off * { cursor: none !important; }
.kiosque-veille[hidden] { display: none !important; }
.kiosque-veille {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--navy); /* aplat B3, sans motif */
  color: #ffffff;
  display: grid; place-items: center;
  animation: kiosque-fondu 600ms ease both;
}
.kiosque-veille-inner { max-width: 940px; padding: 0 6vw; }
.brand-logo.kiosque-logo { height: 2.6rem; }
.kiosque-kicker { margin: 2.6rem 0 .6rem; font-size: .95rem; color: var(--pink-hover); }
.kiosque-msg { margin: 0; font-family: var(--font); font-weight: 900; font-size: clamp(2rem, 6.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; }
.kiosque-hint { margin: 3.2rem 0 0; font-family: var(--font); font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .62); }
@keyframes kiosque-fondu { from { opacity: 0 } to { opacity: 1 } }
/* les messages s'enchaînent : l'ancien s'efface en montant, le nouveau arrive par le bas */
.kiosque-kicker, .kiosque-msg { transition: opacity .32s var(--ease-in), transform .38s var(--ease-in); }
.kiosque-veille-inner.sort .kiosque-kicker, .kiosque-veille-inner.sort .kiosque-msg { opacity: 0; transform: translateY(-12px); }
.kiosque-veille-inner.entre .kiosque-kicker { animation: kq-in .6s var(--ease-expo) both; }
.kiosque-veille-inner.entre .kiosque-msg { animation: kq-in .8s .08s var(--ease-expo) both; }
@keyframes kq-in { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Surtitres : seules capitales de la page (800, +0,08 em) ---------- */
.kicker, .kiosque-kicker {
  font-family: var(--font); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .kiosque-veille { animation: none; }
  .kiosque-kicker, .kiosque-msg, .dg, .hud-slot { transition: none; }
  .kiosque-veille-inner.entre .kiosque-kicker, .kiosque-veille-inner.entre .kiosque-msg, .hud-w.in, .hud-w.out, .dv.in, .dv.out { animation: none; }
  .bar-link:active, .cta:active, .rdv:active { transform: none; }
  .msg-to i, .msg-pill, .msg-btn, .checks li, .scene-led .price { transition: none; }
  .loader-dot { animation: none; }
}
