/* ORION — landing. Requer tokens.css + orion.css. */

section { position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { margin-top: 16px; font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 56ch; }

/* revelar ao rolar (só quando há JS) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ================= hero ================= */
.hero { position: relative; overflow: hidden; padding: 150px 0 0; background: var(--bg); isolation: isolate; }
#shader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero.sem-shader { background: radial-gradient(60% 50% at 50% 0%, rgba(59, 130, 246, .28), transparent 70%), radial-gradient(40% 40% at 78% 18%, rgba(6, 182, 212, .18), transparent 70%), var(--bg); }
.hero.sem-shader #shader-canvas { display: none; }
.hero-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 9, 10, .0) 40%, var(--bg) 96%), radial-gradient(70% 55% at 50% 36%, rgba(8, 9, 10, .72), transparent 78%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: rgba(8, 9, 10, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13.5px; color: var(--text-2); transition: border-color .25s, color .25s; }
.hero-pill:hover { border-color: rgba(6, 182, 212, .55); color: var(--text); }
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(6, 182, 212, .6); animation: pulso 2.4s ease-out infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(6, 182, 212, 0); } }
.hero-title { margin-top: 28px; font-size: clamp(44px, 8.4vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hero-title span { display: block; padding-bottom: .06em; }
.hero-sub { margin-top: 26px; max-width: 60ch; font-size: clamp(16.5px, 1.7vw, 20px); color: var(--text-2); }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* moldura de “tela” (mockup) */
.frame { position: relative; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(59, 130, 246, .55); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.frame-bar span { margin: 0 auto; padding-right: 50px; font: 400 12px var(--mono); color: var(--muted); }
.frame > .demo { border-radius: 0; }

.hero-stage { margin-top: clamp(48px, 7vw, 84px); perspective: 1600px; position: relative; z-index: 1; }
.frame-hero { --p: 0; transform-origin: 50% 0; transform: rotateX(calc(16deg * (1 - var(--p)))) scale(calc(.92 + .08 * var(--p))) translateY(calc(30px * (1 - var(--p)))); will-change: transform; max-width: 1080px; margin-inline: auto; }
.frame-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%); }
.hero-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 22%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }

/* faixa */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); margin-top: -1px; -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; width: max-content; animation: faixa 60s linear infinite; font-size: 14px; color: var(--muted); }
.marquee-set { display: flex; gap: 44px; padding-right: 44px; }
.marquee-track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ================= resultados ================= */
.results { padding: clamp(56px, 8vw, 100px) 0 0; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.results-grid article { padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.results-grid article + article { border-left: 1px solid var(--line); }
.results-grid h2 { font-size: clamp(24px, 2.8vw, 36px); background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.results-grid p { color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) { .results-grid { grid-template-columns: 1fr; } .results-grid article + article { border-left: 0; border-top: 1px solid var(--line); } }

/* ================= módulos (rolagem interativa) ================= */
.showcase { padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 6vw, 80px); }
.showcase-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px 0 32px 34px; opacity: .38; transition: opacity .5s var(--ease); border-left: 1px solid var(--line); }
.step::before { content: ''; position: absolute; left: -1px; top: 50%; width: 1px; height: 0; background: var(--grad); transform: translateY(-50%); transition: height .6s var(--ease); }
.step.is-active { opacity: 1; }
.step.is-active::before { height: 72%; }
.step-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--cyan); }
.step-icon svg { width: 22px; height: 22px; }
.step h3 { font-size: clamp(24px, 2.6vw, 34px); }
.step-lead { color: var(--text); font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.step p { max-width: 52ch; }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, .02); }
.step-demo { display: none; width: 100%; margin-top: 14px; border: 1px solid var(--line-2); border-radius: 14px; }

.stage { position: relative; align-self: stretch; }
.stage-sticky { position: sticky; top: max(104px, 14vh); }
.stage-tabs { display: flex; gap: 4px; margin-bottom: 14px; padding: 4px; width: max-content; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255, 255, 255, .02); }
.stage-tabs button { padding: 7px 14px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font-size: 13.5px; cursor: pointer; transition: color .2s, background .25s; white-space: nowrap; }
.stage-tabs button:hover { color: var(--text); }
.stage-tabs button[aria-selected="true"] { color: var(--text); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.frame-stage { transition: box-shadow .6s var(--ease); }
.stage-shots { position: relative; aspect-ratio: 1600 / 980; background: var(--bg); }
.stage-shots > .demo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .55s var(--ease), transform 1s var(--ease), visibility .55s; }
.stage-shots > .demo.is-on { opacity: 1; visibility: visible; transform: none; }
.stage-rail { margin-top: 18px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.stage-rail i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(.2); background: var(--grad); transition: transform .5s var(--ease); }

@media (max-width: 960px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 28px 0 40px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step::before { display: none; }
  .step-demo { display: block; }
}

/* ================= como funciona ================= */
.how { padding: clamp(60px, 9vw, 120px) 0; }
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.how-n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 40px; border-radius: 50%; border: 1px solid rgba(6, 182, 212, .5); color: var(--cyan); font: 500 14px var(--mono); }
.how-step h3 { font-size: 22px; margin-bottom: 10px; }
.how-step p { color: var(--muted); }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } .how-n { margin-bottom: 20px; } }

/* cartões com brilho que segue o cursor */
.spot { --mx: 50%; --my: 0%; position: relative; isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(59, 130, 246, .16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* ================= bento ================= */
.bento { padding: clamp(60px, 9vw, 120px) 0; }
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-card { grid-column: span 3; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.bento-card h3 { font-size: 22px; }
.bento-card p { color: var(--muted); max-width: 52ch; }
.bento-wide { grid-column: span 6; }
.bento-wide:first-child { flex-direction: row; align-items: center; gap: 36px; padding-right: 0; }
.bento-wide:first-child .bento-text { flex: 0 0 38%; display: grid; gap: 12px; }
.frame-mini { flex: 1; min-width: 0; border-radius: 14px 0 0 14px; border-right: 0; box-shadow: none; margin: -12px 0; }
.frame-mini > .demo { aspect-ratio: 16 / 9; }
.bento-links { display: flex; gap: 20px; margin-top: 4px; }
.bento-links a { color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color .2s, color .2s; }
.bento-links a:hover { border-color: var(--cyan); color: #fff; }
.bento-card .step-icon { margin-bottom: 8px; }
@media (max-width: 860px) {
  .bento-card, .bento-wide { grid-column: span 6; }
  .bento-wide:first-child { flex-direction: column; align-items: stretch; padding-right: 28px; }
  .bento-wide:first-child .bento-text { flex: none; }
  .frame-mini { border-radius: 14px; border-right: 1px solid var(--line-2); margin: 0; }
}

/* ================= planos ================= */
.plans { padding: clamp(60px, 9vw, 120px) 0; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.plan-skel { min-height: 420px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 200% 100%; animation: esqueleto 1.6s linear infinite; }
@keyframes esqueleto { to { background-position: -200% 0; } }
.plan-featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px -40px rgba(6, 182, 212, .5); }
.plan-tag { position: absolute; top: 18px; right: 18px; }
.plan h3 { font-size: 22px; }
.plan-who { margin-top: 6px; min-height: 3.1em; font-size: 14px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 24px; color: var(--text); }
.plan-price strong { font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan-price small { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--cyan); }
@media (max-width: 960px) { .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .plan-who { min-height: 0; } }

/* ================= FAQ ================= */
.faq { padding: clamp(60px, 9vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--text); font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease), border-color .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--cyan); }
.faq-list summary:hover { color: #fff; }
.faq-list details p { padding: 0 0 24px; max-width: 60ch; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .section-head { position: static; margin-bottom: 24px; } }

/* ================= CTA final ================= */
.final { padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 10vw, 130px); }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; padding: clamp(40px, 7vw, 84px) 24px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(70% 90% at 50% 0%, rgba(59, 130, 246, .16), transparent 70%), var(--surface); }
.final h2 { max-width: 20ch; font-size: clamp(28px, 4.4vw, 50px); }

/* ================= rodapé halftone ================= */
.hwf-root { position: relative; width: 100%; height: 560px; overflow: hidden; isolation: isolate; background: #08090A; color: #dfe5ec; border-top: 1px solid var(--line); }
.hwf-root canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.hwf-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 24px; padding: clamp(24px, 3.4vw, 44px) clamp(20px, 3.4vw, 44px) 0; font: 400 11px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hwf-brand strong { display: block; font-weight: 500; letter-spacing: .3em; }
.hwf-brand span { opacity: .45; }
.hwf-col h3 { margin: 0; font: inherit; opacity: .4; letter-spacing: inherit; background: none; color: inherit; }
.hwf-col ul { list-style: none; margin: 0; padding: 0; }
.hwf-col a, .hwf-up { color: inherit; opacity: .78; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: opacity .25s, background-size .35s var(--ease); }
.hwf-col a:hover, .hwf-up:hover { opacity: 1; background-size: 100% 1px; }
.hwf-rule { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: clamp(18px, 2.6vw, 30px) clamp(20px, 3.4vw, 44px) 0; padding-top: 12px; border-top: .5px solid rgba(223, 229, 236, .16); font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hwf-nota { opacity: .45; }
.hwf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) { .hwf-top { grid-template-columns: 1fr 1fr; row-gap: 18px; } .hwf-brand { grid-column: 1 / -1; } .hwf-root { height: 440px; } }
@media (max-width: 560px) { .container { width: min(1180px, 100% - 32px); } .hero { padding-top: 118px; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .frame-hero { transform: none; }
}
