/* ========================================================
   MODAL DE CONTATOS INFRACAMP - VERSAO 2 COM POPUP
   Desenvolvido pela Lti.Web Solucoes Web
   ======================================================== */

#ic-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 20, 35, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

#ic-modal-backdrop.ic-show {
  display: flex !important;
  opacity: 1;
}

#ic-modal-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(0,0,0,0.1);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

#ic-modal-backdrop.ic-show #ic-modal-card {
  transform: translateY(0) scale(1);
}

.ic-modal-header {
  background: linear-gradient(135deg, #12589e 0%, #0b6fa1 100%);
  padding: 20px 24px 18px 24px;
  position: relative;
  color: #ffffff;
  box-sizing: border-box;
}

.ic-modal-title {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.ic-modal-subtitle {
  font-size: 13px;
  margin: 5px 0 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.ic-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  transition: background 0.15s, transform 0.15s;
}

.ic-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.ic-modal-body {
  padding: 18px 22px 20px 22px;
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
}

.ic-section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #718096;
  margin: 0 0 8px 4px;
}

.ic-section-label.ic-sec-admin {
  margin-top: 16px;
}

.ic-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 8px;
  border-radius: 12px;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.15s;
  cursor: pointer;
}

.ic-btn:hover {
  transform: translateY(-2px);
}

.ic-btn:active {
  transform: translateY(0);
}

/* Verde WhatsApp para Vendedores */
.ic-btn-vendas {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.28);
}

.ic-btn-vendas:hover {
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.38);
}

/* Azul Lti/Infracamp para Administrativo */
.ic-btn-admin {
  background: linear-gradient(135deg, #1e73be 0%, #0b6fa1 100%);
  box-shadow: 0 4px 10px rgba(30, 115, 190, 0.25);
}

.ic-btn-admin:hover {
  box-shadow: 0 6px 14px rgba(30, 115, 190, 0.35);
}

/* Cinza escuro para Telefone Fixo */
.ic-btn-fixo {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  box-shadow: 0 4px 10px rgba(75, 85, 99, 0.25);
}

.ic-btn-fixo:hover {
  box-shadow: 0 6px 14px rgba(75, 85, 99, 0.35);
}

.ic-btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-btn-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.ic-btn-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.ic-btn-num {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.ic-btn-cargo {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.ic-modal-footer {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-weight: 500;
}

/* Ocultar antigo popup da HostGator #wht se existir */
#wht {
  display: none !important;
}

@media (max-width: 480px) {
  #ic-modal-card {
    border-radius: 14px;
  }
  .ic-modal-header {
    padding: 16px 20px;
  }
  .ic-modal-title {
    font-size: 18px;
  }
  .ic-modal-body {
    padding: 14px 16px 16px 16px;
  }
  .ic-btn {
    padding: 9px 14px;
    gap: 12px;
  }
  .ic-btn-num {
    font-size: 15px;
  }
}
