/* Marca Aí by LMS NexTech — tokens da identidade LMS NexTech (lmsnextech-site/DESIGN.md),
   tema claro, com o acento do produto: verde de conversa, sem copiar a marca do WhatsApp. */
:root {
  --fundo: hsl(240 20% 99%);
  --fundo-2: #f5f5f7;
  --texto: hsl(240 3% 11%);
  --texto-2: hsl(240 3% 36%);
  --texto-verde: hsl(158 55% 17%);
  --fio: hsl(240 6% 86%);
  --acento: hsl(158 64% 26%);
  --acento-texto: #fff;
  --acento-suave: hsl(158 45% 93%);
  --link: hsl(199 89% 33%);
  --erro: hsl(0 70% 42%);
  --balao-dela: #fff;
  --balao-nosso: hsl(158 45% 90%);
  --raio: 14px;
  --sombra: 0 1px 2px hsl(240 10% 10% / .06), 0 8px 24px hsl(240 10% 10% / .06);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 400 1.0625rem/1.55 Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 6px; }
.envoltorio { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.estreito { max-width: 640px; }

/* Topo */
.topo { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; }
.marca img { width: 28px; height: 28px; }
.marca small { font-weight: 500; color: var(--texto-2); font-size: .8rem; letter-spacing: 0; }

/* Herói */
.heroi { display: grid; gap: 40px; padding: 40px 0 72px; align-items: center; }
@media (min-width: 880px) { .heroi { grid-template-columns: 1.1fr .9fr; padding: 72px 0 96px; } }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.02; letter-spacing: -.038em; margin: 18px 0 18px; font-weight: 700; text-wrap: balance; }
.subtitulo { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.4; color: var(--texto-2); margin: 0 0 28px; max-width: 34ch; text-wrap: pretty; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 inherit; text-decoration: none; cursor: pointer;
  background: var(--acento); color: var(--acento-texto); transition: transform .12s ease, opacity .12s ease;
}
.botao:active { transform: scale(.98); }
.botao[disabled] { opacity: .6; cursor: progress; }
.botao.secundario { background: transparent; color: var(--texto); border-color: var(--fio); }
.botao.texto { background: none; color: var(--texto-2); padding: 0 8px; min-height: 44px; }

/* Conversa de exemplo */
.conversa { background: var(--fundo-2); border: 1px solid var(--fio); border-radius: 24px; padding: 20px; box-shadow: var(--sombra); max-width: 420px; justify-self: center; width: 100%; }
.conversa header { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--fio); margin-bottom: 14px; font-weight: 600; }
.conversa header div span { font-weight: 400; color: var(--texto-2); font-size: .85rem; display: block; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--acento); color: var(--acento-texto); display: grid; place-items: center; font-weight: 700; }
.balao { max-width: 85%; padding: 10px 14px; border-radius: 16px; margin: 8px 0; font-size: .98rem; line-height: 1.4; box-shadow: 0 1px 1px hsl(240 10% 10% / .06); }
.balao.dela { background: var(--balao-dela); border-bottom-left-radius: 4px; }
.balao.nosso small { color: var(--texto-verde); }
.balao.nosso { background: var(--balao-nosso); margin-left: auto; border-bottom-right-radius: 4px; }
.balao small { display: block; color: var(--texto-2); font-size: .72rem; margin-top: 4px; text-align: right; }
.aviso-dona { margin-top: 16px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--fio); font-size: .9rem; color: var(--texto-2); }
.aviso-dona strong { color: var(--texto); }

/* Seções */
.secao { padding: 72px 0; border-top: 1px solid var(--fio); }
.secao h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 12px; text-wrap: balance; }
.secao .lead { color: var(--texto-2); font-size: 1.15rem; max-width: 52ch; margin: 0 0 36px; }
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: passo; }
@media (min-width: 760px) { .passos { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.passos li { counter-increment: passo; position: relative; padding: 0 0 28px 52px; }
@media (min-width: 760px) { .passos li { padding: 56px 0 0; } }
.passos li::before { content: counter(passo); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--acento); color: var(--acento-texto); font-weight: 700; font-variant-numeric: tabular-nums; }
.passos li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--fio); }
.passos li:last-child::after { display: none; }
@media (min-width: 760px) { .passos li::after { left: 48px; right: -24px; top: 17px; bottom: auto; width: auto; height: 2px; } }
.passos h3 { margin: 0 0 6px; font-size: 1.2rem; letter-spacing: -.02em; }
.passos p { margin: 0; color: var(--texto-2); max-width: 34ch; }
.lista-faz { display: grid; gap: 12px 32px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .lista-faz { grid-template-columns: 1fr 1fr; } }
.lista-faz li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.lista-faz svg { width: 28px; height: 28px; color: var(--acento); }
.lista-faz strong { display: block; letter-spacing: -.01em; }
.lista-faz span { color: var(--texto-2); }
.oferta { background: var(--acento-suave); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; }
@media (min-width: 880px) { .oferta { grid-template-columns: 1.2fr .8fr; align-items: end; } }
.oferta p { color: var(--texto-verde); max-width: 52ch; margin: 0; }
.preco { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.preco small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--texto-verde); }
.perfis { display: grid; gap: 32px; margin-top: 36px; }
@media (min-width: 760px) { .perfis { grid-template-columns: 1fr 1fr; gap: 48px; } }
.perfis h3 { font-size: 1.45rem; letter-spacing: -.025em; margin: 0 0 10px; }
.perfis p { color: var(--texto-2); margin: 0; max-width: 46ch; }
.duvidas details { border-bottom: 1px solid var(--fio); padding: 18px 0; }
.duvidas summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; font-size: 1.5rem; color: var(--acento); transition: transform .2s ease; }
.duvidas details[open] summary::after { transform: rotate(45deg); }
.duvidas p { color: var(--texto-2); margin: 8px 0 0; max-width: 60ch; }
.rodape { padding: 40px 0 56px; color: var(--texto-2); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Questionário */
.progresso { height: 6px; background: var(--fio); border-radius: 999px; overflow: hidden; margin: 8px 0 28px; }
.progresso span { display: block; height: 100%; background: var(--acento); width: 100%; transform-origin: left; transform: scaleX(0); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.etapa h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0 0 8px; }
.etapa > p { color: var(--texto-2); margin: 0 0 24px; }
.campo { display: grid; gap: 6px; margin-bottom: 18px; }
.campo label, .campo legend, .rotulo { font-weight: 600; font-size: .98rem; }
.campo .ajuda { color: var(--texto-2); font-size: .88rem; margin-top: -2px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
input[type="text"], input[type="tel"], input[type="number"], input[type="time"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--texto);
  background: var(--fundo); border: 1px solid var(--fio); border-radius: 12px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--link); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 25%, transparent); }
[aria-invalid="true"] { border-color: var(--erro) !important; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid var(--fio); border-radius: 999px; cursor: pointer; font-weight: 500; background: var(--fundo); }
.opcoes input { accent-color: var(--acento); width: 18px; height: 18px; margin: 0; }
.opcoes label:has(input:checked) { border-color: var(--acento); background: var(--acento-suave); }
.cartao { border: 1px solid var(--fio); border-radius: var(--raio); padding: 16px; margin-bottom: 14px; background: var(--fundo-2); }
.cartao .cabeca { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 600; }
.duas { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.dia { display: grid; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--fio); }
.dia .faixa { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 8px; align-items: center; }
.navegacao { display: flex; justify-content: space-between; gap: 12px; margin: 28px -16px 48px; position: sticky; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--fundo); border-top: 1px solid var(--fio); }
.navegacao [data-acao="avancar"] { margin-left: auto; }
.erro-geral { color: var(--erro); font-weight: 600; margin: 0 0 16px; }
.erro-campo { color: var(--erro); font-size: .88rem; }
.aceite { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--raio); background: var(--fundo-2); border: 1px solid var(--fio); }
.aceite input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--acento); flex: none; }
.oculto { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sucesso { text-align: center; padding: 48px 0; }
.sucesso .avatar { width: 64px; height: 64px; margin: 0 auto 20px; font-size: 1.8rem; }
.texto-legal h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.texto-legal p, .texto-legal li { color: var(--texto-2); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

::selection { background: var(--acento-suave); color: var(--texto); }
input, textarea { caret-color: var(--acento); }
a { text-underline-offset: 3px; }
/* Momento único da página: a conversa se escreve, partindo do estado visível. */
.balao, .aviso-dona { animation: chega .6s cubic-bezier(.16,1,.3,1) backwards; }
.conversa .balao:nth-of-type(2) { animation-delay: .12s; } .conversa .balao:nth-of-type(3) { animation-delay: .24s; }
.conversa .balao:nth-of-type(4) { animation-delay: .36s; } .conversa .aviso-dona { animation-delay: .5s; }
@keyframes chega { from { transform: translateY(6px); } to { transform: none; } }
