:root {
  color-scheme: dark;
  --bg: #050506;
  --bg2: #0d0d10;
  --ink: #f1f1f2;
  --muted: #9b9ba4;
  --line: #2a2a30;
  --red: #ff3a2a;
  --cy: #1fb6ff;
  --am: #ffb21e;
  --cond: "Bahnschrift", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 .9375rem/1.6 var(--body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gut), 1100px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 50; background: #fff; color: #000; padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 8px; }

/* tipografia de título */
h1, h2, h3, .brand, .btn, .lab b, .tablist label, .kicker, .kicker-w, .facts dt, .facts dd, .top nav a, .roster b, .foot {
  font-family: var(--cond); font-stretch: 75%; text-transform: uppercase;
}
h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); line-height: 1.05; letter-spacing: .02em; font-weight: 700; }
.note { color: var(--muted); font-size: .85rem; margin-top: 10px; max-width: 42em; margin-inline: auto; }

/* topo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5, 5, 6, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { width: min(100% - 2 * var(--gut), 1100px); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; gap: 8px; }
.top nav { display: flex; gap: 2px; }
.top nav.n2 { justify-content: flex-end; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.top nav a:hover { color: #fff; }
.brand { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-size: 1.35rem; font-weight: 700; letter-spacing: .12em; }
.brand svg { width: 24px; height: 24px; color: var(--red); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px;
  border: 2px solid #8d8d95; font-size: .9rem; font-weight: 700; letter-spacing: .12em; background: transparent; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn:hover { border-color: #fff; background: #fff; color: #000; }
.btn.red { background: var(--red); border-color: var(--red); color: #050506; }
.btn.red:hover { background: #fff; border-color: #fff; }
.btn.big { min-height: 56px; padding: 0 34px; font-size: 1.05rem; }
.btn.cy { background: var(--cy); border-color: var(--cy); color: #031018; }
.btn.am { background: var(--am); border-color: var(--am); color: #1a1000; }
.btn.cy:hover, .btn.am:hover { background: #fff; border-color: #fff; color: #000; }

/* hero */
.hero { padding: 28px var(--gut) 0; overflow-x: clip; }
.hero-box { position: relative; width: min(100%, 1100px); margin-inline: auto; min-height: 590px; }
.frame { position: absolute; left: 0; top: 30px; width: 72%; height: 430px; border: 6px solid var(--red); }
.spot { position: absolute; right: -4%; top: -6%; width: 74%; height: 100%; background: radial-gradient(ellipse 45% 42% at 55% 52%, rgba(255, 255, 255, .17), rgba(255, 58, 42, .10) 45%, transparent 72%); pointer-events: none; }
.hero-text { position: absolute; left: 44px; top: 76px; width: 42%; z-index: 2; }
.kicker { color: var(--red); font-size: .82rem; font-weight: 700; letter-spacing: .2em; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); line-height: .96; letter-spacing: .01em; font-weight: 700; margin: 10px 0 14px; }
.sub { color: #b9b9c0; font-size: .875rem; max-width: 28em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-kart { position: absolute; right: -1%; bottom: 20px; width: 62%; z-index: 3; -webkit-box-reflect: below -14px linear-gradient(transparent 72%, rgba(255, 255, 255, .22)); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }

/* trio de blocos */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
section.trio { margin-top: clamp(0px, 3vw, 44px); max-width: 640px; width: min(100% - 2 * var(--gut), 640px); }
.tile { position: relative; display: block; border: 3px solid #34343b; background: #000; overflow: hidden; aspect-ratio: 16 / 11; transition: border-color .2s; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.9); transition: filter .3s, transform .6s; }
.tile .lab { position: absolute; inset: auto 0 0 0; padding: 8px 10px 9px; display: grid; gap: 2px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.lab b { font-size: .86rem; line-height: 1.1; letter-spacing: .06em; font-weight: 700; }
.lab small { color: #b6b6bd; font-size: .7rem; line-height: 1.3; }
a.tile:hover { border-color: #fff; }
a.tile:hover > img { filter: brightness(.8); transform: scale(1.05); }

/* mural */
.wall-sec { padding: clamp(56px, 9vw, 96px) var(--gut) 0; }
.wall { margin: 28px auto 0; width: min(100%, 1100px); display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: clamp(70px, 11.5vw, 140px); gap: 3px; grid-auto-flow: dense; }
.wall li { overflow: hidden; background: #111; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .3s; }
.wall li:hover img { transform: scale(1.04); filter: brightness(1.08); }
.w-a { grid-area: 1 / 1 / 3 / 5; } .w-b { grid-area: 1 / 5 / 3 / 7; } .w-c { grid-area: 1 / 7 / 2 / 9; } .w-g { grid-area: 2 / 7 / 3 / 9; }
.w-d { grid-area: 3 / 1 / 5 / 5; } .w-f { grid-area: 3 / 5 / 5 / 7; } .w-e { grid-area: 3 / 7 / 4 / 9; } .w-h { grid-area: 4 / 7 / 5 / 9; }

/* destaques */
.feat { --c: var(--cy); padding: clamp(64px, 10vw, 120px) 0 0; position: relative; }
.feat.amber { --c: var(--am); }
.kicker-w { color: var(--c); font-size: .82rem; font-weight: 700; letter-spacing: .22em; }
.kicker-w span { margin-left: 8px; padding: 2px 8px; background: var(--c); color: #031018; letter-spacing: .1em; }
.feat h2 { margin-top: 6px; }
.tabs { margin-top: 26px; }
.tabs > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tablist { display: flex; justify-content: center; gap: 2px; }
.tablist label { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; background: #16161a; color: #7b7b84; font-size: .72rem; font-weight: 700; letter-spacing: .14em; cursor: pointer; }
.tablist label:hover { color: #fff; }
#tk1:checked ~ .tablist [for=tk1], #tk2:checked ~ .tablist [for=tk2], #tk3:checked ~ .tablist [for=tk3],
#tf1:checked ~ .tablist [for=tf1], #tf2:checked ~ .tablist [for=tf2] { background: #fff; color: #000; }
#tk1:focus-visible ~ .tablist [for=tk1], #tk2:focus-visible ~ .tablist [for=tk2], #tk3:focus-visible ~ .tablist [for=tk3],
#tf1:focus-visible ~ .tablist [for=tf1], #tf2:focus-visible ~ .tablist [for=tf2] { outline: 3px solid var(--c); outline-offset: 2px; }
.panel { display: none; }
#tk1:checked ~ .stage .p1, #tk2:checked ~ .stage .p2, #tk3:checked ~ .stage .p3,
#tf1:checked ~ .stage .p1, #tf2:checked ~ .stage .p2 { display: block; }

.stage { display: grid; gap: 8px; align-items: center; margin-top: 34px; }
.info > * + * { margin-top: 18px; }
.box { display: inline-block; border: 5px solid var(--c); padding: 14px 20px 12px; }
.box h3 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); line-height: 1; font-weight: 700; letter-spacing: .02em; }
.box p { color: var(--c); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-top: 6px; max-width: 22em; }
.panel p { color: #b9b9c0; font-size: .875rem; max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--line); background: #0f0f12; font-size: .76rem; color: #d6d6db; }
.chips i { width: 9px; height: 9px; background: var(--c); flex: none; }
.facts { display: flex; gap: 0; }
.facts div { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); }
.facts div:last-child { border: 0; margin: 0; padding: 0; }
.facts dt { color: var(--muted); font-size: .68rem; letter-spacing: .16em; font-weight: 700; }
.facts dd { font-size: 2rem; line-height: 1.1; font-weight: 700; color: #fff; }
.vis { position: relative; display: grid; place-items: center; min-height: 240px; }
.vis .glow { position: absolute; inset: 0; background: radial-gradient(ellipse 48% 44% at 50% 52%, color-mix(in srgb, var(--c) 55%, transparent), color-mix(in srgb, var(--c) 14%, transparent) 55%, transparent 75%); filter: blur(10px); }
.vis::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 8%; height: 12%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 45%, transparent), transparent); }
.vis img { position: relative; width: 100%; max-width: 560px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .65)); -webkit-box-reflect: below -10px linear-gradient(transparent 74%, rgba(255, 255, 255, .2)); margin-bottom: 40px; }
.vis.plain img { border: 4px solid var(--c); -webkit-box-reflect: unset; margin: 0; filter: none; box-shadow: 0 0 60px -10px color-mix(in srgb, var(--c) 70%, transparent); }

/* turma */
.cast { padding-block: clamp(64px, 10vw, 120px) 0; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 24px 12px; margin-top: 34px; }
.roster li { display: grid; gap: 2px; align-content: start; }
.roster i { display: block; width: 80px; height: 80px; margin-bottom: 8px; border: 1px solid #34343b; background: #111 url("../img/cast.webp") calc(var(--x) * -80px) calc(var(--y) * -80px) / 400px 320px no-repeat; background-origin: border-box; }
.roster b { font-size: .86rem; line-height: 1.1; letter-spacing: .06em; font-weight: 700; }
.roster span { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.roster .ko i { border-style: dashed; border-color: #666; }

/* instalar */
.inst { padding-block: clamp(64px, 10vw, 120px) 0; }
.inst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 30px; max-width: 1000px; margin-inline: auto; }
.inst-card { border: 4px solid var(--c); background: var(--bg2); padding: 20px 20px 22px; display: grid; gap: 14px; align-content: start; }
.inst-card.cyan { --c: var(--cy); } .inst-card.amber { --c: var(--am); }
.inst-card h3 { font-size: 1.5rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.inst-card > .btn { justify-self: start; }
.top nav a { white-space: nowrap; }
@media (max-width: 480px) { .top nav a.opt { display: none; } .top nav a { padding: 0 8px; } }
.inst-card p { color: #b9b9c0; font-size: .875rem; } .inst-card p b { color: #fff; }
.inst-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.inst-btns small { margin-left: 6px; color: var(--muted); font-size: .7rem; letter-spacing: .06em; }
.inst-note, .inst-ios { color: var(--muted); font-size: .76rem; }
.inst-ios { margin-top: 18px; }

/* em breve */
.soon { padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px); }
.soon .trio { margin-top: 30px; max-width: 1000px; margin-inline: auto; }
.soon .tile { aspect-ratio: 4 / 3; }
.soon .tile > img { filter: brightness(.38) saturate(.8); }
.soon .tile > img.cut { inset: 4% -8% auto auto; width: 82%; height: auto; object-fit: contain; filter: none; opacity: .95; }
.soon .lab { padding: 28px 14px 14px; gap: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .92) 40%); }
.soon .lab b { font-size: 1.1rem; }
.lab em { justify-self: start; margin-top: 6px; font-style: normal; font-family: var(--cond); font-stretch: 75%; font-size: .68rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; border: 1px solid var(--red); color: var(--red); padding: 2px 8px; }

.foot { border-top: 1px solid var(--line); padding: 24px var(--gut) 40px; text-align: center; color: #6e6e78; font-size: .66rem; letter-spacing: .18em; display: grid; gap: 4px; }
.foot p { margin: 0; }

/* telas largas */
@media (min-width: 900px) {
  .stage { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stage.flip .vis { order: -1; }
  .feat-in { max-width: 1060px; }
}
/* celular */
@media (max-width: 899px) {
  .stage { grid-template-columns: 1fr; }
  .info { order: 2; }
  .vis { order: 1; }
  .facts, .box { margin-inline: 0; }
}
@media (max-width: 640px) {
  .bar { grid-template-columns: 1fr 1fr; grid-template-areas: "b b" "l r"; min-height: 0; padding-top: 6px; gap: 0; }
  .brand { grid-area: b; }
  .n1 { grid-area: l; } .n2 { grid-area: r; }
  .top nav a { padding: 0 8px; font-size: .72rem; }
  .hero { padding-top: 18px; }
  .hero-box { min-height: 0; display: grid; }
  .frame { left: 0; right: 0; top: 0; width: auto; height: auto; bottom: 200px; border-width: 5px; }
  .spot { right: -10%; left: -10%; top: auto; width: auto; bottom: -20px; height: 56%; }
  .hero-text { position: relative; left: auto; top: auto; width: auto; padding: 28px 22px 0; }
  .hero h1 { font-size: 2.9rem; }
  .cta .btn { flex: 1 1 100%; }
  .hero-kart { position: relative; right: auto; bottom: auto; width: 116%; max-width: none; margin: 4px 0 0 -8%; justify-self: start; }
  .trio { grid-template-columns: 1fr; gap: 10px; }
  .tile { aspect-ratio: 16 / 7; }
  section.trio { max-width: none; }
  .soon .tile { aspect-ratio: 16 / 9; }
  .soon .tile > img.cut { width: 52%; inset: 6% 0 auto auto; }
  .wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 28vw; }
  .w-a { grid-area: auto / auto / span 2 / span 2; } .w-b { grid-area: auto / auto / span 2 / span 1; } .w-c, .w-g, .w-e, .w-h { grid-area: auto / auto / span 1 / span 1; }
  .w-d { grid-area: auto / auto / span 2 / span 2; } .w-f { grid-area: auto / auto / span 2 / span 1; }
  .roster { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .tablist { flex-wrap: wrap; }
  .btn.big { width: 100%; }
  .info .box { display: block; }
  .vis img { max-width: 90%; }
}
@media (max-height: 460px) and (orientation: landscape) and (max-width: 1000px) {
  .top { position: static; }
}

/* movimento discreto */
@media (prefers-reduced-motion: no-preference) {
  .hero-kart { animation: roll .9s cubic-bezier(.2, .7, .2, 1) backwards; }
  @keyframes roll { from { opacity: 0; transform: translateX(40px); } }
  .spot { animation: fade 1.4s ease-out backwards; }
  @keyframes fade { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
