/* Botón flotante WhatsApp + IA (www.lobbieapp.com) */
.lobbie-wa-ai-support {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(72px + env(safe-area-inset-bottom, 24px));
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (min-width: 640px) {
  .lobbie-wa-ai-support {
    right: 24px;
    bottom: 24px;
  }
}

.lobbie-wa-ai-support__btn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid rgba(230, 255, 240, 0.78);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4be37a 0%, #25d366 65%, #1ebe57 100%);
  box-shadow: 0 10px 24px rgba(19, 167, 78, 0.45);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
  .lobbie-wa-ai-support__btn {
    width: 64px;
    height: 64px;
  }
}

.lobbie-wa-ai-support__btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.04);
  box-shadow:
    0 16px 34px rgba(19, 167, 78, 0.42),
    0 0 0 6px rgba(37, 211, 102, 0.12);
}

.lobbie-wa-ai-support__btn:focus {
  outline: none;
}

.lobbie-wa-ai-support__btn:focus-visible {
  outline: none;
  box-shadow:
    0 10px 24px rgba(19, 167, 78, 0.45),
    0 0 0 4px rgba(37, 211, 102, 0.16);
}

.lobbie-wa-ai-support__btn:active {
  transform: translateY(-1px) scale(0.99);
}

.lobbie-wa-ai-support__icon {
  width: 56%;
  height: 56%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.lobbie-wa-ai-support__badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #128c7e;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
