.motion-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3px !important;
  border: 0;
  border-radius: 999px;
  background: #7440a0;
  box-shadow: 0 6px 28px -10px #7440a066;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.motion-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 100px);
  aspect-ratio: 1;
  background: conic-gradient(
    transparent 0deg,
    transparent 60deg,
    #eeb4ed55 120deg,
    #eeb4ed 200deg,
    #fff0ff 270deg,
    transparent 300deg
  );
  animation: cta-beam 3.2s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.motion-cta .cta-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: inherit;
  background: linear-gradient(135deg, #7440a0 0%, #59307f 100%);
  color: white;
  font-weight: 700;
}
.motion-cta:hover,
.contact-dock > .motion-cta:hover {
  background: #7440a0;
  box-shadow: 0 8px 32px -8px #7440a088;
  transform: translateY(-3px);
}
.motion-cta:active {
  transform: translateY(0) scale(0.98);
}
.wa-visual {
  display: inline-flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.wa-gif,
.wa-still {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.wa-still {
  display: none;
}
.contact-dock > .dock-whatsapp {
  height: auto;
  min-height: 58px;
}
.dock-whatsapp .cta-inner {
  min-height: 52px;
  padding: 12px 20px;
}
@keyframes cta-beam {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (max-width: 639px) {
  .motion-cta .cta-inner {
    padding-inline: 20px;
    min-height: 50px;
  }
  .contact-dock > .dock-whatsapp {
    min-height: 56px;
  }
  .dock-whatsapp .cta-inner {
    padding-inline: 16px;
  }
}

html[data-motion='paused'] {
  scroll-behavior: auto;
}
html[data-motion='paused'] .motion-cta::before {
  animation: none;
}
html[data-motion='paused'] .wa-gif {
  display: none;
}
html[data-motion='paused'] .wa-still {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .wa-gif {
    display: none;
  }
  .wa-still {
    display: block;
  }
}
