/* ==========================================================================
   HUMENIUK ADVOCACIA — DESIGN SYSTEM TOKENS
   Conforme Brand System (Legado Branding 2026) e Brandbook Oficial
   ========================================================================== */

:root {
  /* --- PALETA TERRITORIAL: VINHO / MARSALA --- */
  --color-wine-950: #1F070C;
  --color-wine-900: #2C0C12;
  --color-wine-850: #391118;
  --color-wine-800: #4A1821; /* Cor primária oficial */
  --color-wine-700: #5C1E2A;
  --color-wine-600: #702634;
  --color-wine-500: #883344;
  --color-wine-400: #A8495C;
  --color-wine-100: #F3E6E8;
  --color-wine-50:  #FAF2F3;

  /* --- PALETA DE RESPIRO: OFF-WHITE / LUXURY CREAMS --- */
  --color-offwhite-50:  #FFFFFF;
  --color-offwhite-100: #FAF7F5; /* Fundo respirável oficial */
  --color-offwhite-200: #F5EFEB;
  --color-offwhite-300: #ECE4DE;
  --color-offwhite-400: #DFD5CD;
  --color-offwhite-500: #C7B9AF;
  --color-offwhite-muted: #8E7D73;

  /* --- ACENTO PONTUAL: DOURADO / COBRE NOBRE --- */
  --color-gold-300: #F3C4AA;
  --color-gold-400: #DF9B78; /* Ouro nobre pontual oficial */
  --color-gold-500: #C9825F;
  --color-gold-600: #AC6847;
  --color-gold-700: #8B4D30;
  --color-gold-gradient: linear-gradient(135deg, #F3C4AA 0%, #DF9B78 50%, #C9825F 100%);
  --color-gold-glow: rgba(223, 155, 120, 0.28);

  /* --- BASE MATERIAL: MADEIRA ESCURA E PEDRA (SEM PRETO PURO #000) --- */
  --color-stone-950: #140E0F;
  --color-stone-900: #1A1314;
  --color-stone-850: #231A1C;
  --color-stone-800: #2D2224;
  --color-stone-700: #3E3033;
  --color-stone-600: #534246;

  /* --- TEXTO & CONTRASTE --- */
  --text-primary-on-light: #231A1C;
  --text-secondary-on-light: #5A4C4E;
  --text-muted-on-light: #8A7A7C;

  --text-primary-on-dark: #FAF7F5;
  --text-secondary-on-dark: #E2D7D1;
  --text-muted-on-dark: #B5A49D;

  /* --- STATUS & ALERTAS DE RISCO (METRADO DO MAPA DE EXPOSIÇÃO) --- */
  --risk-low: #3E8B65;
  --risk-medium: #D1913C;
  --risk-high: #B83A3A;
  --risk-critical: #8C1C24;

  /* --- FONTES (Google Fonts carregadas no head) --- */
  --font-serif-editorial: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-serif-display: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- ESPAÇAMENTOS SISTÊMICOS --- */
  --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: 4.5rem;   /* 72px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */

  /* --- BORDAS & SOMBRAS LUXUOSAS --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(35, 26, 28, 0.05);
  --shadow-card: 0 10px 30px rgba(35, 26, 28, 0.08);
  --shadow-elevated: 0 20px 45px rgba(35, 26, 28, 0.12);
  --shadow-wine: 0 15px 35px rgba(74, 24, 33, 0.25);
  --shadow-gold: 0 8px 25px rgba(223, 155, 120, 0.35);

  /* --- TRANSIÇÕES FLUIDAS --- */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- LARGURAS DE CONTÊINER --- */
  --container-narrow: 840px;
  --container-standard: 1200px;
  --container-wide: 1400px;
}
