/* Pages légales : sobres et lisibles, aux couleurs du kit.
   Feuille autonome — ces pages sont du HTML statique, elles ne chargent pas
   l'application. */

:root {
  --nuit: #080a14;
  --or: #e9b23a;
  --or-clair: #ffe7b0;
  --creme: #cfe3d2;
  --parchemin: #fbf3df;
  --encre: #3a2a0a;
  --encre-douce: #6b5741;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--nuit);
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--creme);
  /* Semis de flocons, comme le fond de l'application. */
  background-image:
    radial-gradient(circle at 26px 34px, rgba(255,255,255,.16) 2px, transparent 3px),
    radial-gradient(circle at 104px 128px, rgba(255,255,255,.09) 1.5px, transparent 2.5px),
    radial-gradient(circle at 168px 64px, rgba(255,255,255,.12) 2.5px, transparent 3.5px);
  background-size: 196px 172px;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

.retour {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--or);
  text-decoration: none;
}
.retour:hover { text-decoration: underline; }

.logo { width: 190px; max-width: 55%; height: auto; display: block; }

h1 {
  font-family: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
  font-size: 34px;
  line-height: 1.15;
  color: #fff;
  margin: 18px 0 4px;
}

h2 {
  font-family: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
  font-size: 22px;
  color: var(--or-clair);
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 2px solid rgba(233,178,58,.28);
}

.maj { font-size: 13px; color: #8fa3a6; margin: 0 0 22px; font-weight: 700; }

p, li { font-size: 15.5px; line-height: 1.62; font-weight: 600; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }

.chapo { font-size: 17px; line-height: 1.6; color: #e3efe5; }

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

strong { color: #fff; font-weight: 800; }

/* Encadré parchemin : l'essentiel en un coup d'œil. */
.encadre {
  background: var(--parchemin);
  color: var(--encre-douce);
  border-radius: 16px;
  border: 3px solid var(--or);
  padding: 18px 20px;
  margin: 24px 0 8px;
}
.encadre strong {
  color: var(--encre);
  display: block;
  font-family: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
  font-weight: 400;
  font-size: 19px;
  margin-bottom: 8px;
}
.encadre ul { margin: 0; padding-left: 20px; }
.encadre li { color: var(--encre-douce); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 18px;
  font-size: 14.5px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(233,178,58,.22);
  vertical-align: top;
  font-weight: 600;
}
th {
  font-weight: 800;
  color: var(--or-clair);
  border-bottom-width: 2px;
}
/* Sur téléphone un tableau à trois colonnes devient illisible :
   on le replie en blocs empilés. */
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr {
    border: 1px solid rgba(233,178,58,.22);
    border-radius: 12px;
    padding: 6px 4px;
    margin-bottom: 12px;
  }
  td { border: 0; padding: 6px 12px; }
  td:first-child { color: #fff; font-weight: 800; }
  td:last-child { color: #8fa3a6; font-size: 13px; }
}

footer {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 2px solid rgba(233,178,58,.28);
  font-size: 14px;
  font-weight: 700;
  color: #8fa3a6;
}
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Engagement mis en avant : plus fort qu'un paragraphe, moins lourd qu'un
   encadre parchemin complet. */
.engagement {
  border-left: 5px solid var(--or);
  background: rgba(233, 178, 58, .09);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px 4px;
  margin: 6px 0 18px;
}
.engagement p { color: #e3efe5; }
.engagement p:last-child { margin-bottom: 12px; }
