@layer componentes {
  .botao {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-6);
    height: var(--altura-controle); padding: 0 var(--sp-16);
    border: 1px solid var(--borda-forte); border-radius: var(--raio-p);
    background: var(--fundo-cartao); color: var(--texto); font-weight: 500; font-size: var(--fs-14);
    cursor: pointer; white-space: nowrap; transition: background var(--rapido), border-color var(--rapido);
    text-decoration: none;
  }
  .botao:hover:not(:disabled) { background: var(--hover); }
  .botao:disabled { opacity: 0.55; cursor: not-allowed; }
  .botao--primario { background: var(--primaria); border-color: var(--primaria); color: #fff; }
  .botao--primario:hover:not(:disabled) { background: var(--primaria-escura); }
  .botao--perigo { background: var(--erro); border-color: var(--erro); color: #fff; }
  .botao--perigo:hover:not(:disabled) { background: var(--erro); filter: brightness(0.92); }
  .botao--icone { width: var(--altura-controle); padding: 0; }
  .botao--icone.botao--perigo-icone { color: var(--erro); }
  .botao--destaque { background: var(--primaria); border-color: var(--primaria); color: #fff; }
  .botao--pequeno { height: 30px; padding: 0 var(--sp-10); font-size: var(--fs-13); }
  .botao--icone.botao--pequeno { width: 30px; padding: 0; }
  .botao__contador {
    min-width: 20px; height: 20px; padding: 0 var(--sp-6); border-radius: var(--raio-pilula);
    background: var(--primaria); color: #fff; font-size: var(--fs-11); font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .botao--link { border: 0; background: none; color: var(--primaria); padding: 0; height: auto; }
  .botao--link:hover:not(:disabled) { background: none; text-decoration: underline; }
}
