/* ============================================
   COMMUNICATION ICONS - Efeitos Modernos
   ============================================ */

/* Container dos botões de comunicação */
.modern-comm-group {
  gap: 0.5rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

/* Botões de comunicação base */
.modern-comm-btn {
  position: relative !important;
  width: 45px !important;
  height: 45px !important;
  padding: 0 !important;
  border: 2px solid var(--border-dark) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, var(--dark-blue-accent) 0%, var(--dark-blue-secondary) 100%) !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modern-comm-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modern-comm-btn:hover::before {
  width: 300px;
  height: 300px;
}

.modern-comm-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5), 0 0 20px rgba(74, 144, 226, 0.3);
  border-color: var(--blue-bright) !important;
}

.modern-comm-btn:active {
  transform: translateY(-2px) scale(1.05);
}

/* Wrapper do ícone */
.comm-icon-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Ícones de comunicação */
.comm-icon {
  font-size: 1.2rem !important;
  transition: all 0.3s ease !important;
  position: relative;
  z-index: 3;
}

.modern-comm-btn:hover .comm-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 10px currentColor);
}

/* Ripple effect */
.comm-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.4);
  transform: scale(0);
  animation: ripple 2s infinite;
  z-index: 1;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* SMS Button - Verde com efeito */
.comm-sms-btn {
  border-color: #13DEB9 !important;
  background: linear-gradient(145deg, rgba(19, 222, 185, 0.15) 0%, var(--dark-blue-accent) 100%) !important;
}

.comm-sms-btn .comm-icon {
  color: #13DEB9 !important;
}

.comm-sms-btn:hover {
  border-color: #13DEB9 !important;
  background: linear-gradient(145deg, rgba(19, 222, 185, 0.3) 0%, rgba(19, 222, 185, 0.1) 100%) !important;
  box-shadow: 0 10px 30px rgba(19, 222, 185, 0.5), 0 0 20px rgba(19, 222, 185, 0.3) !important;
}

.comm-sms-btn:hover .comm-icon {
  color: #13DEB9 !important;
  text-shadow: 0 0 15px #13DEB9;
}

.comm-sms-btn .comm-ripple {
  background: rgba(19, 222, 185, 0.4);
}

/* Call Button - Laranja/Amarelo com efeito */
.comm-call-btn {
  border-color: #FFAE1F !important;
  background: linear-gradient(145deg, rgba(255, 174, 31, 0.15) 0%, var(--dark-blue-accent) 100%) !important;
}

.comm-call-btn .comm-icon {
  color: #FFAE1F !important;
}

.comm-call-btn:hover {
  border-color: #FFAE1F !important;
  background: linear-gradient(145deg, rgba(255, 174, 31, 0.3) 0%, rgba(255, 174, 31, 0.1) 100%) !important;
  box-shadow: 0 10px 30px rgba(255, 174, 31, 0.5), 0 0 20px rgba(255, 174, 31, 0.3) !important;
}

.comm-call-btn:hover .comm-icon {
  color: #FFAE1F !important;
  text-shadow: 0 0 15px #FFAE1F;
  animation: phoneRing 0.5s ease-in-out;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.comm-call-btn .comm-ripple {
  background: rgba(255, 174, 31, 0.4);
}

/* WhatsApp Button - Verde WhatsApp com efeito */
.comm-whatsapp-btn {
  border-color: #25D366 !important;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.15) 0%, var(--dark-blue-accent) 100%) !important;
}

.comm-whatsapp-btn .comm-icon {
  color: #25D366 !important;
}

.comm-whatsapp-btn:hover {
  border-color: #25D366 !important;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.3) 0%, rgba(37, 211, 102, 0.1) 100%) !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3) !important;
}

.comm-whatsapp-btn:hover .comm-icon {
  color: #25D366 !important;
  text-shadow: 0 0 15px #25D366;
  animation: whatsappPulse 0.6s ease-in-out;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.comm-whatsapp-btn .comm-ripple {
  background: rgba(37, 211, 102, 0.4);
}

/* Email Button - Azul com efeito */
.comm-email-btn {
  border-color: var(--blue-bright) !important;
  background: linear-gradient(145deg, rgba(74, 144, 226, 0.15) 0%, var(--dark-blue-accent) 100%) !important;
}

.comm-email-btn .comm-icon {
  color: var(--blue-bright) !important;
}

.comm-email-btn:hover {
  border-color: var(--blue-bright) !important;
  background: linear-gradient(145deg, rgba(74, 144, 226, 0.3) 0%, rgba(74, 144, 226, 0.1) 100%) !important;
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5), 0 0 20px rgba(74, 144, 226, 0.3) !important;
}

.comm-email-btn:hover .comm-icon {
  color: var(--blue-light) !important;
  text-shadow: 0 0 15px var(--blue-bright);
  animation: emailFly 0.5s ease-in-out;
}

@keyframes emailFly {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.comm-email-btn .comm-ripple {
  background: rgba(74, 144, 226, 0.4);
}

/* Efeito de brilho nos botões */
.modern-comm-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
  opacity: 0;
}

.modern-comm-btn:hover::after {
  animation: shine 0.6s ease-in-out;
}

@keyframes shine {
  0% {
    left: -50%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* Tooltip melhorado */
.modern-comm-btn[title]:hover::before {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-modal-dark);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 1000;
  border: 1px solid var(--border-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.modern-comm-btn[title]:hover::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--bg-modal-dark);
  margin-bottom: -5px;
}

/* Responsivo */
@media (max-width: 768px) {
  .modern-comm-btn {
    width: 40px !important;
    height: 40px !important;
  }
  
  .comm-icon {
    font-size: 1rem !important;
  }
}

