/* ── Brand palette (Manual de Marca v1.0 — exact, do not alter) ───────────────── */
:root{
  --fos-black:#171718;    /* Preto institucional  — Pantone Neutral Black C */
  --fos-graphite:#252525; /* Grafite profundo     — Pantone Neutral Black C */
  --fos-gray:#505050;     /* Cinza estrutural     — Pantone 7540 C */
  --fos-mist:#E2E2E2;     /* Cinza névoa          — Pantone 663 C */
  --fos-white:#F8F8F8;    /* Branco operacional   — Pantone 7436 C */

  /* ── Extended neutral ramp ────────────────────────────────────────────────────
     Interfaces need steps between the five brand tones (hover fills, disabled
     text, table zebra, hairlines). Per the palette rule "novos tons só entram
     após documentação no design system", these are that documentation. The five
     brand values are anchors and are never redefined. */
  --n-0:#FFFFFF;
  --n-25:#FCFCFC;
  --n-50:#F8F8F8;   /* = --fos-white  */
  --n-100:#F1F1F1;
  --n-150:#EAEAEA;
  --n-200:#E2E2E2;  /* = --fos-mist   */
  --n-300:#CFCFCF;
  --n-400:#A8A8A8;
  --n-500:#7C7C7C;
  --n-600:#505050;  /* = --fos-gray   */
  --n-700:#3A3A3A;
  --n-800:#252525;  /* = --fos-graphite */
  --n-900:#171718;  /* = --fos-black  */
  --n-950:#0F0F10;

  /* ── Functional states ────────────────────────────────────────────────────────
     The palette document mandates a dedicated palette for success / alert / error
     ("Estados funcionais: Sucesso, alerta e erro devem ter paleta própria") and
     forbids decorative colour elsewhere. Exactly three hues exist, all low-chroma
     so they read as instrumentation, never as branding. Blue is excluded by the
     brand rules — informational status uses graphite. */
  --success-fg:#1B6B4A;
  --success-bg:#E8EFEB;
  --success-border:#B6CDC1;
  --success-strong:#12513A;
  --success-on-dark:#5FC194;

  --warning-fg:#845311;
  --warning-bg:#F4EDE1;
  --warning-border:#DCC79E;
  --warning-strong:#663F09;
  --warning-on-dark:#DDA54B;

  --danger-fg:#9C2621;
  --danger-bg:#F5E9E8;
  --danger-border:#DFB7B4;
  --danger-strong:#7A1B17;
  --danger-on-dark:#EE8A83;
}
