/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p, dl, dd { margin: 0; }

/* Texture papier de la Variation B */
body.vB-paper {
  background-color: var(--snj-cream);
  background-image:
    radial-gradient(circle at 10% 20%, oklch(0.88 0.02 60 / 0.4) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, oklch(0.9 0.02 50 / 0.3) 0%, transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='p'><feTurbulence baseFrequency='0.65' numOctaves='3'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.15 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23p)'/></svg>");
}

/* Typographie */
.snj {
  font-family: var(--font-body);
  color: var(--snj-ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.snj h1, .snj h2, .snj h3, .snj h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.snj h1 { font-size: clamp(40px, 6vw, 88px); }
.snj h2 { font-size: clamp(32px, 4.5vw, 56px); }
.snj h3 { font-size: clamp(22px, 2.5vw, 32px); }

.snj-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--snj-orange-deep);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.snj-eyebrow::before {
  content: "—";
  color: var(--snj-orange);
}

.snj-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Conteneur */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Accessibilité : skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--snj-ink);
  color: var(--snj-cream);
  padding: 10px 16px;
}
.skip-link:focus { left: 0; z-index: 100; }

:focus-visible {
  outline: 2px solid var(--snj-orange);
  outline-offset: 3px;
  border-radius: 2px;
}
