/* Tably: landing page */
section { position: relative; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-title { font-size: clamp(32px, 5vw, 52px); margin-top: 10px; }
.sec-lead { margin-top: 12px; font-size: 17px; }
.link { color: var(--g); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s, transform .4s; }
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--muted); position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--g); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* HERO */
.hero { padding: 132px 0 88px; overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); opacity: .7; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; gap: 48px; align-items: center; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 0 rgba(5,150,105,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(5,150,105,0); } 100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); } }
.hero-title { font-size: clamp(42px, 6.4vw, 78px); margin: 22px 0 22px; }
.hero-title em { font-style: normal; color: var(--g); }
.br-lg { display: none; }
@media (min-width: 961px) { .br-lg { display: inline; } }
.split-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word { display: inline-block; will-change: transform; }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-proof { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof li span { color: var(--g); }

.hero-visual { position: relative; padding: 64px 26px 56px 10px; }
.app { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; position: relative; z-index: 1; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-bar i:first-child { background: #FCA5A5; } .app-bar i:nth-child(2) { background: #FDE68A; } .app-bar i:nth-child(3) { background: var(--l); }
.app-file { margin-left: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-formula { display: flex; gap: 10px; align-items: center; background: var(--soft); border-radius: 10px; padding: 7px 12px; margin-bottom: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--ink); }
.app-formula b { color: var(--g); font-style: italic; font-family: var(--font-title); }
.hero-sheet { position: relative; font-size: 13.5px; }
.hero-sheet .r > span { padding: 10px 12px; transition: background-color .4s, color .4s; }
.hero-sheet .over.on > span { background: #FEF2F2; }
.hero-sheet .over.on > span:last-child { color: var(--red); font-weight: 800; }
.hero-sheet .total > span { font-weight: 800; background: #F8FAFC; }
.cursor { position: absolute; left: 0; top: 0; width: 0; height: 0; outline: 2px solid #059669; outline-offset: -2px; background: rgba(5,150,105,.06); pointer-events: none; z-index: 2; border-radius: 2px; opacity: 0; }
.cursor::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 7px; height: 7px; background: #059669; border: 1.5px solid #fff; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.app-stats > div { background: var(--soft); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.app-stats small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.app-stats b { font-family: var(--font-title); font-size: clamp(14px, 1.6vw, 19px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-stats .pos { color: var(--g); } .app-stats .neg { color: var(--red); }

.float { position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.float small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.float b { display: block; font-size: 13.5px; line-height: 1.25; }
.float-chart { right: -22px; top: -4px; width: 168px; padding: 12px 12px 6px; }
.float-chart .lottie { width: 100%; aspect-ratio: 242 / 190; }
.float-check { left: -30px; top: 2px; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; }
.float-check .lottie { width: 40px; height: 40px; }
.float-alert { left: -24px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-color: #FECACA; }
.alert-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #FEE2E2; flex-shrink: 0; }

@media (max-width: 960px) {
  .hero { padding: 112px 0 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; padding: 64px 0 70px; }
  .float-check { left: -4px; top: 0; }
  .float-alert { left: -4px; bottom: 8px; }
  .float-chart { right: -4px; top: -6px; width: 136px; }
  .app-file { max-width: 52%; }
}
@media (max-width: 480px) {
  .hero-sheet { font-size: 12px; }
  .hero-sheet .r > span { padding: 8px; }
  .app { padding: 10px; }
  .app-stats > div { padding: 8px; }
  .float-chart { width: 112px; padding: 8px 8px 4px; }
  .float-alert small { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* MARQUEE */
.marquee { background: var(--graf); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.03); margin: 8px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; font-family: var(--font-title); font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -.02em; white-space: nowrap; }
.marquee-track i { display: block; flex-shrink: 0; }

/* PROBLEMA */
.problem { padding: 120px 0 110px; }
.problem-text { font-family: var(--font-title); font-weight: 700; font-size: clamp(26px, 4.2vw, 50px); letter-spacing: -.025em; line-height: 1.18; margin-top: 18px; max-width: 1040px; }
.problem-text .w.hl { color: var(--g); }

/* FEATURE */
.feature { padding: 100px 0; background: var(--card); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.feature-steps { list-style: none; display: flex; flex-direction: column; }
.feature-steps li { padding: 44px 0 44px 26px; border-left: 3px solid var(--line); position: relative; min-height: 46vh; display: flex; flex-direction: column; justify-content: center; opacity: .45; transition: opacity .4s; }
.feature-steps li::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--g); transform: scaleY(0); transform-origin: top; transition: transform .5s; }
.feature-steps li.active { opacity: 1; }
.feature-steps li.active::before { transform: scaleY(1); }
.feature-steps .num { font-family: var(--font-title); font-weight: 800; color: var(--g); font-size: 14px; letter-spacing: .08em; }
.feature-steps h3 { font-family: var(--font-title); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 10px; }
.feature-steps p { color: var(--muted); max-width: 440px; font-size: 16.5px; }

.feature-stage { position: sticky; top: max(90px, calc(50vh - 250px)); }
.stage { background: var(--bg); border: 1px solid var(--line); border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.stage-top { display: flex; justify-content: space-between; align-items: center; }
.stage-sheet .r > span { padding: 10px 12px; font-size: 13.5px; transition: background-color .4s, color .4s; }
.stage-sheet .r.flag > span { background: #FEF2F2; }
.stage-sheet .r.flag > span:last-child { color: var(--red); font-weight: 800; }
.stage-sheet .r.typing > span { background: #ECFDF5; }
.stage-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stage-totals > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; transition: border-color .3s, box-shadow .3s; }
.stage-totals.glow > div { border-color: var(--m); box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
.stage-totals small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.stage-totals b { font-family: var(--font-title); font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage-totals > div:nth-child(1) b { color: var(--g); }
.stage-totals > div:nth-child(2) b { color: var(--red); }
.stage-chart { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 24px; height: 124px; transition: border-color .3s, box-shadow .3s; }
.stage-chart.glow { border-color: var(--m); box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
.stage-chart .bars { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; }
.stage-chart .bar { border-radius: 5px 5px 2px 2px; background: var(--l); transform-origin: bottom; position: relative; }
.stage-chart .bar.hi { background: var(--g); }
.stage-chart .bar span { position: absolute; bottom: -4px; left: 50%; transform: translate(-50%, 100%); font-size: 9.5px; font-weight: 700; color: var(--muted); }
.stage-apps { display: flex; gap: 8px; flex-wrap: wrap; }
.app-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.app-chip b { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 12px; }
.app-chip.excel b { background: #107C41; } .app-chip.sheets b { background: #0F9D58; } .app-chip.phone b { background: #334155; }

@media (max-width: 960px) {
  .feature { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-stage { top: 80px; z-index: 2; order: -1; }
  .stage { padding: 10px; gap: 8px; border-radius: 20px; }
  .stage-top { display: none; }
  .stage-sheet .r > span { padding: 6px 8px; font-size: 12px; }
  .stage-totals b { font-size: 14px; }
  .stage-totals > div { padding: 6px 8px; }
  .stage-chart { height: 76px; padding: 8px 8px 18px; }
  .stage-apps { gap: 6px; } .app-chip { font-size: 12px; padding: 4px 10px 4px 4px; } .app-chip b { width: 20px; height: 20px; }
  .feature-steps li { min-height: 72vh; padding: 24px 0 24px 18px; justify-content: flex-end; }
  .feature-steps h3 { font-size: 22px; }
  .feature-steps p { font-size: 15.5px; }
}

/* LOJA */
.shop { padding: 110px 0; }
.hero-product { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hp-cover { background: linear-gradient(135deg, #059669, #047857); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 20px; justify-content: center; position: relative; overflow: hidden; }
.hp-cover::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(110,231,183,.35), transparent 70%); }
.hp-cover-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.hp-kind { font-size: 12px; font-weight: 800; letter-spacing: .12em; opacity: .8; }
.hp-cover-title { font-family: var(--font-title); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.025em; line-height: 1.08; position: relative; }
.hp-cover .sheet { position: relative; box-shadow: 0 20px 40px -16px rgba(0,0,0,.35); border: 0; transform: rotate(-1.5deg); }
.hp-badges { display: flex; gap: 6px; flex-wrap: wrap; position: relative; }
.hp-badges span { background: rgba(255,255,255,.18); padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.hp-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: flex-start; }
.hp-body h3 { font-size: clamp(26px, 3vw, 34px); }
.hp-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0; }
.hp-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.hp-list .lottie { width: 26px; height: 26px; flex-shrink: 0; }
.hp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.hp-price .price-new { font-size: 44px; color: var(--g); line-height: 1; }
.hp-buy { margin-top: 6px; --bh: 58px; padding: 0 30px; font-size: 16.5px; }
.hp-note { font-size: 13px; }
@media (max-width: 860px) {
  .hero-product { grid-template-columns: 1fr; }
  .hp-cover, .hp-body { padding: 26px 20px; }
  .hp-buy { width: 100%; }
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: translate .3s, box-shadow .3s, border-color .3s; }
.pcard:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: var(--l); }
.pcover { height: 150px; display: grid; place-items: center; position: relative; overflow: hidden; }
.pcover.mint { background: var(--mint); color: var(--g); }
.pcover.ink { background: var(--graf); color: var(--m); }
.pcover.deep { background: #064E3B; color: var(--l); }
.pcover.green { background: var(--g); color: #fff; }
.pcover .cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 28px; gap: 8px; padding: 10px; opacity: .14; }
.pcover .cells i { border-radius: 6px; background: currentColor; }
.pcover .ico { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.14); position: relative; }
.pcover.mint .ico { background: #fff; }
.pbody { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pbody .cat { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g); }
.pbody h4 { font-family: var(--font-title); font-size: 19px; letter-spacing: -.015em; line-height: 1.2; }
.pbody p { color: var(--muted); font-size: 14.5px; flex: 1; }
.pfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 8px; }
.pfoot .price-new { font-size: 22px; color: var(--g); }

/* COMO FUNCIONA */
.how { padding: 100px 0; background: var(--card); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-card { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 28px; position: relative; overflow: hidden; }
.how-card .num { position: absolute; right: 22px; top: 12px; font-family: var(--font-title); font-weight: 800; font-size: 76px; line-height: 1; color: var(--line); letter-spacing: -.04em; }
.how-ico { width: 84px; height: 84px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 26px; position: relative; }
.how-ico .lottie { width: 62px; height: 62px; }
.how-card h3 { font-family: var(--font-title); font-size: 21px; letter-spacing: -.015em; margin-bottom: 8px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

/* DICA */
.tip { padding: 100px 0; background: var(--mint); color: var(--graf); }
.tip-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tip-pill { background: var(--graf); color: #fff; }
.tip-title { font-size: clamp(36px, 5.4vw, 60px); margin: 16px 0 14px; }
.tip-sub { font-size: 17.5px; max-width: 460px; color: #334155; }
.tip-card { background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(4,120,87,.45); display: flex; flex-direction: column; gap: 18px; transform: rotate(1.2deg); }
.tip-formula { display: flex; align-items: center; gap: 12px; border: 2px solid var(--g); border-radius: 14px; padding: 14px 16px; min-height: 58px; overflow: hidden; }
.tip-fx { font-family: var(--font-title); font-style: italic; font-weight: 700; color: var(--g); }
.tip-formula code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: clamp(13px, 1.7vw, 18px); color: var(--g); white-space: nowrap; }
.caret { width: 2px; height: 22px; background: var(--g); animation: blink 1s steps(1) infinite; margin-left: -10px; flex-shrink: 0; }
@keyframes blink { 50% { opacity: 0; } }
.tip-result { display: flex; justify-content: space-between; align-items: baseline; background: #ECFDF5; border-radius: 14px; padding: 14px 16px; }
.tip-result small { font-weight: 700; color: #64748B; }
.tip-result b { font-family: var(--font-title); font-size: 34px; letter-spacing: -.02em; color: var(--graf); font-variant-numeric: tabular-nums; }
.tip-save { font-weight: 700; color: #64748B; text-align: right; }
@media (max-width: 860px) { .tip-in { grid-template-columns: 1fr; } .tip-card { transform: none; padding: 18px; } }

/* FAQ */
.faq { padding: 110px 0; }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--l); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-title); font-size: 24px; color: var(--g); line-height: 1; transition: transform .3s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; gap: 0; } }

/* FINAL */
.final { padding: 110px 0; background: var(--g); color: #fff; overflow: hidden; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 70%); }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-logo { width: 150px; height: 150px; }
.final-title { font-size: clamp(44px, 8vw, 96px); margin: 10px 0 14px; }
.final-sub { font-size: 18px; color: #D1FAE5; max-width: 480px; }
.final-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.final-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.final-ghost:hover { background: rgba(255,255,255,.1); translate: 0 -2px; }

/* FOOTER */
.foot { padding: 44px 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-in p { margin-top: 8px; font-size: 14px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); transition: color .2s, border-color .2s, translate .2s; }
.foot-social a:hover { color: var(--g); border-color: var(--g); translate: 0 -2px; }
.foot-copy { width: 100%; }

.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.intro *, .intro *::before { transition: none !important; }

/* Ícones animados das planilhas */
.hero-proof li { cursor: default; }
.hero-proof .picon-box { width: 30px; height: 30px; border-radius: 9px; background: var(--mint); display: grid; place-items: center; }
.hero-proof .picon { width: 26px; height: 26px; }
.pcover .ico .picon { width: 54px; height: 54px; }
.pcover .ico { width: 76px; height: 76px; border-radius: 22px; }
.hp-icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.hp-icon .picon { width: 44px; height: 44px; }
