/* AUGE CRM: base. Reset, tipografia e utilitários. */

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--fonte);
  font-size: 14px;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--fundo);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-tema='escuro'] body {
  background:
    radial-gradient(900px 600px at 100% 100%, rgba(10, 234, 20, 0.07), transparent 70%),
    radial-gradient(700px 480px at 0% 0%, rgba(10, 234, 20, 0.035), transparent 70%),
    var(--fundo);
  background-attachment: fixed;
}

body.sem-rolagem { overflow: hidden; }

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }

::selection { background: var(--neon); color: var(--sobre-neon); }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--foco); border-radius: var(--raio-p); }

* { scrollbar-width: thin; scrollbar-color: var(--linha-2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--linha-2); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* título de tela na voz da marca: caixa alta, peso 900 */
.titulo-marca { text-transform: uppercase; font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; }

/* rótulo pequeno em caixa alta (eyebrow). Sem traço antes. */
.rotulo-mini {
  font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--tinta-3);
}

.num, .tabular { font-variant-numeric: tabular-nums; }
.truncar { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.texto-pequeno { font-size: 12.5px; color: var(--tinta-2); }
.texto-suave { color: var(--tinta-2); }
.texto-fraco { color: var(--tinta-3); }
.verde { color: var(--verde-texto); }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.linha { display: flex; align-items: center; gap: 10px; }
.linha-entre { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pilha { display: flex; flex-direction: column; gap: 12px; }
.pilha-g { display: flex; flex-direction: column; gap: 20px; }
.empurra { margin-left: auto; }

/* logo: duas imagens, uma por tema. Nunca filtro CSS no logo. */
.logo-claro { display: block; }
.logo-escuro { display: none; }
:root[data-tema='escuro'] .logo-claro { display: none; }
:root[data-tema='escuro'] .logo-escuro { display: block; }

@keyframes entrar-suave { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes surgir { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes pulsar { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes brilho-esq { from { background-position: -240px 0; } to { background-position: 240px 0; } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(10, 234, 20, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(10, 234, 20, 0); } }

.anima-entrar { animation: entrar-suave var(--t) var(--ease) both; }

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