/**
 * Modal de escolha WhatsApp / Telegram — perfis publicos.
 * Skills: conexoes, SP_whatsapp_rever, SK_telegram, SP_redesign_perfis.
 * Implementado em: 2026-11-14
 */

.mv-ct-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 18, .72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.mv-ct-modal.is-open {
  display: flex;
}

.mv-ct-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  text-align: center;
  animation: mv-ct-in .18s ease-out;
}

@keyframes mv-ct-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.mv-ct-dialog h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  color: #171923;
}

.mv-ct-dialog p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #5b6472;
}

.mv-ct-acoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mv-ct-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #fff !important;
  transition: transform .12s ease, filter .12s ease;
}

.mv-ct-btn:hover,
.mv-ct-btn:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.mv-ct-btn i {
  font-size: 20px;
}

.mv-ct-wa { background: #25d366; }
.mv-ct-tg { background: #2aabee; }

.mv-ct-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8b93a1;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mv-ct-close:hover,
.mv-ct-close:focus {
  background: #f1f3f6;
  color: #333;
}

body.mv-ct-lock {
  overflow: hidden;
}

@media (max-width: 420px) {
  .mv-ct-dialog {
    padding: 24px 18px 18px;
  }
  .mv-ct-dialog h3 {
    font-size: 18px;
  }
  .mv-ct-btn {
    min-height: 50px;
    font-size: 15px;
  }
}
