/* Páginas públicas da Kary (apresentação, assinatura, convite e situação do plano).
   Usa os tokens e componentes de style.css (cores, botões, campos) e acrescenta o layout. */

.pub { background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
.pub main { flex: 1; min-width: 0; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ---- Topo ---- */
.pub-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.pub-top .wrap { display: flex; align-items: center; gap: var(--s4); min-height: 64px; }
.pub-top .logo { text-decoration: none; color: var(--ink); }
.pub-nav { display: flex; gap: var(--s5); margin-left: var(--s6); }
.pub-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: var(--fs-md); }
.pub-nav a:hover { color: var(--brand-text); }
.pub-actions { margin-left: auto; display: flex; gap: var(--s2); align-items: center; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .theme-btn .sun, :root:not([data-theme="dark"]) .theme-btn .moon { display: none; }
@media (max-width: 860px) { .pub-nav { display: none; } }
@media (max-width: 520px) { .pub-actions .btn.ghost-sm { display: none; } }

/* ---- Hero ---- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-soft), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--brand-text);
  background: var(--brand-soft); padding: .3rem .75rem; border-radius: 999px; margin: 0 0 var(--s4); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 var(--s4); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36rem; margin: 0 0 var(--s6); line-height: 1.55; }
.cta-row { display: flex; gap: var(--s3); flex-wrap: wrap; }
.trust { display: flex; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s6); color: var(--muted); font-size: var(--fs-sm); }
.trust span { display: inline-flex; align-items: center; gap: .4rem; }
.trust svg { width: 16px; height: 16px; stroke: var(--pos); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Ilustração do painel feita só com HTML/CSS */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); padding: var(--s5);
  display: grid; gap: var(--s4); }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mock-head strong { font-size: var(--fs-lg); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 4px var(--pos-soft); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.mock-kpi { background: var(--surface-2); border-radius: 12px; padding: var(--s3); }
.mock-kpi small { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mock-kpi b { display: block; font-size: 1.15rem; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.mock-kpi .up { color: var(--pos); font-size: var(--fs-xs); font-weight: 600; }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: var(--s2); border-bottom: 1px solid var(--line); }
.mock-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--brand) 22%, var(--surface-2)); }
.mock-bars i.hi { background: var(--brand); }
.mock-bars i:nth-child(1) { height: 38%; } .mock-bars i:nth-child(2) { height: 52%; } .mock-bars i:nth-child(3) { height: 44%; }
.mock-bars i:nth-child(4) { height: 66%; } .mock-bars i:nth-child(5) { height: 58%; } .mock-bars i:nth-child(6) { height: 84%; }
.mock-bars i:nth-child(7) { height: 72%; } .mock-bars i:nth-child(8) { height: 92%; } .mock-bars i:nth-child(9) { height: 64%; }
.mock-bars i:nth-child(10) { height: 78%; } .mock-bars i:nth-child(11) { height: 100%; } .mock-bars i:nth-child(12) { height: 70%; }
.mock-alert { display: flex; gap: var(--s3); align-items: center; background: var(--warn-soft); border-radius: 12px; padding: var(--s3); font-size: var(--fs-sm); }
.mock-alert b { color: var(--warn); }

/* ---- Seções ---- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.pub-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.pub-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.02em; margin: 0 0 var(--s3); font-weight: 800; }
.pub-head p { color: var(--ink-2); font-size: var(--fs-lg); margin: 0; line-height: 1.55; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.section:not(.alt) .feature { background: var(--surface); }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s3); }
.feature .fi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 var(--s2); font-size: var(--fs-lg); }
.feature p { margin: 0; color: var(--ink-2); line-height: 1.5; }

/* ---- Planos ---- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: var(--s5); justify-content: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: var(--s6); display: flex; flex-direction: column;
  gap: var(--s4); position: relative; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 12px 32px rgba(255, 31, 31, .12); }
.plan-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: var(--on-brand);
  font-size: var(--fs-xs); font-weight: 700; padding: .25rem .8rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { margin: 0; font-size: 1.25rem; }
.plan .price { display: flex; align-items: baseline; gap: .3rem; }
.plan .price b { font-size: 2.6rem; letter-spacing: -.03em; font-weight: 800; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; flex: 1; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-2); }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: .1rem; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke: var(--pos); }
.plan li.no { color: var(--muted); }
.plan li.no svg { stroke: var(--line-strong); }

.compare-wrap { margin-top: clamp(2rem, 5vw, 3.5rem); overflow-x: auto; }
.compare { min-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--surface-2); font-size: var(--fs-sm); color: var(--ink-2); }
.compare td.c, .compare th.c { text-align: center; width: 9rem; }
.compare .yes { color: var(--pos); font-weight: 700; }
.compare .no { color: var(--muted); }

/* ---- Perguntas ---- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: var(--s3); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--s4) var(--s5); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: var(--s3) 0 0; color: var(--ink-2); line-height: 1.55; }

.cta-band { background: linear-gradient(135deg, #0B0B0B, #1d1d22); color: #fff; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; gap: var(--s5); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 var(--s2); font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.cta-band p { margin: 0; color: #c9c9cf; }

.pub-foot { border-top: 1px solid var(--line); padding: var(--s6) 0; color: var(--muted); font-size: var(--fs-sm); }
.pub-foot .wrap { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }

/* ---- Formulário de assinatura (diálogo) ---- */
.sheet { border: 0; padding: 0; border-radius: 20px; width: min(560px, 100% - 1.5rem); max-height: calc(100dvh - 1.5rem);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md); }
.sheet::backdrop { background: rgba(10, 10, 12, .55); }
.sheet form { padding: var(--s6); display: grid; gap: var(--s4); }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
.sheet-head h2 { margin: 0; font-size: 1.35rem; }
.sheet-head p { margin: .25rem 0 0; }
.x-btn { border: 0; background: var(--surface-2); width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--ink-2); flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); border: 0; padding: 0; margin: 0; min-width: 0; }
.choice label { position: relative; flex-direction: row; align-items: center; gap: .6rem; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  padding: .75rem .85rem; cursor: pointer; font-weight: 600; color: var(--ink); background: var(--surface); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); background: var(--brand-soft); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.choice small { display: block; color: var(--muted); font-weight: 500; }
.secure-note { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.secure-note svg { width: 16px; height: 16px; flex: none; margin-top: .15rem; fill: none; stroke: var(--pos); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Páginas de etapa (assinatura, convite, plano) ---- */
.step-page { display: grid; place-items: center; padding: clamp(1.5rem, 6vw, 4rem) var(--s4); }
.step-card { width: min(520px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 5vw, 2.5rem); display: grid; gap: var(--s4); text-align: center; }
.step-card h1 { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; }
.step-card p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.step-card form { text-align: left; display: grid; gap: var(--s3); }
.step-ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.step-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-ico.ok { background: var(--pos-soft); color: var(--pos); }
.step-ico.warn { background: var(--warn-soft); color: var(--warn); }
.spinner { margin: 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; text-align: left; }
.steps li { display: flex; gap: .6rem; align-items: center; color: var(--muted); }
.steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--pos); }
.steps li.now { color: var(--ink); font-weight: 600; }
.steps li.now::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.login-hint { background: var(--surface-2); border-radius: var(--radius-md); padding: var(--s3); font-size: var(--fs-sm); }
.login-hint b { word-break: break-all; }

.pub .hint { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .mock-kpi b { font-size: .95rem; }
  .mock-alert { display: block; }
  .compare-wrap { display: none; } /* no celular, os cartões dos planos já mostram a comparação */
}

/* ---- Fase comercial: teste grátis e WhatsApp ---- */
.btn.whats { border-color: #1FAF54; color: #138A3F; }
.btn.whats:hover { background: rgba(37, 211, 102, .08); }
:root[data-theme="dark"] .btn.whats { color: #4ADE80; border-color: #22A45A; }
.btn.whats-solid { background: #1FAF54; border-color: #1FAF54; color: #fff; }
.btn.whats-solid:hover { background: #178F44; border-color: #178F44; }
.plan .btn.whats { margin-top: calc(var(--s2) * -1); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pub .check { flex-direction: row; align-items: flex-start; gap: .55rem; font-weight: 500; }
.pub .check input { margin-top: .15rem; flex: none; }
.cta-band .cta-row { margin: 0; }
.cta-band .btn.whats { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.step-card > .btn, .step-card > a.btn { margin: 0; }

/* Dois produtos, a mesma identidade Kary. */
.product-hero .product-intro { border:1px solid var(--line); border-radius:24px; padding:36px; background:var(--surface); }
.product-intro h2 { font-size:clamp(28px,4vw,44px); line-height:1.15; margin:20px 0; letter-spacing:-1.5px; }
.product-intro p { color:var(--muted); line-height:1.7; }
.product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.product-card { padding:36px; border:1px solid var(--line); border-radius:24px; background:var(--surface); display:flex; flex-direction:column; align-items:flex-start; }
.product-number { color:var(--brand-text); font-weight:700; font-size:12px; letter-spacing:1.4px; }
.product-card h2 { font-size:36px; margin:22px 0 12px; letter-spacing:-1px; }
.product-card p { color:var(--muted); line-height:1.7; }
.product-card ul { padding-left:20px; line-height:2; margin:8px 0 28px; flex:1; }
.product-card .btn { width:100%; }
.product-form-label { border-left:3px solid var(--brand); background:var(--surface-2); padding:12px 16px; font-weight:600; }
.product-plans-title { margin:40px 0 20px; }
.pub section[id] { scroll-margin-top:90px; }
@media(max-width:700px) { .product-grid { grid-template-columns:1fr; }.product-card { padding:26px; }.product-hero .product-intro { padding:24px; }.product-card h2 { font-size:30px; }.pub-nav { flex-wrap:wrap; } }
.step-foot { margin: var(--s4) 0 0; text-align: center; font-size: var(--fs-sm); }
.step-foot a { color: var(--ink-2); }

/* ---- Landing (escopo .lp): leve, neutra, vermelho só nas ações principais ---- */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--surface); color: var(--ink); padding: .5rem .8rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.lp .btn.big { min-height: 52px; }
.lp .cta-row { margin-top: var(--s5); }
.lp-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 var(--s4); font-weight: 800; }
.lp-hero h1 em { font-style: normal; color: var(--brand-text); }
.lp-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.15rem); color: var(--ink-2); line-height: 1.55; margin: 0 0 var(--s4); max-width: 34rem; }
.lp-switch { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); max-width: 34rem; }
.lp-choice { display: flex; align-items: center; gap: var(--s3); text-align: left; padding: .9rem 1rem; min-height: 64px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s; }
.lp-choice strong { display: block; font-size: var(--fs-md); }
.lp-choice small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.lp-choice:hover { border-color: var(--ink-2); }
.lp-choice[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.lp-choice:focus-visible, .lp-tabs button:focus-visible, .lp-trial-link:focus-visible { outline: 3px solid var(--info); outline-offset: 2px; }
.lp-choice-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; }
.lp-choice[aria-pressed="true"] .lp-choice-ico { background: var(--brand-soft); color: var(--brand-text); }
.lp-choice-ico svg, .lp-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-product-line { color: var(--ink-2); margin: var(--s4) 0 0; max-width: 34rem; line-height: 1.5; }
.lp-trust { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: var(--fs-sm); }
.lp-trust li::before { content: "✓"; color: var(--pos); font-weight: 700; margin-right: .35rem; }

/* Prints reais em moldura de navegador */
.lp-shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); overflow: hidden; }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-frame { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.lp-frame i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.lp-shot figcaption { padding: .8rem 1rem 1rem; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.45; border-top: 1px solid var(--line); }
.lp-shot figcaption strong { display: block; color: var(--ink); font-size: var(--fs-md); }
.lp-hero-shot { transform: perspective(1600px) rotateY(-4deg); }

/* Para quem é, benefícios e diferenciais */
.lp-audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.lp-card h3 { margin: var(--s2) 0 0; font-size: 1.15rem; }
.lp-card p { margin: 0; color: var(--ink-2); line-height: 1.5; flex: 1; }
.lp-link { color: var(--brand-text); font-weight: 600; text-decoration: none; margin-top: var(--s2); }
.lp-link:hover { text-decoration: underline; }
.lp-tag { align-self: flex-start; display: inline-block; font-size: var(--fs-xs); font-weight: 700; padding: .2rem .6rem; border-radius: 999px; letter-spacing: .02em; vertical-align: middle; }
.tone-brand { background: var(--brand-soft); color: var(--brand-text); }
.tone-info { background: var(--info-soft); color: var(--info); }
.tone-pos { background: var(--pos-soft); color: var(--pos); }
.tone-analysis { background: var(--analysis-soft); color: var(--analysis); }
.tone-neutral { background: var(--surface-2); color: var(--ink-2); }
.lp-benefits, .lp-diffs { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.lp-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-benefits li { padding: var(--s5); border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.lp-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--s3); }
.lp-benefits h3, .lp-diffs h3 { margin: 0 0 var(--s2); font-size: 1.05rem; }
.lp-benefits p, .lp-diffs p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.lp-diffs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-diffs li { padding: var(--s4) 0 0; border-top: 2px solid var(--line); }
.lp-diffs h3 .lp-tag { margin-left: .3rem; }

/* Telas */
.lp-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.lp-tabs button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; padding: .55rem 1rem; min-height: 44px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.lp-tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
#telas .lp-tabs { display: flex; width: max-content; margin: 0 auto var(--s5); }
.lp-gallery { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: var(--s4); }
.lp-gallery .lp-shot-main { grid-row: span 2; }
.lp-gallery .lp-shot-phone img { max-height: 420px; width: auto; margin: 0 auto; }
.lp-gallery .lp-shot-phone { display: flex; flex-direction: column; background: var(--surface-2); }
.lp-gallery .lp-shot-phone figcaption { background: var(--surface); }

/* Planos */
.lp-plan-controls { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-bottom: var(--s6); }
.lp-off { font-size: var(--fs-xs); font-weight: 700; color: var(--pos); margin-left: .2rem; }
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: var(--s5); justify-content: center; align-items: stretch; min-height: 200px; }
.lp-plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); box-shadow: var(--shadow-sm); }
.lp-plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.lp-badge { position: absolute; top: -11px; left: var(--s6); background: var(--surface); color: var(--brand-text); border: 1px solid var(--brand); font-size: var(--fs-xs); font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.lp-plan h3 { margin: 0; font-size: 1.2rem; }
.lp-price { display: flex; align-items: baseline; gap: .3rem; }
.lp-price b { font-size: 2.4rem; letter-spacing: -.03em; font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-price span { color: var(--muted); font-weight: 500; }
.lp-price-sub { margin: -.4rem 0 0; color: var(--muted); font-size: var(--fs-sm); min-height: 1.3em; }
.lp-plan ul { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: .55rem; flex: 1; }
.lp-plan li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-2); line-height: 1.4; }
.lp-plan li svg { flex: none; width: 18px; height: 18px; margin-top: .1rem; fill: none; stroke: var(--pos); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-trial-link { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: var(--fs-sm); text-decoration: underline; cursor: pointer; padding: .4rem; align-self: center; }
.lp-plan-note { text-align: center; color: var(--muted); font-size: var(--fs-sm); max-width: 44rem; margin: var(--s5) auto 0; line-height: 1.5; }
.lp-plan-note + .lp-plan-note { margin-top: var(--s2); }
.lp-plan-empty { grid-column: 1 / -1; text-align: center; display: grid; gap: var(--s3); justify-items: center; color: var(--ink-2); }
.lp-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.lp-wa-summary { margin: 0; padding: .6rem .8rem; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-sm); }
.lp-wa-summary:empty { display: none; }

/* Chamada final clara (sem bloco preto) */
.lp .cta-band.lp-final { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lp .cta-band.lp-final p { color: var(--ink-2); }
.lp .cta-band.lp-final .cta-row { margin-top: 0; }

@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero-shot { transform: none; }
  .lp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-audience, .lp-diffs { grid-template-columns: 1fr 1fr; }
  .lp-gallery { grid-template-columns: 1fr 1fr; }
  .lp-gallery .lp-shot-main { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .lp-switch, .lp-audience, .lp-benefits, .lp-diffs, .lp-gallery, .lp-plans { grid-template-columns: 1fr; }
  .lp .cta-row .btn { flex: 1 1 100%; }
  .lp-plan-controls { flex-direction: column; align-items: stretch; }
  .lp-plan-controls .lp-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .lp-tabs button { padding: .55rem .4rem; font-size: var(--fs-sm); }
  .lp-plan { padding: var(--s5); }
  #telas .lp-tabs { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lp-choice { transition: none; } }
.lp-plan .btn { margin: 0; }
.lp-plan .lp-includes { margin: var(--s2) 0 -.2rem; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.lp-gallery { align-items: start; }
.lp-plan ul { align-content: start; }
