/* Entre Nós Design System — Base (reset leve + elementos + utilitários) */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
/* Casca da plataforma: ocupa a altura toda para o rodapé ficar no fim da tela em páginas curtas */
#app { flex: 1; display: flex; flex-direction: column; min-height: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--color-text-strong); font-weight: var(--weight-bold); line-height: var(--leading-snug); margin: 0; }
strong, b, legend { font-weight: var(--weight-bold); }
p { margin: 0 0 var(--space-3); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
::selection { background: var(--rose-300); }

/* Utilitários */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--color-text-muted); }
.nowrap { white-space: nowrap; }
.small { font-size: var(--text-sm); }
.tiny { font-size: var(--text-xs); }
.row { display: flex; align-items: center; gap: var(--space-3); }
.stack > * + * { margin-top: var(--space-4); }
.spacer { flex: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }

@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.stack-sm > * + * { margin-top: var(--space-2); }
[hidden] { display: none !important; }
