:root {
  --bg: #f4f2ec;
  --card: #ffffff;
  --ink: #16171b;
  --asphalt: #1b1c21;
  --dim: #63636b;
  --line: rgba(22, 23, 27, .1);
  --amk: #f6c300;
  --amk-deep: #c79a00;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.cond, h1, h2, h3 { font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }

/* topo */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20;
  transition: background .35s, box-shadow .35s;
}
.top.solid, .page .top { background: rgba(22,23,27,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { height: 30px; width: auto; transition: opacity .35s, transform .35s; }
body:not(.page) .top:not(.solid) .brand img { opacity: 0; transform: translateX(-16px); }
.nav { display: flex; gap: 22px; font: 700 15px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.nav a { text-decoration: none; color: rgba(255,255,255,.75); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--amk); transition: right .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

/* hero */
.hero {
  position: relative; min-height: 100svh; color: #fff; background: var(--asphalt);
  display: flex; align-items: flex-end; overflow: hidden; padding: 110px 0 120px;
}
.slides, .slides img { position: absolute; inset: 0; }
.slides img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0;
  animation: slide 24s infinite;
}
.slides img:nth-child(2) { animation-delay: 6s; }
.slides img:nth-child(3) { animation-delay: 12s; }
.slides img:nth-child(4) { animation-delay: 18s; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(22,23,27,.55) 0%, rgba(22,23,27,.2) 35%, rgba(22,23,27,.92) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-logo { width: min(300px, 62vw); height: auto; margin-bottom: 22px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.4)); animation: logo-in 1s .1s cubic-bezier(.2,.8,.2,1) both; }
h1 { font-size: clamp(46px, 11vw, 112px); line-height: .9; max-width: 12ch; }
h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-right: .08em; }
h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.35s + var(--i) * 70ms); }
h1 .y { color: var(--amk); }
.lead { font-size: clamp(17px, 2.3vw, 20px); max-width: 46ch; margin-top: 18px; color: rgba(255,255,255,.82); }
.hero .lead, .hero-cta { opacity: 0; animation: fade-up .8s 1s ease forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation-delay: 1.15s; }

/* estrada animada */
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 2; background: #2a2b31; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #e9e6dc; }
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 6px;
  background: linear-gradient(90deg, var(--amk) 50%, transparent 0) 0 0 / 108px 100% repeat-x;
  animation: lane 1.1s linear infinite;
}

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 6px; font: 800 17px/1 'Barlow Condensed', sans-serif;
  text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .5s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { left: 130%; }
.btn-amk { background: var(--amk); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(246,195,0,.8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* faixa rolando */
.ticker { background: var(--amk); overflow: hidden; white-space: nowrap; border-block: 3px solid var(--ink); }
.ticker div { display: inline-flex; gap: 40px; padding: 12px 0; animation: ticker 28s linear infinite; }
.ticker span { font: italic 800 22px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.ticker span::after { content: "/"; margin-left: 40px; opacity: .35; }

/* seções */
section { padding: 72px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; border-bottom: 3px solid var(--ink); padding-bottom: 14px; }
h2 { font-size: clamp(40px, 8vw, 76px); line-height: .9; }
.sec-head small { font: 700 15px/1 'Barlow Condensed', sans-serif; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }

/* jogos */
.games { display: grid; gap: 64px; }
.game { display: grid; gap: 22px; }
.media { position: relative; }
.frame {
  position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; background: var(--asphalt);
  clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1);
}
.game.in .frame { clip-path: inset(0 0 0 0); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide 20s infinite; }
.frame img:first-child { opacity: 1; }
.frame img:nth-child(2) { animation-delay: 4s; }
.frame img:nth-child(3) { animation-delay: 8s; }
.frame img:nth-child(4) { animation-delay: 12s; }
.frame img:nth-child(5) { animation-delay: 16s; }
.game-icon {
  position: absolute; left: 16px; bottom: -26px; width: 84px; height: 84px; border-radius: 20px;
  border: 4px solid var(--bg); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transform: scale(.4) rotate(-12deg); opacity: 0; transition: transform .6s .7s cubic-bezier(.3,1.6,.5,1), opacity .3s .7s;
}
.game.in .game-icon { transform: none; opacity: 1; }
.num { font: italic 800 18px/1 'Barlow Condensed', sans-serif; color: var(--amk-deep); letter-spacing: .04em; }
.game h3 { font-size: clamp(34px, 6vw, 52px); line-height: .95; margin: 6px 0 10px; }
.game p { color: var(--dim); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 22px; }
.tags span { font: 700 14px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em; border: 1.5px solid var(--line); padding: 6px 10px; border-radius: 4px; }
.game-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.link { font: 700 15px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--dim); }
.game-info { padding-top: 22px; }

@media (min-width: 880px) {
  .game { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
  .game:nth-child(even) .media { order: 2; }
  .game:nth-child(even) .frame { clip-path: inset(0 0 0 100%); }
  .game:nth-child(even).in .frame { clip-path: inset(0 0 0 0); }
  .game-info { padding-top: 0; }
}

/* estúdio */
.studio { background: var(--asphalt); color: #fff; position: relative; overflow: hidden; }
.studio .sec-head { border-color: var(--amk); }
.studio .sec-head small { color: rgba(255,255,255,.5); }
.studio p { font-size: clamp(20px, 3vw, 28px); line-height: 1.4; max-width: 30ch; color: rgba(255,255,255,.88); }
.studio p b { color: var(--amk); font-weight: 600; }
.studio-logo { position: absolute; right: -40px; bottom: -30px; width: 460px; max-width: 70%; opacity: .07; transform: rotate(-6deg); }

/* contato */
.contact { text-align: left; }
.mail {
  display: inline-block; font: italic 800 clamp(30px, 7.5vw, 84px)/1 'Barlow Condensed', sans-serif; text-transform: lowercase;
  text-decoration: none; word-break: break-all;
  background: linear-gradient(var(--amk), var(--amk)) 0 100% / 100% 8px no-repeat;
  transition: background-size .35s;
}
.mail:hover { background-size: 100% 100%; }
.contact p { color: var(--dim); margin-top: 18px; max-width: 48ch; }

footer { background: var(--asphalt); color: rgba(255,255,255,.6); padding: 34px 0 40px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer img { height: 22px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--amk); }

/* páginas internas */
.page-head { background: var(--asphalt); color: #fff; padding: 120px 0 56px; position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(44px, 9vw, 96px); }
.page-head .lead a { color: var(--amk); }
.page-head .road { height: 22px; }
.page-head .road::before { display: none; }
.page-head .road::after { top: 8px; height: 5px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: rgba(255,255,255,.65); font-size: 15px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 28px; }
.chips span { font: 700 15px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .03em; background: var(--card); border: 1.5px solid var(--line); border-radius: 4px; padding: 8px 12px; }
.doc { background: var(--card); border-radius: 10px; padding: 28px 22px; border: 1px solid var(--line); }
.doc h2 { font-size: 28px; margin: 38px 0 10px; display: flex; gap: 12px; align-items: baseline; }
.doc .pol-sec:first-of-type h2 { margin-top: 0; }
.doc h2 .n { color: var(--amk-deep); font-size: 22px; }
.doc h3 { font: 700 18px/1.3 'Barlow', sans-serif; font-style: normal; text-transform: none; margin: 18px 0 6px; }
.doc p, .doc li { color: #3a3a42; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.doc li::marker { color: var(--amk-deep); }
.doc a { color: var(--ink); text-decoration-color: var(--amk); text-decoration-thickness: 2px; }
.callout { background: #fff8d9; border-left: 4px solid var(--amk); border-radius: 6px; padding: 14px 16px; margin: 14px 0; }
.callout b { display: block; margin-bottom: 4px; }
@media (min-width: 760px) { .doc { padding: 48px 56px; } }

.pol-list { display: grid; gap: 12px; }
.pol {
  display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 18px 14px 14px; text-decoration: none; transition: transform .25s, border-color .25s;
}
.pol:hover { transform: translateX(6px); border-color: var(--amk); }
.pol img { width: 60px; height: 60px; border-radius: 14px; }
.pol b { display: block; font: italic 800 24px/1.05 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.pol span { color: var(--dim); font-size: 15px; }
.pol .go { margin-left: auto; font-size: 26px; color: var(--amk-deep); transition: transform .25s; }
.pol:hover .go { transform: translateX(4px); }

/* revelar ao rolar */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.game.reveal { opacity: 1; transform: none; }
.game .game-info > * { opacity: 0; transform: translateX(-24px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
.game.in .game-info > * { opacity: 1; transform: none; }
.game.in .game-info > :nth-child(2) { transition-delay: .1s; }
.game.in .game-info > :nth-child(3) { transition-delay: .2s; }
.game.in .game-info > :nth-child(4) { transition-delay: .3s; }
.game.in .game-info > :nth-child(5) { transition-delay: .4s; }

@keyframes slide { 0% { opacity: 0; transform: scale(1.08); } 5%, 25% { opacity: 1; } 30% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes logo-in { from { opacity: 0; transform: translateX(-30px) skewX(-12deg); } to { opacity: 1; transform: none; } }
@keyframes lane { to { background-position: -108px 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 560px) {
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .brand img { height: 24px; }
  .sec-head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .game .game-info > *, .game-icon, h1 .w > span, .hero .lead, .hero-cta { opacity: 1 !important; transform: none !important; }
  .frame { clip-path: none !important; }
  .slides img:first-child { opacity: 1; }
}
