/*
 * Estilo da seção "Quero testar" (landing-leads.js). Usa as cores e a tipografia da landing.
 * Os nomes começam com ql- para não colidir com as classes do Tailwind do bundle.
 */

.ql-secao {
  background: #fff7ed;
  border-top: 1px solid #f0ede8;
  scroll-margin-top: 5rem;
  padding: 4.5rem 1rem;
}

.ql-conteudo {
  margin: 0 auto;
  max-width: 34rem;
  color: #1e1c18;
}

.ql-etiqueta {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8590c;
}

.ql-conteudo h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.ql-subtitulo {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #57534e;
}

.ql-caixa {
  margin-top: 1.75rem;
  border: 1px solid #f0ede8;
  border-radius: 1rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgb(30 28 24 / 0.06);
}

.ql-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ql-rotulo {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #44403c;
}

.ql-entrada {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.875rem;
  border: 1px solid #d6d3d1;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 0.875rem;
  font: inherit;
  font-size: 1rem;
  color: #1e1c18;
}

.ql-entrada:focus-visible {
  outline: 2px solid #e8590c;
  outline-offset: 1px;
  border-color: #e8590c;
}

.ql-entrada[aria-invalid='true'] {
  border-color: #dc2626;
}

.ql-erro,
.ql-mensagem {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: #dc2626;
}

.ql-erro:empty,
.ql-mensagem:empty,
.ql-aviso:empty {
  display: none;
}

.ql-mensagem a {
  font-weight: 600;
  color: #e8590c;
  text-decoration: underline;
}

.ql-aviso {
  margin: 0;
  font-size: 0.8125rem;
  color: #78716c;
}

.ql-botao {
  min-height: 3rem;
  cursor: pointer;
  border: 0;
  border-radius: 0.75rem;
  background: #e8590c;
  padding: 0 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: background-color 0.15s;
}

.ql-botao:hover:not(:disabled) {
  background: #c2490a;
}

.ql-botao:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Campo-isca fora da tela: display:none seria ignorado por alguns robôs, que então não o preencheriam */
.ql-isca {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ql-sucesso {
  text-align: center;
}

.ql-sucesso h3 {
  margin: 0 0 0.5rem;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #15803d;
}

.ql-sucesso p {
  margin: 0;
  line-height: 1.6;
  color: #57534e;
}

.ql-link-topo {
  margin-right: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: #e8590c;
}

@media (max-width: 480px) {
  .ql-link-topo {
    display: none;
  }
}
