/* ==========================================================================
   BKM TCG · base.css
   Cores, fontes, reset e elementos básicos. Todas as cores do site vêm daqui.
   ========================================================================== */

:root {
  /* Cores */
  --bg: #0b0b0d;
  --superficie: #141418;
  --superficie-2: #1c1c22;
  --linha: #25252c;
  --linha-2: #34343d;
  --texto: #f3f3f5;
  --texto-suave: #9d9da8;
  --vermelho: #e5283a;
  --vermelho-hover: #f23a4b;
  --verde: #3fcf8e;
  --dourado: #e8b64a;
  --azul: #6aa7ff;
  --whatsapp: #1fa855;

  /* Tipografia */
  --fonte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --largura: 1180px;
  --raio: 12px;
  --altura-topo: 64px;

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--vermelho); outline-offset: 2px; border-radius: 6px; }

[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.numero { font-variant-numeric: tabular-nums; }
.suave { color: var(--texto-suave); }

.visualmente-oculto {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Texto que ainda precisa ser preenchido pela equipe antes do lançamento */
.a-preencher {
  background: color-mix(in srgb, var(--dourado) 22%, transparent);
  color: var(--dourado);
  border-radius: 4px;
  padding: 0 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
