/* Leme 120 — popup de diagnóstico em etapas (substitui o redirect para o Fillout) */
.lm-lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 7, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lm-lead-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.lm-lead-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #0f0f11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px 32px;
  color: #fafafa;
  font-family: "Geist", "Geist Placeholder", sans-serif;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.lm-lead-overlay.is-open .lm-lead-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.lm-lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lm-lead-close:hover { background: rgba(255, 255, 255, 0.16); }
.lm-lead-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 24px;
}
.lm-lead-progress-bar {
  height: 100%;
  width: 20%;
  background: #4e03ff;
  border-radius: 999px;
  transition: width 0.3s ease;
}
.lm-lead-step-label {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin: 0 0 8px;
}
.lm-lead-step h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 20px;
  color: #fafafa;
}
.lm-lead-step input[type="text"],
.lm-lead-step input[type="tel"],
.lm-lead-step input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fafafa;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lm-lead-step input::placeholder { color: #7a7a7a; }
.lm-lead-step input:focus {
  border-color: #4e03ff;
  background: rgba(78, 3, 255, 0.08);
}
.lm-lead-step input.lm-lead-invalid { border-color: #ff5c5c; }
.lm-lead-error {
  color: #ff8080;
  font-size: 13px;
  margin: 8px 0 0;
  min-height: 16px;
}
.lm-lead-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lm-lead-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lm-lead-option:hover { border-color: rgba(78, 3, 255, 0.5); }
.lm-lead-option input { accent-color: #4e03ff; width: 16px; height: 16px; flex: none; }
.lm-lead-option span { font-size: 14px; color: #fafafa; }
.lm-lead-option.is-checked {
  border-color: #4e03ff;
  background: rgba(78, 3, 255, 0.12);
}
.lm-lead-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.lm-lead-nav button {
  flex: 1;
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.lm-lead-next, .lm-lead-submit {
  background: #4e03ff;
  color: #fff;
}
.lm-lead-next:hover, .lm-lead-submit:hover { opacity: 0.88; }
.lm-lead-next:disabled, .lm-lead-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.lm-lead-back {
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
  flex: 0 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.lm-lead-back:hover { background: rgba(255, 255, 255, 0.14); }
.lm-lead-success {
  text-align: center;
  padding: 12px 0 4px;
}
.lm-lead-success h3 { font-size: 22px; margin: 0 0 8px; color: #fafafa; }
.lm-lead-success p { font-size: 14px; color: #a3a3a3; margin: 0; }
.lm-lead-success svg { margin: 0 auto 16px; display: block; }
@media (max-width: 480px) {
  .lm-lead-modal { padding: 32px 22px 24px; border-radius: 20px; }
  .lm-lead-step h3 { font-size: 19px; }
}
