/* ==========================================
   MODAL-LEAD.CSS - Modal de Sucesso
   Inkore Fitness - Tema Dark Vermelho Vivo
   ========================================== */

/* ==========================================
   OVERLAY - Fundo embaçado com transição suave
   ========================================== */
.modal-lead-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-lead-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   CONTAINER - Com transição suave
   ========================================== */
.modal-lead-container {
  position: relative;
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: #0d0d0d;
  border-radius: 24px;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  border: 1px solid rgba(255, 23, 68, 0.25);
}

.modal-lead-overlay.active .modal-lead-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Scrollbar personalizada */
.modal-lead-container::-webkit-scrollbar {
  width: 5px;
}

.modal-lead-container::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 3px;
}

.modal-lead-container::-webkit-scrollbar-thumb {
  background: #ff1744;
  border-radius: 3px;
}

/* ==========================================
   CONTEÚDO PRINCIPAL
   ========================================== */
.modal-lead-content {
  padding: 48px 32px 40px;
  text-align: center;
}

/* ==========================================
   ÍCONE - Vermelho vivo sem shadow
   ========================================== */
.modal-lead-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #ff1744, #d50000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid rgba(255, 23, 68, 0.15);
}

.modal-lead-icon i {
  font-size: 38px;
  color: #ffffff;
}

/* ==========================================
   TÍTULOS
   ========================================== */
.modal-lead-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.modal-lead-subtitle {
  font-size: 15px;
  color: #a3a3a3;
  margin-bottom: 24px;
  line-height: 1.6;
  font-weight: 400;
}

/* ==========================================
   BOX DE INFORMAÇÃO
   ========================================== */
.modal-lead-info {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(255, 23, 68, 0.15);
  transition: border-color 0.3s ease;
}

.modal-lead-info:hover {
  border-color: rgba(255, 23, 68, 0.3);
}

.modal-lead-info i {
  font-size: 26px;
  color: #ff1744;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-lead-info p {
  margin: 0;
  font-size: 13px;
  color: #b0b0b0;
  line-height: 1.6;
  text-align: left;
}

.modal-lead-info strong {
  color: #ff1744;
  font-weight: 600;
}

/* ==========================================
   BOTÃO - Com efeito flash branco
   ========================================== */
.modal-lead-button {
  width: 100%;
  background: linear-gradient(135deg, #ff1744, #d50000);
  border: none;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

/* Efeito flash branco ao passar o mouse */
.modal-lead-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.modal-lead-button:hover::before {
  left: 100%;
}

.modal-lead-button:hover {
  background: linear-gradient(135deg, #e50914, #b20710);
  transform: translateY(-2px);
}

.modal-lead-button:active {
  transform: translateY(0px) scale(0.98);
}

.modal-lead-button i {
  font-size: 18px;
}

/* ==========================================
   RESPONSIVO
   ========================================== */
@media (max-width: 480px) {
  .modal-lead-content {
    padding: 40px 24px 32px;
  }

  .modal-lead-title {
    font-size: 24px;
  }

  .modal-lead-icon {
    width: 64px;
    height: 64px;
  }

  .modal-lead-icon i {
    font-size: 30px;
  }

  .modal-lead-subtitle {
    font-size: 14px;
  }

  .modal-lead-info p {
    font-size: 12px;
  }

  .modal-lead-button {
    font-size: 15px;
    padding: 14px 20px;
  }

  .modal-lead-container {
    max-width: 95%;
  }
}

@media (max-width: 360px) {
  .modal-lead-content {
    padding: 32px 16px 24px;
  }

  .modal-lead-title {
    font-size: 20px;
  }

  .modal-lead-icon {
    width: 56px;
    height: 56px;
  }

  .modal-lead-icon i {
    font-size: 26px;
  }
}