/* Ajustes exclusivos da Home. As páginas de solução usam apenas style.css. */
main.wrap > .section:not(.agency, .closing) {
  margin-top: clamp(80px, 10vw, 144px);
}

main .sectionhead h2 {
  text-wrap: balance;
}

main .sectionhead p,
main .caption p {
  line-height: 1.6;
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible,
.whatsapp-dialog input:focus-visible {
  outline: 2px solid #5b83ff;
  outline-offset: 3px;
}

.contact-status,
.whatsapp-dialog input::placeholder {
  color: #999;
}

.textlink,
footer a,
.nav-trigger,
.menubtn,
.switch-tab {
  transition: color 160ms ease, background-color 160ms ease;
}

@media (hover: hover) {
  .textlink:hover,
  footer a:hover {
    text-decoration: underline;
    text-underline-offset: 0.24em;
  }
}

.btn:active:not(:disabled),
.whatsapp-float:active {
  transform: translateY(1px);
}

@media (min-width: 761px) and (max-width: 900px) {
  .view-home header nav.wrap { gap: 16px; }
  header .navlinks { gap: 14px; }
}

@media (max-width: 760px) {
  header .menubtn,
  button.contact-close {
    min-width: 44px;
    min-height: 44px;
  }

  .carousel-toolbar button { min-height: 36px; }
  .autoplay { flex-shrink: 0; }
}

@media (max-width: 360px) {
  .view-home header nav.wrap { width: calc(100% - 24px); gap: 8px; }
  .view-home header nav .navcta { gap: 4px; }
  .view-home header nav .navcta .btn { padding-inline: 9px; gap: 5px; }
  .view-home main .hero h1:not(.report-view *) { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:active:not(:disabled), .whatsapp-float:is(:hover, :active) { transform: none; }
}
