/* ==========================================================================
   SKEENS — BASE
   Tipografia e elementos globais. Nada de componentes (header, botões,
   cards) aqui — isso vive em components.css. Nada de blocos da home —
   isso vive em blocks.css.
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--skns-preto);
  background: var(--skns-branco);
  -webkit-font-smoothing: antialiased;
}

/* headers: h1/h2 em Cayento, sempre caixa alta (único peso disponível na fonte, não sintetizar negrito) */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  text-wrap: balance;
}

/* subtítulos: h3/h4 em Tarif Arabic Regular */
h3, h4 {
  font-family: var(--font-subtitle);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.2px;
  text-wrap: balance;
}

h1 { font-size: clamp(3.25rem, 8.5vw, 7.25rem); }
h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

p {
  max-width: 60ch;
}

/* anotações manuscritas soltas no layout ("NHAC!", "Fact check", etc.) */
.hand-note {
  font-family: var(--font-hand);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
}

/* subtítulos/apoio fora de heading semântico (labels, números de destaque) */
.subtitle {
  font-family: var(--font-subtitle);
}

::selection {
  background: var(--skns-vermelho);
  color: var(--skns-branco);
}

/* ---------- Layout utilitário ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Acessibilidade ---------- */
:focus-visible {
  outline: 3px solid var(--skns-preto);
  outline-offset: 3px;
  border-radius: 4px;
}

/* compensa o header sticky ao navegar por âncora (#sabores, #universo, etc.) */
:target,
[id] {
  scroll-margin-top: calc(var(--space-3xl) + var(--logo-safe-area));
}
