@font-face {
  font-family: Onest; src: url(fontes/onest.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
}
:root {
  --fundo: #f4f5f6; --papel: #fff; --grafite: #23272b; --texto-2: #5b636b; --linha: #dfe2e5; --suave: #eceef0;
  --ambar: #f5a50b; --ambar-fundo: #fff3d6; --ambar-texto: #875300; --verde: #1c6b46; --verde-fundo: #e2f3ea;
  --vermelho: #a3271f; --vermelho-fundo: #fbe7e5; --raio: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--fundo); color: var(--grafite);
  font: 400 16px/1.5 Onest, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; letter-spacing: -.015em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ambar); outline-offset: 2px; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.02em; color: var(--grafite); text-decoration: none; }
.marca img { width: 28px; height: 28px; display: block; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent;
  border-radius: 10px; background: var(--grafite); color: #fff; font-weight: 550; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s;
}
.botao:hover { background: #3a4047; }
.botao:active { transform: scale(.98); }
.botao:disabled { opacity: .5; cursor: default; }
.botao.claro { background: var(--papel); color: var(--grafite); border-color: var(--linha); }
.botao.claro:hover { background: var(--suave); }
.botao.perigo { color: var(--vermelho); }
.botao.mini { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.botao.largo { width: 100%; }

.campo { display: grid; gap: 6px; font-size: 14px; font-weight: 550; }
.campo small { font-weight: 400; color: var(--texto-2); }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #c3c8cd; border-radius: 10px; background: var(--papel); font-size: 16px; font-weight: 400;
}
.campo textarea { min-height: 76px; resize: vertical; }
.erro { color: var(--vermelho); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (pointer: coarse) { .botao.mini { min-height: 44px; } }
