:root{
  --color-text-default: #000e26;
  --color-text-on-highlight: #002b77;
  --color-text-on-tint: #002b77;
  --color-text-muted: #485364;
  --color-text-on-dark: #ffffff;
  --color-text-error: #9e1e1a;
  --color-text-link-hover: #003796;
  --color-surface-default: #ffffff;
  --color-surface-subtle: #e7f7fa;
  --color-surface-muted: #edf5f8;
  --color-surface-accent-subtle: #dff7fd;
  --color-action-primary-default: #0046c0;
  --color-action-primary-hover: #003796;
  --color-border-decorative: #d7e6e8;
  --color-border-control: #5a96a1;
  --color-accent-decoration: #00b4e6;
  --color-highlight-sun: #ffd84d;
  --color-feedback-success-text: #0b602e;
  --color-feedback-success-surface: #eafbf1;
  --color-feedback-success-border: #22a056;
  --color-feedback-info-text: #115097;
  --color-feedback-info-surface: #eaf2fb;
  --color-feedback-info-border: #468ad8;
  --color-feedback-warning-text: #77460d;
  --color-feedback-warning-surface: #fbf3ea;
  --color-feedback-warning-border: #c27a29;
  --color-feedback-error-text: #9c1611;
  --color-feedback-error-surface: #fbebea;
  --color-feedback-error-border: #db5b57;
  --color-surface-page: #ffffff;
  --color-surface-brand: #0046c0;
  --color-surface-brand-hover: #003796;
  --color-text-on-brand: #ffffff;
  --color-tag-sun: #ffd84d;
  --color-tag-lilac: #c9b3ff;
  --color-tag-mint: #7de2a6;
  --color-tag-sky: #8ed2ff;
  --color-tag-amber: #ffc24d;
  --color-tag-lime: #c6f26b;
  --color-tag-peach: #ffb870;
  --color-tag-lemon: #f5e663;
  --color-tag-aqua: #9ee7f2;
  --color-tag-coral: #ffae94;
  --color-tag-rose: #ffb3d1;
  --color-tag-teal: #8fe3d0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.8125rem;
  --radius-xl: 1.3125rem;
  --radius-2xl: 1.625rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.28), 0 1px 3px 1px rgb(0 0 0 / 0.14);
  --shadow-md: 0 1px 3px rgb(0 0 0 / 0.28), 0 4px 8px 3px rgb(0 0 0 / 0.14);
  --shadow-lg: 0 4px 4px rgb(0 0 0 / 0.28), 0 8px 12px 6px rgb(0 0 0 / 0.14);
  --overlay-backdrop: rgb(0 0 0 / 0.6);
  --duration-press: 80ms;
  --duration-fast: 0.15s;
  --duration-release: 160ms;
  --duration-base: 0.25s;
  --duration-enter: 480ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lift: -4px;
  --enter-distance: 16px;
  --elevation-0: none;
  --elevation-1: 0 1px 2px rgb(0 0 0 / 0.28), 0 1px 3px 1px rgb(0 0 0 / 0.14);
  --elevation-2: 0 1px 2px rgb(0 0 0 / 0.28), 0 2px 6px 2px rgb(0 0 0 / 0.14);
  --elevation-3: 0 1px 3px rgb(0 0 0 / 0.28), 0 4px 8px 3px rgb(0 0 0 / 0.14);
  --elevation-4: 0 2px 3px rgb(0 0 0 / 0.28), 0 6px 10px 4px rgb(0 0 0 / 0.14);
  --elevation-5: 0 4px 4px rgb(0 0 0 / 0.28), 0 8px 12px 6px rgb(0 0 0 / 0.14);
  --state-hover: 0.08;
  --state-focus: 0.1;
  --state-press: 0.1;
  --state-drag: 0.16;
  --spring-fast: linear(0, 0.2 4%, 0.6 12%, 0.9 22%, 1.04 33%, 1.05 41%, 1.02 55%, 1 72%, 1);
  --spring-default: linear(0, 0.12 5%, 0.45 14%, 0.78 25%, 0.97 37%, 1.03 47%, 1.03 58%, 1.01 72%, 1);
  --duration-spring-fast: 350ms;
  --duration-spring: 500ms;
  --ease-emphasized: cubic-bezier(0.3, 0, 0, 1);
  --radius-button: 999px;
  --font-base: "Red Hat Display", system-ui, sans-serif;
  --font-display: "Red Hat Display", system-ui, sans-serif;
  --font-display-weight: 700;
  color-scheme: light;
}
/* Modo escuro (opcional). Ligue com <html data-theme="dark"> ou siga o aparelho com <html data-theme="auto">. Mesmos tokens, só valores; contraste AAA recalculado. */
[data-theme="dark"]{
  --color-text-default: #e8ecf2;
  --color-text-on-highlight: #002b77;
  --color-text-on-tint: #e8ecf2;
  --color-text-muted: #b1bac8;
  --color-text-on-dark: #001333;
  --color-text-error: #ffa099;
  --color-text-link-hover: #b3c9ff;
  --color-surface-default: #0f1827;
  --color-surface-subtle: #141f34;
  --color-surface-muted: #1b2b46;
  --color-surface-accent-subtle: #153037;
  --color-action-primary-default: #94bbff;
  --color-action-primary-hover: #b3c9ff;
  --color-border-decorative: #2f394b;
  --color-border-control: #6c778b;
  --color-accent-decoration: #20b6df;
  --color-highlight-sun: #ffd84d;
  --color-feedback-success-text: #7bf4ad;
  --color-feedback-success-surface: #153723;
  --color-feedback-success-border: #248f50;
  --color-feedback-info-text: #89bcf5;
  --color-feedback-info-surface: #152537;
  --color-feedback-info-border: #2f71bc;
  --color-feedback-warning-text: #f4bc7b;
  --color-feedback-warning-surface: #372715;
  --color-feedback-warning-border: #a16928;
  --color-feedback-error-text: #f7a19e;
  --color-feedback-error-surface: #371615;
  --color-feedback-error-border: #c63631;
  --color-surface-page: #0a101a;
  --color-surface-brand: #123268;
  --color-surface-brand-hover: #163c7d;
  --color-text-on-brand: #e8ecf2;
  --overlay-backdrop: rgb(0 0 0 / 0.72);
  color-scheme: dark;
}
/* Trecho claro dentro de página escura (ex.: <div data-theme="light">). */
[data-theme="light"]{
  --color-text-default: #000e26;
  --color-text-on-highlight: #002b77;
  --color-text-on-tint: #002b77;
  --color-text-muted: #485364;
  --color-text-on-dark: #ffffff;
  --color-text-error: #9e1e1a;
  --color-text-link-hover: #003796;
  --color-surface-default: #ffffff;
  --color-surface-subtle: #e7f7fa;
  --color-surface-muted: #edf5f8;
  --color-surface-accent-subtle: #dff7fd;
  --color-action-primary-default: #0046c0;
  --color-action-primary-hover: #003796;
  --color-border-decorative: #d7e6e8;
  --color-border-control: #5a96a1;
  --color-accent-decoration: #00b4e6;
  --color-highlight-sun: #ffd84d;
  --color-feedback-success-text: #0b602e;
  --color-feedback-success-surface: #eafbf1;
  --color-feedback-success-border: #22a056;
  --color-feedback-info-text: #115097;
  --color-feedback-info-surface: #eaf2fb;
  --color-feedback-info-border: #468ad8;
  --color-feedback-warning-text: #77460d;
  --color-feedback-warning-surface: #fbf3ea;
  --color-feedback-warning-border: #c27a29;
  --color-feedback-error-text: #9c1611;
  --color-feedback-error-surface: #fbebea;
  --color-feedback-error-border: #db5b57;
  --color-surface-page: #ffffff;
  --color-surface-brand: #0046c0;
  --color-surface-brand-hover: #003796;
  --color-text-on-brand: #ffffff;
  --overlay-backdrop: rgb(0 0 0 / 0.6);
  color-scheme: light;
}
@media (prefers-color-scheme: dark){
  [data-theme="auto"]{
    --color-text-default: #e8ecf2;
    --color-text-on-highlight: #002b77;
    --color-text-on-tint: #e8ecf2;
    --color-text-muted: #b1bac8;
    --color-text-on-dark: #001333;
    --color-text-error: #ffa099;
    --color-text-link-hover: #b3c9ff;
    --color-surface-default: #0f1827;
    --color-surface-subtle: #141f34;
    --color-surface-muted: #1b2b46;
    --color-surface-accent-subtle: #153037;
    --color-action-primary-default: #94bbff;
    --color-action-primary-hover: #b3c9ff;
    --color-border-decorative: #2f394b;
    --color-border-control: #6c778b;
    --color-accent-decoration: #20b6df;
    --color-highlight-sun: #ffd84d;
    --color-feedback-success-text: #7bf4ad;
    --color-feedback-success-surface: #153723;
    --color-feedback-success-border: #248f50;
    --color-feedback-info-text: #89bcf5;
    --color-feedback-info-surface: #152537;
    --color-feedback-info-border: #2f71bc;
    --color-feedback-warning-text: #f4bc7b;
    --color-feedback-warning-surface: #372715;
    --color-feedback-warning-border: #a16928;
    --color-feedback-error-text: #f7a19e;
    --color-feedback-error-surface: #371615;
    --color-feedback-error-border: #c63631;
    --color-surface-page: #0a101a;
    --color-surface-brand: #123268;
    --color-surface-brand-hover: #163c7d;
    --color-text-on-brand: #e8ecf2;
    --overlay-backdrop: rgb(0 0 0 / 0.72);
    color-scheme: dark;
  }
}
