/* =============================================================================
   Fliper Studio — HOME e páginas do estúdio (invest). Usa studio-base.css.
   Ordem da home (como estúdios de verdade organizam): herói do jogo principal →
   o estúdio em uma linha → o jogo em destaque → catálogo → investir/parceria →
   notícias → lista → rodapé.
   ============================================================================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{ margin: 0; background: var(--s-bg); color: var(--s-text); font: 16px/1.6 var(--s-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; }
.skip{ position: absolute; left: -999px; }
.skip:focus{ left: 12px; top: 12px; z-index: 99; background: var(--s-gold); color: #000; padding: 8px 12px; }

/* ---------- herói: slideshow cinematográfico ---------- */
.hero{ position: relative; height: 100vh; min-height: 660px; max-height: 1080px; overflow: hidden; display: flex; align-items: flex-end; }
.slides{ position: absolute; inset: 0; }
.slides img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.05); }
.slides img.on{ opacity: 1; }
.motion .slides img.on{ animation: kb 9s ease-out forwards; }
@keyframes kb{ from{ transform: scale(1.05); } to{ transform: scale(1.14); } }
.hero::after{ content: ""; position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--s-bg) 0%, rgba(5,5,5,.7) 24%, rgba(5,5,5,0) 58%),
  linear-gradient(90deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.15) 50%, rgba(5,5,5,0) 70%); }
.hero .s-wrap{ position: relative; z-index: 2; padding-bottom: 80px; }
.hero .s-label{ color: var(--s-gold); }
.hero-title{ font-size: clamp(68px, 12.5vw, 200px); margin-top: 12px; }
.hero-title span{ display: block; color: var(--s-tox); text-shadow: 0 0 50px rgba(155,255,58,.3); }
.hero-line{ font-size: clamp(18px, 1.8vw, 23px); color: #e8e8e8; max-width: 32ch; margin: 18px 0 30px; }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta{ display: flex; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta span{ font: 700 12px/1 var(--s-body); letter-spacing: .16em; text-transform: uppercase; color: var(--s-muted); }
.hero-meta span::before{ content: "■"; color: var(--s-hot); margin-right: 8px; font-size: 9px; vertical-align: 2px; }
.dots{ position: absolute; right: 24px; bottom: 34px; z-index: 3; display: flex; gap: 8px; }
.dots button{ width: 28px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.dots button.on{ background: #fff; }

/* faixa de status */
.ticker{ border-block: 1px solid var(--s-line); background: var(--s-bg-2); overflow: hidden; white-space: nowrap; }
.ticker div{ display: inline-flex; gap: 48px; padding: 16px 0; animation: tick 40s linear infinite; }
.ticker span{ font: 800 13px/1 var(--s-body); letter-spacing: .16em; text-transform: uppercase; color: #cfcfcf; }
.ticker span b{ color: var(--s-gold); }
@keyframes tick{ to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .ticker div{ animation: none; } }

/* blocos */
.sec{ padding: 120px 0 0; }
.sec-top{ display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--s-line); padding-bottom: 18px; }
.sec-top .s-h{ font-size: clamp(42px, 5.4vw, 80px); }
.sec-top a{ font: 700 13px/1 var(--s-body); letter-spacing: .14em; text-transform: uppercase; color: var(--s-muted); text-decoration: none; white-space: nowrap; }
.sec-top a:hover{ color: #fff; }

/* o estúdio em uma linha */
.intro{ padding: 110px 0 0; }
.intro p{ font: 800 clamp(28px, 3.6vw, 54px)/1.08 var(--s-head); font-stretch: 85%; text-transform: uppercase; max-width: 22ch; margin: 0; letter-spacing: -.005em; }
.intro p em{ font-style: normal; color: var(--s-hot); }

/* jogo em destaque */
.feature{ display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.feature .main{ position: relative; overflow: hidden; min-height: 520px; background: var(--s-bg-3); }
.feature .main img{ width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature .main::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0) 55%); }
.feature .main .in{ position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 2; }
.feature .main .s-h{ font-size: clamp(44px, 5.6vw, 84px); }
.feature .main p{ color: #dedede; max-width: 46ch; margin: 10px 0 20px; font-size: 17px; }
.feature .side{ display: grid; gap: 16px; }
.shot{ position: relative; overflow: hidden; background: var(--s-bg-3); min-height: 160px; }
.shot img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.shot:hover img{ transform: scale(1.04); }
.shot span{ position: absolute; left: 0; bottom: 0; font: 800 11px/1 var(--s-body); letter-spacing: .16em; text-transform: uppercase; background: rgba(0,0,0,.75); padding: 9px 12px; }
.points{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--s-line); border: 1px solid var(--s-line); margin-top: 16px; }
.points div{ background: var(--s-bg); padding: 22px; }
.points b{ display: block; font: 900 22px/1.05 var(--s-head); font-stretch: 80%; text-transform: uppercase; margin-bottom: 6px; }
.points span{ color: var(--s-muted); font-size: 14.5px; }
@media (max-width: 900px){ .feature{ grid-template-columns: 1fr; } .feature .main{ min-height: 420px; } .points{ grid-template-columns: 1fr 1fr; } }

/* catálogo */
.games{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile{ position: relative; overflow: hidden; background: var(--s-bg-3); text-decoration: none; display: block; aspect-ratio: 4 / 5; }
.tile img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img{ transform: scale(1.05); }
.tile::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,0) 55%); }
.tile .in{ position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.tile .s-h{ font-size: clamp(34px, 3.4vw, 52px); }
.tile p{ margin: 8px 0 0; color: #d4d4d4; font-size: 15px; }
.tag{ display: inline-block; font: 800 11px/1 var(--s-body); letter-spacing: .16em; text-transform: uppercase; background: var(--s-gold); color: #000; padding: 6px 8px; margin-bottom: 12px; }
.tile.ia{ background: radial-gradient(120% 90% at 80% 0%, rgba(255,46,136,.45), transparent 60%), radial-gradient(90% 90% at 0% 100%, rgba(63,224,255,.25), transparent 60%), #0b0715; }
.tile.ia::after{ display: none; }
.tile.ia .glyph{ position: absolute; left: 50%; top: 38%; width: 34%; transform: translate(-50%, -50%); color: #fff; }
.tile.ia .tag{ background: var(--s-hot); color: #fff; }
@media (max-width: 900px){ .games{ grid-template-columns: 1fr; } .tile{ aspect-ratio: 16 / 10; } .tile.ia .glyph{ left: auto; right: 22px; top: 22px; width: 76px; transform: none; } }

/* investir */
.invest{ margin-top: 120px; position: relative; overflow: hidden; border-block: 1px solid var(--s-line); }
.invest > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.invest::before{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--s-bg) 15%, rgba(5,5,5,.6) 60%, rgba(5,5,5,.2)); z-index: 1; }
.invest .s-wrap{ position: relative; z-index: 2; padding: 110px 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.invest .s-label{ color: var(--s-gold); }
.invest .s-h{ font-size: clamp(48px, 7vw, 108px); margin-top: 14px; }
.invest .s-h span{ color: var(--s-gold); }
.invest p{ color: #dcdcdc; font-size: 18px; max-width: 48ch; margin: 22px 0 28px; }
.uses{ list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--s-line); border: 1px solid var(--s-line); }
.uses li{ background: rgba(5,5,5,.86); padding: 18px 20px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.uses li b{ font: 900 18px/1.3 var(--s-head); color: var(--s-gold); }
.uses li span{ color: #d8d8d8; }
.uses li strong{ color: #fff; display: block; font: 800 15px/1.3 var(--s-body); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 900px){ .invest .s-wrap{ grid-template-columns: 1fr; } }

/* notícias */
.news{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card{ text-decoration: none; background: var(--s-bg-2); display: block; }
.card .pic{ aspect-ratio: 16/9; overflow: hidden; background: var(--s-bg-3); }
.card .pic img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .pic img{ transform: scale(1.05); }
.card .in{ padding: 18px 20px 24px; }
.card .when{ font: 800 11px/1 var(--s-body); letter-spacing: .16em; text-transform: uppercase; color: var(--s-hot); }
.card h3{ font: 900 23px/1.08 var(--s-head); font-stretch: 82%; text-transform: uppercase; margin: 10px 0 8px; }
.card p{ margin: 0; color: var(--s-muted); font-size: 15px; }
@media (max-width: 900px){ .news{ grid-template-columns: 1fr; } }

/* lista */
.join{ padding: 120px 0; }
.join .s-wrap{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.join .s-h{ font-size: clamp(48px, 6vw, 96px); margin-top: 14px; }
.join p{ color: #cfcfcf; font-size: 18px; max-width: 44ch; }
.join ul{ list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--s-muted); }
.join li::before{ content: "■ "; color: var(--s-hot); font-size: 10px; vertical-align: 2px; }
@media (max-width: 900px){ .join .s-wrap{ grid-template-columns: 1fr; gap: 36px; } }

/* página invest */
.inv-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 90px 0; align-items: start; }
.inv-grid h2{ font-size: clamp(34px, 4vw, 56px); margin-bottom: 18px; }
.inv-grid p{ color: #d0d0d0; font-size: 17px; max-width: 54ch; margin: 0 0 16px; }
.facts-s{ display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--s-line); border: 1px solid var(--s-line); margin: 24px 0; }
.facts-s div{ background: var(--s-bg); padding: 20px; }
.facts-s b{ display: block; font: 900 40px/1 var(--s-head); font-stretch: 75%; }
.facts-s span{ color: var(--s-muted); font-size: 14px; }
.panel-s{ background: var(--s-bg-2); border: 1px solid var(--s-line); padding: 32px; }
.strip{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.strip img{ width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 900px){ .inv-grid{ grid-template-columns: 1fr; } .strip{ grid-template-columns: 1fr 1fr; } }

/* entrada */
.motion .reveal{ opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.motion .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .motion .reveal{ opacity: 1; transform: none; } }
.intro p.s-label{ font: 700 12px/1.2 var(--s-body); letter-spacing: .18em; color: var(--s-muted); max-width: none; }

/* ---------- padronização (10/2026): topo fixo sólido, mais respiro ---------- */
.hero{ height: calc(100vh - var(--s-navh, 72px)); min-height: 600px; max-height: 960px; }
.sec{ padding-top: 140px; }
.sec-top{ margin-bottom: 36px; }
.games{ grid-template-columns: 2fr 1fr; grid-template-rows: 320px 320px; gap: 20px; }
.games .tile{ aspect-ratio: auto; }
.games .tile.big{ grid-row: span 2; }
.news{ gap: 20px; }
.invest{ margin-top: 140px; }
.studio{ padding: 150px 0 40px; }
.studio .s-h{ font-size: clamp(48px, 7.4vw, 116px); max-width: 12ch; }
.studio .s-h em{ font-style: normal; color: var(--s-hot); }
.studio-grid{ display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; margin-top: 52px; align-items: start; }
.studio-grid p{ color: #cfcfcf; font-size: 18px; margin: 0 0 16px; max-width: 52ch; }
.figs{ display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--s-line); border: 1px solid var(--s-line); }
.figs div{ background: var(--s-bg); padding: 24px; }
.figs b{ display: block; font: 900 48px/1 var(--s-head); font-stretch: 75%; }
.figs span{ color: var(--s-muted); font-size: 14px; }
.join{ padding: 140px 0; }
@media (max-width: 900px){ .games{ grid-template-columns: 1fr; grid-template-rows: none; } .games .tile{ aspect-ratio: 16 / 10; } .games .tile.big{ grid-row: auto; } .studio-grid{ grid-template-columns: 1fr; gap: 40px; } }

/* Fliper IA na home (10/2026): o jogo como prova do produto */
.ia-sec{ padding: 140px 0 0; }
.ia-sec .s-wrap{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ia-sec .s-label{ color: var(--s-hot); }
.ia-sec .s-h{ font-size: clamp(42px, 5.6vw, 84px); margin-top: 14px; }
.ia-sec .s-h span{ color: var(--s-tox); }
.ia-sec p{ color: #d4d4d4; font-size: 18px; max-width: 46ch; margin: 22px 0 26px; }
.ia-steps{ list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 1px; background: var(--s-line); border: 1px solid var(--s-line); }
.ia-steps li{ background: var(--s-bg); padding: 16px 18px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.ia-steps b{ font: 900 18px/1.3 var(--s-head); color: var(--s-hot); }
.ia-steps span{ color: var(--s-muted); font-size: 15px; }
.ia-steps strong{ display: block; color: #fff; font: 800 15px/1.3 var(--s-body); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.ia-log{ background: radial-gradient(120% 90% at 100% 0%, rgba(255,46,136,.22), transparent 60%), #0b0715; border: 1px solid #2a1f3d; box-shadow: 0 30px 80px rgba(255,46,136,.12); }
.ia-bar{ display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #2a1f3d; }
.ia-bar i{ width: 10px; height: 10px; background: #3a2d52; }
.ia-bar i:first-child{ background: var(--s-hot); }
.ia-bar span{ margin-left: 10px; font: 600 12px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--s-dim); }
.ia-out{ padding: 22px 20px 26px; font: 500 14px/1.6 ui-monospace, Menlo, Consolas, monospace; color: #d9d2e8; }
.ia-out p{ font: inherit; color: inherit; max-width: none; margin: 0 0 8px; display: grid; grid-template-columns: 12ch 1fr; gap: 10px; }
.ia-out p.u, .ia-out p.d{ display: block; }
.ia-out p.u{ margin-bottom: 14px; }
.ia-out p.d{ margin: 14px 0 0; }
.ia-log .u{ color: #fff; }
.ia-log .c{ color: #3fe0ff; }
.ia-log .ok{ color: var(--s-tox); font-weight: 500; }
.ia-log .d{ color: var(--s-gold); }
.ia-log .cur{ color: var(--s-hot); animation: blink 1s steps(1) infinite; }
@keyframes blink{ 50%{ opacity: 0; } }
@media (prefers-reduced-motion: reduce){ .ia-log .cur{ animation: none; } }
@media (max-width: 900px){ .ia-sec .s-wrap{ grid-template-columns: 1fr; gap: 40px; } .ia-out{ font-size: 12.5px; } .ia-out p{ grid-template-columns: 11ch 1fr; gap: 8px; margin-bottom: 8px; } }
