/*
  LP robozin.constru (/produtos/lojas-materiais) — visual v5.
  Fonte: Paper, artboard "S04 LP Lojas de material — robozin.constru" (1440).
  Medidas de lá; o celular (< 900px) segue a linguagem da home v5 celular.
  Tokens (--color-*) vêm do site-v5.css carregado pelo layout.
*/
.p5-lm {
  --lm-creme: #FFF1E6;
  --lm-pessego: #FFE4CC;
  --lm-tijolo: #9A3412;
  --lm-tijolo-2: #C2410C;
  background: var(--color-paper);
  overflow-x: clip;
}

/* ---------- Tipografia da página ---------- */
.p5-lm__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--lm-tijolo-2);
}
.p5-lm__kicker--dark { color: var(--lm-tijolo); }
.p5-lm__kicker--constru { color: var(--color-constru); }
.p5-lm__h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 82px;
  color: var(--color-ink);
}
.p5-lm__h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 54px;
  color: #000;
}
.p5-lm__h2--paper { color: #fff; }
.p5-lm__h2--48 { font-size: 48px; line-height: 50px; }
.p5-lm__h2--56 { font-size: 56px; line-height: 58px; letter-spacing: -0.05em; }
.p5-lm__h2--64 { font-size: 64px; line-height: 64px; letter-spacing: -0.05em; }
.p5-lm__lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-graphite);
}
.p5-lm__lead--ink { color: var(--color-ink); }
.p5-lm__lead--dk { color: #A1A1AA; }
.p5-lm__lead--520 { max-width: 520px; }
.p5-lm__checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #000;
}
.p5-lm__checks--dk { color: #fff; }

/* ---------- Botões (pílula com sombra dura) ---------- */
.p5-lm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 2.5px solid var(--color-ink);
  border-radius: 999px;
  box-shadow: var(--color-ink) 4px 4px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
  color: #000;
  white-space: nowrap;
}
.p5-lm__btn--constru { background: var(--color-constru); }
.p5-lm__btn--paper { background: var(--color-paper); }
.p5-lm__btn--ink {
  background: var(--color-ink);
  color: #fff;
  box-shadow: var(--color-paper) 4px 4px 0;
  padding: 16px 26px;
  font-size: 17px;
}
.p5-lm__btn--block { display: flex; width: 100%; padding-block: 15px; font-size: 17px; }

/* ---------- Divisões em duas colunas ---------- */
.p5-lm__split { display: flex; align-items: center; gap: 80px; }
.p5-lm__txt { display: flex; flex-direction: column; gap: 20px; flex: 1 1 0; min-width: 0; }
.p5-lm__txt--500 { flex: 0 0 500px; }

/* ================= Hero ================= */
.p5-lm__hero {
  position: relative;
  height: 1080px;
  padding-top: 88px;
  background: var(--lm-creme);
  border-bottom: 2.5px solid var(--color-ink);
  overflow: hidden;
}
.p5-lm__hero-wrap { display: flex; flex-direction: column; gap: 56px; }
.p5-lm__hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; }
.p5-lm__hero-title { display: flex; flex-direction: column; gap: 24px; flex: 0 1 720px; }
.p5-lm__hero-side { display: flex; flex-direction: column; gap: 24px; flex: 0 0 420px; padding-bottom: 6px; }
.p5-lm__hero-lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--color-ink); }
.p5-lm__hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.p5-lm__stage { position: relative; }

/* Janela do site da loja */
.p5-lm__win {
  display: flex;
  flex-direction: column;
  width: 880px;
  max-width: calc(100% - 40px);
  height: 760px;
  overflow: hidden;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 20px;
  box-shadow: var(--color-ink) 10px 10px 0;
}
.p5-lm__win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 40px;
  padding-inline: 16px;
  background: var(--color-mist);
  border-bottom: 2px solid var(--color-ink);
}
.p5-lm__win-url { font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 16px; color: var(--color-graphite); }
.p5-lm__win-ctrl { display: flex; align-items: center; gap: 14px; color: var(--color-ink); }
.p5-lm__win-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1.5px solid var(--color-hairline);
}
.p5-lm__win-logo {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--color-constru);
  border: 2px solid var(--color-ink);
  border-radius: 12px;
  font-family: var(--font-display); font-size: 15px; font-weight: 800; line-height: 18px; color: #000;
}
.p5-lm__win-name { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.p5-lm__win-name strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 22px; color: #000; }
.p5-lm__win-name small { font-size: 13px; line-height: 16px; color: var(--color-graphite); }
.p5-lm__win-nav { padding-inline: 10px; font-size: 14px; font-weight: 600; line-height: 18px; color: #000; }
.p5-lm__win-cart {
  padding: 7px 14px;
  border: 2px solid var(--color-ink);
  border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 16px; color: #000; white-space: nowrap;
}
.p5-lm__win-lista {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 28px;
  background: var(--lm-creme);
  border-bottom: 1.5px solid var(--color-hairline);
}
.p5-lm__win-lista > strong { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 30px; color: #000; }
.p5-lm__win-input {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 16px;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 16px;
  box-shadow: var(--color-constru) 4px 4px 0;
}
.p5-lm__win-input > span { flex: 1 1 0; min-width: 0; font-size: 16px; line-height: 22px; color: var(--color-graphite); }
.p5-lm__win-img {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px; background: var(--color-mist);
}
.p5-lm__win-input > b,
.p5-lm__win-inst > b {
  flex-shrink: 0;
  padding: 9px 16px;
  background: var(--color-constru);
  border: 2px solid var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 14px; font-weight: 800; line-height: 16px; color: #000;
}
.p5-lm__win-prods { display: flex; gap: 16px; padding: 24px 28px; }
.p5-lm__prod {
  display: flex; flex-direction: column; gap: 10px; flex: 1 1 0; min-width: 0;
  padding: 12px;
  border: 2px solid var(--color-ink);
  border-radius: 16px;
}
/* No Paper as fotos são placeholder ("FOTO · ILL"); usamos as fotos da loja
   de exemplo (/demos/loja-exemplo) no mesmo quadro de 120px. */
.p5-lm__prod img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; background: var(--color-mist); }
.p5-lm__prod > span { font-size: 14px; font-weight: 700; line-height: 18px; color: #000; }
.p5-lm__prod > b { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 22px; color: #000; }
.p5-lm__prod em { font-family: var(--font-body); font-style: normal; font-size: 12px; font-weight: 600; line-height: 14px; color: var(--lm-tijolo); }
.p5-lm__win-inst {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 28px;
  background: var(--color-ink);
}
.p5-lm__win-inst > span { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; }
.p5-lm__win-inst small { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; line-height: 14px; color: var(--color-constru); }
.p5-lm__win-inst strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 24px; color: #fff; }
.p5-lm__win-inst > b { border-color: #fff; white-space: nowrap; }

/* Chat da loja: cartão girado sobre a janela (posição do Paper: 800px da
   borda do conteúdo, 10px abaixo do topo da janela). `rotate` e não
   `transform`, para somar com o hover do v5-movimento.js. */
.p5-lm__chat {
  position: absolute;
  top: 10px;
  left: calc(100% - 400px);
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 600px;
  overflow: hidden;
  rotate: 2deg;
  transform-origin: 0 0;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 28px;
  box-shadow: var(--color-constru) 8px 8px 0;
}
.p5-lm__chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  border-bottom: 2px solid var(--color-ink);
  background: var(--lm-creme);
}
.p5-lm__chat-av {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--color-ink);
  box-shadow: inset 0 0 0 3px var(--color-constru);
}
.p5-lm__chat-head > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.p5-lm__chat-head strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 24px; color: #000; }
.p5-lm__chat-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--color-graphite); }
.p5-lm__chat-head small i { width: 8px; height: 8px; border-radius: 99px; background: var(--color-success); }
.p5-lm__chat-body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 0; padding: 18px 18px 0; overflow: hidden; }
.p5-lm__msg {
  max-width: 85%;
  margin: 0;
  padding: 10px 14px;
  background: var(--color-mist);
  border-radius: 4px 16px 16px 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-ink);
}
.p5-lm__msg--eu {
  align-self: flex-end;
  background: var(--lm-pessego);
  border-radius: 16px 4px 16px 16px;
}
.p5-lm__chat-ok {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 14px;
  border: 2px solid var(--color-ink);
  border-radius: 16px;
  box-shadow: var(--color-ink) 3px 3px 0;
}
.p5-lm__chat-ok p { margin: 0; font-size: 14px; font-weight: 600; line-height: 20px; }
.p5-lm__chat-pill {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--color-success-50);
  border: 1.5px solid var(--color-success-700);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; line-height: 12px;
  color: var(--color-success-700);
}
.p5-lm__chat-comp {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 18px 18px;
  padding: 8px 8px 8px 16px;
  border: 2px solid var(--color-ink);
  border-radius: 999px;
}
.p5-lm__chat-comp span { flex: 1 1 0; font-size: 14px; line-height: 20px; color: var(--color-graphite); }
.p5-lm__chat-comp b {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 99px;
  background: var(--color-constru); border: 2px solid var(--color-ink);
}

/* ================= Números ================= */
.p5-lm__nums { padding-block: 40px; background: var(--color-ink); }
.p5-lm__nums-list { display: flex; margin: 0; padding: 0; list-style: none; }
.p5-lm__nums-list li {
  display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; min-width: 0;
  padding-inline: 24px;
  border-right: 1.5px solid #27272A;
}
.p5-lm__nums-list li:first-child { padding-left: 0; }
.p5-lm__nums-list li:last-child { padding-right: 0; border-right: 0; }
.p5-lm__nums-list strong { font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 52px; color: #fff; white-space: nowrap; }
.p5-lm__nums-list strong.is-constru { color: var(--color-constru); }
.p5-lm__nums-list strong.is-amber { color: var(--color-amber); }
.p5-lm__nums-list span { font-size: 16px; line-height: 22px; color: #A1A1AA; }

/* ================= 01 · Lista rápida ================= */
.p5-lm__lista { padding-block: 120px; }
.p5-lm__calc {
  display: flex; flex-direction: column; flex: 1 1 0; min-width: 0;
  overflow: hidden;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 24px;
  box-shadow: var(--color-constru) 8px 8px 0;
}
.p5-lm__calc-head {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 16px 24px;
  background: var(--lm-creme);
  border-bottom: 2px solid var(--color-ink);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 16px;
}
.p5-lm__calc-head span:first-child { letter-spacing: 0.14em; color: var(--lm-tijolo); }
.p5-lm__calc-head span:last-child { color: var(--color-graphite); }
.p5-lm__calc-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  border-bottom: 1.5px solid var(--color-hairline);
}
.p5-lm__calc-q { flex: 0 0 64px; font-family: var(--font-mono); font-size: 15px; font-weight: 500; line-height: 20px; color: #000; }
.p5-lm__calc-n { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; font-size: 16px; font-weight: 500; line-height: 22px; color: #000; }
.p5-lm__calc-n small { font-size: 13px; font-weight: 400; line-height: 18px; color: var(--color-graphite); }
.p5-lm__calc-row > b { font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 22px; color: #000; white-space: nowrap; }
.p5-lm__calc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px;
  background: var(--color-ink);
}
.p5-lm__calc-foot span { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; line-height: 16px; color: #A1A1AA; }
.p5-lm__calc-foot b { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 32px; color: #fff; white-space: nowrap; }

/* ================= 02 · Chat que vende ================= */
.p5-lm__vende { padding-block: 120px; background: var(--color-ink); }
.p5-lm__inbox {
  display: flex; flex-direction: column; gap: 16px; flex: 0 0 560px;
  min-height: 620px;
  padding: 28px;
  background: var(--dk-surface);
  border: 2.5px solid #fff;
  border-radius: 28px;
  box-shadow: var(--color-constru) 8px 8px 0;
}
.p5-lm__inbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.p5-lm__inbox-head > strong { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 28px; color: #fff; }
.p5-lm__inbox-tabs { display: flex; gap: 6px; font-size: 12px; font-weight: 600; line-height: 16px; color: var(--dk-muted); }
.p5-lm__inbox-tabs > * { padding: 6px 10px; border: 1.5px solid var(--dk-line); border-radius: 999px; }
.p5-lm__inbox-tabs b { background: #fff; border-color: #fff; color: var(--color-ink); }
.p5-lm__inbox-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border: 1.5px solid var(--dk-line); border-radius: 16px; overflow: hidden; }
.p5-lm__inbox-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1.5px solid var(--dk-line); }
.p5-lm__inbox-list li:first-child { border-top: 0; }
.p5-lm__inbox-list li.is-on { background: var(--dk-sunken); box-shadow: inset 3px 0 0 var(--color-constru); }
.p5-lm__inbox-av {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 99px;
  background: var(--dk-sunken); border: 1.5px solid var(--dk-line);
  font-family: var(--font-display); font-size: 12px; font-weight: 800; color: #fff;
}
.p5-lm__inbox-txt { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.p5-lm__inbox-txt strong { font-size: 14px; font-weight: 700; line-height: 18px; color: #fff; }
.p5-lm__inbox-txt small { overflow: hidden; font-size: 13px; line-height: 18px; color: var(--dk-muted); white-space: nowrap; text-overflow: ellipsis; }
.p5-lm__inbox-tag {
  flex-shrink: 0;
  padding: 4px 9px;
  border: 1.5px solid var(--dk-line);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 14px; color: var(--dk-muted); white-space: nowrap;
}
.p5-lm__inbox-tag--ok { background: rgba(249, 115, 22, .15); border-color: var(--color-constru); color: var(--color-constru); }
.p5-lm__inbox-card {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto;
  padding: 18px;
  background: var(--color-paper);
  border-radius: 18px;
  color: var(--color-ink);
}
.p5-lm__inbox-k { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; line-height: 14px; color: var(--lm-tijolo); }
.p5-lm__inbox-ped { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; }
.p5-lm__inbox-ped b { font-family: var(--font-display); font-weight: 800; white-space: nowrap; }
.p5-lm__inbox-ped--tot { padding-top: 10px; border-top: 1.5px dashed var(--color-hairline); color: var(--color-graphite); font-size: 13px; }
.p5-lm__inbox-ped--tot b { color: var(--color-ink); font-size: 20px; }
.p5-lm__inbox-btn {
  align-self: flex-start;
  padding: 9px 16px;
  background: var(--color-constru);
  border: 2px solid var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 14px; font-weight: 800; line-height: 16px;
}

/* ================= 03 · Pedidos da rede ================= */
.p5-lm__rede {
  height: 760px;
  padding-top: 96px;
  background: var(--lm-creme);
  border-bottom: 2.5px solid var(--color-ink);
  overflow: hidden;
}
.p5-lm__split--rede { align-items: flex-start; gap: 96px; }
.p5-lm__txt--rede { flex: 0 0 560px; padding-top: 72px; }
/* Moldura do celular do Paper (414 × 900, borda 3 + respiro 10). A seção
   corta a parte de baixo, como no artboard. */
.p5-lm__phone {
  flex: 0 0 414px;
  height: 900px;
  padding: 10px;
  background: var(--color-ink);
  border: 3px solid var(--color-ink);
  border-radius: 48px;
  box-shadow: var(--color-constru) 10px 10px 0;
}
.p5-lm__phone img { width: 390px; height: 880px; max-width: none; border-radius: 38px; background: #fff; }

/* ================= Como começa ================= */
.p5-lm__passos { padding-block: 112px; }
.p5-lm__passos .h5-wrap { display: flex; flex-direction: column; gap: 48px; }
.p5-lm__passos-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.p5-lm__passos-list { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.p5-lm__passos-list li {
  display: flex; flex-direction: column; gap: 12px; flex: 1 1 0; min-width: 0;
  padding: 28px;
  border: 2px solid var(--color-ink);
  border-radius: 20px;
  background: var(--color-paper);
}
.p5-lm__passos-list b { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 44px; color: var(--color-constru); }
.p5-lm__passos-list strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 26px; color: #000; }
.p5-lm__passos-list span { font-size: 15px; line-height: 22px; color: var(--color-graphite); }

/* ================= Preço ================= */
.p5-lm__preco {
  padding-block: 112px;
  background: var(--lm-creme);
  border-block: 2.5px solid var(--color-ink);
}
.p5-lm__split--preco { gap: 64px; }
.p5-lm__plano {
  display: flex; flex-direction: column; gap: 20px; flex: 0 0 440px;
  padding: 32px;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 24px;
  box-shadow: var(--color-ink) 8px 8px 0;
}
.p5-lm__plano-valor { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.p5-lm__plano-valor strong { font-family: var(--font-display); font-size: 72px; font-weight: 800; letter-spacing: -0.05em; line-height: 72px; color: #000; }
.p5-lm__plano-valor span { font-size: 16px; font-weight: 500; line-height: 20px; color: var(--color-graphite); }
.p5-lm__plano-lista { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 16px; font-weight: 500; line-height: 22px; color: #000; }
.p5-lm__plano-nota { margin: 0; font-size: 13px; line-height: 18px; text-align: center; color: var(--color-graphite); }

/* ================= FAQ ================= */
.p5-lm__faq { padding-block: 112px; }
.p5-lm__split--faq { align-items: flex-start; gap: 64px; }
.p5-lm__faq-head { display: flex; flex-direction: column; gap: 16px; flex: 0 0 420px; }
.p5-lm__faq-list { display: flex; flex-direction: column; gap: 12px; flex: 1 1 0; min-width: 0; }
.p5-lm__faq-list details {
  border: 2px solid var(--color-ink);
  border-radius: 16px;
  background: var(--color-paper);
  transition: box-shadow .2s ease;
}
.p5-lm__faq-list details[open] { box-shadow: var(--color-ink) 4px 4px 0; }
.p5-lm__faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 24px; color: #000;
}
.p5-lm__faq-list summary::-webkit-details-marker { display: none; }
.p5-lm__faq-list details[open] summary { padding-bottom: 0; padding-top: 20px; }
/* Botão "+" redondo do Paper; aberto ele some, como no artboard. */
.p5-lm__faq-list summary i {
  position: relative; flex-shrink: 0;
  width: 30px; height: 30px;
  border: 2px solid var(--color-ink); border-radius: 99px;
}
.p5-lm__faq-list summary i::before,
.p5-lm__faq-list summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 2px; margin: -1px 0 0 -5px;
  background: var(--color-ink);
}
.p5-lm__faq-list summary i::after { rotate: 90deg; }
.p5-lm__faq-list details[open] summary i { display: none; }
.p5-lm__faq-list details p { margin: 0; padding: 10px 22px 20px; font-size: 16px; line-height: 24px; color: var(--color-graphite); }

/* ================= CTA final ================= */
.p5-lm__final {
  padding-block: 96px;
  background: var(--color-constru);
  border-top: 2.5px solid var(--color-ink);
}
.p5-lm__final-wrap { display: flex; align-items: center; gap: 56px; }
.p5-lm__final-zin { flex-shrink: 0; }
.p5-lm__final-txt { display: flex; flex-direction: column; gap: 14px; flex: 1 1 0; min-width: 0; }
.p5-lm__final-txt .p5-lm__h2 { color: #000; }
.p5-lm__final-txt p { margin: 0; font-size: 18px; line-height: 28px; color: #000; }
.p5-lm__final-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
.p5-lm__final-login { font-size: 14px; font-weight: 600; line-height: 18px; color: #000; text-decoration: underline; text-underline-offset: 3px; }

/* ================= Faixa intermediária (900–1240) =================
   O artboard é 1440; aqui só encolhemos as colunas fixas para caber. */
@media (max-width: 1240px) {
  .p5-lm__h1 { font-size: 72px; line-height: 72px; }
  .p5-lm__hero-side { flex-basis: 360px; }
  .p5-lm__split { gap: 48px; }
  .p5-lm__txt--500 { flex-basis: 420px; }
  .p5-lm__inbox { flex-basis: 480px; }
  .p5-lm__txt--rede { flex-basis: 480px; }
  .p5-lm__split--rede { gap: 56px; }
  .p5-lm__plano { flex-basis: 400px; }
  .p5-lm__faq-head { flex-basis: 320px; }
  .p5-lm__h2--64 { font-size: 56px; line-height: 58px; }
  .p5-lm__nums-list strong { font-size: 40px; line-height: 46px; }
}
@media (max-width: 1080px) {
  .p5-lm__h1 { font-size: 64px; line-height: 64px; }
  .p5-lm__win-nav { display: none; }
  .p5-lm__chat { left: auto; right: 10px; width: 360px; height: 580px; }
  .p5-lm__txt--rede { flex-basis: 440px; padding-top: 24px; }
}

/* ================= Celular (< 900px) ================= */
@media (max-width: 899.98px) {
  .p5-lm__kicker { font-size: 11px; line-height: 14px; }
  .p5-lm__h1 { font-size: 42px; line-height: 44px; letter-spacing: -0.045em; }
  .p5-lm__h2,
  .p5-lm__h2--48,
  .p5-lm__h2--56,
  .p5-lm__h2--64 { font-size: 32px; line-height: 34px; letter-spacing: -0.04em; }
  .p5-lm__lead,
  .p5-lm__hero-lead { font-size: 16px; line-height: 24px; }
  .p5-lm__checks { font-size: 15px; line-height: 21px; gap: 10px; }

  .p5-lm__split,
  .p5-lm__split--rede,
  .p5-lm__split--faq { flex-direction: column; align-items: stretch; gap: 32px; }
  .p5-lm__txt, .p5-lm__txt--500, .p5-lm__txt--rede,
  .p5-lm__inbox, .p5-lm__plano, .p5-lm__faq-head, .p5-lm__calc, .p5-lm__faq-list { flex: none; }
  .p5-lm__txt { gap: 14px; }

  /* Hero: título, texto, botões e depois a janela e o chat empilhados. */
  .p5-lm__hero { height: auto; padding: 40px 0 48px; }
  .p5-lm__hero-wrap { gap: 32px; }
  .p5-lm__hero-top { flex-direction: column; align-items: stretch; gap: 20px; }
  .p5-lm__hero-title { flex: none; gap: 16px; }
  .p5-lm__hero-side { flex: none; gap: 20px; padding: 0; }
  .p5-lm__hero-ctas { flex-direction: column; gap: 12px; }
  .p5-lm__hero-ctas .p5-lm__btn { width: 100%; }
  .p5-lm__stage { display: flex; flex-direction: column; gap: 28px; }
  .p5-lm__win { width: auto; max-width: none; height: auto; margin-right: 6px; box-shadow: var(--color-ink) 6px 6px 0; border-radius: 18px; }
  .p5-lm__win-bar { height: 34px; padding-inline: 12px; }
  .p5-lm__win-url { font-size: 11px; }
  .p5-lm__win-head { gap: 10px; padding: 12px 14px; }
  .p5-lm__win-logo { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
  .p5-lm__win-name strong { font-size: 15px; line-height: 18px; }
  .p5-lm__win-name small { font-size: 11px; line-height: 14px; }
  .p5-lm__win-cart { padding: 5px 10px; font-size: 11px; }
  .p5-lm__win-lista { padding: 16px 14px; gap: 10px; }
  .p5-lm__win-lista > strong { font-size: 20px; line-height: 24px; }
  .p5-lm__win-input { padding: 8px 8px 8px 12px; border-radius: 14px; box-shadow: var(--color-constru) 3px 3px 0; }
  .p5-lm__win-input > span { font-size: 14px; line-height: 19px; }
  .p5-lm__win-img { display: none; }
  .p5-lm__win-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .p5-lm__prod { padding: 8px; gap: 6px; border-radius: 12px; }
  .p5-lm__prod img { height: 88px; border-radius: 8px; }
  .p5-lm__prod > span { font-size: 12.5px; line-height: 16px; }
  .p5-lm__prod > b { font-size: 15px; line-height: 18px; gap: 4px; }
  .p5-lm__prod em { font-size: 11px; }
  .p5-lm__win-inst { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 14px; }
  .p5-lm__win-inst strong { font-size: 16px; line-height: 20px; }
  .p5-lm__chat {
    position: relative; top: auto; left: auto; right: auto;
    width: auto; height: auto; margin: 0 8px 0 4px;
    rotate: 1.2deg; transform-origin: 50% 50%;
    border-radius: 24px; box-shadow: var(--color-constru) 6px 6px 0;
  }
  .p5-lm__chat-body { flex: none; padding-bottom: 4px; }

  /* Números: grade 2 × 2. */
  .p5-lm__nums { padding-block: 28px; }
  .p5-lm__nums-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .p5-lm__nums-list li { padding: 0 16px; }
  .p5-lm__nums-list li:nth-child(odd) { padding-left: 0; }
  .p5-lm__nums-list li:nth-child(even) { padding-right: 0; border-right: 0; }
  .p5-lm__nums-list strong { font-size: 30px; line-height: 34px; }
  .p5-lm__nums-list span { font-size: 13px; line-height: 18px; }

  .p5-lm__lista, .p5-lm__vende { padding-block: 64px; }
  .p5-lm__calc { margin-right: 6px; border-radius: 20px; box-shadow: var(--color-constru) 6px 6px 0; }
  .p5-lm__calc-head { padding: 12px 16px; font-size: 10.5px; }
  .p5-lm__calc-row { gap: 10px; padding: 14px 16px; }
  .p5-lm__calc-q { flex-basis: 48px; font-size: 13px; }
  .p5-lm__calc-n { font-size: 14px; line-height: 19px; }
  .p5-lm__calc-n small { font-size: 12px; line-height: 16px; }
  .p5-lm__calc-row > b { font-size: 15px; }
  .p5-lm__calc-foot { padding: 16px; }
  .p5-lm__calc-foot span { font-size: 10.5px; }
  .p5-lm__calc-foot b { font-size: 22px; line-height: 26px; }

  /* Chat que vende: texto primeiro, mock depois. */
  .p5-lm__split--vende { flex-direction: column-reverse; }
  .p5-lm__inbox { min-height: 0; margin-right: 6px; padding: 18px; gap: 14px; border-radius: 22px; box-shadow: var(--color-constru) 6px 6px 0; }
  .p5-lm__inbox-head > strong { font-size: 19px; line-height: 24px; }
  .p5-lm__inbox-tabs span:last-child { display: none; }
  .p5-lm__inbox-list li { padding: 12px; gap: 10px; }
  .p5-lm__inbox-tag { display: none; }
  .p5-lm__inbox-list li.is-on .p5-lm__inbox-tag { display: none; }
  .p5-lm__inbox-card { padding: 14px; }

  .p5-lm__rede { height: auto; padding-top: 64px; }
  .p5-lm__txt--rede { padding-top: 0; }
  /* Celular: só o terço de cima do aparelho aparece, encostado na borda. */
  .p5-lm__phone {
    align-self: center;
    width: 300px; height: 470px;
    margin-bottom: -2.5px;
    padding: 8px 8px 0;
    border-radius: 38px 38px 0 0;
    border-bottom: 0;
    box-shadow: var(--color-constru) 8px 0 0;
    overflow: hidden;
  }
  .p5-lm__phone img { width: 284px; height: auto; border-radius: 30px 30px 0 0; }

  .p5-lm__passos { padding-block: 64px; }
  .p5-lm__passos .h5-wrap { gap: 28px; }
  /* .p5-lm__passos-list zera margem/padding; o trilho precisa deles de volta
     para sangrar até a borda da tela. */
  .p5-lm__passos-list.h5-rail { gap: 12px; margin-inline: -16px; padding-inline: 16px; }
  .p5-lm__passos-list li { flex: 0 0 82%; padding: 22px; }
  .p5-lm__passos-list b { font-size: 34px; line-height: 38px; }
  .p5-lm__passos-list strong { font-size: 19px; line-height: 23px; }

  .p5-lm__preco { padding-block: 64px; }
  .p5-lm__plano { margin-right: 6px; padding: 24px; box-shadow: var(--color-ink) 6px 6px 0; }
  .p5-lm__plano-valor strong { font-size: 56px; line-height: 56px; }
  .p5-lm__plano-lista { font-size: 15px; }

  .p5-lm__faq { padding-block: 64px; }
  .p5-lm__faq-list summary { padding: 16px 16px; font-size: 16px; line-height: 21px; }
  .p5-lm__faq-list details[open] summary { padding-top: 16px; }
  .p5-lm__faq-list details p { padding: 8px 16px 16px; font-size: 15px; line-height: 22px; }

  .p5-lm__final { padding-block: 56px; }
  .p5-lm__final-wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .p5-lm__final-zin { width: 96px; height: 96px; }
  .p5-lm__final-txt p { font-size: 16px; line-height: 24px; }
  .p5-lm__final-cta { align-items: stretch; width: 100%; }
}

/* O trilho .h5-rail só vale no celular; no desktop os 3 passos ficam lado a
   lado, sem rolagem nem margem negativa. */
@media (min-width: 900px) {
  .p5-lm__passos-list.h5-rail { overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .p5-lm__passos-list.h5-rail > * { flex: 1 1 0; }
}
