/* Prestar Contas — Design System (Figma "PrestarContas — Design System", gW6UM35vIpnBwUhFsnLcLp).
   Primitivos: marinho, dourado, carmim, verde, marrom, areia. Semânticos: coleção "Cor" (Claro/Escuro).
   Fontes: Fraunces SemiBold (títulos) e DM Sans (texto), servidas daqui (OFL, ver fonts/). */
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/dm-sans-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/dm-sans-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/dm-sans-600.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/dm-sans-700.woff2") format("woff2"); }

:root {
  /* fundo/* */
  --bg: #fbf9f5;          /* fundo/tela = areia/50 */
  --surface: #ffffff;     /* fundo/superficie = areia/0 */
  --soft: #f4f0e8;        /* fundo/superficie-alt = areia/100 */
  --brand: #0f2145;       /* fundo/marca = marinho/800 */
  --brand-strong: #0a1733;/* fundo/marca-forte = marinho/900 */
  --brand-soft: #eef2f8;  /* fundo/marca-suave = marinho/50 */
  --accent: #d4a82f;      /* fundo/destaque = dourado/400 */
  --accent-soft: #fbf6e6; /* fundo/destaque-suave = dourado/50 */
  --ok-soft: #eaf3ee;     /* fundo/sucesso-suave = verde/50 */
  --bad-soft: #fcecef;    /* fundo/atencao-suave = carmim/50 */
  /* texto/* */
  --ink: #0a1733;         /* texto/primario = marinho/900 */
  --muted: #5f594f;       /* texto/secundario = areia/600 */
  --brand-ink: #ffffff;   /* texto/sobre-marca */
  --accent-ink: #0a1733;  /* texto/sobre-destaque */
  --brand-text: #172d59;  /* texto/marca = marinho/700 */
  --accent-text: #7d5b10; /* texto/destaque = dourado/700 */
  --ok: #1f5239;          /* texto/sucesso = verde/600 */
  --bad: #960018;         /* texto/atencao = carmim/600 */
  /* borda/* */
  --line: #e7e1d5;        /* borda/padrao = areia/200 */
  --line-strong: #d2cabb; /* borda/forte = areia/300 */
  --line-brand: #0f2145;  /* borda/marca = marinho/800 */
  /* Medidas */
  --r-p: 8px; --r-m: 12px; --r-g: 16px; --r-gg: 24px;
  --shadow-card: 0 1px 2px rgba(10, 23, 51, .06), 0 4px 12px rgba(10, 23, 51, .06);  /* Sombra/Cartão */
  --shadow-up: 0 12px 32px rgba(10, 23, 51, .16);                                   /* Sombra/Elevada */
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1733; --surface: #0f2145; --soft: #172d59; --brand: #172d59; --brand-strong: #0a1733; --brand-soft: #172d59;
    --accent: #d4a82f; --accent-soft: #3d2d0a; --ok-soft: #0d2519; --bad-soft: #4a000b;
    --ink: #fbf9f5; --muted: #d2cabb; --brand-ink: #ffffff; --accent-ink: #0a1733; --brand-text: #aebfdb; --accent-text: #e0be55;
    --ok: #6fa98a; --bad: #e07085;
    --line: #223c70; --line-strong: #34518a; --line-brand: #aebfdb;
    --shadow-card: none; --shadow-up: 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1733; --surface: #0f2145; --soft: #172d59; --brand: #172d59; --brand-strong: #0a1733; --brand-soft: #172d59;
  --accent: #d4a82f; --accent-soft: #3d2d0a; --ok-soft: #0d2519; --bad-soft: #4a000b;
  --ink: #fbf9f5; --muted: #d2cabb; --brand-ink: #ffffff; --accent-ink: #0a1733; --brand-text: #aebfdb; --accent-text: #e0be55;
  --ok: #6fa98a; --bad: #e07085;
  --line: #223c70; --line-strong: #34518a; --line-brand: #aebfdb;
  --shadow-card: none; --shadow-up: 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
