
/* Atrobot — compact, premium WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  height: 54px;
  padding: 5px 6px 5px 20px;

  background: #20c96b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 5px 18px rgba(24, 105, 65, 0.16);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.whatsapp-float:hover {
  background: #19b95e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 105, 65, 0.22);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #281848;
  outline-offset: 4px;
}

/* Circular WhatsApp icon */
.whatsapp-float .whatsapp-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-float .whatsapp-icon {
  display: block;
  width: 23px;
  height: 23px;
  fill: currentColor;
}

/* Mobile */
@media (max-width: 600px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    height: 48px;
    gap: 9px;
    padding: 4px 5px 4px 15px;
    font-size: 13px;
  }

  .whatsapp-float .whatsapp-icon-wrap {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .whatsapp-float .whatsapp-icon {
    width: 21px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}
