/* ==========================================================================
   DESIGN TOKENS — REDULE
   Fonte única de verdade para cores, tipografia, espaçamentos e efeitos.
   ========================================================================== */

/* Fontes hospedadas no próprio site (não dependem do Google para abrir a página).
   Arquivos variáveis: um arquivo cobre todos os pesos. Subconjunto latin = português. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 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: "Montserrat";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("../fonts/montserrat-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;
}

:root {
  /* Cores da marca (extraídas da logo: azul #031D5A, amarelo #FDCC03) */
  --navy-950: #010c26;
  --navy-900: #031d5a;
  --navy-800: #082874;
  --navy-700: #0f348c;
  --navy-600: #1a44a8;
  --yellow-500: #fdcc03;
  --yellow-400: #ffd93d;
  --yellow-600: #dcb000;
  --white: #ffffff;
  --ink: #0b0f17;

  /* Neutros */
  --gray-50: #f4f6fa;
  --gray-100: #e8ecf3;
  --gray-300: #b7c1d3;
  --gray-400: #8d9ab2;
  --gray-500: #5d6980;   /* contraste ≥ 4.5:1 sobre branco e cinza-claro */

  /* Semânticos */
  --bg: var(--navy-900);
  --bg-deep: var(--navy-950);
  --surface: var(--navy-800);
  --surface-2: var(--navy-700);
  --text: var(--white);
  --text-muted: var(--gray-300);
  --text-subtle: var(--gray-400);
  --accent: var(--yellow-500);
  --accent-hover: var(--yellow-400);
  --on-accent: var(--ink);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --success: #2ecc71;
  --danger: #ff5a5f;
  --whatsapp: #25d366;

  /* Tipografia */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.4rem + 4vw, 4rem);
  --fs-hero: clamp(2rem, 8.6vw, 6rem);

  --tracking-wide: 0.12em;
  --tracking-wider: 0.2em;

  /* Espaçamento */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  /* Margem lateral do site inteiro: o conteúdo ocupa toda a largura da tela
     e a margem cresce com ela (20px no celular → 96px em telas grandes) */
  --gutter: clamp(20px, 5vw, 96px);

  /* Layout */
  --header-h: 68px;
  --hero-interval: 8s;

  /* Bordas e sombras */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.4);

  /* Movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 520ms;

  /* Camadas */
  --z-header: 50;
  --z-overlay: 90;
  --z-drawer: 100;
  --z-toast: 120;
}

@media (min-width: 768px) {
  :root {
    --header-h: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur: 0ms;
    --dur-slow: 0ms;
  }
}
