.site-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1055;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  animation: site-whatsapp-entry .45s ease;
}

.site-whatsapp__button {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, #0f8f56 0%, #25d366 100%);
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
  touch-action: manipulation;
  user-select: none;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .24);
  animation: site-whatsapp-breathe 2.8s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease, border-radius .2s ease;
}

.site-whatsapp__button:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 48px rgba(15, 23, 42, .3);
}

.site-whatsapp__icon {
  width: 2.45rem;
  height: 2.45rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .18));
}

.site-whatsapp__handle {
  position: absolute;
  top: -.52rem;
  right: -.52rem;
  z-index: 4;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #19b963;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #10864f;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .22);
  animation: site-whatsapp-handle 1.6s ease-in-out infinite;
}

.site-whatsapp__handle .material-symbols-outlined {
  font-size: .9rem;
  line-height: 1;
  pointer-events: none;
}

.site-whatsapp__label {
  position: absolute;
  top: 50%;
  right: calc(100% + .75rem);
  padding: .5rem .8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .94);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity .2s ease, visibility .2s ease;
}

.site-whatsapp__button:hover .site-whatsapp__label,
.site-whatsapp__button:focus-visible .site-whatsapp__label,
.site-whatsapp.is-dragging .site-whatsapp__label {
  opacity: 1;
  visibility: visible;
}

.site-whatsapp.is-dragging { transition: none; }
.site-whatsapp.is-dragging .site-whatsapp__button {
  border-radius: 1.55rem;
  animation-play-state: paused;
  transform: scale(1.04);
  box-shadow: 0 24px 56px rgba(15, 23, 42, .32);
}
.site-whatsapp.is-dragging .site-whatsapp__handle { cursor: grabbing; }
.site-whatsapp.is-left .site-whatsapp__label { right: auto; left: calc(100% + .75rem); }

@keyframes site-whatsapp-entry {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes site-whatsapp-breathe {
  0%, 100% { box-shadow: 0 18px 40px rgba(15, 23, 42, .24); }
  50% { box-shadow: 0 22px 46px rgba(15, 23, 42, .3); }
}
@keyframes site-whatsapp-handle {
  0%, 100% { opacity: .94; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 991.98px) {
  .site-whatsapp { right: .9rem; bottom: .9rem; }
  .site-whatsapp__button { width: 4rem; height: 4rem; border-radius: 1.15rem; }
  .site-whatsapp__icon { width: 2.2rem; height: 2.2rem; }
  .site-whatsapp__handle { top: -.46rem; right: -.46rem; width: 1.4rem; height: 1.4rem; }
  .site-whatsapp__label { display: none; }
  .site-whatsapp.is-dragging .site-whatsapp__label { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .site-whatsapp,
  .site-whatsapp__button,
  .site-whatsapp__handle { animation: none; }
}
