/* Fontes incluídas no pacote (pasta fonts/, licença SIL OFL 1.1) */
@font-face{font-family:"Archivo";src:url("fonts/archivo-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
:root{
  --color-text-default: #17352a;
  --color-text-on-highlight: #17352a;
  --color-text-on-tint: #17352a;
  --color-text-muted: #3a544a;
  --color-text-on-dark: #ffffff;
  --color-text-error: #951c18;
  --color-text-link-hover: #2b6248;
  --color-surface-default: #ffffff;
  --color-surface-subtle: #f7f3ea;
  --color-surface-muted: #e8efea;
  --color-surface-accent-subtle: #f0e4be;
  --color-action-primary-default: #17352a;
  --color-action-primary-hover: #2b6248;
  --color-border-decorative: #dce3dd;
  --color-border-control: #748f78;
  --color-accent-decoration: #c9a227;
  --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: #17352a;
  --color-surface-brand-hover: #2b6248;
  --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: "Archivo", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --font-display-weight: 800;
  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: #eaf0ee;
  --color-text-on-highlight: #17352a;
  --color-text-on-tint: #eaf0ee;
  --color-text-muted: #c4d2cd;
  --color-text-on-dark: #0f241c;
  --color-text-error: #ffbfba;
  --color-text-link-hover: #a8e6d3;
  --color-surface-default: #11241d;
  --color-surface-subtle: #173027;
  --color-surface-muted: #1f4235;
  --color-surface-accent-subtle: #372f15;
  --color-action-primary-default: #90dfc2;
  --color-action-primary-hover: #a8e6d3;
  --color-border-decorative: #324840;
  --color-border-control: #738c83;
  --color-accent-decoration: #d6ac29;
  --color-highlight-sun: #ffd84d;
  --color-feedback-success-text: #7bf4ad;
  --color-feedback-success-surface: #153723;
  --color-feedback-success-border: #248f50;
  --color-feedback-info-text: #b1d3f9;
  --color-feedback-info-surface: #152537;
  --color-feedback-info-border: #2f71bc;
  --color-feedback-warning-text: #f6c690;
  --color-feedback-warning-surface: #372715;
  --color-feedback-warning-border: #a16928;
  --color-feedback-error-text: #fac1bf;
  --color-feedback-error-surface: #371615;
  --color-feedback-error-border: #c63631;
  --color-surface-page: #0c1814;
  --color-surface-brand: #255544;
  --color-surface-brand-hover: #265745;
  --color-text-on-brand: #eaf0ee;
  --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: #17352a;
  --color-text-on-highlight: #17352a;
  --color-text-on-tint: #17352a;
  --color-text-muted: #3a544a;
  --color-text-on-dark: #ffffff;
  --color-text-error: #951c18;
  --color-text-link-hover: #2b6248;
  --color-surface-default: #ffffff;
  --color-surface-subtle: #f7f3ea;
  --color-surface-muted: #e8efea;
  --color-surface-accent-subtle: #f0e4be;
  --color-action-primary-default: #17352a;
  --color-action-primary-hover: #2b6248;
  --color-border-decorative: #dce3dd;
  --color-border-control: #748f78;
  --color-accent-decoration: #c9a227;
  --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: #17352a;
  --color-surface-brand-hover: #2b6248;
  --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: #eaf0ee;
    --color-text-on-highlight: #17352a;
    --color-text-on-tint: #eaf0ee;
    --color-text-muted: #c4d2cd;
    --color-text-on-dark: #0f241c;
    --color-text-error: #ffbfba;
    --color-text-link-hover: #a8e6d3;
    --color-surface-default: #11241d;
    --color-surface-subtle: #173027;
    --color-surface-muted: #1f4235;
    --color-surface-accent-subtle: #372f15;
    --color-action-primary-default: #90dfc2;
    --color-action-primary-hover: #a8e6d3;
    --color-border-decorative: #324840;
    --color-border-control: #738c83;
    --color-accent-decoration: #d6ac29;
    --color-highlight-sun: #ffd84d;
    --color-feedback-success-text: #7bf4ad;
    --color-feedback-success-surface: #153723;
    --color-feedback-success-border: #248f50;
    --color-feedback-info-text: #b1d3f9;
    --color-feedback-info-surface: #152537;
    --color-feedback-info-border: #2f71bc;
    --color-feedback-warning-text: #f6c690;
    --color-feedback-warning-surface: #372715;
    --color-feedback-warning-border: #a16928;
    --color-feedback-error-text: #fac1bf;
    --color-feedback-error-surface: #371615;
    --color-feedback-error-border: #c63631;
    --color-surface-page: #0c1814;
    --color-surface-brand: #255544;
    --color-surface-brand-hover: #265745;
    --color-text-on-brand: #eaf0ee;
    --overlay-backdrop: rgb(0 0 0 / 0.72);
    color-scheme: dark;
  }
}
