/* Refina Técnica – site V1 (29/11/2026). Cores e fonte da marca v6. */
:root {
  --vivo: #0757D6;
  --profundo: #081E56;
  --apoio: #58BDF0;
  --gelo: #F7FAFF;
  --auxiliar: #193B53;
  --linha: #D6E2F5;
  --texto: #193B53;
  --raio: 6px;
  --largura: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--gelo);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--profundo); line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--vivo); }

.largura { width: min(100% - 40px, var(--largura)); margin-inline: auto; }

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--gelo); color: var(--profundo); padding: 10px 14px; border-radius: var(--raio);
}
.pular:focus { top: 12px; }

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

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--raio); border: 2px solid transparent;
  font: 600 1rem/1.2 Montserrat, sans-serif; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.botao:active { transform: scale(.98); }
.botao-vivo { background: var(--vivo); color: #fff; }
.botao-vivo:hover { background: #0649B3; }
.botao-claro { background: var(--gelo); color: var(--profundo); }
.botao-claro:hover { background: #fff; }
.botao-contorno { border-color: rgba(247,250,255,.45); color: var(--gelo); }
.botao-contorno:hover { border-color: var(--gelo); }
.botao-pequeno { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }

/* Topo */
.topo { background: var(--profundo); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(88,189,240,.18); }
.topo-linha { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.topo-logo img { width: 170px; height: auto; }
.topo-menu { display: flex; gap: 28px; margin-left: auto; }
.topo-menu a { color: var(--gelo); text-decoration: none; font-weight: 500; font-size: .9375rem; opacity: .85; }
.topo-menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--apoio); }

/* Abertura */
.abertura { background: var(--profundo); color: var(--gelo); padding: 64px 0 72px; overflow: hidden; }
.abertura-grade { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.local { color: var(--apoio); font-weight: 600; margin-bottom: 18px; }
.abertura h1 { color: var(--gelo); font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -.02em; max-width: 14ch; }
.abertura-sub { margin-top: 22px; font-size: 1.1875rem; max-width: 46ch; color: rgba(247,250,255,.82); }
.abertura-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.desenho { margin: 0; }
.desenho-svg { width: 100%; height: auto; display: block; }

/* O desenho se faz uma vez, na abertura */
.traco path, .traco-fissura { stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenhar 1.6s cubic-bezier(.65,0,.35,1) forwards; }
.traco path:nth-child(2) { animation-delay: .15s; }
.traco path:nth-child(3) { animation-delay: .5s; }
.traco path:nth-child(4) { animation-delay: .65s; }
.traco path:nth-child(5) { animation-delay: .3s; }
.traco-fissura { animation-delay: 1.3s; animation-duration: .7s; }
.cota, .cota-texto { opacity: 0; animation: surgir .5s ease-out 1.5s forwards; }
@keyframes desenhar { to { stroke-dashoffset: 0; } }
@keyframes surgir { to { opacity: 1; } }

/* Serviços */
.servicos { padding: 96px 0; }
.secao-sub { margin-top: 10px; color: var(--texto); opacity: .8; }
.necessidades { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 44px; border-top: 2px solid var(--profundo); }
.necessidade { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--linha); }
.necessidade:nth-child(odd) { border-right: 1px solid var(--linha); }
.necessidade:nth-child(even) { padding-left: 32px; padding-right: 0; }
.necessidade h3 { font-size: 1.3125rem; margin-bottom: 14px; }
.necessidade ul { margin: 0; padding: 0; list-style: none; }
.necessidade li { position: relative; padding-left: 22px; margin-top: 10px; }
.necessidade li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--vivo); }
.necessidade strong { color: var(--profundo); font-weight: 600; }

/* IPTU */
.iptu { background: #fff; border-block: 1px solid var(--linha); padding: 80px 0; }
.iptu-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.iptu h2 { max-width: 16ch; }
.iptu p { margin-bottom: 26px; max-width: 52ch; }

/* Como funciona */
.como { padding: 96px 0; }
.passos { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: passo; }
.passos li { counter-increment: passo; border-top: 2px solid var(--vivo); padding-top: 22px; }
.passos li::before { content: counter(passo); display: block; font-size: 2.5rem; font-weight: 700; color: var(--vivo); line-height: 1; margin-bottom: 16px; }
.passos h3 { margin-bottom: 8px; }

/* Chamada final */
.final { background: var(--profundo); padding: 72px 0; }
.final-linha { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.final h2 { color: var(--gelo); max-width: 22ch; }

/* Rodapé */
.rodape { background: #06173F; color: rgba(247,250,255,.8); padding: 36px 0 40px; font-size: .9375rem; }
.rodape-linha img { width: 320px; max-width: 100%; }
.rodape-linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rodape-dados { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.rodape a { color: var(--gelo); }

/* Botão fixo no celular */
.flutuante { display: none; }

@media (max-width: 860px) {
  .topo-menu { display: none; }
  .topo-linha .botao { margin-left: auto; }
  .abertura { padding: 40px 0 48px; }
  .abertura-grade, .iptu-grade { grid-template-columns: 1fr; gap: 32px; }
  .desenho { max-width: 420px; }
  .necessidades { grid-template-columns: 1fr; }
  .necessidade, .necessidade:nth-child(odd), .necessidade:nth-child(even) { padding: 26px 0 28px; border-right: 0; }
  .passos { grid-template-columns: 1fr; gap: 28px; }
  .final-linha { flex-direction: column; align-items: flex-start; }
  .servicos, .como { padding: 64px 0; }
  .iptu { padding: 56px 0; }
  body { padding-bottom: 76px; }
  .flutuante {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 15;
    min-height: 52px; border-radius: var(--raio);
    background: var(--vivo); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 6px 20px rgba(8,30,86,.28);
  }
}
@media (max-width: 420px) {
  .topo-logo img { width: 132px; }
  .topo-linha .botao { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .traco path, .traco-fissura, .cota, .cota-texto { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .botao { transition: none; }
}

/* Página de privacidade */
.legal { padding: 64px 0 88px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal p { max-width: 68ch; }
.legal .nota { margin-top: 32px; font-size: .9375rem; opacity: .75; }
