/* Tokens do design system do PDV Senhor Açaí (copiados de SenhorAcai/static/css/tokens.css em 2026-11-26;
   fonte: SenhorAcai/docs/DESIGN_SYSTEM.md). Único lugar com valores hex. Ao mudar o PDV, recopiar. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lilita One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lilita-one-latin-400-normal.woff2") format("woff2");
}

:root {
  /* Brand */
  --brand-brown: #483628;
  --brand-yellow: #F4B514;
  --brand-cream: #FEEDD1;

  /* Neutrals */
  --neutral-900: #483628;
  --neutral-700: #6B5236;
  --neutral-500: #8A7356;
  --neutral-300: #D9C6A5;
  --neutral-100: #FAF3E6;
  --white: #FFFFFF;

  /* Semantic */
  --success: #256B29;
  --danger: #C62828;
  --warning-bg: #FFE3A3;
  --warning-border: #B26A00;
  --info: #1F5FA8;

  /* Payment methods */
  --pay-dinheiro: #256B29;
  --pay-pix: #1F8A8A;
  --pay-credito: #1F5FA8;
  --pay-debito: #6B4FA0;

  /* Surfaces */
  --bg-app: var(--brand-cream);
  --bg-surface: var(--white);
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --border: var(--neutral-300);
  --overlay: rgba(72, 54, 40, .6);

  /* Typography */
  --font-display: "Lilita One", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --text-display: 400 40px/48px var(--font-display);
  --text-h1: 700 28px/36px var(--font-ui);
  --text-h2: 700 22px/30px var(--font-ui);
  --text-body-lg: 500 18px/26px var(--font-ui);
  --text-body: 400 16px/24px var(--font-ui);
  --text-small: 500 14px/20px var(--font-ui);
  --text-weight-display: 800 64px/72px var(--font-ui);
  --text-total: 800 48px/56px var(--font-ui);

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  /* Radius */
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-full: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(72,54,40,.12);
  --shadow-2: 0 4px 12px rgba(72,54,40,.16);
  --shadow-3: 0 12px 32px rgba(72,54,40,.24);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-modal: 250ms;

  /* Interaction (DESIGN_SYSTEM §7.1) */
  --shade-hover: 8%;
  --shade-press: 15%;
  --shade-ink: #1E140C;   /* darkening target for hover/press (deep brown, not pure black) */
  --focus-ring: 3px solid var(--info);

  /* Sizes */
  --topbar-h: 64px;
  --tap-pos: 56px;
  --tap-admin: 44px;
  --input-pos: 48px;
  --input-admin: 40px;
  --sidebar-w: 248px;
}

.num { font-variant-numeric: tabular-nums; }
