/* ==========================================================
   ASBS – Association pour le Sommeil et le Bien-être Scolaire
   Feuille de style du site (mobile d'abord)
   Couleurs et polices : voir la charte graphique ASBS
   ========================================================== */

/* ---------- Polices (hébergées avec le site, aucun appel à Google) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Couleurs de la charte ---------- */
:root {
  --bleu-nuit: #1E2D4F;
  --bleu-nuit-clair: #24365E;
  --sauge: #8FAF9A;
  --sauge-fonce: #4F6E5C;   /* texte vert lisible sur crème */
  --sauge-pale: #E4ECE6;
  --creme: #F6F3EC;
  --blanc: #FFFFFF;
  --or: #D9A441;            /* réservé au bouton du questionnaire */
  --or-fonce: #C48F2C;
  --texte: #1E2D4F;
  --texte-doux: #4A5672;
  --bordure: #E2DCCD;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --rayon: 14px;
  --rayon-grand: 28px;
  --largeur: 1160px;
  --ombre: 0 1px 2px rgba(30, 45, 79, .06), 0 8px 24px rgba(30, 45, 79, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--creme);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--bleu-nuit); text-underline-offset: 3px; }
a:hover { color: var(--sauge-fonce); }
:focus-visible { outline: 3px solid var(--sauge-fonce); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); color: var(--bleu-nuit); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.lien-evitement {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--bleu-nuit); color: var(--creme); padding: 10px 16px;
}
.lien-evitement:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.surtitre {
  font-weight: 600; color: var(--sauge-fonce); font-size: .95rem;
  margin-bottom: .6rem; letter-spacing: .01em;
}
.chapeau { font-size: 1.15rem; color: var(--texte-doux); max-width: 38em; }

.icone { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em;
  font: 600 1.05rem/1.2 var(--sans);
  border-radius: 12px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.bouton:active { transform: translateY(1px); }
/* Le seul bouton doré : le questionnaire */
.bouton-questionnaire { background: var(--or); color: var(--bleu-nuit); box-shadow: 0 6px 18px rgba(217, 164, 65, .35); }
.bouton-questionnaire:hover { background: var(--or-fonce); color: var(--bleu-nuit); }
.bouton-secondaire { background: transparent; color: var(--bleu-nuit); border-color: var(--bleu-nuit); }
.bouton-secondaire:hover { background: var(--bleu-nuit); color: var(--creme); }
.bouton-clair { background: transparent; color: var(--creme); border-color: rgba(246, 243, 236, .6); }
.bouton-clair:hover { background: var(--creme); color: var(--bleu-nuit); }
.bouton-plein { width: 100%; }
@media (min-width: 560px) { .bouton-plein { width: auto; } }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--bordure);
}
.entete .conteneur { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: block; margin-right: auto; }
.logo img { height: 56px; width: auto; }
.bouton-entete { min-height: 42px; padding: .5em 1em; font-size: .95rem; box-shadow: none; }
.bouton-menu {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: var(--bleu-nuit); cursor: pointer;
}
.bouton-menu:hover { background: var(--sauge-pale); }
.bouton-menu .ligne { display: block; width: 22px; height: 2px; background: currentColor; position: relative; border-radius: 2px; transition: background .2s; }
.bouton-menu .ligne::before, .bouton-menu .ligne::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.bouton-menu .ligne::before { top: -7px; }
.bouton-menu .ligne::after { top: 7px; }
.menu-ouvert .bouton-menu .ligne { background: transparent; }
.menu-ouvert .bouton-menu .ligne::before { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .bouton-menu .ligne::after { transform: translateY(-7px) rotate(-45deg); }

.navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--creme); border-bottom: 1px solid var(--bordure); box-shadow: var(--ombre); }
.menu-ouvert .navigation { display: block; }
.navigation ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.navigation li { margin: 0; }
.navigation a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--bordure); }
.navigation li:last-child a { border-bottom: 0; }
.navigation a[aria-current="page"] { color: var(--sauge-fonce); font-weight: 600; }

/* Sans JavaScript, le menu reste visible */
.no-js .bouton-menu { display: none; }
.no-js .navigation { display: block; position: static; box-shadow: none; border: 0; }

@media (max-width: 420px) {
  .logo img { height: 42px; }
  .bouton-entete { padding: .5em .8em; font-size: .9rem; }
}

@media (min-width: 980px) {
  .entete .conteneur { min-height: 88px; }
  .logo img { height: 74px; }
  .bouton-menu { display: none; }
  .navigation, .no-js .navigation { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .navigation ul { display: flex; gap: 4px; padding: 0; }
  .navigation a { border: 0; padding: 10px 14px; border-radius: 8px; }
  .navigation a:hover { background: var(--sauge-pale); color: var(--bleu-nuit); }
  .navigation a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sauge); border-radius: 8px 8px 0 0; }
  .bouton-entete { margin-left: 8px; }
}

/* ---------- Héros (accueil) ---------- */
.heros { padding: 40px 0 48px; }
.heros .conteneur { display: grid; gap: 32px; align-items: center; }
.heros-actions { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 22px; }
.garanties { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--texte-doux); font-size: .97rem; }
.garanties li { display: flex; align-items: center; gap: 8px; margin: 0; }
.garanties .icone { color: var(--sauge-fonce); width: 20px; height: 20px; }
.heros-illustration img { width: 100%; height: auto; border-radius: var(--rayon-grand); }
@media (min-width: 560px) { .heros-actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .heros { padding: 72px 0 80px; }
  .heros .conteneur { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}

/* ---------- En-tête de page intérieure ---------- */
.entete-page { padding: 44px 0 28px; }
.entete-page .chapeau { margin-bottom: 0; }
@media (min-width: 900px) { .entete-page { padding: 72px 0 36px; } }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-blanche { background: var(--blanc); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.section-sombre { background: var(--bleu-nuit); color: var(--creme); }
.section-sombre h2, .section-sombre h3 { color: var(--creme); }
.section-sombre .surtitre { color: var(--sauge); }
.section-sombre a { color: var(--creme); }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.intro-section { max-width: 44em; margin-bottom: 32px; }

/* Texte long (pages intérieures) */
.texte > * { max-width: 46em; }
.texte h2 { margin-top: 1.6em; }
.texte h2:first-child { margin-top: 0; }
.texte h3 { margin-top: 1.4em; }

/* ---------- Grilles et cartes ---------- */
.grille { display: grid; gap: 16px; }
@media (min-width: 700px) { .grille-2 { grid-template-columns: repeat(2, 1fr); } .grille-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grille-3 { grid-template-columns: repeat(3, 1fr); } .grille { gap: 24px; } }

.carte {
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon);
  padding: 22px; display: flex; gap: 16px; align-items: flex-start;
}
.carte h3 { margin: 0 0 .3em; }
.carte p { margin: 0; color: var(--texte-doux); }
.carte .icone { color: var(--bleu-nuit); margin-top: 3px; }
.carte-colonne { flex-direction: column; gap: 10px; }
.pastille-icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--sauge-pale); color: var(--sauge-fonce); flex: none;
}
.pastille-icone .icone { color: inherit; margin: 0; }

/* Étapes numérotées */
.etapes { list-style: none; padding: 0; margin: 0; counter-reset: etape; display: grid; gap: 16px; }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.etapes li { counter-increment: etape; background: var(--creme); border-radius: var(--rayon); padding: 22px 22px 22px 76px; position: relative; margin: 0; }
.etapes li::before {
  content: counter(etape); position: absolute; left: 22px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--bleu-nuit); color: var(--creme);
  font: 700 1.1rem/38px var(--serif); text-align: center;
}
.etapes h3 { margin: 0 0 .25em; font-size: 1.15rem; }
.etapes p { margin: 0; color: var(--texte-doux); }

/* Chiffre clé */
.chiffre-cle { display: grid; gap: 20px; align-items: center; }
.chiffre-cle .nombre { font: 700 clamp(3.2rem, 14vw, 5.5rem)/1 var(--serif); color: var(--creme); }
.chiffre-cle .nombre span { color: var(--sauge); }
.chiffre-cle p { font-size: 1.15rem; margin: 0 0 .5em; max-width: 34em; }
.chiffre-cle .source { font-size: .9rem; color: rgba(246, 243, 236, .7); }
@media (min-width: 900px) { .chiffre-cle { grid-template-columns: auto 1fr; gap: 56px; } }

/* Encadré d'appel à l'action */
.appel {
  background: var(--bleu-nuit); color: var(--creme); border-radius: var(--rayon-grand);
  padding: 36px 24px; text-align: center; position: relative; overflow: hidden;
}
.appel h2 { color: var(--creme); }
.appel p { color: rgba(246, 243, 236, .85); max-width: 32em; margin: 0 auto 24px; }
.appel .etoile { position: absolute; color: var(--or); width: 26px; height: 26px; }
.appel .etoile-1 { top: 22px; left: 24px; }
.appel .etoile-2 { bottom: 26px; right: 30px; width: 18px; height: 18px; }
@media (min-width: 900px) { .appel { padding: 56px 48px; } }

/* Encadrés d'information */
.encadre { background: var(--sauge-pale); border-left: 4px solid var(--sauge-fonce); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 18px 20px; margin: 1.5em 0; }
.encadre p:last-child { margin-bottom: 0; }
.encadre strong { color: var(--bleu-nuit); }

/* Listes à coches */
.liste-coches { list-style: none; padding: 0; }
.liste-coches li { position: relative; padding-left: 32px; }
.liste-coches li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sauge-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%234F6E5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.liste-croix li::before {
  background: #F1E6E3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%239A4A3C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Tableau simple */
.tableau-conteneur { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--blanc); border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bordure); font-size: 1rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--bordure); }
th { background: var(--bleu-nuit); color: var(--creme); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
tr.ligne-forte td { background: var(--sauge-pale); font-weight: 600; }

/* Questions fréquentes */
.faq { display: grid; gap: 12px; max-width: 48em; }
.faq details { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; color: var(--bleu-nuit);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--sauge-fonce); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--texte-doux); }
.faq details > div p:last-child { margin: 0; }

/* Sources */
.sources { font-size: .93rem; color: var(--texte-doux); }
.sources li { margin-bottom: .6em; }

/* ---------- Formulaire de contact ---------- */
.formulaire { display: grid; gap: 18px; max-width: 40em; }
.champ label { display: block; font-weight: 600; margin-bottom: 6px; }
.champ .aide { font-weight: 400; color: var(--texte-doux); font-size: .92rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; color: var(--texte); background: var(--blanc);
  border: 1.5px solid #CFC7B5; border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--sauge-fonce); box-shadow: 0 0 0 3px rgba(143, 175, 154, .35); }
.piege { display: none; }

/* ---------- Pied de page ---------- */
.pied { background: var(--bleu-nuit); color: rgba(246, 243, 236, .85); padding: 48px 0 28px; margin-top: 0; font-size: .97rem; }
.pied a { color: var(--creme); }
.pied .conteneur { display: grid; gap: 32px; }
.pied-logo img { height: 84px; width: auto; }
.pied h2 { font: 600 1rem/1.3 var(--sans); color: var(--creme); margin-bottom: .8em; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; opacity: .8; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .55em; }
.pied li a { text-decoration: none; }
.pied li a:hover { text-decoration: underline; color: var(--sauge); }
.pied-bas { border-top: 1px solid rgba(246, 243, 236, .15); padding-top: 20px; font-size: .88rem; color: rgba(246, 243, 236, .65); grid-column: 1 / -1; }
.pied-bas p { margin: 0 0 .3em; }
@media (min-width: 800px) { .pied .conteneur { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Section d'appel juste avant le pied de page */
.avant-pied { padding: 8px 0 56px; }
@media (min-width: 900px) { .avant-pied { padding-bottom: 88px; } }

/* Page simple centrée (questionnaire provisoire, merci, 404) */
.page-centree { min-height: 60vh; display: flex; align-items: center; padding: 56px 0; text-align: center; }
.page-centree .conteneur { max-width: 640px; }
.page-centree .grande-icone { width: 72px; height: 72px; margin: 0 auto 20px; color: var(--sauge-fonce); }
.page-centree .chapeau { margin-left: auto; margin-right: auto; }
.page-centree .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* Formulaire de contact : message d'erreur et éléments masqués */
[hidden] { display: none !important; }
.erreur-formulaire { background: #F1E6E3; color: #7A3427; border-radius: 10px; padding: 12px 14px; margin: 0; }

/* ==========================================================
   Questionnaire
   ========================================================== */
.entete-questionnaire { padding-bottom: 12px; }
.lien-discret { margin: 12px 0 0; font-size: .95rem; }
.progression { position: sticky; top: 68px; z-index: 40; background: rgba(246, 243, 236, .96); border-bottom: 1px solid var(--bordure); padding: 10px 0; }
.progression .conteneur { display: flex; align-items: center; gap: 12px; }
.progression-piste { flex: 1; height: 8px; border-radius: 8px; background: var(--sauge-pale); overflow: hidden; }
.progression-remplie { height: 100%; width: 0; background: var(--sauge-fonce); border-radius: 8px; transition: width .25s; }
.progression-texte { font-size: .9rem; font-weight: 600; color: var(--sauge-fonce); min-width: 3.2em; text-align: right; }
@media (min-width: 980px) { .progression { top: 88px; } }

.questionnaire { max-width: 46em; }
.partie { margin-bottom: 28px; }
.partie-titre { font-size: 1.35rem; margin: 8px 0 14px; color: var(--sauge-fonce); }
.question { border: 1px solid var(--bordure); background: var(--blanc); border-radius: var(--rayon); padding: 18px 16px 16px; margin: 0 0 14px; min-width: 0; }
.question legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-weight: 600; font-size: 1.07rem; line-height: 1.4; color: var(--bleu-nuit); display: flex; gap: 10px; }
.question legend + * { clear: both; }
.numero { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bleu-nuit); color: var(--creme); font: 700 .9rem/1 var(--serif); margin-right: 2px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.option, .option-echelle { position: relative; cursor: pointer; }
.option input, .option-echelle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span, .option-echelle span {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid #CFC7B5; border-radius: 10px; background: var(--creme);
  font-weight: 500; transition: background .15s, border-color .15s, color .15s;
}
.option-echelle span { justify-content: center; font: 700 1.15rem/1 var(--serif); padding: 0; }
.option:hover span, .option-echelle:hover span { border-color: var(--sauge-fonce); }
.option input:checked + span, .option-echelle input:checked + span { background: var(--bleu-nuit); border-color: var(--bleu-nuit); color: var(--creme); }
.option input:focus-visible + span, .option-echelle input:focus-visible + span { outline: 3px solid var(--sauge-fonce); outline-offset: 2px; }
.echelle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 26em; }
.echelle-legende { display: flex; justify-content: space-between; gap: 12px; max-width: 26em; margin-top: 8px; font-size: .88rem; color: var(--texte-doux); }
.envoi { display: grid; gap: 12px; margin-top: 8px; }
.envoi-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--texte-doux); font-size: .95rem; }
.envoi-note .icone { width: 20px; height: 20px; color: var(--sauge-fonce); }

.alerte { border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.alerte-erreur { background: #F1E6E3; color: #7A3427; }
.alerte-info { background: var(--sauge-pale); color: var(--bleu-nuit); }

/* ==========================================================
   Espace admin
   ========================================================== */
.barre-outils { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin-bottom: 18px; }
.barre-outils label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.barre-outils select, .barre-outils input { font: inherit; font-weight: 400; min-height: 42px; padding: 6px 10px; border: 1.5px solid #CFC7B5; border-radius: 10px; background: var(--blanc); color: var(--texte); }
.barre-outils .espace { flex: 1; }
.bouton-petit { min-height: 42px; padding: .45em 1em; font-size: .95rem; }
.bouton-danger { background: #9A4A3C; color: #fff; }
.bouton-danger:hover { background: #7A3427; color: #fff; }
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
@media (min-width: 800px) { .tuiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tuile { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 16px; }
.tuile-valeur { font: 700 1.6rem/1.1 var(--serif); margin: 0 0 4px; color: var(--bleu-nuit); white-space: nowrap; }
.tuile-libelle { margin: 0; font-size: .9rem; color: var(--texte-doux); }
.titre-admin { font-size: 1.4rem; margin: 8px 0 14px; }
.repartitions { display: grid; gap: 14px; margin-bottom: 40px; }
@media (min-width: 900px) { .repartitions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.repartition { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 18px; }
.repartition h3 { font-size: 1.02rem; font-family: var(--sans); display: flex; gap: 10px; margin-bottom: 4px; line-height: 1.4; }
.repartition-info { font-size: .9rem; color: var(--texte-doux); margin: 0 0 12px; }
.barre-ligne { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) 5.8em; align-items: center; gap: 10px; margin-bottom: 6px; font-size: .93rem; }
.barre-lib { overflow-wrap: anywhere; }
.barre-piste { height: 14px; background: var(--creme); border-radius: 4px; overflow: hidden; }
.barre-val { display: block; height: 100%; background: var(--sauge-fonce); border-radius: 4px; }
.barre-chiffre { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.barre-chiffre small { font-weight: 400; color: var(--texte-doux); }
.tableau-reponses { font-size: .88rem; white-space: nowrap; }
.tableau-reponses th, .tableau-reponses td { padding: 8px 10px; }
.legende { margin: 12px 0 40px; }
.legende summary { cursor: pointer; font-weight: 600; }
.zone-danger { border-top: 1px solid var(--bordure); padding-top: 24px; }
