.lp { margin: 0; background: var(--bg-app); color: var(--text-primary); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp p, .lp figure { margin: 0; }
.lp a { color: inherit; text-decoration: none; }
.lp a:focus-visible, .lp-story-step:focus-visible { outline: 2px solid var(--action); outline-offset: 6px; }
.lp a:not(.btn):hover { color: var(--action); }
.lp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-skip { position: fixed; top: -100px; left: 24px; z-index: 50; padding: 12px 20px; background: var(--surface); border-radius: var(--r-sm); }
.lp-skip:focus { top: 16px; }
.lp-header { position: absolute; top: 20px; left: 20px; right: 20px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 8px 8px 8px 20px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 19px; }
.lp-brand { display: inline-flex; flex-shrink: 0; align-items: center; min-height: var(--hit); }
.lp-brand img { object-fit: contain; }
:root[data-theme="light"] .lp-brand img { filter: brightness(0); }
:root[data-glass="glass"] .lp { --text-secondary: var(--text-primary); --text-muted: var(--text-primary); }
.lp-header-nav { display: flex; align-items: center; gap: 8px; font-size: .9643rem; }
.lp-header-nav > a:not(.btn) { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); color: var(--text-primary); transition: background var(--motion), border-color var(--motion); }
.lp-header-nav > a:not(.btn):hover { background: var(--surface-interaction); }
.lp .lp-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill); font-size: 1rem; font-weight: 500; box-shadow: none; transition: background var(--motion), border-color var(--motion); }
.lp-header .lp-button { min-height: 36px; padding: 6px 18px; font-size: .9643rem; }
.lp .btn-primary { color: var(--on-action); }
.lp .btn-secondary { background: transparent; border: 1px solid var(--border-strong); color: var(--text-primary); }
.lp .btn-secondary:hover { background: var(--surface-interaction); }
.lp-hero { --lp-glow-a: rgba(255, 150, 60, .24); --lp-glow-b: rgba(70, 100, 240, .30); position: relative; padding: 148px 24px 96px; color: var(--text-primary); background-color: var(--bg-app); background-image: radial-gradient(ellipse 46% 38% at 62% 66%, var(--lp-glow-a) 0%, var(--lp-glow-b) 40%, transparent 72%); }
:root[data-theme="light"] .lp-hero { --lp-glow-a: rgba(255, 150, 60, .18); --lp-glow-b: rgba(70, 100, 240, .18); }
.lp-hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 64px; max-width: 1200px; margin: auto; }
.lp-hero h1 { font-family: var(--font-body); font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.035em; }
.lp-hero h1 span { color: var(--text-secondary); }
.lp-hero-copy > p { margin: 28px 0 36px; max-width: 560px; font-size: 1.1429rem; line-height: 1.55; color: var(--text-secondary); }
.lp-hero .lp-actions { justify-content: flex-start; }
.lp-hero .lp-button--hero { background: var(--action-fill); border: 1px solid var(--action-fill); color: var(--on-action); }
.lp-hero .lp-button--hero:hover { opacity: .88; }
.lp-hero .lp-button--ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text-primary); }
.lp-hero .lp-button--ghost:hover { background: var(--surface-interaction); }
.lp-hero-points { display: grid; gap: 16px; margin: 0; padding: 28px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.lp-hero-points li { display: flex; align-items: center; gap: 12px; font-size: 1rem; line-height: 1.4; color: var(--text-primary); }
.lp-hero-points svg { flex-shrink: 0; }
.lp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp-journey { position: relative; }
.lp-stage { position: relative; max-width: 1440px; margin: auto; padding: 30px 40px 60px; }
.lp-stage-visual { max-width: 1240px; margin: auto; perspective: 1400px; }
.lp-stage-caption { margin-top: 22px; font-size: .9286rem; text-align: center; color: var(--text-secondary); }
.lp-stage-caption span { color: var(--text-muted); margin-left: 8px; }
.lp-story-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-bottom: 24px; }
.lp-story-nav a { display: flex; align-items: center; min-height: 44px; gap: 8px; font-size: .9286rem; color: var(--text-secondary); }
.lp-nav-number { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.lp-nav-marker { width: 5px; height: 5px; background: var(--border-strong); border-radius: 50%; flex-shrink: 0; }
.lp-story-nav a[aria-current="step"] { color: var(--text-primary); }
.lp-story-nav a[aria-current="step"] .lp-nav-marker { background: var(--action); }
.lp-nav-progress, .lp-stage-copies, .lp-scroll-cue, .lp-story-runway, .lp-story-exit { display: none; }
.lp-story-step { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; max-width: 1240px; margin: auto; padding: 90px 40px; scroll-margin-top: 40px; }
/* Variante invertida: imagem à direita, texto à esquerda (quebra o padrão visual) */
.lp-story-step--invert { direction: rtl; }
.lp-story-step--invert > * { direction: ltr; }
/* Variante lista: sem imagem, lista de features em destaque */
.lp-story-step--list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lp-list-wrap { min-width: 0; }
.lp-feature-list { list-style: none; margin: 0; padding: 0; counter-reset: lp-feature; display: grid; gap: 20px; }
.lp-feature-list li { counter-increment: lp-feature; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 4px; }
.lp-feature-list li strong { grid-column: 1; font-size: 1.1429rem; color: var(--text-primary); font-weight: 500; }
.lp-feature-list li span { grid-column: 1; font-size: .9643rem; color: var(--text-secondary); }
.lp-feature-list li::after { content: counter(lp-feature, decimal-leading-zero); grid-column: 2; grid-row: 1; font-size: 1.1429rem; font-variant-numeric: tabular-nums; color: var(--text-secondary); }
/* Variante tabela: mini-tabela de resultado em vez de imagem */
.lp-story-step--table { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lp-table-wrap { min-width: 0; overflow-x: auto; }
.lp-mini-table { width: 100%; border-collapse: collapse; font-size: .9286rem; }
.lp-mini-table caption { text-align: left; padding-bottom: 12px; color: var(--text-muted); font-size: .8571rem; }
.lp-mini-table th, .lp-mini-table td { padding: 10px 12px; border-top: 1px solid var(--border); text-align: right; }
.lp-mini-table th:first-child, .lp-mini-table td:first-child { text-align: left; }
.lp-mini-table th { color: var(--text-muted); font-weight: 500; font-size: .8571rem; text-transform: uppercase; letter-spacing: .06em; }
.lp-mini-table td { color: var(--text-primary); }
.lp-mini-table tr:last-child td { border-bottom: 1px solid var(--border); }
.lp .lp-section-number { margin-bottom: 22px; font-size: .9286rem; color: var(--text-muted); }
.lp-copy h2 { font-family: var(--font-head); font-size: clamp(1.75rem, 2.8vw, 2.25rem); line-height: 1.11; font-weight: 500; letter-spacing: 0; }
.lp-copy > p:not(.lp-section-number) { margin-top: 22px; line-height: 1.6; color: var(--text-secondary); font-size: 1.1429rem; }
.lp-copy ul { list-style: none; display: grid; gap: 14px; margin: 28px 0 0; padding: 0; color: var(--text-secondary); font-size: 1rem; }
.lp-copy li { padding: 0; }
.lp-inline-preview { min-width: 0; }
.lp-inline-preview figcaption { margin-top: 16px; color: var(--text-muted); font-size: .8571rem; }
.lp-final { position: relative; isolation: isolate; padding: 144px 24px 120px; text-align: center; border-top: 1px solid var(--border); background: var(--bg-structural); }
/* Dusk violet wash: único acento em gradiente fora do hero (DESIGN.md, Gradient System). */
.lp-final::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: 160px; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 40%, rgba(107, 98, 242, .565) 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0)); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.lp .lp-final-brand { color: var(--text-muted); font-size: 1rem; margin-bottom: 28px; }
.lp-final h2 { font-family: var(--font-body); font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.lp-final > p:not(.lp-final-brand) { margin: 24px 0 32px; color: var(--text-secondary); font-size: 1.1429rem; line-height: 1.6; }
.lp-footer { display: flex; align-items: center; gap: 32px; max-width: 1600px; margin: auto; padding: 32px 40px; }
.lp-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; font-size: .9286rem; color: var(--text-secondary); }
.lp-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.lp-footer > small { color: var(--text-muted); font-size: .8571rem; white-space: nowrap; }

@media (min-width: 701px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .lp-enhanced .lp-stage { position: sticky; top: 0; height: 100svh; max-width: none; padding: 0; isolation: isolate; z-index: 1; }
  .lp-enhanced .lp-stage-visual { position: absolute; width: min(1040px, calc(100vw - 240px)); max-width: none; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
  .lp-enhanced .lp-story-track { position: relative; margin-top: -100svh; }
  .lp-enhanced .lp-story-runway { display: block; height: 85svh; pointer-events: none; }
  .lp-enhanced .lp-story-exit { display: block; height: 100svh; pointer-events: none; }
  .lp-enhanced .lp-story-step { display: block; position: relative; height: 120svh; max-width: none; padding: 0; pointer-events: none; scroll-margin-top: 0; }
  .lp-enhanced .lp-story-step > .lp-copy { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .lp-enhanced .lp-inline-preview { display: none; }
  .lp-enhanced .lp-story-nav { position: absolute; top: 24px; left: 24px; right: 24px; margin: 0; justify-content: center; opacity: var(--lp-reveal, 0); visibility: hidden; }
  .lp-enhanced.lp-story-started .lp-story-nav { visibility: visible; }
  .lp-enhanced .lp-nav-progress { display: block; position: absolute; height: 2px; bottom: -6px; left: 0; right: 0; background: var(--border); }
  .lp-enhanced .lp-nav-progress > span { display: block; height: 100%; background: var(--action); transform-origin: left; transform: scaleX(var(--lp-progress, 0)); }
  .lp-enhanced .lp-stage-copies { display: block; position: absolute; top: 100px; left: 90px; right: 60px; pointer-events: none; }
  .lp-enhanced .lp-stage-copies .lp-copy { position: absolute; inset: 0 auto auto 0; width: min(640px, 100%); opacity: 0; visibility: hidden; }
  .lp-enhanced .lp-stage-copies .lp-section-number { margin-bottom: 12px; }
  .lp-enhanced .lp-stage-copies h2 { font-size: clamp(1.7143rem, 2.5vw, 2.2857rem); max-width: 640px; }
  .lp-enhanced .lp-stage-copies p:not(.lp-section-number) { margin-top: 14px; font-size: 1rem; max-width: 640px; }
  .lp-enhanced .lp-stage-copies ul { display: none; }
  .lp-enhanced .lp-stage-caption { opacity: 1; }
  .lp-enhanced .lp-scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; color: var(--text-muted); font-size: .9286rem; opacity: calc(1 - var(--lp-reveal, 0)); }
  .lp-scroll-line { display: block; width: 1px; height: 28px; background: var(--border-strong); }
}

@media (min-width: 1100px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .lp-enhanced .lp-story-step { height: 140svh; }
  .lp-enhanced .lp-story-nav { display: flex; flex-direction: column; top: 50%; left: 32px; right: auto; width: 160px; transform: translateY(-50%); align-items: stretch; gap: 8px; }
  .lp-enhanced .lp-story-nav a { position: relative; gap: 10px; font-size: .9643rem; min-height: 48px; }
  .lp-enhanced .lp-nav-number { order: 2; margin-left: auto; color: var(--text-secondary); }
  .lp-enhanced .lp-nav-marker { position: relative; width: 5px; transition: width var(--motion), background var(--motion); }
  .lp-enhanced .lp-story-nav a[aria-current="step"] .lp-nav-marker { width: 19px; border-radius: 2px; }
  .lp-enhanced .lp-nav-progress { left: 0; right: auto; top: -28px; bottom: -28px; width: 1px; height: auto; z-index: -1; }
  .lp-enhanced .lp-nav-progress > span { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--lp-progress, 0)); }
  .lp-enhanced .lp-stage-copies { left: 230px; }
  .lp-enhanced .lp-stage-visual { width: min(1040px, calc(100vw - 260px)); }
}

@media (min-width: 1400px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .lp-enhanced .lp-stage-visual { width: min(1240px, calc(100vw - 496px), calc((100svh - 100px) * 1.44)); }
  .lp-enhanced .lp-stage-copies { left: max(200px, calc((100vw - 1600px) / 2 + 190px)); right: auto; top: 50%; width: 240px; height: 0; }
  .lp-enhanced .lp-stage-copies .lp-copy { width: 240px; translate: 0 -50%; }
  .lp-enhanced .lp-stage-copies h2 { font-size: 2rem; }
  .lp-enhanced .lp-stage-copies p:not(.lp-section-number) { margin-top: 22px; font-size: 1rem; }
  .lp-enhanced .lp-stage-copies ul { display: block; }
  .lp-enhanced .lp-stage-copies .lp-section-number { margin-bottom: 22px; }
  .lp-enhanced .lp-story-nav { left: max(24px, calc((100vw - 1600px) / 2 + 24px)); width: 148px; }
}

@media (max-width: 1050px) {
  .lp-header-nav { gap: 6px; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-story-step { gap: 32px; padding: 64px 24px; }
  .lp-footer { flex-wrap: wrap; padding: 32px 24px; }
  .lp-journey:not(.lp-enhanced) .lp-story-step { grid-template-columns: 1fr; max-width: 700px; }
}

@media (max-width: 700px), (max-height: 699px), (prefers-reduced-motion: reduce),
  (min-width: 701px) and (max-width: 899px) and (max-height: 949px),
  (min-width: 900px) and (max-width: 1050px) and (max-height: 849px) {
  .lp-stage { padding: 24px 24px 48px; }
  .lp-stage > .lp-story-nav { margin-top: 24px; }
  .lp-story-step { grid-template-columns: 1fr; max-width: 700px; gap: 32px; padding: 56px 24px; }
  .lp-copy h2 { max-width: 700px; }
  .lp-copy > p:not(.lp-section-number) { max-width: 620px; }
  .lp-stage-caption span { display: block; margin: 6px 0 0; }
}

@media (max-width: 700px) {
  .lp-header { top: 16px; left: 16px; right: 16px; gap: 12px; padding: 6px 6px 6px 16px; }
  .lp-header .lp-brand img { width: 120px; height: 30px; }
  .lp-header-nav { gap: 6px; }
  .lp .lp-header-nav .lp-header-story, .lp .lp-header-nav .lp-header-contact, .lp .lp-header-nav .btn { display: none; }
  .lp-hero { padding: 112px 20px 56px; }
  .lp-hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.25rem); }
  .lp-hero-copy > p { margin: 22px 0 28px; font-size: 1.0714rem; }
  .lp-hero-points { padding: 22px; }
  .lp-desktop-break { display: none; }
  .lp .lp-button { padding: 12px 17px; font-size: .9643rem; }
  .lp-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-right: auto; margin-left: auto; }
  .lp-stage { padding: 24px 20px 32px; }
  .lp-stage-visual { margin-top: 12px; }
  .lp-story-nav { gap: 4px 14px; }
  .lp-story-nav a { font-size: .9286rem; }
  .lp .lp-section-number { margin-bottom: 18px; }
  .lp-copy ul { margin-top: 22px; }
  .lp-final { padding: 96px 24px 72px; }
  .lp-final h2 { font-size: clamp(2rem, 8.3vw, 3rem); }
  .lp-footer { align-items: flex-start; gap: 16px; padding: 28px 24px; }
  .lp-footer nav { width: 100%; margin: 0; flex-direction: column; align-items: flex-start; gap: 0; }
  .lp-footer > small { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition: none; animation: none; scroll-behavior: auto; }
}

@media (min-width: 701px) and (max-width: 1200px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .lp-enhanced .lp-stage-visual { width: min(calc(100vw - 260px), calc((100svh - 368px) * 1.44)); }
}

@media (min-width: 701px) and (max-width: 1050px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .lp-enhanced .lp-stage-copies { top: 144px; left: 60px; right: 60px; }
}

@media (max-width: 700px) {
  .lp-inline-preview { margin-inline: -8px; }
  .lp-stage { display: flex; flex-direction: column; }
  .lp-stage-visual { order: 0; width: 100%; }
  .lp-stage > .lp-story-nav { order: 1; margin: 28px 0 0; }
}

.lp-product { position: relative; width: 100%; aspect-ratio: 1440 / 1000; overflow: hidden; border: 1px solid var(--border-strong); border-bottom: 0; border-radius: 40px 40px 0 0; background: var(--bg-app); box-shadow: none; transform: rotateX(var(--lp-tilt, 0deg)); transform-style: preserve-3d; }
.lp-product picture { display: block; width: 100%; height: 100%; }
.lp-product img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lp-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform-origin: center; }
.lp-screen:first-child { opacity: 1; visibility: visible; }
@media (max-width: 700px) {
  .lp-product { aspect-ratio: 390 / 844; max-width: 390px; margin: auto; }
}

/* Índice da história: itens sem quebra interna e em grade nas larguras estreitas (evita item órfão). */
.lp-story-nav a { white-space: nowrap; }
@media (max-width: 960px) {
  .lp-story-nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; }
}
@media (max-width: 560px) {
  .lp-story-nav { grid-template-columns: repeat(2, auto); }
}
/* Link Contato do cabeçalho: mesma cor dos demais links, sem azul do navegador. */
.lp-header-nav > a.lp-header-contact:link,
.lp-header-nav > a.lp-header-contact:visited { color: var(--text-secondary); }
.lp-header-nav > a.lp-header-contact:hover,
.lp-header-nav > a.lp-header-contact:focus-visible { color: var(--text-primary); }
:root[data-motion="reduce"] .lp *, :root[data-motion="reduce"] .lp *::before, :root[data-motion="reduce"] .lp *::after { transition: none; animation: none; scroll-behavior: auto; }
