/* ==========================================================================
   Launea Software — Tokens do Design System "Obsidiana & Dourado"
   Dark Mode Total (#090a0c / #0e1014 / #13161c)
   Assinatura Dourado Metálico (#d8a84e / #e7be6b / #b58934)
   Zero pílulas · Cantos arquitetônicos precisos
   ========================================================================== */

:root {
  /* Paleta base */
  --p-bg: #090a0c;
  --p-surface: #13161c;
  --p-ink: #f4f4f6;
  --p-muted: #9499a6;
  --p-accent: #d8a84e;
  --p-accent-ink: #090a0c;
  --p-action: #d8a84e;
  --p-action-ink: #090a0c;

  /* Semântica ativa */
  --bg: var(--p-bg);
  --surface: var(--p-surface);
  --ink: var(--p-ink);
  --muted: var(--p-muted);
  --accent: var(--p-accent);
  --accent-ink: var(--p-accent-ink);
  --card: var(--p-surface);
  --action: var(--p-action);
  --action-ink: var(--p-action-ink);
  --line: color-mix(in oklab, var(--ink) 11%, transparent);
  --line-strong: color-mix(in oklab, var(--ink) 20%, transparent);

  /* Tipografia */
  --font-display: "Geist", system-ui, sans-serif;
  --font-text: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 600;
  --display-tracking: -0.035em;

  /* Layout e grid */
  --nav: 72px;
  --bar: 0px;
  --container: 1280px;
  --gut: 80px;
  --gutter: 24px;

  /* Escala de espaçamento (4/8) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --card-gap: 16px;

  /* Escala tipográfica */
  --t-label: 13px;
  --t-small: 14px;
  --t-body: 16px;
  --t-lead: 18px;
  --t-card: 18px;
  --t-h3: 24px;
  --t-h2: clamp(30px, 1.72vw + 23.3px, 48px);
  --t-h1: clamp(38px, 3.24vw + 25.4px, 72px);

  /* Raios arquitetônicos (sharp) */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-btn: 4px;

  /* Controles e transições */
  --btn-h: 44px;
  --btn-h-sm: 36px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 180ms;

  /* Motion */
  --m-in: 150ms;
  --m-out: 120ms;
  --m-press: 90ms;
  --m-panel: 200ms;
  --m-close: 120ms;
  --m-ease: var(--ease);

  /* Tokens autorais Launea (--au-*) */
  --au-bg: #090a0c;
  --au-bg-alt: #0e1014;
  --au-surface: #13161c;
  --au-surface-hover: #171b23;
  --au-console: #11141a;

  --au-ink: #f4f4f6;
  --au-body: #cbd0db;
  --au-muted: #9499a6;

  --au-gold: #d8a84e;
  --au-gold-light: #e7be6b;
  --au-gold-deep: #b58934;
  --au-gold-soft: rgba(216, 168, 78, 0.11);
  --au-gold-line: rgba(216, 168, 78, 0.34);

  --au-green: #22c55e; /* Restrito APENAS ao LED semântico de status ativo */

  --au-line: rgba(255, 255, 255, 0.08);
  --au-line-strong: rgba(255, 255, 255, 0.14);
  --au-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 639px) {
  :root {
    --nav: 56px;
    --gut: 24px;
    --gutter: 12px;
    --card-gap: 12px;
    --btn-h-sm: 44px;
  }
}

@media (min-width: 640px) {
  :root {
    --gut: 48px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gut: 80px;
    --card-gap: 24px;
    --t-lead: 20px;
    --t-card: 20px;
    --t-h3: 28px;
  }
}
