/* One-page site (index.php). Loads after eternity.css. */
body.site { background: transparent; overflow-x: hidden; }
.scrollbar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--accent); z-index: 60; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s, transform .45s var(--ease); }
.nav.is-solid { background: oklch(0.13 0.004 250 / .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { max-width: 1240px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; gap: 28px; }
.nav .brand span { font-size: 16px; }
.nav-links { display: none; gap: 28px; margin-left: 24px; font-size: 14px; }
.nav-links a, .nav-login { color: var(--ink-2); }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: clamp(10px, 2.4vw, 18px); }
/* "Entrar" fica sempre visivel — no mobile some so os links de secao (.nav-links).
   Quem ja tem conta precisa chegar no login pelo celular. */
.nav-login { font-size: 14px; white-space: nowrap; padding: 9px 2px; }
.nav-buy { font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 8px; background: var(--ink); color: oklch(0.14 0.005 250); transition: background .2s; white-space: nowrap; }
.nav-buy:hover { background: var(--accent); color: var(--accent-ink); }

/* hero */
.hero { position: relative; z-index: 0; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(oklch(0.95 0.004 250 / .035) 1px, transparent 1px), linear-gradient(90deg, oklch(0.95 0.004 250 / .035) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 30%, transparent 75%); pointer-events: none; }
.hero-in { flex: 1; max-width: 1240px; width: 100%; margin: 0 auto; padding: 120px 28px 40px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; will-change: transform, opacity; }
.hero-tag { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.hero-tag .on { color: var(--ink); }
.hero-tag .slash { color: oklch(0.40 0.01 250); }
.hero-title { font-size: clamp(48px, 7.4vw, 112px); line-height: .94; letter-spacing: -0.035em; display: flex; flex-direction: column; }
.hero-mask { overflow: hidden; display: block; padding-bottom: .06em; }
.hero-mask > span { display: block; }
.accent { color: var(--accent); }
.hero-desc { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-lg { display: inline-flex; padding: 14px 22px; font-weight: 500; }
.hero-logo-wrap { display: flex; justify-content: center; align-items: center; }
.hero-logo { width: min(440px, 60vw); height: auto; overflow: visible; will-change: transform; color: var(--ink); }
.hero-foot { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 28px 28px; box-sizing: border-box; position: relative; }
.hero-meta { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-meta > span:first-child { display: flex; gap: 10px; align-items: baseline; }
.hero-meta [data-count] { color: var(--ink); font-size: 14px; }
.hero-scroll { display: none; }

.sheet { position: relative; z-index: 1; background: var(--bg); border-radius: 28px 28px 0 0; box-shadow: 0 -1px 0 var(--line), 0 -40px 80px oklch(0 0 0 / .45); }

/* features (chapters) */
.feat { max-width: 1240px; margin: 0 auto; padding: 40px 28px; box-sizing: border-box; }
.chapter { position: relative; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 110px 0 56px; align-content: center; align-items: center; background: var(--bg); border-top: 1px solid var(--line); transform-origin: 50% 0; will-change: transform; }
.ch-text { display: flex; flex-direction: column; gap: 22px; }
.ch-kick { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ch-kick .accent { color: var(--accent); }
.ch-line { width: 28px; height: 1px; background: var(--line-2); }
.ch-title { font-size: clamp(36px, 4.6vw, 64px); display: flex; flex-wrap: wrap; column-gap: .24em; }
.ch-desc { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ch-side { display: flex; flex-direction: column; gap: 28px; }
.ch-nb-wrap { perspective: 1600px; width: 100%; max-width: calc(38vh * 1.6 + 40px); margin: 0 auto; padding-bottom: 12px; }
.ch-nb { transform: rotateY(-16deg) rotateX(5deg); }
.ch-specs { display: flex; flex-direction: column; }
.nb-chip.is-br { right: 10px; bottom: 10px; }

/* gallery */
.gal { position: relative; height: 340vh; }
.gal-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.gal-head { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 28px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.gal-head-l, .sec-head { display: flex; flex-direction: column; gap: 14px; }
.gal-idx { font-size: 13px; color: var(--muted); display: flex; gap: 6px; }
.gal-idx [data-gal-idx] { color: var(--ink); }
.gal-nb-wrap { perspective: 1800px; width: min(78vw, calc((100vh - 180px) * 1.08)); margin: 0 auto; }
.gal-nb { transform: rotateX(6deg); }
.gal-screen { border-radius: 9px; }
.gal-track { display: flex; height: 100%; will-change: transform; }
.gal-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 30% 25%, oklch(0.24 0.03 240), oklch(0.13 0.01 250) 60%, oklch(0.10 0.004 250)); }
.gal-win { position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 838 / 599; transform: translate(-50%, -50%); border-radius: 6px; overflow: hidden; border: 1px solid oklch(0.40 0.03 240); box-shadow: 0 18px 40px oklch(0 0 0 / .6); }
.gal-win img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-cap { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 6px; background: oklch(0.12 0.004 250 / .8); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.gal-cap .dot { color: var(--accent); }
.gal-prog-wrap { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
.gal-prog { height: 1px; background: var(--line); }
.gal-prog > div { height: 1px; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* generic sections */
.sec { max-width: 1240px; margin: 0 auto; padding: 120px 28px; box-sizing: border-box; }
.vids, .plans { display: flex; flex-direction: column; gap: 40px; }
.plans { gap: 48px; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.vid { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.vid iframe { width: 100%; height: 100%; border: 0; display: block; }

/* plans */
.plans-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.plans-note { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 28px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.plan:hover { border-color: oklch(0.42 0.01 250); transform: translateY(-4px); }
.plan-h { position: relative; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; }
.plan-h .mono { font-weight: 400; font-size: 12px; color: var(--muted); }
.plan-p { position: relative; display: flex; align-items: baseline; gap: 6px; font-size: 16px; color: var(--ink-2); }
.plan-p .display { font-size: 56px; color: var(--ink); }
.plan-buy { position: relative; margin-top: auto; text-align: center; font-weight: 500; font-size: 15px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink); transition: background .2s, border-color .2s, opacity .2s; }
.plan-buy:hover { background: var(--ink); color: oklch(0.14 0.005 250); border-color: var(--ink); }
.plan.is-life { overflow: hidden; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.plan.is-life .plan-h .mono, .plan.is-life .plan-p, .plan.is-life .plan-p .display { color: var(--accent-ink); }
.plan.is-life .plan-buy { background: var(--accent-ink); color: var(--ink); border-color: var(--accent-ink); }
.plan.is-life .plan-buy:hover { opacity: .85; color: var(--ink); }
.plan-mark { position: absolute; right: -30px; bottom: -34px; width: 180px; opacity: .14; color: var(--accent-ink); }

/* DMA */
.dma-sec { max-width: 1240px; margin: 0 auto; padding: 0 28px 60px; box-sizing: border-box; }
.dma-box { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid oklch(0.30 0.008 240); background: oklch(0.16 0.008 240); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; }
.dma-bg { position: absolute; inset: 0; background-image: linear-gradient(oklch(0.80 0.12 230 / .05) 1px, transparent 1px), linear-gradient(90deg, oklch(0.80 0.12 230 / .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.dma-copy { position: relative; display: flex; flex-direction: column; gap: 20px; }
.dma-tagrow { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dma-tagrow .badge { padding: 4px 8px; font-size: 11px; }
.dma-copy .lead { max-width: 440px; }
.dma-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 14px; color: var(--ink-2); }
.dma-ctas b { color: var(--ink); font-weight: 600; }
.dma-specs { position: relative; border-top-color: oklch(0.30 0.008 240); }
.dma-specs .kv { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); border-bottom-color: oklch(0.30 0.008 240); }
.scene { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: end; perspective: 1800px; padding: 48px 0 72px; --sc-font: 8.5px; }
.scene-link { display: none; position: absolute; left: 0; right: 0; bottom: 50px; width: 100%; height: 110px; pointer-events: none; overflow: visible; }
.scene-label { display: none; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.scene-label > span:first-child { padding: 4px 8px; border-radius: 6px; background: oklch(0.16 0.008 240); border: 1px solid oklch(0.30 0.008 240); color: var(--accent); }
.pc-label { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pc-label > span:first-child { text-align: center; }
.pc-label b { color: var(--ink); font-weight: 500; }
.pc-label > span:last-child { width: 1px; height: 16px; background: oklch(0.36 0.01 250); }
.pc-game-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.5); }
.xhair { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 1.5px solid oklch(0.95 0.004 250 / .85); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.xhair span { width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.nb-chip.is-tl { left: 10px; top: 10px; padding: 4px 8px; background: oklch(0.12 0.004 250 / .75); letter-spacing: .12em; text-transform: uppercase; color: oklch(0.80 0.006 250); }
.nb-chip.is-bl { left: 10px; bottom: 10px; }
.app { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; font-family: var(--mono); font-size: var(--sc-font); color: oklch(0.80 0.006 250); }
.app-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.app-top > span:nth-child(2) { letter-spacing: .14em; color: var(--ink); }
.app-conn { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--ok); }
.app-conn .dot { width: 5px; height: 5px; }
.app-body { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 8px; padding: 8px; }
.radar { position: relative; align-self: center; justify-self: center; height: 100%; width: auto; aspect-ratio: 1; min-height: 0; border-radius: 50%; border: 1px solid oklch(0.30 0.008 240); background: radial-gradient(circle, oklch(0.16 0.01 235) 0, var(--bg) 70%); overflow: hidden; }
.radar i { position: absolute; display: block; }
.radar .r1, .radar .r2 { border-radius: 50%; border: 1px solid oklch(0.26 0.008 240); }
.radar .r1 { inset: 22%; }
.radar .r2 { inset: 40%; }
.radar .ax { left: 50%; top: 0; bottom: 0; width: 1px; background: oklch(0.24 0.008 240); }
.radar .ay { top: 50%; left: 0; right: 0; height: 1px; background: oklch(0.24 0.008 240); }
.radar .sweep { inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, oklch(0.80 0.12 230 / .32), oklch(0.80 0.12 230 / 0) 22%, transparent 100%); }
.radar .pt { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.radar .pt.is-friend { background: var(--accent); }
.radar .me { left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink); }
.app-side { display: flex; flex-direction: column; gap: 5px; min-width: 0; min-height: 0; overflow: hidden; }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tog > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw { flex: 0 0 auto; width: 22px; height: 12px; border-radius: 6px; background: oklch(0.30 0.008 250); position: relative; transition: background .3s; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transition: transform .35s var(--ease); }
.tog.is-on .sw { background: var(--accent); }
.tog.is-on .sw::after { transform: translateX(10px); }
.app-log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 6px 8px; border-radius: 6px; background: oklch(0.11 0.004 250); border: 1px solid oklch(0.22 0.006 250); overflow: hidden; }
.app-log span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.app-log span:last-child { color: var(--accent); }
.app-foot { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; background: none; border: 0; color: var(--ink); font-family: Geist, sans-serif; font-size: 19px; font-weight: 500; text-align: left; cursor: pointer; }
.faq-plus { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 15px; color: var(--accent); transition: transform .4s var(--ease); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 48px 26px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); }

/* community */
.com-sec { padding: 60px 28px 120px; }
.com-box { border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; align-items: center; }
.com-copy { display: flex; flex-direction: column; gap: 18px; }
.com-copy .lead { max-width: 400px; }
.com-widget { border-radius: 12px; overflow: hidden; height: 400px; background: oklch(0.14 0.005 250); }
.com-widget iframe { border: 0; display: block; }

/* footer (revealed under the sheet) */
.foot { position: sticky; bottom: 0; z-index: -1; background: var(--bg-deep); overflow: hidden; padding-top: 24px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 48px 28px 0; box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); }
.foot-mark { max-width: 1240px; margin: 0 auto; padding: 40px 28px 0; will-change: transform; box-sizing: border-box; display: flex; align-items: flex-end; gap: 2vw; }
.foot-mark svg { width: 10vw; max-width: 124px; flex: 0 0 auto; color: var(--ink); margin-bottom: 1.2vw; }
.foot-word { font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 700; font-size: min(10.2vw, 128px); line-height: .78; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { position: sticky; top: 0; height: 100vh; min-height: 640px; }
  .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding-top: 140px; }
  .hero-logo { width: min(440px, 78vw); }
  .hero-meta { flex-wrap: nowrap; }
  .hero-scroll { display: inline; }
  .chapter, .faq-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .scene { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18%; }
  .scene-link { display: block; }
  .scene-label { display: flex; }
  .pc-a { transform: rotateY(14deg) rotateX(3deg); }
  .pc-b { transform: rotateY(-14deg) rotateX(3deg); }
}
@media (min-width: 900px) and (min-height: 700px) {
  .chapter { position: sticky; top: 0; min-height: 100vh; }
}
@media (min-width: 1200px) { .scene { --sc-font: 10px; } }
@media (max-width: 899px) {
  .hero-logo { width: min(220px, 50vw); }
  .gal-head { padding: 0 20px; }
  /* No mobile, PT/EN + Entrar + Comprar tem que caber junto do logo. Encolhe
     padding/gap da nav e deixa só a marca (sem o wordmark ETERNITY) pra os tres
     itens da direita caberem a partir de 320px sem cortar o botao Comprar. */
  .nav-in { padding-left: 16px; padding-right: 16px; gap: 14px; }
  .nav .brand span { display: none; }
}
