/* =========================================================================
   Typographie — échelles et composants typographiques
   ========================================================================= */

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--np-ink);
  background: var(--np-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: var(--np-ink);
}

/* Échelle modulaire — clamp pour fluidité */
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 1em; }

.np-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-accent);
  margin: 0 0 var(--space-3);
}

.np-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--np-ink-soft);
  margin: 0 0 var(--space-5);
}

/* Lettrine */
.np-dropcap::first-letter,
.np-dropcap > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 4em;
  float: left;
  line-height: 0.85;
  margin-right: var(--space-3);
  margin-top: 0.1em;
  color: var(--np-accent);
}

/* Citation bloc */
.np-quote, blockquote {
  margin: var(--space-6) 0;
  padding-left: var(--space-5);
  border-left: 3px solid var(--np-accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--np-ink-soft);
}

/* Légende d'image */
.np-caption, figcaption {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 13px;
  color: var(--np-ink-soft);
  margin-top: var(--space-2);
}

/* Liens dans le texte courant */
.np-prose a, article.np-article a {
  color: var(--np-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.np-prose a:hover, article.np-article a:hover {
  color: var(--np-accent);
}

/* Focus visible global */
:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 2px;
}
