/* Feuille principale — 1-signature.
   Une seule colonne, beaucoup d'air, aucun ornement : la gaieté vient de la
   couleur et du rythme (docs/specifications.md §12.1). */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); letter-spacing: -.02em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.6rem); margin: 2em 0 .6em; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* --- En-tête et pied ---------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
/* Le logo est vectorisé (§12.3) : il grandit sans rien perdre. Sa hauteur suit
   la largeur de l'écran plutôt qu'une valeur fixe — sur un téléphone il doit
   laisser la place au reste de l'en-tête. */
.logo-img { display: block; height: clamp(34px, 5.5vw, 46px); width: auto; }
/* Le logo réservé ne sert que sur fond sombre : par défaut il reste absent. */
.logo-img--dark { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-img--light { display: none; }
  :root:not([data-theme="light"]) .logo-img--dark { display: block; }
}
:root[data-theme="dark"] .logo-img--light { display: none; }
:root[data-theme="dark"] .logo-img--dark { display: block; }

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .9rem;
}
.site-footer .wrap { padding-block: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }

/* --- « Propulsé par Goodflag » (§12.3) ---------------------------------- */

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.3;
}
.powered-by img { height: 18px; width: auto; }

/* Le logo Goodflag est une encre sombre : sur le panneau du thème sombre il
   s'effaçait. Deux fichiers, un par thème, sur le motif du logo du site — le
   média pour la préférence système, l'attribut pour un thème choisi à la main.
   La règle porte « .powered-by » parce que « .powered-by img » la primerait. */
.powered-by .goodflag-img--light { display: block; }
.powered-by .goodflag-img--dark  { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .powered-by .goodflag-img--light { display: none; }
  :root:not([data-theme="light"]) .powered-by .goodflag-img--dark  { display: block; }
}
:root[data-theme="dark"] .powered-by .goodflag-img--light { display: none; }
:root[data-theme="dark"] .powered-by .goodflag-img--dark  { display: block; }

/* --- Le chapô de l'accueil (§12.4) -------------------------------------- */

/* L'accroche nomme l'usage avant que le titre n'énonce la promesse. Elle
   précède le h1 et doit donc rester visiblement secondaire. */
.hero__kicker {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
}
.hero__powered { margin-block: 18px 24px; }

/* --- Fil de progression : la ligne de métro (§12.1) --------------------- */

.metro {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scrollbar-width: thin;
}
.metro li {
  position: relative;
  flex: 1 0 auto;
  min-width: 84px;
  padding-top: 26px;
  text-align: center;
  font-size: .76rem;
  color: var(--muted);
}
/* Le trait de la ligne, tiré d'une station à l'autre. */
.metro li::before {
  content: "";
  position: absolute;
  top: 8px; left: -50%;
  width: 100%; height: 3px;
  background: var(--line);
}
.metro li:first-child::before { display: none; }
/* La station. */
.metro li::after {
  content: "";
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%);
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--line);
}
.metro li.done { color: var(--ink); }
.metro li.done::before,
.metro li.current::before { background: var(--brand); }
.metro li.done::after { background: var(--brand); border-color: var(--brand); }
.metro li.current { color: var(--brand); font-weight: 600; }
.metro li.current::after {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}

/* --- Fiches de niveau : une ligne colorée par niveau -------------------- */

.levels { display: grid; gap: 14px; margin: 24px 0; }
.level {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--level-color, var(--brand));
  border-radius: var(--r);
  background: var(--panel);
}
.level__badge {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--level-color, var(--brand));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.level__name { font-weight: 600; }
.level__auth { color: var(--muted); font-size: .9rem; }
.level__prereq {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--star-soft);
  color: var(--star-ink);
  font-size: .85rem;
}
.level__price { font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }

/* --- Blocs et formulaires ----------------------------------------------- */

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.note {
  padding: 14px 16px;
  border-left: 4px solid var(--info);
  border-radius: var(--r-sm);
  background: var(--panel-alt);
  font-size: .92rem;
}
.note--warn { border-left-color: var(--warn); }

label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 2px;
}

/* Un code se saisit comme une plaque : espacé, en capitales. Sert au code à
   usage unique comme au code de SignPass — même geste, même rendu. */
.code-input {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  /* Et non « #fff » : en thème sombre la marque est claire, et du blanc y
     donnait 2,10. Le jeton porte la bonne encre dans chaque thème. */
  color: var(--on-brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--brand-deep); }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

/* Les tableaux engendrés par le filtre « editorial » partagent le traitement
   de la grille tarifaire : un texte d'éditeur n'a pas à porter de classe. */
.price-table,
.table-scroll table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th, .price-table td,
.table-scroll th, .table-scroll td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.price-table th:first-child, .price-table td:first-child,
.table-scroll th:first-child, .table-scroll td:first-child { text-align: left; }
.table-scroll { overflow-x: auto; }

/* Un texte long se lit mieux étroit, et ses titres ont besoin d'air. */
.prose h2 { margin: 32px 0 10px; }
.prose h3 { margin: 24px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: 4px; }

@media (max-width: 560px) {
  .level { grid-template-columns: auto 1fr; }
  .level__price { grid-column: 2; }
}

/* --- Retours de formulaire ---------------------------------------------- */

.note--error { border-left-color: var(--danger); }

.field-error {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: .88rem;
  font-weight: 600;
}

.help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .88rem;
}

form.resend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.note ul { margin: .4em 0 0; padding-left: 1.2em; }
.note li { margin-bottom: .2em; }

button[disabled] { opacity: .5; cursor: not-allowed; }

/* --- Étape 3 : placement du champ de signature -------------------------- */

.viewer {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
}

.viewer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.viewer__group { display: flex; align-items: center; gap: 8px; }
.viewer__count {
  font-family: var(--font-display);
  font-weight: 600;
  min-width: 7ch;
  text-align: center;
}

.btn--small { padding: 7px 14px; font-size: .88rem; }

/* La scène est le repère du cadre : le canvas la dimensionne, le cadre s'y
   positionne en pourcentages, ce qui le rend indépendant du zoom. */
.viewer__stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px;
  background: var(--panel-alt);
  overflow: auto;
}
.viewer__stage canvas {
  display: block;
  max-width: 100%;
  box-shadow: 0 2px 14px -6px rgba(0, 0, 0, .35);
  background: #fff;
  cursor: crosshair;
  /* Surtout pas de touch-action: none ici — ce serait confisquer le pincement
     et le défilement, précisément les gestes dont on a besoin pour viser sur
     un A4 réduit à la largeur d'un téléphone. Seul le cadre les neutralise. */
}

.sigfield {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid var(--brand);
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  cursor: grab;
  touch-action: none;
}
.sigfield:active { cursor: grabbing; }
.sigfield__label {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  color: var(--brand);
  pointer-events: none;
  padding-inline: 4px;
  text-align: center;
}
.sigfield__handle {
  position: absolute;
  right: -7px; bottom: -7px;
  width: 15px; height: 15px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: var(--brand);
  cursor: nwse-resize;
}
.sigfield:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 3px;
}

/* Un champ AcroForm existant a été retenu : le cadre manuel n'a plus cours. */
.viewer--disabled .viewer__stage { opacity: .45; }
.viewer--disabled .sigfield { display: none; }

.viewer__hint {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.choices { margin: 0 0 18px; }
.choices legend {
  font-family: var(--font-display);
  font-weight: 600;
  padding-inline: 6px;
}
.choice {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 400;
  margin-bottom: 8px;
}
.choice input { margin: 0; }

/* Destination des étoiles : le choix est un groupe, avec sa saisie de code
   décalée sous l'option à laquelle elle se rapporte. */
.destination { border: 0; }
.destination legend {
  font-weight: 600;
  padding: 0;
  margin-bottom: 10px;
}
.destination__code {
  margin: 0 0 12px 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.destination__code label { font-size: .9rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* --- Préparation des fichiers, après la signature ----------------------- */

.progress__title { margin: 0 0 14px; font-weight: 600; }

.progress__bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.progress__fill {
  display: block;
  height: 100%;
  background: var(--brand);
  /* La barre avance par paliers, pas en continu : la transition évite le
     saut sec d'un rechargement à l'autre. */
  transition: width 400ms ease-out;
}

.progress__steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.progress__step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 5px;
  color: var(--muted);
  font-size: .95rem;
}
.progress__marker {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transform: translateY(-1px);
}
/* Faite : pastille pleine, texte en encre. En cours : pastille cerclée
   du vert de marque et texte appuyé — l'œil doit trouver la ligne courante sans la
   chercher. En attente : tout reste en retrait. */
.progress__step--faite { color: var(--ink); }
.progress__step--faite .progress__marker {
  background: var(--brand);
  border-color: var(--brand);
}
.progress__step--en_cours { color: var(--ink); font-weight: 600; }
.progress__step--en_cours .progress__marker {
  border-color: var(--brand);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* La référence publique du SignPass, sous son code : discrète, car elle ne
   vaut rien — c'est justement ce qui permet de l'écrire partout. */
.code-panel__reference {
  margin: 10px 0 0;
  font-size: .85rem;
  color: var(--muted);
}

/* Les trois pièces remises, chacune avec ce à quoi elle sert. */
.downloads { list-style: none; margin: 0; padding: 0; }
.downloads__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid var(--rule, #e6e6e6);
}
.downloads__item:first-child { border-top: 0; }
.downloads__item .btn { flex: 0 0 auto; min-width: 210px; }
.downloads__help { flex: 1 1 260px; font-size: .9rem; color: var(--muted); }

/* Attente de la signature : toute attente doit être signalée (§12.2 mobile). */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid var(--muted);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 900ms linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* --- Tactile ------------------------------------------------------------
   Les niveaux qualifiés passent obligatoirement par France Identité ou par
   l'Identité Numérique La Poste, donc par un téléphone. Le parcours doit s'y
   conduire au doigt : ces règles ne sont pas un agrément, elles conditionnent
   l'accès à la moitié du catalogue. */

@media (pointer: coarse) {
  /* Cible tactile d'au moins 44 px, poignée comprise : la poignée reste
     discrète à l'œil, sa zone sensible est deux fois plus large. */
  .sigfield__handle {
    right: -11px; bottom: -11px;
    width: 22px; height: 22px;
  }
  .sigfield__handle::after {
    content: "";
    position: absolute;
    inset: -11px;
  }
  .btn, .btn--small { min-height: 44px; }
  .btn--small { display: inline-flex; align-items: center; justify-content: center; }
  .choice { padding-block: 6px; }
  .choice input { width: 20px; height: 20px; }
}

@media (max-width: 600px) {
  .viewer__stage { padding: 8px; }
  .viewer__bar { padding: 10px; }

  /* Le fil de progression cesse d'énumérer les sept étapes pour ne nommer que
     celle en cours : sept libellés à la file imposaient un défilement latéral,
     qui donne l'impression d'une page mal faite. */
  .metro li { min-width: 0; flex: 1 1 0; font-size: 0; }
  .metro li.current { font-size: .78rem; flex: 2 1 0; }
  .metro { overflow-x: visible; }
}

@media (max-width: 420px) {
  .sigfield__label { font-size: .62rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
}

/* --- Étape 4 : choix du niveau ------------------------------------------ */

.levels--choice .level { margin: 0; }

.level--selectable {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  cursor: pointer;
  font-weight: 400;
  transition: border-color .15s, box-shadow .15s;
}
.level--selectable:hover { border-color: var(--level-color, var(--brand)); }

/* Le bouton radio reste accessible au clavier et aux lecteurs d'écran, mais
   c'est la fiche entière qui fait office de cible — sur mobile surtout. */
.level__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.level--selectable:has(.level__radio:checked) {
  border-color: var(--level-color, var(--brand));
  box-shadow: 0 0 0 2px var(--level-color, var(--brand)) inset;
  background: color-mix(in srgb, var(--level-color, var(--brand)) 6%, var(--panel));
}
.level--selectable:has(.level__radio:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 2px;
}

.level__body { display: block; }
.level__help {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
}
.level__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.level__euro { color: var(--muted); font-size: .8rem; white-space: nowrap; }

@media (max-width: 560px) {
  .level--selectable { grid-template-columns: auto 1fr; }
  .level--selectable .level__side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }
}

/* L'étoile accompagne un nombre : elle se cale sur la hauteur d'x et prend
   l'or, que le chiffre à côté garde en encre. C'est la seule répartition qui
   laisse le solde lisible — l'or ne contraste pas assez pour porter du texte. */
.star {
  width: .82em;
  height: .82em;
  color: var(--star);
  vertical-align: -.02em;
  flex: none;
}

/* --- La porte de sortie du parcours -------------------------------------- */
/* Discrète : on ne pousse personne à recommencer. Présente : sans elle, la
   transaction en session devient une impasse. */
.abandon { margin-top: 40px; text-align: center; }
.linklike {
  background: none;
  border: 0;
  padding: 4px;
  font: inherit;
  font-size: .88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linklike:hover { color: var(--ink); }

/* --- Étape 7 : le récapitulatif d'identité ------------------------------- */
/* L'identité s'affiche en grand parce que c'est le dernier moment où une faute
   de frappe se corrige sans rien coûter (§4.5). Un tableau récapitulatif se
   parcourt des yeux ; un nom en gros caractères se lit. */
.recap { text-align: center; padding-block: 30px; }
.recap__label {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.recap__identity {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.recap__doc { color: var(--muted); margin: 8px 0 0; font-size: .95rem; }
.recap__level {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
}

/* --- Blocs rédactionnels : textes tenus en admin ------------------------- */
.content-block { margin: 30px 0; }
.content-block__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.content-block p { margin: 0 0 12px; }
.content-block ul {
  margin: 0;
  padding-left: 1.15em;
  display: grid;
  gap: 7px;
}
.content-block li { color: var(--muted); }
.content-block li strong { color: var(--ink); }

/* --- Étape 5 : solde du SignPass ---------------------------------------- */

.balance {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--warn);
  border-radius: var(--r);
  background: var(--panel);
}
.balance__title { font-family: var(--font-display); font-weight: 600; margin: 0 0 12px; }

.balance__lines { list-style: none; margin: 0 0 16px; padding: 0; }
.balance__lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.balance__lines li:last-child { border-bottom: 0; }
.balance__missing { color: var(--warn); font-weight: 600; }

/* --- Achat : remise du code --------------------------------------------- */

.code-panel { text-align: center; padding-block: 28px; }
.code-panel__label {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.code-panel__code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
  word-break: break-all;
}

.billing-details summary,
.aide-depot summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
}
.aide-depot { margin-top: 18px; }
.aide-depot p { margin: 14px 0 0; }
/* Cible tactile : c'est sur un téléphone que cette aide sert. */
@media (pointer: coarse) {
  .aide-depot summary { padding-block: 10px; }
}
.billing-details p { margin-top: 14px; }
.billing-details textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
/* --- Questions fréquentes ------------------------------------------------
   Repliées par défaut : dix-huit réponses dépliées font un mur de texte où la
   question qu'on cherche disparaît. Le contenu reste dans le document — c'est
   ce qui distingue « details » d'un accordéon en JavaScript — donc les moteurs
   et les lecteurs d'écran le voient malgré le repli. */
.faq-lede { color: var(--muted); margin-bottom: 20px; }

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.faq-toc a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: .9rem;
  text-decoration: none;
}
.faq-section { margin-bottom: 32px; }
.faq-section h2 {
  /* L'ancre d'une rubrique ne doit pas se glisser sous l'en-tête. */
  scroll-margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.faq-item summary {
  padding: 14px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  list-style-position: outside;
}
.faq-item summary:hover { color: var(--brand); }
.faq-item[open] summary { color: var(--brand); }
.faq-item__body { padding: 0 0 18px; }
.faq-item__body > :first-child { margin-top: 0; }
.faq-item__body ul, .faq-item__body ol { padding-left: 1.3em; }
.faq-item__body li { margin-bottom: .35em; }
.faq-contact { margin-top: 28px; }

/* Cible tactile : une liste de questions se parcourt surtout au pouce. */
@media (pointer: coarse) {
  .faq-item summary { padding-block: 16px; }
  .faq-toc a { padding: 11px 14px; }
}
