/* ═══════════════════════════════════════════════════════════════════════════
   N1 Marketing · Design Tokens (estilo Google / Material 3, CSS puro)
   Toda cor/espaço/tipografia sai daqui. Componente nunca usa cor hardcoded.
   A cor de marca (--brand-primary) é setada por agência em runtime.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Neutros do sistema (fixos, não mudam por agência) */
  --surface: #ffffff;
  --surface-2: #f8f9fa;
  --surface-3: #f1f3f4;
  --outline: #dadce0;
  --outline-2: #e8eaed;
  --on-surface: #202124;          /* texto principal (cinza-quase-preto Google) */
  --on-surface-2: #5f6368;        /* texto secundário (cinza Google) */
  --on-surface-3: #80868b;        /* texto terciário/hint */

  /* Semânticas (status) */
  --success: #1e8e3e;
  --success-bg: #e6f4ea;
  --warning: #f9ab00;
  --warning-bg: #fef7e0;
  --error: #d93025;
  --error-bg: #fce8e6;
  --info: #1a73e8;

  /* Marca (DINÂMICO: sobrescrito por agência via JS) */
  --brand-primary: #1a73e8;
  --brand-on-primary: #ffffff;
  --brand-primary-container: color-mix(in srgb, var(--brand-primary) 12%, white);
  --brand-primary-hover: color-mix(in srgb, var(--brand-primary) 88%, black);

  /* Espaçamento: grade de 8px */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-8: 48px;

  /* Raio */
  --r-sm: 8px; --r-md: 12px; --r-full: 999px;

  /* Elevação (sombras sutis) */
  --elev-1: 0 1px 2px rgba(60,64,67,.12), 0 1px 3px rgba(60,64,67,.08);
  --elev-2: 0 1px 3px rgba(60,64,67,.16), 0 4px 8px rgba(60,64,67,.08);
  --elev-3: 0 4px 12px rgba(60,64,67,.18), 0 8px 24px rgba(60,64,67,.10);

  /* Tipografia */
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-display: 28px; --fs-title-lg: 20px; --fs-title: 16px;
  --fs-body: 15px; --fs-body-2: 13px; --fs-label: 12px;
}

:root[data-tema="escuro"] {
  --surface: #1f1f1f; --surface-2: #282a2d; --surface-3: #303134;
  --outline: #3c4043; --outline-2: #2a2b2e;
  --on-surface: #e8eaed; --on-surface-2: #9aa0a6; --on-surface-3: #80868b;
  --success-bg: #12261a; --warning-bg: #2e2a12; --error-bg: #2e1a17;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body);
       color: var(--on-surface); background: var(--surface-2); }
