:root {
  /* ============================================================
     CORES · ESCALA DE TINTA (escuro dominante)
     ============================================================ */
  --ink-900: #0F0F12;
  --ink-800: #1A1A1F;
  --ink-700: #2A2730;
  --ink-600: #3D3946;
  --ink-500: #565261;

  /* ============================================================
     CORES · MARCA (roxo CB, acento intencional)
     ============================================================ */
  --brand-purple: #5D2873;
  --brand-purple-soft: #8B4FA3;
  --brand-purple-deep: #43195A;
  --brand-purple-tint: #EFE4F4;

  /* ============================================================
     CORES · ACENTO SECUNDARIO (dourado dos stills)
     ============================================================ */
  --accent-gold: #C9A227;
  --accent-gold-soft: #E2C45F;
  --accent-gold-deep: #9A7A14;

  /* ============================================================
     CORES · BASE CLARA (papel quente, mais agencia-design)
     ============================================================ */
  --paper: #F4F1EC;
  --paper-pure: #FFFFFF;
  --mist: #E4E1DA;
  --mist-strong: #CFCBC2;

  /* ============================================================
     CORES · FUNCAO SEMANTICA (uso, nao tom)
     ============================================================ */
  --bg-base: var(--paper);
  --bg-surface: var(--paper-pure);
  --bg-inverse: var(--ink-900);
  --bg-brand: var(--brand-purple);

  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-700);
  --text-muted: var(--ink-500);
  --text-on-dark: var(--paper);
  --text-on-dark-muted: #B7B2BF;
  --text-on-brand: var(--paper-pure);
  --text-brand: var(--brand-purple);
  --text-metric: var(--accent-gold);

  --border-subtle: var(--mist);
  --border-strong: var(--mist-strong);
  --border-brand: var(--brand-purple);

  --link: var(--brand-purple);
  --link-hover: var(--brand-purple-soft);

  /* ============================================================
     GRADIENTES DE MARCA
     ============================================================ */
  --gradient-brand: linear-gradient(135deg, var(--brand-purple-deep) 0%, var(--brand-purple) 55%, var(--brand-purple-soft) 100%);
  --gradient-ink: linear-gradient(160deg, var(--ink-900) 0%, var(--ink-700) 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent-gold-deep) 0%, var(--accent-gold) 60%, var(--accent-gold-soft) 100%);

  /* ============================================================
     TIPOGRAFIA · FAMILIAS
     ============================================================ */
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ============================================================
     TIPOGRAFIA · ESCALA FLUIDA (clamp, base 16px)
     ============================================================ */
  --fs-xs: clamp(0.75rem, 0.71rem + 0.18vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.96rem + 0.20vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1.06rem + 0.32vw, 1.3125rem);
  --fs-lg: clamp(1.375rem, 1.24rem + 0.66vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.49rem + 1.28vw, 2.5rem);
  --fs-2xl: clamp(2.25rem, 1.78rem + 2.34vw, 3.5rem);
  --fs-3xl: clamp(2.75rem, 1.95rem + 4.00vw, 5rem);
  --fs-display: clamp(3.25rem, 2.10rem + 5.75vw, 6.5rem);

  /* ============================================================
     TIPOGRAFIA · PESOS, ALTURA DE LINHA, ESPACAMENTO
     ============================================================ */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.05;
  --lh-snug: 1.18;
  --lh-normal: 1.45;
  --lh-relaxed: 1.65;

  --ls-tight: -0.02em;
  --ls-snug: -0.01em;
  --ls-normal: 0;
  --ls-wide: 0.04em;
  --ls-wider: 0.12em;

  /* ============================================================
     ESPACAMENTO · ESCALA 4px
     ============================================================ */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* fluido para secoes */
  --section-y: clamp(3rem, 2rem + 5vw, 7rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 3rem);
  --container-max: 1200px;

  /* ============================================================
     RAIOS
     ============================================================ */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --radius-round: 50%;

  /* ============================================================
     SOMBRAS (tom roxo-grafite, nao cinza neutro)
     ============================================================ */
  --shadow-xs: 0 1px 2px rgba(15, 15, 18, 0.06);
  --shadow-sm: 0 2px 8px rgba(15, 15, 18, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 15, 18, 0.10);
  --shadow-lg: 0 18px 48px rgba(15, 15, 18, 0.16);
  --shadow-brand: 0 12px 32px rgba(93, 40, 115, 0.28);
  --shadow-gold: 0 8px 24px rgba(201, 162, 39, 0.24);

  /* ============================================================
     TRANSICOES
     ============================================================ */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 140ms var(--ease-out);
  --t-base: 240ms var(--ease-out);
  --t-slow: 420ms var(--ease-out);

  /* ============================================================
     CAMADAS (z-index)
     ============================================================ */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 100;
  --z-overlay: 1000;
}
