/* =============================================================================
   Viva Talent — Design tokens (CSS custom properties)
   =============================================================================
   Source of truth: Figma file ND8Vh51S7xfOXKOvIZ7Dn2, page 354:1299 «UI/UX VIVA TALENT».

   ⚠️ Viva Talent has NO approved brand guidelines. These tokens describe what the
   Figma frames draw — nothing more. Do not cite them as a brand system.

   COLOUR  — names mirror the Figma LOCAL VARIABLES 1:1 ("/" → "-"). Read 2026-09-14
             with the Figma MCP `get_variable_defs` on nodes 367:615 and 361:67
             (the REST /variables/local endpoint is outside the token's scope → 403).
   RAW     — values painted directly in the frames with NO variable bound. Listed
             so nothing is invented; each carries the node where it was read.
   TYPE    — the file's 9 local TEXT styles (VT/* and UI/*) + the recurring
             unstyled sizes read from the page frames.
   ============================================================================= */

:root {
  /* ---------------------------------------------------------------------------
     1. COLOUR — Figma variables
     --------------------------------------------------------------------------- */
  /* vt/base */
  --vt-base-white: #FFFFFF;

  /* vt/neutral */
  --vt-neutral-50:  #F4F5FB;
  --vt-neutral-100: #E8E9EF;
  --vt-neutral-200: #D5D6DB;
  --vt-neutral-500: #6E7076; /* Figma vt/neutral/500 is #7E8086 (3.95:1 on white, 3.63:1 on neutral-50 — fails WCAG AA for the 15–16px
                                placeholder and pending text it colours). Gate note 8 (2026-10-15): same hue and saturation,
                                lightness −16/255 — the smallest step that clears 4.5:1 on neutral-50 (4.55) and white (4.95). */
  --vt-neutral-700: #4B4C53;

  /* vt/semantic */
  --vt-semantic-ink:          #1E1962; /* headings, dark text on light */
  --vt-semantic-slab:         #1E1962; /* footer + dark cards */
  --vt-semantic-body:         #4B4C53;
  --vt-semantic-meta:         #64666C;
  --vt-semantic-sunken:       #F4F5FB; /* page ground */
  --vt-semantic-field:        #00AFEF; /* CTA band */
  --vt-semantic-link-on-dark: #4DCCFF; /* header menu links */

  /* cliente/p1-rol */
  --cliente-p1-rol-deep:      #010B2B;
  --cliente-p1-rol-primary:   #022873;
  --cliente-p1-rol-secondary: #0460D9;
  --cliente-p1-rol-tertiary:  #1583D1;
  --cliente-p1-rol-tint-200:  #CFDCF6;
  --cliente-p1-rol-surface:   #E0ECEC;

  /* cliente/p1-azul-lima */
  --cliente-p1-azul-lima-azul-800: #011C40;

  /* cliente/p2-rol */
  --cliente-p2-rol-accent:       #ECED1F;
  --cliente-p2-rol-link-on-dark: #8BC4F6;

  /* ---------------------------------------------------------------------------
     2. COLOUR — RAW values painted in the frames (no variable bound)
     --------------------------------------------------------------------------- */
  --vt-raw-lime:          #CBD710; /* accent rule 364:687, dark-card arrow 367:608 */
  --vt-raw-sky:           #8FC6F2; /* breadcrumb trail 364:684, dark-card count 367:611 */
  --vt-raw-chip-cyan-bg:  #E6F7FE; /* Chip Tone=cyan 195:12 */
  --vt-raw-chip-cyan-line:#CDEFFD; /* Chip Tone=cyan stroke 195:12 */
  --vt-raw-chip-cyan-ink: #005E90; /* Chip Tone=cyan text in the main component 195:13 */
  --vt-raw-white-a08: rgba(255, 255, 255, 0.08); /* Button/Secondary dark hover 207:167 */
  --vt-raw-white-a16: rgba(255, 255, 255, 0.16); /* header dividers 360:104 / 360:90 */
  --vt-raw-white-a22: rgba(255, 255, 255, 0.22); /* header menu separators 360:109 */
  --vt-raw-white-a32: rgba(255, 255, 255, 0.32); /* footer email field stroke 201:53 */
  --vt-raw-white-a40: rgba(255, 255, 255, 0.40); /* Button/Secondary dark stroke 207:165 */

  /* Interaction states — drawn in the main components (194:27, 194:43, 194:59, 195:22, 195:33, 195:44) */
  --vt-raw-state-primary-hover: #2D2D7B; /* Button/Primary State=hover 194:7 */
  --vt-raw-state-white-hover:   #E8F1FF; /* Button/Accent Tone=white hover 209:206 */
  --vt-raw-state-focus:         #3E4095; /* focus-visible stroke, 3px OUTSIDE (194:17, 195:29) */
  --vt-state-active-opacity:    0.92;
  --vt-state-disabled-opacity:  0.38;

  /* Gradient — Page Hero / bands (364:690). Handles (0,.5)→(1,.5) = left→right. */
  --vt-gradient-deep: linear-gradient(90deg,
      var(--cliente-p1-rol-deep) 0%,
      var(--cliente-p1-azul-lima-azul-800) 55%,
      var(--cliente-p1-rol-primary) 100%);

  /* Elevation — searchcard 367:671 */
  --vt-shadow-card: 0 18px 46px rgba(30, 25, 98, 0.08);

  /* ---------------------------------------------------------------------------
     3. TYPOGRAPHY — families (both served by Google Fonts, OFL)
     --------------------------------------------------------------------------- */
  --vt-font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --vt-font-text:    "Inter", system-ui, sans-serif;

  /* ---------------------------------------------------------------------------
     4. SPACING — auto-layout gaps + paddings measured in the frames (px)
     --------------------------------------------------------------------------- */
  --vt-space-2: 2px;   --vt-space-4: 4px;   --vt-space-6: 6px;   --vt-space-8: 8px;
  --vt-space-10: 10px; --vt-space-12: 12px; --vt-space-14: 14px; --vt-space-16: 16px;
  --vt-space-20: 20px; --vt-space-22: 22px; --vt-space-24: 24px; --vt-space-28: 28px;
  --vt-space-32: 32px; --vt-space-36: 36px; --vt-space-40: 40px; --vt-space-44: 44px;
  --vt-space-48: 48px; --vt-space-52: 52px; --vt-space-56: 56px; --vt-space-64: 64px;
  --vt-space-72: 72px; --vt-space-84: 84px; --vt-space-96: 96px; --vt-space-110: 110px;
  --vt-space-144: 144px;

  /* ---------------------------------------------------------------------------
     5. RADII
     --------------------------------------------------------------------------- */
  --vt-radius-3: 3px;    /* accent rule */
  --vt-radius-6: 6px;    /* checkbox */
  --vt-radius-24: 24px;
  --vt-radius-28: 28px;  /* cards */
  --vt-radius-32: 32px;  /* search card */
  --vt-radius-pill: 999px;

  /* ---------------------------------------------------------------------------
     6. LAYOUT — artboards are 1440 (Desktop) and 375 (Mobile)
     --------------------------------------------------------------------------- */
  --vt-content-max: 1152px;   /* 1440 − 2 × 144 */
  --vt-gutter-mobile: 20px;
  --vt-gutter-desktop: 32px;  /* min gutter between 1024 and 1216; at 1440 the 1152 cap yields 144 */
}
