/* ─── Blumite — design tokens (recalibrados) ───────────── */
:root {
  /* Brand blues — identidade preservada, acento mais disciplinado */
  --blue-900: #0b1a3a;
  --blue-800: #16345f;
  --blue-700: #1a4f96;
  --blue-600: #1e6fc4;
  --blue-500: #2d8de0;
  --blue-300: #7ec8f4;
  --blue-100: #dbeafe;
  --blue-50:  #eef5fc;

  --white: #ffffff;

  /* Neutros — menos “azul pastel”, mais ferramenta */
  --bg-page: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --text: #0f172a;
  --text-mid: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: rgba(15, 23, 42, 0.08);

  /* Semânticos */
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-line: #fecaca;
  --ok: #065f46;
  --ok-bg: #ecfdf5;
  --ok-line: #86efac;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --warn-line: #fcd34d;

  /* Forma — hierarquia de raio (menos “card SaaS”) */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 14px;
  --radius-pill: 100px;

  /* Elevação — uma sombra só, discreta */
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-btn: none;
  --shadow-btn-hover: none;
  --shadow-float: 0 8px 28px rgba(12, 31, 74, 0.12);

  --focus: 0 0 0 3px rgba(30, 111, 196, 0.22);
  --disabled-opacity: 0.45;

  /* Espaço */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Tipo */
  --font: "DM Sans", system-ui, sans-serif;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-base: 15px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 28px;
  --leading-tight: 1.2;
  --leading: 1.5;
  --leading-loose: 1.65;
  --tracking-tight: -0.025em;

  --sidebar-w: 248px;
  --panel-w: 380px;
  --btn-h: 40px;
  --btn-h-lg: 48px;
  --input-h: 44px;

  font-family: var(--font);
  font-size: 16px;
  line-height: var(--leading);
  color: var(--text);
}

html { -webkit-font-smoothing: antialiased; }

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

/* ─── Marca ───────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand__mark {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.brand__word {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}
.brand--on-dark .brand__word { color: var(--blue-300); }
.brand--on-light .brand__word { color: var(--blue-600); }
.brand--sm { gap: 7px; }
.brand--sm .brand__mark { width: 24px; height: 24px; border-radius: 7px; }
.brand--sm .brand__word { font-size: 16px; }
.brand:hover { opacity: 0.9; }
