:root {
  --papier:   #eef0ee;   /* un gris de béton, froid, jamais la crème */
  --encre:    #141716;
  --estompe:  #5c6360;
  --filet:    #cfd4d0;
  --accent:   #067003;   /* le vert du logo, foncé pour rester lisible en texte */
  --titrage:  "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
              "Noto Serif", Georgia, serif;
  --courant:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
              Arial, sans-serif;
  --mecane:   ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
              "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier:  #121413;
    --encre:   #e6e9e7;
    --estompe: #949c98;
    --filet:   #2a2f2d;
    --accent:  #07d802;
  }
}
:root[data-theme="dark"] {
  --papier: #121413; --encre: #e6e9e7; --estompe: #949c98;
  --filet: #2a2f2d; --accent: #07d802;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6.5rem) clamp(1.5rem, 6vw, 3rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

/* L'enseigne. */
.enseigne { margin: 0; line-height: 0; }
.enseigne img {
  /* La source fait 266 px ; l'afficher en 133 donne exactement deux pixels
     d'image pour un pixel de page, donc un tracé net sur écran à haute
     densité. L'agrandir au-delà le rendrait flou — il faudrait une source
     plus grande, pas un étirement. */
  width: 133px;
  height: auto;
  display: block;
}

.ouverture p {
  font-family: var(--titrage);
  font-size: clamp(1.75rem, 5.2vw, 2.9rem);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
  max-width: 32ch;
}
.ouverture p + p { margin-top: 1.1em; color: var(--estompe); }

hr {
  border: 0;
  border-top: 1px solid var(--filet);
  margin: 0;
  width: 4.5rem;
}

.corps { max-width: 34rem; display: flex; flex-direction: column; gap: 1.5rem; }
.corps p { margin: 0; }
.corps strong { font-weight: 600; }

.jalon {
  font-family: var(--mecane);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--estompe);
  margin: 0;
}

/* Les mentions légales. Une liste de définitions, pas un paragraphe : ce sont
   des champs, et ils se lisent comme des champs. */
.legal h2 {
  font-family: var(--mecane);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--estompe);
  margin: 0 0 1.75rem;
}
.legal dl {
  margin: 0;
  display: grid;
  align-items: baseline;
  grid-template-columns: minmax(9rem, 13rem) 1fr;
  gap: 0.75rem 2rem;
  font-size: 0.9375rem;
}
.legal dt { color: var(--estompe); }
.legal dd {
  margin: 0;
  font-family: var(--mecane);
  font-size: 0.875rem;
  line-height: 1.55;
}
@media (max-width: 34rem) {
  .legal dl { grid-template-columns: 1fr; gap: 0.2rem; }
  .legal dt { margin-top: 1rem; }
  .legal dt:first-child { margin-top: 0; }
}
.legal .note {
  font-size: 0.9375rem;
  color: var(--estompe);
  max-width: 34rem;
  margin: 2.25rem 0 0;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

footer {
  font-family: var(--mecane);
  font-size: 0.75rem;
  color: var(--estompe);
  border-top: 1px solid var(--filet);
  padding-top: 1.5rem;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Ajouts propres à la page des mentions légales.                      */

.retour {
  font-family: var(--mecane);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--estompe);
}
.retour:hover { color: var(--encre); }

h1 {
  font-family: var(--titrage);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Les sections de la page légale. Du texte courant, pas un formulaire :
   la loi impose un contenu, jamais une mise en forme, et neuf lignes de
   tableau se lisent moins bien que trois phrases. */
.mentions { display: flex; flex-direction: column; gap: 2.75rem; max-width: 36rem; }
.mentions section { display: flex; flex-direction: column; gap: 0.75rem; }
.mentions h2 {
  font-family: var(--mecane);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--estompe);
  margin: 0;
}
.mentions p { margin: 0; }
.mentions .fiche { font-family: var(--mecane); font-size: 0.875rem; line-height: 1.7; }

/* Ce qui n'est pas encore renseigné doit se voir, pour nous, et ne pas
   pouvoir passer inaperçu à la relecture. */
.manque {
  font-family: var(--mecane);
  font-size: 0.8125rem;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 0.05em 0.4em;
  border-radius: 2px;
}

footer a { color: var(--estompe); text-decoration-color: var(--filet); }
footer a:hover { color: var(--encre); }
