﻿/* ==========================================================================
   Field Code — Landing Operação
   Tradução fiel do protótipo Figma "Versão sem blur • Novo manifesto"
   (frame 1440 × 12006). Direção de arte do arquivo: sem blur, sem gradiente,
   raio de canto 2px.

   ESCALA
   A raiz respeita o tamanho de fonte do navegador (16px por padrão) e todas as
   medidas estão em rem, então 1rem = 16px no padrão.

   A escala segue fieldcode.com.br, não o Figma: coluna de 1200 centralizada,
   respiro de seção de 96, nav de 73 e título de hero de 72. O protótipo pedia
   1200/128/88/104, um degrau acima em tudo, e ficava grande demais ao lado do
   site. Estrutura interna (fotos, cartões, logos, espaçadores) continua nas
   medidas do Figma.
   ========================================================================== */

html { font-size: 100%; }

:root {
  /* Cores */
  --brand: #0052FF;
  --brand-hover: #0043D1;
  --brand-on-dark: #5B8CFF;
  --brand-on-cta: #9EC0FF;

  --ink: #111827;
  --body: #374151;
  --muted: #4B5563;
  /* #6B7280 passa sobre branco (4,8:1) mas cai para 4,47:1 sobre o off-white
     das seções claras, onde está a letra miúda da Lei do Bem. Dois pontos mais
     escuro resolve nos dois fundos. */
  --soft: #646D7B;
  /* Era #9CA3AF, que sobre branco dá 2,5:1 e reprova no mínimo de 4,5:1 da
     WCAG AA. É a cor de legenda de foto, nota de formatos, tag de frente e do
     "a partir de" nos planos, ou seja, texto pequeno em vários lugares.
     #6B7280 passa em 4,8:1 e continua sendo o cinza mais claro da escala. */
  --faint: #6B7280;

  --navy: #0B1424;
  --navy-line: #22314D;
  --navy-text: #B7C0CE;
  --navy-muted: #8B93A1;
  --navy-item: #DCE3EC;
  --navy-faint: #75839A;
  /* Era #5B6577, 3,1:1 sobre o navy. #8B93A1 já é usado na página e dá 6:1. */
  --navy-base: #8B93A1;

  --offwhite: #F4F6F9;
  --line: #E5E7EB;
  --line-soft: #EEF0F3;
  --line-strong: #D1D5DB;

  /* Sobre o azul de marca sobra pouca margem de contraste: #D6E2FF dá 4,4:1 e
     #B9CEFF dá 3,7:1, os dois abaixo do mínimo de 4,5:1 para texto pequeno.
     Subiram para 4,6:1 e 4,9:1 sem achatar a hierarquia entre os dois. */
  --cta-body: #DCE6FF;
  --cta-contato: #E4EDFF;
  --cta-border: #6E96FF;

  /* Raio de canto e bordas ficam em px de propósito: são textura, não
     proporção. 2px é regra de marca do arquivo. */
  --r: 2px;

  /* Coluna de 1200 centralizada e respiro de seção de 96, iguais aos de
     fieldcode.com.br. O respiro lateral é só um mínimo: a coluna trava em 1200
     e o que sobra vira margem, igual ao site. Numa janela de 1440 dá os 120 de
     cada lado do Figma; numa de 1425 dá os 112,5 do site. */
  --gutter: 1.5rem;
  --content: 75rem;
  --sec-y: clamp(4rem, 6.6667vw, 6rem);

  /* Altura do nav: 14 + 44 (botão) + 14 + 1 de borda. Entra na conta da dobra
     do hero. O script corrige em tempo real se a altura real divergir. */
  --nav-h: 4.5625rem;

  /* Plex Mono já vem em /fonts/ibm-plex.css. Fica só nos rótulos técnicos da
     dobra — carimbo e cota — e não é pré-carregada por isso. */
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Passo da malha técnica da dobra: o fio fino a cada `--hero-modulo` e o
     grosso a cada cinco deles. Sobrescrito mais estreito no telefone. */
  --hero-modulo: 3rem;
  --hero-modulo-maior: 15rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Espaçadores verticais — reproduzem os frames "·" do auto-layout do Figma */
.sp { width: 1px; flex: none; }
.sp--4  { height: 0.25rem; }  .sp--20 { height: 1.25rem; } .sp--22 { height: 1.375rem; }
.sp--24 { height: 1.5rem; }   .sp--26 { height: 1.625rem; } .sp--28 { height: 1.75rem; }
.sp--30 { height: 1.875rem; } .sp--34 { height: 2.125rem; } .sp--40 { height: 2.5rem; }
.sp--44 { height: 2.75rem; }  .sp--46 { height: 2.875rem; } .sp--56 { height: 3.5rem; }
.sp--64 { height: 4rem; }     .sp--72 { height: 4.5rem; }   .sp--84 { height: 5.25rem; }

/* Seções --------------------------------------------------------------- */
.section { padding: var(--sec-y) var(--gutter); background: #fff; }
.section--soft { background: var(--offwhite); }
.section--navy {
  background: var(--navy);
  padding-top: var(--sec-y);
  padding-bottom: var(--sec-y);
}
.section__inner { max-width: var(--content); margin: 0 auto; }

/* Barra de progresso de leitura ---------------------------------------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0; background: var(--brand);
  transform-origin: left center;
}

/* ==========================================================================
   01 · Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav__row {
  /* Alinha o nav com a coluna das seções em qualquer largura */
  max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto;
  /* 14 + 44 (botão) + 14 + 1 (borda) = 73, a altura do nav de fieldcode.com.br */
  padding: 0.875rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__logo img { width: 13.307625rem; height: 1.772rem; }
.nav__logo-escuro { display: none; }

/* Enquanto o nav está sobre a dobra escura ele acompanha, e a partir da
   segunda seção volta ao branco. O script alterna a classe. */
.nav.is-over-hero { background: var(--navy); border-bottom-color: var(--navy-line); }
.nav.is-over-hero .nav__logo-claro { display: none; }
.nav.is-over-hero .nav__logo-escuro { display: block; }
.nav.is-over-hero .nav__link { color: var(--navy-text); }
.nav.is-over-hero .nav__link:hover { color: #fff; }
.nav.is-over-hero .nav__link.is-active { color: var(--brand-on-dark); }
.nav.is-over-hero .nav__mail { color: var(--navy-muted); }
.nav.is-over-hero .nav__mail:hover { color: #fff; }
.nav.is-over-hero .nav__burger { border-color: var(--navy-line); }
.nav.is-over-hero .nav__burger span { background: #fff; }
.nav__menu { display: flex; align-items: center; gap: 2.25rem; }
.nav__link {
  position: relative;
  font-size: 0.9375rem; font-weight: 500; line-height: 1; color: var(--body);
  white-space: nowrap;
}
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__menu .nav__menu-cta { display: none; }
.nav__mail { font-size: 0.9375rem; font-weight: 500; line-height: 1; color: var(--soft); white-space: nowrap; }
.nav__burger { display: none; }

/* Botões ---------------------------------------------------------------- */
/* A borda de 1px entra no lugar de 1px do padding para o botão fechar
   nos 44px (padrão) e 54px (grande) do Figma. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: calc(0.875rem - 1px) calc(1.375rem - 1px); border-radius: var(--r);
  font-size: 1rem; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
}
.btn--lg { padding: calc(1.1875rem - 1px) calc(2rem - 1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--white { background: #fff; color: var(--brand); }
.btn--outline-light { border-color: var(--cta-border); color: #fff; }
.btn-row { display: flex; align-items: center; gap: 0.875rem; flex-wrap: wrap; }
.cta .btn-row { gap: 1rem; }

/* ==========================================================================
   02 · Hero (1440 × 812)
   ========================================================================== */
/* Dobra cheia: o hero ocupa toda a altura restante abaixo do nav de 73.
   A base (convite de rolagem e parede de clientes) fica presa embaixo com a
   altura que pedir, e o bloco de texto é centrado no vão que sobra. Antes as
   duas faixas do Figma (336/476) viravam linhas de grade proporcionais e o
   texto ficava centrado só na faixa de cima, ou seja, a 21% da altura da dobra,
   encostado no topo em tela alta. */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  min-height: 35rem;
  min-height: max(35rem, calc(100dvh - var(--nav-h)));
  padding: 1.5rem var(--gutter) 1.875rem;
  display: grid;
  grid-template-rows: 1fr auto;
}
/* `safe` para o caso do vão ficar menor que o texto (tela baixa, ou a frase
   quebrando em três linhas no telefone): aí o centramento cederia para os dois
   lados e o topo do título sairia pelo `overflow: hidden` da seção. Com `safe`
   ele volta a alinhar pelo topo em vez de sumir. A linha sem `safe` fica como
   reserva para quem não entende a palavra-chave. */
.hero__bloco { align-self: center; align-self: safe center; }
.hero__base { align-self: end; }

/* A dobra deixou de ser fotográfica. No lugar da foto entra uma malha de
   prancha técnica desenhada em gradiente: dois passos de linha, o fino a cada
   módulo e o grosso a cada cinco, como papel milimetrado. Não custa requisição
   nem byte de imagem, escala em qualquer tela e não tem o que recortar.

   A máscara é o que separa isto de papel de parede: a malha só existe forte no
   quadrante direito e some antes de chegar na coluna do texto, que é onde a
   frase precisa de fundo limpo. */
.hero__malha {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(115% 95% at 88% 32%,
    #000 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.16) 66%, transparent 84%);
  mask-image: radial-gradient(115% 95% at 88% 32%,
    #000 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.16) 66%, transparent 84%);
}
/* A grade mora no pseudoelemento, não na caixa: quem passeia (motion.css) é um
   `transform`, que o compositor resolve sozinho, em vez de `background-position`
   repintando a dobra inteira a cada quadro. O `inset` negativo dá a folga que o
   passeio consome, e o `overflow: hidden` do pai apara a sobra — sem ele a
   máscara, que por padrão se repete, tornaria a grade visível fora da caixa. */
.hero__malha::before {
  content: ''; position: absolute;
  inset: calc(var(--hero-modulo-maior) * -1);
  background-image:
    repeating-linear-gradient(to right,
      rgba(91, 140, 255, 0.22) 0, rgba(91, 140, 255, 0.22) 1px,
      transparent 1px, transparent var(--hero-modulo-maior)),
    repeating-linear-gradient(to bottom,
      rgba(91, 140, 255, 0.22) 0, rgba(91, 140, 255, 0.22) 1px,
      transparent 1px, transparent var(--hero-modulo-maior)),
    repeating-linear-gradient(to right,
      rgba(91, 140, 255, 0.10) 0, rgba(91, 140, 255, 0.10) 1px,
      transparent 1px, transparent var(--hero-modulo)),
    repeating-linear-gradient(to bottom,
      rgba(91, 140, 255, 0.10) 0, rgba(91, 140, 255, 0.10) 1px,
      transparent 1px, transparent var(--hero-modulo));
}

/* Chão da linha: fio no rodapé do hero com um pulso azul correndo nele */
.hero__linha {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--navy-line); overflow: hidden; pointer-events: none;
}
.hero__linha span {
  position: absolute; top: 0; bottom: 0; left: 0; width: 10rem;
  background: var(--brand-on-dark);
}
/* A frase e o par de botões. A linha de apoio que explicava o serviço saiu:
   sobrou a pergunta e a ação. Quem chega de anúncio descobre o serviço na
   seção seguinte. */
.hero__bloco {
  position: relative;
  max-width: var(--content); width: 100%; margin: 0 auto;
}
/* Sem foto, o título é o assunto da dobra e pode crescer: o teto sobe de 4.5
   para 5rem e a entrelinha fecha para 1.02, que é o que faz duas linhas longas
   lerem como um bloco só em vez de duas frases soltas. O teto para aí porque
   `.line` é bloco: passar disso faz a segunda linha, que é a mais longa,
   quebrar sozinha e deixar o "só?" órfão. */
.hero__frase {
  font-size: clamp(2.25rem, 5.2vw, 5rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.03em;
  color: #fff;
}
.hero__frase .accent { color: var(--brand-on-dark); }

/* Rótulo em mono acima do título: é o carimbo da prancha, não uma linha de
   apoio. Continua valendo a decisão de não explicar o serviço na dobra. */
.hero__marca {
  font-family: var(--mono);
  font-size: 0.6875rem; font-weight: 500; line-height: 1.5;
  letter-spacing: 0.16em; color: var(--brand-on-dark);
  margin-bottom: 1.625rem;
}

/* Cota: dois fios com traço de extremidade e a medida no meio. Os traços são
   pseudoelementos do próprio fio, então a cota é um flex de três filhos e
   nada mais. */
.hero__cota {
  display: flex; align-items: center; gap: 1rem;
  max-width: 32rem; margin-top: 2.25rem;
}
.hero__cota-linha { position: relative; flex: 1; height: 1px; background: var(--navy-line); }
.hero__cota-linha::before, .hero__cota-linha::after {
  content: ''; position: absolute; top: -0.3125rem;
  width: 1px; height: 0.6875rem; background: var(--brand-on-dark);
}
.hero__cota-linha::before { left: 0; }
.hero__cota-linha::after { right: 0; }
.hero__cota-label {
  font-family: var(--mono);
  font-size: 0.625rem; font-weight: 500; line-height: 1;
  letter-spacing: 0.16em; color: var(--navy-muted); white-space: nowrap;
}

.hero__bloco .btn-row { margin-top: 2.125rem; }
/* Chapa navy no botão vazado da dobra: ele fica por cima da malha, e um botão
   só de contorno deixaria as linhas da grade atravessarem o próprio corpo. */
.hero__bloco .btn--outline-light { background: var(--navy); }


.hero__base {
  position: relative;
  max-width: var(--content); width: 100%; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.scroll-cue { display: flex; align-items: flex-end; gap: 0.875rem; }
.scroll-cue__rule { width: 0.125rem; height: 3.375rem; background: var(--brand-on-dark); flex: none; }
.scroll-cue__label {
  font-size: 0.6875rem; font-weight: 700; line-height: 1.5;
  letter-spacing: 0.14em; color: var(--navy-muted);
}
.hero__trust { text-align: right; display: flex; flex-direction: column; gap: 0.5rem; }
.hero__trust-label { font-size: 0.625rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.14em; color: var(--brand-on-dark); }
.hero__trust-names { font-size: 0.875rem; font-weight: 600; line-height: 1.5; color: var(--navy-text); }

/* ==========================================================================
   03 · Abertura
   ========================================================================== */
.abertura { background: #fff; }
/* A seção abria com uma foto do operador e a pergunta sobre planilha e post-it
   por cima, numa chapa desfocada. Saiu inteira: a dobra já faz a pergunta, e a
   chapa era o único blur da página, contra a direção de arte. */
.abertura__texto {
  padding: 5.5rem var(--gutter) 7.5rem;
  max-width: calc(var(--content) + var(--gutter) * 2);
}

/* Eyebrow --------------------------------------------------------------- */
.eyebrow { display: flex; align-items: center; gap: 0.75rem; }
.eyebrow__bar { width: 1.75rem; height: 0.1875rem; background: var(--brand); flex: none; }
.eyebrow span:last-child {
  font-size: 0.8125rem; font-weight: 700; line-height: 1;
  letter-spacing: 0.14em; color: var(--brand);
}
.eyebrow--on-dark .eyebrow__bar { background: var(--brand-on-dark); }
.eyebrow--on-dark span:last-child { color: var(--brand-on-dark); }

/* Títulos --------------------------------------------------------------- */
/* Os três modificadores do Figma (44, 46 e 52) resolviam no mesmo clamp: eram
   três classes com um resultado só. O tamanho voltou para `.h2` e o que sobrou
   nos modificadores é a largura máxima, que de fato muda entre as seções. */
.h2 {
  font-size: clamp(1.75rem, 3.0556vw, 2.75rem);
  font-weight: 600; line-height: 1.22; letter-spacing: -0.01em;
  color: var(--ink); max-width: 55rem;
}
.h2--46, .h2--52 { max-width: 56.25rem; }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.7; color: var(--body); max-width: 51.25rem; }
.abertura__texto .lead { line-height: 1.68; max-width: 50rem; }

/* ==========================================================================
   04 · Manifesto
   ========================================================================== */
.manifesto__title {
  font-size: clamp(2.125rem, 4.1667vw, 3.75rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink);
}
.manifesto__title .accent { color: var(--brand); }
.manifesto__body { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.7; color: var(--body); max-width: 55rem; }

.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.pilar { display: flex; flex-direction: column; gap: 0.875rem; align-items: flex-start; }
.pilar__bar { width: 2.125rem; height: 0.25rem; background: var(--brand); flex: none; }
.pilar__title { font-size: clamp(1.25rem, 1.6667vw, 1.5rem); font-weight: 600; line-height: 1.3; color: var(--ink); }
.pilar__body { font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 20.625rem; }

/* ==========================================================================
   05 · O problema
   ========================================================================== */
.problema__row { display: flex; align-items: flex-start; gap: 4.5rem; }
.sintomas { flex: 1 1 0; min-width: 0; }
.sintoma { display: flex; align-items: flex-start; gap: 1.625rem; padding: 1.875rem 0; border-bottom: 1px solid var(--line); }
.sintoma:first-child { padding-top: 0; }
.sintoma:last-child { border-bottom: 0; }
.sintoma__num { width: 1.875rem; flex: none; font-size: 0.9375rem; font-weight: 600; line-height: 1.5; color: var(--brand); }
.sintoma__txt { display: flex; flex-direction: column; gap: 0.625rem; min-width: 0; }
.sintoma__title { font-size: clamp(1.1875rem, 1.5278vw, 1.375rem); font-weight: 600; line-height: 1.35; color: var(--ink); max-width: 30rem; }
.sintoma__body { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 30rem; }

.foto-wrap { display: flex; flex-direction: column; gap: 0.875rem; flex: none; }
.foto-wrap--440 { width: 27.5rem; }
.foto-wrap--440 .media { height: 29.375rem; }
.foto-wrap--520 { width: 32.5rem; }
.foto-wrap--520 .media { height: 26.25rem; }
.foto-caption { font-size: 0.8125rem; line-height: 1.6; color: var(--faint); }
.foto-wrap--520 .foto-caption { line-height: 1.65; }

/* Wrapper de imagem com recorte (base do parallax e do reveal) */
.media { position: relative; overflow: hidden; }
.media--r2 { border-radius: var(--r); }
/* Descendente e não filho direto: as fotos são <picture> por causa do WebP,
   então a <img> não é mais filha direta de .media. */
.media img { width: 100%; height: 100%; object-fit: cover; }
/* Para foto em pé numa caixa que não é: a do apontamento tem 1122 × 1402 e a
   caixa é quase quadrada no desktop e 4/3 deitada no telefone. Centrado, o
   recorte do mobile come o topo da touca do operador. Puxar o enquadramento
   para cima mantém a cabeça inteira e o bloco de papel nos dois tamanhos. */
.media--alto img { object-position: center 30%; }
.media > figcaption { position: absolute; z-index: 2; }

/* ==========================================================================
   06 · Como funciona o mês
   ========================================================================== */
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
.passo {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem 1.625rem 1.875rem;
}
.passo__num { font-size: clamp(1.375rem, 1.9444vw, 1.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--brand); }
.passo__title { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1.3194vw, 1.1875rem); font-weight: 600; line-height: 1.35; color: var(--ink); }
.passo__body { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.7; color: var(--muted); }

.reuniao { display: flex; align-items: center; gap: 2.5rem; }
.reuniao__media { width: 39.625rem; height: 22.3125rem; flex: none; }
.reuniao__legenda { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.reuniao__title { font-size: clamp(1.25rem, 1.6667vw, 1.5rem); font-weight: 600; line-height: 1.32; color: var(--ink); max-width: 26.25rem; }
.reuniao__body { font-size: 1rem; line-height: 1.72; color: var(--muted); max-width: 26.25rem; }

/* ==========================================================================
   07 · Quatro frentes
   ========================================================================== */
.frentes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
.frente { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.625rem; }
.frente__bar { width: 6.25rem; height: 0.25rem; background: var(--ink); flex: none; }
.frente--on .frente__bar { background: var(--brand); }
.frente__title { margin-top: 1.5rem; font-size: clamp(1.1875rem, 1.5278vw, 1.375rem); font-weight: 600; line-height: 1.32; color: var(--ink); }
.frente__body { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.72; color: var(--muted); }
.frente__tag { margin-top: auto; padding-top: 1.25rem; font-size: 0.6875rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; color: var(--faint); }

/* ==========================================================================
   08 · Provas reais
   ========================================================================== */
.provas__title { font-size: clamp(1.875rem, 3.6111vw, 3.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.provas__title .accent { color: var(--brand-on-dark); }
.provas__lead { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.7; color: var(--navy-text); max-width: 47.5rem; }
.provas__disclaimer { font-size: 0.75rem; line-height: 1.6; color: var(--navy-faint); max-width: 56.25rem; }

.metricas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.metrica { border-top: 1px solid var(--navy-line); padding-top: 1.375rem; }
.metrica__valor {
  font-size: clamp(1.75rem, 2.7778vw, 2.5rem); font-weight: 600; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--brand-on-dark);
  font-variant-numeric: tabular-nums;
}
.metrica__label { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.6; color: var(--navy-muted); max-width: 15.625rem; }

.clientes__label { font-size: 0.6875rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; color: var(--brand-on-dark); }
.clientes__linha { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cliente { display: flex; flex-direction: column; align-items: flex-start; }
/* Era 130px de altura em duas fileiras de quatro: oito chapas brancas grandes
   sobre o navy pesavam mais que as métricas, que são o argumento forte da
   seção. Baixou para 108. */
.cliente__logo {
  width: 100%; height: 6.75rem; background: #fff; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
/* Cada marca guarda a geometria do nó correspondente no Figma. Nada de um
   tamanho único para logos de proporções diferentes.
   O dessaturar vale para todas: a parede é monocromática e a VIX era a única
   colorida, tratada como exceção. Nas outras a regra não muda nada, porque já
   são monocromáticas, e some o caso especial. */
.cliente__logo .marca { object-fit: contain; flex: none; filter: grayscale(1); }
.marca--jcw       { width: 4.903875rem;  height: 4.25rem; }
.marca--la-nonna  { width: 6.505125rem;  height: 4.25rem; }
.marca--bite      { width: 9.375rem;     height: 4.5625rem; }
.marca--peregrina { width: 12.5rem;      height: 2.298875rem; }
.marca--be-green  { width: 9.73025rem;   height: 4.25rem; }
.marca--link      { width: 9.066688rem;  height: 4.25rem; }
.marca--premier   { width: 12.5rem;      height: 3.647438rem; }
.marca--vix       { width: 12.5rem;      height: 4.1875rem; }
.cliente__nome { margin-top: 1rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: #fff; }
.cliente__setor { margin-top: 0.375rem; font-size: 0.625rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; color: var(--navy-muted); }

/* ==========================================================================
   08b · Chamada do meio
   Faixa curta entre a prova social e o resto da página. Fundo off-white para
   ela se separar da seção navy acima sem virar mais uma seção cheia.
   ========================================================================== */
.meio { background: var(--offwhite); border-bottom: 1px solid var(--line); padding: 3rem var(--gutter); }
.meio__row { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.meio__texto { min-width: 0; }
.meio__title { font-size: clamp(1.25rem, 1.9444vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.meio__body { margin-top: 0.625rem; font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 38rem; }

/* ==========================================================================
   09 · Presença na planta
   ========================================================================== */
.presenca__row { display: flex; align-items: flex-start; gap: 4rem; }
.beneficios { flex: 1 1 0; min-width: 0; }
.beneficio { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.625rem 0; border-bottom: 1px solid var(--line); }
.beneficio:first-child { padding-top: 0; }
.beneficio:last-child { border-bottom: 0; }
.beneficio__title { font-size: clamp(1.1875rem, 1.5278vw, 1.375rem); font-weight: 600; line-height: 1.35; color: var(--ink); }
.beneficio__body { font-size: 1rem; line-height: 1.72; color: var(--muted); max-width: 35rem; }

.proximidade {
  display: flex; gap: 3.5rem; align-items: flex-start;
  background: var(--offwhite); border-radius: var(--r); padding: 2.5rem 2.75rem;
}
.proximidade__texto, .proximidade__regiao { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.proximidade__label { font-size: 0.6875rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; color: var(--brand); }
.proximidade__body { font-size: 1.0625rem; line-height: 1.72; color: var(--body); max-width: 26.875rem; }
.proximidade__title { font-size: clamp(1.1875rem, 1.5278vw, 1.375rem); font-weight: 600; line-height: 1.4; color: var(--ink); }
.proximidade__cidades { font-size: 1rem; font-weight: 500; line-height: 1.8; color: var(--muted); }
.proximidade__nota { font-size: 0.875rem; line-height: 1.7; color: var(--soft); }

/* ==========================================================================
   10 · Lei do Bem
   ========================================================================== */
.leidobem__row { display: flex; align-items: flex-start; gap: 3.5rem; }
.leidobem__texto { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.leidobem__p { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.75; color: var(--body); max-width: 35rem; }
.leidobem__small { font-size: 0.8125rem; line-height: 1.7; color: var(--soft); max-width: 35rem; }

.simulacao { flex: 1 1 0; min-width: 0; background: var(--navy); border-radius: var(--r); padding: 2.5rem; }
.simulacao__label { font-size: 0.6875rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; color: var(--brand-on-dark); }

/* Só com JavaScript: sem ele a tabela é estática e três botões inertes seriam
   promessa quebrada. */
.simulacao__abas { display: none; }
.js .simulacao__abas { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.simulacao__aba {
  padding: calc(0.5625rem - 1px) calc(0.875rem - 1px);
  background: transparent; border: 1px solid var(--navy-line); border-radius: var(--r);
  font-family: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1;
  color: var(--navy-text); cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.simulacao__aba.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.simulacao__linha {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--navy-line);
}
.simulacao__linha--last { border-bottom: 0; }
.simulacao__k { font-size: 0.9375rem; line-height: 1.5; color: var(--navy-muted); }
.simulacao__v {
  font-size: clamp(1.125rem, 1.3889vw, 1.25rem); font-weight: 600; line-height: 1.3;
  letter-spacing: -0.01em; color: #fff; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.simulacao__v--muted { color: var(--navy-text); }
.simulacao__v--big { font-size: clamp(1.5rem, 2.0833vw, 1.875rem); color: var(--brand-on-dark); }
.simulacao__foot { font-size: 0.875rem; font-weight: 600; line-height: 1.65; color: #fff; }

/* ==========================================================================
   11 · Formatos
   ========================================================================== */
.formatos__lead { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.72; color: var(--muted); max-width: 47.5rem; }
.formatos__nota { font-size: 0.8125rem; line-height: 1.7; color: var(--faint); max-width: 56.25rem; }

.planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; margin-top: 0.75rem; }
.plano {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.25rem 2rem;
}
.plano--dark { background: var(--navy); border-color: var(--navy); }

/* O cartão recomendado é o do meio. O selo monta em cima da borda superior
   para marcar a escolha sem mexer na altura da grade: os três preços e os
   três botões continuam alinhados na mesma linha. */
.plano--rec { box-shadow: 0 1.5rem 3rem -1.5rem rgba(11, 20, 36, 0.45); }
.plano__flag {
  position: absolute; top: 0; left: 2rem; transform: translateY(-50%);
  padding: 0.4375rem 0.75rem; border-radius: var(--r);
  background: var(--brand); color: #fff;
  font-size: 0.625rem; font-weight: 700; line-height: 1; letter-spacing: 0.14em;
}
.plano__label { font-size: 0.6875rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; color: var(--brand); }
.plano--dark .plano__label { color: var(--brand-on-dark); }
.plano__from { font-size: 0.8125rem; line-height: 1.5; color: var(--faint); }
.plano--dark .plano__from { color: var(--navy-muted); }
.plano__valor { display: flex; align-items: baseline; gap: 0.25rem; }
.plano__num { font-size: clamp(1.625rem, 2.5vw, 2.25rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.plano--dark .plano__num { color: #fff; }
.plano__mes { font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--soft); }
.plano--dark .plano__mes { color: var(--navy-muted); }
.plano__desc { font-size: 0.9375rem; line-height: 1.72; color: var(--muted); }
.plano--dark .plano__desc { color: var(--navy-text); }

.plano__itens { width: 100%; }
.plano__itens li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.8125rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: 0.9375rem; line-height: 1.6; color: var(--body);
}
.plano__itens li:last-child { border-bottom: 0; }
.plano--dark .plano__itens li { border-bottom-color: var(--navy-line); color: var(--navy-item); }
.bullet { width: 0.375rem; height: 0.375rem; margin-top: 0.5625rem; background: var(--brand); flex: none; }
.plano--dark .bullet { background: var(--brand-on-dark); }

/* `margin-bottom: auto` na lista come a sobra do cartão mais curto, então os
   três botões fecham na mesma linha sem colar na última linha do texto. */
.plano__itens { margin-bottom: auto; }
.plano__cta { margin-top: 1.75rem; width: 100%; }

/* ==========================================================================
   11b · Objeções
   ========================================================================== */
.faq { max-width: 52.5rem; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.375rem 3rem 1.375rem 0;
  font-size: clamp(1.0625rem, 1.3194vw, 1.1875rem); font-weight: 600; line-height: 1.4;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
/* Mais e menos desenhados com duas barras: a direção de arte do arquivo não
   tem imagem de ícone nem gradiente, e o marcador nativo é feio no Windows. */
.faq__q::before, .faq__q::after {
  content: ""; position: absolute; right: 0.125rem; top: 50%;
  background: var(--brand);
}
.faq__q::before { width: 0.875rem; height: 2px; margin-top: -1px; }
.faq__q::after { width: 2px; height: 0.875rem; margin-top: -0.4375rem; right: 0.5rem; }
.faq__item[open] .faq__q::after { transform: scaleY(0); }
.faq__a { padding: 0 3rem 1.5rem 0; }
.faq__a p { font-size: 1rem; line-height: 1.72; color: var(--muted); max-width: 44rem; }

/* ==========================================================================
   12 · CTA final
   ========================================================================== */
.cta { background: var(--brand); padding: clamp(4.5rem, 8.3333vw, 7.5rem) var(--gutter); overflow: hidden; }
.cta__title { font-size: clamp(1.875rem, 3.6111vw, 3.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.cta__title .accent { color: var(--brand-on-cta); }
.cta__body { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.72; color: var(--cta-body); max-width: 34rem; }
.cta__nota { font-size: 0.8125rem; line-height: 1.7; color: var(--cta-contato); max-width: 34rem; }
.cta__contato { font-size: 0.9375rem; font-weight: 500; line-height: 1.5; color: var(--cta-contato); }
.cta__contato a { text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; }

.cta__row { display: flex; align-items: flex-start; gap: 4.5rem; }
.cta__texto { flex: 1 1 0; min-width: 0; }

/* A oferta de entrada em números. Antes o preço não aparecia em lugar nenhum
   da página e a decisão ficava travada esperando a conversa. */
.oferta { max-width: 34rem; }
.oferta__linha {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9375rem 0; border-bottom: 1px solid var(--cta-border);
}
.oferta__linha--last { border-bottom: 0; }
.oferta__k { font-size: 0.9375rem; line-height: 1.5; color: var(--cta-body); }
.oferta__v {
  font-size: clamp(1.125rem, 1.3889vw, 1.25rem); font-weight: 600; line-height: 1.3;
  letter-spacing: -0.01em; color: #fff; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.oferta__v--big { font-size: clamp(1.25rem, 1.6667vw, 1.5rem); color: var(--brand-on-cta); }

/* Formulário -------------------------------------------------------------- */
.form {
  flex: none; width: 26.25rem;
  background: #fff; border-radius: var(--r); padding: 2.25rem 2rem;
}
.form__label { font-size: 0.6875rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; color: var(--brand); }
.form__intro { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.form__campo { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.4375rem; }
.form__k { font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.form__input {
  width: 100%; padding: calc(0.75rem - 1px) calc(0.875rem - 1px);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 0.9375rem; line-height: 1.4;
}
.form__input::placeholder { color: var(--faint); }
.form__input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
/* O select fica com a aparência nativa de propósito: desenhar a seta exigiria
   imagem ou gradiente, e a direção de arte do arquivo não tem nenhum dos dois. */
.form__select { height: 2.75rem; }
.form__enviar { margin-top: 1.75rem; width: 100%; }
.form__base { margin-top: 1rem; font-size: 0.8125rem; line-height: 1.6; color: var(--soft); text-align: center; }
.form__base a { color: var(--brand); font-weight: 600; }

/* ==========================================================================
   13 · Rodapé
   ========================================================================== */
.footer { background: var(--navy); padding: 4.5rem var(--gutter) 3rem; }
/* `wrap` desde a base: a marca (320) mais as três colunas (3 × 230) mais os
   vãos de 80 somam 1298, então entre 1241 e 1298 de janela o rodapé estourava
   na horizontal. O `overflow-x: hidden` do body escondia o estouro em vez de
   resolver. A quebra em 1240 já existia, mas começava tarde demais. */
.footer__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 3rem 5rem; }
.footer__marca { display: flex; flex-direction: column; gap: 1rem; flex: none; width: 20rem; }
.footer__marca img { width: 13.307625rem; height: 1.772rem; }
.footer__tagline { font-size: 0.9375rem; line-height: 1.7; color: var(--navy-muted); }
.footer__col { display: flex; flex-direction: column; gap: 0.875rem; flex: none; width: 14.375rem; }
.footer__col-title { font-size: 0.6875rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; color: var(--brand-on-dark); }
.footer__col a { font-size: 0.9375rem; line-height: 1.5; color: var(--navy-text); width: fit-content; }
.footer__base {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
  border-top: 1px solid var(--navy-line); padding-top: 1.625rem;
  font-size: 0.8125rem; line-height: 1.6; color: var(--navy-base);
}
.footer__base-right { text-align: right; max-width: 32.5rem; }

/* ==========================================================================
   Responsivo
   Abaixo de 1440 a raiz trava em 16px, então 1rem = 1px × 16 e estes
   breakpoints trabalham sobre as medidas originais do Figma.
   ========================================================================== */
@media (max-width: 1240px) {
  .problema__row { gap: 3rem; }
  .presenca__row { gap: 3rem; }
  .foto-wrap--440 { width: 23.75rem; }
  .foto-wrap--440 .media { height: 26.25rem; }
  .foto-wrap--520 { width: 27.5rem; }
  .foto-wrap--520 .media { height: 23.75rem; }
  .reuniao__media { width: 52%; height: auto; aspect-ratio: 634 / 357; }
  .pilares { gap: 2rem; }
  .footer__row { gap: 3rem; flex-wrap: wrap; }
}

@media (max-width: 1080px) {
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0 var(--gutter);
    max-height: 0; overflow: hidden; visibility: hidden;
  }
  .nav__menu.is-open { max-height: 26rem; visibility: visible; padding: 0.5rem var(--gutter) 1.25rem; }
  .nav__menu .nav__link { padding: 0.875rem 0; font-size: 1.0625rem; width: 100%; }
  /* O CTA sai da barra e entra no menu: no mobile a barra fica só com a marca
     e o botão sanfona, e o hero já tem o mesmo "Agendar diagnóstico". */
  .nav__cta { display: none; }
  .nav__menu .nav__menu-cta { display: inline-flex; width: 100%; margin-top: 0.75rem; }
  /* O painel sanfonado é branco mesmo com o nav sobre o hero. Sem isto os links
     herdam as cores claras de .is-over-hero e ficam em 1.8:1 sobre o branco. */
  .nav.is-over-hero .nav__menu .nav__link { color: var(--body); }
  .nav.is-over-hero .nav__menu .nav__link.is-active { color: var(--brand); }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 0.3125rem;
    width: 2.5rem; height: 2.5rem; padding: 0 0.5rem; margin-left: 0.25rem;
    background: transparent; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  }
  .nav__burger span { display: block; height: 2px; width: 100%; background: var(--ink); }
  .nav__mail { display: none; }

  .passos, .frentes, .metricas { grid-template-columns: repeat(2, 1fr); }
  .planos { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: 1fr; gap: 2.5rem; }
  .pilar__body { max-width: none; }
  .clientes__linha { grid-template-columns: repeat(2, 1fr); }
  .leidobem__row { flex-direction: column; gap: 2.5rem; }
  .leidobem__texto, .simulacao { width: 100%; }
  .leidobem__p, .leidobem__small { max-width: none; }
  .proximidade { flex-direction: column; gap: 2rem; }
  .proximidade__body { max-width: none; }
  .cta__row { flex-direction: column; gap: 3rem; }
  .form { width: 100%; }
  .cta__body, .cta__nota, .oferta { max-width: none; }
}

@media (max-width: 900px) {
  .problema__row, .presenca__row { flex-direction: column; gap: 3rem; }
  .foto-wrap--440, .foto-wrap--520 { width: 100%; }
  .foto-wrap--440 .media, .foto-wrap--520 .media { height: auto; aspect-ratio: 4 / 3; }
  .sintoma__title, .sintoma__body, .beneficio__body, .reuniao__title, .reuniao__body { max-width: none; }
  .reuniao { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .reuniao__media { width: 100%; }
  .meio__row { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .meio__body { max-width: none; }
  /* Só o respiro entre o bloco e a base: as linhas de grade já são `1fr auto`
     na regra base e o centramento seguro vale aqui também, que é onde a frase
     quebra em três linhas e pode encher o vão inteiro. */
  .hero { gap: 2rem; }
  .hero__base { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .hero__trust { text-align: left; }
  .abertura__texto { padding-top: 4rem; padding-bottom: 5rem; }
  .footer__row { gap: 2.5rem 3rem; }

  /* Na dobra retrato a malha fica com módulo menor, senão sobram duas ou três
     linhas grossas na tela inteira e o desenho some. A máscara continua a
     mesma: ela é proporcional à caixa, não à largura. */
  .hero { --hero-modulo: 2.25rem; --hero-modulo-maior: 9rem; }
  .hero__frase { max-width: none; }
  .hero__cota { max-width: 100%; margin-top: 1.875rem; }
  .footer__marca { width: 100%; }
  .footer__base { flex-direction: column; gap: 1rem; }
  .footer__base-right { text-align: left; }
}

@media (max-width: 640px) {
  /* Aqui o item mais alto do nav passa a ser o botão de menu (40): 14+40+14+1 */
  :root { --nav-h: 4.3125rem; }

  .passos, .frentes, .metricas, .clientes__linha { grid-template-columns: 1fr; }
  .simulacao { padding: 1.75rem 1.5rem; }
  .proximidade { padding: 1.75rem 1.5rem; }
  .plano { padding: 1.75rem 1.5rem; }
  .plano__flag { left: 1.5rem; }
  .btn--lg { padding: calc(1rem - 1px) calc(1.5rem - 1px); width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .nav__cta .btn { padding: calc(0.75rem - 1px) calc(1rem - 1px); font-size: 0.875rem; }
  .nav__logo img { width: 10.5rem; height: auto; }
  .sintoma { gap: 1rem; }
  .sp--84 { height: 3.5rem; } .sp--72 { height: 3rem; } .sp--64 { height: 2.75rem; }
}

@media print {
  .nav, .scroll-progress { position: static; }
}
