/* Les pages légales (CGU, confidentialité, mentions légales) et la page
   d'assistance (vague 7, lot R1). L'en-tête, le pied, les jetons et la police
   sont dans coque.css : ces pages avaient chacune un style en ligne à elles,
   les couleurs en dur (#FAF7F2, #25736F) et, pour les légales, aucun mode
   sombre — un lecteur en thème sombre recevait une page blanche. */

main.legale, main.assistance { max-width: 680px; margin: 0 auto; padding: 14px 20px 8px; }
main.legale h1, main.assistance h1 { font-size: clamp(28px, 4vw, 34px); line-height: 1.2; margin: 0 0 6px; }
main.legale h2 { font-size: 19px; margin: 0 0 8px; color: var(--vert); }
main.assistance h2 { font-size: 22px; margin: 34px 0 12px; }
main.legale p, main.legale li { margin: 6px 0; }
main.legale ul { margin: 6px 0; padding-left: 20px; }
.muted { color: var(--acier); font-size: 15px; }
main.legale strong { color: var(--vert); }
/* Dans l'encadré corail, le gras reprend l'encre : le vert sur ce fond tombait à 4,3:1 en sombre. */
main.legale .important strong { color: inherit; }

/* Les blocs de texte légal sont des « cartes » : un fond, un coin, une ombre
   — la même grammaire que les cartes du reste du site. */
.carte {
  background: var(--surface); border: 1px solid var(--bord); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--ombre);
}
.important {
  background: var(--corail-doux); border-left: 3px solid var(--corail);
  padding: 10px 14px; border-radius: 0 10px 10px 0;
}

/* ---- L'assistance : les garanties, le formulaire, la FAQ ----------------- */
.garanties {
  display: grid; gap: 10px; margin: 18px 0 6px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.garantie {
  background: var(--surface); border: 1px solid var(--bord); border-radius: 12px;
  padding: 12px 14px; font-size: 15.5px; box-shadow: var(--ombre);
}
.garantie strong { display: block; color: var(--vert); margin-bottom: 2px; }
form {
  background: var(--surface); border: 1px solid var(--bord); border-radius: 14px;
  padding: 20px; box-shadow: var(--ombre);
}
label { display: block; font-weight: 600; font-size: 16px; margin: 14px 0 4px; }
label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--encre);
  background: var(--fond); border: 1px solid var(--acier); border-radius: 10px;
  padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
form button {
  margin-top: 18px; width: 100%; font: inherit; font-weight: 700; font-size: 17px;
  color: var(--sur-vert); background: var(--vert); border: none; border-radius: 12px;
  padding: 13px; min-height: 48px; cursor: pointer;
}
form button[disabled] { opacity: .6; cursor: default; }
.etat { margin-top: 12px; font-size: 16px; }
.etat.ok { color: var(--vert); font-weight: 600; }
.etat.ko { color: var(--corail-texte); font-weight: 600; }
.faq details {
  background: var(--surface); border: 1px solid var(--bord); border-radius: 12px;
  padding: 6px 16px; margin-bottom: 10px;
}
.faq summary {
  font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center;
  padding: 6px 0;
}
.faq p { margin: 4px 0 10px; font-size: 16.5px; }

/* ---- La page d'erreur (404) : le pouls qui tombe à plat — le tracé de la
   marque, mais dont la pulsation s'arrête. C'est l'image de la page, aucun
   texte n'a à surjouer l'erreur. */
main.erreur { max-width: 560px; margin: 0 auto; padding: 30px 20px 20px; }
svg.plat { display: block; width: 200px; margin: 0 0 18px; }
main.erreur h1 { font-size: 64px; line-height: 1; margin: 0 0 18px; }
main.erreur h1 span { color: var(--vert); }
main.erreur p { margin: 0 0 8px; }
main.erreur p.en { color: var(--acier); }
main.erreur hr { border: none; border-top: 1px solid var(--bord); margin: 22px 0; }
