/* ============================================
   LES NIOCHES - Pages légales
   Styles propres au CONTENU des pages légales.
   Le header et le footer sont injectés par /nav.js.
   ============================================ */
:root {
  --ink: #0a0a0a;
  --paper: #f6f4ee;
  --paper-pure: #ffffff;
  --rule: #0a0a0a;
  --muted: #6a6a6a;
  --red: #b00020;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --s1: 0.5rem;  --s2: 1rem;   --s3: 1.5rem; --s4: 2rem;
  --s5: 2.5rem;  --s6: 3rem;   --s8: 4rem;   --s10: 5rem;
  --s12: 6rem;   --s16: 8rem;  --s20: 10rem;

  --max-w: 1240px;
  --max-w-text: 640px;
  --header-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 600ms;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

/* ---- Primitives ---- */
.eyebrow, .section-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ---- Layout ---- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s4);
}
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ============================================
   CONTENU LÉGAL
   ============================================ */
.legal-hero {
  padding: var(--s10) 0 var(--s8);
  border-bottom: 1px solid var(--rule);
}
.legal-hero h1 {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: var(--s3);
}
.legal-hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.legal-hero__updated {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--s4);
}

.legal-section {
  padding: var(--s8) 0;
  border-bottom: 1px solid var(--rule);
}
.legal-section:last-of-type { border-bottom: 0; }

.legal-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s6);
}
.legal-block + .legal-block { margin-top: var(--s8); }
.legal-block__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 6px;
}
.legal-block__content h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 350;
  letter-spacing: -0.015em;
  margin-bottom: var(--s3);
}
.legal-block__content h2 em { font-style: italic; }
.legal-block__content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: var(--s3);
  max-width: 64ch;
}
.legal-block__content p:last-child { margin-bottom: 0; }
.legal-block__content ul {
  list-style: none;
  margin: 0 0 var(--s3);
  max-width: 64ch;
}
.legal-block__content li {
  font-size: 17px;
  line-height: 1.6;
  position: relative;
  padding-left: var(--s3);
  margin-bottom: var(--s1);
}
.legal-block__content li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.legal-block__content strong { font-weight: 500; }
.legal-block__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease);
}
.legal-block__content a:hover { color: var(--muted); }

@media (max-width: 800px) {
  .legal-block { grid-template-columns: 1fr; gap: var(--s2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
}

*:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
