/* Landing page — a "mesa de impressão" como palco; a demonstração do precificador é o herói. */
.lp { overflow-x: hidden; }
.lp-container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.lp-nav { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.lp-nav .inner { display: flex; align-items: center; gap: 18px; padding: 10px 14px 10px 18px; border-radius: 16px; }
.lp-nav a.link { color: inherit; text-decoration: none; opacity: .8; font-size: .95rem; }
.lp-nav a.link:hover { opacity: 1; }
.lp-nav .brand { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque"; font-weight: 700; font-size: 1.15rem; color: inherit; text-decoration: none; }
@media (max-width: 860px) { .lp-nav .links { display: none !important; } }

section.lp-sec { padding: 96px 0; }
.lp-h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.08; margin: 0 0 14px; max-width: 22ch; }
.lp-lead { font-size: 1.15rem; color: var(--tblr-secondary); max-width: 60ch; }

/* ---------- Hero ---------- */
.lp-hero { padding: 72px 0 64px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 991px) { .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--p3-teal); font-weight: 600; margin-bottom: 18px; }
.lp-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--p3-gold); }
.lp-title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 22px; }

/* Momento único de movimento: o título "imprime" camada por camada, de baixo para cima */
.lp-title .layer { display: block; clip-path: inset(100% 0 0 0); animation: print-layer .55s steps(6, end) forwards; }
.lp-title .layer:nth-last-child(1) { animation-delay: .05s; }
.lp-title .layer:nth-last-child(2) { animation-delay: .5s; }
.lp-title .layer:nth-last-child(3) { animation-delay: .95s; }
.lp-title .layer:nth-last-child(4) { animation-delay: 1.4s; }
@keyframes print-layer { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .lp-title .layer { clip-path: none; animation: none; } }

.lp-sub { font-size: 1.2rem; line-height: 1.55; color: var(--tblr-secondary); max-width: 52ch; margin-bottom: 30px; }
.lp-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.lp-stats b { display: block; font-family: "Bricolage Grotesque"; font-size: 1.5rem; }
.lp-stats span { color: var(--tblr-secondary); font-size: .9rem; }
.lp-media { width: 100%; border-radius: 20px; }

/* Demonstração do precificador */
.demo { border-radius: 22px; padding: 26px; position: relative; }
.demo::after { /* linhas de camada na borda inferior, como uma peça impressa */
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -10px; height: 10px; border-radius: 0 0 12px 12px;
  background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--p3-teal) 45%, transparent) 0 2px, transparent 2px 4px); opacity: .7;
}
.demo h3 { margin: 0 0 4px; font-size: 1.05rem; }
.demo .row-range { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin-top: 16px; }
.demo .row-range output { font-weight: 700; font-variant-numeric: tabular-nums; }
.demo .row-range input { grid-column: 1 / -1; }
.demo-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--p3-glass-edge); }
.demo-result .v { font-family: "Bricolage Grotesque"; font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.demo-result .v.gold { color: var(--p3-gold); }
.demo-result .l { color: var(--tblr-secondary); font-size: .85rem; }
.demo-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; margin-top: 16px; }
.demo-bar span { transition: width .2s ease; }
.demo-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--tblr-secondary); margin-top: 8px; }
.demo-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }

/* ---------- Benefícios: lista com régua, não cartões idênticos ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 40px; }
.benefit { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--p3-glass-edge); }
.benefit .ti { font-size: 1.6rem; color: var(--p3-teal); }
.benefit h3 { margin: 0 0 6px; font-size: 1.2rem; }
.benefit p { margin: 0; color: var(--tblr-secondary); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Funcionalidades: mosaico com 1 destaque ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.feature { border-radius: 16px; padding: 22px; }
.feature:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--p3-teal) 22%, var(--p3-glass)), var(--p3-glass)) !important; }
.feature:first-child h3 { font-size: 1.7rem; }
.feature .ti { font-size: 1.5rem; color: var(--p3-teal); }
.feature h3 { margin: 12px 0 6px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--tblr-secondary); font-size: .95rem; }
@media (max-width: 991px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature:first-child { grid-column: auto; } }

/* ---------- Como funciona (sequência real → numerada) ---------- */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; counter-reset: how; }
.how-step { counter-increment: how; position: relative; padding-top: 58px; }
.how-step::before { content: counter(how); position: absolute; top: 0; left: 0; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--p3-gold); }
.how-step::after { content: ""; position: absolute; top: 20px; left: 48px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--p3-glass-edge) 0 6px, transparent 6px 12px); }
.how-step:last-child::after { display: none; }
.how-step h3 { font-size: 1.15rem; margin: 0 0 6px; }
.how-step p { color: var(--tblr-secondary); margin: 0; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr 1fr; } .how-step::after { display: none; } }

/* ---------- Vídeo ---------- */
.lp-video { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; margin-top: 32px; }
.lp-video video, .lp-video iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 36px; }
.quote { border-radius: 16px; padding: 24px; }
.quote p { font-size: 1.08rem; line-height: 1.55; margin: 0 0 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* ---------- Planos ---------- */
.cycle-switch { display: inline-flex; padding: 4px; border-radius: 12px; gap: 4px; margin: 26px 0 30px; }
.cycle-switch button { border: 0; background: transparent; padding: 8px 18px; border-radius: 9px; color: inherit; font-weight: 600; }
.cycle-switch button[aria-pressed="true"] { background: var(--p3-teal); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.plan { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan.hl { outline: 2px solid var(--p3-gold); outline-offset: -2px; }
.plan .tag { align-self: flex-start; font-size: .8rem; font-weight: 700; color: #1c1600; background: var(--p3-gold); padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.plan h3 { font-size: 1.4rem; margin: 0; }
.plan .price { font-family: "Bricolage Grotesque"; font-size: 2.6rem; font-weight: 800; margin: 14px 0 2px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--tblr-secondary); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 8px; }
.plan li { display: flex; gap: 8px; }
.plan li .ti { color: var(--p3-teal); }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-top: 30px; }
.faq details { border-top: 1px solid var(--p3-glass-edge); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--p3-teal); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--tblr-secondary); max-width: 68ch; }

/* ---------- CTA final ---------- */
.lp-cta { border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .lp-cta { grid-template-columns: 1fr; padding: 32px; } }

.lp-footer { padding: 40px 0 60px; color: var(--tblr-secondary); font-size: .92rem; }
.lp-footer a { color: inherit; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7); text-decoration: none; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* Telas de autenticação */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(440px, 100%); border-radius: 20px; padding: 32px; }
.auth-card.wide { width: min(640px, 100%); }
.auth-card h1 { font-size: 1.7rem; margin: 18px 0 6px; }
