/* ==========================================================================
   Hidro Vale — Folha de estilo da landing page
   Todas as cores vêm de tokens.css. Ver .claude/skills/hidro-vale-brand/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset e base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hv-surface);
  color: var(--hv-slate-600);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--hv-navy-900);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.015em;
  /* Equilibra as linhas do título e evita palavra órfã — em nomes longos
     ("Poço Artesiano em Rio Verde de Mato Grosso") a quebra ingênua deixava
     uma preposição sozinha na linha. Melhoria progressiva: navegador sem
     suporte simplesmente quebra como antes. */
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --- Utilitários tipográficos: o contraste de peso da marca --- */
.t-light {
  font-weight: 300;
}
.t-medium {
  font-weight: 500;
}
.t-bold {
  font-weight: 700;
}
/* Acento teal: SO em texto grande (h1/h2). Contraste 3.6:1 no branco. */
.t-blue {
  color: var(--hv-teal-600);
}
/* Acento profundo: para texto pequeno. Contraste 8.8:1 no branco. */
.t-deep {
  color: var(--hv-blue-800);
}
/* Acento claro: apenas sobre fundo escuro. */
.t-blue-light {
  color: var(--hv-mint-400);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--hv-navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-input) 0;
  font-weight: 500;
}
.skip-link:focus {
  left: 0;
}

:where(a, button, input, textarea, select, summary, iframe):focus-visible {
  outline: 3px solid var(--hv-teal-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   2. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Um botão nunca pode ser mais largo que o container. O nowrap acima mantém as
   pílulas curtas em uma linha só; quando o rótulo carrega o nome de uma cidade
   ("Solicitar orçamento para Rio Verde de Mato Grosso"), ele precisa quebrar,
   ou o botão estoura a viewport no celular. */
.btn {
  max-width: 100%;
}
.btn-wrap {
  white-space: normal;
  text-align: center;
}
@media (max-width: 520px) {
  .btn {
    white-space: normal;
  }
}

.btn-primary {
  background: var(--hv-grad-btn);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  box-shadow: 0 14px 30px -14px rgba(0, 79, 121, 0.8);
}

.btn-ghost {
  background: var(--hv-surface);
  color: var(--hv-navy-900);
  border: 1px solid var(--hv-border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--hv-teal-600);
  color: var(--hv-blue-800);
}

.btn-white {
  background: var(--hv-surface);
  color: var(--hv-blue-800);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-ico {
  width: 18px;
  height: 18px;
  flex: none;
}

.arrow {
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   3. Ícones em selo
   -------------------------------------------------------------------------- */
.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--hv-grad-icon);
  color: #fff;
  flex: none;
  box-shadow: 0 8px 18px -10px rgba(0, 149, 161, 0.9);
}
.badge-icon svg {
  width: 21px;
  height: 21px;
}

.badge-icon-sm {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.badge-icon-sm svg {
  width: 18px;
  height: 18px;
}

.badge-icon-lg {
  width: 56px;
  height: 56px;
  border-radius: 17px;
}
.badge-icon-lg svg {
  width: 27px;
  height: 27px;
}

.badge-icon-glass {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.badge-icon-glass svg {
  width: 25px;
  height: 25px;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--hv-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo {
  flex: none;
}
.logo img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--hv-navy-900);
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--hv-teal-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover {
  color: var(--hv-teal-600);
}
.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--hv-navy-900);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hv-grad-hero);
  padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 128px);
  text-align: center;
}

.hero-glow {
  position: absolute;
  inset: -30% 20% auto 20%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(0, 149, 161, 0.22), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--fs-display);
  max-width: 16ch;
}
.hero-title .t-light {
  font-weight: 400;
}

.hero-lead {
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--hv-slate-600);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.scroll-cue {
  margin-top: 18px;
}
.mouse {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid var(--hv-slate-400);
  border-radius: var(--radius-pill);
  position: relative;
  opacity: 0.7;
}
.wheel {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: var(--hv-slate-400);
  border-radius: 2px;
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(11px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   6. Seções e cards
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--space-section);
}
.section-alt {
  background: var(--hv-surface-alt);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-title {
  font-size: var(--fs-h2);
  max-width: 20ch;
}
.section-title .t-light {
  font-weight: 400;
}

.section-lead {
  max-width: 56ch;
  font-size: var(--fs-lead);
}

.grid {
  display: grid;
  gap: var(--space-gap);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--hv-card-tint);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-card);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--hv-teal-600);
  box-shadow: var(--shadow-md);
}

.card .badge-icon {
  margin-bottom: 12px;
}

.card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--hv-blue-800);
}

/* Sublabel do card. É um h4 no HTML — mantém o nível na hierarquia de
   headings sem herdar a aparência de título. */
.card-kicker {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--hv-navy-900);
  margin-top: -4px;
}

.card-text {
  font-size: var(--fs-small);
  color: var(--hv-slate-600);
}

.card-wide {
  padding: 28px;
}

.steps {
  counter-reset: step;
}

/* --------------------------------------------------------------------------
   7. Faixa de CTA
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--hv-grad-band);
  color: #fff;
  padding-block: clamp(72px, 9vw, 112px);
  text-align: center;
}

.band-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 18% 20%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(40% 55% at 82% 78%, rgba(67, 198, 185, 0.55), transparent 72%);
  pointer-events: none;
}

.band-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.band-title {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 500;
  max-width: 18ch;
}

.band-lead {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.9);
}
.band-lead strong {
  color: #fff;
  font-weight: 700;
}

.band-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.92);
}
.band-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hv-mint-400);
  box-shadow: 0 0 0 3px rgba(67, 198, 185, 0.28);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Contato
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-gap);
  align-items: start;
}

.contact-side {
  display: grid;
  gap: var(--space-gap);
}

.panel {
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.panel-text {
  font-size: var(--fs-small);
}

.form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--hv-navy-900);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-input);
  font-size: var(--fs-small);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 88px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--hv-slate-400);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--hv-teal-600);
  box-shadow: 0 0 0 3px rgba(0, 149, 161, 0.18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #d9534f;
}

.form-status {
  min-height: 1.2em;
  font-size: var(--fs-micro);
  color: var(--hv-navy-900);
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition: transform var(--dur) var(--ease);
}
.contact-item:not(.contact-item-static):hover {
  transform: translateX(3px);
}
.contact-item + .contact-item {
  border-top: 1px solid var(--hv-border);
  padding-top: 16px;
  margin-top: 6px;
}

.contact-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.contact-copy strong {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--hv-blue-800);
  overflow-wrap: anywhere;
}
.contact-copy small {
  font-size: var(--fs-micro);
  color: var(--hv-slate-600);
}

.panel-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding-block: 28px;
}
.qr {
  width: 120px;
  height: 120px;
  border-radius: 10px;
}
.panel-qr .panel-title {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Mapa
   -------------------------------------------------------------------------- */
.map-section {
  line-height: 0;
}
.map {
  width: 100%;
  height: clamp(240px, 32vw, 340px);
  border: 0;
  filter: saturate(0.92);
}

/* --------------------------------------------------------------------------
   10. Rodapé
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--hv-navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 52px 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  height: 62px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: var(--fs-small);
  font-weight: 500;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--dur) var(--ease);
}
.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
}

/* --------------------------------------------------------------------------
   11. Botão flutuante do WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--hv-whatsapp);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.55);
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover {
  transform: scale(1.07);
}
.wa-float svg {
  width: 27px;
  height: 27px;
}

/* --------------------------------------------------------------------------
   12. Revelação em scroll
   -------------------------------------------------------------------------- */
/* A animação é opt-in: só existe quando o JS confirmou que está ativo.
   Sem JS, o conteúdo permanece visível — nunca escondido por engano. */
.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease);
}
.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   13. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    background: var(--hv-surface);
    border-bottom: 1px solid var(--hv-border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--hv-border);
  }
  .nav a::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .container {
    padding-inline: 18px;
  }
}

/* --------------------------------------------------------------------------
   14. Acessibilidade: movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   15. Página 404
   -------------------------------------------------------------------------- */
.erro-404 {
  min-height: calc(100vh - 72px - 190px);
  display: grid;
  align-items: center;
}

/* No 404 o header não tem navegação: o CTA precisa ir para a direita sozinho. */
.header-inner--simples .header-cta {
  margin-left: auto;
  display: inline-flex;
}

.erro-codigo {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hv-slate-400);
}

.erro-atalhos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 12px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--hv-blue-800);
}
.erro-atalhos a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.erro-atalhos a:hover {
  border-bottom-color: var(--hv-teal-600);
}

.erro-404 ~ * .footer-inner,
.site-footer .footer-inner:has(> .footer-bottom:only-of-type) {
  gap: 16px;
}

/* --------------------------------------------------------------------------
   16. Páginas locais (/servicos/:cidade) e hub de cidades atendidas
   Nenhum componente novo declara cor: tudo vem de tokens.css, como no resto.
   -------------------------------------------------------------------------- */

/* --- Breadcrumb ---------------------------------------------------------- */
.crumbs {
  padding-block: 18px 0;
  font-size: var(--fs-micro);
  color: var(--hv-slate-600);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.crumbs li + li::before {
  content: "/";
  color: var(--hv-slate-400);
}
.crumbs a {
  color: var(--hv-blue-800);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.crumbs a:hover {
  border-bottom-color: var(--hv-teal-600);
}
.crumbs [aria-current="page"] {
  color: var(--hv-slate-600);
}

/* --- Eyebrow ------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hv-blue-800);
}

/* --- Hero da página local ------------------------------------------------ */
.hero-cidade {
  padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 104px);
}
.hero-cidade .hero-title {
  max-width: 22ch;
}
.hero-cidade .hero-lead {
  max-width: 62ch;
}

/* --- Blocos de texto corrido --------------------------------------------- */
.prose {
  max-width: 68ch;
  font-size: var(--fs-lead);
}
.prose p + p {
  margin-top: 16px;
}
.prose strong {
  color: var(--hv-navy-900);
  font-weight: 700;
}
.prose a {
  color: var(--hv-blue-800);
  font-weight: 500;
  border-bottom: 1px solid var(--hv-border);
  transition: border-color var(--dur) var(--ease);
}
.prose a:hover {
  border-bottom-color: var(--hv-teal-600);
}

.prose-centro {
  margin-inline: auto;
}
.prose-texto-centro {
  text-align: center;
}
.prose-sub {
  margin-top: 34px;
}

.section-head-start {
  align-items: flex-start;
  text-align: left;
}
.section-head-start .section-title {
  max-width: 24ch;
}
.section-head-start .section-lead {
  max-width: 66ch;
}

/* --- Bloco de destaque ---------------------------------------------------- */
.note {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--hv-surface-alt);
  border: 1px solid var(--hv-border);
  border-left: 4px solid var(--hv-teal-600);
  border-radius: var(--radius-input);
  font-size: var(--fs-small);
}
.note strong {
  color: var(--hv-navy-900);
}
.section-alt .note {
  background: var(--hv-surface);
}

/* --- Lista com marcador de gota ------------------------------------------ */
.bullets {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-size: var(--fs-small);
}
.bullets li {
  position: relative;
  padding-left: 26px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hv-teal-600);
  box-shadow: 0 0 0 3px var(--hv-card-tint);
}
.bullets strong {
  color: var(--hv-navy-900);
  font-weight: 700;
}

/* --- Etapas numeradas 01 a 10 -------------------------------------------- */
.etapas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-gap);
  counter-reset: etapa;
}
.etapa {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-card);
}
.section-alt .etapa {
  background: var(--hv-surface);
}
.etapa::before {
  counter-increment: etapa;
  content: counter(etapa, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--hv-teal-600);
  flex: none;
  min-width: 2.2ch;
}
.etapa-corpo {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.etapa-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hv-blue-800);
}
.etapa-texto {
  font-size: var(--fs-small);
}

/* --- Colunas: texto + painel lateral ------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.aside-cta {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 26px;
  background: var(--hv-card-tint);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-card);
  text-align: center;
  justify-items: center;
}
.aside-cta .aside-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hv-blue-800);
}
.aside-cta p {
  font-size: var(--fs-small);
}

/* --- Figura de campo ----------------------------------------------------- */
.figura {
  margin: 0;
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--hv-surface);
}
.figura img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}
.figura figcaption {
  padding: 12px 18px;
  font-size: var(--fs-micro);
  color: var(--hv-slate-600);
  border-top: 1px solid var(--hv-border);
}

/* --- FAQ ------------------------------------------------------------------ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 76ch;
  margin-inline: auto;
}
.faq-item {
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--hv-teal-600);
  box-shadow: var(--shadow-sm);
}
.faq-item > summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
/* O h3 é o único filho do <summary> — é ele que faz o layout da linha.
   `<summary>` aceita conteúdo de frase OU um único elemento de heading;
   um heading com um irmão ao lado seria HTML inválido. */
.faq-pergunta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hv-blue-800);
  margin: 0;
}
.faq-sinal {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.faq-sinal::before,
.faq-sinal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  margin: -1px 0 0 -6.5px;
  border-radius: 2px;
  background: var(--hv-teal-600);
  transition: transform var(--dur) var(--ease);
}
.faq-sinal::after {
  transform: rotate(90deg);
}
.faq-item[open] .faq-sinal::after {
  transform: rotate(0deg);
}
.faq-resposta {
  padding: 0 22px 20px;
  font-size: var(--fs-small);
}
.faq-resposta p + p {
  margin-top: 12px;
}

/* --- Glossário ------------------------------------------------------------ */
.glossario {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-gap);
}
.glossario > div {
  padding: 22px 24px;
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-card);
}
.glossario dt {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hv-blue-800);
  margin-bottom: 6px;
}
.glossario dd {
  margin: 0;
  font-size: var(--fs-small);
}

/* --- Índice de cidades ---------------------------------------------------- */
.cidades-indice {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px 20px;
}
.cidades-indice a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: var(--radius-input);
  font-size: var(--fs-small);
  color: var(--hv-navy-900);
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.cidades-indice a:hover {
  border-color: var(--hv-teal-600);
  color: var(--hv-blue-800);
  transform: translateY(-2px);
}
.cidades-indice a::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hv-mint-400);
}
.cidades-indice .is-current {
  border-color: var(--hv-teal-600);
  background: var(--hv-card-tint);
  font-weight: 700;
}

.grupo-regional + .grupo-regional {
  margin-top: 36px;
}
.grupo-titulo {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hv-navy-900);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hv-border);
}

.acoes-centro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* --- Formulário com cidade pré-preenchida -------------------------------- */
.contact-grid-apos-texto {
  margin-top: 40px;
}

.campo-dica {
  font-size: var(--fs-micro);
  color: var(--hv-slate-600);
}

/* --- Responsivo das páginas locais --------------------------------------- */
@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }
  .aside-cta {
    position: static;
  }
}

@media (max-width: 720px) {
  .etapas,
  .glossario {
    grid-template-columns: 1fr;
  }
  .prose {
    font-size: var(--fs-body);
  }
}
