/* ══════════════════════════════════════════════════════════════════════
   Feuille de style des pages légales (mentions-legales.html,
   confidentialite.html). Mêmes tokens que index.html.
   Ces pages ne sont pas dans le chemin critique : un fichier CSS partagé
   est ici préférable au style inline.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --white: #FFFFFF;
  --ice:   #EEF4FF;
  --blue:  #3B6EF5;
  --navy:  #0D1B3E;
  --warn:  #F59E0B;
  --ink-2: #4A5878;
  --ink-3: #74809B;
  --rule:  #DCE5F8;
  --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:  'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 680px; margin-inline: auto; padding: 0 22px; }

h1, h2, .back { font-family: var(--font-title); }

h1 {
  font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.032em;
  margin: 0 0 8px;
}
h2 {
  font-size: 1.125rem; font-weight: 800; letter-spacing: -.015em;
  margin: 38px 0 10px; padding-top: 22px;
  border-top: 1px solid var(--rule);
}
p, li { margin: 0 0 12px; text-wrap: pretty; }
ul { padding-left: 20px; }
a { color: var(--blue); }

.updated { color: var(--ink-3); font-size: .875rem; margin-bottom: 34px; }

.top { background: var(--navy); padding: 18px 0; margin-bottom: 42px; }
.back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none;
  font-size: .875rem; font-weight: 700;
  padding: 10px 0;
}
.back:hover { text-decoration: underline; }

footer {
  margin-top: 52px; padding: 26px 0 48px;
  border-top: 1px solid var(--rule);
  font-size: .8125rem; color: var(--ink-2);
}

/* ══════════════════════════════════════════════════════════════════════
   CHAMPS À COMPLÉTER
   Volontairement criards : impossible de mettre la page en ligne sans
   les voir. Quand tout est rempli, supprime cette règle — s'il en reste
   un seul, il te sautera aux yeux.
   ══════════════════════════════════════════════════════════════════════ */
.todo {
  background: var(--warn);
  color: var(--navy);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.notice {
  background: var(--ice);
  border-left: 4px solid var(--warn);
  padding: 16px 18px;
  margin: 0 0 34px;
  font-size: .9375rem;
}
.notice strong { display: block; margin-bottom: 4px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
