/* Atendimento e identidade visual. */
.header .wordmark img,
.closing-brand-logo {
  display: block;
  width: 102px;
  height: auto;
  background: #fff;
  border-radius: 4px;
}
.closing-brand-logo { width: 130px; }

a[data-whatsapp]:not(.floating-wa) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 30px;
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #073e22 !important;
  text-align: center;
  text-decoration: none;
}
a[data-whatsapp]:not(.floating-wa):hover { background: #1ebe5b !important; }

a.floating-wa {
  position: fixed;
  inset: auto max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) auto;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  isolation: isolate;
}
a.floating-wa:hover { background: #128c7e; color: #fff; }
a.floating-wa svg { width: 32px; height: 32px; }
a.floating-wa span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
a.floating-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #25d366;
  animation: whatsapp-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: .42; }
  75%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 760px) {
  .header .wordmark img { width: 78px; }
  a.floating-wa {
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  a.floating-wa::before { animation: none; opacity: 0; }
}
.no-motion a.floating-wa::before { animation: none; opacity: 0; }
