/* base.css : reset, tipografia e body. */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--fonte);
  font-size: 14px;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}

/* Regra de ouro (Font_Inherit_em_Form): sem isso, input/select/textarea/button
   caem na fonte do SO (Arial/-apple-system) em vez de herdar a do body. */
button, input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--fonte-titulo); margin: 0; letter-spacing: -.02em; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }

p { margin: 0; }

a { color: var(--cor-primaria); text-decoration: none; }
a:hover { color: var(--cor-primaria-escura); }

/* Icones Phosphor: tamanho e cor por classe, nunca inline (Icones_Phosphor) */
.icon    { font-size: 1.1rem; line-height: 1; display: inline-flex; vertical-align: middle; }
.icon-sm { font-size: .9rem; }
.icon-md { font-size: 1.25rem; }
.icon-lg { font-size: 1.75rem; }
.icon-xl { font-size: 2.5rem; }
.icon-primaria { color: var(--cor-primaria); }
.icon-verde    { color: var(--verde); }
.icon-vermelho { color: var(--vermelho); }
.icon-fraco    { color: var(--texto-fraco); }

.texto-suave  { color: var(--texto-suave); }
.texto-fraco  { color: var(--texto-fraco); }
.texto-alerta { color: var(--ambar); font-weight: 600; }
.texto-erro   { color: var(--vermelho); font-weight: 600; }

.oculto { display: none !important; }
