/*
  Base técnica neutra. A identidade visual (cores, fontes, grid, ritmo) é definida
  por projeto em docs/projeto/direcao-criativa.md — substitua os tokens abaixo.
*/

:root {
  --cor-texto: #1a1a1a;     /* [PROVISÓRIO] */
  --cor-fundo: #ffffff;     /* [PROVISÓRIO] */
  --cor-foco: #005fcc;      /* [PROVISÓRIO] contraste mínimo 3:1 com o fundo */
  --fonte-texto: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fonte-titulo: var(--fonte-texto);
}

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

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

body {
  margin: 0;
  font-family: var(--fonte-texto);
  line-height: 1.6;
  color: var(--cor-texto);
  background: var(--cor-fundo);
}

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

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

h1, h2, h3, h4 { font-family: var(--fonte-titulo); line-height: 1.2; text-wrap: balance; }

p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--cor-foco); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  padding: .5rem 1rem;
  background: var(--cor-fundo);
  color: var(--cor-texto);
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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