/* ============================================================
   Design Tokens — Flavia Fernandes Corporativo
   Tipografia: Poppins · Spacing: 8px base · Container: 1800px
   ============================================================ */

:root {
  /* ─── Cores principais (do briefing) ─── */
  --bg-dark: #1E1E1E;
  --bg-dark-translucent: rgba(30, 30, 30, 0.96);
  --bg-light: #FBFBFB;
  --color-text: #FFFFFF;
  --color-accent: #F58F27;

  /* Derivadas (sem fugir da identidade) */
  --bg-dark-deep: #141414;
  --bg-dark-elevated: #232323;
  --bg-light-warm: #F4F2EE;
  --bg-light-elevated: #FFFFFF;

  --color-ink: #0D0D0D;
  --color-ink-muted: rgba(13, 13, 13, 0.62);
  --color-ink-soft: rgba(13, 13, 13, 0.42);

  --color-text-muted: rgba(255, 255, 255, 0.70);
  --color-text-soft: rgba(255, 255, 255, 0.48);

  --color-accent-hover: #E07D15;
  --color-accent-soft: rgba(245, 143, 39, 0.12);
  --color-accent-line: rgba(245, 143, 39, 0.32);

  /* ─── Shades estendidos da paleta laranja ─── */
  --accent-50:   #FFF6EB;
  --accent-100:  #FFE6C5;
  --accent-200:  #FFCB8A;
  --accent-300:  #FFB163;
  --accent-400:  #F58F27;
  --accent-500:  #E07D15;
  --accent-600:  #C0680B;
  --accent-700:  #9A5108;
  --accent-glow:        rgba(245, 143, 39, 0.45);
  --accent-glow-soft:   rgba(245, 143, 39, 0.18);
  --accent-shine:       rgba(255, 200, 120, 0.55);

  --line-dark: rgba(255, 255, 255, 0.10);
  --line-dark-strong: rgba(255, 255, 255, 0.18);
  --line-light: rgba(13, 13, 13, 0.08);
  --line-light-strong: rgba(13, 13, 13, 0.16);

  /* ─── Tipografia · Poppins ─── */
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type scale calibrada para Poppins */
  --fs-eyebrow: 0.75rem;          /* 12px */
  --fs-micro: 0.8125rem;          /* 13px */
  --fs-body-sm: 0.9375rem;        /* 15px */
  --fs-body: 1.0625rem;           /* 17px */
  --fs-body-lg: 1.1875rem;        /* 19px */
  --fs-lead: 1.375rem;            /* 22px */

  --fs-h6: 1rem;
  --fs-h5: 1.25rem;
  --fs-h4: 1.625rem;
  --fs-h3: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-h2: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 2rem + 3.6vw, 5.25rem);
  --fs-display: clamp(3.25rem, 2.2rem + 5vw, 7rem);

  --lh-tight: 1.08;
  --lh-snug: 1.18;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --tracking-wide: 0.14em;
  --tracking-mid: 0.02em;
  --tracking-tight: -0.018em;
  --tracking-display: -0.035em;

  /* ─── Spacing · escala estrita 8px ─── */
  /* O número após --s- representa MULTIPLICADOR de 8px (ex: --s-3 = 24px) */
  --s-1: 0.5rem;     /*  8px */
  --s-2: 1rem;       /* 16px */
  --s-3: 1.5rem;     /* 24px */
  --s-4: 2rem;       /* 32px */
  --s-5: 2.5rem;     /* 40px */
  --s-6: 3rem;       /* 48px */
  --s-7: 3.5rem;     /* 56px */
  --s-8: 4rem;       /* 64px */
  --s-10: 5rem;      /* 80px */
  --s-12: 6rem;      /* 96px */
  --s-14: 7rem;      /* 112px */
  --s-16: 8rem;      /* 128px */
  --s-20: 10rem;     /* 160px */
  --s-24: 12rem;     /* 192px */
  --s-28: 14rem;     /* 224px */
  --s-32: 16rem;     /* 256px */
  --s-40: 20rem;     /* 320px */
  --s-48: 24rem;     /* 384px */

  /* ─── Container · grid base 1800px ─── */
  --container-narrow: 56rem;       /*  896px */
  --container:        90rem;       /* 1440px */
  --container-wide:   100rem;      /* 1600px */
  --container-full:   112.5rem;    /* 1800px */

  --gutter-x: clamp(1.25rem, 2.5vw, 3rem);
  --section-y: clamp(4rem, 8vw, 8rem);
  --section-y-lg: clamp(5rem, 10vw, 10rem);

  /* ─── Radii ─── */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* ─── Sombras institucionais ─── */
  --shadow-soft: 0 4px 24px -8px rgba(13, 13, 13, 0.10);
  --shadow-card: 0 12px 40px -16px rgba(13, 13, 13, 0.18);
  --shadow-lift: 0 24px 60px -20px rgba(13, 13, 13, 0.28);
  --shadow-dark: 0 24px 60px -20px rgba(0, 0, 0, 0.6);

  /* ─── Easing & duração ─── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
  --d-fast: 180ms;
  --d-base: 280ms;
  --d-slow: 540ms;
  --d-cinematic: 900ms;

  /* ─── z-index ─── */
  --z-base: 1;
  --z-overlay: 10;
  --z-modal: 70;
  --z-fab: 80;
  --z-header: 100;
  --z-toast: 110;
}

/* Tokens · mobile (escala compacta) */
@media (max-width: 720px) {
  :root {
    --gutter-x: 1.25rem;
    --section-y: 4rem;
    --section-y-lg: 5rem;
    --fs-h1: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
    --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
    --fs-lead: 1.125rem;
    --fs-body-lg: 1.0625rem;
  }
}
