/* Alpinista Finance — tema inspirado na AbacatePay (creme, verde-petróleo, lima) */
:root {
  --bg: #EFF1E7;
  --surface: #FFFFFF;
  --surface-2: #F5F7EF;
  --ink: #204749;
  --ink-2: #244C4E;
  --muted: #5E7173;
  --line: rgba(32, 71, 73, 0.10);
  --line-strong: rgba(32, 71, 73, 0.18);
  --lime: #9EEA6C;
  --lime-hover: #8EDF5A;
  --green: #58C411;
  --dark: #204749;
  --dark-2: #1A3B3D;

  /* série do gráfico de categorias */
  --c1: #58C411;
  --c2: #9EEA6C;
  --c3: #3E8A7E;
  --c4: #C9D8B8;

  --radius: 22px;
  --radius-sm: 14px;
  --frame: 1180px;
  --shadow: 0 1px 2px rgba(32, 71, 73, .06), 0 10px 30px -14px rgba(32, 71, 73, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* SF Pro via sistema Apple; Inter Tight como fallback */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter Tight", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex: none; }
.i-sm.lucide { width: 16px; height: 16px; }
.i-xs.lucide { width: 13px; height: 13px; stroke-width: 2.4; }

/* ───────── Motion: entradas com blur ───────── */
.js [data-reveal] {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(28px) scale(.985);
  transition:
    opacity .9s var(--ease) calc(var(--i, 0) * 90ms),
    filter .9s var(--ease) calc(var(--i, 0) * 90ms),
    transform .9s var(--ease) calc(var(--i, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translateX(-48px); filter: blur(18px); }
.js [data-reveal="right"] { transform: translateX(48px); filter: blur(18px); }
.js [data-reveal].in { opacity: 1; filter: none; transform: none; }

/* Título do hero: palavra por palavra com motion blur */
.js [data-split] .w {
  display: inline-block;
  opacity: 0;
  filter: blur(16px);
  transform: translateY(.45em) skewX(-8deg);
  animation: word-in 1s var(--ease) forwards;
  animation-delay: calc(120ms + var(--wi) * 70ms);
}
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* Moldura com linhas-guia verticais (assinatura do layout da Abacate) */
.frame {
  position: relative;
  width: min(var(--frame), 100% - 32px);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
  padding-inline: clamp(20px, 5vw, 64px);
}
.corner {
  position: absolute; width: 9px; height: 9px; border-radius: 50%; z-index: 2;
  background: var(--bg); border: 1px solid var(--line-strong);
}
.corner--tl { top: -5px; left: -5px; } .corner--tr { top: -5px; right: -5px; }
.corner--bl { bottom: -5px; left: -5px; } .corner--br { bottom: -5px; right: -5px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 8px 30px -18px rgba(32, 71, 73, .35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.logo img { border-radius: 8px; }
.logo b { font-weight: 700; margin-left: 3px; }
.logo--sm { font-size: 15px; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s; }
.nav__links a:hover { background: rgba(32, 71, 73, .06); }

/* BOTÕES */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--font); letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; gap: 6px; }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(32,71,73,.12); }
.btn--lime:hover { background: var(--lime-hover); box-shadow: inset 0 -2px 0 rgba(32,71,73,.12), 0 10px 30px -10px rgba(88,196,17,.7); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--line-strong); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.25); }
.btn--outline-light:hover { background: rgba(255,255,255,.06); }
.btn__icon {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--lime); transition: transform .3s var(--ease);
}
.btn__icon .lucide { width: 14px; height: 14px; stroke-width: 2.6; }
.btn:hover .btn__icon { transform: translateX(3px) rotate(-8deg); }
/* brilho que atravessa o botão */
.btn--shine::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  filter: blur(6px); transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite 2s;
}
@keyframes shine { 0%, 70% { left: -40%; } 100% { left: 130%; } }

/* HERO */
.hero-wrap { position: relative; overflow: hidden; }
.orbs { position: absolute; inset: 0; pointer-events: none; }
.orbs span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.orbs span:nth-child(1) { width: 520px; height: 520px; background: #C8F2A4; top: -160px; right: 4%; }
.orbs span:nth-child(2) { width: 380px; height: 380px; background: #DDEBC8; bottom: -140px; left: -80px; animation-duration: 22s; animation-delay: -6s; }
.orbs span:nth-child(3) { width: 260px; height: 260px; background: #B4E8C8; top: 40%; left: 42%; opacity: .35; animation-duration: 26s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.12); }
  100% { transform: translate(40px, -30px) scale(.95); }
}
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 14px; color: var(--ink-2); margin-bottom: 28px;
}
.pill strong { font-weight: 600; }
.pill { white-space: nowrap; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(88,196,17,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(88,196,17,0); } }
h1 { font-size: clamp(40px, 4.6vw, 60px); text-wrap: balance; }
.accent { color: var(--green); }
.accent--lime { color: var(--lime); }
.lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__perks { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 20px 28px; }
.hero__perks li { display: flex; gap: 12px; align-items: center; }
.hero__perks b { display: block; font-size: 14px; font-weight: 600; }
.hero__perks small { color: var(--muted); font-size: 13px; }
.perk-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--green); }

/* Visual do hero */
.hero__visual { position: relative; display: grid; place-items: center end; min-height: 580px; }
.glow { position: absolute; inset: 10% 0 10% 25%; background: radial-gradient(closest-side, rgba(158,234,108,.6), transparent); filter: blur(14px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.phone {
  position: relative; width: min(340px, 100%);
  background: #E9EDE0; border-radius: 42px; padding: 10px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 50px 90px -30px rgba(32,71,73,.5);
  animation: phone-in 1.2s var(--ease) both .1s;
}
@keyframes phone-in { from { opacity: 0; filter: blur(20px); transform: translateY(60px) rotate(3deg) scale(.94); } }
.phone__bar {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--dark); color: #fff; border-radius: 32px 32px 6px 6px;
}
.phone__bar img { border-radius: 9px; }
.phone__bar b { font-size: 15px; display: block; line-height: 1.2; }
.phone__bar small { font-size: 12px; color: var(--lime); }
.chat {
  display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 20px; min-height: 440px;
  background: #F4F1EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23204749' fill-opacity='.06'/%3E%3C/svg%3E");
  border-radius: 6px 6px 32px 32px;
}
.msg {
  max-width: 84%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
  opacity: 0; filter: blur(8px); transform: translateY(10px) scale(.96);
  animation: pop .6s var(--ease) forwards; animation-delay: var(--d);
}
.msg--me { align-self: flex-end; background: #D9FDD3; border-bottom-right-radius: 4px; transform-origin: right bottom; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; transform-origin: left bottom; display: grid; }
.msg--bot > * { grid-area: 1 / 1; }
.msg--bot em { font-style: normal; color: var(--muted); font-size: 13px; }
@keyframes pop { to { opacity: 1; filter: blur(0); transform: none; } }
/* bot "digitando..." antes de responder */
.typing {
  width: 34px; height: 19px; align-self: center;
  background: radial-gradient(circle, #9AA9A5 3px, transparent 3.5px) 0 50% / 12px 8px repeat-x;
  animation: blink .9s steps(3) infinite, hide 0s forwards calc(var(--d) + .7s);
}
.msg__body { opacity: 0; filter: blur(6px); animation: pop .5s var(--ease) forwards; animation-delay: calc(var(--d) + .7s); }
@keyframes hide { to { visibility: hidden; } }
@keyframes blink { 50% { opacity: .4; } }
.receipt { display: inline-flex; align-items: center; gap: 8px; padding: 16px 14px; background: rgba(32,71,73,.08); border-radius: 8px; font-size: 13px; }

.float-card {
  position: absolute; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow);
}
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card b { display: block; font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.float-card--a { right: 328px; top: 20%; width: 168px; animation: card-in 1s var(--ease) both 1.6s; }
.float-card--b { right: 328px; bottom: 14%; width: 196px; animation: card-in 1s var(--ease) both 3.6s; }
.float-card--b b { font-size: 15px; margin: 6px 0 2px; }
@keyframes card-in { from { opacity: 0; filter: blur(16px); transform: translateX(-40px); } }
.spark { width: 100%; height: 30px; margin-top: 6px; }
.spark path { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s var(--ease) forwards 2.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(158,234,108,.45); }

/* MARQUEE */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--line); background: var(--surface-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  padding: 8px 14px; border-radius: 12px 12px 12px 4px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.marquee span:nth-child(odd) { background: #D9FDD3; border-color: transparent; border-radius: 12px 12px 4px 12px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* SEÇÕES */
.section { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.marquee + .section { border-top: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--green);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.eyebrow--dark { color: var(--lime); }
h2 { font-size: clamp(32px, 4.4vw, 48px); max-width: 20em; }
h3 { font-size: 20px; letter-spacing: -0.02em; }

/* COMO FUNCIONA — linha do tempo com trilho que enche no scroll */
.timeline { position: relative; margin-top: 56px; }
.timeline__rail { position: absolute; top: 32px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline__rail span {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--green), var(--lime));
  box-shadow: 0 0 16px rgba(88,196,17,.6);
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 0 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__n {
  display: inline-block; position: relative; z-index: 1;
  font-size: 64px; font-weight: 700; letter-spacing: -0.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  background: var(--bg); padding-right: 14px; margin-bottom: 22px;
  transition: color .6s var(--ease) .4s;
}
.step + .step .step__n { padding-left: 2px; }
.step.in .step__n { color: var(--lime); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 30ch; }
.mini-chat { display: grid; gap: 6px; margin-top: 22px; justify-items: start; max-width: 300px; }
.mini {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 14px 14px 14px 4px; font-size: 13.5px; line-height: 1.35;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(0,0,0,.03);
}
.mini--me { justify-self: end; background: #D9FDD3; border-color: transparent; border-radius: 14px 14px 4px 14px; }
.mini--bot .lucide { color: var(--green); }

/* RECURSOS — bento com mini-interfaces */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px;
}
.js .tile[data-reveal] {
  transition: opacity .9s var(--ease) calc(var(--i, 0) * 90ms), filter .9s var(--ease) calc(var(--i, 0) * 90ms),
    transform .9s var(--ease) calc(var(--i, 0) * 90ms), box-shadow .5s var(--ease), border-color .3s;
}
.js .tile.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.tile:hover { box-shadow: 0 30px 60px -30px rgba(32,71,73,.35); border-color: var(--line-strong); }
.tile--wide { grid-column: span 2; }
.tile__visual {
  position: relative; overflow: hidden; height: 220px; border-radius: 16px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.tile--wide .tile__visual { height: auto; min-height: 220px; }
.tile__text { padding: 20px 16px 16px; }
.tile__text p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* gráfico de categorias */
.tile__visual--chart { padding: 22px 24px; display: grid; gap: 18px; align-content: start; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.chart-head small { display: block; color: var(--muted); font-size: 13px; }
.chart-head b { font-size: 30px; letter-spacing: -0.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #2F7A0A; background: rgba(158,234,108,.4); padding: 4px 10px; border-radius: 999px; }
.stack { display: flex; gap: 3px; height: 14px; }
.stack i { height: 100%; border-radius: 4px; background: var(--c); width: 0; transition: width 1.2s var(--ease) .3s; }
.stack i:nth-child(2) { transition-delay: .4s; } .stack i:nth-child(3) { transition-delay: .5s; } .stack i:nth-child(4) { transition-delay: .6s; }
.in .stack i { width: var(--w); }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.cat-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.cat-list em { font-style: normal; color: var(--muted); font-size: 13px; margin-left: 2px; }
.cat-list b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--c) 24%, #fff); color: var(--ink); }
.chip .lucide { width: 15px; height: 15px; }

/* comprovante sendo escaneado */
.tile__visual--receipt { display: grid; place-items: center; }
.paper {
  position: relative; width: 190px; padding: 16px 16px 20px; display: grid; gap: 7px;
  background: #fff; font: 11px/1.3 var(--font-mono); color: #3B4B4C; letter-spacing: 0;
  box-shadow: 0 14px 30px -16px rgba(32,71,73,.45); transform: rotate(-3deg);
  border-radius: 4px 4px 0 0; overflow: hidden;
}
.paper__title { font-weight: 700; text-align: center; padding-bottom: 6px; border-bottom: 1px dashed #C9D2CC; }
.paper__line, .paper__total { display: flex; justify-content: space-between; }
.paper__total { border-top: 1px dashed #C9D2CC; padding-top: 7px; font-weight: 700; color: var(--ink); }
.scan {
  position: absolute; left: 0; right: 0; height: 36px; top: -40px;
  background: linear-gradient(180deg, transparent, rgba(88,196,17,.25) 70%, rgba(88,196,17,.9) 72%, transparent 76%);
  animation: scan 2.6s var(--ease) infinite;
}
@keyframes scan { 0% { top: -40px; } 60%, 100% { top: 110%; } }
.read-chip {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 5px;
  background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
}

/* notificações empilhadas */
.tile__visual--notif { display: grid; place-items: center; }
.notif {
  grid-area: 1 / 1; width: 84%; display: flex; gap: 10px; align-items: center;
  padding: 12px 14px; border-radius: 16px;
  background: color-mix(in srgb, #fff 88%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: 0 12px 30px -18px rgba(32,71,73,.5);
  font-size: 13px; transition: transform .6s var(--ease), filter .6s var(--ease), opacity .6s;
}
.notif img { border-radius: 6px; }
.notif b { display: flex; justify-content: space-between; font-size: 13px; }
.notif b small { font-weight: 400; color: var(--muted); font-size: 11px; }
.notif span { color: var(--ink-2); }
.notif div { flex: 1; display: grid; }
.notif--back { transform: translateY(-18px) scale(.9); filter: blur(1.5px); opacity: .7; }
.tile:hover .notif--back { transform: translateY(-46px) scale(.96); filter: none; opacity: 1; }
.tile:hover .notif:not(.notif--back) { transform: translateY(18px); }
.in .notif:not(.notif--back) { animation: notif-in 1s var(--ease) both .5s; }
@keyframes notif-in { from { transform: translateY(-80px) scale(.9); filter: blur(10px); opacity: 0; } }

/* pergunta e resposta */
.tile__visual--ask { padding: 24px 20px; display: grid; gap: 8px; align-content: center; justify-items: start; }
.ask-answer { display: grid; min-height: 34px; }
.ask-answer > * { grid-area: 1 / 1; align-self: center; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #9AA9A5; animation: bounce 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-4px); opacity: .5; } }
.ask-text { opacity: 0; filter: blur(8px); }
.in .dots { animation: hide 0s forwards 1.6s; }
.in .ask-text { animation: pop .6s var(--ease) forwards 1.6s; }

/* altitude da meta */
.tile__visual--goal { display: grid; align-content: center; padding: 18px; }
.ridge { width: 100%; height: auto; overflow: visible; }
.ridge path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ridge__bg { stroke: var(--line-strong); stroke-width: 3; stroke-dasharray: 2 6; }
.ridge__fg { stroke: var(--green); stroke-width: 4; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 4px 6px rgba(88,196,17,.45)); }
.in .ridge__fg { transition: stroke-dashoffset 1.8s var(--ease) .3s; stroke-dashoffset: 31; }
.ridge__flag path { stroke: var(--ink); stroke-width: 2.5; }
.ridge__flag .ridge__pennant { fill: var(--green); stroke: none; }
.ridge__flag { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease) .2s, transform .6s var(--ease) .2s; }
.in .ridge__flag { opacity: 1; transform: none; }
/* alpinista: ponto que sobe a crista até 69% do limite */
.ridge__dot { fill: #fff; stroke: var(--green); stroke-width: 3; offset-path: path("M6 110 L44 86 L66 94 L108 60 L132 72 L176 40 L198 52 L236 26"); offset-distance: 0%; offset-rotate: 0deg; opacity: 0; }
.in .ridge__dot { opacity: 1; offset-distance: 69%; transition: offset-distance 1.8s var(--ease) .3s, opacity .3s .3s; }
.goal-meta { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.goal-meta b { font-size: 22px; letter-spacing: -0.03em; }
.goal-meta span { color: var(--muted); font-size: 13px; }

/* PREÇOS (seção escura) */
.section--dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-top: 0; padding-block: 0; }
.orbs--dark span { opacity: .22; }
.orbs--dark span:nth-child(1) { background: var(--lime); top: -200px; right: -100px; }
.orbs--dark span:nth-child(2) { background: #3E8A7E; bottom: -180px; left: 10%; opacity: .5; }
.frame--dark { border-color: rgba(255,255,255,.08); padding-block: clamp(64px, 9vw, 112px); }
.section--dark h2 { color: #fff; }
.toggle {
  display: inline-flex; gap: 4px; margin-top: 36px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.toggle button {
  font: 600 14px var(--font); color: rgba(255,255,255,.7); background: none; border: 0;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s;
}
.toggle button[aria-selected="true"] { background: var(--lime); color: var(--dark); }
.toggle em { font-style: normal; font-size: 12px; margin-left: 4px; opacity: .8; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; max-width: 860px; }
.plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 32px; border-radius: var(--radius);
  background: rgba(26, 59, 61, .75); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.plan--featured { background: linear-gradient(180deg, rgba(38,88,90,.9), rgba(26,59,61,.9)); border-color: rgba(158,234,108,.45); }
/* luz seguindo o mouse */
.plan--featured::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(158,234,108,.18), transparent 60%);
}
.plan--featured:hover::before { opacity: 1; }
.plan__tag {
  position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--dark);
}
.plan__desc { color: rgba(255,255,255,.62); font-size: 15px; margin-top: 6px; }
.price { margin-top: 24px; display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 44px; letter-spacing: -0.04em; font-weight: 600; animation: pop .5s var(--ease) forwards; }
.price span { color: rgba(255,255,255,.6); }
.price__note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.85); }
.plan li::before { content: "✓"; color: var(--lime); font-weight: 700; margin-right: 10px; }
.plan .btn { margin-top: auto; }
.fine { margin-top: 24px; color: rgba(255,255,255,.55); font-size: 14px; }

/* ANTES x DEPOIS */
.versus { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.versus__col { padding: 32px; }
.versus__col ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; font-size: 15px; }
.versus__col li { display: flex; gap: 12px; align-items: flex-start; }
.versus__col li .lucide { margin-top: 2px; stroke-width: 2.6; }
.versus__col--before { color: var(--muted); background: var(--surface-2); }
.versus__col--before li { text-decoration: line-through; text-decoration-color: rgba(194,87,75,.45); }
.versus__col--before .lucide { color: #C2574B; }
.versus__col--after { border-left: 1px solid var(--line); background: linear-gradient(160deg, rgba(158,234,108,.22), transparent 60%); }
.versus__col--after .lucide { color: var(--green); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .3s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); font-size: 15px; animation: pop .5s var(--ease) forwards; }

/* CTA FINAL */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final__mark { border-radius: 18px; margin-bottom: 28px; box-shadow: 0 20px 40px -16px rgba(88,196,17,.6); }
.final h2 { margin-inline: auto; }
.final .lead { margin-inline: auto; margin-bottom: 32px; }

.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-block: 28px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}

/* RESPONSIVO */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; padding-block: 24px; place-items: center; }
  .glow { inset: 10% 5%; }
  .float-card { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step, .step + .step { padding: 0 0 0 28px; border-left: 1px solid var(--line); }
  .timeline__rail { display: none; }
  .step__n { font-size: 52px; }
}
@media (max-width: 640px) {
  .bento, .plans, .versus { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .cat-list { grid-template-columns: 1fr; }
  .versus__col--after { border-left: 0; border-top: 1px solid var(--line); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .nav .btn--sm .lucide { display: none; }
  .pill__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js [data-reveal], .js [data-split] .w { opacity: 1; filter: none; transform: none; }
  html { scroll-behavior: auto; }
}
