/*
 * Fontes Self-Hosted (Fredoka e Inter):
 * Descomente os blocos @font-face abaixo após copiar os arquivos .woff2
 * listados em frontend/fonts/README.md. Enquanto estiverem comentados,
 * o app utiliza os fallbacks definidos em --font-display e --font-sans sem gerar 404.
 *
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  /* Cores da marca FritoZ */
  --wine-900: #3F0D20;
  --wine-700: #561428;
  --yellow-500: #F6A91B;
  --yellow-300: #FBC84D;
  --orange-500: #E8742A;
  --gold-400: #E9A23B;
  --heart-500: #C8302F;
  --cream-50: #FFF8EC;
  --cream-100: #FFF1D6;
  --surface: #FFFFFF;
  --border: #EFE2CC;
  --ink: #2B1520;
  --muted: #7A5C66;

  /* Cores semânticas (distintas da marca, com tokens *-ink em contraste AA >= 4.5:1) */
  --success: #2E7D4F;
  --success-ink: #1F603B;
  --success-bg: #E7F4EC;
  --warning: #B26A00;
  --warning-ink: #8A4F00;
  --warning-bg: #FFF0D4;
  --danger: #B3261E;
  --danger-bg: #FDEAE8;
  --info: #2F6B8F;
  --info-bg: #E8F2F8;

  /* Tipografia */
  --font-display: "Fredoka", "Baloo 2", ui-rounded, system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-md: 1rem;      /* 16px */
  --text-lg: 1.25rem;   /* 20px */
  --text-xl: 1.5rem;    /* 24px */
  --text-2xl: 2rem;     /* 32px */

  /* Espaçamento (escala de 4px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

  /* Formas & profundidade */
  --radius-card: 20px;
  --radius-input: 14px;
  --radius-pill: 999px;
  --shadow-warm: 0 4px 16px rgba(86, 20, 40, 0.08);
  --shadow-warm-lg: 0 12px 32px rgba(63, 13, 32, 0.14);

  /* Alvos de toque e layout */
  --touch-min: 44px;
  --touch-op: 56px;
  --sidebar-width: 260px;
  --bottom-nav-height: 68px;

  /* Foco acessível */
  --focus-ring: 0 0 0 3px var(--yellow-300), 0 0 0 5px var(--wine-700);
}
