/* Portfolio Gestão — semantic aliases. Prefer these over raw ramp values. */

:root {
  /* ── Surfaces & structure ──────────────────────────────── */
  --surface-app: var(--slate-50);       /* application background */
  --surface-card: var(--white);         /* card / panel background */
  --surface-inset: var(--slate-50);     /* inner sections, thead */
  --surface-hover: var(--slate-100);
  --border-default: var(--slate-200);   /* most used border */
  --border-soft: var(--slate-300);
  --border-divider: var(--slate-100);   /* internal separators */
  --overlay-scrim: rgba(0, 0, 0, 0.4); /* @kind color */

  /* ── Text ──────────────────────────────────────────────── */
  --text-page-title: var(--slate-900);
  --text-heading: var(--slate-800);
  --text-strong: var(--slate-700);
  --text-body: var(--slate-600);
  --text-secondary: var(--slate-500);
  --text-muted: var(--slate-400);
  --text-on-accent: var(--white);
  --text-link: var(--blue-600);
  --text-link-hover: var(--blue-700);
  --text-code: var(--blue-600);
  --surface-code: var(--blue-50);

  /* ── Interactive ───────────────────────────────────────── */
  --action-primary: var(--blue-600);
  --action-primary-hover: var(--blue-700);
  --action-danger: var(--rose-600);
  --action-danger-hover: var(--rose-700);
  --focus-ring: var(--blue-400);
  --disabled-bg: var(--slate-200);
  --disabled-text: var(--slate-400);

  /* ── Status of an action (badge fills) ─────────────────── */
  --status-ainiciar-bg: var(--slate-100);
  --status-ainiciar-text: var(--slate-600);
  --status-andamento-bg: var(--blue-100);
  --status-andamento-text: var(--blue-700);
  --status-concluida-bg: var(--emerald-100);
  --status-concluida-text: var(--emerald-700);
  --status-impedida-bg: var(--amber-100);
  --status-impedida-text: var(--amber-700);
  --status-cancelada-bg: var(--rose-100);
  --status-cancelada-text: var(--rose-600);

  /* ── Situação (bordered pills) ─────────────────────────── */
  --situacao-emdia-bg: var(--emerald-50);
  --situacao-emdia-text: var(--emerald-700);
  --situacao-emdia-border: var(--emerald-200);
  --situacao-atrasada-bg: var(--rose-50);
  --situacao-atrasada-text: var(--rose-600);
  --situacao-atrasada-border: var(--rose-200);
  --situacao-alerta-bg: var(--amber-50);
  --situacao-alerta-text: var(--amber-700);
  --situacao-alerta-border: var(--amber-200);

  /* ── OKR entities ──────────────────────────────────────── */
  --okr-objetivo-bg: var(--blue-50);
  --okr-objetivo-border: var(--blue-200);
  --okr-objetivo-icon: var(--blue-600);
  --okr-objetivo-bar: var(--blue-600);
  --okr-kr-bg: var(--emerald-50);
  --okr-kr-border: var(--emerald-200);
  --okr-kr-icon: var(--emerald-600);
  --okr-kr-bar: var(--emerald-500);
  --okr-projeto-bg: var(--blue-100);
  --okr-projeto-text: var(--blue-700);
  --okr-projeto-icon: var(--blue-600);

  /* ── Progress thresholds ───────────────────────────────── */
  --progress-track: var(--slate-100);
  --progress-high: var(--emerald-500);   /* >= 70% */
  --progress-mid: var(--amber-500);      /* >= 40% */
  --progress-low: var(--red-400);        /*  < 40% */

  /* ── Confidence ────────────────────────────────────────── */
  --confianca-alta-bg: var(--emerald-100);
  --confianca-alta-text: var(--emerald-700);
  --confianca-media-bg: var(--amber-100);
  --confianca-media-text: var(--amber-700);
  --confianca-baixa-bg: var(--red-100);
  --confianca-baixa-text: var(--red-700, #B91C1C);

  /* ── Signature gradients ───────────────────────────────── */
  --gradient-action: linear-gradient(to right, var(--blue-600), var(--teal-500)); /* @kind color */
  --gradient-avatar: linear-gradient(to bottom right, var(--blue-500), var(--teal-400)); /* @kind color */
  --gradient-brandmark: linear-gradient(135deg, #155DFC 0%, #7F22FE 100%); /* @kind color */
}
