/* Palette — hex values transcribed verbatim from "Paleta de cores da marca" (Guia de Marca p.13).
   Names are the brand's own (flower / surface names). */
:root{
  /* Warm family */
  --eg-capuchinha:#FF4F1F;   /* primary brand orange */
  --eg-crisantemo:#C52401;   /* deep burnt red */
  --eg-calendula:#FF7133;    /* light orange */
  --eg-dalia:#FFF6F3;        /* warm off-white */
  /* Cool / dark family */
  --eg-universo:#0B1921;
  --eg-eclipse:#040F14;      /* darkest, primary ink */
  --eg-asfalto:#10242A;
  --eg-grafite:#153134;
  /* Neutrals used in the manual alongside the palette */
  --eg-white:#FFFFFF;
  --eg-ink-wordmark:#030E18;  /* the wordmark's own black in the master lockup */

  /* Surfaces */
  --surface-page:var(--eg-white);
  --surface-cream:var(--eg-dalia);
  --surface-card:var(--eg-white);
  --surface-card-cream:var(--eg-dalia);
  --surface-ink:var(--eg-eclipse);
  --surface-ink-raised:var(--eg-universo);
  --surface-ink-card:var(--eg-asfalto);
  --surface-ink-alt:var(--eg-grafite);
  --surface-accent:var(--eg-capuchinha);
  --surface-accent-deep:var(--eg-crisantemo);
  --surface-accent-light:var(--eg-calendula);
  --surface-overlay:color-mix(in srgb, var(--eg-eclipse) 78%, transparent);

  /* Text */
  --text-primary:var(--eg-eclipse);
  --text-secondary:var(--eg-grafite);
  --text-accent:var(--eg-capuchinha);
  --text-on-accent:var(--eg-white);
  --text-on-dark:var(--eg-white);
  --text-on-dark-muted:var(--eg-dalia);
  --text-inverse:var(--eg-white);

  /* Borders */
  --border-strong:var(--eg-eclipse);
  --border-accent:var(--eg-capuchinha);
  --border-subtle:color-mix(in srgb, var(--eg-eclipse) 14%, var(--eg-white));
  --border-on-dark:color-mix(in srgb, var(--eg-white) 22%, transparent);

  /* Interaction — the brand has no published state palette; these are the
     minimum set needed for interactive work (see readme "Intentional additions"). */
  --state-accent-hover:var(--eg-crisantemo);
  --state-accent-press:#A81E01;
  --state-ink-hover:var(--eg-universo);
  --state-ink-press:#00080B;
  --state-focus-ring:var(--eg-capuchinha);
  --state-disabled-fg:color-mix(in srgb, var(--eg-eclipse) 38%, var(--eg-white));
  --state-disabled-bg:color-mix(in srgb, var(--eg-eclipse) 8%, var(--eg-white));

  /* Semantic status — not defined by the brand manual. Derived from the palette
     so status UI stays in-family. */
  --status-danger:var(--eg-crisantemo);
  --status-warning:var(--eg-calendula);
  --status-info:var(--eg-asfalto);
  --status-success:#1F6B4A;
}
