/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--ink-700);
  background: var(--surface-bg);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: var(--brand-500);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* acessibilidade: esconde visualmente, mantém para leitores de tela */
.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;
}

/* foco visível e consistente */
:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Fonte global: Roboto */
html { --font-family: 'Roboto', 'Roboto Fallback'; }
body, button, input, select, textarea { font-family: var(--font-base); font-style: normal; }

/* Escala geral de fonte: 16px → 17px (tudo em rem acompanha) */
html { font-size: 106.25%; }
