/* votez.app · style.css · v3.1 · charte Jixic (violet, orange, Poppins) */
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
:root {
  --accent: #453188;         /* remplacé par la couleur du client */
  --accent-texte: #FFFFFF;
  --encre: #453188;          /* violet foncé de la charte */
  --encre-2: #443087;        /* titres */
  --orange: #FE9518;
  --orange-2: #DE7C07;
  --violet: #5B50B4;
  --violet-clair: #7675EA;
  --degrade: linear-gradient(to bottom, #453188 0%, #5B50B4 50%, #7675EA 100%);
  --papier: #FFFFFF;
  --papier-2: #F6F5FA;
  --texte: #1F2229;
  --gris: #7E7E7E;
  --gris-2: #9AA0AB;
  --ligne: #E3E6EB;
  --ligne-2: #C9CED6;
  --juste: #1F9D6A;
  --tete: #FE9518;           /* réponse en tête, scène et vMix uniquement */
  --rayon: 7px;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --corps: "Poppins", "Segoe UI", system-ui, sans-serif;
}
html.votez, .votez *, .votez-surcouche, .votez-surcouche * { box-sizing: border-box; }
html.votez, body.votez { margin: 0; }
body.votez { font-family: var(--corps); color: var(--texte); background: var(--papier-2); line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.votez h1, body.votez h2, body.votez h3, .votez-surcouche h1, .votez-surcouche h2 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
body.votez p, .votez-surcouche p { margin: 0; }
body.votez button, .votez-surcouche button { font: inherit; cursor: pointer; }
body.votez :focus-visible, .votez-surcouche :focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
body.votez [hidden] { display: none !important; }
body.votez a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .votez *, .votez *::before, .votez *::after, .votez-surcouche * { transition: none !important; animation: none !important; } }

/* Marque */
.marque { display: inline-flex; align-items: center; }
.marque img { height: 26px; width: auto; display: block; }
.marque.grande img { height: 40px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: var(--rayon); border: 1.5px solid transparent; font-weight: 600; background: var(--encre); color: #fff; transition: transform .12s ease, opacity .15s ease; white-space: nowrap; }
.bouton:active { transform: scale(.98); }
.bouton.accent { background: var(--accent); color: var(--accent-texte); }
.bouton.second { background: var(--papier); color: var(--texte); border-color: var(--ligne-2); }
.bouton.second.actif { border-color: var(--encre); background: var(--papier-2); }
.bouton.danger { background: var(--papier); color: #B42318; border-color: #F2C4BF; }
.bouton.petit { padding: .42rem .75rem; font-size: .88rem; border-radius: 8px; }
.bouton.icone { padding: .42rem .55rem; }
.bouton:disabled { opacity: .4; cursor: not-allowed; }
.bouton.large { width: 100%; padding: .85rem 1rem; font-size: 1.02rem; }

/* Champs */
.champ { display: grid; gap: .3rem; font-size: .85rem; color: var(--gris); align-content: start; }
.champ > input, .champ > select, .champ > textarea, .champ > div { align-self: start; }
.champ > span { font-weight: 500; }
.champ input, .champ select, .champ textarea { font: inherit; color: var(--texte); padding: .6rem .8rem; border-radius: 8px; border: 1.5px solid var(--ligne-2); width: 100%; background: var(--papier); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre); outline: none; }
.champ.ligne { grid-template-columns: auto 1fr; align-items: center; gap: .6rem; }
.champ small { color: var(--gris-2); }
.bascule { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-radius: 8px; border: 1.5px solid var(--ligne); font-size: .92rem; }
.bascule input { width: 40px; height: 22px; appearance: none; background: var(--ligne-2); border-radius: 999px; position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.bascule input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.bascule input:checked { background: var(--encre); }
.bascule input:checked::after { left: 21px; }
.bascule.actif { border-color: var(--encre); }

/* Pastille lettre, étiquettes */
.pastille { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 6px; border: 1.5px solid var(--ligne-2); color: var(--gris); font-family: var(--display); font-weight: 600; font-size: .9rem; flex: none; }
.pastille.plein { background: var(--encre); border-color: var(--encre); color: #fff; }
.etiquette { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gris); }
.etiquette.type { padding: .15rem .5rem; border-radius: 999px; background: var(--papier-2); border: 1px solid var(--ligne); text-transform: none; letter-spacing: 0; font-weight: 500; }

/* Chrono */
.chrono { display: inline-flex; align-items: center; gap: .4rem; font-variant-numeric: tabular-nums; color: var(--gris); font-weight: 500; }
.chrono.urgent { color: #B42318; }
.chrono svg { width: 1.3em; height: 1.3em; }
.chrono circle { fill: none; stroke-width: 3; }
.chrono .fond { stroke: var(--ligne); }
.chrono .reste { stroke: currentColor; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .5s linear; }

/* Barres de résultat */
.resultats { display: grid; gap: .55rem; }
.ligne-resultat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; }
.ligne-resultat .libelle { font-weight: 500; }
.ligne-resultat .libelle small { color: var(--gris); font-weight: 400; }
.ligne-resultat .pct { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
.ligne-resultat .barre { grid-column: 2 / 4; height: 10px; border-radius: 3px; background: var(--papier-2); overflow: hidden; }
.ligne-resultat .barre i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--encre); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.ligne-resultat.juste .barre i { background: var(--juste); }
.ligne-resultat.juste .pct { color: var(--juste); }
.ligne-resultat.juste .pastille { background: var(--juste); border-color: var(--juste); color: #fff; }
.ligne-resultat.perdu { opacity: .5; }
.total { font-size: .85rem; color: var(--gris); }

/* Nuage de mots */
.nuage { display: flex; flex-wrap: wrap; gap: .3em .7em; align-items: baseline; justify-content: center; line-height: 1.1; }
.nuage span { font-family: var(--display); font-weight: 600; color: var(--encre); }
.nuage span.n1 { font-size: 1em; opacity: .7; } .nuage span.n2 { font-size: 1.3em; opacity: .8; } .nuage span.n3 { font-size: 1.7em; } .nuage span.n4 { font-size: 2.2em; } .nuage span.n5 { font-size: 2.8em; }

/* Notation */
.notation { display: grid; gap: .5rem; }
.notation .moyenne { font-family: var(--display); font-size: 3em; font-weight: 600; line-height: 1; }
.notation .moyenne small { font-size: .35em; color: var(--gris); font-weight: 500; }
.notation .distribution { display: flex; gap: .3rem; align-items: flex-end; height: 3.5em; }
.notation .distribution div { flex: 1; background: var(--encre); border-radius: 3px 3px 0 0; min-height: 3px; transition: height .5s; }
.notation .graduations { display: flex; justify-content: space-between; font-size: .75rem; color: var(--gris); }

/* Textes libres */
.textes { display: grid; gap: .5rem; }
.textes .texte { padding: .7rem .9rem; border-radius: 8px; background: var(--papier); border: 1px solid var(--ligne); }
.textes .texte .auteur { font-size: .78rem; color: var(--gris); margin-top: .2rem; }

/* Podium */
.podium { display: grid; gap: .5rem; }
.podium .rang { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 8px; background: var(--papier); border: 1px solid var(--ligne); }
.podium .rang:nth-child(1) { border-color: var(--encre); }
.podium .rang .num { font-family: var(--display); font-weight: 600; color: var(--gris); }
.podium .rang .score { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Portillon ---------- */
.portillon { min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem; }
.portillon form { background: var(--papier); padding: 2rem; border-radius: 16px; width: min(400px, 100%); display: grid; gap: 1rem; border: 1px solid var(--ligne); }
.portillon .erreur { color: #B42318; font-size: .9rem; }
.portillon h1 { font-size: 1.25rem; }

/* ---------- Backoffice (admin et espace) ---------- */
.back { min-height: 100dvh; display: flex; flex-direction: column; }
.back > header { background: var(--papier); border-bottom: 1px solid var(--ligne); padding: .7rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; }
.back > header .titre { display: flex; align-items: center; gap: .9rem; }
.back > header .titre .sep { color: var(--ligne-2); }
.back > header nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.back main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 1.2rem; display: grid; gap: 1.2rem; align-content: start; }
.back main.deux { grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.5fr); }
@media (max-width: 860px) { .back main.deux { grid-template-columns: 1fr; } }
.panneau { background: var(--papier); border-radius: 14px; border: 1px solid var(--ligne); padding: 1.1rem 1.2rem; display: grid; gap: .9rem; align-content: start; }
.panneau h2 { font-size: 1.05rem; }
.panneau .entete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.panneau .sous { font-size: .85rem; color: var(--gris); }
.liste { display: grid; gap: .5rem; }
.liste .item { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; padding: .7rem .85rem; border-radius: 10px; border: 1.5px solid var(--ligne); background: var(--papier); }
.liste .item.courant { border-color: var(--encre); }
.liste .item.glisse { opacity: .4; }
.liste .item .meta { font-size: .78rem; color: var(--gris); }
.liste .item .nom { font-weight: 500; }
.liste .item .actions { display: flex; gap: .3rem; align-items: center; }
.liste .item .poignee { cursor: grab; color: var(--gris-2); padding: 0 .3rem; font-size: 1.1rem; user-select: none; }
.grille-boutons { display: flex; flex-wrap: wrap; gap: .5rem; }
.grille-champs { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choix-edition { display: grid; gap: .4rem; }
.choix-edition > div { display: flex; gap: .5rem; align-items: center; }
.choix-edition input[type=text] { flex: 1; font: inherit; padding: .5rem .7rem; border-radius: 8px; border: 1.5px solid var(--ligne-2); }
.choix-edition input[type=radio] { width: 18px; height: 18px; margin: 0; }
.qr { display: grid; gap: .6rem; justify-items: center; }
.qr svg { width: 170px; height: 170px; }
.qr .adresse { font-size: .8rem; color: var(--gris); word-break: break-all; text-align: center; }
.apercu-fond { height: 90px; border-radius: 8px; background: var(--papier-2) center/cover; border: 1px solid var(--ligne); display: grid; place-items: center; color: var(--gris-2); font-size: .85rem; }
.pastille-couleur { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ligne-2); }
.statut { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.statut::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gris-2); }
.statut.ouvert::before { background: var(--juste); box-shadow: 0 0 0 4px rgba(31,157,106,.2); }
.statut.ferme::before { background: #B42318; }
.stat { display: grid; gap: .1rem; }
.stat b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.stat span { font-size: .78rem; color: var(--gris); }
.pied { font-size: .8rem; color: var(--gris); text-align: center; padding: 1.2rem; }
.vide { color: var(--gris); font-size: .9rem; padding: .6rem 0; }
.message { padding: .7rem .9rem; border-radius: 8px; background: var(--papier-2); font-size: .9rem; border: 1px solid var(--ligne); }
.message.ok { border-color: var(--juste); }

/* ---------- Participant ---------- */
body.participant { min-height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; padding: 1rem 1.1rem 0; background: var(--papier); }
body.participant.avec-fond { background: var(--papier-2) center/cover fixed; }
.participant header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .3rem 0 1rem; }
.participant header .evenement { font-size: .82rem; color: var(--gris); text-align: right; line-height: 1.3; }
.participant header .logo-client { height: 30px; width: auto; }
.participant main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; padding-bottom: 2rem; }
.participant .carte { background: var(--papier); border-radius: 14px; padding: 1.1rem; border: 1px solid var(--ligne); display: grid; gap: 1rem; }
.participant .attente { text-align: center; padding: 2rem 0; }
.participant .anneau { width: 56px; height: 56px; margin: 0 auto 1.2rem; border-radius: 50%; border: 4px solid var(--ligne); border-top-color: var(--encre); animation: tourner 1.1s linear infinite; }
@keyframes tourner { to { transform: rotate(360deg); } }
.participant .question { font-size: clamp(1.3rem, 5.2vw, 1.7rem); }
.participant .entete-page { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--gris); }
.choix { display: grid; gap: .6rem; }
.choix button { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; padding: .9rem 1rem; border-radius: var(--rayon); border: 1.5px solid var(--ligne-2); background: var(--papier); font-size: 1.02rem; font-weight: 500; color: var(--texte); transition: border-color .15s, background .15s, transform .1s; }
.choix button:active { transform: scale(.985); }
.choix button.choisi { border-color: var(--accent); background: var(--papier-2); }
.choix button.choisi .pastille { background: var(--accent); border-color: var(--accent); color: var(--accent-texte); }
.confirmation { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: var(--rayon); background: var(--papier); border: 1.5px solid var(--ligne-2); font-weight: 500; }
.confirmation .coche { width: 28px; height: 28px; border-radius: 50%; background: var(--juste); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.confirmation.faux .coche { background: #B42318; }
.confirmation.neutre .coche { background: var(--gris-2); }
.notes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.notes.dix { grid-template-columns: repeat(5, 1fr); }
.notes button { padding: .9rem 0; border-radius: var(--rayon); border: 1.5px solid var(--ligne-2); background: var(--papier); font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--texte); }
.notes button.choisi { background: var(--accent); border-color: var(--accent); color: var(--accent-texte); }
.saisie { display: grid; gap: .6rem; }
.saisie input, .saisie textarea { font: inherit; padding: .8rem .9rem; border-radius: var(--rayon); border: 1.5px solid var(--ligne-2); width: 100%; }
.mots-saisis { display: flex; flex-wrap: wrap; gap: .4rem; }
.mots-saisis span { padding: .3rem .7rem; border-radius: 999px; background: var(--papier-2); border: 1px solid var(--ligne); font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; }
.mots-saisis span b { cursor: pointer; color: var(--gris); font-weight: 400; }
.participant .score-perso { text-align: center; display: grid; gap: .3rem; }
.participant .score-perso b { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.participant .pied { padding: 1rem; }
.participant .pied img { height: 16px; vertical-align: middle; opacity: .7; }

/* ---------- Console de lancement ---------- */
.console { min-height: 100dvh; display: flex; flex-direction: column; background: var(--papier-2); }
.console > header { background: var(--encre); color: #fff; padding: .6rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.console > header .evt { font-size: .9rem; opacity: .85; }
.console > header nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.console > header nav a, .console > header nav button { color: #fff; background: transparent; text-decoration: none; font-size: .85rem; padding: .35rem .65rem; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; }
.console main { flex: 1; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(340px, 1.4fr); gap: 1rem; padding: 1rem; max-width: 1280px; width: 100%; margin: 0 auto; align-content: start; }
@media (max-width: 860px) { .console main { grid-template-columns: 1fr; } }
.console .pilotage { display: grid; gap: .8rem; }
.console .pilotage .etat-ligne { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.console .question-courante { font-size: 1.15rem; font-family: var(--display); font-weight: 600; }
.console .gros-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.console .gros-boutons .bouton { padding: .9rem; font-size: 1rem; }
.console .stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.console .raccourcis { font-size: .78rem; color: var(--gris); }
.console .raccourcis kbd { font: inherit; padding: .05rem .35rem; border: 1px solid var(--ligne-2); border-radius: 4px; background: var(--papier); }
.console .moderation .texte { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; }
.console .moderation .texte.valide { border-color: var(--juste); }
.console .apercu { border-radius: 10px; background: var(--encre-2); color: #fff; padding: 1rem; display: grid; gap: .7rem; min-height: 120px; }
.console .apercu .resultats .barre { background: rgba(255,255,255,.12); }
.console .apercu .resultats .barre i { background: #fff; }
.console .apercu .ligne-resultat.tete .barre i { background: var(--tete); }
.console .apercu .pastille { border-color: rgba(255,255,255,.35); color: #fff; }
.console .apercu .nuage span, .console .apercu .notation .distribution div { color: #fff; background: #fff; }
.console .apercu .nuage span { background: none; }
.console .apercu .textes .texte, .console .apercu .podium .rang { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }

/* ---------- Scène ---------- */
body.scene { background: var(--encre-2); color: #fff; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(1.2rem, 3vw, 2.5rem) clamp(1.2rem, 5vw, 5rem); position: relative; }
body.scene.avec-fond::before { content: ""; position: absolute; inset: 0; background: var(--fond) center/cover; opacity: .35; z-index: 0; }
.scene > * { position: relative; z-index: 1; }
.scene header { display: flex; justify-content: space-between; align-items: center; font-size: clamp(.9rem, 1.6vw, 1.2rem); opacity: .85; }
.scene header .logo-client { height: clamp(28px, 4vw, 56px); width: auto; }
.scene main { display: grid; align-content: center; gap: clamp(1.2rem, 3vw, 2.5rem); }
.scene .question { font-size: clamp(1.6rem, 4.2vw, 3.6rem); max-width: 24ch; }
.scene .annonce { font-size: clamp(1.8rem, 5vw, 4.4rem); max-width: 22ch; }
.scene .resultats { gap: clamp(.8rem, 1.6vw, 1.4rem); font-size: clamp(1rem, 2.2vw, 1.8rem); }
.scene .pastille { width: 1.7em; height: 1.7em; font-size: 1em; border-color: rgba(255,255,255,.35); color: #fff; }
.scene .ligne-resultat .barre { height: .5em; background: rgba(255,255,255,.12); }
.scene .ligne-resultat .barre i { background: #DCE1EA; }
.scene .ligne-resultat.tete .barre i { background: var(--tete); }
.scene .ligne-resultat.tete .pct { color: var(--tete); }
.scene .ligne-resultat.juste .barre i, .scene .ligne-resultat.juste .pastille { background: var(--juste); }
.scene .ligne-resultat.juste .pct { color: var(--juste); }
.scene .nuage { font-size: clamp(1rem, 2.4vw, 2rem); }
.scene .nuage span { color: #fff; }
.scene .notation { font-size: clamp(1rem, 2.2vw, 1.8rem); }
.scene .notation .distribution div { background: #DCE1EA; }
.scene .textes { font-size: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.scene .textes .texte, .scene .podium .rang { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.scene .podium { font-size: clamp(1rem, 2.2vw, 1.8rem); }
.scene .podium .rang:nth-child(1) { border-color: var(--tete); }
.scene .accueil { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.scene .accueil h1 { font-size: clamp(1.8rem, 4.5vw, 4rem); max-width: 18ch; }
.scene .accueil p { font-size: clamp(1rem, 2vw, 1.5rem); opacity: .8; margin-top: .8rem; }
.scene .qr-scene { background: #fff; padding: clamp(.8rem, 1.5vw, 1.4rem); border-radius: 14px; }
.scene .qr-scene svg { width: clamp(160px, 22vw, 340px); height: auto; display: block; }
.scene .qr-scene .adresse { color: var(--texte); font-family: var(--display); font-weight: 600; text-align: center; margin-top: .6rem; font-size: clamp(.9rem, 1.4vw, 1.3rem); }
@media (max-width: 700px) { .scene .accueil { grid-template-columns: 1fr; } }
.scene footer { display: flex; justify-content: space-between; align-items: center; font-size: clamp(.9rem, 1.6vw, 1.3rem); opacity: .85; }
.scene footer img { height: clamp(18px, 2vw, 30px); opacity: .6; }
.scene .total b { font-family: var(--display); font-size: 1.3em; }
.scene .chrono { color: #fff; font-size: 1.2em; }
.scene .chrono.urgent { color: var(--tete); }
.scene .chrono .fond { stroke: rgba(255,255,255,.2); }

/* ---------- vMix (1920 × 1080, bandeau à gauche) ---------- */
body.vmix { width: 1920px; height: 1080px; overflow: hidden; position: relative; background: transparent; color: #fff; }
.vmix .bandeau { position: absolute; left: 80px; bottom: 80px; width: 1120px; background: rgba(27,29,36,.94); border-radius: 22px; padding: 40px 48px; display: grid; gap: 26px; transform: translateY(140%); opacity: 0; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.vmix .bandeau.visible { transform: translateY(0); opacity: 1; }
.vmix .entete { display: flex; justify-content: space-between; align-items: center; font-size: 24px; color: #B7BCC7; }
.vmix .question { font-size: 46px; max-width: 24ch; }
.vmix .annonce { font-size: 54px; }
.vmix .resultats { gap: 16px; font-size: 28px; }
.vmix .pastille { width: 48px; height: 48px; font-size: 24px; border-color: rgba(255,255,255,.35); color: #fff; }
.vmix .ligne-resultat .barre { height: 16px; background: rgba(255,255,255,.12); }
.vmix .ligne-resultat .barre i { background: #DCE1EA; }
.vmix .ligne-resultat.tete .barre i { background: var(--tete); }
.vmix .ligne-resultat.tete .pct { color: var(--tete); }
.vmix .ligne-resultat.juste .barre i, .vmix .ligne-resultat.juste .pastille { background: var(--juste); }
.vmix .ligne-resultat.juste .pct { color: var(--juste); }
.vmix .nuage { font-size: 30px; justify-content: flex-start; }
.vmix .nuage span { color: #fff; }
.vmix .notation { font-size: 28px; }
.vmix .notation .distribution div { background: #DCE1EA; }
.vmix .textes { font-size: 26px; grid-template-columns: 1fr 1fr; }
.vmix .textes .texte, .vmix .podium .rang { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.vmix .podium { font-size: 28px; }
.vmix .podium .rang:nth-child(1) { border-color: var(--tete); }
.vmix .chrono { color: #fff; font-size: 30px; }
.vmix .chrono .fond { stroke: rgba(255,255,255,.2); }
.vmix .qr-vmix { display: flex; align-items: center; gap: 30px; }
.vmix .qr-vmix svg { width: 220px; height: 220px; background: #fff; padding: 12px; border-radius: 12px; }
.vmix .qr-vmix .adresse { font-family: var(--display); font-size: 40px; font-weight: 600; }
.vmix .damier { position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><rect width='40' height='40' fill='%23444'/><rect x='40' y='40' width='40' height='40' fill='%23444'/><rect x='40' width='40' height='40' fill='%23555'/><rect y='40' width='40' height='40' fill='%23555'/></svg>"); }

/* ---------- Surcouche lecteur (vote seulement, à droite) ---------- */
.votez-surcouche { position: absolute; right: 16px; bottom: 16px; width: min(340px, calc(100% - 32px)); background: #fff; color: #1F2229; border-radius: 14px; padding: .95rem 1rem; box-shadow: 0 16px 40px rgba(0,0,0,.35); transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; font-family: var(--corps); line-height: 1.4; -webkit-font-smoothing: antialiased; z-index: 20; }
.votez-surcouche.visible { transform: none; opacity: 1; pointer-events: auto; }
.votez-surcouche.reduite { width: auto; padding: .5rem .8rem; font-size: .85rem; }
.votez-surcouche .question { font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: .6rem; line-height: 1.25; }
.votez-surcouche .entete-page { display: flex; justify-content: space-between; font-size: .75rem; color: #6B7280; margin-bottom: .4rem; }
.votez-surcouche .choix { gap: .4rem; }
.votez-surcouche .choix button { padding: .55rem .65rem; font-size: .9rem; gap: .55rem; }
.votez-surcouche .pastille { width: 1.5rem; height: 1.5rem; font-size: .8rem; }
.votez-surcouche .notes button { padding: .5rem 0; font-size: 1rem; }
.votez-surcouche .saisie input, .votez-surcouche .saisie textarea { padding: .55rem .7rem; font-size: .9rem; }
.votez-surcouche .confirmation { padding: .5rem .7rem; font-size: .9rem; }
.votez-surcouche .bouton { margin-top: .6rem; }
@media (max-width: 640px) { .votez-surcouche { position: static; width: 100%; margin-top: 10px; box-shadow: none; border: 1px solid #E3E6EB; transform: none; } .votez-surcouche:not(.visible) { display: none; } }

/* ---------- Console v3 (client) ---------- */
.console3 { min-height: 100dvh; display: flex; flex-direction: column; background: var(--papier-2); }
.console3 > header { background: var(--papier); border-bottom: 1px solid var(--ligne); padding: .75rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; }
.console3 > header .titre { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.console3 > header .titre .noms { line-height: 1.2; }
.console3 > header .titre .noms b { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.console3 > header .titre .noms span { display: block; font-size: .82rem; color: var(--gris); }
.console3 > header nav { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.console3 > header nav a { text-decoration: none; }
.menu { display: flex; gap: .25rem; padding: .7rem 1.4rem 0; max-width: 1180px; width: 100%; margin: 0 auto; }
.menu button { background: transparent; border: none; padding: .55rem .9rem; border-radius: 8px 8px 0 0; color: var(--gris); font-weight: 500; border-bottom: 2px solid transparent; }
.menu button.actif { color: var(--texte); border-bottom-color: var(--encre); }
.console3 main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 1rem 1.4rem 2rem; display: grid; gap: 1rem; align-content: start; }
.console3 .panneau { padding: 1.3rem 1.5rem; border-radius: 16px; }
.pilotage { display: grid; gap: 1rem; }
.pilotage .ligne-haut { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pilotage .en-cours { display: grid; gap: .15rem; min-width: 0; }
.pilotage .en-cours .etiquette { letter-spacing: .06em; }
.pilotage .en-cours .texte { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.pilotage .compteurs { display: flex; gap: 1.6rem; }
.pilotage .trois { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
.pilotage .trois .bouton { padding: .95rem 1rem; font-size: 1.02rem; border-radius: 12px; }
.pilotage .nav-pages { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; align-items: center; }
.pilotage .nav-pages .groupe { display: flex; gap: .5rem; flex-wrap: wrap; }
.bandeau-ouvert { display: none; align-items: center; gap: .6rem; padding: .55rem .9rem; border-radius: 10px; background: #E7F7F0; color: #0F6E4C; font-weight: 600; }
.bandeau-ouvert.visible { display: inline-flex; }
.bandeau-ouvert::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--juste); box-shadow: 0 0 0 4px rgba(31,157,106,.2); }
.verrou { opacity: .45; pointer-events: none; }
.liste-pages .item { grid-template-columns: auto 1fr auto; }
.liste-pages .item .num { font-family: var(--display); font-weight: 600; color: var(--gris-2); width: 1.6rem; text-align: right; }
.liste-pages .item.courant { border-color: var(--encre); background: var(--papier-2); }
.liste-pages .item.jouee .num { color: var(--juste); }
.apercu3 { border-radius: 12px; background: var(--encre-2); color: #fff; padding: 1rem 1.1rem; display: grid; gap: .7rem; min-height: 90px; }
.apercu3 .resultats .barre { background: rgba(255,255,255,.12); }
.apercu3 .resultats .barre i { background: #DCE1EA; }
.apercu3 .ligne-resultat.tete .barre i { background: var(--tete); }
.apercu3 .pastille { border-color: rgba(255,255,255,.35); color: #fff; }
.apercu3 .nuage span { color: #fff; }
.apercu3 .notation .distribution div { background: #DCE1EA; }
.apercu3 .textes .texte, .apercu3 .podium .rang { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.apercu3 .attente-diffusion { color: #B7BCC7; font-style: italic; }
.acces .adresse-grande { font-family: var(--display); font-weight: 600; font-size: 1.15rem; word-break: break-all; }
.acces .qr { justify-items: start; }
.essai .cadre { position: relative; aspect-ratio: 16 / 9; background: #0d0f14; border-radius: 12px; overflow: hidden; }
.essai .cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.essai .cadre .vide-video { position: absolute; inset: 0; display: grid; place-items: center; color: #7d829a; }
.deux-colonnes { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.3fr); gap: 1rem; }
@media (max-width: 900px) { .deux-colonnes { grid-template-columns: 1fr; } .pilotage .trois { grid-template-columns: 1fr; } }
.deux-colonnes.seule { grid-template-columns: 1fr; }
.marque-texte { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; opacity: .55; }
.pied a { color: inherit; }
.grille-trois { display: grid; gap: .8rem; grid-template-columns: repeat(3, minmax(160px, 1fr)); }
@media (max-width: 760px) { .grille-trois { grid-template-columns: 1fr; } }
.liste .item .nom.grand { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.portillon .contexte { text-align: center; display: grid; gap: .1rem; }
.portillon .contexte b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.portillon .contexte span { color: var(--gris); font-size: .9rem; }
/* écran diffusion 1920x1080 */
body.diffusion { width: 1920px; height: 1080px; overflow: hidden; position: relative; background: #1B1D24; color: #fff; margin: 0; }
body.diffusion.transparent { background: transparent; }
body.diffusion .fond { position: absolute; inset: 0; background: center/cover; }
body.diffusion main { position: absolute; inset: 0; padding: 120px 160px; display: grid; align-content: center; gap: 48px; }
body.diffusion .question { font-size: 72px; max-width: 24ch; line-height: 1.1; }
body.diffusion .annonce { font-size: 96px; max-width: 22ch; }
body.diffusion .resultats { gap: 26px; font-size: 40px; }
body.diffusion .pastille { width: 72px; height: 72px; font-size: 36px; border-color: rgba(255,255,255,.35); color: #fff; }
body.diffusion .ligne-resultat .barre { height: 22px; background: rgba(255,255,255,.14); }
body.diffusion .ligne-resultat .barre i { background: #DCE1EA; }
body.diffusion .ligne-resultat.tete .barre i { background: var(--tete); }
body.diffusion .ligne-resultat.tete .pct { color: var(--tete); }
body.diffusion .ligne-resultat.juste .barre i, body.diffusion .ligne-resultat.juste .pastille { background: var(--juste); }
body.diffusion .ligne-resultat.juste .pct { color: var(--juste); }
body.diffusion .nuage { font-size: 44px; }
body.diffusion .nuage span { color: #fff; }
body.diffusion .notation { font-size: 40px; }
body.diffusion .notation .distribution div { background: #DCE1EA; }
body.diffusion .textes { font-size: 36px; grid-template-columns: 1fr 1fr; }
body.diffusion .textes .texte, body.diffusion .podium .rang { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
body.diffusion .podium { font-size: 40px; }
body.diffusion .podium .rang:nth-child(1) { border-color: var(--tete); }
body.diffusion .accueil { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 120px; }
body.diffusion .accueil h1 { font-size: 88px; max-width: 16ch; line-height: 1.05; }
body.diffusion .accueil p { font-size: 36px; opacity: .8; margin-top: 24px; }
body.diffusion .qr-diff { background: #fff; padding: 28px; border-radius: 24px; }
body.diffusion .qr-diff svg { width: 420px; height: 420px; display: block; }
body.diffusion .qr-diff .adresse { color: var(--texte); font-family: var(--display); font-weight: 600; text-align: center; margin-top: 16px; font-size: 30px; }
body.diffusion .compteur { position: absolute; right: 160px; bottom: 80px; font-size: 32px; opacity: .8; }
body.diffusion .compteur b { font-family: var(--display); font-size: 1.4em; color: var(--tete); }
body.diffusion #chronoD .chrono { position: absolute; right: 160px; top: 80px; font-size: 44px; color: #fff; }
body.diffusion .chrono .fond { stroke: rgba(255,255,255,.2); }
/* v3.2 */
.liste-pages .item.en-vote { background: var(--accent); border-color: var(--accent); color: var(--accent-texte); }
.liste-pages .item.en-vote .meta, .liste-pages .item.en-vote .num { color: var(--accent-texte); opacity: .85; }
.liste-pages .item.en-vote .bouton.second { background: transparent; color: var(--accent-texte); border-color: rgba(255,255,255,.4); }
.liste-pages .item.en-vote .poignee { color: var(--accent-texte); }
.liste-pages .item.jouee .num { color: var(--juste); }
.liste-pages .item .jouee-marque { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; color: var(--juste); font-weight: 600; margin-left: .4rem; }
.liste-pages .item .jouee-marque::before { content: "✓"; }
.bouton.accent.en-cours:disabled { opacity: 1; }
.acces .bloc-mdp { display: grid; gap: .5rem; padding-bottom: 1.1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--ligne); }
.grille-deux { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sous-section { border-top: 1px solid var(--ligne); padding-top: 1rem; margin-top: .4rem; display: grid; gap: .8rem; }
.lien-adresse { font-weight: 600; color: var(--texte); }
body.votez a.bouton { color: #fff; text-decoration: none; }
body.votez a.bouton.second { color: var(--texte); }
body.votez a.bouton.accent { color: var(--accent-texte); }
body.votez a.bouton.app { color: #fff; }
/* v3.3 */
.votez-surcouche .question { font-size: 1.2rem; }
.votez-surcouche .bouton.large { padding: .55rem 1rem; margin-top: .5rem; }
.votez-surcouche.resultats-vote .entete-page .mot-resultats { color: #D6330D; font-weight: 700; }
.back .panneau.detail { background: #FFF1DA; border-color: #F3DDB4; }
.back .panneau.detail .champ input, .back .panneau.detail .champ textarea, .back .panneau.detail .bascule, .back .panneau.detail .liste .item, .back .panneau.detail .apercu-fond, .back .panneau.detail .message { background: #fff; }
.pilotage .trois #fermer { background: #FEB362; color: #1F2229; }
.pilotage .trois #fermer:disabled { background: #FEB362; opacity: .35; }
.question.longue { line-height: 1.15; }
body.participant .question.longue { font-size: clamp(1.15rem, 4.4vw, 1.35rem); }
body.scene .question { max-width: 30ch; }
body.scene .question.longue { font-size: clamp(1.4rem, 3vw, 2.6rem); max-width: 40ch; }
body.diffusion .question { max-width: 28ch; }
body.diffusion .question.longue { font-size: 56px; max-width: 40ch; }
/* v3.4 */
.apercu3 { background: #3F434D; }
.console3 > header .marque { cursor: pointer; }
.pilotage .trois #reveler { border-color: #EF6666; color: #EF6666; background: var(--papier); }
.pilotage .trois #reveler.actif { background: #EF6666; border-color: #EF6666; color: #fff; }
.pilotage .trois #reveler:disabled { border-color: var(--ligne-2); color: var(--gris-2); }
.back .panneau.detail { background: #F2F2FF; border-color: #DCDCF5; }
.back .panneau.liste-espaces { background: #FFF9F2; border-color: #F3E3CC; }
.back .panneau.liste-espaces .liste .item { background: #fff; }
.discret { font-size: .8rem; color: var(--gris); }
.discret a { color: var(--gris); }
/* question à la taille des réponses */
body.participant .question, body.participant .question.longue { font-size: 1.05rem; }
body.scene .question, body.scene .question.longue { font-size: clamp(1rem, 2.2vw, 1.8rem); max-width: none; }
body.diffusion .question, body.diffusion .question.longue { font-size: 40px; max-width: none; }
.votez-surcouche .question { font-size: 1rem; }
.votez-surcouche .choix button { font-size: 1rem; }
/* cadre personnalisable */
body.scene.cadre-perso main, body.diffusion.cadre-perso main { background: var(--cadre-fond, transparent); border: var(--cadre-contour, none); border-radius: 24px; padding: clamp(1.2rem, 3vw, 3rem); }
body.diffusion.cadre-perso main { inset: 120px 160px; }
body.participant.cadre-perso .carte { background: var(--cadre-fond, var(--papier)); border: var(--cadre-contour, 1px solid var(--ligne)); }
.reglage-cadre { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.reglage-cadre input[type=range] { width: 100%; }
/* cadre clair sur scène et diffusion : texte sombre */
body.scene.cadre-clair main, body.diffusion.cadre-clair main { color: #1F2229; }
body.scene.cadre-clair .pastille, body.diffusion.cadre-clair .pastille { border-color: rgba(0,0,0,.3); color: #1F2229; }
body.scene.cadre-clair .ligne-resultat .barre, body.diffusion.cadre-clair .ligne-resultat .barre { background: rgba(0,0,0,.1); }
body.scene.cadre-clair .ligne-resultat .barre i, body.diffusion.cadre-clair .ligne-resultat .barre i { background: #4A4F5C; }
body.scene.cadre-clair .nuage span, body.diffusion.cadre-clair .nuage span { color: #1F2229; }
body.scene.cadre-clair .notation .distribution div, body.diffusion.cadre-clair .notation .distribution div { background: #4A4F5C; }
body.scene.cadre-clair .textes .texte, body.scene.cadre-clair .podium .rang, body.diffusion.cadre-clair .textes .texte, body.diffusion.cadre-clair .podium .rang { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12); }
body.scene.cadre-clair .attente-diffusion { color: #4A4F5C; }
/* cadre sombre sur téléphone : texte clair */
body.participant.cadre-sombre .carte { color: #fff; }
body.participant.cadre-sombre .carte .choix button, body.participant.cadre-sombre .carte .notes button, body.participant.cadre-sombre .carte .confirmation, body.participant.cadre-sombre .carte .saisie input, body.participant.cadre-sombre .carte .saisie textarea { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); }
body.participant.cadre-sombre .carte .pastille { border-color: rgba(255,255,255,.4); color: #fff; }
body.participant.cadre-sombre .carte .ligne-resultat .barre { background: rgba(255,255,255,.15); }
body.participant.cadre-sombre .carte .ligne-resultat .barre i { background: #fff; }
body.participant.cadre-sombre .carte .total, body.participant.cadre-sombre .carte .entete-page { color: rgba(255,255,255,.7); }
body.scene.cadre-perso main { align-self: center; }
body.diffusion.cadre-perso main { inset: auto 160px; top: 50%; transform: translateY(-50%); padding: 80px 120px; }
/* v3.5 */
body.cadre-texte.scene main, body.cadre-texte.diffusion main, body.cadre-texte.participant .carte, body.cadre-texte.scene .nuage span, body.cadre-texte.diffusion .nuage span, body.cadre-texte.scene .attente-diffusion { color: var(--cadre-texte); }
body.cadre-texte.scene .pastille, body.cadre-texte.diffusion .pastille, body.cadre-texte.participant .carte .pastille { color: var(--cadre-texte); border-color: var(--cadre-texte); }
body.cadre-texte.scene .ligne-resultat .pct, body.cadre-texte.diffusion .ligne-resultat .pct, body.cadre-texte.participant .carte .pct { color: var(--cadre-texte); }
.ligne-resultat .barre i { max-width: 100%; }
.votez-surcouche .question { font-size: 1.15rem; }
.reglage-cadre { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.reglage-cadre select { font: inherit; padding: .5rem .6rem; border-radius: 8px; border: 1.5px solid var(--ligne-2); width: 100%; }
/* v3.6 : réglage du cadre */
.cadre-lignes { display: grid; gap: .5rem; }
.cadre-ligne { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; padding: .5rem .7rem; border: 1.5px solid var(--ligne); border-radius: 10px; background: var(--papier); }
.cadre-ligne > label.on { display: flex; align-items: center; gap: .5rem; font-weight: 500; min-width: 120px; cursor: pointer; }
.cadre-ligne > label.on input { width: 18px; height: 18px; margin: 0; }
.cadre-ligne input[type=color] { width: 36px; height: 36px; padding: 2px; border: 1.5px solid var(--ligne-2); border-radius: 8px; background: var(--papier); cursor: pointer; }
.cadre-ligne select { font: inherit; padding: .4rem .6rem; border-radius: 8px; border: 1.5px solid var(--ligne-2); background: var(--papier); }
.cadre-ligne .epaisseurs { display: inline-flex; border: 1.5px solid var(--ligne-2); border-radius: 8px; overflow: hidden; }
.cadre-ligne .epaisseurs button { border: none; background: var(--papier); padding: .4rem .7rem; font-size: .88rem; color: var(--gris); }
.cadre-ligne .epaisseurs button.actif { background: var(--encre); color: #fff; }
.cadre-ligne.inactif > :not(label.on) { opacity: .35; pointer-events: none; }
.bouton.large:disabled, .votez-surcouche .bouton:disabled { opacity: 1; cursor: pointer; }
/* v3.7 */
:root { --q-taille: 1; }
body.participant .question, body.participant .question.longue { font-size: calc(1.05rem * var(--q-taille)); }
body.scene .question, body.scene .question.longue { font-size: calc(clamp(1rem, 2.2vw, 1.8rem) * var(--q-taille)); }
body.diffusion .question, body.diffusion .question.longue { font-size: calc(40px * var(--q-taille)); }
.votez-surcouche .question { font-size: 1.25rem; margin: .5rem 0 .8rem; }
.votez-surcouche .bouton.envoi { opacity: .5; }
.votez-surcouche .ligne-resultat.juste .barre i, .votez-surcouche .ligne-resultat.juste .pastille { background: var(--accent); border-color: var(--accent); }
.votez-surcouche .ligne-resultat.juste .pct { color: var(--accent); }
.cadre-ligne input[type=range] { appearance: none; -webkit-appearance: none; width: 150px; height: 6px; border-radius: 3px; background: var(--ligne-2); outline: none; margin: 0 .3rem; }
.cadre-ligne input[type=range]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--encre); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ligne-2); cursor: pointer; }
.cadre-ligne input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--encre); border: 2px solid #fff; cursor: pointer; }
.cadre-ligne .val { font-variant-numeric: tabular-nums; min-width: 4ch; color: var(--gris); font-size: .9rem; }
.apercu-bloc { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.apercu-bloc .legende { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-2); font-weight: 600; align-self: center; }
@media (max-width: 700px) { .apercu-bloc { grid-template-columns: 1fr; } .apercu-bloc .legende { writing-mode: horizontal-tb; transform: none; } }
.liste-pages .item .diffusee-marque { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; color: var(--gris); font-weight: 600; margin-left: .4rem; }
.liste-pages .item .diffusee-marque::before { content: "◉"; font-size: .7em; }
/* v3.9 : couleur des bonnes réponses (jauge, lettre, pourcentage), comme le marquage existant */
body.cadre-jauge .ligne-resultat.juste .barre i { background: var(--jauge); }
body.cadre-jauge .ligne-resultat.juste .pastille { background: var(--jauge); border-color: var(--jauge); color: #fff; }
body.cadre-jauge .ligne-resultat.juste .pct { color: var(--jauge); }
/* v4.1 · surcouche sur petit écran : sous le lecteur, en pleine largeur, comme en salle */
@media (max-width: 700px) { .votez-surcouche.visible { position: static; width: 100%; margin-top: 10px; max-height: none; } .votez-surcouche.visible.reduite { width: 100%; } }


/* ==================== Charte Jixic · v8.2 ====================
   Seule la couche visuelle change : bandeaux violets, logo blanc v4, boutons orange et violet,
   Poppins hébergée. Les couleurs fonctionnelles (vert en cours de vote, rouge Révéler) restent. */
body.votez h1, body.votez h2, body.votez h3 { color: var(--encre-2); }
.bouton { background: var(--orange); color: #fff; }
.bouton:hover { background: var(--orange-2); }
.bouton.accent { background: var(--accent); color: var(--accent-texte); }
.bouton.accent:hover { background: var(--accent); filter: brightness(.92); }
.bouton.second { background: var(--papier); color: var(--encre); border: 2px solid var(--encre); }
.bouton.second:hover { background: var(--papier-2); }
.bouton.second.actif { background: var(--papier-2); }
.bouton.danger { background: var(--papier); }
.bouton.danger:hover { background: #FFF3F2; }
body.votez a { color: var(--encre); }
.marque img { height: 32px; }
.marque.grande img { height: 44px; }

/* Bandeau violet des pages d'entrée (accès, console, admin) */
body.portillon, .portillon { background: var(--papier-2); position: relative; }
.portillon .bandeau { position: absolute; left: 0; right: 0; top: 0; height: 200px; background: var(--degrade); z-index: 0; }
.portillon .bandeau .marque { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); }
.portillon form { position: relative; z-index: 1; margin-top: 60px; box-shadow: 0 20px 50px rgba(69,49,136,.12); }
.portillon form > .marque { display: none; }

/* Participant */
body.participant { padding-top: 0; background: var(--papier-2); }

/* Console et admin */
.console3 > header, .back > header { background: var(--degrade); color: #fff; border-bottom: 0; }
.console3 > header .titre .sep, .back > header .titre .sep { color: rgba(255,255,255,.4) !important; }
.console3 > header .noms, .back > header .titre strong { color: #fff; }
.console3 > header .noms span, .back > header .titre span { color: rgba(255,255,255,.8); }
.console3 > header nav .bouton.second, .back > header nav .bouton.second { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.console3 > header nav .bouton.second:hover, .back > header nav .bouton.second:hover { background: rgba(255,255,255,.12); }
.console3 > header nav .bouton.second.actif, .back > header nav .bouton.second.actif { background: #fff; color: var(--encre); border-color: #fff; }
.pilotage .trois #ouvrir { background: var(--encre); color: #fff; }
.pilotage .trois #fermer { background: var(--papier); color: var(--encre); border: 2px solid var(--encre); }

/* Scène : dégradé violet par défaut, même dégradé que l'accueil du site */
body.scene { background: var(--degrade); }
.scene .ligne-resultat .barre i { background: rgba(255,255,255,.35); }
.scene .ligne-resultat.tete .barre i { background: var(--tete); }
.scene footer .marque-logo { height: 40px; width: auto; opacity: .95; }
body.votez.scene h1, body.votez.scene h2, body.votez.scene h3, body.votez.diffusion h1, body.votez.diffusion h2, body.votez .apercu h1, body.votez .apercu h2 { color: #fff; }


/* ==================== Piste B (v8.3) : participant, accès et scène sur le dégradé, vagues en bas ====================
   Les vagues sont un dessin vectoriel blanc translucide (6 % et 10 %), fixé en bas de l'écran, derrière le contenu.
   Leur hauteur suit celle de l'écran : 30 % de la hauteur, entre 150 et 320 px (téléphone), jusqu'à 36 % sur la scène. */
:root { --vagues: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 390 260%27 preserveAspectRatio=%27none%27><path d=%27M0 120 C 80 60, 150 190, 240 130 S 350 90, 390 150 L390 260 L0 260Z%27 fill=%27rgba(255,255,255,0.06)%27/><path d=%27M0 200 C 90 140, 170 240, 260 190 S 340 160, 390 210 L390 260 L0 260Z%27 fill=%27rgba(255,255,255,0.10)%27/></svg>"); }
body.votez.participant, body.votez.portillon, body.votez.scene { background: var(--degrade); background-attachment: fixed; color: #fff; }
body.votez.participant::after, body.votez.portillon::after, body.votez.scene::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: clamp(150px, 30vh, 320px); background: var(--vagues) center bottom / 100% 100% no-repeat; pointer-events: none; z-index: 0; }
body.votez.scene::after { height: clamp(200px, 36vh, 420px); }
body.votez.participant > *, body.votez.portillon > *, body.votez.scene > * { position: relative; z-index: 1; }
body.votez.participant h1, body.votez.participant h2, body.votez.participant h3, body.votez.portillon h1 { color: #fff; }

/* Participant */
.participant header { padding: 1.2rem 0 .6rem; }
.participant header .marque img { height: 36px; }
.participant header .evenement { color: rgba(255,255,255,.85); }
.participant header .evenement strong { color: #fff; font-size: 1rem; }
.participant .carte { background: transparent; border: 0; padding: .4rem 0; box-shadow: none; }
.participant .entete-page { color: rgba(255,255,255,.7); font-weight: 500; }
.participant .question { font-size: clamp(1.4rem, 5.6vw, 1.75rem); }
.participant .choix button { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.35); color: #fff; font-weight: 500; }
.participant .choix button .pastille { border-color: rgba(255,255,255,.55); color: #fff; }
.participant .choix button.choisi { background: #fff; border-color: #fff; color: var(--encre); }
.participant .choix button.choisi .pastille { background: var(--accent); border-color: var(--accent); color: var(--accent-texte); }
.participant .bouton.accent { border: 2px solid rgba(255,255,255,.85); }
.participant .bouton { box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.participant .champ, .participant .champ > span { color: rgba(255,255,255,.85); }
.participant .champ input, .participant .champ textarea, .participant .saisie input, .participant .saisie textarea { background: #fff; color: var(--texte); border-color: transparent; }
.participant .attente { color: rgba(255,255,255,.85); }
.participant .anneau { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
.participant .confirmation, .participant .message { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.participant .confirmation .coche { background: #fff; color: var(--encre); }
.participant .ligne-resultat .barre { background: rgba(255,255,255,.18); }
.participant .ligne-resultat .barre i { background: #fff; }
.participant .ligne-resultat .pct, .participant .ligne-resultat .libelle { color: #fff; }
.participant .ligne-resultat .libelle small { color: rgba(255,255,255,.7); }
.participant .ligne-resultat.juste .barre i, .participant .ligne-resultat.juste .pastille { background: var(--tete); border-color: var(--tete); }
.participant .ligne-resultat.juste .pct { color: var(--tete); }
.participant .pastille { border-color: rgba(255,255,255,.55); color: #fff; }
.participant .pastille.plein { background: #fff; border-color: #fff; color: var(--encre); }
.participant .nuage span { color: #fff; }
.participant .notation .distribution div { background: #fff; }
.participant .notation .moyenne small, .participant .notation .graduations { color: rgba(255,255,255,.7); }
.participant .textes .texte { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.participant .textes .texte .auteur { color: rgba(255,255,255,.7); }
.participant .podium .rang { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.participant .podium .rang:nth-child(1) { background: #fff; color: var(--encre); border-color: #fff; }
.participant .podium .rang .num { color: inherit; opacity: .7; }
.participant .score-perso { color: #fff; }
.participant .etiquette { color: rgba(255,255,255,.7); }
.participant .etiquette.type { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.participant .pied, .participant .pied a { color: rgba(255,255,255,.75); }
.participant .erreur { color: #FFD6D2; }

/* Accès (portillon) : plus de carte blanche, tout sur le dégradé */
body.portillon .bandeau { display: none; }
body.portillon { display: grid; place-items: start center; padding-top: 6vh; }
body.portillon form { background: transparent; border: 0; box-shadow: none; margin-top: 0; padding: 1rem 1.2rem; color: #fff; }
body.portillon form > .marque { display: inline-flex; margin-bottom: .6rem; }
body.portillon form > .marque img { height: 40px; }
body.portillon form .sous, body.portillon form .champ, body.portillon form .champ > span, body.portillon form .pied, body.portillon form a { color: rgba(255,255,255,.85) !important; }
body.portillon form .champ input { background: #fff; border-color: transparent; color: var(--texte); }
body.portillon form .erreur { color: #FFD6D2; }

/* Scène : les mêmes vagues, plus hautes */
.scene .ligne-resultat .barre { background: rgba(255,255,255,.18); }
.participant main { justify-content: flex-start; padding-top: 1.2rem; }
.participant .total, .participant .sous, .participant .carte p, .participant .attente p { color: rgba(255,255,255,.75); }
.scene .total, .scene footer { color: rgba(255,255,255,.75); }

/* ==================== v8.4 · Constellation des participants (écrans publics) ==================== */
body.votez.participant::after, body.votez.portillon::after, body.votez.scene::after { content: none; }
.constellation { position: fixed; left: 0; right: 0; bottom: 0; height: clamp(150px, 30vh, 320px); z-index: 0; pointer-events: none; overflow: hidden; }
body.scene .constellation { height: clamp(220px, 36vh, 460px); }
.constellation svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: cst-derive 18s ease-in-out infinite alternate; }
.constellation i { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; opacity: .55; animation: cst-flotte 9s ease-in-out infinite; }
.constellation i.orange { background: var(--orange); opacity: 1; width: 9px; height: 9px; margin: -4px 0 0 -4px; box-shadow: 0 0 0 4px rgba(254,149,24,.25); }
body.scene .constellation i { width: 8px; height: 8px; }
.constellation.pause svg, .constellation.pause i { animation-play-state: paused; }
@keyframes cst-flotte { 50% { transform: translate(10px, -14px); } }
@keyframes cst-derive { to { transform: translateX(-2%); } }
@media (prefers-reduced-motion: reduce) { .constellation svg, .constellation i { animation: none !important; } }
/* Point « en direct » qui bat, en haut des écrans publics */
.en-direct { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .8rem; color: #fff; }
.en-direct::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(254,149,24,.6); animation: direct-pulse 1.6s infinite; }
@keyframes direct-pulse { 70% { box-shadow: 0 0 0 9px rgba(254,149,24,0); } 100% { box-shadow: 0 0 0 0 rgba(254,149,24,0); } }
.participant .compteur-connectes { font-size: .8rem; color: rgba(255,255,255,.75); text-align: right; }
.participant .compteur-connectes b { color: #fff; }

/* ==================== v8.4 · Console et admin ==================== */
.console3, .back { position: relative; }
.fond-formes { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fond-formes i { position: absolute; display: block; }
.fond-formes .f1 { width: 560px; height: 560px; right: -140px; top: -120px; border-radius: 120px; transform: rotate(18deg); background: linear-gradient(135deg, rgba(118,117,234,.14), rgba(118,117,234,0) 65%); }
.fond-formes .f2 { width: 340px; height: 340px; right: 60px; top: 220px; border-radius: 80px; transform: rotate(18deg); border: 1.5px solid rgba(69,49,136,.09); }
.fond-formes .f3 { width: 900px; height: 260px; left: -200px; bottom: -60px; transform: rotate(-8deg); background: linear-gradient(90deg, rgba(69,49,136,.07), rgba(69,49,136,0)); }
.fond-formes .f4 { width: 220px; height: 220px; left: 260px; bottom: -40px; border-radius: 56px; transform: rotate(-12deg); border: 1.5px solid rgba(69,49,136,.08); }
.fond-formes .f5 { width: 12px; height: 12px; left: 520px; bottom: 170px; border-radius: 50%; background: rgba(254,149,24,.35); }
.fond-formes .f6 { width: 6px; height: 6px; right: 300px; top: 170px; border-radius: 50%; background: rgba(69,49,136,.2); }
.fond-formes .f7 { width: 380px; height: 380px; right: -90px; bottom: -140px; border-radius: 96px; transform: rotate(-14deg); background: linear-gradient(315deg, rgba(118,117,234,.13), rgba(118,117,234,0) 65%); }
.fond-formes .f8 { width: 200px; height: 200px; right: 140px; bottom: 40px; border-radius: 52px; transform: rotate(-14deg); border: 1.5px solid rgba(69,49,136,.09); }
.fond-formes .f9 { width: 10px; height: 10px; right: 330px; bottom: 120px; border-radius: 50%; background: rgba(254,149,24,.35); }
@media (max-width: 900px) { .fond-formes .f3, .fond-formes .f4, .fond-formes .f5, .fond-formes .f8, .fond-formes .f9 { display: none; } }
.console3 > *, .back > * { position: relative; z-index: 1; }
.console3 > header, .back > header { background: linear-gradient(90deg, #453188, #5B50B4); padding: .9rem 1.6rem; }
.console3 > header .titre .noms b, .back > header .titre strong { font-size: 1.05rem; }
.console3 > header .marque img, .back > header .marque img { height: 36px; }
.console3 > header nav .bouton.second, .back > header nav .bouton.second { border-radius: 999px; padding: .5rem 1rem; }
.menu { padding: 1rem 1.6rem 0; gap: .4rem; }
.menu button { border-radius: 999px; padding: .55rem 1.1rem; border-bottom: 0; color: var(--encre-2); font-weight: 500; }
.menu button.actif { background: var(--encre); color: #fff; border-bottom: 0; }
.console3 main, .back main { padding: 1rem 1.6rem 2.5rem; }
.console3 .panneau, .back .panneau { background: #fff; border: 0; border-radius: 16px; box-shadow: 0 10px 30px rgba(69,49,136,.08); }
.panneau .entete h2, .panneau h2 { color: var(--encre-2); font-size: 1rem; }
.pilotage .en-cours .etiquette { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: #EDEAFB; color: var(--encre); letter-spacing: 0; text-transform: none; font-size: .72rem; }
.pilotage .en-cours .texte { font-size: 1.2rem; color: var(--texte); }
.pilotage .compteurs .stat b { font-family: var(--display); font-size: 1.9rem; color: var(--encre-2); line-height: 1.05; font-weight: 700; }
.pilotage .trois .bouton { border-radius: 12px; }
.pilotage .trois #ouvrir { background: var(--encre); color: #fff; }
.pilotage .trois #ouvrir.en-cours, .pilotage .trois #ouvrir:disabled.en-cours { background: var(--juste); color: #fff; }
.pilotage .trois #reveler { background: #fff; color: #EF6666; border: 2px solid #EF6666; }
.pilotage .trois #reveler.actif { background: #EF6666; color: #fff; }
.pilotage .trois #fermer { background: #fff; color: var(--encre); border: 2px solid var(--encre); }
.pilotage .nav-pages .bouton.second.petit { border-width: 1.5px; border-color: #E5E3EE; color: #5A5964; border-radius: 8px; }
.apercu-bloc .legende { color: var(--encre-2); opacity: .55; }
.apercu3 { background: var(--degrade); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.liste-pages .item { border-radius: 12px; border: 1.5px solid #EEECF5; background: #fff; }
.liste-pages .item .num { width: 30px; height: 30px; border-radius: 50%; background: #EDEAFB; color: var(--encre); display: grid; place-items: center; font-size: .8rem; text-align: center; }
.liste-pages .item.courant { border-color: var(--juste); background: #F0FAF5; }
.liste-pages .item.courant .num { background: var(--juste); color: #fff; }
.liste-pages .item.jouee .num { background: #E7F7F0; color: var(--juste); }
.liste-pages .item .etiquette, .item .sous { color: var(--gris); }
.bandeau-ouvert { border-radius: 999px; }
.champ input, .champ select, .champ textarea { border-color: #E5E3EE; border-radius: 8px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre); }
.bascule { border-color: #E5E3EE; border-radius: 10px; }
.bascule input:checked { background: var(--encre); }
.pilotage .en-cours .etiquette { justify-self: start; }
.liste-pages .item.en-vote, .liste-pages .item.courant.en-vote { background: var(--juste); border-color: var(--juste); color: #fff; }
.liste-pages .item.en-vote .num { background: rgba(255,255,255,.2); color: #fff; }
.liste-pages .item.en-vote .diffusee-marque, .liste-pages .item.en-vote .etiquette { color: rgba(255,255,255,.85); }

/* ==================== v8.5 · Marque blanche (réglée dans l'admin seulement) ==================== */
.logo-client-marque { display: none; height: 40px; width: auto; }
body.marque-blanche .marque-votez { display: none !important; }
body.marque-blanche .logo-client-marque:not([hidden]) { display: block; }
body.marque-blanche:not(.logo-blanc) .logo-client-marque { background: #fff; padding: 5px 10px; border-radius: 10px; height: 44px; box-sizing: border-box; }
body.marque-blanche.participant header .evenement .logo-client, body.marque-blanche.scene header .logo-client { display: none; }
body.scene .logo-client-marque { height: 48px; }
body.marque-blanche.scene:not(.logo-blanc) .logo-client-marque { height: 56px; }
.console3 > header .logo-client-marque { height: 36px; }
body.sans-credits .pied, body.sans-credits #version, body.sans-credits .console3 .pied { display: none !important; }
/* Console : deux colonnes sur écran large */
@media (min-width: 1500px) {
  .console3 main { max-width: 1440px; }
  #ongletPages { grid-template-columns: minmax(420px, 1fr) minmax(0, 1.5fr); align-items: start; }
  #ongletPages > .pilotage { position: sticky; top: 90px; }
  #ongletPages > #moderation { grid-column: 1 / -1; }
}
.pilotage .trois #fermer:disabled { background: #fff; opacity: .35; }

/* ==================== v8.6 · Admin : même fond que la console, cartes blanches ==================== */
.back { background: var(--papier-2); }
.back .panneau.detail, .back .panneau.liste-espaces { background: #fff; border: 0; border-color: transparent; }
.back .panneau.detail .champ input, .back .panneau.detail .champ textarea, .back .panneau.detail .bascule, .back .panneau.detail .liste .item, .back .panneau.detail .apercu-fond { background: #fff; border-color: #E5E3EE; }
.back .panneau.liste-espaces .liste .item { border: 1.5px solid #EEECF5; border-radius: 12px; }
.back .panneau.liste-espaces .liste .item.courant { border-color: var(--encre); background: #F3F1FB; }
.back main.deux { gap: 1.4rem; align-items: start; }
.back .panneau.liste-espaces { position: sticky; top: 90px; }
.back .sous-section { border-top: 1px solid #EEECF5; padding-top: 1rem; margin-top: 1.2rem; }
#dMarqueBlanche .grille-champs { grid-template-columns: 1fr; }
#dMarqueBlanche .bascule { padding: .75rem 1rem; }
/* v8.7 · Admin : formes qui suivent la page (la colonne de gauche est souvent vide) */
.back .fond-formes { position: absolute; inset: 0; height: 100%; }
.back .fond-formes .f1 { opacity: 1.4; } .back .fond-formes .f7 { display: none; }
.back .fond-formes .f10 { width: 300px; height: 300px; left: 60px; top: 520px; border-radius: 72px; transform: rotate(-16deg); background: linear-gradient(135deg, rgba(118,117,234,.16), rgba(118,117,234,0) 65%); }
.back .fond-formes .f11 { width: 180px; height: 180px; left: 260px; top: 760px; border-radius: 48px; transform: rotate(-16deg); border: 1.5px solid rgba(69,49,136,.11); }
.back .fond-formes .f12 { width: 10px; height: 10px; left: 230px; top: 1000px; border-radius: 50%; background: rgba(254,149,24,.4); }
.back .fond-formes .f13 { width: 360px; height: 360px; left: -120px; top: 1500px; border-radius: 90px; transform: rotate(12deg); background: linear-gradient(45deg, rgba(69,49,136,.10), rgba(69,49,136,0) 65%); }
.back .fond-formes .f14 { width: 240px; height: 240px; left: 120px; top: 2200px; border-radius: 60px; transform: rotate(-10deg); border: 1.5px solid rgba(69,49,136,.10); }
.back .fond-formes .f3 { bottom: 40px; } .back .fond-formes .f4 { bottom: 120px; } .back .fond-formes .f5 { bottom: 300px; }
.back .fond-formes .f8 { bottom: 80px; } .back .fond-formes .f9 { bottom: 200px; }
@media (max-width: 860px) { .back .fond-formes .f10, .back .fond-formes .f11, .back .fond-formes .f12, .back .fond-formes .f13, .back .fond-formes .f14 { display: none; } }

/* ===== v8.8 (27 sept. 2026) · écran scène et écran diffusion aux proportions d'une diapositive projetée =====
   Référence 1920 × 1080 : question 60 px, réponses 52 px, lettres dans des cases de 82 px, pourcentage 40 px,
   marges latérales 90 px. La scène suit la largeur de l'écran (vw), la diffusion est fixe en 1920 × 1080. */
body.scene { padding: clamp(1.2rem, 2.7vw, 3.25rem) clamp(1.2rem, 4.7vw, 5.6rem); }
body.scene .question, body.scene .question.longue { font-size: calc(clamp(1.3rem, 3.125vw, 3.75rem) * var(--q-taille)); line-height: 1.2; max-width: none; }
body.scene .question.longue { font-size: calc(clamp(1.15rem, 2.6vw, 3.1rem) * var(--q-taille)); }
body.scene .resultats { gap: clamp(.9rem, 2.2vw, 2.6rem); font-size: clamp(1.1rem, 2.7vw, 3.25rem); }
body.scene .pastille { width: 1.58em; height: 1.58em; font-size: 1em; border-width: .06em; border-radius: .27em; }
body.scene .ligne-resultat .pct { font-size: .77em; }
body.scene .ligne-resultat .barre { height: .2em; border-radius: .1em; }
body.scene .choix-scene, body.scene .nuage { font-size: clamp(1.1rem, 2.7vw, 3.25rem); }
body.scene .notation, body.scene .podium, body.scene .textes { font-size: clamp(1.1rem, 2.4vw, 2.9rem); }
body.scene .annonce { font-size: clamp(1.6rem, 3.6vw, 4.3rem); }
body.scene .accueil h1 { font-size: clamp(1.6rem, 3.6vw, 4.3rem); }
body.scene .total, body.scene header, body.scene footer { font-size: clamp(.9rem, 1.45vw, 1.75rem); }
body.diffusion .question, body.diffusion .question.longue { font-size: calc(60px * var(--q-taille)); line-height: 1.2; max-width: none; }
body.diffusion .question.longue { font-size: calc(50px * var(--q-taille)); }
body.diffusion .resultats { gap: 42px; font-size: 52px; }
body.diffusion .pastille { width: 82px; height: 82px; font-size: 46px; border-width: 3px; border-radius: 14px; }
body.diffusion .ligne-resultat .pct { font-size: 40px; }
body.diffusion .ligne-resultat .barre { height: 10px; border-radius: 5px; }
/* v8.8 : la scène respire comme une diapositive : en-tête, puis question et réponses centrées dans l'espace restant, constellation plus basse */
body.scene { grid-template-rows: auto 1fr auto; row-gap: clamp(1rem, 2.4vw, 2.8rem); }
body.scene main { align-content: center; padding-bottom: clamp(0px, 8vh, 90px); }
body.scene .constellation { height: clamp(140px, 24vh, 300px); opacity: .8; }
body.scene .ligne-resultat .barre { margin-top: .12em; }
