/* ═══════════════════════════════════════════════════
   FREDERICO FERREIRA — Design Tokens
   ═══════════════════════════════════════════════════ */

:root {
  /* ── Brand Colors ── */
  --navy: #0E1E34;
  --navy-secondary: #142740;
  --navy-light: #1B3352;
  --navy-surface: #0B1829;

  --gold: #D1B27D;
  --gold-light: #E4CA8D;
  --gold-dark: #B89A65;
  --gold-muted: rgba(209, 178, 125, 0.15);
  --gold-glow: rgba(209, 178, 125, 0.08);

  /* ── Neutrals ── */
  --white: #FFFFFF;
  --off-white: #F5F6F8;
  --gray-100: #EBEDF0;
  --gray-200: #D0D4DA;
  --gray-300: #A0A7B4;
  --gray-400: #6B7280;
  --gray-500: #4B5563;
  --dark: #1A1A1A;

  /* ── Semantic ── */
  --text-primary: var(--white);
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.48);
  --text-dark: var(--dark);
  --text-dark-secondary: #4B5563;

  --bg-dark: var(--navy);
  --bg-dark-alt: var(--navy-secondary);
  --bg-light: var(--off-white);
  --bg-white: var(--white);

  --border-gold: rgba(209, 178, 125, 0.25);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(0, 0, 0, 0.08);

  /* ── Typography ── */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --fs-display: clamp(2.5rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-h4: clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.12em;

  /* ── Spacing ── */
  --space-2xs: 0.25rem;
  /* 4px */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 0.75rem;
  /* 12px */
  --space-md: 1rem;
  /* 16px */
  --space-lg: 1.5rem;
  /* 24px */
  --space-xl: 2rem;
  /* 32px */
  --space-2xl: 3rem;
  /* 48px */
  --space-3xl: 4rem;
  /* 64px */
  --space-4xl: 6rem;
  /* 96px */
  --space-5xl: 8rem;
  /* 128px */

  --section-py: clamp(4rem, 8vw, 7rem);

  /* ── Layout ── */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-pad: clamp(1.25rem, 4vw, 2rem);

  /* ── Borders & Radii ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 4px 20px rgba(209, 178, 125, 0.15);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* ── Z-index Scale ── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* ── Header ── */
  --header-height: 80px;
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
}