/* ==========================================================================
   base.css
   Tipografia e elementos globais.
   ========================================================================== */

body {
  font-family: var(--font-main);
  background: var(--color-ink);
  color: var(--fg);
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.06;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

p {
  color: var(--fg-soft);
}

strong {
  color: var(--fg);
  font-weight: 700;
}

/* Utilitários de texto */
.accent {
  color: var(--color-accent);
}

.section--ink .accent {
  color: var(--color-accent-light);
}

.dim {
  color: var(--fg-muted);
}

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.section--ink .eyebrow {
  color: var(--color-accent-light);
}

/* Régua curta que abre as seções */
.rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 20px;
}

.section-head .rule {
  margin-inline: auto;
}

.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;
}

/* Ícones (sprite SVG)
   fill e stroke ficam aqui, não no sprite: atributo de apresentação no
   elemento <svg> do sprite não atravessa o <use>, propriedade CSS atravessa. */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 40px;
  height: 40px;
}

#svg-sprite {
  display: none;
}
