/* ============================================================
   CASA DO PÃO DE QUEIJO CIA JR — Design Tokens (Kinetic Typography)
   Warm bakery palette + animated text
   ============================================================ */
:root {
  /* Core Colors */
  --bg-warm: #FAF7F2;
  --bg-cream: #F5F0E8;
  --bg-paper: #FFFDF9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF9F0;
  --bg-dark: #2C1810;

  /* Primary — Golden */
  --primary: #D4A017;
  --primary-light: #E8B931;
  --primary-dark: #B8890F;
  --primary-subtle: rgba(212, 160, 23, 0.1);
  --primary-glow: rgba(212, 160, 23, 0.25);

  /* Secondary — Warm Red */
  --secondary: #C0392B;
  --secondary-light: #E74C3C;
  --secondary-subtle: rgba(192, 57, 43, 0.1);

  /* Accent — Coffee Brown */
  --accent: #6F4E37;
  --accent-light: #8B6F55;
  --accent-subtle: rgba(111, 78, 55, 0.1);

  /* Neutral */
  --white: #FFFFFF;
  --fg: #2C1810;
  --fg-muted: #6B5B50;
  --fg-subtle: #9E8E83;
  --border: rgba(44, 24, 16, 0.08);
  --border-strong: rgba(44, 24, 16, 0.15);

  /* Status */
  --green: #27AE60;
  --green-light: rgba(39, 174, 96, 0.1);
  --red: #E74C3C;
  --red-light: rgba(231, 76, 60, 0.1);

  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-hero: clamp(3rem, 8vw, 7rem);

  --leading-tight: 1.1;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-black: 900;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 12px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 8px 30px rgba(44, 24, 16, 0.1);
  --shadow-xl: 0 16px 50px rgba(44, 24, 16, 0.12);
  --shadow-glow: 0 0 30px var(--primary-glow);

  /* Layout */
  --header-h: 72px;
  --max-w: 1200px;
  --max-w-sm: 640px;
  --max-w-md: 768px;

  /* Transitions */
  --duration: 0.3s;
  --duration-fast: 0.15s;
  --duration-slow: 0.6s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-warm: #1A120B;
    --bg-cream: #221A12;
    --bg-paper: #2C1E14;
    --bg-card: #34241A;
    --bg-card-hover: #3D2C20;
    --bg-dark: #0F0A06;
    --fg: #F5F0E8;
    --fg-muted: #B8A89A;
    --fg-subtle: #7A6A5E;
    --border: rgba(245, 240, 232, 0.08);
    --border-strong: rgba(245, 240, 232, 0.15);
  }
}
