/* Base visual compartilhada: apresentação, autenticação e área logada */
:root {
  /* Preto e branco: sóbrio como um código impresso */
  --fundo: #ffffff;
  --fundo-alt: #f5f5f4;
  --superficie: #ffffff;
  --texto: #0a0a0a;
  --texto-suave: #57534e;
  --borda: #e7e5e4;
  --borda-forte: #0a0a0a;
  --marca: #0a0a0a;
  --marca-forte: #292524;
  --marca-clara: #f5f5f4;
  --sobre-marca: #ffffff;
  --destaque: #0a0a0a;
  --sobre-destaque: #ffffff;
  --destaque-suave: #f0efed;
  --sucesso: #0a0a0a;
  --perigo: #b91c1c;
  --sombra: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --sombra-forte: 0 2px 4px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.12);
  --raio: 10px;
  --acento: #0a6cff;        /* azul da marca: 4,6:1 no branco e no preto */
  --acento-suave: #e8f1ff;
  --fonte-titulo: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* Identidade sempre clara (fundo branco, texto preto), mesmo com o sistema no modo escuro */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 16px/1.6 var(--fonte);
  -webkit-font-smoothing: antialiased;
}
/* Serifa editorial só nos títulos grandes; subtítulos em Inter para leitura rápida */
h1, h2 { font-family: var(--fonte-titulo); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h3 { font-family: var(--fonte); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
a { color: var(--marca); }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--destaque); outline-offset: 2px; border-radius: 6px; }

.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--marca); text-decoration: none; font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.marca-simbolo { height: 30px; width: auto; flex: none; fill: currentColor; stroke: none; }
.marca-ponto { fill: var(--acento); }
.marca-no { color: var(--acento); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; transition: transform 0.15s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primario { background: var(--marca); color: var(--sobre-marca); }
.btn-primario:hover { background: var(--marca-forte); box-shadow: var(--sombra); }
/* Botão de conversão: preto sólido com seta que avança no hover */
.btn-destaque { background: var(--destaque); color: var(--sobre-destaque); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); }
.btn-destaque:hover { background: var(--marca-forte); box-shadow: var(--sombra-forte); }
.btn-destaque::after { content: "→"; transition: transform 0.15s; }
.btn-destaque:hover::after { transform: translateX(3px); }
.btn-fantasma { background: transparent; color: var(--texto); border-color: var(--borda); }
.btn-fantasma:hover { border-color: var(--borda-forte); }
.btn-grande { padding: 15px 26px; font-size: 1.05rem; }
.btn-bloco { width: 100%; }

.selo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: var(--superficie); color: var(--texto); border: 1px solid var(--borda); }
.selo-ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--sucesso); }

.icone { background: none; border: 0; padding: 8px; border-radius: 10px; display: grid; place-items: center; }
.icone:hover { background: var(--fundo-alt); }

/* Ondas animadas (marca visual do áudio) */
.ondas { display: flex; align-items: center; gap: 3px; height: 28px; }
.ondas i { display: block; width: 3px; border-radius: 3px; background: currentColor; animation: onda 1.1s ease-in-out infinite; }
.ondas i:nth-child(2n) { animation-delay: -0.3s; }
.ondas i:nth-child(3n) { animation-delay: -0.6s; }
.ondas i:nth-child(5n) { animation-delay: -0.9s; }
@keyframes onda { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.ondas.parado i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ondas i { animation: none; height: 60%; } }
