/* Reset enxuto + tipografia base. Nada de componente aqui. */

*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* `display` de componente (grid/flex) vence o `display:none` que o atributo
   `hidden` traz do user-agent. Sem este reset, estado vazio e itens filtrados
   continuam visíveis. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--areia);
  color: var(--grafite);
  font-family: var(--font-texto);
  font-size: var(--fs-corpo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-titulo);
  color: var(--azul-900);
  line-height: 1.15;
  margin: 0 0 var(--sp-3);
  font-weight: 800;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--azul-500); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--azul-700); }

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

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }

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

:focus-visible {
  outline: 3px solid var(--azul-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.container {
  width: 100%;
  max-width: var(--largura);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-5); }
}

/* Acessibilidade */
.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;
}

.pular-para-conteudo {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: calc(var(--z-header) + 1);
  background: var(--branco);
  color: var(--azul-700);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-pill);
  font-weight: 800;
  box-shadow: var(--shadow-card);
  transition: top .2s ease;
}
.pular-para-conteudo:focus { top: var(--sp-3); }

/* Utilitários de texto */
.eyebrow {
  font-size: var(--fs-rotulo);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral-600);
  margin: 0 0 var(--sp-2);
}

.apoio { color: var(--cinza); }
.texto-centro { text-align: center; }
.medida { max-width: 62ch; }

/* Utilitários de espaçamento — usados com parcimônia, só para ajuste fino
   de blocos que não merecem uma classe própria. */
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; }
.endereco { font-style: normal; }
