/* ============================================================
   HALO DIGIT — Design System foundations
   Colors + Typography tokens
   Dark, corporate, glassmorphic. Brand font: Prompt.
   ============================================================ */

/* ---------- Fonts ---------- */
/* Prompt — brand typeface, fully self-hosted (SIL OFL). Weights 100–900 + italics. */
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-Thin.ttf") format("truetype");
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-ThinItalic.ttf") format("truetype");
  font-weight: 100; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-ExtraLight.ttf") format("truetype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-LightItalic.ttf") format("truetype");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Prompt";
  src: url("fonts/Prompt-Black.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}
/* Italics */
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-MediumItalic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-SemiBoldItalic.ttf") format("truetype"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-ExtraBoldItalic.ttf") format("truetype"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("fonts/Prompt-BlackItalic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  /* ---------------------------------------------------------
     BRAND CORE PALETTE  (from official "Paleta cromática")
     --------------------------------------------------------- */
  --halo-orange:        #f25c05; /* primary brand orange      */
  --halo-orange-deep:   #f24405; /* deep red-orange (gradient) */
  --halo-purple:        #5f45c0; /* secondary accent (photo overlays) */
  --halo-ink:           #0d0d0d; /* near-black foundation      */
  --halo-mist:          #e2e2e2; /* light neutral / light surfaces */
  --halo-white:         #ffffff;

  /* ---------------------------------------------------------
     DARK-THEME SURFACES  (the site lives on near-black)
     --------------------------------------------------------- */
  --surface-base:    #0d0d0d;  /* page background            */
  --surface-raised:  #141417;  /* solid raised panel         */
  --surface-sunken:  #090909;  /* footer / wells             */
  --surface-line:    rgba(255,255,255,0.10); /* hairline borders */
  --surface-line-strong: rgba(255,255,255,0.18);

  /* Glass cards — the signature surface treatment */
  --glass-fill:   rgba(255,255,255,0.045);
  --glass-fill-2: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.12);
  --glass-blur:   18px;

  /* ---------------------------------------------------------
     TEXT (on dark)
     --------------------------------------------------------- */
  --fg1: #f5f5f6;                    /* primary text          */
  --fg2: rgba(245,245,246,0.72);     /* secondary text        */
  --fg3: rgba(245,245,246,0.50);     /* muted / captions      */
  --fg-on-orange: #ffffff;           /* text on orange fills  */
  --fg-on-light:  #0d0d0d;           /* text on light surfaces */

  /* ---------------------------------------------------------
     SEMANTIC ACCENTS
     --------------------------------------------------------- */
  --accent:        var(--halo-orange);
  --accent-hover:  #ff6a14;          /* lighter on hover      */
  --accent-press:  #d94e02;          /* darker on press       */
  --accent-soft:   rgba(242,92,5,0.14);  /* tint wash         */
  --accent-ring:   rgba(242,92,5,0.45);  /* focus ring         */

  /* signature brand gradient (orange) */
  --grad-orange: linear-gradient(135deg, #ff7a1f 0%, #f25c05 45%, #f24405 100%); /* @kind color */
  /* purple photographic overlay gradient */
  --grad-purple: linear-gradient(120deg, rgba(95,69,192,0.85) 0%, rgba(13,13,13,0.35) 70%); /* @kind color */

  /* ---------------------------------------------------------
     TYPE — single family system (Prompt)
     --------------------------------------------------------- */
  --font-sans: "Prompt", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);

  /* weights */
  --w-light: 300; /* @kind font */
  --w-regular: 400; /* @kind font */
  --w-medium: 500; /* @kind font */
  --w-semibold: 600; /* @kind font */
  --w-bold: 700; /* @kind font */

  /* Type scale (desktop). Headings = Prompt light/medium, tight tracking.
     display=hero 44–68px · h1=48 · h2=36 · h3=24 · h4=20 · body-lg=18 · body=16 · small=14 · eyebrow=13 */
  --display:   clamp(2.75rem, 5.2vw, 4.25rem); /* @kind font */
  --h1:        clamp(2.25rem, 3.6vw, 3rem); /* @kind font */
  --h2:        clamp(1.75rem, 2.6vw, 2.25rem); /* @kind font */
  --h3:        1.5rem; /* @kind font */
  --h4:        1.25rem; /* @kind font */
  --body-lg:   1.125rem; /* @kind font */
  --body:      1rem; /* @kind font */
  --small:     0.875rem; /* @kind font */
  --eyebrow:   0.8125rem; /* @kind font */

  --lh-tight: 1.05; /* @kind font */
  --lh-snug:  1.18; /* @kind font */
  --lh-body:  1.6; /* @kind font */

  /* ---------------------------------------------------------
     RADII / SHADOW / SPACE
     --------------------------------------------------------- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 28px 64px rgba(0,0,0,0.55);
  --shadow-glow: 0 18px 50px rgba(242,92,5,0.30); /* orange glow under CTAs */

  /* 4px-based spacing */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px;
}

/* ============================================================
   SEMANTIC ELEMENT STYLES
   Apply by adding the class, or use as reference.
   ============================================================ */
.halo-display {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: var(--display);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--fg1);
  text-wrap: balance;
}
.halo-h1 {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: var(--h1);
  line-height: var(--lh-snug);
  letter-spacing: -0.018em;
  color: var(--fg1);
  text-wrap: balance;
}
.halo-h2 {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: var(--h2);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  color: var(--fg1);
  text-wrap: balance;
}
.halo-h3 {
  font-weight: var(--w-semibold);
  font-size: var(--h3);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg1);
}
.halo-h4 {
  font-weight: var(--w-semibold);
  font-size: var(--h4);
  line-height: 1.35;
  color: var(--fg1);
}
.halo-body {
  font-weight: var(--w-light);
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--fg2);
}
.halo-body-lg {
  font-weight: var(--w-light);
  font-size: var(--body-lg);
  line-height: var(--lh-body);
  color: var(--fg2);
}
.halo-small {
  font-weight: var(--w-regular);
  font-size: var(--small);
  line-height: 1.5;
  color: var(--fg3);
}
/* Eyebrow — used above every section title on the site */
.halo-eyebrow {
  font-weight: var(--w-semibold);
  font-size: var(--eyebrow);
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
