/*
 * Direção visual: reprodução fiel do SITE_JUMP.
 * Mantém Archivo, azul-petróleo, turquesa e recortes assimétricos originais.
 * Este arquivo contém apenas correções responsivas e de robustez; não altera conteúdo.
 *
 * Nota importante sobre os seletores [style*=...]:
 * o conteúdo das páginas usa estilo inline, e o runtime (React) aplica esses
 * estilos via DOM. O navegador RE-SERIALIZA o atributo style com espaços e
 * unidades explícitas: "padding:96px 28px" vira "padding: 96px 28px", "gap:0"
 * vira "gap: 0px", "minmax(0,1fr)" vira "minmax(0, 1fr)". Portanto os seletores
 * abaixo usam a forma SERIALIZADA (com espaço), que é a que existe no DOM.
 */

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
iframe,
image-slot {
  max-width: 100%;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

/* ==========================================================================
   Menu mobile (hamburguer) — checkbox + label, sem JavaScript.
   Marcação em public/Site-Header.dc.html.
   ========================================================================== */

.navtoggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.navburger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.navburger > span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 2px;
  background: #0b3040;
  transition: transform .25s ease, opacity .18s ease;
}

.navtoggle:checked ~ .navburger > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navtoggle:checked ~ .navburger > span:nth-child(2) {
  opacity: 0;
}

.navtoggle:checked ~ .navburger > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navtoggle:focus-visible ~ .navburger {
  outline: 2px solid #1f566e;
  outline-offset: 2px;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 760px) {
  /* ---------- Cabeçalho ---------- */

  header > div {
    padding: 12px 18px !important;
    gap: 12px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  header img {
    height: 30px !important;
  }

  .navburger {
    display: flex !important;
  }

  header nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 4px 18px 18px !important;
    background: #fbfbf9 !important;
    border-bottom: 1px solid #e3e6e2 !important;
    box-shadow: 0 18px 34px rgba(11, 43, 64, .14) !important;
    max-height: calc(100vh - 62px) !important;
    overflow-y: auto !important;
    font-size: 15px !important;
  }

  .navtoggle:checked ~ nav {
    display: flex !important;
  }

  header .navdrop {
    width: 100% !important;
  }

  header nav > a,
  header .navdrop > a {
    display: block !important;
    white-space: normal !important;
    padding: 14px 2px !important;
  }

  header nav > a:not(:last-child),
  header .navdrop > a {
    border-bottom: 1px solid #e8ebe6 !important;
  }

  /* Submenus são hover-only: inúteis no toque. */
  header .dropmenu {
    display: none !important;
  }

  /* CTA do menu continua com cara de botão. */
  header nav > a:last-child {
    margin-top: 16px !important;
    padding: 13px 18px !important;
    text-align: center !important;
  }

  /* ---------- Larguras e grids ---------- */

  section > div:not([style*="absolute"]),
  main > div {
    max-width: 100% !important;
  }

  [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* Linhas compostas que cabem lado a lado no mobile: não colapsar. */
  [style*="grid-template-columns: 92px 1fr"] {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  /* Cartão de serviço: a faixa escura com número/ícone vira barra horizontal. */
  [style*="grid-template-columns: 110px"] > :first-child {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 12px 18px !important;
    min-height: 0 !important;
  }

  a.srow {
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 14px 4px !important;
  }

  /* ---------- Índice de serviços: faixa rolável em vez de blocos soltos ---------- */

  section > div[style*="padding: 20px 24px"][style*="flex-wrap: wrap"] {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px !important;
    padding: 12px 18px !important;
    scroll-snap-type: x proximity;
    scroll-padding-left: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  }

  section > div[style*="padding: 20px 24px"][style*="flex-wrap: wrap"]::-webkit-scrollbar {
    display: none;
  }

  section > div[style*="padding: 20px 24px"][style*="flex-wrap: wrap"] > a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    scroll-snap-align: start;
  }

  section > div[style*="padding: 20px 24px"][style*="flex-wrap: wrap"] > a:last-child {
    margin-right: 26px !important;
  }

  /* ---------- Densidade: espaçamentos de seção ---------- */

  [style*="padding: 120px 28px"] {
    padding: 44px 18px !important;
  }

  [style*="padding: 96px 28px"] {
    padding: 40px 18px !important;
  }

  [style*="padding: 88px 24px"],
  [style*="padding: 80px 28px"] {
    padding: 38px 18px !important;
  }

  [style*="padding: 72px 24px"] {
    padding: 34px 18px !important;
  }

  [style*="padding: 72px 28px 40px"] {
    padding: 34px 18px 24px !important;
  }

  [style*="padding: 64px 24px"] {
    padding: 32px 18px !important;
  }

  /* ---------- Densidade: caixas internas ---------- */

  [style*="padding: 64px 72px"],
  [style*="padding: 56px 64px"] {
    padding: 26px 20px !important;
  }

  [style*="padding: 44px 44px 48px"] {
    padding: 24px 18px 26px !important;
  }

  [style*="padding: 36px 44px 40px"] {
    padding: 22px 18px 24px !important;
  }

  [style*="padding: 40px"] {
    padding: 22px 18px !important;
  }

  [style*="padding: 32px 26px"] {
    padding: 20px 18px !important;
  }

  [style*="padding: 28px"],
  [style*="padding: 26px 30px"],
  [style*="padding: 24px 26px 28px"] {
    padding: 18px !important;
  }

  [style*="padding: 22px 24px"],
  [style*="padding: 20px 26px"] {
    padding: 16px 18px !important;
  }

  [style*="padding: 10px 40px 22px"] {
    padding: 6px 18px 16px !important;
  }

  /* Botões e pílulas */
  [style*="padding: 16px 32px"],
  [style*="padding: 15px 32px"],
  [style*="padding: 14px 36px"] {
    padding: 13px 24px !important;
  }

  [style*="padding: 15px 30px"],
  [style*="padding: 14px 30px"] {
    padding: 12px 22px !important;
  }

  /* ---------- Densidade: gaps ---------- */

  [style*="gap: 72px"],
  [style*="gap: 64px"] {
    gap: 22px !important;
  }

  [style*="gap: 56px"] {
    gap: 20px !important;
  }

  [style*="gap: 0px 56px"] {
    gap: 0 20px !important;
  }

  [style*="gap: 40px"],
  [style*="gap: 32px"] {
    gap: 18px !important;
  }

  [style*="gap: 26px"],
  [style*="gap: 24px"] {
    gap: 16px !important;
  }

  [style*="gap: 20px"] {
    gap: 14px !important;
  }

  /* ---------- Tipografia ---------- */

  h1 {
    font-size: clamp(26px, 7.4vw, 32px) !important;
    line-height: 1.14 !important;
  }

  [style*="font-size: 44px"] {
    font-size: 26px !important;
  }

  [style*="font-size: 38px"] {
    font-size: 24px !important;
  }

  [style*="font-size: 36px"],
  [style*="font-size: 34px"] {
    font-size: 23px !important;
  }

  [style*="font-size: 30px"] {
    font-size: 21px !important;
  }

  [style*="font-size: 26px"] {
    font-size: 19.5px !important;
  }

  [style*="font-size: 24px"] {
    font-size: 19px !important;
  }

  [style*="font-size: 20px"] {
    font-size: 17px !important;
  }

  [style*="font-size: 19px"],
  [style*="font-size: 18px"] {
    font-size: 16px !important;
  }

  [style*="font-size: 17px"] {
    font-size: 15.5px !important;
  }

  h2,
  h3 {
    line-height: 1.24 !important;
  }

  /* break-word (e não anywhere) para não afetar o cálculo de min-content
     e evitar quebras de linha erráticas em parágrafos. */
  h1, h2, h3,
  p, a, span, strong {
    overflow-wrap: break-word;
  }

  p {
    line-height: 1.6 !important;
  }

  /* Em colunas estreitas, o "pretty" do Chrome deixa linhas curtas no meio
     do parágrafo; no mobile a quebra normal preenche melhor a largura. */
  [style*="text-wrap: pretty"] {
    text-wrap: wrap !important;
  }

  /* Cartões com imagem: altura fixa de desktop é excessiva no celular. */
  [style*="height: 220px"] {
    height: 168px !important;
  }

  /* Botão flutuante do WhatsApp: à esquerda ele cobre o início das linhas de
     texto; no canto direito sobra a área "vazia" da coluna. */
  a[href*="wa.me"][style*="position: fixed"] {
    left: auto !important;
    right: 16px !important;
    bottom: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }

  /* ---------- Formulários ---------- */

  /* O Safari no iOS dá zoom na página inteira quando o dedo toca num campo com
     fonte menor que 16px, e não desfaz o zoom ao sair — o visitante fica com o
     layout deslocado no meio do formulário. Os campos são declarados com 14px
     (contato, agendamento, trabalhe conosco) e 15px (boletim) no estilo inline;
     16px aqui é o mínimo que impede o zoom, e a diferença é imperceptível.
     Não reduzir. */
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  form {
    width: 100% !important;
  }

  form button[type="submit"] {
    width: 100% !important;
    align-self: stretch !important;
  }

  /* Campos do boletim: o `width: 100%` sozinho não surtia efeito porque os dois
     inputs têm `flex: 1` / `flex: 1.4` inline, e em container flex o
     flex-basis (0%) vence a largura declarada. Resultado: ficavam lado a lado
     com 127px e 162px em tela de 375px. O flex-basis é que precisa ir a 100%
     para cada campo ocupar a própria linha. */
  [style*="min-width: 210px"],
  [style*="min-width: 150px"] {
    min-width: 0 !important;
    width: 100% !important;
    flex-basis: 100% !important;
  }

  /* ---------- Rodapé ---------- */

  footer > div:first-child {
    max-width: 100% !important;
    padding: 38px 18px 28px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
  }

  footer > div:last-child > div {
    padding: 16px 18px !important;
    flex-direction: column !important;
  }

  /* As listas do rodapé são links de 15px de altura separados por 10px de gap:
     o passo entre um alvo e o vizinho fica em 25px, e o dedo erra. O padding
     leva o passo para ~43px sem mudar a tipografia.
     `div > a` de propósito, não `footer a`: os links das listas são filhos
     diretos das colunas, enquanto o "Locomotiva Tech" da barra inferior é um
     link inline dentro de um <span>. Em elemento inline o padding vertical não
     aumenta a caixa de linha — ele vaza por cima do texto vizinho sem render
     área de toque nenhuma. O botão flutuante do WhatsApp e a barra de saída
     ficam fora do <footer> e não são atingidos. */
  footer div > a {
    padding: 9px 0;
  }

  /* Mesma questão nas listas de e-mail dos cartões de contato, fora do rodapé.
     O filho direto de uma coluna flex garante que o link é bloco: em
     privacidade.html o e-mail da ouvidoria aparece inline no meio de um
     parágrafo, e lá o padding causaria justamente o vazamento acima. */
  [style*="flex-direction: column"] > a[href^="mailto:"],
  [style*="flex-direction: column"] > a[href^="tel:"] {
    padding: 9px 0;
  }

  /* ---------- Área de toque dos links de texto ---------- */

  /* Os "Saiba mais" dos cartões têm 18px de altura por serem só texto com
     borda inferior. O ::before amplia o alvo para 40px sem deslocar o
     sublinhado nem o texto — crescer por padding empurraria a borda. */
  [style*="border-bottom: 1.5px solid rgb(207, 222, 228)"] {
    position: relative;
  }

  [style*="border-bottom: 1.5px solid rgb(207, 222, 228)"]::before {
    content: "";
    position: absolute;
    inset: -11px -8px;
  }
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (min-width: 761px) and (max-width: 1024px) {
  header > div,
  section > div:not([style*="absolute"]),
  main > div,
  footer > div {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  header nav {
    gap: 14px !important;
    font-size: 13px !important;
  }

  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr 1.1fr"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Coluna fixa de 340px não deixa largura útil para o texto ao lado. */
  [style*="grid-template-columns: 340px 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ==========================================================================
   Carrossel do hero (home)
   Cross-fade em vez de deslize: sem risco de scroll lateral e sem reflow.
   O slide 1 já vem com .ativo no HTML — ele é o elemento de LCP e aparece
   mesmo se o JS falhar. Comportamento em /public/hero-carousel.js.
   ========================================================================== */
.hc {
  position: relative;
  min-height: clamp(520px, 64vh, 680px);
  display: grid;
}
.hc-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}
.hc-slide.ativo {
  opacity: 1;
  visibility: visible;
}
.hc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-veu {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 43, 64, 0.82) 0%,
    rgba(11, 43, 64, 0.56) 55%,
    rgba(11, 43, 64, 0.18) 100%
  );
}
.hc-conteudo {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 104px 28px 132px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.hc-conteudo > * {
  max-width: 640px;
}
.hc-etiqueta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #50bc8f;
}
.hc-etiqueta::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: #50bc8f;
  flex: none;
}
.hc-titulo {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.hc-texto {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #d3e2e8;
  max-width: 50ch;
  text-wrap: pretty;
}
.hc-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hc-cta {
  background: #fff;
  color: #0b3040;
  padding: 16px 32px;
  border-radius: 0 14px 0 0;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.hc-cta:hover {
  background: #50bc8f;
  color: #0b3040;
}
.hc-cta-vazado {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 15px 30px;
  border-radius: 0 14px 0 0;
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s, color 0.2s;
}
.hc-cta-vazado:hover {
  border-color: #50bc8f;
  color: #50bc8f;
}

/* números fixos: não pertencem a nenhum banner, então não giram junto */
.hc-numeros {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  padding: 0 28px;
  display: flex;
  gap: 40px;
  pointer-events: none;
}
.hc-numero {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid #50bc8f;
  padding-left: 16px;
}
.hc-numero b {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.hc-numero span {
  font-size: 13px;
  color: #9fbecb;
}

/* controles */
.hc-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(11, 43, 64, 0.35);
  color: #fff;
  border-radius: 0 12px 0 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.hc-seta:hover {
  background: rgba(11, 43, 64, 0.7);
  border-color: #50bc8f;
  color: #50bc8f;
}
.hc-seta:focus-visible {
  outline: 2px solid #50bc8f;
  outline-offset: 3px;
}
.hc-seta-esq { left: 18px; }
.hc-seta-dir { right: 18px; }

.hc-inds {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  right: 28px;
  display: flex;
  gap: 9px;
}
.hc-ind {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}
.hc-ind.ativo {
  background: #50bc8f;
  width: 46px;
}
.hc-ind:focus-visible {
  outline: 2px solid #50bc8f;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hc-slide { transition: none; }
  .hc-ind { transition: none; }
}

@media (max-width: 900px) {
  .hc { min-height: clamp(440px, 68vh, 560px); }
  .hc-conteudo { padding: 60px 20px 116px; }
  /* sem espaço para setas laterais: a navegação fica nos indicadores */
  .hc-seta { display: none; }
  .hc-numeros {
    bottom: 26px;
    padding: 0 20px;
    gap: 20px;
    /* o botão flutuante do WhatsApp ocupa o canto inferior direito */
    padding-right: 76px;
  }
  .hc-numero b { font-size: 20px; }
  .hc-numero span { font-size: 11.5px; }
  /* à esquerda para não ficar embaixo do WhatsApp */
  .hc-inds {
    left: 20px;
    right: auto;
    bottom: 92px;
  }
  .hc-ind { width: 26px; }
  .hc-ind.ativo { width: 40px; }

  /* No mobile os indicadores são a única navegação do carrossel (as setas
     laterais somem acima), mas a barrinha tem 4px de altura — alvo pequeno
     demais para o dedo. O ::before estende a área de toque para 44px sem
     mexer no layout, na posição nem no desenho da barra. */
  .hc-ind {
    position: relative;
  }

  .hc-ind::before {
    content: "";
    position: absolute;
    inset: -20px -4px;
  }
}

@media (max-width: 380px) {
  .hc-numeros { gap: 14px; }
  .hc-numero span { font-size: 11px; }
}

/* ==========================================================================
   Componentes novos (referências: setrab, mantris, margen-med)
   Estilizados por classe para não depender dos seletores [style*=...].
   Estas regras vêm DEPOIS das genéricas de mobile e por isso vencem os
   overrides por atributo de mesma especificidade.
   ========================================================================== */

/* ---------- Perguntas frequentes (acordeão) ---------- */

.faq {
  border-bottom: 1px solid #e3e6e2;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  font-size: 16.5px;
  font-weight: 600;
  color: #0b3040;
  transition: color .2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 600;
  color: #1f566e;
  line-height: 1;
}

.faq summary:hover,
.faq[open] summary {
  color: #1f566e;
}

.faq[open] summary::after {
  content: '−';
}

.faq > p {
  margin: 0;
  padding: 0 4px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #5a6b74;
  max-width: 75ch;
}

/* ---------- Banner de saída (exit-intent, padrão setrab) ---------- */

.exitov {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0 16px 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: exitsobe .34s cubic-bezier(.22, 1, .36, 1);
}

@keyframes exitsobe {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.exitcard {
  position: relative;
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid #e3e6e2;
  border-top: 3px solid #50bc8f;
  border-radius: 0 20px 0 0;
  width: 100%;
  max-width: 1000px;
  padding: 18px 56px 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 16px 44px rgba(2, 47, 76, .22);
  font-family: 'Archivo', sans-serif;
}

.exitclose {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #5f747f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
}

.exitclose:hover {
  color: #0b3040;
}

.exitclose:focus-visible {
  outline: 2px solid #1f566e;
  outline-offset: 2px;
}

.exittag {
  align-self: center;
  background: #e8edef;
  color: #1f566e;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 0 10px 0 0;
  flex: none;
}

.exittitle {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #0b3040;
  text-wrap: balance;
}

.exittext {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #5a6b74;
  flex: 1 1 260px;
  min-width: 0;
}

.exitbtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: none;
  margin: 0;
}

.exitwa {
  /* verde da marca WhatsApp com texto escuro: branco sobre #25d366 dá 1,98:1 */
  background: #25d366;
  color: #0b3040;
  padding: 11px 20px;
  border-radius: 0 12px 0 0;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s;
}

.exitwa:hover {
  background: #1eb457;
  color: #0b3040;
}

.exitcta {
  border: 1.5px solid #0b3040;
  color: #0b3040;
  padding: 10px 18px;
  border-radius: 0 12px 0 0;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.exitcta:hover {
  background: #0b3040;
  color: #ffffff;
}

.exitnote {
  display: none;
}

/* ---------- Responsivo dos componentes novos ---------- */

@media (max-width: 760px) {
    .statgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    padding: 34px 18px !important;
  }

  .statnum {
    font-size: 30px !important;
  }

  .faq summary {
    font-size: 15px;
    padding: 16px 2px;
  }

  .faq > p {
    font-size: 14px;
    padding: 0 2px 18px;
  }

  .exitov {
    padding: 0 10px 10px;
  }

  .exitcard {
    padding: 16px 46px 16px 16px;
    border-radius: 0 16px 0 0;
    gap: 12px;
  }

  .exittag {
    display: none;
  }

  .exittitle {
    font-size: 16px;
  }

  .exittext {
    flex-basis: 100%;
  }

  .exitbtns {
    width: 100%;
  }

  .exitbtns a {
    flex: 1 1 0;
    text-align: center;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .statgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }}

/* ==========================================================================
   Custo de renderização das seções abaixo da dobra

   A home passou a ter 11 seções e o runtime dc renderiza todas de uma vez —
   o TBT subiu para 260ms. content-visibility adia layout e paint do que está
   fora da tela; contain-intrinsic-size reserva a altura estimada para o scroll
   não pular (o CLS medido continua em 0,008).

   O hero fica de fora: é o elemento de LCP e precisa pintar imediatamente.
   ========================================================================== */
main > section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}

/* ==========================================================================
   Página legal (privacidade) — texto corrido, medida de leitura confortável
   ========================================================================== */
.legal h2 {
  margin: 44px 0 14px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #0b3040;
  text-wrap: balance;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0b3040;
}

.legal p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: #2b3942;
  text-wrap: pretty;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: #2b3942;
}

.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: #f4f6f4;
  padding: 2px 6px;
  border-radius: 0 6px 0 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 20px;
  font-size: 15px;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid #e3e6e2;
  line-height: 1.6;
}

.legal th {
  background: #f4f6f4;
  color: #0b3040;
  font-weight: 700;
  border-bottom: 2px solid #50bc8f;
}

.legal td {
  color: #2b3942;
}

@media (max-width: 620px) {
  .legal h2 { font-size: 20px; }
  .legal p,
  .legal li { font-size: 15px; }
  /* tabela larga rola sozinha em vez de estourar a página */
  .legal table { display: block; overflow-x: auto; white-space: normal; }
}

/* ==========================================================================
   Aviso de privacidade no ponto de coleta (LGPD)
   ========================================================================== */
.lgpd {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5a6b74;
}

.lgpd a {
  color: #1f566e;
  border-bottom: 1px solid #cfdee4;
}

.lgpd a:hover {
  border-color: #1f566e;
}

/* sobre o bloco escuro do boletim o texto precisa clarear */
.lgpd-escuro {
  color: #9fbecb;
}

.lgpd-escuro a {
  color: #50bc8f;
  border-bottom-color: rgba(80, 188, 143, .5);
}

.lgpd-escuro a:hover {
  border-color: #50bc8f;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #9fbecb;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #50bc8f;
  cursor: pointer;
}

.consent input:focus-visible {
  outline: 2px solid #50bc8f;
  outline-offset: 2px;
}

.consent a {
  color: #50bc8f;
  border-bottom: 1px solid rgba(80, 188, 143, .5);
}

/* Link dentro de texto corrido: só a cor não distingue o suficiente de quem
   está ao lado (WCAG 1.4.1). O sublinhado resolve sem depender de contraste. */
.legal a,
.lgpd a,
.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
