/* public/legal.css
   Feuille de style commune aux trois pages légales.

   Elles vivent dans public/, donc Vite les recopie telles quelles dans
   dist/ et Firebase Hosting les sert à la racine :
     /mentions-legales.html
     /confidentialite.html
     /cgv.html

   Pas de police distante, pas de script externe : une page légale doit
   rester lisible même si tout le reste tombe. */

:root {
  --encre: #26271A;
  --brume: #7C8060;
  --ligne: rgba(38, 39, 26, .14);
  --arancia: #E0631F;
  --maiolica: #2A6F97;
  --paille: #F3F4EA;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #E7E9DE;
  color: var(--encre);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 15px;
  padding: 24px 16px 64px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
}

h1 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.sous {
  color: var(--brume);
  font-size: 13.5px;
  margin-bottom: 28px;
}

h2 {
  font-size: 17px;
  margin: 30px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--ligne);
}

h2:first-of-type { border-top: 0; padding-top: 0; }

h3 { font-size: 15px; margin: 18px 0 6px; }

p, li { margin-bottom: 10px; }

ul, ol { padding-left: 22px; }

a { color: var(--maiolica); }

strong { font-weight: 600; }

dl { margin-bottom: 10px; }
dt { font-weight: 600; margin-top: 10px; }
dd { margin-left: 0; }

.retour {
  display: inline-block;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--ligne);
  width: 100%;
  font-size: 13.5px;
}

/* Les champs restant à remplir. Impossibles à rater. */
.todo {
  background: #FFE9A8;
  color: #5A4300;
  border-bottom: 2px solid #E0A800;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13.5px;
}

/* Bandeau de brouillon. Masqué par défaut : un script en bas de page
   le montre s'il reste au moins un .todo. Il s'efface donc tout seul
   le jour où la page est complète, sans qu'on ait à y penser. */
.brouillon {
  display: none;
  background: #B23A3A;
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 26px;
  font-size: 13.5px;
}

.brouillon b { display: block; font-size: 15px; margin-bottom: 4px; }

.note {
  background: var(--paille);
  border-left: 3px solid var(--arancia);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 13.5px;
  color: #3C3D2E;
}

.note b { color: var(--encre); }
