/* Formulario de conversao. Os ids (leadFormV17, v17Name...) sao usados pelo
   script de captura de lead da GO-X (assets/), nao renomear. */
.gx-form { padding: 140px 0 120px; }
.gx-form-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 604px); justify-content: space-between; gap: 48px; max-width: 1108px; }
.gx-form-copy { display: flex; flex-direction: column; }
.gx-form-titulo { font-family: var(--font-title); font-weight: 500; font-size: 40px; line-height: 44px; letter-spacing: -3px; }
.gx-form-texto { margin-top: 22px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.gx-form-passos { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.gx-form-passos li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--muted); }
.gx-form-passos span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--pill-shadow); }

.gx-form-moldura { padding: 24px; border-radius: 32px; background: var(--soft); border: 1.5px solid var(--line); }
.gx-form-card { display: grid; gap: 22px; padding: 32px 30px 28px; border-radius: 24px; background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); }
.gx-campo { display: grid; gap: 12px; }
.gx-campo > span:first-child { font-size: 16px; font-weight: 500; color: var(--ink); }
.gx-campo em { font-style: normal; color: #d1495b; }
.gx-campo input, .gx-campo select, .gx-tel {
  width: 100%; min-height: 56px; padding: 0 18px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.gx-campo input::placeholder { color: rgb(110, 112, 118); }
.gx-campo input:focus, .gx-campo select:focus, .gx-tel:focus-within { border-color: rgba(24, 24, 24, 0.45); box-shadow: 0 0 0 4px rgba(24, 24, 24, 0.06); }
.gx-campo select { appearance: none; -webkit-appearance: none; cursor: pointer; color: rgb(110, 112, 118); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2346484d' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 22px center; padding-right: 48px; }
.gx-campo select:valid { color: var(--ink); }
.gx-tel { display: flex; align-items: center; gap: 10px; padding: 0 0 0 18px; }
.gx-tel-ddi { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; flex: none; }
/* O script de lead da GO-X insere outra bandeira +55 ao clicar no campo; a nossa ja aparece desde o inicio. */
.gx-tel .v17-phone-country-prefix, .gx-tel .country-calling-code { display: none !important; }
.gx-tel input { border: 0; min-height: 52px; padding: 0 14px 0 0; box-shadow: none !important; }
.gx-form-enviar { min-height: 48px; border: 0; border-radius: 100px; cursor: pointer; color: #fff; font-size: 15px; font-weight: 600; background: linear-gradient(180deg, #2b2b2b 0%, #0d0d0d 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); transition: opacity .2s, transform .15s; }
.gx-form-enviar:hover { opacity: .9; }
.gx-form-enviar:active { transform: scale(.99); }
.gx-form-enviar:disabled { opacity: .6; cursor: wait; }
.gx-form-selos { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.gx-form-selos li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.gx-form-selos svg { width: 16px; height: 16px; color: rgb(156, 104, 70); flex: none; }

@media (max-width: 991px) {
  .gx-form { padding: 80px 0; }
  .gx-form-grid { grid-template-columns: 1fr; gap: 32px; }
  .gx-form-titulo { font-size: 34px; line-height: 38px; letter-spacing: -2px; }
  .gx-form-moldura { padding: 12px; border-radius: 24px; }
  .gx-form-card { padding: 24px 18px; }
  .gx-tel { padding-left: 16px; }
}

/* Erro do CPF */
.gx-campo input.is-invalido { border-color: #d1495b; box-shadow: 0 0 0 4px rgba(209, 73, 91, 0.08); }
.gx-campo-erro { font-size: 13px; color: #b93445; margin-top: -4px; }

/* Perguntas de Sim/Nao: radio escondido, o rotulo vira botao */
.gx-simnao { margin: 0; padding: 0; border: 0; min-width: 0; }
.gx-simnao legend { padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.gx-simnao-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gx-simnao-opcoes label { position: relative; cursor: pointer; }
.gx-simnao-opcoes input { position: absolute; inset: 0; width: 100%; min-height: 0; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.gx-simnao-opcoes span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white); font-size: 16px; font-weight: 500; color: var(--ink);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.gx-simnao-opcoes label:hover span { border-color: rgba(24, 24, 24, 0.3); }
.gx-simnao-opcoes input:focus-visible + span { box-shadow: 0 0 0 4px rgba(24, 24, 24, 0.1); }
.gx-simnao-opcoes input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.gx-simnao.is-invalido .gx-simnao-opcoes span { border-color: #d1495b; }

/* Envio: indicador girando no botao enquanto o lead e registrado */
.gx-form-enviar:disabled { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.gx-form-enviar:disabled::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: gx-girar .7s linear infinite; }
@keyframes gx-girar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gx-form-enviar:disabled::before { animation-duration: 2s; } }

/* Confirmacao depois do envio */
.gx-form-ok { display: grid; justify-items: center; gap: 14px; padding: 56px 32px; border-radius: 24px; background: var(--white); text-align: center; outline: none; }
.gx-form-ok-icone { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); }
.gx-form-ok-icone::after { content: ""; width: 18px; height: 10px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(-45deg); }
.gx-form-ok-titulo { font-family: var(--font-title); font-weight: 500; font-size: 26px; line-height: 1.25; letter-spacing: -1px; color: var(--ink); }
.gx-form-ok-texto { max-width: 400px; font-size: 16px; line-height: 1.7; color: var(--muted); }

.gx-form-card[hidden] { display: none; }
.gx-form-moldura { align-self: start; }
