/* ===========================================================
   Pages légales — opportunitymakers.fr
   V2 — cohérence avec styles-v2.css (Geist, sky+grain, accent)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-deep: #050505;
  --fg: #ffffff;
  --fg-mid: #a3a8c0;
  --fg-soft: #676c85;
  --accent: #e8f41c;
  --accent-bright: #f5ff3d;
  --accent-glow: rgba(232, 244, 28, 0.4);
  --peach: #fca668;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

html, body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========== CHASSIS V2 — sky + vignette + grain via body pseudos ========== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 50% 38%, #4a4a4f 0%, #2a2a2f 35%, transparent 65%),
    radial-gradient(ellipse 100% 90% at 50% 45%, #222226 0%, #151518 40%, #0a0a0a 75%, #050506 100%),
    radial-gradient(ellipse 90% 80% at 50% 42%, transparent 25%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.95) 100%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='gn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 3.5 -1.3'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23gn)'/%3E%3C/svg%3E");
  background-size: 620px 620px;
}
body > * { position: relative; z-index: 2; }

::selection { background: var(--accent); color: #000; }

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  background: rgba(8, 8, 8, 0.6);
}

.nav-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-transform: none;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  flex-shrink: 0;
}

.nav-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-mid);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-back:hover { color: var(--fg); }

/* ========== CONTAINER ========== */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 70px 32px 100px;
}

/* ========== PAGE HEADER ========== */
.page-header {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.page-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.page-header h1 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
}

.page-meta {
  margin-top: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--fg-soft);
}

/* ========== CONTENT ========== */
.content h2 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--fg);
  margin: 56px 0 18px;
  scroll-margin-top: 100px;
  line-height: 1.2;
}

.content h2:first-child { margin-top: 0; }

.content h2 .num {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(232, 244, 28, 0.08);
  padding: 4px 10px;
  margin-right: 12px;
  vertical-align: middle;
}

.content h3 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--fg);
  margin: 32px 0 12px;
}

.content p {
  font-size: 16px;
  color: var(--fg-mid);
  margin: 14px 0;
  line-height: 1.65;
}

.content ul, .content ol {
  margin: 14px 0 14px 24px;
  padding: 0;
  color: var(--fg-mid);
}

.content ul li, .content ol li {
  font-size: 16px;
  margin: 8px 0;
  padding-left: 6px;
  line-height: 1.6;
}

.content ul li::marker { color: var(--accent); }
.content ol li::marker { color: var(--accent); font-weight: 600; }

.content strong {
  color: var(--fg);
  font-weight: 600;
}

.content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 244, 28, 0.3);
  transition: border-color 0.25s;
}

.content a:hover { border-bottom-color: var(--accent); }

/* ========== CALLOUT ========== */
.callout {
  margin: 28px 0;
  padding: 22px 26px;
  background: rgba(232, 244, 28, 0.05);
  border-left: 3px solid var(--accent);
}

.callout strong {
  color: var(--accent);
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}

.callout p {
  font-size: 14.5px;
  margin: 6px 0;
  color: var(--fg);
}

/* ========== TABLE ========== */
.content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.content table th {
  text-align: left;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 18px;
  background: rgba(232, 244, 28, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--fg-mid);
  vertical-align: top;
}

.content table tr:last-child td { border-bottom: none; }

/* ========== INFOBLOCK ========== */
.infoblock {
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  padding: 28px 32px;
  margin: 24px 0;
}

.infoblock dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px 20px;
}

.infoblock dt {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  align-self: center;
}

.infoblock dd {
  font-size: 15px;
  color: var(--fg-mid);
}

.infoblock dd strong { color: var(--fg); font-weight: 500; }

/* ========== FOOTER ========== */
.footer {
  margin-top: 100px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-soft);
}

.footer a {
  color: var(--fg-mid);
  text-decoration: none;
  transition: color 0.25s;
}

.footer a:hover { color: var(--accent); }

/* ========== PLACEHOLDER ========== */
.placeholder {
  background: rgba(232, 244, 28, 0.1);
  color: var(--accent);
  padding: 2px 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
}

/* ========== TOC ========== */
.toc {
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  padding: 24px 28px;
  margin: 32px 0 48px;
}

.toc-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.toc ol {
  margin: 0;
  padding-left: 24px;
  list-style: decimal;
}

.toc ol li {
  margin: 6px 0;
  font-size: 14.5px;
  color: var(--fg-mid);
  padding-left: 6px;
}

.toc ol li::marker { color: var(--fg-soft); }

.toc a {
  color: var(--fg-mid);
  text-decoration: none;
  transition: color 0.25s;
}

.toc a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .container { padding: 50px 20px 70px; }
  .page-header h1 { font-size: 36px; letter-spacing: -1.2px; }
  .infoblock dl { grid-template-columns: 1fr; gap: 4px 0; }
  .infoblock dt { margin-top: 12px; }
  .nav-inner { padding: 14px 20px; }
}
