/* tokens.css — ponto ÚNICO de tokens do design system FCI-SE.
   Carregado ANTES de /tema.css: a paleta administrável em runtime vence sobre cores. */
:root {
  /* Cores (mesmos valores de app.css — preservadas) */
  --ink: #121212; --muted: #64717f; --paper: #fcfcfd; --surface: #ffffff;
  --line: #e2e8f0; --green: #175c3a; --green-dark: #0c3f27;
  --forest: #0e0e10; --forest-2: #1b1b1f; --mint: #b9dfcc;
  --green-rgb: 23, 92, 58; --forest-rgb: 14, 14, 16; --mint-rgb: 185, 223, 204;
  --danger: #a83232; --warning: #9a6412; --success: #17613c;

  /* Tipografia */
  --font-sans: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-serif: Lora, Georgia, "Times New Roman", serif;
  --fs-page-title: 2rem;      /* 32 */
  --fs-section: 1.5rem;       /* 24 */
  --fs-card: 1.25rem;         /* 20 */
  --fs-body: 1rem;            /* 16 */
  --fs-support: 0.9375rem;    /* 15 */
  --fs-label: 0.875rem;       /* 14 — piso operacional */
  --fs-meta: 0.75rem;         /* 12 — só metadado não essencial */
  --lh-tight: 1.2; --lh-normal: 1.5;

  /* Espaçamento (base 4px) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-8: 48px; --space-10: 64px;

  /* Larguras, raios, sombras */
  --w-content: 1280px; --w-reading: 720px; --w-form: 560px; --w-card: 440px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
  --shadow-1: 0 10px 30px rgba(12, 43, 28, 0.06);
  --shadow-2: 0 18px 44px rgba(12, 43, 28, 0.14);

  /* Camadas e movimento */
  --z-header: 100; --z-drawer: 200; --z-modal: 300; --z-toast: 400;
  --dur-fast: 120ms; --dur-base: 200ms;

  /* Cabeçalho institucional único (PlatformShell) */
  --header-h: 104px;
}

:root[data-theme="verde"] { --forest: #0c2b1c; --forest-2: #0f3b26; }
:root[data-theme="preto-esverdeado"] { --forest: #101613; --forest-2: #18211b; }
