/* Pages légales (conditions, confidentialité) — même DA que l'accueil VYRAL LAB : noir, rouge sang, scotch, mono */
@font-face { font-family: Inter; src: url(assets/fonts/inter-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/inter-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/inter-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }
:root {
  --bg: #050505; --text: #f1eee8; --bone: #ece5d8; --muted: #8d8a85; --dim: #57544f; --red: #ff2d2d; --line: rgba(255,255,255,.1);
  --serif: "Bodoni 72", "Bodoni Moda", Didot, "Playfair Display", Georgia, serif;
  --mono: "SF Mono", Menlo, "Source Code Pro", ui-monospace, monospace;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: Inter, system-ui, sans-serif; font-weight: 500; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--red); color: #000; }

/* ambiance */
.vl-bg { position: fixed; inset: 0; z-index: -2; background: radial-gradient(ellipse 80% 55% at 50% 0%, #1a0b0c 0%, #0a0606 45%, #050505 100%); }
.vl-grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; animation: grain 1s steps(4) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -2%); } }

.wrap { width: min(1180px, 90vw); margin: 0 auto; }
.mono { font-family: var(--mono); letter-spacing: .16em; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.red { color: var(--red); }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* navigation (même que l'accueil) */
nav { position: sticky; top: 0; z-index: 70; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px); background: rgba(5,5,5,.7); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .06em; text-decoration: none; }
.brand .eye { width: 34px; height: 34px; }
.lab { display: inline-block; padding: 1px 7px 2px; background: var(--red); color: #000; transform: rotate(-3deg); font-size: 15px; letter-spacing: .1em; }
nav .right { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 11px; background: var(--red); color: #000; font: 800 13.5px Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255,45,45,.6), 0 8px 34px rgba(255,45,45,.3); transition: transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(236,229,216,.35); }

/* en-tête du dossier */
.head { padding: 80px 0 50px; border-bottom: 1px dashed rgba(236,229,216,.18); }
.head .mono { display: flex; gap: 14px; flex-wrap: wrap; }
.head h1 { font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -.03em; margin: 22px 0 18px; max-width: 980px; }
.tape { display: inline-block; white-space: nowrap; padding: .02em .22em .06em; color: #000; background: var(--red); transform: rotate(-2deg); box-shadow: 0 0 40px rgba(255,45,45,.3);
  clip-path: polygon(0 6%, 4% 0, 9% 7%, 15% 1%, 22% 6%, 30% 0, 37% 5%, 45% 1%, 53% 7%, 61% 0, 69% 6%, 77% 1%, 85% 6%, 92% 0, 100% 5%, 99% 93%, 94% 100%, 87% 94%, 80% 100%, 72% 95%, 64% 100%, 56% 94%, 48% 100%, 40% 95%, 32% 100%, 24% 94%, 16% 100%, 8% 95%, 1% 100%); }
.head .maj { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.head .intro { color: #b9b4ad; font-size: 18px; max-width: 700px; margin-top: 22px; }

/* corps : sommaire collant + articles */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 64px; padding: 50px 0 110px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc b { display: block; font: 600 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.toc ol { list-style: none; counter-reset: t; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; font: 600 11px var(--mono); color: var(--dim); }
.toc a:hover, .toc a.on { color: var(--text); border-left-color: var(--red); }
.toc a.on::before { color: var(--red); }

.art { position: relative; padding: 34px 0 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.art:first-child { padding-top: 0; }
.art .k { font: 600 11px var(--mono); letter-spacing: .18em; color: var(--red); text-transform: uppercase; }
.art h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 16px; }
.art p, .art li { color: #b9b4ad; font-size: 16px; }
.art p + p { margin-top: 12px; }
.art ul { list-style: none; display: grid; gap: 10px; margin: 12px 0; }
.art li { position: relative; padding-left: 22px; }
.art li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.art a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.art b { color: var(--text); }
.todo { display: inline; padding: 1px 6px; border-radius: 4px; background: rgba(255,45,45,.14); border: 1px dashed rgba(255,45,45,.6); color: #ff8f8f; font-weight: 700; }
.optout { margin-top: 14px; padding: 12px 18px; border-radius: 11px; border: 1.5px solid rgba(236,229,216,.35); background: none; color: var(--text); font: 700 14px Inter, system-ui, sans-serif; cursor: pointer; }
.optout:hover { border-color: var(--red); }

footer { border-top: 1px solid var(--line); padding: 36px 0 52px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .brand { font-size: 15px; color: var(--text); }
footer a { text-decoration: none; } footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
  .head { padding: 54px 0 36px; }
}
@media (max-width: 640px) {
  nav .ghost { display: none; }
  .brand .eye { display: none; }
  nav .btn { padding: 9px 10px; font-size: 11.5px; }
  nav .wrap { width: 92vw; gap: 8px; }
  .tape { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; } }
