/* Pages d'informations légales : mêmes couleurs et polices que la page d'accueil, mise en page de lecture */
:root {
  --ink: #1C1917; --cream: #FFF8EE; --muted: #57534E; --line: #D6CFC4;
  --c0: #EFE9DF; --c1: #FBE3D0; --c2: #F08A4B;
  --display: "Fraunces", Georgia, serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--c0); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px; max-width: 980px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 18px 6px 6px; text-decoration: none; font-family: var(--display); font-weight: 600; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.brand:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; }
.back { font-weight: 700; }

main { max-width: 980px; margin: 0 auto; padding: 8px 16px 64px; }
.doc { background: var(--cream); border: 2px solid var(--ink); border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); padding: clamp(22px, 5vw, 48px); }
.doc > * { max-width: 70ch; }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin: 0 0 12px; }
.updated { color: var(--muted); margin: 0 0 28px; }
h2 { font-size: 1.45rem; margin: 36px 0 10px; padding-top: 18px; border-top: 2px dotted var(--line); }
h3 { font-size: 1.1rem; font-weight: 600; margin: 22px 0 6px; }
p, ul, ol, dl { margin: 0 0 12px; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 6px; }
dl { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 6px 18px; }
dt { font-weight: 700; }
dd { margin: 0; min-width: 0; }
.toc { background: var(--c1); border: 2px solid var(--ink); border-radius: 18px; padding: 16px 20px; margin: 0 0 8px; }
.toc ol { margin: 6px 0 0; }
.note { background: var(--c1); border-radius: 14px; padding: 12px 16px; }
.table-wrap { overflow-x: auto; max-width: none; margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 2px dotted var(--line); }
th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
tr:last-child td { border-bottom: 0; }

footer { max-width: 980px; margin: 0 auto; padding: 0 16px 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
footer a { font-weight: 700; color: var(--ink); }
footer a[aria-current="page"] { text-decoration: none; color: var(--muted); }

@media (max-width: 560px) { dl { grid-template-columns: 1fr; } dt { margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
