.modal-backdrop.show { z-index: 9998 !important; }
#leadModal { z-index: 9999 !important; }

/* Crédito do desenvolvedor no rodapé - modelo compacto no padrão do sistema */
#bottom-footer .site-footer-model__creator {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 132px !important;
  min-height: 30px !important;
  padding: 4px 10px !important;
  margin-left: 8px !important;
  border: 1px solid rgba(218, 165, 32, .35) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #d4a64a !important;
  line-height: 1 !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#bottom-footer .site-footer-model__creator:hover,
#bottom-footer .site-footer-model__creator:focus {
  color: #f0c36a !important;
  border-color: rgba(218, 165, 32, .65) !important;
  background: rgba(218, 165, 32, .08) !important;
  text-decoration: none !important;
}

#bottom-footer .site-footer-model__creator-text {
  color: #d4a64a !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

#bottom-footer .site-footer-model__creator-logo {
  display: block !important;
  width: 28px !important;
  height: auto !important;
  max-width: 28px !important;
  max-height: 20px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  box-shadow: none !important;
}

#bottom-footer .site-footer-model__creator-name {
  display: none !important;
}


/* Botão flutuante do WhatsApp - padrão visual do sistema */
.jacy-whatsapp-flutuante {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  font-size: 40px;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .32);
  z-index: 10020;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.jacy-whatsapp-flutuante::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: rgba(37, 211, 102, .18);
  border: 1px solid rgba(255, 255, 255, .75);
  z-index: -1;
}

.jacy-whatsapp-flutuante:hover,
.jacy-whatsapp-flutuante:focus {
  color: #fff !important;
  background: #1fb85a;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .38);
}


button.jacy-whatsapp-flutuante {
  border: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#jacyWhatsAppLeadModal { z-index: 10040 !important; }
#jacyWhatsAppLeadModal .jacy-whatsapp-lead-dialog {
  max-width: 900px;
}
#jacyWhatsAppLeadModal .modal-content {
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  color: #333;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}
#jacyWhatsAppLeadModal .modal-header {
  min-height: 114px;
  border-bottom: 0;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 28px 64px;
}
#jacyWhatsAppLeadModal .modal-title {
  color: #263238;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
  margin: 0;
}
#jacyWhatsAppLeadModal .modal-title .fa {
  margin-right: 8px;
}
#jacyWhatsAppLeadModal .close {
  color: #fff;
  opacity: 1;
  text-shadow: none;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  margin: 0;
}
#jacyWhatsAppLeadModal .modal-body {
  background: #fff;
  padding: 34px 38px 20px;
}
#jacyWhatsAppLeadModal .jacy-whatsapp-lead-subtitle {
  color: #666;
  text-align: center;
  font-size: 22px;
  margin: 0 0 28px;
}
#jacyWhatsAppLeadModal .form-group {
  margin-bottom: 24px;
}
#jacyWhatsAppLeadModal label {
  color: #333;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.25;
  display: block;
  text-align: center;
  margin-bottom: 10px;
}
#jacyWhatsAppLeadModal .form-control {
  min-height: 64px;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  font-size: 22px;
  padding: 14px 18px;
  box-shadow: none;
}
#jacyWhatsAppLeadModal .form-control::placeholder {
  color: #999;
}
#jacyWhatsAppLeadModal .form-control:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .16);
}
#jacyWhatsAppLeadModal .form-text,
#jacyWhatsAppLeadModal #jacyWhatsAppLeadMsg {
  color: #555;
}
#jacyWhatsAppLeadModal .jacy-whatsapp-termos-box {
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fbfbfb;
  padding: 16px 18px;
  margin-top: 8px;
}
#jacyWhatsAppLeadModal .jacy-whatsapp-termos-box label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  color: #444;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
}
#jacyWhatsAppLeadModal .jacy-whatsapp-termos-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 4px;
  accent-color: #25d366;
}
#jacyWhatsAppLeadModal .jacy-whatsapp-termos-box a {
  color: #008f80;
  font-weight: 800;
  text-decoration: underline;
}
#jacyWhatsAppLeadModal .modal-footer {
  border-top: 0;
  background: #fff;
  padding: 28px 44px 22px;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}
#jacyWhatsAppLeadModal .btn-jacy-cadastrar {
  border: 0;
  border-radius: 0;
  background: #25d366;
  color: #fff !important;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  padding: 18px 32px;
  min-width: 222px;
  min-height: 56px;
  text-transform: uppercase;
  box-shadow: none;
}
#jacyWhatsAppLeadModal .btn-jacy-cadastrar .fa {
  margin-right: 8px;
}
#jacyWhatsAppLeadModal .btn-jacy-cadastrar:hover,
#jacyWhatsAppLeadModal .btn-jacy-cadastrar:focus {
  background: #1fb85a;
  color: #fff !important;
}
#jacyWhatsAppLeadModal .btn-jacy-fechar {
  border-radius: 0;
  border: 0;
  color: #444;
  background: #cfcfcf;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  padding: 18px 28px;
  min-width: 144px;
  min-height: 56px;
  text-transform: uppercase;
}
#jacyWhatsAppLeadModal .btn-jacy-fechar:hover,
#jacyWhatsAppLeadModal .btn-jacy-fechar:focus {
  background: #bdbdbd;
  color: #333;
}

@media (max-width: 767.98px) {
  .jacy-whatsapp-flutuante {
    right: 16px;
    bottom: 18px;
    width: 62px;
    height: 62px;
    font-size: 34px;
  }
  #jacyWhatsAppLeadModal .modal-dialog {
    margin: 10px;
  }
  #jacyWhatsAppLeadModal .modal-header {
    min-height: 86px;
    padding: 22px 46px;
  }
  #jacyWhatsAppLeadModal .modal-title {
    font-size: 22px;
  }
  #jacyWhatsAppLeadModal .modal-body {
    padding: 24px 18px 16px;
  }
  #jacyWhatsAppLeadModal .jacy-whatsapp-lead-subtitle,
  #jacyWhatsAppLeadModal label {
    font-size: 18px;
  }
  #jacyWhatsAppLeadModal .form-control {
    min-height: 56px;
    font-size: 18px;
  }
  #jacyWhatsAppLeadModal .jacy-whatsapp-termos-box label {
    font-size: 15px;
  }
  #jacyWhatsAppLeadModal .modal-footer {
    padding: 20px 18px;
    gap: 12px;
    flex-direction: column-reverse;
  }
  #jacyWhatsAppLeadModal .btn-jacy-cadastrar,
  #jacyWhatsAppLeadModal .btn-jacy-fechar {
    width: 100%;
    min-width: 0;
    font-size: 18px;
  }
}
