/* =============================================================================
   DUPPLA — ESTILOS GLOBAIS
   Tipografia base, links, foco, seleção e utilitários de texto.
   ============================================================================= */
body {
  min-height: 100dvh;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { line-height: var(--lh-tight); font-weight: var(--fw-bold); letter-spacing: -.012em; }
a { color: var(--c-brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand-hover); }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
/* Foco programático em títulos e no conteúdo principal (troca de página) não precisa de contorno. */
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--c-brand-soft); color: var(--c-ink); }

/* Utilitários */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--c-ink-3); }
.num { font-variant-numeric: tabular-nums; }
.text-strong-lg { font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.text-wrap-any { overflow-wrap: anywhere; }
.hint-block { display: block; margin-top: .35rem; font-size: var(--fs-xs); }

/* Acesso rápido ao conteúdo */
.skip-link {
  position: fixed; top: var(--sp-3); left: var(--sp-3); z-index: 100;
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-sm); border: 0;
  background: var(--c-ink); color: var(--c-surface); font-weight: var(--fw-semibold);
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease); cursor: pointer;
}
.skip-link:focus-visible { transform: none; }

.noscript-msg { padding: var(--sp-6); }

/* Animações compartilhadas */
@keyframes spin { to { transform: rotate(360deg); } }
