/* Pages légales : même identité que l'accueil, mise en page de lecture (colonne étroite). */
:root {
  --green: #8CC63F;
  --green-soft: #F2F9E8;
  --navy: #003366;
  --yellow: #F2B705;
  --ink-2: #475569;
  --paper: #F3F6F4;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--font); font-size: 17px; line-height: 1.6; }
a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: 20px; padding-right: 20px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

header { background: var(--green); color: #fff; }
/* Espacements par marges plutôt que « gap » : les anciens Chrome l'ignorent dans les rangées flexibles. */
header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; max-width: 1120px; }
header .wrap > * + * { margin-left: 16px; }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; font-weight: 900; font-size: 22px; line-height: 1; color: #fff; }
.brand img { display: block; width: 36px; height: 36px; margin-right: 10px; flex-shrink: 0; }
header .back { color: #fff; min-height: 44px; display: inline-flex; align-items: center; }

main { padding-top: 48px; padding-bottom: 72px; }
h1 { font-size: 32px; font-size: clamp(30px, 5vw, 42px); line-height: 1.1; margin: 0 0 8px; font-weight: 900; letter-spacing: -0.01em; text-wrap: balance; }
.version { color: var(--ink-2); margin: 0 0 32px; }
h2 { font-size: 22px; line-height: 1.25; margin: 40px 0 10px; font-weight: 900; }
h3 { font-size: 18px; margin: 24px 0 6px; font-weight: 800; }
p, li { max-width: 68ch; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.card { background: #fff; border: 1px solid #E1E8E4; border-radius: 18px; padding: 20px 22px; }
.card p { margin: 0 0 6px; }
.card p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #E1E8E4; }
th { background: var(--green-soft); font-weight: 800; }

footer { background: var(--green); color: #F2F9E8; padding-top: 28px; padding-bottom: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; max-width: 1120px; }
footer a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; margin: 0 -10px; }
footer nav a { margin: 0 10px; }
