/* Widget de captura de leads — modal (site público)
   FAB antigo (.vaq-lead-fab) substituído pelo Speed Dial (vaq-speed-dial.css). */

.vaq-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.vaq-lead-modal[hidden] {
  display: none !important;
}

.vaq-lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.vaq-lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.35rem 1.35rem;
  border: 1px solid rgba(244, 166, 35, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.vaq-lead-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  color: #1B5E6B;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.vaq-lead-modal-close:hover {
  color: #F4A623;
}

.vaq-lead-modal-title {
  margin: 0 1.75rem 0.35rem 0;
  font-family: var(--vaq-font-display, Spartan, sans-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: #1B5E6B;
}

.vaq-lead-modal-sub {
  margin: 0 0 1.15rem;
  color: #4a6670;
  font-size: 0.95rem;
  line-height: 1.45;
}

.vaq-lead-field {
  margin-bottom: 0.85rem;
}

.vaq-lead-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1B5E6B;
}

.vaq-lead-field input,
.vaq-lead-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(27, 94, 107, 0.25);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #16363d;
  background: #fff;
}

.vaq-lead-field input:focus,
.vaq-lead-field textarea:focus {
  outline: 2px solid rgba(47, 168, 154, 0.45);
  border-color: #2FA89A;
}

.vaq-lead-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.vaq-lead-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.vaq-lead-feedback {
  margin: 0.35rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.vaq-lead-feedback--ok {
  background: rgba(47, 168, 154, 0.15);
  color: #145a52;
  border: 1px solid rgba(47, 168, 154, 0.35);
}

.vaq-lead-feedback--err {
  background: rgba(220, 53, 69, 0.1);
  color: #842029;
  border: 1px solid rgba(220, 53, 69, 0.25);
}

@media (max-width: 575px) {
  .vaq-lead-modal {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .vaq-lead-modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 12px 12px 8px 8px;
    padding: 1.25rem 1rem 1rem;
  }
}
