/* =============================================================
   tokens.css — Design tokens (single source of truth)
   Edit values here to retheme the entire site.
   ============================================================= */

:root {
  /* -----------------------------------------------------------
     Brand palette
     ----------------------------------------------------------- */
  --brand-red:        #FE063B;
  --brand-red-deep:   #8B0020;
  --brand-black:      #0A0A0A;
  --brand-white:      #FFFFFF;

  /* -----------------------------------------------------------
     Text (default context: dark surfaces)
     ----------------------------------------------------------- */
  --text-primary:     #FFFFFF;
  --text-secondary:   rgba(255, 255, 255, 0.75);
  --text-muted:       rgba(255, 255, 255, 0.55);

  /* -----------------------------------------------------------
     Surfaces & borders
     ----------------------------------------------------------- */
  --surface-elevated: rgba(255, 255, 255, 0.04);
  --border-subtle:    rgba(255, 255, 255, 0.10);

  /* -----------------------------------------------------------
     Shadows
     ----------------------------------------------------------- */
  --shadow-brand-sm:  0 4px 14px rgba(254, 6, 59, 0.18);
  --shadow-brand-md:  0 6px 20px rgba(254, 6, 59, 0.35);
  --shadow-brand-lg:  0 8px 22px rgba(254, 6, 59, 0.45);

  --elevation-1:      0 1px 2px rgba(0, 0, 0, 0.06);
  --elevation-2:      0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --elevation-3:      0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  --elevation-button: 0 4px 16px rgba(0, 0, 0, 0.25);

  /* -----------------------------------------------------------
     Typography — families
     ----------------------------------------------------------- */
  --font-display: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* -----------------------------------------------------------
     Typography — weights
     ----------------------------------------------------------- */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  /* -----------------------------------------------------------
     Typography — fluid sizes (clamp-based, approved in Fase 2A)
     ----------------------------------------------------------- */
  --fs-display:   clamp(1.75rem, 3.5vw, 3rem);    /* hero */
  --fs-h1:        clamp(1.5rem, 3vw, 2.5rem);
  --fs-h2:        clamp(1.25rem, 2.2vw, 2rem);
  --fs-h3:        clamp(1rem, 1.5vw, 1.35rem);
  --fs-body-lg:   1.125rem;
  --fs-body:      1rem;
  --fs-caption:   0.875rem;

  /* -----------------------------------------------------------
     Typography — line-heights
     ----------------------------------------------------------- */
  --lh-display:   1.05;
  --lh-h1:        1.10;
  --lh-h2:        1.15;
  --lh-h3:        1.25;
  --lh-body:      1.60;
  --lh-caption:   1.50;

  /* -----------------------------------------------------------
     Typography — tracking (letter-spacing)
     ----------------------------------------------------------- */
  --ls-display:   -0.02em;
  --ls-h1:        -0.015em;
  --ls-h2:        -0.01em;
  --ls-h3:        -0.005em;
  --ls-caption:   0.08em;
  --ls-button:    0.04em;

  /* -----------------------------------------------------------
     Spacing scale — 4px base unit
     ----------------------------------------------------------- */
  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* -----------------------------------------------------------
     Radii
     ----------------------------------------------------------- */
  --radius-sm:    6px;
  --radius-md:    10px;   /* default button/card */
  --radius-lg:    14px;
  --radius-xl:    18px;
  --radius-full:  9999px;

  /* -----------------------------------------------------------
     Container
     ----------------------------------------------------------- */
  --container-max:     1200px;
  --container-padding: clamp(1.25rem, 4vw, 3rem);

  /* -----------------------------------------------------------
     Transitions
     ----------------------------------------------------------- */
  --transition-fast: 150ms;
  --transition-base: 200ms;
  --transition-slow: 400ms;

  --ease-out:    cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}
