/* ─────────────────────────────────────────────────────────────
   layout.css
   Body, container, section rhythm, grid helpers.
───────────────────────────────────────────────────────────── */

/* ── BASE BODY ──────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-ink);
  background-color: var(--color-cream);
  line-height: var(--leading-normal);
}

/* ── HEADINGS ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl)); font-weight: 700; }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); font-weight: 600; }
h3 { font-size: var(--text-xl); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }

h1 em, h2 em {
  font-style: italic;
  /* Italic serif pe heading = character autentic */
}

/* ── PARAGRAPHS ─────────────────────────────────────────────── */
p {
  color: var(--color-ink-soft);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

strong { font-weight: 600; color: var(--color-ink); }

a {
  color: var(--color-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--color-amber-hover); }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
  padding-block: var(--section-py);
  background-color: var(--color-cream);
}

/* Secțiune cu fundal crem mai cald */
.section--warm {
  background-color: var(--color-cream-warm);
}

/* Secțiune cu ton pământiu — pentru validare și final CTA */
.section--earth {
  background-color: var(--color-cream-earth);
}

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  margin-block: var(--space-4) var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-ink-muted);
}

/* ── FOOTNOTE ───────────────────────────────────────────────── */
.section-footnote {
  text-align: center;
  margin-top: var(--space-10);
  font-size: var(--text-base);
  color: var(--color-ink-muted);
  font-style: italic;
  max-width: 560px;
  margin-inline: auto;
}
