/* Feuille de style partagée par les pages légales
   (mentions-legales, cgv, confidentialite, cookies).
   Reprend les variables et la typographie du site (voir index.html). */
:root{
  --black:#0a0a0c; --white:#fbfbfd; --surface:#f5f5f7; --ink:#1d1d1f; --ink-soft:#6e6e73;
  --line:#d2d2d7; --blue:#0071e3; --blue-hover:#0077ed; --green:#1c8a4b; --warn:#a4562a;
  --font:'Manrope',-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',sans-serif;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--white); color:var(--ink); font-family:var(--font); line-height:1.6; -webkit-font-smoothing:antialiased; }
a{ color:var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

nav.top{ position:sticky; top:0; z-index:40; backdrop-filter:blur(20px) saturate(180%);
  background:rgba(251,251,253,.86); border-bottom:1px solid var(--line); }
nav.top .row{ display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 24px; max-width:820px; margin:0 auto; }
.wordmark{ font-weight:800; font-size:1.02rem; letter-spacing:-0.02em; color:var(--ink); }
nav.top .links{ display:flex; gap:20px; align-items:center; }
nav.top .links a{ color:var(--ink-soft); font-size:0.86rem; font-weight:600; }
nav.top .links a:hover{ color:var(--blue); text-decoration:none; }

.legal{ max-width:760px; margin:0 auto; padding:52px 24px 90px; }
.legal .eyebrow{ color:var(--blue); font-weight:600; font-size:0.92rem; margin-bottom:10px; display:block; }
.legal h1{ font-size:clamp(1.7rem,4.4vw,2.4rem); font-weight:800; letter-spacing:-0.025em; margin:0 0 8px; }
.legal .updated{ color:var(--ink-soft); font-size:0.88rem; margin-bottom:38px; }
.legal .lede{ font-size:1.06rem; color:var(--ink-soft); max-width:60ch; margin-bottom:8px; }

.legal h2{ font-size:1.28rem; font-weight:700; letter-spacing:-0.015em; margin:44px 0 14px; scroll-margin-top:80px; }
.legal h3{ font-size:1.02rem; font-weight:700; margin:24px 0 8px; }
.legal p{ margin:0 0 14px; color:var(--ink); max-width:68ch; }
.legal p.soft{ color:var(--ink-soft); }
.legal ul, .legal ol{ margin:0 0 14px; padding-left:22px; max-width:66ch; }
.legal li{ margin-bottom:7px; }
.legal strong{ font-weight:700; }

.callout{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:18px 20px; margin:0 0 20px; max-width:66ch; }
.callout p{ margin:0; font-size:0.94rem; }
.callout.ok{ background:rgba(28,138,75,.07); border-color:rgba(28,138,75,.25); }
.callout.warn{ background:rgba(164,86,42,.07); border-color:rgba(164,86,42,.25); }

table.idcard{ border-collapse:collapse; width:100%; max-width:66ch; margin:0 0 20px; font-size:0.94rem; }
table.idcard th, table.idcard td{ text-align:left; padding:9px 14px 9px 0; border-bottom:1px solid var(--line); vertical-align:top; }
table.idcard th{ color:var(--ink-soft); font-weight:600; width:38%; white-space:nowrap; }

.toc{ background:var(--surface); border-radius:14px; padding:20px 22px; margin-bottom:8px; max-width:66ch; }
.toc b{ display:block; font-size:0.82rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:10px; }
.toc ol{ margin:0; padding-left:18px; columns:1; }
.toc a{ font-size:0.92rem; }

.legal-nav-links{ display:flex; flex-wrap:wrap; gap:8px 18px; margin:46px 0 0; padding-top:22px; border-top:1px solid var(--line); }
.legal-nav-links a{ font-size:0.88rem; font-weight:600; }

footer.fine{ padding:34px 24px; text-align:center; color:var(--ink-soft); font-size:.82rem; border-top:1px solid var(--line); }
footer.fine a{ color:var(--ink-soft); font-weight:600; }
footer.fine a:hover{ color:var(--blue); }
