/* =================================================================
   Domain Expansion — tema base (teste de identidade)
   Preto neutro + verde-jade contido. A rede/micélio é a marca:
   aparece no símbolo do logo e, animada, apenas na home.
   ================================================================= */

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

:root {
  /* superfícies */
  --bg: #09090b;
  --surface: #111113;
  --surface-2: #18181b;
  --surface-3: #202024;
  --tile: #0d0d0f;
  --border: #26262b;
  --border-soft: #1c1c20;

  /* texto */
  --text: #ececef;
  --text-2: #a1a1aa;
  --text-3: #71717a;

  /* marca */
  --accent: #6fbf94;
  --accent-hover: #86cda6;
  --accent-ink: #04130b;
  --accent-soft: rgba(111, 191, 148, 0.12);
  --accent-line: rgba(111, 191, 148, 0.32);

  /* estados — reservados, sempre com rótulo */
  --ok: #6fbf94;
  --ok-soft: rgba(111, 191, 148, 0.12);
  --warn: #d8b25c;
  --warn-soft: rgba(216, 178, 92, 0.12);
  --bad: #e27d6c;
  --bad-soft: rgba(226, 125, 108, 0.12);
  --info: #7fa9d8;
  --info-soft: rgba(127, 169, 216, 0.12);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --font: 'Inter', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
}

html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ---------- marca ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand svg, .brand img { flex-shrink: 0; }
.brand .sub {
  font-weight: 500;
  color: var(--text-3);
  padding-left: 0.6rem;
  margin-left: 0.1rem;
  border-left: 1px solid var(--border);
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--surface-3); border-color: #34343a; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.sm { height: 2rem; padding: 0 0.75rem; font-size: 0.8125rem; }
.btn.lg { height: 3rem; padding: 0 1.4rem; font-size: 0.9375rem; }
.btn.block { width: 100%; }
.btn svg { flex-shrink: 0; }

.mono { font-family: var(--font-mono); font-size: 0.92em; }
.num { font-variant-numeric: tabular-nums; }
