/* =====================================================================
   Estilos do Modal de seleção WhatsApp
   ===================================================================== */

.whatsapp-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.whatsapp-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 31, 0.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.whatsapp-modal__content {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.whatsapp-modal__card {
  pointer-events: auto;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 480px;
  width: 90vw;
  box-shadow: 0 25px 50px -12px rgba(11, 14, 31, 0.25);
  position: relative;
  animation: slideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 28px;
  color: #5b6178;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.whatsapp-modal__close:hover {
  color: #0b0e1f;
}

.whatsapp-modal__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0b0e1f;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.whatsapp-modal__text {
  color: #5b6178;
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.whatsapp-modal__options {
  display: grid;
  gap: 12px;
}

.whatsapp-modal__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 18px;
  border: 2px solid #e7e9f2;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: #0b0e1f;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.whatsapp-modal__option:hover {
  border-color: #41bcee;
  background: #f5f6fc;
  transform: translateX(4px);
}

.whatsapp-modal__option--cliente:hover {
  border-color: #41bcee;
}

.whatsapp-modal__option--parceiro:hover {
  border-color: #3f4294;
}

.whatsapp-modal__option svg {
  width: 24px;
  height: 24px;
  color: #356ab2;
  flex-shrink: 0;
}

.whatsapp-modal__option--parceiro svg {
  color: #3f4294;
}

.whatsapp-modal__option-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 4px;
}

.whatsapp-modal__option-desc {
  display: block;
  font-size: 0.82rem;
  color: #5b6178;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 560px) {
  .whatsapp-modal__card {
    padding: 24px 20px;
    max-width: 95vw;
  }

  .whatsapp-modal__title {
    font-size: 1.15rem;
  }

  .whatsapp-modal__option {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .whatsapp-modal__option-title {
    font-size: 0.9rem;
  }

  .whatsapp-modal__option-desc {
    font-size: 0.78rem;
  }
}
