/* ============================================================
   base.css — Typographie de base, body, liens, conteneurs
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-ink);
  background-color: var(--color-bg);
  letter-spacing: var(--tracking-normal);
}

/* === Titres =============================================
   Playwrite NZ (cursive) : ligne de hauteur plus généreuse,
   pas de tracking négatif (la cursive fonctionne mieux à neutre/positif),
   couleur accent mauve plutôt qu'anthracite pur (style Framer original).
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-accent);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

/* Variante "ink" pour titres sur fond clair quand on veut anthracite,
   ou utilitaire pour forcer une autre couleur ponctuellement */
.title-ink   { color: var(--color-ink-deepest); }
.title-light { color: var(--color-bg); }

/* === Paragraphes ======================================== */
p {
  line-height: var(--lh-normal);
  color: var(--color-ink-soft);
}

p + p {
  margin-top: var(--space-4);
}

/* === Liens textuels ===================================== */
a {
  color: var(--color-accent);
  transition: color var(--dur-fast) var(--ease-out);
}

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

/* === Eyebrows / suréticules ============================= */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
}

/* === Texte décoratif (Playwrite) ======================== */
.script {
  font-family: var(--font-script);
  font-weight: var(--fw-regular);
  font-style: normal;
}

/* === Conteneurs ========================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--prose {
  max-width: var(--container-prose);
}

/* === Sections (espace vertical fluide) ================== */
section {
  padding-block: var(--section-py);
}

section.tight {
  padding-block: calc(var(--section-py) * 0.6);
}

/* === Utilitaires ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
