/* Pages légales (HTML statique, lisible sans JavaScript). Couleurs du site, polices du système :
   ces pages doivent s'afficher même si le reste du site ne charge pas. */
:root { color-scheme: light dark; --bg: #f6f1e6; --ink: #22281f; --muted: #5a5f52; --line: #d9cfb8; --gold: #7a5a1e; --card: #fffaf0; }
@media (prefers-color-scheme: dark) { :root { --bg: #0f201a; --ink: #ece4d0; --muted: #b5b9a6; --line: #34463a; --gold: #e2c27c; --card: #142a21; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--gold); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; }
header, main, footer { max-width: 820px; margin: 0 auto; padding: 0 22px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px/1 Georgia, "Times New Roman", serif; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
h1 { font: 600 clamp(30px, 5vw, 42px)/1.15 Georgia, "Times New Roman", serif; margin: 36px 0 6px; }
h2 { font: 600 24px/1.25 Georgia, "Times New Roman", serif; margin: 40px 0 8px; padding-top: 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.lead { font-size: 17px; }
.todo { background: #fde68a; color: #3b2a00; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 14px 0; }
.box p { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14.5px; }
caption { text-align: left; color: var(--muted); font-size: 13.5px; padding-bottom: 6px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--card); }
.table-wrap { overflow-x: auto; }
ul { padding-left: 22px; }
footer { margin-top: 56px; padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
/* Sélecteur de langue (FR · ES · IT · DE) dans l'en-tête. */
header { flex-wrap: wrap; }
.langs { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; color: var(--muted); }
.langs a { text-decoration: none; padding: 2px 4px; border-radius: 4px; }
.langs a:hover { text-decoration: underline; }
.langs a[aria-current="page"] { color: var(--ink); font-weight: 600; }
/* Refus de la mesure d'audience (confidentialite, point 8 ; public/legal-optout.js). */
.optout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; }
.optout button { font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--gold); background: var(--card); color: var(--ink); cursor: pointer; }
.optout button:hover { background: var(--bg); }
.optout button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
