/* Levells · landing v1 (17/11/2026).
   As mesmas cores, a mesma fonte e as mesmas peças do quiz (zeor.css e cliente.css): branco óptico, grafite e cobre;
   Geist quando o aparelho tem, senão a fonte do sistema, como no quiz. Nada vem de fora e não há estilo dentro do
   HTML, para passar na CSP do Worker. Celular primeiro: de 320 px para cima, sem rolagem lateral. */
:root {
  --bg: #F4F1EB; --sup: #FFFFFF; --sup2: #FBF9F5;
  --tinta: #121214; --tinta2: #34332F; --mudo: #6A6762; --linha: #E5DFD5; --linha2: #D2CABD;
  --cobre: #D4783C; --cobre-t: #9A4A17; --cobre-c: #F8E7D9;
  --ok: #17734A; --ok-c: #E2F2E8; --ok-v: #2E9E67;
  --at: #8F5400; --at-c: #FFF0D3; --at-v: #E39B2D;
  --pr: #6E6B66; --pr-c: #EEEBE5;
  --r: 14px; --rs: 10px;
  --som: 0 1px 2px rgba(18, 18, 20, .05), 0 12px 32px -14px rgba(18, 18, 20, .16);
  --f: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fm: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F3EEE6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l2.9 2.9 6-6.4'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--tinta); font: 400 16px/1.5 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; overflow-wrap: break-word; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cobre); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dica { margin-top: 10px; font-size: 13.5px; color: var(--mudo); }
.nw { white-space: nowrap; } /* "e-mail" não quebra no hífen */

.lv-pular { position: absolute; left: 12px; top: -80px; z-index: 40; padding: 12px 16px; border-radius: var(--rs); background: var(--tinta); color: #F3EEE6; font-size: 14px; font-weight: 500; text-decoration: none; }
.lv-pular:focus { top: 10px; }

/* ---------- topo: o mesmo do quiz, com a barra cobre do quiz enchendo conforme a leitura ---------- */
.topo { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--linha); }
.topo-in { display: flex; align-items: center; gap: 14px; height: 58px; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta); text-decoration: none; }
.logo svg { display: block; height: 15px; width: auto; }
.topo-dir { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lv-ja { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 14.5px; font-weight: 500; color: var(--tinta2); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--linha2); }
.lv-ja:hover { color: var(--tinta); text-decoration-color: var(--tinta); }
/* no celular, o topo tem só "Já comprei": o botão de compra já está logo abaixo, na abertura */
.topo .lv-topo-cta { display: none; }
.lv-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.lv-prog span { display: block; height: 100%; background: var(--cobre); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- botões, selo e etiqueta (iguais aos do quiz) ---------- */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .12s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.bt-p { background: var(--tinta); color: #F3EEE6; }
.bt-p:hover { background: #2A2A2E; }
.bt:active { transform: scale(.985); }
.bt-s { background: var(--sup); border-color: var(--linha2); color: var(--tinta); }
.bt-s:hover { border-color: var(--tinta); }
.bt-t { background: none; min-height: 44px; padding: 0 12px; color: var(--tinta2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--linha2); }
.bt-mini { min-height: 44px; padding: 0 18px; font-size: 14px; }
.bt-g { min-height: 54px; padding: 0 28px; font-size: 16px; }
.selo { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--linha2); border-radius: 999px; background: var(--sup); font-size: 12.5px; font-weight: 500; color: var(--tinta2); white-space: nowrap; }
.selo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok-v); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-family: var(--fm); font-size: 10.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }

/* a marca da Levells (o anel do ícone), usada na tela da equipe e no "A Levells instala tudo" */
.lv-marca { position: relative; display: inline-block; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--tinta); }
.lv-marca::after { content: ""; position: absolute; inset: 7px; border: 2.6px solid #F3EEE6; border-radius: 50%; }

/* ---------- estrutura ---------- */
.lv-wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.lv-sec { padding: 56px 0; border-top: 1px solid var(--linha); }
.lv-h2 { font-size: clamp(26px, 7vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.lv-cta { margin-top: 26px; }
.lv-cta .bt { width: 100%; }

/* ---------- 1 · abertura ---------- */
.lv-abre { padding: 28px 0 56px; }
.lv-abre-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.lv-h1 { margin-top: 18px; max-width: 17ch; font-size: clamp(32px, 9.4vw, 56px); line-height: 1.03; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.lv-h1 em { font-style: normal; text-decoration-line: underline; text-decoration-color: var(--cobre); text-decoration-thickness: .085em; text-underline-offset: .11em; text-decoration-skip-ink: none; }
.lv-sub { margin-top: 22px; max-width: 38ch; font-size: clamp(17px, 4.6vw, 20px); line-height: 1.45; color: var(--tinta2); }

/* A tela da equipe: a mesma linguagem do status do produto (etiqueta âmbar de espera, verde de pronto, barra cobre).
   Cada conta vira "Conectada" no seu tempo (--d), a barra enche e o selo passa a "Pronta". Só CSS. */
.lv-status { position: relative; min-width: 0; max-width: 520px; padding: 2px 16px 16px; border: 1px solid var(--linha); border-radius: var(--r); background: var(--sup); box-shadow: var(--som); }
.lv-status-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; }
.lv-status-tit { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 600; }
.lv-barra { display: block; height: 6px; border-radius: 999px; background: var(--linha); overflow: hidden; }
.lv-barra span { display: block; height: 100%; border-radius: 999px; background: var(--cobre); transform-origin: 0 50%; transform: scaleX(0); animation: lv-enche 2.1s linear .5s both; }
.lv-contas { margin-top: 10px; }
.lv-contas li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; border-top: 1px solid var(--linha); font-size: 15px; }
.lv-contas li:first-child { border-top: 0; }
.lv-contas li:nth-child(1) { --d: .6s; }
.lv-contas li:nth-child(2) { --d: 1.05s; }
.lv-contas li:nth-child(3) { --d: 1.5s; }
.lv-contas li:nth-child(4) { --d: 1.95s; }
.lv-contas li:nth-child(5) { --d: 2.4s; }
.lv-troca { position: relative; display: inline-grid; align-items: center; flex: none; border-radius: 999px; background: var(--at-c); color: var(--at); white-space: nowrap; animation: lv-cor .45s var(--ease) var(--d) both; }
.lv-troca::before { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--at-v); animation: lv-ponto .45s var(--ease) var(--d) both; }
.lv-troca > span { grid-area: 1 / 1; text-align: center; }
.lv-a { animation: lv-sai .3s var(--ease) var(--d) both; }
.lv-b { opacity: 0; animation: lv-entra .35s var(--ease) calc(var(--d) + .1s) both; }
.lv-pill { height: 26px; padding: 0 10px 0 22px; font-family: var(--fm); font-size: 10.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.lv-pill::before { left: 10px; }
.lv-selo { --d: 2.75s; height: 28px; padding: 0 12px 0 25px; font-size: 12.5px; font-weight: 500; }
.lv-selo::before { left: 12px; }
.lv-status-fim { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--linha); font-size: 14.5px; font-weight: 500; opacity: 0; animation: lv-entra .4s var(--ease) 3s both; }
.lv-status-fim::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--tinta) var(--check) center / 11px no-repeat; }

@keyframes lv-enche { 0% { transform: scaleX(0); } 20% { transform: scaleX(.2); } 41% { transform: scaleX(.4); } 62% { transform: scaleX(.6); } 83% { transform: scaleX(.8); } 100% { transform: scaleX(1); } }
@keyframes lv-cor { to { background: var(--ok-c); color: var(--ok); } }
@keyframes lv-ponto { 50% { transform: scale(1.7); } to { background: var(--ok-v); transform: scale(1); } }
@keyframes lv-sai { to { opacity: 0; filter: blur(3px); transform: translateY(-4px); } }
@keyframes lv-entra { from { opacity: 0; filter: blur(3px); transform: translateY(4px); } to { opacity: 1; filter: blur(0); transform: none; } }

/* ---------- 2 · como funciona ---------- */
.lv-passos { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
.lv-passos li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-bottom: 24px; }
.lv-passos li::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--linha2); }
.lv-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tinta); color: #F3EEE6; font-size: 14px; font-weight: 600; line-height: 1; }
.lv-passos h3 { padding-top: 4px; font-size: 17px; line-height: 1.3; font-weight: 600; }
.lv-passos p { margin-top: 2px; font-size: 15.5px; color: var(--mudo); }
.lv-instala { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; padding: 14px 22px 14px 16px; border-left: 3px solid var(--cobre); border-radius: var(--rs); background: var(--cobre-c); font-size: 17px; }
.lv-instala strong { font-weight: 600; }

/* ---------- 3 · a equipe ---------- */
.lv-bot { min-width: 0; padding: 16px; border: 1px solid var(--linha); border-radius: var(--r); background: var(--sup); }
/* título do bot em bloco comum (não flex), para o espaço antes de "e-mail" não sumir */
.lv-bot h3 { font-size: 16px; line-height: 1.3; font-weight: 600; }
.lv-bot h3::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ok-v); vertical-align: .14em; }
.lv-bot p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--tinta2); }
.lv-bot-coord { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 28px; padding: 18px; border-color: var(--tinta); background: var(--tinta); color: #F3EEE6; }
.lv-bot-coord > div { min-width: 0; }
.lv-bot-coord p { color: #CFC8BC; }
.lv-bot-coord .tag { background: rgba(243, 238, 230, .12); color: #F3EEE6; }
.lv-bots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }

/* ---------- 4 · controle ---------- */
.lv-controle { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.lv-rot { margin-top: 22px; font-family: var(--fm); font-size: 11.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--mudo); }
.lv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lv-chips li { display: inline-block; min-height: 36px; padding: 8px 14px; border: 1px solid var(--linha2); border-radius: 999px; background: var(--sup); font-size: 14.5px; line-height: 1.3; }
.lv-aprova { min-width: 0; max-width: 520px; }
.lv-aprova-card { padding: 18px; border: 1px solid var(--linha); border-radius: var(--r); background: var(--sup); box-shadow: var(--som); }
.lv-aprova-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.lv-quem { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.lv-ponto { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--at-v); }
.lv-ponto::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--at-v); animation: lv-pulsa 1.8s ease-out infinite; }
.lv-tag { background: var(--at-c); color: var(--at); }
.lv-aprova-txt { margin-top: 12px; font-size: 16.5px; line-height: 1.45; }
.lv-aprova-bts { display: none; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.js .lv-aprova-bts { display: flex; }
.lv-aprova-bts .bt { flex: 1 1 auto; }
.lv-aprova-res { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--ok-v); border-radius: var(--rs); background: var(--ok-c); font-size: 15px; }
.lv-aprova-res:empty { display: none; }
.lv-volta { margin-top: 6px; padding: 0; }
.feito .lv-ponto { background: var(--ok-v); }
.feito .lv-tag { background: var(--ok-c); color: var(--ok); }
.nao .lv-ponto { background: var(--linha2); }
.nao .lv-tag { background: var(--pr-c); color: var(--pr); }
.nao .lv-aprova-res { border-left-color: var(--linha2); background: var(--sup2); }
.feito .lv-ponto::after, .nao .lv-ponto::after { animation: none; opacity: 0; }
@keyframes lv-pulsa { from { transform: scale(1); opacity: .55; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- 5 · fechamento ---------- */
.lv-fim { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.lv-fecha { min-width: 0; padding: 24px 20px; border: 1px solid var(--linha); border-radius: var(--r); background: var(--sup); box-shadow: var(--som); }
.lv-fecha .lv-cta { margin-top: 20px; }
.lv-faq { display: grid; grid-template-columns: minmax(0, 1fr); }
.lv-faq > div { padding: 16px 0; border-top: 1px solid var(--linha); }
.lv-faq > div:last-child { border-bottom: 1px solid var(--linha); }
.lv-faq dt { font-size: 16px; line-height: 1.35; font-weight: 600; }
.lv-faq dd { margin-top: 4px; font-size: 15.5px; color: var(--tinta2); }

/* ---------- rodapé ---------- */
.lv-rodape { padding: 22px 0 36px; border-top: 1px solid var(--linha); font-size: 13.5px; color: var(--mudo); }
.lv-rodape-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.lv-rodape .logo { min-height: 0; color: var(--tinta2); }
.lv-rodape .logo svg { height: 13px; }
.lv-rodape .lv-ja { margin-left: auto; font-size: 13.5px; }

/* ---------- telas maiores ---------- */
@media (min-width: 560px) {
  .lv-bots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) {
  .topo-in { height: 64px; }
  .topo .lv-topo-cta { display: inline-flex; }
  .lv-cta .bt { width: auto; }
  .lv-sec { padding: 80px 0; }
  .lv-fecha { padding: 32px; }
}
@media (min-width: 860px) {
  .lv-passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
  .lv-passos li { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 28px; }
  .lv-passos li::before { left: 46px; right: -12px; top: 15px; bottom: auto; width: auto; height: 2px; }
  .lv-passos li:last-child::before { display: none; }
  .lv-passos h3 { padding-top: 0; }
}
@media (min-width: 960px) {
  .lv-abre { padding: 72px 0 96px; }
  .lv-abre-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
  .lv-status { justify-self: end; width: 100%; }
  .lv-bots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
  .lv-controle { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; }
  .lv-aprova { justify-self: end; width: 100%; }
  .lv-fim { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
}
@media (max-width: 359.98px) {
  .lv-status { padding: 2px 12px 14px; }
  .lv-pill { padding: 0 8px 0 20px; letter-spacing: .05em; }
  .lv-pill::before { left: 8px; }
}

/* Movimento reduzido: nada anima; a tela da equipe aparece já no fim (contas conectadas, equipe pronta). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lv-troca { background: var(--ok-c); color: var(--ok); }
  .lv-troca::before { background: var(--ok-v); }
  .lv-a { opacity: 0; }
  .lv-b { opacity: 1; }
  .lv-barra span { transform: none; }
  .lv-status-fim { opacity: 1; }
  .lv-ponto::after { opacity: 0; }
}
