/* ============================================================
   JURIEXPERTOS — Design Tokens
   Single source of truth for the visual language.
   Import this file first in every page/component.
   ============================================================ */

:root {

  /* ----------------------------------------------------------
     COLOR PALETTE
  ---------------------------------------------------------- */

  /* Core brand colors */
  --color-midnight:   #1A2632;   /* hero, footer, dark sections */
  --color-steel:      #3E5C76;   /* CTA buttons, interactive */
  --color-platinum:   #B8BCC0;   /* metallic details, eyebrows, trust numbers */
  --color-cold-gray:  #EEF1F3;   /* light section backgrounds */
  --color-white:      #FBFCFD;   /* clean white, cards */
  --color-toga-red:   #8F3438;   /* ONLY for 24/7 penal urgency bar */

  /* Tints & shades (auto-derived from core) */
  --color-midnight-90: rgba(26, 38, 50, 0.9);
  --color-midnight-60: rgba(26, 38, 50, 0.6);
  --color-midnight-20: rgba(26, 38, 50, 0.2);
  --color-steel-hover: #4D6F8A;
  --color-platinum-40: rgba(184, 188, 192, 0.4);
  --color-platinum-15: rgba(184, 188, 192, 0.15);
  --color-toga-red-bg: rgba(143, 52, 56, 0.12);

  /* Semantic aliases — use these in components, not raw hex */
  --bg-dark:       var(--color-midnight);
  --bg-light:      var(--color-cold-gray);
  --bg-white:      var(--color-white);
  --bg-card:       var(--color-white);

  --text-primary:  var(--color-white);
  --text-secondary:var(--color-platinum);
  --text-dark:     var(--color-midnight);
  --text-muted:    var(--color-platinum-40);

  --cta-bg:        var(--color-steel);
  --cta-bg-hover:  var(--color-steel-hover);
  --cta-text:      var(--color-white);

  --detail-color:  var(--color-platinum);
  --urgent-color:  var(--color-toga-red);
  --urgent-bg:     var(--color-toga-red-bg);

  --border-subtle: var(--color-platinum-15);


  /* ----------------------------------------------------------
     TYPOGRAPHY
  ---------------------------------------------------------- */

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Public Sans', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  --leading-tight:  1.1;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  --tracking-tight:  -0.02em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-widest:  0.15em;

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;


  /* ----------------------------------------------------------
     SPACING
  ---------------------------------------------------------- */

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;


  /* ----------------------------------------------------------
     BORDER RADIUS
  ---------------------------------------------------------- */

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 9999px;


  /* ----------------------------------------------------------
     SHADOWS
  ---------------------------------------------------------- */

  --shadow-sm:   0 1px 4px rgba(26, 38, 50, 0.15);
  --shadow-md:   0 4px 16px rgba(26, 38, 50, 0.25);
  --shadow-lg:   0 8px 32px rgba(26, 38, 50, 0.35);
  --shadow-glow: 0 0 48px rgba(62, 92, 118, 0.18);


  /* ----------------------------------------------------------
     TRANSITIONS
  ---------------------------------------------------------- */

  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;


  /* ----------------------------------------------------------
     LAYOUT
  ---------------------------------------------------------- */

  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;

  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-toast:   300;
}
