/* 1b) Zap Modal (WhatsApp): widget de captura de lead antes do
      WhatsApp, com captcha de soma anti-bot. Estilo centralizado
      aqui (usado por todas as paginas que tiverem o widget) para
      nao duplicar ~180 linhas de CSS em cada arquivo. */
.zap-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: #282829;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: "Poppins", Arial, sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}
.zap-tooltip::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #282829;
}
.zap-widget:hover .zap-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.zap-fab {
  background: #1bd741;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(27, 215, 65, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.zap-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(27, 215, 65, 0.5);
}
.zap-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 40, 41, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.zap-modal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 26px;
  max-width: 420px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(14, 74, 204, 0.18);
  font-family: "Poppins", Arial, sans-serif;
}
.zap-row {
  display: flex;
  gap: 12px;
}
.zap-row .zap-field {
  flex: 1;
  min-width: 0;
}
.zap-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: #f2f5fc;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: #282829;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.zap-modal-close:hover {
  background: #d5e4fa;
}
.zap-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.zap-modal-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.zap-modal-title {
  margin: 0;
  color: #282829;
  font-weight: 700;
  font-size: 18px;
}
.zap-modal-subtitle {
  margin: 0 0 12px;
  color: #727376;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.zap-field {
  margin-bottom: 9px;
}
.zap-label {
  display: block;
  margin-bottom: 4px;
  color: #282829;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.zap-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #d5e4fa;
  border-radius: 10px;
  font-size: 14px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
  color: #282829;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.zap-input::placeholder {
  color: #a9abae;
}
.zap-input:focus {
  outline: none;
  border-color: #0e4acc;
  box-shadow: 0 0 0 3px rgba(14, 74, 204, 0.12);
}
.zap-submit {
  width: 100%;
  padding: 11px;
  background: #24c776;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  margin-top: 2px;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}
.zap-submit:hover {
  background: #1fb267;
  transform: translateY(-1px);
}
.zap-consent {
  font-size: 11px;
  color: #a9abae;
  text-align: center;
  margin-top: 6px;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.3;
}
.zap-consent a {
  color: #0e4acc;
  text-decoration: none;
}
.zap-consent a:hover {
  text-decoration: underline;
}

/* 1c) Zap Modal: mesmo ajuste anti-sobreposicao com o SalesIQ aplicado
      ao .whatsapp-container antigo (ver item 1 acima), pro botao novo. */
.zap-widget {
  bottom: 105px !important;
  right: 14px !important;
  z-index: 999998 !important;
}

@media (max-width: 575.98px) {
  .zap-widget {
    bottom: 95px !important;
    right: 10px !important;
  }
  .zap-widget .zap-fab {
    width: 52px !important;
    height: 52px !important;
  }
  .zap-widget .zap-fab img {
    width: 34px !important;
    height: 34px !important;
  }
  .zap-widget .zap-tooltip {
    display: none !important;
  }
}

/* Balão de escolha de setor no widget de WhatsApp */
.zap-balao {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  width: 212px;
  box-shadow: 0 8px 24px rgba(40, 40, 41, 0.22);
}
.zap-balao::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff;
}
.zap-balao-titulo {
  margin: 0 0 11px;
  color: #282829;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.zap-balao-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  margin-top: 8px;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}
.zap-balao-btn:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}
.zap-balao-btn:focus-visible {
  outline: 3px solid #282829;
  outline-offset: 2px;
}
.zap-balao-comercial {
  background: #24c776;
}
.zap-balao-comercial:hover {
  background: #1fb267;
}
.zap-balao-financeiro {
  background: #0e4acc;
}
.zap-balao-financeiro:hover {
  background: #0b3ba6;
}
.zap-balao-suporte {
  background: #282829;
}
.zap-balao-suporte:hover {
  background: #3d3d3f;
}
