/* =========================================================
   KURAMA — preto, vermelho, vinho. Branco só nos detalhes.
   ========================================================= */
:root {
  --bg: #0a0809;
  --bg-1: #100c0e;
  --bg-2: #161013;
  --bg-3: #1f171b;
  --line: #2a1f24;
  --line-2: #3d2c33;

  --wine: #5a0a1b;
  --wine-2: #36060f;
  --wine-3: #7e1128;
  --red: #dc0018;
  --red-hi: #ff2a40;

  --text: #e9e3e4;
  --muted: #9d9095;
  --dim: #6b5f64;
  --white: #fff;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-display);
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.red { color: var(--red); }
.mono { font-family: var(--f-mono); }

.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 68%;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
  margin: 0;
  color: var(--text);
}

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); flex: none;
  box-shadow: 0 0 0 0 rgba(220, 0, 24, .6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 0, 24, .55); }
  70% { box-shadow: 0 0 0 7px rgba(220, 0, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 0, 24, 0); }
}

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 85%;
  font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--red); color: var(--white); }
.btn--line { border-color: var(--line-2); color: var(--text); width: 100%; }
.btn--line:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--white { background: var(--white); color: var(--bg); }
.btn--white:hover { background: var(--bg); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); text-transform: none; letter-spacing: .01em; font-stretch: 100%; font-weight: 600; }
.btn--ghost-light:hover { border-color: var(--white); }

/* =========================================================
   HEADER
   ========================================================= */
.top {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.top.is-scrolled { background: rgba(10, 8, 9, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.top__inner {
  max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: auto; }
.brand__word { font-weight: 900; font-stretch: 70%; font-size: 24px; letter-spacing: .02em; }

.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }

.top__right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.onair {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .06em;
}
.onair span { color: var(--text); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; border: 1px solid var(--line-2); }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .25s var(--ease), top .25s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 22px; }
.top.is-open .nav-toggle span:first-child { top: 18px; transform: rotate(45deg); }
.top.is-open .nav-toggle span:last-child { top: 18px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -68px 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(90, 10, 27, .55), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(54, 6, 15, .6), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__title { font-size: clamp(3.2rem, 6.2vw, 6.4rem); margin: 22px 0 26px; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: 40px 0 0; border-top: 1px solid var(--line);
}
.hero__stats div { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.hero__stats div:last-child { border-right: 0; margin-right: 0; }
.hero__stats dt { font-family: var(--f-mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.hero__stats dd { margin: 4px 0 0; font-weight: 900; font-stretch: 70%; font-size: 34px; line-height: 1; }

/* ---------- STUDIO (mock do OBS) ---------- */
.studio {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.6);
  font-family: var(--f-mono); font-size: 12px;
  min-width: 0;
}
.studio__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  height: 32px; padding: 0 0 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line);
  color: var(--dim); font-size: 11px;
}
.studio__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio__title b { color: var(--muted); font-weight: 500; }
.studio__win { display: flex; height: 100%; }
.studio__win i { width: 40px; height: 100%; position: relative; }
.studio__win i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--dim); transform: translate(-50%, -50%); }
.studio__win i:nth-child(2)::before { height: 9px; background: none; border: 1px solid var(--dim); }
.studio__win i:nth-child(3)::before { transform: translate(-50%, -50%) rotate(45deg); }
.studio__win i:nth-child(3)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--dim); transform: translate(-50%, -50%) rotate(-45deg); }
.studio__win i:nth-child(3)::before { width: 12px; }

/* program monitor */
.program {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  margin: 10px 10px 0; background: #000;
  container-type: inline-size;
  outline: 1px solid var(--line);
}
.program__label {
  position: absolute; z-index: 6; top: 8px; left: 8px;
  font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.55); padding: 3px 7px;
}
.program__label b { color: var(--white); font-weight: 500; }

.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; overflow: hidden; font-family: var(--f-display); }
.scene.is-on { opacity: 1; visibility: visible; }
.program[data-t="fade"] .scene { transition: opacity .5s ease, visibility .5s; }

/* cena: começando */
.sc-start {
  display: grid; place-content: center; justify-items: center; text-align: center;
  background: radial-gradient(70% 90% at 50% 40%, #5a0a1b 0%, #24050c 60%, #0a0809 100%);
}
.sc-start__stripes {
  position: absolute; inset: -20%;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 1.6cqw, transparent 1.6cqw 3.2cqw);
  animation: stripes 6s linear infinite;
}
@keyframes stripes { to { transform: translateX(4.53cqw); } }
.sc-start__logo { width: 11cqw; position: relative; filter: drop-shadow(0 1cqw 2cqw rgba(0,0,0,.6)); }
.sc-start__title {
  position: relative; margin-top: 2.4cqw;
  font-family: var(--f-display); font-weight: 900; font-stretch: 68%;
  font-size: 7cqw; line-height: .9; text-transform: uppercase; color: var(--white);
}
.sc-start__count {
  position: relative; margin-top: 1.6cqw; font-family: var(--f-mono); font-size: 3cqw;
  color: var(--white); background: var(--red); padding: .3cqw 1.2cqw;
}

/* cena: gameplay */
.sc-game { background: #0b0709; }
.sc-game__sky {
  position: absolute; inset: 0 0 45% 0;
  background:
    radial-gradient(30% 60% at 50% 100%, rgba(220,0,24,.55), transparent 70%),
    linear-gradient(#0a0608, #2a0710);
}
.sc-game__sky::after { /* montanhas */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: #120609;
  clip-path: polygon(0 100%, 0 60%, 8% 35%, 16% 55%, 26% 20%, 36% 50%, 44% 38%, 52% 62%, 60% 30%, 70% 52%, 80% 18%, 90% 46%, 100% 30%, 100% 100%);
}
.sc-game__floor {
  position: absolute; left: -50%; right: -50%; top: 55%; bottom: -40%;
  background:
    repeating-linear-gradient(90deg, rgba(220,0,24,.5) 0 1px, transparent 1px 6cqw),
    repeating-linear-gradient(0deg, rgba(220,0,24,.5) 0 1px, transparent 1px 6cqw),
    linear-gradient(#1a0509, #0a0809);
  transform: perspective(30cqw) rotateX(62deg); transform-origin: top;
  animation: floor 1.2s linear infinite;
}
@keyframes floor { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 6cqw, 0 0; } }
.sc-game__cross { position: absolute; left: 50%; top: 46%; width: 2.4cqw; height: 2.4cqw; transform: translate(-50%, -50%); }
.sc-game__cross::before, .sc-game__cross::after { content: ""; position: absolute; background: rgba(255,255,255,.85); }
.sc-game__cross::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.sc-game__cross::after { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.sc-game__hp { position: absolute; left: 50%; bottom: 4cqw; width: 22cqw; height: 1cqw; transform: translateX(-50%); background: rgba(255,255,255,.15); }
.sc-game__hp i { position: absolute; inset: 0 28% 0 0; background: var(--white); }
.sc-game__alert {
  position: absolute; left: 50%; top: 5cqw; transform: translate(-50%, -150%);
  display: flex; flex-direction: column; align-items: center;
  background: var(--red); color: var(--white); padding: 1cqw 2.6cqw;
  font-family: var(--f-display); text-transform: uppercase;
  animation: alert 6s var(--ease) infinite;
}
.sc-game__alert b { font-weight: 900; font-stretch: 70%; font-size: 3.4cqw; line-height: 1; }
.sc-game__alert span { font-family: var(--f-mono); font-size: 1.5cqw; text-transform: none; opacity: .9; margin-top: .4cqw; }
@keyframes alert {
  0%, 20% { transform: translate(-50%, -160%); }
  28%, 62% { transform: translate(-50%, 0); }
  70%, 100% { transform: translate(-50%, -160%); }
}

.cam {
  position: absolute; background: #0d0a0b;
  border: .35cqw solid var(--red);
  display: grid; place-items: center;
  background-image: radial-gradient(80% 80% at 50% 30%, #2a0a12, #0a0809);
}
.cam img { width: 40%; }
.sc-game__cam { left: 2.4cqw; bottom: 2.4cqw; width: 22cqw; aspect-ratio: 16/10; }
.sc-game__cam span {
  position: absolute; left: -.35cqw; bottom: -3.2cqw;
  background: var(--red); color: #fff; font-family: var(--f-display); font-weight: 900; font-stretch: 70%;
  font-size: 1.8cqw; padding: .2cqw 1cqw;
}
.fakechat { position: absolute; display: flex; flex-direction: column; gap: 1.1cqw; padding: 1.4cqw; background: rgba(0,0,0,.45); }
.fakechat i { display: block; height: 1cqw; background: rgba(255,255,255,.18); }
.fakechat i:nth-child(odd) { width: 80%; }
.fakechat i:nth-child(3n) { width: 55%; background: rgba(220,0,24,.5); }
.fakechat i:nth-child(4n) { width: 92%; }
.sc-game__chat { right: 2.4cqw; top: 14cqw; width: 18cqw; }

/* cena: just chatting */
.sc-talk { background: radial-gradient(90% 90% at 30% 50%, #2a0710, #0a0809 70%); }
.sc-talk__cam { left: 4cqw; top: 6cqw; width: 62cqw; aspect-ratio: 16/9; border-width: .3cqw; }
.sc-talk__cam img { width: 22%; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.sc-talk__lower { position: absolute; left: 4cqw; bottom: 4.4cqw; display: flex; flex-direction: column; align-items: flex-start; }
.sc-talk__lower b { background: var(--red); color: #fff; font-weight: 900; font-stretch: 68%; font-size: 4.4cqw; line-height: 1; padding: .6cqw 1.6cqw .4cqw; text-transform: uppercase; }
.sc-talk__lower span { background: var(--white); color: var(--bg); font-family: var(--f-mono); font-size: 1.8cqw; padding: .5cqw 1.6cqw; }
.sc-talk__chat { right: 4cqw; top: 6cqw; bottom: 6cqw; width: 24cqw; }

/* cena: volto já */
.sc-brb { display: grid; place-content: center; text-align: center; background: #120609; }
.sc-brb .sc-start__stripes { background: repeating-linear-gradient(-45deg, rgba(220,0,24,.08) 0 1.6cqw, transparent 1.6cqw 3.2cqw); }
.sc-brb__title { position: relative; font-weight: 900; font-stretch: 62%; font-size: 17cqw; line-height: .8; text-transform: uppercase; color: var(--white); }
.sc-brb__sub { position: relative; margin-top: 2cqw; display: inline-flex; align-items: center; justify-content: center; gap: 1cqw; font-family: var(--f-mono); font-size: 2cqw; color: var(--muted); }

/* stinger */
.stinger { position: absolute; inset: 0; z-index: 5; pointer-events: none; visibility: hidden; }
.stinger__a, .stinger__b { position: absolute; top: -10%; bottom: -10%; width: 130%; left: -15%; transform: translateX(-120%) skewX(-14deg); }
.stinger__a { background: var(--wine); }
.stinger__b { background: var(--red); display: grid; place-items: center; }
.stinger__b img { width: 13cqw; transform: skewX(14deg); filter: brightness(0); }
.stinger.run { visibility: visible; }
.stinger.run .stinger__a { animation: sting .76s cubic-bezier(.7,0,.3,1) forwards; }
.stinger.run .stinger__b { animation: sting .76s cubic-bezier(.7,0,.3,1) .06s forwards; }
@keyframes sting {
  0% { transform: translateX(-120%) skewX(-14deg); }
  45%, 55% { transform: translateX(0) skewX(-14deg); }
  100% { transform: translateX(120%) skewX(-14deg); }
}

/* docks */
.docks { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 10px; padding: 10px; }
.dock { background: var(--bg-2); border: 1px solid var(--line); padding: 10px; min-width: 0; }
.dock__h { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.dock__h--sub { margin: 12px 0 6px; }

.scenes { display: flex; flex-direction: column; gap: 2px; }
.scenes button {
  width: 100%; text-align: left; padding: 7px 9px; color: var(--muted);
  border-left: 2px solid transparent; transition: background .15s, color .15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scenes button:hover { background: var(--bg-3); color: var(--text); }
.scenes button[aria-pressed="true"] { background: var(--wine); color: var(--white); border-left-color: var(--red); }

.ch + .ch { margin-top: 10px; }
.ch__top { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.ch__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch__name em { font-style: normal; color: var(--dim); font-size: 10px; margin-left: 4px; }
.ch__db { color: var(--text); font-variant-numeric: tabular-nums; flex: none; }
.ch.is-muted .ch__name, .ch.is-muted .ch__db { color: var(--dim); text-decoration: line-through; }
.meter {
  position: relative; height: 7px; margin: 5px 0 4px;
  background: linear-gradient(90deg, #2c2427 0 66.6%, #3a1219 66.6% 85%, #4a0a12 85% 100%);
}
.meter::after { /* segmentação */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 3px, var(--bg-2) 3px 4px);
}
.meter__fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #d8cfd2 0 66.6%, #c3203b 66.6% 85%, #ff2a40 85% 100%);
  clip-path: inset(0 calc(100% - var(--lvl, 0%)) 0 0);
}
.meter__peak { position: absolute; top: 0; bottom: 0; width: 2px; left: var(--pk, 0%); background: var(--white); z-index: 1; }
.ch__ctrl { display: flex; align-items: center; gap: 8px; }
.ch__ctrl input[type=range] { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; height: 16px; background: transparent; cursor: pointer; }
.ch__ctrl input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); }
.ch__ctrl input[type=range]::-moz-range-track { height: 2px; background: var(--line-2); }
.ch__ctrl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 14px; margin-top: -6px; background: var(--text); border: 0; }
.ch__ctrl input[type=range]::-moz-range-thumb { width: 10px; height: 14px; background: var(--text); border: 0; border-radius: 0; }
.mute { width: 22px; height: 22px; flex: none; position: relative; border: 1px solid var(--line-2); }
.mute::before { /* alto-falante */
  content: ""; position: absolute; left: 5px; top: 7px; width: 4px; height: 6px; background: var(--muted);
  box-shadow: 3px 0 0 0 transparent;
  clip-path: none;
}
.mute::after { content: ""; position: absolute; left: 8px; top: 4px; border-style: solid; border-width: 6px 6px 6px 0; border-color: transparent var(--muted) transparent transparent; }
.mute[aria-pressed="true"] { background: var(--wine); border-color: var(--red); }
.mute[aria-pressed="true"]::before, .mute[aria-pressed="true"]::after { opacity: .5; }

.ctl {
  display: block; width: 100%; padding: 8px 10px; margin-bottom: 6px; text-align: left;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); transition: background .15s, border-color .15s;
}
.ctl:hover { border-color: var(--muted); }
.ctl.is-on { background: var(--red); border-color: var(--red); color: var(--white); }

.seg { display: flex; border: 1px solid var(--line-2); }
.seg button { flex: 1; padding: 6px 4px; color: var(--muted); font-size: 11px; transition: background .15s, color .15s; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.status {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px;
  padding: 7px 12px; border-top: 1px solid var(--line); background: var(--bg-2);
  font-size: 11px; color: var(--dim);
}
.st b { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.st--live, .st--rec { display: inline-flex; align-items: center; gap: 6px; }
.st--live .dot { width: 7px; height: 7px; background: var(--dim); animation: none; }
.st--live.is-on, .st--live.is-on b { color: var(--red-hi); }
.st--live.is-on .dot { background: var(--red); animation: pulse 1.6s infinite; }
.st--rec.is-on, .st--rec.is-on b { color: var(--text); }
.st--rec.is-on::before { content: ""; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }
.st--drop b { color: var(--text); }

/* =========================================================
   TICKER
   ========================================================= */
.ticker { background: var(--red); color: var(--bg); overflow: hidden; border-block: 1px solid var(--red); }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-weight: 900; font-stretch: 70%; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; line-height: 1; padding-block: 14px;
  white-space: nowrap;
}
.ticker span::after { content: ""; width: 10px; height: 10px; background: var(--bg); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.head { display: grid; grid-template-columns: 1fr minmax(0, 380px); grid-template-areas: "tag tag" "h aside"; gap: 22px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head .tag { grid-area: tag; }
.head .h2 { grid-area: h; }
.head .head__aside { grid-area: aside; }
.h2 { font-size: clamp(2.8rem, 6.4vw, 6rem); }
.head__aside { color: var(--muted); font-size: 1.05rem; max-width: 42ch; }

/* ---------- serviços ---------- */
.svc { border-bottom: 1px solid var(--line); counter-reset: none; }
.svc__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.3fr) 150px; gap: 28px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.svc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, var(--wine-2), rgba(54,6,15,0));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.svc__row:hover::before { transform: scaleX(1); }
.svc__n { font-family: var(--f-mono); font-size: 13px; color: var(--dim); padding-top: 10px; transition: color .25s; }
.svc__row:hover .svc__n { color: var(--red); }
.svc__t { margin: 0; font-weight: 900; font-stretch: 68%; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: .95; text-transform: uppercase; transition: transform .4s var(--ease); }
.svc__row:hover .svc__t { transform: translateX(10px); }
.svc__d p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li { font-family: var(--f-mono); font-size: 11px; color: var(--text); border: 1px solid var(--line-2); padding: 3px 8px; }
.svc__p { justify-self: end; text-align: right; padding-top: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); white-space: nowrap; }
.svc__p b { display: block; font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 30px; color: var(--text); line-height: 1.1; transition: color .2s; }
.svc__p:hover b, .svc__row:hover .svc__p b { color: var(--red-hi); }

/* ---------- diagnóstico ---------- */
.diag { background: var(--bg-1); border-block: 1px solid var(--line); }
.seg--lg { display: inline-flex; margin-bottom: 22px; }
.seg--lg button { padding: 12px 22px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.diag[data-state="after"] .seg--lg button[aria-pressed="true"] { background: var(--red); color: var(--white); }

.diag__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { background: var(--bg-2); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; min-height: 150px; transition: border-color .3s; }
.tile__k { font-family: var(--f-mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.tile__v { margin-top: auto; font-weight: 900; font-stretch: 68%; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--red-hi); font-variant-numeric: tabular-nums; transition: color .3s; }
.tile__s { font-size: 13px; color: var(--muted); margin-top: 6px; }
.diag[data-state="after"] .tile__v { color: var(--white); }
.diag[data-state="before"] .tile { border-color: #3a1219; }
.tile.flick .tile__v, .tile.flick .tile__s { animation: flick .45s steps(4); }
@keyframes flick { 0% { opacity: 0; } 25% { opacity: 1; } 50% { opacity: .2; } 100% { opacity: 1; } }

.log { background: #070506; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.log__bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.log__bar b { color: var(--muted); font-weight: 500; }
.log__state { color: var(--red-hi); }
.diag[data-state="after"] .log__state { color: var(--text); }
.log__body {
  margin: 0; padding: 16px 14px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75;
  color: #b9adb1; white-space: pre-wrap; word-break: break-word; overflow: auto; flex: 1;
}
.log__body--after { display: none; }
.diag[data-state="after"] .log__body--before { display: none; }
.diag[data-state="after"] .log__body--after { display: block; }
.lt { color: var(--dim); }
.lw { color: var(--red-hi); }
.lok { color: var(--white); background: rgba(255,255,255,.08); padding: 0 4px; }

.fix { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.fix__h { margin: 0; font-weight: 900; font-stretch: 70%; font-size: 28px; text-transform: uppercase; line-height: 1; }
.fix__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; counter-reset: fx; }
.fix__list li { counter-increment: fx; color: var(--muted); font-size: 15px; position: relative; padding-top: 30px; }
.fix__list li::before { content: "0" counter(fx); position: absolute; top: 0; left: 0; font-family: var(--f-mono); font-size: 12px; color: var(--red); }
.fix__list b { color: var(--text); font-weight: 700; }

/* ---------- pacotes ---------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role=tab] {
  position: relative; padding: 14px 22px; flex: none;
  font-weight: 800; font-stretch: 80%; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; color: var(--dim);
  transition: color .2s;
}
.tabs [role=tab]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs [role=tab]:hover { color: var(--text); }
.tabs [role=tab][aria-selected="true"] { color: var(--white); }
.tabs [role=tab][aria-selected="true"]::after { transform: scaleX(1); }

.panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.panel--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.panel[hidden] { display: none; }
.panel.is-entering .plan { animation: rise .5s var(--ease) both; }
.panel.is-entering .plan:nth-child(2) { animation-delay: .05s; }
.panel.is-entering .plan:nth-child(3) { animation-delay: .1s; }
.panel.is-entering .plan:nth-child(4) { animation-delay: .15s; }
.panel.is-entering .plan:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.plan {
  display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--line);
  padding: 24px 22px 22px; transition: border-color .25s, transform .3s var(--ease);
}
.plan:hover { border-color: var(--line-2); transform: translateY(-4px); }
.plan__k { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.plan__badge { background: var(--red); color: var(--white); padding: 2px 7px; letter-spacing: .06em; }
.plan__n { margin: 14px 0 0; font-weight: 900; font-stretch: 70%; font-size: 30px; text-transform: uppercase; line-height: 1; }
.plan__p { display: flex; align-items: flex-start; gap: 5px; margin: 18px 0 20px; font-weight: 900; font-stretch: 68%; font-size: 58px; line-height: .9; letter-spacing: -.01em; }
.plan__p small { font-size: 18px; font-weight: 700; font-stretch: 80%; line-height: 1; color: var(--muted); padding-top: 4px; }
.plan__p small:last-child { align-self: flex-end; padding: 0 0 4px; }
.plan__p small:first-child:last-child { align-self: flex-start; padding: 4px 0 0; }
.plan__l { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; flex: 1; border-top: 1px solid var(--line); padding-top: 18px; }
.plan__l li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.plan__l li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--red); }
.plan__l .plan__all { color: var(--text); font-weight: 700; }
.plan--top { background: linear-gradient(170deg, var(--wine) 0%, var(--wine-2) 55%, var(--bg-1) 100%); border-color: var(--wine-3); }
.plan--top:hover { border-color: var(--red); }
.plan--top .plan__l { border-color: rgba(255,255,255,.12); }
.plan--top .plan__l li { color: #d6c8cc; }
.plan--top .plan__l li::before { background: var(--white); }

.custom { margin-top: 28px; color: var(--muted); }
.custom a { color: var(--text); border-bottom: 1px solid var(--red); padding-bottom: 2px; transition: color .2s; }
.custom a:hover { color: var(--red-hi); }

/* ---------- sobre ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__card {
  margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px),
    radial-gradient(80% 70% at 50% 35%, var(--wine-3), var(--wine-2) 60%, var(--bg) 100%);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.about__card img { width: 58%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); transition: transform .8s var(--ease); }
.about__card:hover img { transform: scale(1.04) rotate(-1deg); }
.about__card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); color: var(--text);
}
.about__card::before, .about__card::after { /* cantos de enquadramento */
  content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--white); opacity: .8;
}
.about__card::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.about__card::after { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.about__copy .h2 { margin: 22px 0 30px; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.about__copy p:not(.tag) { color: var(--muted); max-width: 60ch; }
.about__copy p + p { margin-top: 16px; }
.about__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 36px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.about__facts b { display: block; font-weight: 900; font-stretch: 70%; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.about__facts span { font-family: var(--f-mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- chat / depoimentos ---------- */
.chat__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chat__grid .h2 { margin: 22px 0 22px; }
.chatbox { background: var(--bg-1); border: 1px solid var(--line-2); }
.chatbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.chatbox__live { display: inline-flex; align-items: center; gap: 8px; color: var(--red-hi); }
.chatbox__list { padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; justify-content: flex-end; }
.msg { font-size: 15.5px; line-height: 1.5; color: var(--text); transition: opacity .4s, transform .4s var(--ease); }
.msg.is-hidden { opacity: 0; transform: translateY(10px); }
.msg--sys { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.msg__b { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; background: var(--red); clip-path: polygon(50% 0, 100% 35%, 82% 100%, 18% 100%, 0 35%); }
.msg__u { font-weight: 800; margin-right: 6px; }
.msg__u::after { content: ":"; color: var(--muted); font-weight: 400; }
.u1 { color: #ff5a6c; }
.u2 { color: #f2e9eb; }
.u3 { color: #d9435a; }
.msg__t { color: #cfc4c7; }
.chatbox__input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 16px; padding: 4px 4px 4px 14px; border: 1px solid var(--line-2); color: var(--dim); font-size: 14px; transition: border-color .2s, color .2s; }
.chatbox__input b { background: var(--red); color: var(--white); padding: 8px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-stretch: 85%; }
.chatbox__input:hover { border-color: var(--red); color: var(--text); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--wine); padding: clamp(80px, 12vw, 160px) 0; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 85% 50%, var(--wine-3), transparent 70%), repeating-linear-gradient(-45deg, rgba(0,0,0,.12) 0 2px, transparent 2px 14px); }
.cta__fox { position: absolute; right: -4%; top: 50%; width: min(46vw, 620px); transform: translateY(-50%) rotate(8deg); opacity: .22; z-index: -1; filter: grayscale(1) brightness(.2); }
.cta .tag--light { color: rgba(255,255,255,.75); }
.cta .tag--light .dot { background: var(--white); animation: none; }
.cta__t { font-size: clamp(3.4rem, 9vw, 9rem); color: var(--white); margin: 24px 0 26px; }
.cta__p { color: rgba(255,255,255,.78); max-width: 52ch; font-size: 1.1rem; }

/* ---------- footer ---------- */
.foot { padding: 64px 0 28px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.2fr; gap: 40px; }
.foot__brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 32ch; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.social a:hover { color: var(--white); border-color: var(--red); background: var(--red); }
.social svg { width: 18px; height: 18px; }
.foot__h { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 14px; }
.foot ul li + li { margin-top: 8px; }
.foot ul a { color: var(--muted); font-size: 14px; transition: color .2s; word-break: break-word; }
.foot ul a:hover { color: var(--white); }
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .onair { display: none; }
  .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(3.4rem, 11vw, 6.4rem); }
  .diag__grid { grid-template-columns: 1fr; }
  .fix { grid-template-columns: 1fr; gap: 24px; }
  .svc__row { grid-template-columns: 50px minmax(0, 1fr) 120px; }
  .svc__d { grid-column: 2 / 3; grid-row: 2; }
  .svc__p { grid-column: 3; grid-row: 1; }
  .about__grid, .chat__grid { grid-template-columns: 1fr; }
  .about__card { aspect-ratio: 16 / 10; }
  .about__card img { width: 28%; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .top__right .btn { display: none; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 49;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .top.is-open { background: var(--bg); border-color: var(--line); }
  .top.is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 30px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .head { grid-template-columns: 1fr; grid-template-areas: "tag" "h" "aside"; gap: 18px; }
  .docks { grid-template-columns: 1fr 1fr; }
  .dock--mixer { grid-column: 1 / -1; order: 3; }
  .fix__list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .hero__stats div { padding-right: 10px; margin-right: 10px; }
  .hero__stats dd { font-size: 28px; }
  .hero__stats dt { font-size: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }

  .studio { margin-inline: calc(var(--gutter) * -1); border-inline: 0; }
  .program { margin: 8px 8px 0; }
  .docks { padding: 8px; gap: 8px; }
  .scenes { display: grid; grid-template-columns: 1fr 1fr; }
  .dock--scenes { grid-column: 1 / -1; }
  .dock--ctrl { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .dock--ctrl .dock__h { grid-column: 1 / -1; margin-bottom: 2px; }
  .dock--ctrl .ctl { margin: 0; }
  .dock--ctrl .seg { grid-column: 1 / -1; }
  .status { justify-content: flex-start; }
  .st--hide-sm { display: none; }

  .svc__row { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .svc__n, .svc__t, .svc__d, .svc__p { grid-column: 1; grid-row: auto; }
  .svc__n { padding: 0; }
  .svc__p { justify-self: start; text-align: left; }
  .svc__p b { display: inline; margin-left: 4px; }

  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 14px; min-height: 130px; }
  .tile__v { font-size: 2.2rem; }
  .seg--lg { display: flex; }
  .log__body { font-size: 11.5px; }
  .fix__list { grid-template-columns: 1fr; }

  .panel, .panel--5 { grid-template-columns: 1fr; }
  .about__card { aspect-ratio: 1 / 1; }
  .about__card img { width: 46%; }
  .about__facts { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .about__facts li:last-child { grid-column: 1 / -1; }
  .chatbox__list { min-height: 0; }
  .cta__fox { width: 90vw; right: -30%; opacity: .16; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
