/* =========================================================
   BASE — variáveis da marca, reset e tipografia
   Para mudar cores/fontes do site inteiro, edite :root
   ========================================================= */

:root {
  /* Paleta oficial Fercenti */
  --grafite: #151C24;        /* textos principais, fundos escuros */
  --off-white: #F2F3F1;      /* fundo principal */
  --azul-petroleo: #243B50;  /* destaques, autoridade */
  --cinza-azulado: #687783;  /* textos de apoio, bordas */
  --verde: #477A60;          /* botões e conversão (fundos claros) */
  --verde-claro: #D5E1D8;    /* realces suaves */

  /* Apoio para seções escuras (como no site atual) */
  --navy: #081728;
  --navy-2: #0E2236;
  --verde-luz: #2BD39A;      /* destaque luminoso sobre fundo escuro */
  --texto-claro: #B9C4D2;

  /* Tipografia */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Espaçamentos e medidas */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 12vw, 140px);
  --radius: 18px;
  --radius-sm: 10px;

  /* Movimento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--grafite);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--verde-luz); color: var(--navy); }

:focus-visible { outline: 2px solid var(--verde-luz); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.4rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cinza-azulado);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--verde-luz);
  box-shadow: 0 0 12px var(--verde-luz);
}

.highlight { color: var(--verde-luz); }

.lead { font-size: 1.08rem; color: var(--cinza-azulado); max-width: 52ch; }

/* Utilitário para leitores de tela */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
