/* Frenum — página inicial (index.html)
   Usa as cores, fontes e componentes de styles.css. A ideia visual é um horizonte: um planeta
   enorme e escuro nascendo no pé de cada seção, com a borda acesa em ciano, e as peças reais do app
   flutuando na frente dele. Nada de fundo animado pesado: luzes são degradês fixos. */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.lp { overflow-x: hidden; }
.lp main { display: block; }

/* ---------- Barra do topo ---------- */
.lp-top {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg); /* sólida: o conteúdo que passa por baixo não aparece atrás do logo */
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.lp-top.scrolled { border-bottom-color: var(--line); }
.lp-top-in { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 32px; }
.lp-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); text-decoration: none; }
.lp-brand svg { width: 28px; height: 28px; }
.lp-brand span { font: 700 21px/1 var(--font-display); letter-spacing: -.05em; }
.lp-nav { display: flex; gap: 26px; margin-right: auto; }
.lp-nav a, .lp-link { font-size: 14px; font-weight: 500; color: var(--fg-2); text-decoration: none; transition: color .2s; }
@media (hover: hover) { .lp-nav a:hover, .lp-link:hover { color: var(--fg); } }
.lp-top-cta { display: flex; align-items: center; gap: 18px; }
.lp-top-cta[hidden] { display: none; }

/* ---------- Topo (hero) ---------- */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding: 76px 24px 0; text-align: center; }
.lp-hero-in { position: relative; max-width: 900px; margin: 0 auto; }
.lp-mark { display: block; width: 76px; height: 76px; margin: 0 auto 28px; overflow: visible; filter: drop-shadow(0 12px 34px color-mix(in srgb, var(--accent) 38%, transparent)); }
/* a fita dobra ao chegar: o braço de cima entra, a haste desce, o braço do meio vem por último */
.lp-mark .bm-fold { transform-origin: 6px 5px; animation: gFold .8s var(--ease) both .1s; }
.lp-mark .bm-top { animation: gTop .9s var(--ease) both .3s; }
.lp-mark .bm-bot { animation: gTop .9s var(--ease) both .45s; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 5px 15px 5px 5px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  font-size: 13.5px; color: var(--fg-2);
  animation: rise .7s var(--ease) both .2s;
}
.lp-pill { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.lp-title {
  margin: 0; font: 700 clamp(46px, 7.6vw, 100px)/.96 var(--font-display);
  letter-spacing: -.058em; font-variation-settings: "opsz" 96; text-wrap: balance;
}
.lp-title em { font-style: normal; font-weight: 300; color: var(--accent); letter-spacing: -.045em; }
.lp-lead {
  max-width: 580px; margin: 24px auto 0; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.55;
  color: var(--fg-2); text-wrap: pretty; animation: rise .8s var(--ease) both .55s;
}
.lp-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: rise .8s var(--ease) both .7s; }
.lp-actions[hidden] { display: none; }
.lp-ghost { background: transparent; border-color: var(--line-2); }
@media (hover: hover) { .lp-ghost:hover { background: var(--surface-2); } }
.lp-note { font-size: 13.5px; color: var(--fg-2); }

/* ---------- Horizonte ---------- */
.lp-horizon { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hz-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 42% at 50% 100%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 72%),
    radial-gradient(40% 30% at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0 / 24px 24px;
  /* some nas duas bordas: sem faixa reta onde a seção começa */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 60%, transparent);
}
/* o planeta: um círculo do tamanho de 1,6 tela, escuro, com a borda acesa nascendo no pé da seção */
.hz-planet {
  position: absolute; left: 50%; bottom: 0; width: max(1500px, 160vw); aspect-ratio: 1;
  translate: -50% calc(100% - var(--cap, 250px)); border-radius: 50%;
  background: radial-gradient(closest-side, var(--bg) 97%, color-mix(in srgb, var(--accent) 30%, var(--bg)));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent),
    0 -10px 40px -6px color-mix(in srgb, var(--accent) 55%, transparent),
    0 -60px 160px -30px color-mix(in srgb, var(--accent-2) 55%, transparent),
    inset 0 40px 90px -40px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: opacity 1.2s var(--ease);
}
/* a Terra: globo de pontos (js/landing.js, biblioteca cobe) que gira devagar e se arrasta.
   Entra no lugar do planeta de CSS, que fica de reserva se o WebGL ou a biblioteca faltarem. */
.hz-globe {
  position: absolute; left: 0; right: 0; top: 0; height: 0;
  opacity: 0; transition: opacity 1.4s var(--ease);
  pointer-events: auto; touch-action: pan-y; -webkit-tap-highlight-color: transparent;
}
.hz-globe canvas { display: block; }
.has-globe .hz-globe { opacity: 1; }
.has-globe .hz-planet { opacity: 0; }
@media (hover: hover) { .hz-globe.grab { cursor: grab; } }
.hz-globe.grabbing { cursor: grabbing; }

/* ---------- Demonstração do lançamento rápido ---------- */
.lp-demo {
  /* o vão acima dos cartões é onde a curva da Terra aparece */
  position: relative; max-width: 900px; margin: 128px auto 0; padding-bottom: 72px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; text-align: left;
  animation: rise 1s var(--ease) both .9s;
}
.lp-demo-panel, .lp-demo-result {
  border-radius: 24px; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), var(--edge);
}
.lp-demo-panel { padding: 14px 14px 16px; }
.lp-demo-head { display: flex; align-items: center; gap: 6px; padding: 2px 4px 14px; }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.lp-demo-name { margin-left: 8px; font-size: 12.5px; color: var(--muted); }
.lp-pause {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
  border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--fg-2);
  font: 500 12.5px var(--font-body); cursor: pointer;
}
.lp-pause svg { width: 12px; height: 12px; }
.lp-pause[aria-pressed="true"] { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.lp-qf { pointer-events: none; }
.lp-typed { font: 500 16px var(--font-body); color: var(--fg); white-space: pre; }
.lp-caret { flex: none; width: 2px; height: 20px; margin: 0 auto 0 1px; border-radius: 1px; background: var(--accent); animation: lpCaret 1s steps(1) infinite; }
@keyframes lpCaret { 50% { opacity: 0; } }
.lp-go { flex: none; pointer-events: none; transition: transform .18s var(--spring), background-color .2s, color .2s; }
.lp-go.press { transform: scale(.92); background: var(--accent); color: var(--cta-ink); }
.lp-chips { margin-top: 14px; min-height: 31px; display: flex !important; }
.lp-chips .qc-wrap { animation: chipPop .45s var(--spring) both; animation-delay: calc(var(--ci, 0) * 90ms); }

.lp-demo-result { position: relative; min-height: 210px; overflow: hidden; }
.lp-res { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; animation: lpResIn .55s var(--ease) both; }
.lp-res.out { animation: lpResOut .3s var(--ease) both; }
@keyframes lpResIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes lpResOut { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
.lp-res .ccard { width: 100%; max-width: 270px; align-self: center; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .8); }
.lp-bill { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-bill small { display: block; font-size: 12px; color: var(--muted); }
.lp-bill b { font: 650 22px/1.1 var(--font-num); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-delta { font: 600 13px var(--font-num); font-variant-numeric: tabular-nums; color: var(--fg-2); padding: 4px 9px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
.lp-delta.pos { color: var(--pos); background: var(--pos-soft); }
.lp-delta.neg { color: var(--neg); background: var(--neg-soft); }
.lp-tile { justify-content: center; }
.lp-tile small { font-size: 12.5px; color: var(--muted); }
.lp-tile b { display: block; margin: 6px 0 10px; font: 650 38px/1 var(--font-num); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* ---------- Mercado agora ---------- */
.lp-strip { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.lp-strip[hidden] { display: none; }
/* sem rolagem escondida: as cotações quebram linha quando faltar espaço */
.lp-strip-in { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
.lp-live { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--fg-2); white-space: nowrap; }
.lp-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--pos); }
.lp-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
.lp-quotes { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.lp-q { display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.lp-q span { font-size: 13px; color: var(--muted); }
.lp-q b { font: 600 16px var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.lp-q em { font: 500 12.5px var(--font-num); font-style: normal; font-variant-numeric: tabular-nums; }
.lp-q em.up { color: var(--pos); }
.lp-q em.down { color: var(--neg); }

/* ---------- Seções ---------- */
.lp-sec { max-width: 1180px; margin: 0 auto; padding: 120px 24px 0; }
.lp-sec-head { max-width: 680px; margin-bottom: 46px; }
.lp-kicker { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--accent); }
.lp-h2 {
  margin: 0; font: 700 clamp(36px, 4.8vw, 60px)/1 var(--font-display);
  letter-spacing: -.05em; font-variation-settings: "opsz" 96; text-wrap: balance;
}
.lp-h2 em { font-style: normal; font-weight: 300; color: var(--accent); letter-spacing: -.04em; }
.lp-h2.xl { font-size: clamp(44px, 6.6vw, 88px); }
.lp-sub { margin: 18px 0 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }

/* ---------- Blocos de recursos ---------- */
.lp-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.lp-b {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 24px; min-height: 400px; padding: 28px;
  border-radius: 28px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--edge);
}
/* uma luz fria no canto de cada bloco, fixa */
.lp-b::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px 260px at 0% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
}
.b-dial { grid-column: span 5; }
.b-cards { grid-column: span 7; }
.b-line { grid-column: span 7; }
.b-gauge { grid-column: span 5; }
.b-goal { grid-column: span 5; }
.b-bars { grid-column: span 7; }
.lp-b-k { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.lp-b-txt h3 { margin: 0 0 10px; font: 650 24px/1.12 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.lp-b-txt h3 em { font-style: normal; font-weight: 300; color: var(--accent); }
.lp-b-txt p:last-child { margin: 0; max-width: 48ch; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.lp-b-show { flex: 1; display: grid; place-items: center; min-height: 210px; }
/* gráficos ocupam a largura toda (o centralizador dos outros blocos encolheria as barras) */
.b-line .lp-b-show, .b-bars .lp-b-show { display: block; place-items: normal; }

/* pilha de cartões: o da frente reto, os de trás abertos em leque; tocar manda o da frente para trás */
/* a pilha é item da coluna flex do bloco: align-self é o que a centraliza (justify-self não vale em flex) */
.lp-stack { --spx: 1; --spr: 1; position: relative; width: min(100%, 460px); height: 250px; align-self: center; cursor: pointer; outline-offset: 8px; border-radius: 20px; }
/* com o ponteiro em cima, o leque abre para os lados e fica na mesma altura: não sobe no texto do bloco */
.lp-stack:focus-visible { --spx: 1.7; --spr: 1.25; }
@media (hover: hover) { .lp-stack:hover { --spx: 1.7; --spr: 1.25; } }
.lp-stack .ccard {
  position: absolute; left: 50%; top: 50%; width: min(300px, 78%);
  translate: -50% -50%; z-index: var(--z);
  transform: translate(calc(var(--x) * var(--spx)), var(--y)) rotate(calc(var(--r) * var(--spr))) scale(var(--s, 1));
  transition: transform .7s var(--spring), filter .4s var(--ease);
  box-shadow: 0 26px 44px -24px rgba(0, 0, 0, .85);
}
.lp-stack .ccard:not(.front) { filter: brightness(.82); }
.lp-stack:focus-visible .ccard:not(.front) { filter: brightness(.95); }
@media (hover: hover) { .lp-stack:hover .ccard:not(.front) { filter: brightness(.95); } }
.lp-stack-tip { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* meta de exemplo */
.lp-goal { width: min(100%, 380px); padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface-2); }
.lp-goal-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-goal-name { font-size: 15px; font-weight: 600; }
.lp-goal .goal-pct { margin: 10px 0 4px; }
.lp-goal-amt { margin: 6px 0 14px; font-size: 13.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.lp-goal-amt b { color: var(--fg); font-weight: 650; }
.lp-goal-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-goal .pill { margin-left: auto; }

.lp-more { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-more li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--fg-2); }

/* ---------- Privacidade ---------- */
.lp-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-t { padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.lp-t-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.lp-t-ico svg { width: 21px; height: 21px; }
.lp-t h3 { margin: 0 0 8px; font: 650 19px/1.2 var(--font-display); letter-spacing: -.025em; }
.lp-t p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.lp-t a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Chamada final ---------- */
/* Uma maquininha imprime o cupom do Frenum: seis itens a 0,00, total zero, carimbo "grátis".
   O papel sobe pela fenda aos trancos, como numa térmica; tocar no cupom destaca e imprime outro. */
.lp-final { position: relative; margin-top: 120px; padding: 40px 24px 120px; }
.lp-final-in {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px;
}
.lp-final .lp-sub { max-width: 430px; }

.pos { position: relative; display: flex; flex-direction: column; align-items: center; width: 320px; }
/* a fenda corta o papel só embaixo (inset negativo): em cima e dos lados a sombra e o voo do cupom ficam livres */
.pos-feed {
  position: relative; z-index: 2; margin-bottom: -22px;
  clip-path: inset(-600px -160px 0 -160px);
  transform-origin: 50% 100%; transition: rotate .9s var(--ease);
}
.pos.done .pos-feed { cursor: pointer; }
.pos-paper {
  position: relative; width: 256px; padding: 18px 16px 30px;
  background: #f4f1e8; color: #24272a;
  font: 400 11.5px/1.62 var(--font-mono); font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 22px 40px -24px rgba(0, 0, 0, .75);
}
/* a ponta serrilhada de onde o cupom anterior foi destacado */
.pos-paper::before {
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M0 8 5 1l5 7z' fill='%23f4f1e8'/%3E%3C/svg%3E") 0 0 / 10px 8px repeat-x;
}
.pos-paper p { margin: 0; }
.rc-c { text-align: center; }
.rc-brand { margin-bottom: 2px !important; padding-left: .34em; font-size: 16px; font-weight: 600; letter-spacing: .34em; }
.rc-b { font-weight: 600; letter-spacing: .08em; }
.rc-dim { color: #74776f; }
.rc-row { display: flex; justify-content: space-between; gap: 10px; white-space: nowrap; }
.rc-hr { height: 0; margin: 8px 0 !important; border-top: 1.5px dashed #9c9e95; }
.rc-total { margin: 2px 0 !important; font-size: 15px; font-weight: 600; }
.rc-bars { display: flex; justify-content: center; height: 38px; margin: 12px 0 6px !important; }
.rc-bars i { display: block; height: 100%; background: #24272a; }
/* carimbo: tinta azul-petróleo, torto, aparece com uma batida depois que o papel termina de sair.
   Fica numa faixa em branco do cupom, como faz quem carimba no caixa: não cobre o total nem o código */
.rc-mark { display: grid; place-items: center; height: 58px; margin: 6px 0 2px !important; border-top: 1.5px dashed #9c9e95; padding-top: 6px; }
.rc-stamp {
  display: block; padding: 5px 12px 4px; border: 2.5px solid currentColor; border-radius: 9px;
  outline: 1.5px solid currentColor; outline-offset: 3px;
  font: 700 23px/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase;
  color: #0a7480; mix-blend-mode: multiply; opacity: 0; rotate: -10deg; pointer-events: none;
}
.pos.stamped .rc-stamp { opacity: .85; }

.pos-body {
  position: relative; z-index: 1; width: 100%; padding: 40px 20px 20px;
  border-radius: 32px 32px 28px 28px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--edge), 0 40px 70px -40px rgba(0, 0, 0, .8);
}
.pos-slot {
  position: absolute; left: 50%; top: 18px; width: 278px; height: 8px; translate: -50% 0; border-radius: 4px;
  background: #020304; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .9), 0 1px 0 color-mix(in srgb, var(--fg) 10%, transparent);
}
/* a tela é sempre escura, como a de uma maquininha de verdade, nos dois temas */
.pos-screen {
  position: relative; display: grid; gap: 1px; padding: 13px 16px 12px; border-radius: 16px;
  background: #050a0b; border: 1px solid rgba(94, 220, 232, .16);
  box-shadow: inset 0 0 26px rgba(94, 220, 232, .07); font-family: var(--font-mono);
}
.pos-screen small { font-size: 11px; letter-spacing: .16em; color: #6f8a8e; }
.pos-screen b { font: 500 30px/1.12 var(--font-mono); letter-spacing: -.02em; color: #5edce8; font-variant-numeric: tabular-nums; }
.pos-status { font-size: 12px; color: #8fa5a9; }
.pos.printing .pos-status::after { content: "..."; display: inline-block; width: 0; overflow: hidden; vertical-align: bottom; animation: posDots 1.2s steps(4) infinite; }
.pos.ok .pos-status { color: #3fd08f; }
.pos.ok .pos-status::before { content: "✓ "; }
.pos-led { position: absolute; top: 14px; right: 14px; width: 7px; height: 7px; border-radius: 50%; background: #253235; }
.pos.printing .pos-led { background: #5edce8; animation: posBlink .45s steps(2, jump-none) infinite; }
.pos.ok .pos-led { background: #3fd08f; box-shadow: 0 0 8px #3fd08f; }
.pos-go { width: 100%; margin-top: 14px; }

/* estados da animação (sem JS, o cupom já aparece inteiro) */
.js .pos-paper { translate: 0 101%; }
.pos.printing .pos-paper { animation: posFeed 2.4s steps(26, end) forwards; }
.pos.printed .pos-paper { translate: 0 0; }
.pos.stamped .rc-stamp { animation: posStamp .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.pos.stamped .pos-feed { animation: posJolt .34s var(--ease) .22s; }
.pos.torn .pos-paper { translate: 0 0; animation: posTear .5s var(--ease) forwards; }
@keyframes posFeed { from { translate: 0 101%; } to { translate: 0 0; } }
@keyframes posStamp { 0% { opacity: 0; scale: 1.9; rotate: -3deg; } 60% { opacity: .9; scale: .95; } 100% { opacity: .85; scale: 1; rotate: -10deg; } }
@keyframes posJolt { 35% { translate: 0 4px; } }
@keyframes posTear { to { translate: 30px -80px; rotate: 9deg; opacity: 0; } }
@keyframes posDots { to { width: 1.8em; } }
@keyframes posBlink { to { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .js .pos-paper { translate: none; }
  .pos-paper, .rc-stamp, .pos-feed, .pos-led, .pos-status::after { animation: none !important; }
}

/* ---------- Rodapé ---------- */
.lp-foot { border-top: 1px solid var(--line); }
.lp-foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-right: auto; }
.lp-foot nav a { font-size: 13.5px; color: var(--fg-2); text-decoration: none; }
@media (hover: hover) { .lp-foot nav a:hover { color: var(--fg); } }
.lp-foot p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Entradas ao rolar ---------- */
.js .reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal-up { opacity: 1; transform: none; } }

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  .lp-bento > * { grid-column: 1 / -1; }
  .lp-b { min-height: 0; }
  .lp-trust-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lp-nav { display: none; }
  .lp-top-in { gap: 16px; justify-content: space-between; }
  .lp-top-cta { gap: 14px; }
  .lp-hero { padding-top: 52px; }
  .lp-hero { --cap: 200px; }
  /* cotações em duas colunas, tudo visível de uma vez */
  .lp-strip-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lp-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; width: 100%; }
  .lp-q { flex-wrap: wrap; column-gap: 8px; row-gap: 2px; }
  .lp-demo { grid-template-columns: minmax(0, 1fr); margin-top: 88px; }
  .lp-sec { padding-top: 92px; }
  .lp-b { padding: 22px; border-radius: 24px; }
  .lp-stack { height: 220px; }
  .lp-stack:focus-visible { --spx: 1.15; } /* tela estreita: o leque abre pouco para não sair do bloco */
  /* chamada final: texto em cima, maquininha embaixo */
  .lp-final { margin-top: 72px; padding-bottom: 96px; }
  .lp-final-in { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; text-align: center; }
  .lp-final .lp-sub { margin-inline: auto; }
}
@media (max-width: 380px) { .pos { zoom: .86; } }
@media (max-width: 420px) {
  .lp-top-cta .lp-link { display: none; }
  .lp-eb-more { display: none; }
}
