/* Página institucional pública (hvtributario.com.br).
   Tudo escopado em .hv-home para não vazar para as telas do sistema, que usam os tokens
   de index.css. Cores da marca: marinho #1B3A5C e verde #0E8F66 (HV Tributário / HV Geo). */

.hv-home {
  --paper: #f3f6f4;
  --paper-2: #e4eae6;
  --ink: #10243a;
  --muted: #415468;
  --marinho: #1b3a5c;
  --marinho-2: #122a44;
  --marinho-3: #0d2036;
  --verde: #0b7a57;        /* ação: texto branco com contraste 5,3:1 */
  --verde-marca: #0e8f66;
  --verde-claro: #5fe0ac;  /* destaque sobre o marinho */
  --amarelo: #f2c230;
  --vermelho: #e5484d;
  --on-dark: #eef3f1;
  --on-dark-2: #b9c9c4;

  --f-display: 'Montserrat Variable', 'Montserrat', 'Nunito Sans Variable', system-ui, sans-serif;
  --f-text: 'Nunito Sans Variable', 'Nunito Sans', system-ui, sans-serif;

  /* Cinco degraus de tipo */
  --t-1: clamp(2.375rem, 3.6vw, 3.625rem);  /* título da página */
  --t-2: clamp(1.875rem, 2.6vw, 2.625rem);  /* título de seção */
  --t-3: clamp(1.25rem, 1.55vw, 1.5rem);    /* frase / subtítulo */
  --t-4: 1.125rem;                          /* texto corrido */
  --t-5: 0.875rem;                          /* notas */

  --m: clamp(16px, 3vw, 48px);              /* a margem externa, igual dos dois lados */
  --gap-secao: clamp(88px, 10vw, 160px);
  --topo-h: 72px;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-4);
  line-height: 1.55;
  overflow-x: clip;
}

/* O index.css põe overflow-x: hidden em html/body, o que mata o position: sticky.
   Nesta página, clip faz o mesmo sem criar contêiner de rolagem. */
html:has(.hv-home),
body:has(.hv-home) {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

.hv-home h1,
.hv-home h2,
.hv-home h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: inherit;
  text-wrap: balance;
}
.hv-home h1 { font-size: var(--t-1); line-height: 1.02; }
.hv-home h2 { font-size: var(--t-2); }
.hv-home h3 { font-size: var(--t-3); line-height: 1.2; letter-spacing: -0.015em; }
.hv-home p { max-width: 62ch; text-wrap: pretty; }
.hv-home a { color: inherit; }
.hv-home a:hover { text-decoration: none; }
:where(.hv-home img),
:where(.hv-home video) { display: block; max-width: 100%; height: auto; }
.hv-home .hv-nota { font-size: var(--t-5); color: var(--muted); }
.hv-home :focus-visible { outline: 3px solid var(--verde-marca); outline-offset: 3px; }
.hv-home ::selection { background: var(--amarelo); color: var(--ink); }
.hv-home ul { list-style: none; }

.hv-oculto {
  position: absolute; width: 1px; height: 1px; overflow: hidden; /* taste-skill-ignore: classe só para leitor de tela */
  clip: rect(0 0 0 0); white-space: nowrap;
}
.hv-pular {
  position: absolute; left: var(--m); top: -100px; z-index: 60;
  background: var(--ink); color: var(--paper) !important; padding: 12px 16px;
}
.hv-pular:focus { top: 8px; }

/* ── Botões: retos, uma cor ───────────────────────────────────────────────── */
.hv-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 0;
  font-family: var(--f-text); font-weight: 700; font-size: 1rem;
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease;
}
.hv-btn:active { transform: translateY(1px) scale(0.99); }
.hv-btn--verde { background: var(--verde); color: #fff !important; }
.hv-btn--verde:hover { background: #096849; }
.hv-btn--escuro { background: var(--marinho); color: var(--on-dark) !important; min-height: 48px; }
.hv-btn--escuro:hover { background: var(--marinho-2); }

.hv-link {
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; text-decoration-color: var(--verde-marca);
  transition: text-underline-offset 160ms ease;
}
.hv-link:hover { text-underline-offset: 8px; text-decoration: underline; }
.hv-link--claro { color: var(--on-dark) !important; text-decoration-color: var(--verde-claro); }

/* ── Cabeçalho ─────────────────────────────────────────────────────────────── */
.hv-topo {
  position: sticky; top: 0; z-index: 40;
  height: var(--topo-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--m);
  background: var(--paper);
}
.hv-topo-marca img { width: 148px; height: auto; }
.hv-topo-nav { display: flex; gap: 30px; white-space: nowrap; }
/* WhatsApp comercial: abre a barra, antes do primeiro item do menu */
.hv-topo-zap {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 800; font-size: 1rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.hv-topo-zap:hover span { text-decoration: underline; text-decoration-color: var(--verde-marca); text-underline-offset: 4px; }
.hv-icone-zap { width: 22px; height: 22px; flex: none; fill: #25d366; }
.hv-topo-marca { flex: none; }
.hv-rotulo-curto { display: none; }
.hv-topo-nav a {
  font-weight: 700; font-size: 1rem; text-decoration: none; padding: 6px 0;
  box-shadow: inset 0 -2px 0 transparent; transition: box-shadow 180ms ease; /* taste-skill-ignore: sublinhado do link */
}
.hv-topo-nav a:hover { box-shadow: inset 0 -2px 0 var(--verde-marca); } /* taste-skill-ignore: sublinhado do link */
.hv-topo-acoes { display: flex; align-items: center; gap: 12px; }
.hv-topo-menu {
  display: none; width: 48px; height: 48px; border: 0; background: var(--paper-2);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hv-topo-menu span { display: block; width: 20px; height: 2px; background: var(--ink); }

/* Menu "Acessar sistemas" */
.hv-sistemas { position: relative; }
.hv-sistemas-seta { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 160ms ease; }
.hv-sistemas [aria-expanded='true'] .hv-sistemas-seta { transform: rotate(180deg); }
.hv-sistemas-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  width: min(380px, calc(100vw - 2 * var(--m)));
  background: #fff; padding: 8px;
  box-shadow: 0 18px 50px rgba(16, 36, 58, 0.22); /* taste-skill-ignore: menu flutuante */
  animation: hv-menu 160ms ease-out;
}
.hv-sistemas--contato .hv-sistemas-menu { left: 0; right: auto; top: auto; bottom: calc(100% + 8px); }
@keyframes hv-menu { from { opacity: 0; transform: translateY(-6px); } }
.hv-sistemas-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center;
  padding: 12px; text-decoration: none; color: var(--ink) !important; transition: background-color 140ms ease;
}
.hv-sistemas-item:hover,
.hv-sistemas-item:focus-visible { background: var(--paper); }
.hv-sistemas-item img { width: 96px; height: 48px; object-fit: contain; }
.hv-sistemas-item strong { display: block; font-size: 1rem; }
.hv-sistemas-item small { display: block; font-size: var(--t-5); color: var(--muted); line-height: 1.35; }

/* ── Primeira dobra: escura, com a tela da plataforma ──────────────────────── */
.hv-hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 72px); align-items: center;
  padding: clamp(48px, 6vw, 96px) var(--m) clamp(56px, 7vw, 112px);
  min-height: calc(100svh - var(--topo-h));
  background: var(--marinho);
  color: var(--on-dark);
}
.hv-hero-texto h1 { max-width: 15ch; color: #fff; }
.hv-hero-frase { margin-top: 28px; font-size: var(--t-3); line-height: 1.45; max-width: 38ch; color: var(--on-dark); }
.hv-hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 40px; }

/* O convite ao vídeo */
.hv-play {
  display: inline-flex; align-items: center; gap: 14px;
  border: 0; background: none; color: #fff; padding: 0; text-align: left;
}
.hv-play-icone {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--marinho); flex: none;
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: hv-pulso 2.8s ease-out 1.2s 3;
}
.hv-play-icone svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.hv-play:hover .hv-play-icone { transform: scale(1.08); }
.hv-play-texto strong { display: block; font-size: 1.0625rem; }
.hv-play-texto small { display: block; font-size: var(--t-5); color: var(--on-dark-2); }
@keyframes hv-pulso {
  0% { box-shadow: 0 0 0 0 rgba(95, 224, 172, 0.55); } /* taste-skill-ignore: anel do convite ao vídeo */
  100% { box-shadow: 0 0 0 18px rgba(95, 224, 172, 0); } /* taste-skill-ignore: anel do convite ao vídeo */
}

.hv-hero-fatos {
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 32px;
  margin-top: 56px; justify-content: start;
}
.hv-hero-fatos dt { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--verde-claro); letter-spacing: -0.03em; }
.hv-hero-fatos dd { margin-top: 6px; font-size: var(--t-5); color: var(--on-dark-2); max-width: 16ch; line-height: 1.35; }

/* A tela da plataforma (fragmento de interface) */
.hv-tela { background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(3, 14, 28, 0.45); } /* taste-skill-ignore: janela que flutua sobre a dobra */
.hv-tela-barra {
  display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 14px;
  background: #e9eeeb; font-size: 0.8125rem; color: var(--muted);
}
.hv-tela-pontos { display: flex; gap: 6px; }
.hv-tela-pontos i { width: 10px; height: 10px; border-radius: 50%; background: #c6d0cb; }
.hv-tela-endereco { font-weight: 700; }
.hv-tela-corpo { display: grid; grid-template-columns: minmax(0, 1fr) 290px; }
.hv-tela-mapa { position: relative; background: #dfe7e2; }
.hv-tela-mapa svg { display: block; width: 100%; height: auto; }
.hv-tela-camadas {
  position: absolute; left: 10px; top: 10px; display: flex; gap: 4px; flex-wrap: wrap;
  font-size: 0.8125rem; font-weight: 700;
}
.hv-tela-camadas span { background: rgba(255, 255, 255, 0.92); color: var(--muted); padding: 4px 9px; }
.hv-tela-camadas span.is-on { background: var(--marinho); color: #fff; }
.hv-tela-dica {
  position: absolute; right: 10px; bottom: 10px; margin: 0;
  background: rgba(16, 36, 58, 0.86); color: #fff; font-size: 0.8125rem; font-weight: 700; padding: 5px 10px;
}
.hv-mapa-rio { fill: #b9d3df; }
.hv-mapa-quadra { fill: #f5f7f6; }
.hv-mapa-lote { fill: #f5f7f6; stroke: #c5d0cb; stroke-width: 1.5; transition: fill 400ms ease; }
.hv-mapa-casa { fill: #c9d2ce; }
.hv-mapa-lote--construcao { fill: #f8c9c9; stroke: var(--vermelho); stroke-width: 2.5; }
.hv-mapa-lote--iss { fill: #fbe7a8; stroke: #d8a400; stroke-width: 2.5; }
.hv-mapa-lote--itbi { fill: #cfe0f4; stroke: #2f6db3; stroke-width: 2.5; }
.hv-mapa-lote--regular { fill: #c9ecdc; stroke: var(--verde-marca); stroke-width: 2.5; }
.hv-mapa-lote.is-sel { stroke: var(--ink); stroke-width: 4.5; }
.hv-mapa-alvo { fill: transparent; cursor: pointer; outline: none; }
.hv-mapa-alvo:hover { fill: rgba(16, 36, 58, 0.12); }
.hv-mapa-alvo:focus-visible { stroke: var(--verde-marca); stroke-width: 5; }

.hv-tela-ficha { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; }
.hv-tela-ficha p { margin: 0; }
.hv-tela-ficha-lote { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.hv-tela-selo { align-self: flex-start; font-weight: 800; font-size: 0.8125rem; padding: 4px 10px; }
.hv-tela-selo--construcao { background: #fde2e2; color: #a3191f; }
.hv-tela-selo--iss { background: #fdf0c4; color: #7a5a00; }
.hv-tela-selo--itbi { background: #dde9f7; color: #1f4f86; }
.hv-tela-selo--regular { background: #d6f2e5; color: #0a6447; }
.hv-tela-ficha dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #e5ebe8; } /* taste-skill-ignore: linhas da ficha (fragmento de interface) */
.hv-tela-ficha dt { color: var(--muted); }
.hv-tela-ficha dd { font-weight: 700; text-align: right; }
.hv-tela-acao { background: var(--paper); padding: 10px 12px; font-weight: 700; line-height: 1.35; }
.hv-tela-acao span { display: block; font-weight: 600; font-size: 0.8125rem; color: var(--muted); }
.hv-tela-ilustr { font-size: 0.8125rem; color: var(--muted); margin-top: auto !important; }

/* ── A plataforma ──────────────────────────────────────────────────────────── */
.hv-plataforma {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px); align-items: center;
  padding: var(--gap-secao) var(--m);
}
.hv-plataforma-intro { margin-top: 24px; font-size: var(--t-3); line-height: 1.45; max-width: 44ch; }
.hv-plataforma-lista { margin-top: 40px; display: grid; gap: 6px; }
.hv-camada-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start;
  text-align: left; border: 0; padding: 18px 20px; background: transparent; color: var(--ink);
  font-family: var(--f-text); font-size: 1rem; line-height: 1.5;
  transition: background-color 200ms ease;
}
.hv-camada-item:hover { background: var(--paper-2); }
.hv-camada-item.is-ativo { background: #fff; }
.hv-camada-nome { font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; }
.hv-camada-nome small { display: block; font-family: var(--f-text); font-weight: 700; font-size: var(--t-5); color: var(--verde); letter-spacing: 0; margin-top: 2px; }
.hv-camada-texto { color: var(--muted); }
.hv-camada-item.is-ativo .hv-camada-texto { color: var(--ink); }

.hv-plataforma-figura { background: var(--marinho); padding: clamp(16px, 2vw, 32px); align-self: stretch; display: flex; align-items: center; }
.hv-camadas { width: 100%; height: auto; max-height: 720px; }
.hv-plano { transform: translate(300px, var(--cy)); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); opacity: 0.28; }
.hv-camadas[data-camada='integrado'] .hv-plano,
.hv-camadas[data-camada='territorio'] .hv-plano--territorio,
.hv-camadas[data-camada='cadastro'] .hv-plano--cadastro,
.hv-camadas[data-camada='arrecadacao'] .hv-plano--arrecadacao { opacity: 1; }
.hv-camadas[data-camada='territorio'] .hv-plano--territorio,
.hv-camadas[data-camada='cadastro'] .hv-plano--cadastro,
.hv-camadas[data-camada='arrecadacao'] .hv-plano--arrecadacao { transform: translate(300px, calc(var(--cy) - 14px)); }
.hv-lote { fill: transparent; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; }
.hv-lote-ok { fill: rgba(255, 255, 255, 0.78); stroke: #24496f; stroke-width: 2; }
.hv-lote-alvo { fill: var(--amarelo); stroke: #24496f; stroke-width: 2; }
.hv-ligacao line { stroke: var(--amarelo); stroke-width: 3; stroke-dasharray: 6 6; }
.hv-ligacao circle { fill: var(--amarelo); stroke: var(--marinho); stroke-width: 3; }
.hv-ligacao { opacity: 0; transition: opacity 700ms ease; }
.hv-camadas[data-camada='integrado'] .hv-ligacao { opacity: 1; }

/* ── Soluções ──────────────────────────────────────────────────────────────── */
.hv-solucoes { padding: var(--gap-secao) var(--m); background: var(--paper-2); }
.hv-solucoes > h2 { margin-bottom: 48px; }
.hv-solucoes-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hv-produto {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 3.5vw, 56px); color: var(--on-dark);
}
.hv-produto--tributario { background: var(--marinho); }
.hv-produto--geo { background: #fff; color: var(--ink); }
.hv-produto--geo .hv-produto-video { background: var(--marinho); color: #fff; }
.hv-produto--geo .hv-produto-video:hover { background: var(--marinho-2); }
.hv-produto-marca { width: 260px; height: auto; }
.hv-produto-def { font-size: var(--t-3); line-height: 1.45; max-width: 40ch; }
.hv-produto-modulos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.hv-produto-modulos li { position: relative; padding-left: 22px; font-weight: 600; line-height: 1.4; }
.hv-produto-modulos li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 10px; height: 10px; background: var(--verde-claro); }
.hv-produto--geo .hv-produto-modulos li::before { background: var(--verde-marca); }
.hv-produto-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: auto; padding-top: 8px; }
.hv-produto-video {
  min-height: 52px; padding: 0 22px; border: 0; background: #fff; color: var(--ink);
  font-family: var(--f-text); font-weight: 700; font-size: 1rem; transition: background-color 160ms ease;
}
.hv-produto-video:hover { background: var(--paper-2); }

.hv-assessoria {
  margin-top: 12px; background: var(--paper); padding: clamp(28px, 3.5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 4fr); gap: 32px; align-items: start;
}
.hv-assessoria ul { display: grid; gap: 10px; }
.hv-assessoria li { position: relative; padding-left: 22px; font-weight: 600; }
.hv-assessoria li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; background: var(--verde-marca); }

/* ── Apresentação ──────────────────────────────────────────────────────────── */
.hv-videos { padding: var(--gap-secao) var(--m); background: var(--marinho-3); color: var(--on-dark); }
.hv-videos-cabeca { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 40px; }
.hv-videos-cabeca p { color: var(--on-dark-2); font-size: var(--t-3); }
.hv-videos-palco { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 12px; }
.hv-videos-placa { background: #000; }
.hv-videos-video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.hv-videos-lista { display: grid; gap: 6px; align-content: start; }
.hv-videos-item {
  display: grid; gap: 6px; text-align: left; border: 0; padding: 20px 22px;
  background: var(--marinho-2); color: var(--on-dark-2); font-family: var(--f-text); font-size: 1rem;
  transition: background-color 180ms ease, color 180ms ease;
}
.hv-videos-item:hover { background: #18385a; color: var(--on-dark); }
.hv-videos-item.is-ativo { background: #fff; color: var(--ink); }
.hv-videos-aba { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; color: inherit; }
.hv-videos-aba small { font-weight: 600; font-size: var(--t-5); }
.hv-videos-titulo { font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.25; }
.hv-videos-texto { font-size: 0.9375rem; line-height: 1.5; display: none; }
.hv-videos-item.is-ativo .hv-videos-texto { display: block; color: var(--muted); }

/* ── Como trabalhamos ──────────────────────────────────────────────────────── */
.hv-etapas { padding: var(--gap-secao) var(--m); }
.hv-etapas > h2 { margin-bottom: 56px; max-width: 20ch; }
.hv-etapas-lista { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: etapa; }
.hv-etapas-lista li { counter-increment: etapa; background: #fff; padding: 28px 28px 32px; }
.hv-etapas-lista li::before {
  content: counter(etapa); display: block; margin-bottom: 40px;
  font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--verde-marca); letter-spacing: -0.04em;
}
.hv-etapas-lista li:nth-child(2)::before { color: #2f8fae; }
.hv-etapas-lista li:nth-child(3)::before { color: #c99a00; }
.hv-etapas-lista li:nth-child(4)::before { color: var(--marinho); }
.hv-etapas-lista p { margin-top: 12px; color: var(--muted); font-size: 1rem; }

/* ── Números ───────────────────────────────────────────────────────────────── */
.hv-numeros { background: var(--verde); color: #fff; padding: clamp(72px, 8vw, 120px) var(--m); }
.hv-numeros h2 { margin-bottom: 48px; }
.hv-numeros-faixa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hv-numeros-item p { max-width: 26ch; }
.hv-home .hv-numeros-fig {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95;
  font-size: clamp(3.5rem, 6.5vw, 6.5rem); margin-bottom: 16px; max-width: none; white-space: nowrap;
}

/* ── Sobre nós ─────────────────────────────────────────────────────────────── */
.hv-sobre {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px);
  padding: var(--gap-secao) var(--m);
}
.hv-sobre-cabeca { align-self: start; position: sticky; top: calc(var(--topo-h) + 40px); }
.hv-sobre-retrato { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 50%; padding: 7px; margin-bottom: 24px; }
.hv-sobre-carta { max-width: 640px; }
.hv-sobre-carta p { font-size: 1.1875rem; line-height: 1.65; }
.hv-sobre-carta p + p { margin-top: 1.1em; }
.hv-sobre mark { background: var(--amarelo); color: var(--ink); padding: 0 4px; }
.hv-sobre-carta .hv-sobre-assina { margin-top: 40px; font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: var(--t-3); }
.hv-sobre-carta .hv-nota { margin-top: 4px; font-size: var(--t-5); }

/* ── Contato ───────────────────────────────────────────────────────────────── */
.hv-contato {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding: var(--gap-secao) var(--m); background: var(--paper-2);
}
.hv-contato-coluna { grid-column: 1 / span 7; max-width: 640px; }
.hv-home .hv-contato-prompt { font-size: var(--t-2); line-height: 1.15; }
.hv-contato-prompt span { display: block; }
.hv-contato-prompt span:first-child { color: var(--muted); }
.hv-contato-form { position: relative; margin-top: 32px; }
.hv-home .hv-contato-form input {
  width: 100%; height: 64px; padding: 0 72px 0 20px;
  background: #fff; border: 0; border-radius: 0; box-shadow: none; /* taste-skill-ignore: zera a sombra do campo vinda do index.css */
  font-size: 1.0625rem; color: var(--ink);
}
.hv-home .hv-contato-form input:focus { box-shadow: inset 0 0 0 2px var(--verde-marca); } /* taste-skill-ignore: anel de foco do campo */
.hv-contato-form button {
  position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--verde); color: #fff; display: grid; place-items: center;
  transition: transform 160ms ease, background-color 160ms ease;
}
.hv-contato-form button:hover { background: #096849; transform: translateX(2px); }
.hv-contato-form svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hv-contato-coluna > .hv-nota { margin-top: 14px; }
.hv-contato-dados { margin-top: 56px; display: grid; gap: 14px; }
.hv-contato-dados div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.hv-contato-dados dt { color: var(--muted); }
.hv-contato-dados dd { font-weight: 700; }
.hv-contato-dados a { text-decoration: none; }
.hv-contato-dados a:hover { text-decoration: underline; text-decoration-color: var(--verde-marca); text-underline-offset: 4px; }
.hv-contato-sistemas { grid-column: 9 / span 4; align-self: end; background: #fff; padding: 32px; }
.hv-contato-sistemas p { margin: 14px 0 24px; }

/* ── Rodapé ────────────────────────────────────────────────────────────────── */
.hv-rodape {
  min-height: 60svh; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--marinho-3); color: var(--on-dark);
}
.hv-rodape-topo { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 48px var(--m) 0; }
.hv-rodape-topo nav,
.hv-rodape-topo address { display: grid; gap: 8px; font-style: normal; font-size: 1rem; align-content: start; }
.hv-rodape-topo address { text-align: right; }
.hv-rodape-topo a { text-decoration: none; font-weight: 600; }
.hv-rodape-topo a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hv-rodape-base { padding: 48px var(--m) 32px; }
.hv-home .hv-rodape-nome {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.05em; line-height: 0.85;
  font-size: clamp(3.25rem, 12.4vw, 14rem); white-space: nowrap; max-width: none; color: #fff;
}
.hv-rodape-legal { margin-top: 20px; font-size: var(--t-5); color: var(--on-dark-2); }

/* ── Janela do vídeo ───────────────────────────────────────────────────────── */
.hv-janela {
  border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible;
  width: min(1200px, calc(100vw - 32px)); margin: auto;
}
.hv-janela::backdrop { background: rgba(5, 15, 28, 0.86); }
.hv-janela[open] { animation: hv-janela 220ms ease-out; }
@keyframes hv-janela { from { opacity: 0; transform: scale(0.97); } }
.hv-janela-corpo { position: relative; background: #000; }
.hv-janela video { width: 100%; aspect-ratio: 16 / 9; display: block; }
.hv-janela-fechar {
  position: absolute; right: 0; top: -56px; width: 48px; height: 48px; border: 0;
  background: #fff; color: #10243a; display: grid; place-items: center;
}
.hv-janela-fechar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ── Movimento ─────────────────────────────────────────────────────────────── */
.hv-home.com-movimento [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--atraso, 0ms);
}
.hv-home.com-movimento [data-reveal].is-dentro { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hv-home *, .hv-home *::before, .hv-janela { animation: none !important; transition-duration: 1ms !important; }
  html:has(.hv-home) { scroll-behavior: auto; }
}

/* ── Telas médias ──────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hv-hero { grid-template-columns: 1fr; min-height: 0; }
  .hv-hero-texto h1 { max-width: 18ch; }
  .hv-plataforma { grid-template-columns: 1fr; }
  .hv-plataforma-figura { max-width: 640px; }
  .hv-videos-palco { grid-template-columns: 1fr; }
  .hv-videos-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hv-assessoria { grid-template-columns: 1fr 1fr; }
  .hv-assessoria h3 { grid-column: 1 / -1; }
  .hv-etapas-lista { grid-template-columns: 1fr 1fr; }
  .hv-contato-coluna { grid-column: 1 / span 12; }
  .hv-contato-sistemas { grid-column: 1 / span 12; margin-top: 56px; }
}

/* Barra: com o número do WhatsApp, o menu completo só cabe acima de ~1240 px */
@media (max-width: 1240px) {
  .hv-topo { gap: 24px; }
  .hv-topo-nav { gap: 24px; }
}
@media (max-width: 1160px) {
  .hv-topo { gap: 12px; }
  .hv-topo-menu { display: flex; }
  .hv-topo-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--topo-h);
    flex-direction: column; gap: 0; background: var(--paper); padding: 8px var(--m) 24px;
    box-shadow: 0 18px 40px rgba(16, 36, 58, 0.16); /* taste-skill-ignore: menu flutuante no celular */
  }
  .hv-topo-nav.is-aberto { display: flex; }
  .hv-topo-nav a { font-size: 1.125rem; padding: 14px 0; }
}

@media (max-width: 900px) {
  .hv-tela-corpo { grid-template-columns: 1fr; }
  .hv-camada-item { grid-template-columns: 1fr; gap: 6px; }
  .hv-solucoes-grade { grid-template-columns: 1fr; }
  .hv-videos-lista { grid-template-columns: 1fr; }
  .hv-numeros-faixa { grid-template-columns: 1fr; gap: 40px; }
  .hv-sobre { grid-template-columns: 1fr; }
  .hv-sobre-cabeca { position: static; }
}

/* ── Celular ───────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hv-home { --t-4: 1.0625rem; --topo-h: 64px; }
  .hv-topo-marca img { width: 104px; }
  .hv-sistemas--barra .hv-btn { padding: 0 12px; font-size: 0.9375rem; }
  .hv-topo-acoes { gap: 8px; }
  /* No celular a barra mostra só o símbolo do WhatsApp e "Sistemas" */
  .hv-topo-zap { min-width: 40px; justify-content: center; }
  .hv-topo-zap span { display: none; }
  .hv-icone-zap { width: 26px; height: 26px; }
  .hv-sistemas--barra .hv-rotulo-longo { display: none; }
  .hv-sistemas--barra .hv-rotulo-curto { display: inline; }
  .hv-hero { padding-top: 40px; }
  .hv-hero-texto h1 { font-size: 2.25rem; }
  .hv-hero-frase { font-size: 1.125rem; }
  .hv-hero-acoes { flex-direction: column; align-items: stretch; }
  .hv-hero-acoes .hv-btn { justify-content: center; }
  .hv-hero-fatos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .hv-hero-fatos dt { font-size: 1.625rem; }
  .hv-hero-tela { margin: 0 calc(-1 * var(--m)); }
  .hv-tela-barra { display: none; }
  .hv-tela-camadas span:nth-child(n + 3) { display: none; }
  .hv-produto-modulos { grid-template-columns: 1fr; }
  .hv-produto-marca { width: 200px; }
  .hv-assessoria { grid-template-columns: 1fr; }
  .hv-etapas-lista { grid-template-columns: 1fr; }
  .hv-etapas-lista li::before { margin-bottom: 20px; font-size: 2.5rem; }
  .hv-contato-dados div { grid-template-columns: 1fr; gap: 2px; }
  .hv-contato-dados { gap: 20px; }
  .hv-rodape-topo { flex-direction: column; }
  .hv-rodape-topo address { text-align: left; }
  .hv-janela-fechar { top: -52px; }
}

/* Mapa da tela: ruas e marcador do lote escolhido */
.hv-mapa-rua { font-family: var(--f-text); font-size: 11px; font-weight: 700; fill: #7d8f88; letter-spacing: 0.02em; }
.hv-mapa-pino path { fill: var(--ink); }
.hv-mapa-pino circle { fill: #fff; }
.hv-mapa-pino { animation: hv-pino 420ms cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes hv-pino { from { opacity: 0; translate: 0 -10px; } }
