/* Inter self-hosted — mesmos woff2 do Google Fonts (variable, 1 arquivo
   por subset). Espelha as declaracoes do Google: renderizacao identica,
   sem <link> externo render-blocking. font-display:swap preservado. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   DESIGN TOKENS — fonte única de verdade para o visual.
   Altere aqui para repaginar o site inteiro.
   Fontes: carregadas via <link rel="preconnect"/stylesheet"> no <head> de
   cada página (não por @import aqui — @import bloqueia a renderização em série).
   ============================================================ */

:root {
  /* --- Cores: neutros (monocromático, sem tom azulado) --- */
  --c-white: #ffffff;
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-1: #fafafb;
  --c-surface-2: #f4f4f5;
  --c-surface-3: #e7e7e8;

  --c-text: #0a0a0a;
  --c-text-muted: #6b6b6f;
  --c-text-subtle: #9a9a9f;
  --c-text-invert: #ffffff;

  --c-border: #e6e6e8;
  --c-border-strong: #d6d6d9;
  /* Hairline fria + borda azulada (acabamento laboratorial) */
  --c-hairline: rgba(15, 23, 42, 0.07);
  --c-border-blue: rgba(11, 125, 240, 0.24);
  --c-border-blue-strong: rgba(11, 125, 240, 0.4);

  /* --- Cores: marca (azul Biover + verde de status) --- */
  --c-primary: #0b7df0;
  --c-primary-hover: #0a6fd6;
  --c-primary-active: #0857b0;
  --c-primary-weak: #e9f3fe;
  --c-primary-weak-2: #d3e7fc;

  /* Sem verde na identidade: accent é um segundo tom de azul */
  --c-accent: #3b93f2;
  --c-accent-weak: #e9f3fe;
  --c-accent-bright: #5aa9f2; /* azul elétrico p/ detalhes sobre fundo escuro */

  /* --- Superfícies escuras (hero, footer, seções "ink") ---
     Escala consistente de azul-marinho + texto/hairlines sobre escuro.
     Usar em vez de hex soltos para manter as seções escuras coerentes. */
  --c-ink: #060a12;           /* fundo mais profundo (hero) */
  --c-ink-2: #0a1220;         /* superfície escura (seção) */
  --c-ink-3: #0f1c33;         /* card sobre superfície escura */
  /* Azul-marinho da marca. Estava literal na newsletter; virou token ao
     ganhar um segundo uso (cartao Research Use Only da PDP). */
  --grad-ink-blue: linear-gradient(120deg, #050d21 0%, #10245e 55%, #1b3a8a 100%);
  --c-ink-line: rgba(255, 255, 255, 0.10);
  --c-ink-line-strong: rgba(255, 255, 255, 0.18);
  --c-on-ink: rgba(255, 255, 255, 0.72);
  --c-on-ink-strong: #ffffff;
  --c-on-ink-muted: rgba(255, 255, 255, 0.52);

  /* --- Fundos de seção (alternância controlada) + vidro --- */
  --c-bg-tint: #eaf1f9;       /* seção levemente azulada */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-ink: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-blur: saturate(160%) blur(16px);

  /* --- Cores: feedback ---
     Identidade sem verde: "success" (em estoque, frete grátis, desconto,
     etapa concluída) usa o azul da marca. Vermelho/âmbar seguem só para
     erro e alerta funcionais. */
  --c-success: #0b7df0;
  --c-success-weak: #e9f3fe;
  --c-danger: #dc2626;
  --c-danger-weak: #fee2e2;
  --c-warning: #d97706;
  --c-warning-weak: #fef3c7;
  --c-info: #2563eb;
  --c-info-weak: #dbeafe;

  --c-star: #f59e0b;

  /* --- Tipografia (Inter primária, Geist para UI/labels) --- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-heading: "Inter", var(--font-sans);
  --font-ui: var(--font-sans); /* Geist removida — usa Inter */
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --fs-xs: 0.75rem;    /* 12 */
  --fs-sm: 0.875rem;   /* 14 */
  --fs-base: 1rem;     /* 16 */
  /* "md" reduzido 18→16 (varredura premium): o tier de 18px era usado como
     corpo/subtítulo/nome-de-card em todo o site e deixava tudo "com zoom".
     Corpo agora alinha com a referência (16px). Títulos/valores usam fs-lg+. */
  --fs-md: 1rem;       /* 16 (era 18) */
  --fs-lg: 1.25rem;    /* 20 */
  --fs-xl: 1.5rem;     /* 24 */
  --fs-2xl: 1.875rem;  /* 30 */
  --fs-3xl: 2.25rem;   /* 36 */
  --fs-4xl: clamp(1.7rem, 3.2vw, 2.25rem);

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extra: 800;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  --tracking-tight: -0.03em;
  --tracking-tighter: -0.04em;

  /* --- Espaçamento (escala base 4px) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* --- Bordas / raios --- */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 999px;

  --border: 1px solid var(--c-border);

  /* --- Sombras frias (navy-tinted), escalonadas — profundidade discreta.
     Duas camadas (contato + difusa) dão volume sem peso. --- */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 30px 60px rgba(15, 23, 42, 0.16), 0 8px 18px rgba(15, 23, 42, 0.07);

  /* Brilhos/sombras da marca — CTAs e elementos críticos (azul Biover).
     -sm = repouso (contido, "sólido"); base = hover; -lg = ênfase máxima. */
  --shadow-primary-sm: 0 2px 8px rgba(11, 125, 240, 0.22);
  --shadow-primary: 0 6px 18px rgba(11, 125, 240, 0.30);
  --shadow-primary-lg: 0 12px 30px rgba(11, 125, 240, 0.42);
  --glow-primary: 0 0 24px rgba(11, 125, 240, 0.35);
  --glow-primary-soft: 0 0 46px rgba(11, 125, 240, 0.22);

  /* --- Layout --- */
  --container: 1240px;
  --container-narrow: 760px;
  --header-h: 68px;

  /* --- Transições / animações --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* saída suave (entradas premium) */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 120ms var(--ease);
  --t: 180ms var(--ease);
  --t-slow: 280ms var(--ease);
  --t-slower: 480ms var(--ease-out);

  /* --- z-index --- */
  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-toast: 400;

  /* --- Foco acessível --- */
  --focus-ring: 0 0 0 3px var(--c-primary-weak-2);

  /*
   * Breakpoints (referência — usados nas media queries):
   *   sm  480px   |  md  768px   |  lg  1024px  |  xl  1200px
   * Abordagem mobile-first.
   */
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
