/* Pages légales — sobres, lisibles, hors de l'application React.
   Servies en HTML statique : Google doit pouvoir les lire sans exécuter de
   JavaScript pendant la vérification du domaine. */

:root {
  --fond: #f5f7fb;
  --surface: #ffffff;
  --bordure: #dde3ef;
  --texte: #141824;
  --texte2: #4a5468;
  --texte3: #748097;
  --marque: #4763e8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #080b14;
    --surface: #0f1625;
    --bordure: #2a3650;
    --texte: #f8fafc;
    --texte2: #a7b1c2;
    --texte3: #748097;
    --marque: #7ca8ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 3rem 1.25rem 5rem;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main { max-width: 46rem; margin: 0 auto; }

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

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bordure);
}

h3 { font-size: 1rem; margin: 1.6rem 0 0.4rem; }

p, li { color: var(--texte2); }

.chapeau { color: var(--texte3); font-size: 0.95rem; margin: 0 0 2rem; }

.retour {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.94rem;
  display: block;
  overflow-x: auto;
}

th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--bordure);
  vertical-align: top;
}

th { color: var(--texte); font-weight: 600; }
td { color: var(--texte2); }

.encart {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.encart p:last-child { margin-bottom: 0; }
.encart p:first-child { margin-top: 0; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bordure);
  color: var(--texte3);
  font-size: 0.875rem;
}

footer a { margin-right: 1rem; }

code {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
}
