/* Pages secondaires : mentions légales, CGV, confidentialité, 404 */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root { --paper: #F3F5F8; --surface: #FFFFFF; --ink: #10141B; --muted: #586172; --line: #D9DEE7; --accent: #10141B; --accent-ink: #FFFFFF; --mark: #FFD84A; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0D1016; --surface: #151A23; --ink: #E8EBF1; --muted: #9AA3B3; --line: #283041; --accent: #FFD84A; --accent-ink: #14110A; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #0D1016; --surface: #151A23; --ink: #E8EBF1; --muted: #9AA3B3; --line: #283041; --accent: #FFD84A; --accent-ink: #14110A; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(820px, 100% - 32px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; color: var(--ink); text-decoration: none; }
.brand small { font-family: "Public Sans", system-ui, sans-serif; font-weight: 600; color: var(--muted); }
.brand-mark { width: 24px; height: 30px; border: 2px solid var(--ink); border-radius: 3px; position: relative; flex: none; background: var(--surface); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; left: 4px; right: 4px; height: 2px; background: var(--ink); }
.brand-mark::before { top: 7px; }
.brand-mark::after { top: 12px; right: 8px; }
.brand-mark span { position: absolute; left: 4px; bottom: 4px; width: 10px; height: 4px; background: var(--mark); }
.back, .btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.doc { padding: 40px 0 56px; }
.doc h1 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; margin: 0 0 20px; text-wrap: balance; }
.doc h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--muted); max-width: 70ch; }
.doc p { margin: 0 0 10px; }
.foot { border-top: 1px solid var(--line); padding: 24px 0 36px; font-size: .9rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* Identité : en-tête et pied sombres avec le logo */
a { color: var(--ink); text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); box-shadow: 0 0 0 5px var(--mark); }
.top { background: #0A0D14; border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { min-height: 66px; }
.brand { color: #FFFFFF; gap: 12px; }
.brand img { height: 32px; width: auto; display: block; }
.brand small { color: rgba(232,235,241,.6); font-size: .78rem; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.18); }
@media (max-width: 520px) { .brand small { display: none; } .brand img { height: 26px; } }
.back, .btn { background: #FFD84A; color: #14110A; }
.foot { background: #0A0D14; color: rgba(242,244,248,.68); border-top: 0; }
.foot a { color: rgba(242,244,248,.86); }
.doc { background-image: radial-gradient(rgba(16,20,27,.06) 1px, transparent 1.3px); background-size: 22px 22px; }
