/* Style commun des pages secondaires (confidentialité, page introuvable) — même look que l'accueil */
:root {
  color-scheme: light dark;
  --bg: #fbfbfd; --white: #fff; --gray: #f5f5f7; --line: #d2d2d7;
  --text: #1d1d1f; --muted: #6e6e73; --soft: #86868b;
  --blue: #0071e3; --blue-hover: #0077ed; --link: #0066cc;
  --nav-bg: rgba(251,251,253,.8); --nav-line: rgba(0,0,0,.08);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --white: #1c1c1e; --gray: #161617; --line: #424245;
    --text: #f5f5f7; --muted: #a1a1a6; --soft: #86868b; --link: #2997ff;
    --nav-bg: rgba(22,22,23,.8); --nav-line: rgba(255,255,255,.1);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); letter-spacing: -.016em; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
.wrap { width: min(760px, 100% - 44px); margin-inline: auto; }

.nav { position: sticky; top: 0; z-index: 10; height: 48px; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--nav-line); }
.nav .wrap { width: min(1024px, 100% - 44px); height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav img { height: 26px; width: auto; }
.nav .back { font-size: 13px; color: var(--text); opacity: .8; }
.nav .back::before { content: '‹ '; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 980px; background: var(--blue); color: #fff; font: 400 17px var(--font); }
.btn:hover { background: var(--blue-hover); text-decoration: none; }

/* Texte légal */
.legal { padding: clamp(48px, 8vw, 90px) 0 80px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.07; letter-spacing: -.025em; margin: 0 0 10px; font-weight: 700; }
.legal .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.legal .intro { font-size: 21px; line-height: 1.45; color: var(--muted); margin: 0 0 36px; letter-spacing: .005em; }
.legal section { background: var(--white); border-radius: 22px; padding: 26px 28px; margin-bottom: 12px; }
.legal h2 { font-size: 21px; letter-spacing: -.015em; margin: 0 0 10px; font-weight: 600; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal p { margin: 0 0 10px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0; padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal .muted { color: var(--muted); }

/* Page introuvable */
.lost { min-height: calc(100svh - 48px - 70px); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost .code { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: .02em; margin: 0 0 8px; }
.lost h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; letter-spacing: -.028em; margin: 0; font-weight: 700; }
.lost p { color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); margin: 14px auto 28px; max-width: 520px; }
.lost .photo { width: min(320px, 70vw); aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; border-radius: 28px; margin: 0 auto 34px; }
.lost .links { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }
.lost .links a:not(.btn)::after { content: ' ›'; }

footer { background: var(--gray); border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 12px; color: var(--muted); }
footer .wrap { width: min(1024px, 100% - 44px); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--muted); }
