﻿*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #030408;
  --bg-soft: #070b12;
  --panel: rgba(6, 10, 18, 0.76);
  --panel-strong: rgba(8, 13, 24, 0.92);
  --text: #f7fbff;
  --muted: rgba(247, 251, 255, 0.68);
  --green: #39ff14;
  --cyan: #00f4ff;
  --magenta: #ff2abf;
  --red: #ff3131;
  --yellow: #fff200;
  --border: rgba(0, 244, 255, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 42, 191, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(0, 244, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #030408 0%, #070611 46%, #030408 100%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}

main {
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

img,
video {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 10px 14px;
  background: var(--bg);
  color: var(--green);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(3, 4, 8, 0.78), transparent);
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 244, 255, 0.16);
  background: rgba(3, 4, 8, 0.88);
  backdrop-filter: blur(18px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 5px;
  color: var(--green);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.9);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
}

.nav a {
  color: rgba(247, 251, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 244, 255, 0.65);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 132px) clamp(18px, 6vw, 88px);
}

.section::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 88px);
  bottom: 0;
  left: clamp(18px, 6vw, 88px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 244, 255, 0.28), transparent);
}

.section-video,
.hero {
  min-height: 92vh;
  min-height: 92svh;
  overflow: hidden;
}

.hero {
  display: grid;
  align-items: end;
  padding: min(24vh, 180px) clamp(18px, 6vw, 88px) clamp(28px, 6vw, 72px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 30%, rgba(0, 244, 255, 0.2), transparent 32%),
    radial-gradient(circle at 22% 70%, rgba(255, 42, 191, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(3, 4, 8, 0.96), rgba(3, 4, 8, 0.42) 52%, rgba(3, 4, 8, 0.9)),
    linear-gradient(to top, rgba(3, 4, 8, 0.98), rgba(3, 4, 8, 0.14) 68%, rgba(3, 4, 8, 0.7));
}

.ambient-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.28) contrast(1.16) brightness(0.82);
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
  opacity: 0.28;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.75);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.86;
  color: var(--text);
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 28px rgba(255, 42, 191, 0.66),
    0 0 62px rgba(0, 244, 255, 0.42);
}

.hero-lede,
.section-copy p,
.section-heading p,
.contact-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
}

.hero-lede {
  margin-bottom: 30px;
  color: rgba(247, 251, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--magenta);
  background: var(--magenta);
  color: #08040a;
  box-shadow: 0 0 28px rgba(255, 42, 191, 0.42);
}

.button-secondary {
  border: 1px solid rgba(0, 244, 255, 0.42);
  background: rgba(0, 244, 255, 0.08);
  color: var(--text);
  box-shadow: 0 0 20px rgba(0, 244, 255, 0.12);
}

.button-external::after {
  content: "↗";
  margin-left: 9px;
  font-size: 0.88em;
  line-height: 1;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(46px, 10vh, 110px);
}

.hero-meta span {
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(3, 4, 8, 0.45);
  color: rgba(247, 251, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-section,
.byte-section,
.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.byte-section,
.proof-section {
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
}

.section-copy h2,
.section-heading h2,
.contact-panel h2 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 0.95;
  color: var(--text);
  text-shadow: 0 0 26px rgba(0, 244, 255, 0.18);
}

.section-copy p + p {
  margin-top: 18px;
}

.section-copy strong {
  color: var(--yellow);
  font-weight: 900;
  text-shadow: 0 0 16px rgba(255, 242, 0, 0.36);
}

.media-stack {
  display: grid;
  gap: 18px;
}

.video-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), 0 0 32px rgba(0, 244, 255, 0.08);
}

.video-card::before,
.byte-media::before,
.proof-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.18), transparent 34%, rgba(255, 42, 191, 0.12));
  mix-blend-mode: screen;
  z-index: 1;
}

.inline-video,
.proof-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05070c;
  filter: saturate(1.12) contrast(1.08);
}

.video-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(0, 244, 255, 0.22);
  border-radius: 4px;
  padding: 7px 9px;
  background: rgba(3, 4, 8, 0.72);
  color: rgba(247, 251, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.byte-media,
.proof-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 0 60px rgba(57, 255, 20, 0.1), 0 30px 90px rgba(0, 0, 0, 0.42);
}

.feature-video,
.proof-media img {
  min-height: 420px;
}

.signal-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  border-left: 2px solid var(--green);
  padding: 9px 0 9px 16px;
  color: rgba(247, 251, 255, 0.78);
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.08), transparent);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(170px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: var(--cyan) transparent;
}

.character-card {
  --accent: var(--cyan);
  min-height: 430px;
  display: grid;
  grid-template-rows: minmax(240px, 1fr) auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
  border-radius: 8px;
  background:
    radial-gradient(circle at center 22%, color-mix(in srgb, var(--accent), transparent 78%), transparent 46%),
    rgba(6, 10, 18, 0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.character-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: bottom center;
  padding: 12px 8px 0;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.55));
}

.character-card div {
  border-top: 1px solid color-mix(in srgb, var(--accent), transparent 70%);
  padding: 16px;
  background: rgba(3, 4, 8, 0.72);
}

.character-card p {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.character-card h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.character-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.thesis-grid,
.finance-radar,
.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.thesis-grid article,
.finance-radar article,
.custom-grid article,
.path-card,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(6, 10, 18, 0.86), rgba(3, 4, 8, 0.72));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.thesis-grid article,
.custom-grid article {
  min-height: 190px;
  padding: 24px;
}

.thesis-grid strong,
.custom-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1;
}

.thesis-grid span,
.custom-grid span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.finance-radar {
  margin-bottom: 18px;
}

.finance-radar article {
  min-height: 150px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(0, 244, 255, 0.1), rgba(255, 42, 191, 0.04)),
    rgba(6, 10, 18, 0.86);
}

.finance-radar span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.finance-radar strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.92;
  text-shadow: 0 0 24px rgba(57, 255, 20, 0.34);
}

.investment-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.path-card {
  min-height: 380px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  padding: clamp(24px, 3vw, 38px);
}

.path-card-hot {
  border-color: rgba(255, 42, 191, 0.36);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), 0 0 38px rgba(255, 42, 191, 0.12);
}

.path-card h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.95;
}

.path-card p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.path-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: rgba(247, 251, 255, 0.78);
}

.custom-section {
  background:
    radial-gradient(circle at 80% 50%, rgba(255, 242, 0, 0.08), transparent 26rem),
    transparent;
}

.proof-section {
  background:
    linear-gradient(180deg, rgba(0, 244, 255, 0.04), transparent),
    transparent;
}

.contact-section {
  padding-top: clamp(96px, 12vw, 170px);
  padding-bottom: clamp(96px, 12vw, 170px);
}

.contact-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 42, 191, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(6, 10, 18, 0.92), rgba(3, 4, 8, 0.82));
}

.contact-panel .eyebrow,
.contact-panel .hero-actions {
  justify-content: center;
}

.contact-panel p {
  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(0, 244, 255, 0.16);
  padding: 24px clamp(18px, 6vw, 88px);
  color: rgba(247, 251, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.reveal,
.hero-meta.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .thesis-grid,
  .finance-radar,
  .custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-section,
  .byte-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .byte-media {
    order: -1;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .brand {
    font-size: 11px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 56px);
    line-height: 0.9;
  }

  .hero-lede,
  .section-copy p,
  .section-heading p,
  .contact-panel p {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.14em;
    overflow-wrap: anywhere;
  }

  .investment-paths,
  .story-section,
  .byte-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .thesis-grid,
  .finance-radar,
  .custom-grid {
    grid-template-columns: 1fr;
  }

  .character-grid {
    grid-template-columns: repeat(9, minmax(146px, 72vw));
  }

  .character-card {
    min-height: 390px;
  }

  .character-card img {
    height: 230px;
  }

  .feature-video,
  .proof-media img {
    min-height: 260px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  video {
    display: none;
  }

  .hero {
    background:
      radial-gradient(circle at 70% 20%, rgba(0, 244, 255, 0.18), transparent 34%),
      linear-gradient(90deg, rgba(3, 4, 8, 0.96), rgba(3, 4, 8, 0.72)),
      url("../video/chegada-interior.jpg") center / cover;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Cinematic redesign pass: Byte-first hero, full-video chapters, poster-scale cast. */
.byte-hero {
  min-height: 100vh;
  min-height: 100svh;
  align-items: end;
  padding-bottom: clamp(34px, 6vw, 76px);
}

.byte-hero::before {
  background:
    radial-gradient(circle at 74% 26%, rgba(57, 255, 20, 0.22), transparent 28%),
    radial-gradient(circle at 18% 68%, rgba(255, 42, 191, 0.28), transparent 30%),
    linear-gradient(90deg, rgba(3, 4, 8, 0.94), rgba(3, 4, 8, 0.34) 54%, rgba(3, 4, 8, 0.84)),
    linear-gradient(to top, rgba(3, 4, 8, 0.98), rgba(3, 4, 8, 0.08) 58%, rgba(3, 4, 8, 0.58));
}

.byte-hero::after {
  content: "BYTE";
  position: absolute;
  right: -0.08em;
  bottom: 0.04em;
  z-index: 0;
  color: rgba(57, 255, 20, 0.08);
  font-family: var(--serif);
  font-size: clamp(116px, 24vw, 360px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.75;
  pointer-events: none;
  text-shadow: 0 0 48px rgba(57, 255, 20, 0.14);
}

.hero-byte-video {
  object-position: center;
  filter: saturate(1.38) contrast(1.18) brightness(0.88);
}

.byte-hero .hero-content {
  max-width: 980px;
}

.byte-hero .hero-content::before {
  content: "";
  display: block;
  width: min(280px, 52vw);
  height: 3px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--magenta));
  box-shadow:
    0 0 22px rgba(57, 255, 20, 0.72),
    0 0 42px rgba(255, 42, 191, 0.34);
}

.byte-hero .hero h1,
.byte-hero h1 {
  max-width: 980px;
}

.trailer-chapter {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  scroll-margin-top: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  contain: paint;
  padding: clamp(88px, 9vw, 140px) clamp(18px, 6vw, 88px);
  isolation: isolate;
}

.trailer-chapter::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 88px);
  bottom: 28px;
  left: clamp(18px, 6vw, 88px);
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), transparent);
  opacity: 0.5;
}

.chapter-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.22) contrast(1.12) brightness(0.86);
  transform: scale(1.035);
  animation: cinematicDrift 18s ease-in-out infinite alternate;
}

.chapter-book .chapter-video {
  filter: saturate(1.04) contrast(1.2) brightness(0.86) sepia(0.12);
}

.chapter-lab .chapter-video,
.chapter-discovery .chapter-video,
.chapter-computer .chapter-video {
  filter: saturate(1.35) contrast(1.18) brightness(0.82);
}

.chapter-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 244, 255, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(3, 4, 8, 0.92), rgba(3, 4, 8, 0.42) 54%, rgba(3, 4, 8, 0.2)),
    linear-gradient(to top, rgba(3, 4, 8, 0.96), transparent 62%);
}

.chapter-scrim-left {
  background:
    radial-gradient(circle at 26% 34%, rgba(255, 42, 191, 0.16), transparent 28%),
    linear-gradient(270deg, rgba(3, 4, 8, 0.92), rgba(3, 4, 8, 0.44) 55%, rgba(3, 4, 8, 0.22)),
    linear-gradient(to top, rgba(3, 4, 8, 0.96), transparent 62%);
}

.chapter-overlay {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  border-left: 3px solid var(--green);
  padding: clamp(20px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(57, 255, 20, 0.07), transparent 42%),
    linear-gradient(90deg, rgba(3, 4, 8, 0.9), rgba(3, 4, 8, 0.42));
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 1px rgba(0, 244, 255, 0.08),
    0 26px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 48px rgba(0, 244, 255, 0.05);
}

.chapter-overlay.reveal {
  opacity: 1;
  transform: none;
}

.chapter-overlay-right {
  justify-self: end;
  border-right: 3px solid var(--magenta);
  border-left: 0;
  background:
    linear-gradient(270deg, rgba(255, 42, 191, 0.08), transparent 44%),
    linear-gradient(270deg, rgba(3, 4, 8, 0.9), rgba(3, 4, 8, 0.42));
  text-align: right;
}

.chapter-overlay h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7.2vw, 112px);
  line-height: 0.88;
  text-shadow: 0 0 34px rgba(0, 244, 255, 0.28);
}

.chapter-overlay p:not(.eyebrow) {
  margin: 0;
  color: rgba(247, 251, 255, 0.82);
  font-size: clamp(17px, 1.6vw, 22px);
  max-width: 650px;
}

.chapter-overlay-right p:not(.eyebrow) {
  margin-left: auto;
}

.chapter-overlay strong {
  color: var(--yellow);
  text-shadow: 0 0 14px rgba(255, 242, 0, 0.42);
}

.chapter-code {
  position: absolute;
  right: clamp(18px, 6vw, 88px);
  top: clamp(84px, 10vw, 132px);
  z-index: 2;
  writing-mode: vertical-rl;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(0, 244, 255, 0.9);
}

.characters-section {
  min-height: 100vh;
  padding-top: clamp(96px, 10vw, 150px);
  background:
    radial-gradient(circle at 18% 28%, rgba(57, 255, 20, 0.1), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(255, 42, 191, 0.12), transparent 30rem),
    linear-gradient(180deg, #030408, #080713 55%, #030408);
}

.cast-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 244, 255, 0.16);
  border-radius: 10px;
  padding: clamp(14px, 2vw, 24px);
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.06), transparent 36%, rgba(255, 42, 191, 0.08)),
    rgba(3, 4, 8, 0.5);
  box-shadow:
    inset 0 0 80px rgba(0, 244, 255, 0.06),
    0 24px 90px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 42, 191, 0.06);
}

.cast-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  align-content: space-around;
  overflow: hidden;
  pointer-events: none;
}

.cast-backdrop span {
  display: block;
  width: 100%;
  overflow: hidden;
  color: rgba(247, 251, 255, 0.035);
  font-family: var(--serif);
  font-size: clamp(72px, 15vw, 220px);
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
  white-space: nowrap;
}

.character-grid {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 4px 4px 18px;
}

.character-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 clamp(300px, 25vw, 380px);
  min-height: min(76vh, 720px);
  scroll-snap-align: center;
  border-radius: 10px;
  transform: translateZ(0);
  background:
    radial-gradient(circle at center 20%, color-mix(in srgb, var(--accent), transparent 72%), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(3, 4, 8, 0.82)),
    rgba(3, 4, 8, 0.9);
}

.character-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 80%), transparent 22%, transparent 78%, color-mix(in srgb, var(--accent), transparent 86%)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px);
  opacity: 0.32;
  mix-blend-mode: screen;
}

.character-card.is-featured {
  flex-basis: clamp(430px, 43vw, 640px);
  min-width: 0;
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 0 70px rgba(57, 255, 20, 0.14), 0 30px 90px rgba(0, 0, 0, 0.45);
}

.character-card img {
  position: relative;
  z-index: 1;
  height: min(54vh, 510px);
  padding-top: 22px;
}

.character-card.is-featured img {
  height: min(58vh, 560px);
}

.character-card div {
  position: relative;
  z-index: 1;
  min-height: 176px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(3, 4, 8, 0.2), rgba(3, 4, 8, 0.92)),
    rgba(3, 4, 8, 0.72);
}

.character-card h3 {
  font-size: clamp(30px, 3.4vw, 56px);
}

.character-card span {
  max-width: 42ch;
  font-size: 14px;
}

@keyframes cinematicDrift {
  from {
    transform: scale(1.035) translate3d(-0.6%, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(0.6%, -0.4%, 0);
  }
}

.opportunity-section,
.finance-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 244, 255, 0.07), transparent 30rem),
    radial-gradient(circle at 14% 80%, rgba(255, 42, 191, 0.08), transparent 28rem);
}

@media (max-width: 760px) {
  .byte-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .byte-hero::after {
    font-size: 34vw;
    right: -0.15em;
    bottom: 0.2em;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.92;
  }

  .trailer-chapter {
    min-height: 96vh;
    min-height: 96svh;
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .chapter-overlay,
  .chapter-overlay-right {
    width: 100%;
    border-right: 0;
    border-left: 3px solid var(--green);
    text-align: left;
  }

  .chapter-overlay h2 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .chapter-overlay-right p:not(.eyebrow) {
    margin-left: 0;
  }

  .chapter-code {
    display: none;
  }

  .character-grid {
    display: flex;
  }

  .character-card,
  .character-card.is-featured {
    flex-basis: min(82vw, 330px);
    min-width: 0;
    min-height: 620px;
    grid-column: auto;
  }

  .character-card img,
  .character-card.is-featured img {
    height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-video {
    animation: none;
    transform: none;
  }

  .byte-hero {
    background:
      radial-gradient(circle at 70% 20%, rgba(57, 255, 20, 0.18), transparent 34%),
      linear-gradient(90deg, rgba(3, 4, 8, 0.96), rgba(3, 4, 8, 0.62)),
      url("../video/byte-laboratorio.jpg") center / cover;
  }

  .chapter-arrival {
    background: linear-gradient(90deg, rgba(3, 4, 8, 0.92), rgba(3, 4, 8, 0.35)), url("../video/chegada-interior.jpg") center / cover;
  }

  .chapter-book {
    background: linear-gradient(270deg, rgba(3, 4, 8, 0.92), rgba(3, 4, 8, 0.35)), url("../video/livro-invencoes.jpg") center / cover;
  }

  .chapter-lab {
    background: linear-gradient(90deg, rgba(3, 4, 8, 0.92), rgba(3, 4, 8, 0.35)), url("../video/entrada-laboratorio.jpg") center / cover;
  }

  .chapter-discovery {
    background: linear-gradient(270deg, rgba(3, 4, 8, 0.92), rgba(3, 4, 8, 0.35)), url("../video/descoberta-laboratorio.jpg") center / cover;
  }

  .chapter-computer {
    background: linear-gradient(90deg, rgba(3, 4, 8, 0.88), rgba(3, 4, 8, 0.32)), url("../img/conceptart/ci-arcade.webp") center / cover;
  }
}

/* Interactive cast desk: multi-image character pitch surface. */
.cast-interface {
  --accent: var(--green);
  --cast-x: 0;
  --cast-y: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr);
  gap: clamp(18px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 70%);
  border-radius: 8px;
  padding: clamp(14px, 2.4vw, 32px);
  background:
    radial-gradient(circle at calc(48% + (var(--cast-x) * 8%)) calc(24% + (var(--cast-y) * 6%)), color-mix(in srgb, var(--accent), transparent 78%), transparent 24rem),
    linear-gradient(135deg, rgba(57, 255, 20, 0.06), transparent 36%, rgba(255, 42, 191, 0.07)),
    rgba(3, 4, 8, 0.72);
  box-shadow:
    inset 0 0 90px rgba(0, 244, 255, 0.06),
    0 36px 120px rgba(0, 0, 0, 0.44);
}

.cast-interface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
  opacity: 0.38;
}

.cast-spotlight,
.cast-copy,
.cast-gallery-board,
.character-strip {
  position: relative;
  z-index: 1;
}

.cast-spotlight {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 14px;
}

.cast-frame {
  position: relative;
  min-height: clamp(540px, 60vw, 710px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 52%);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--accent), transparent 72%), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(3, 4, 8, 0.94)),
    #05070c;
  box-shadow:
    inset 0 0 80px color-mix(in srgb, var(--accent), transparent 88%),
    0 0 48px color-mix(in srgb, var(--accent), transparent 88%);
}

.cast-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: 0.4;
}

.cast-frame::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -20%;
  width: 55%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 48%);
  border-radius: 50%;
  opacity: 0.22;
  box-shadow: 0 0 70px color-mix(in srgb, var(--accent), transparent 72%);
}

.cast-status {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: color-mix(in srgb, var(--accent), white 24%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent), transparent 24%);
}

.cast-status strong {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.8;
}

.cast-main-wrap {
  position: absolute;
  inset: 50px 4% 0 min(12vw, 122px);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform:
    perspective(1000px)
    rotateY(calc(var(--cast-x) * -4deg))
    rotateX(calc(var(--cast-y) * 3deg));
  transition: transform 180ms ease;
}

.cast-main-image {
  width: min(78%, 640px);
  max-height: min(70vh, 690px);
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter:
    drop-shadow(0 34px 46px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 28px color-mix(in srgb, var(--accent), transparent 78%));
  transition: opacity 280ms ease, transform 420ms ease, filter 280ms ease;
  animation: characterFloat 5.8s ease-in-out infinite;
}

.cast-main-image.is-loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cast-image-cloud {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cast-image-cloud img {
  position: absolute;
  width: clamp(112px, 16vw, 220px);
  max-height: 34%;
  object-fit: contain;
  opacity: 0.16;
  filter: grayscale(0.18) drop-shadow(0 0 24px color-mix(in srgb, var(--accent), transparent 75%));
  animation: cloudDrift 7s ease-in-out infinite alternate;
}

.cast-image-cloud img:nth-child(1) {
  left: 3%;
  top: 18%;
}

.cast-image-cloud img:nth-child(2) {
  right: 6%;
  top: 32%;
  animation-delay: -1.8s;
}

.cast-image-cloud img:nth-child(3) {
  left: 8%;
  bottom: 11%;
  animation-delay: -3.2s;
}

.cast-thumbs {
  position: absolute;
  top: 88px;
  bottom: 18px;
  left: 18px;
  z-index: 7;
  display: grid;
  grid-auto-rows: minmax(70px, 1fr);
  gap: 8px;
  width: 92px;
  overflow-y: auto;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
  border-radius: 8px;
  padding: 8px;
  background: rgba(3, 4, 8, 0.62);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 28px color-mix(in srgb, var(--accent), transparent 82%),
    inset 0 0 28px rgba(255, 255, 255, 0.04);
  contain: layout paint;
  scrollbar-color: color-mix(in srgb, var(--accent), transparent 20%) rgba(255, 255, 255, 0.08);
}

.cast-thumb {
  width: 100%;
  min-height: 70px;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(247, 251, 255, 0.12);
  border-radius: 6px;
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--accent), transparent 80%), transparent 72%),
    rgba(3, 4, 8, 0.82);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cast-thumb:hover,
.cast-thumb:focus-visible,
.cast-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent), transparent 66%);
  transform: translateY(-2px);
}

.cast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 5px;
}

.cast-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  border-left: 1px solid color-mix(in srgb, var(--accent), transparent 76%);
  padding: clamp(10px, 2vw, 28px) 0 clamp(8px, 1.6vw, 18px) clamp(18px, 3vw, 40px);
}

.cast-avatar-orbit {
  position: relative;
  width: min(230px, 42vw);
  aspect-ratio: 1;
  margin: 0 0 22px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 48%);
  border-radius: 8px;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent), transparent 72%), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(3, 4, 8, 0.8));
  box-shadow:
    0 0 38px color-mix(in srgb, var(--accent), transparent 72%),
    inset 0 0 42px rgba(0, 244, 255, 0.08);
  transform:
    perspective(800px)
    rotateY(calc(var(--cast-x) * -5deg))
    rotateX(calc(var(--cast-y) * 4deg));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cast-avatar-orbit::before,
.cast-avatar-orbit::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cast-avatar-orbit::before {
  inset: 12px;
  border: 1px solid rgba(247, 251, 255, 0.08);
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 90%) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  opacity: 0.8;
}

.cast-avatar-orbit::after {
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent), transparent 28%), transparent);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.cast-avatar-orbit img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 18px color-mix(in srgb, var(--accent), transparent 70%));
}

.cast-avatar-orbit figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 56%);
  border-radius: 999px;
  padding: 6px 8px;
  background: rgba(3, 4, 8, 0.76);
  color: color-mix(in srgb, var(--accent), white 18%);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent), transparent 34%);
}

.cast-copy h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 118px);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow:
    0 0 26px color-mix(in srgb, var(--accent), transparent 40%),
    0 0 62px rgba(255, 42, 191, 0.18);
}

.cast-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: clamp(17px, 1.4vw, 21px);
}

.cast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.cast-tags span {
  border: 1px solid color-mix(in srgb, var(--accent), transparent 54%);
  border-radius: 999px;
  padding: 8px 11px;
  background: color-mix(in srgb, var(--accent), transparent 92%);
  color: rgba(247, 251, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cast-controls {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.cast-gallery-board {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-auto-rows: 88px;
  gap: 10px;
  max-height: 356px;
  overflow-y: auto;
  margin-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--accent), transparent 78%);
  padding-top: 16px;
  padding-right: 4px;
  contain: layout paint;
  scrollbar-color: color-mix(in srgb, var(--accent), transparent 30%) rgba(255, 255, 255, 0.06);
}

.cast-gallery-tile {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 251, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--accent), transparent 78%), transparent 64%),
    rgba(3, 4, 8, 0.82);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.cast-gallery-tile.is-hero {
  grid-row: span 2;
  min-height: 0;
}

.cast-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 16px 10px 0;
  opacity: 0.78;
  transform: scale(1.02);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.55));
  transition: opacity 180ms ease, transform 180ms ease;
}

.cast-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 44%, rgba(3, 4, 8, 0.78)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

.cast-gallery-tile span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: color-mix(in srgb, var(--accent), white 18%);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent), transparent 46%);
}

.cast-gallery-tile:hover,
.cast-gallery-tile:focus-visible,
.cast-gallery-tile.is-active {
  border-color: var(--accent);
  box-shadow:
    0 0 28px color-mix(in srgb, var(--accent), transparent 70%),
    inset 0 0 28px color-mix(in srgb, var(--accent), transparent 88%);
  transform: translateY(-3px);
}

.cast-gallery-tile:hover img,
.cast-gallery-tile:focus-visible img,
.cast-gallery-tile.is-active img {
  opacity: 1;
  transform: scale(1.09);
}

.icon-button {
  width: 54px;
  height: 54px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 48%);
  border-radius: 50%;
  background: rgba(3, 4, 8, 0.74);
  color: var(--text);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent), transparent 78%);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent), transparent 84%);
  transform: translateY(-2px);
}

.character-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(122px, 1fr));
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  contain: layout paint;
}

.character-token {
  position: relative;
  min-width: 122px;
  height: 156px;
  overflow: hidden;
  border: 1px solid rgba(247, 251, 255, 0.12);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(3, 4, 8, 0.88)),
    #05070c;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.character-token::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(180deg, transparent, rgba(3, 4, 8, 0.96));
  pointer-events: none;
}

.character-token img {
  position: absolute;
  inset: 6px 6px 26px;
  z-index: 0;
  width: calc(100% - 12px);
  height: calc(100% - 32px);
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.68;
  transform: scale(1.05);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.54));
  transition: opacity 180ms ease, transform 180ms ease;
}

.character-token span,
.character-token strong {
  position: relative;
  z-index: 1;
  display: block;
}

.character-token span {
  color: color-mix(in srgb, var(--accent), white 18%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.character-token strong {
  margin-top: 94px;
  font-size: 13px;
  line-height: 1.05;
  text-transform: uppercase;
}

.character-token:hover,
.character-token:focus-visible,
.character-token.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--accent), transparent 70%);
  transform: translateY(-3px);
}

.character-token:hover img,
.character-token:focus-visible img,
.character-token.is-active img {
  opacity: 1;
  transform: scale(1.13) translateY(-2px);
}

@keyframes characterFloat {
  0%,
  100% {
    filter:
      drop-shadow(0 34px 46px rgba(0, 0, 0, 0.58))
      drop-shadow(0 0 24px color-mix(in srgb, var(--accent), transparent 82%));
  }

  50% {
    filter:
      drop-shadow(0 40px 52px rgba(0, 0, 0, 0.62))
      drop-shadow(0 0 42px color-mix(in srgb, var(--accent), transparent 66%));
  }
}

@keyframes cloudDrift {
  from {
    transform: translate3d(-4px, 0, 0) rotate(-1deg);
  }

  to {
    transform: translate3d(8px, -8px, 0) rotate(1.5deg);
  }
}

@media (max-width: 1080px) {
  .cast-interface {
    grid-template-columns: 1fr;
  }

  .cast-copy {
    order: -1;
    align-content: start;
    border-top: 1px solid color-mix(in srgb, var(--accent), transparent 76%);
    border-left: 0;
    padding: 22px 4px 8px;
  }

  .cast-frame {
    min-height: min(68vh, 560px);
  }

  .cast-main-wrap {
    inset: 50px 5% 0;
  }

  .cast-thumbs {
    position: static;
    display: flex;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    padding: 0 0 6px;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .cast-thumb {
    flex: 0 0 82px;
    width: auto;
    min-height: 0;
    height: 92px;
  }

  .character-strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(126px, 34vw);
    grid-template-columns: none;
  }

  .cast-gallery-board {
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 30vw);
    grid-template-columns: none;
    grid-auto-rows: 280px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .cast-gallery-tile,
  .cast-gallery-tile.is-hero {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    height: 280px;
  }
}

@media (max-width: 760px) {
  .characters-section {
    padding-top: 96px;
  }

  .cast-interface {
    padding: 12px;
  }

  .cast-frame {
    min-height: 550px;
  }

  .cast-status {
    top: 14px;
    right: 14px;
    left: 14px;
    font-size: 10px;
  }

  .cast-main-wrap {
    inset: 58px 0 0;
  }

  .cast-main-image {
    width: min(92%, 420px);
    max-height: 470px;
  }

  .cast-image-cloud img {
    width: 108px;
    opacity: 0.12;
  }

  .cast-thumb {
    flex-basis: 70px;
    height: 82px;
  }

  .cast-copy h3 {
    font-size: clamp(48px, 17vw, 76px);
  }

  .cast-controls {
    margin-top: 24px;
  }

  .character-strip {
    grid-auto-columns: minmax(122px, 44vw);
  }

  .cast-gallery-board {
    grid-auto-columns: minmax(168px, 58vw);
    grid-auto-rows: 260px;
    grid-template-columns: none;
    padding-bottom: 8px;
  }

  .chapter-video {
    transform: none;
  }

  .cast-gallery-tile,
  .cast-gallery-tile.is-hero {
    height: 260px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cast-main-wrap,
  .cast-main-image,
  .cast-image-cloud img,
  .cast-thumb,
  .cast-gallery-tile,
  .cast-gallery-tile img,
  .character-token,
  .character-token img,
  .icon-button {
    animation: none !important;
    transition-duration: 0.001ms !important;
    transform: none !important;
  }

  .cast-main-image {
    opacity: 1;
  }
}

/* Presentation layer: progress rail, market pulse, and interactive investment console. */
.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--magenta), var(--yellow));
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.56);
}

.film-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 90;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.film-rail a {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  width: 132px;
  border: 1px solid rgba(247, 251, 255, 0.08);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(3, 4, 8, 0.42);
  color: rgba(247, 251, 255, 0.5);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.film-rail span,
.film-rail strong {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.film-rail span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.film-rail strong {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.film-rail a:hover,
.film-rail a:focus-visible,
.film-rail a.is-active {
  border-color: rgba(57, 255, 20, 0.52);
  color: var(--text);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.2);
  transform: translateX(-4px);
}

.film-rail a.is-active span {
  color: var(--green);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.76);
}

.market-pulse {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  margin-top: 18px;
}

.market-screen,
.market-beats {
  border: 1px solid rgba(0, 244, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.08), transparent 42%, rgba(255, 42, 191, 0.08)),
    rgba(3, 4, 8, 0.74);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.market-screen {
  min-height: 260px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
}

.market-screen::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(57, 255, 20, 0.05) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(180deg, rgba(0, 244, 255, 0.04) 0 1px, transparent 1px 18px);
  mask-image: linear-gradient(180deg, transparent, black 28%, black 86%, transparent);
}

.market-screen span,
.market-screen strong {
  position: relative;
  z-index: 1;
}

.market-screen span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.72);
}

.market-screen strong {
  display: block;
  max-width: 14ch;
  margin-top: 10px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 0.92;
}

.market-beats {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-beats li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid rgba(0, 244, 255, 0.12);
  padding: 18px 22px;
}

.market-beats li:last-child {
  border-bottom: 0;
}

.market-beats span {
  color: var(--magenta);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 42, 191, 0.38);
}

.market-beats strong {
  color: rgba(247, 251, 255, 0.84);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.28;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.section-actions .button {
  min-width: min(100%, 236px);
}

.finance-command {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 244, 255, 0.22);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 20px);
  background:
    linear-gradient(135deg, rgba(0, 244, 255, 0.08), transparent 42%, rgba(255, 42, 191, 0.08)),
    rgba(3, 4, 8, 0.7);
  box-shadow:
    0 26px 88px rgba(0, 0, 0, 0.34),
    inset 0 0 60px rgba(57, 255, 20, 0.04);
}

.finance-command::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(57, 255, 20, 0.04) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(180deg, rgba(0, 244, 255, 0.035) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(180deg, transparent, black 16%, black 88%, transparent);
}

.finance-command > * {
  position: relative;
  z-index: 1;
}

.finance-command .finance-radar {
  margin-bottom: 14px;
}

.fiscal-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fiscal-flow li {
  position: relative;
  min-height: 166px;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(57, 255, 20, 0.08), transparent 42%, rgba(0, 244, 255, 0.06)),
    rgba(3, 4, 8, 0.72);
}

.fiscal-flow li::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 54px;
  height: 54px;
  border-right: 1px solid rgba(0, 244, 255, 0.28);
  border-bottom: 1px solid rgba(255, 42, 191, 0.24);
  transform: skew(-8deg);
}

.fiscal-flow span {
  color: var(--magenta);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 42, 191, 0.4);
}

.fiscal-flow strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-transform: uppercase;
}

.fiscal-flow p {
  margin: 0;
  color: rgba(247, 251, 255, 0.68);
  font-size: 13px;
  line-height: 1.42;
}

.route-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  border: 1px solid rgba(0, 244, 255, 0.18);
  border-radius: 999px;
  padding: 6px;
  background: rgba(3, 4, 8, 0.68);
}

.route-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: rgba(247, 251, 255, 0.64);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.route-tab:hover,
.route-tab:focus-visible,
.route-tab.is-active {
  border-color: rgba(57, 255, 20, 0.5);
  background: rgba(57, 255, 20, 0.12);
  color: var(--text);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.14);
}

.route-readout {
  display: grid;
  grid-template-columns: 150px minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 8px;
  padding: 18px 22px;
  background:
    linear-gradient(90deg, rgba(57, 255, 20, 0.1), transparent 48%, rgba(0, 244, 255, 0.08)),
    rgba(3, 4, 8, 0.74);
}

.route-readout span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-readout strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
}

.route-readout p {
  margin: 0;
  color: rgba(247, 251, 255, 0.74);
  font-size: 15px;
}

.path-card {
  position: relative;
  overflow: hidden;
  opacity: 0.72;
  transform: translateY(0);
  transition: opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.09), transparent 40%, rgba(255, 42, 191, 0.08)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.path-card.is-active,
.path-card:hover,
.path-card:focus-visible {
  opacity: 1;
  border-color: rgba(57, 255, 20, 0.48);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 44px rgba(57, 255, 20, 0.12);
  transform: translateY(-4px);
}

.path-card-hot.is-active,
.path-card-hot:hover,
.path-card-hot:focus-visible {
  border-color: rgba(255, 42, 191, 0.56);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 48px rgba(255, 42, 191, 0.16);
}

.path-card-ip {
  border-color: rgba(255, 242, 0, 0.26);
}

.path-card-ip.is-active,
.path-card-ip:hover,
.path-card-ip:focus-visible {
  border-color: rgba(255, 242, 0, 0.5);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 48px rgba(255, 242, 0, 0.12);
}

.path-card.is-active::before,
.path-card:hover::before,
.path-card:focus-visible::before {
  opacity: 1;
}

.path-card > * {
  position: relative;
  z-index: 1;
}

.path-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  border-bottom: 1px solid rgba(57, 255, 20, 0.58);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.52);
}

.path-link::after {
  content: "↗";
  color: var(--cyan);
  font-size: 0.96em;
}

.path-link:hover,
.path-link:focus-visible {
  color: var(--yellow);
  border-bottom-color: rgba(255, 242, 0, 0.66);
}

.sponsorship-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(57, 255, 20, 0.1), transparent 30rem),
    radial-gradient(circle at 18% 78%, rgba(255, 42, 191, 0.11), transparent 28rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.94), rgba(6, 9, 17, 0.9)),
    url("../img/backgrounds/background-sem-nada.webp") center / cover;
}

.quota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.quota-card,
.sponsor-forms article,
.licensing-note {
  border: 1px solid rgba(0, 244, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(57, 255, 20, 0.08), transparent 38%, rgba(255, 42, 191, 0.07)),
    rgba(3, 4, 8, 0.78);
  box-shadow:
    0 24px 82px rgba(0, 0, 0, 0.32),
    inset 0 0 54px rgba(0, 244, 255, 0.04);
}

.quota-card {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
}

.quota-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
  mix-blend-mode: screen;
}

.quota-card > * {
  position: relative;
  z-index: 1;
}

.quota-card-hot {
  border-color: rgba(57, 255, 20, 0.48);
  box-shadow:
    0 28px 96px rgba(0, 0, 0, 0.38),
    0 0 46px rgba(57, 255, 20, 0.16);
}

.quota-card-featured::after {
  content: "COTA CHAVE";
  position: absolute;
  top: 18px;
  right: -42px;
  z-index: 2;
  width: 156px;
  padding: 6px 0;
  background: var(--green);
  color: #020402;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(36deg);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.34);
}

.quota-card-sold {
  border-color: rgba(255, 49, 49, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 49, 49, 0.05), transparent 40%, rgba(0, 244, 255, 0.04)),
    rgba(3, 4, 8, 0.68);
}

.quota-card-sold .quota-value,
.quota-card-sold .quota-card-head strong {
  opacity: 0.72;
}

.quota-card-head {
  display: grid;
  gap: 10px;
}

.quota-card-head span,
.sponsor-forms span {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.58);
}

.quota-card-sold .quota-card-head span {
  border-color: rgba(255, 49, 49, 0.38);
  color: var(--red);
  text-shadow: 0 0 14px rgba(255, 49, 49, 0.44);
}

.quota-card-head strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.quota-value {
  margin: 24px 0 16px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 900;
  line-height: 0.84;
  text-shadow: 0 0 26px rgba(57, 255, 20, 0.34);
}

.quota-card p:not(.quota-value) {
  margin: 0 0 18px;
  color: rgba(247, 251, 255, 0.74);
  font-size: 15px;
}

.quota-card ul {
  display: grid;
  gap: 10px;
  align-content: end;
  margin: 0;
  padding-left: 18px;
  color: rgba(247, 251, 255, 0.76);
  font-size: 14px;
}

.quota-ladder {
  margin-top: 18px;
  border: 1px solid rgba(0, 244, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 244, 255, 0.09), transparent 42%, rgba(255, 42, 191, 0.07)),
    rgba(3, 4, 8, 0.78);
  box-shadow:
    0 24px 82px rgba(0, 0, 0, 0.32),
    inset 0 0 54px rgba(0, 244, 255, 0.04);
}

.quota-ladder-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 244, 255, 0.16);
  padding: clamp(20px, 2.4vw, 28px);
}

.quota-ladder-head span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 242, 0, 0.38);
}

.quota-ladder-head strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 0.98;
}

.quota-ladder-grid {
  display: grid;
}

.quota-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.8fr) repeat(5, minmax(112px, 1fr));
  border-bottom: 1px solid rgba(0, 244, 255, 0.11);
}

.quota-row:last-child {
  border-bottom: 0;
}

.quota-row span {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(0, 244, 255, 0.1);
  padding: 12px 14px;
  color: rgba(247, 251, 255, 0.76);
  font-size: 13px;
  line-height: 1.28;
}

.quota-row span:first-child {
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.42);
}

.quota-row span:last-child {
  border-right: 0;
}

.quota-row-header {
  background: rgba(0, 244, 255, 0.06);
}

.quota-row-header span {
  min-height: 46px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(0, 244, 255, 0.4);
}

.sponsor-forms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.sponsor-forms article {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 28px);
}

.sponsor-forms strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 0.95;
}

.sponsor-forms p {
  margin: 0;
  color: rgba(247, 251, 255, 0.72);
  font-size: 15px;
}

.licensing-note {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
  border-color: rgba(57, 255, 20, 0.28);
}

.licensing-note h3 {
  color: var(--text);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.95;
}

.licensing-note > p {
  margin: 0;
  color: rgba(247, 251, 255, 0.76);
  font-size: clamp(16px, 1.35vw, 20px);
}

.licensing-link {
  grid-column: 1 / -1;
}

@media (max-width: 1500px) {
  .film-rail {
    display: none;
  }
}

@media (max-width: 1180px) {
  .market-pulse,
  .route-readout,
  .quota-ladder-head,
  .licensing-note {
    grid-template-columns: 1fr;
  }

  .investment-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fiscal-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quota-grid,
  .sponsor-forms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quota-ladder {
    overflow-x: auto;
  }

  .quota-ladder-grid {
    min-width: 860px;
  }
}

@media (max-width: 760px) {
  .scroll-progress {
    height: 3px;
  }

  .thesis-grid article,
  .custom-grid article {
    min-height: 156px;
    padding: 20px;
  }

  .finance-radar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .finance-radar article {
    min-height: 116px;
    padding: 16px;
  }

  .finance-radar span {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .finance-radar strong {
    font-size: clamp(24px, 7.2vw, 30px);
    white-space: nowrap;
  }

  .market-pulse {
    grid-template-columns: 1fr;
  }

  .market-screen {
    min-height: 220px;
  }

  .market-beats li {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .route-switcher {
    display: grid;
    border-radius: 8px;
  }

  .route-tab {
    width: 100%;
    border-radius: 6px;
  }

  .route-readout {
    padding: 16px;
  }

  .section-actions .button {
    min-width: 0;
  }

  .finance-command {
    padding: 10px;
  }

  .fiscal-flow,
  .investment-paths,
  .quota-grid,
  .sponsor-forms {
    grid-template-columns: 1fr;
  }

  .fiscal-flow li {
    min-height: 142px;
    padding: 16px;
  }

  .quota-ladder-head {
    padding: 18px;
  }

  .quota-ladder-grid {
    min-width: 0;
  }

  .quota-row,
  .quota-row-header {
    grid-template-columns: 1fr;
  }

  .quota-row {
    border-bottom-color: rgba(0, 244, 255, 0.18);
    padding: 8px 0;
  }

  .quota-row-header {
    display: none;
  }

  .quota-row span {
    min-height: auto;
    border-right: 0;
    padding: 8px 16px;
  }

  .quota-row span:first-child {
    padding-top: 14px;
    color: var(--yellow);
  }

  .quota-row span:not(:first-child)::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    margin-right: 9px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.56);
  }

  .quota-card {
    min-height: auto;
  }

  .quota-card ul {
    align-content: start;
  }

  .sponsor-forms article {
    min-height: auto;
  }

  .licensing-note {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-rail a,
  .route-tab,
  .path-card {
    transition-duration: 0.001ms !important;
    transform: none !important;
  }
}

/* Official logo pass and dedicated Byte dossier. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand-logo {
  width: clamp(146px, 16vw, 224px);
  height: auto;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 14px rgba(0, 244, 255, 0.18));
}

.brand-text {
  display: none;
}

.film-logo-title {
  max-width: min(980px, 86vw);
  margin: 0 0 24px;
  font-size: 0;
  line-height: 1;
}

.film-logo {
  width: min(930px, 88vw);
  height: auto;
  filter:
    drop-shadow(2px 0 0 rgba(255, 42, 191, 0.55))
    drop-shadow(-2px 0 0 rgba(0, 244, 255, 0.45))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.22))
    drop-shadow(0 0 44px rgba(57, 255, 20, 0.2));
  animation: logoSignal 4.8s ease-in-out infinite;
}

.byte-hero .hero-content::before {
  width: min(360px, 56vw);
}

.byte-dossier {
  --byte-x: 0;
  --byte-y: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 6vw, 86px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at calc(76% + (var(--byte-x) * 6%)) calc(22% + (var(--byte-y) * 5%)), rgba(57, 255, 20, 0.2), transparent 24rem),
    radial-gradient(circle at 18% 76%, rgba(255, 42, 191, 0.14), transparent 28rem),
    linear-gradient(90deg, rgba(3, 4, 8, 0.98), rgba(3, 4, 8, 0.62) 42%, rgba(3, 4, 8, 0.82)),
    url("../img/backgrounds/background-byte.webp") center / cover;
}

.byte-dossier::before {
  content: "BYTE";
  position: absolute;
  right: -0.08em;
  bottom: 0.02em;
  color: rgba(57, 255, 20, 0.06);
  font-family: var(--serif);
  font-size: clamp(130px, 26vw, 420px);
  font-weight: 900;
  line-height: 0.75;
  pointer-events: none;
  text-shadow: 0 0 58px rgba(57, 255, 20, 0.18);
}

.byte-dossier::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, rgba(3, 4, 8, 0.14), rgba(3, 4, 8, 0.74));
  mix-blend-mode: screen;
  opacity: 0.32;
}

.byte-dossier-copy,
.byte-dossier-media {
  position: relative;
  z-index: 1;
}

.byte-dossier-copy h2 {
  max-width: 850px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(44px, 7vw, 106px);
  line-height: 0.86;
  text-shadow:
    0 0 28px rgba(57, 255, 20, 0.28),
    0 0 48px rgba(255, 42, 191, 0.18);
}

.byte-dossier-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 22px);
}

.byte-signal-panel {
  max-width: 700px;
  margin-top: 30px;
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.12), transparent 42%, rgba(0, 244, 255, 0.08)),
    rgba(3, 4, 8, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32), inset 0 0 54px rgba(57, 255, 20, 0.05);
}

.byte-signal-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.byte-signal-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 0.96;
}

.byte-signal-panel p {
  margin: 0;
  color: rgba(247, 251, 255, 0.72);
  font-size: 15px;
}

.byte-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.byte-chip {
  min-height: 42px;
  border: 1px solid rgba(0, 244, 255, 0.24);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(3, 4, 8, 0.64);
  color: rgba(247, 251, 255, 0.72);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.byte-chip:hover,
.byte-chip:focus-visible,
.byte-chip.is-active {
  border-color: var(--green);
  background: rgba(57, 255, 20, 0.14);
  color: var(--text);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.22);
  transform: translateY(-2px);
}

.byte-dossier-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 16px;
  align-items: end;
  transform:
    perspective(1000px)
    rotateY(calc(var(--byte-x) * -3deg))
    rotateX(calc(var(--byte-y) * 2deg));
  transition: transform 180ms ease;
}

.byte-video-frame,
.byte-concept-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 244, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 4, 8, 0.78);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42), 0 0 44px rgba(0, 244, 255, 0.08);
}

.byte-video-frame {
  min-height: 520px;
}

.byte-dossier-video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(1.3) contrast(1.12) brightness(0.88);
}

.byte-video-frame::after,
.byte-concept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.16), transparent 34%, rgba(255, 42, 191, 0.12)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

.byte-video-frame span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  border: 1px solid rgba(57, 255, 20, 0.36);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(3, 4, 8, 0.72);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.58);
}

.byte-concept-card {
  align-self: stretch;
  min-height: 300px;
}

.byte-concept-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.1);
}

.characters-section {
  background:
    radial-gradient(circle at 18% 28%, rgba(57, 255, 20, 0.1), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(255, 42, 191, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.94), rgba(8, 7, 19, 0.86) 55%, rgba(3, 4, 8, 0.96)),
    url("../img/backgrounds/background-sem-nada.webp") center / cover;
}

.cast-interface {
  --cast-bg: url("../img/backgrounds/background-byte.webp");
  background:
    radial-gradient(circle at calc(48% + (var(--cast-x) * 8%)) calc(24% + (var(--cast-y) * 6%)), color-mix(in srgb, var(--accent), transparent 78%), transparent 24rem),
    linear-gradient(135deg, rgba(57, 255, 20, 0.08), transparent 36%, rgba(255, 42, 191, 0.09)),
    linear-gradient(90deg, rgba(3, 4, 8, 0.94), rgba(3, 4, 8, 0.74)),
    var(--cast-bg) center / cover;
}

.opportunity-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 244, 255, 0.09), transparent 30rem),
    radial-gradient(circle at 14% 80%, rgba(255, 42, 191, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.92), rgba(3, 4, 8, 0.82)),
    url("../img/backgrounds/background-sem-nada.webp") center / cover;
}

.proof-section {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 42, 191, 0.12), transparent 28rem),
    linear-gradient(90deg, rgba(3, 4, 8, 0.96), rgba(3, 4, 8, 0.72)),
    url("../img/backgrounds/background-sem-nada.webp") center / cover;
}

.posters-section {
  grid-template-columns: minmax(360px, 1.32fr) minmax(0, 0.68fr);
}

.poster-showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 244, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 4, 8, 0.78);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.5),
    0 0 54px rgba(255, 42, 191, 0.12);
}

.poster-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.12), transparent 42%, rgba(255, 42, 191, 0.16)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

.poster-showcase img {
  width: 100%;
  min-height: clamp(340px, 48vw, 680px);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.01);
}

.poster-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: min(460px, calc(100% - 36px));
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(3, 4, 8, 0.76);
  backdrop-filter: blur(12px);
}

.poster-caption span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.poster-caption strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 0.95;
}

.licensing-products-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(57, 255, 20, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 26%, rgba(0, 244, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 50% 88%, rgba(255, 242, 0, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.96), rgba(8, 7, 19, 0.88) 58%, rgba(3, 4, 8, 0.96)),
    url("../img/backgrounds/background-byte.webp") center / cover;
}

.licensing-products-section .section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.licensing-products-section .section-heading h2 {
  max-width: 760px;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 0.92;
}

.product-showcase {
  --product-x: 0;
  --product-y: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.24fr);
  gap: 14px;
  align-items: stretch;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: -22px;
  pointer-events: none;
  border: 1px solid rgba(0, 244, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(0, 244, 255, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(57, 255, 20, 0.1), transparent 28rem),
    rgba(3, 4, 8, 0.78);
  box-shadow:
    0 34px 118px rgba(0, 0, 0, 0.48),
    0 0 60px rgba(0, 244, 255, 0.1);
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.14), transparent 34%, rgba(255, 42, 191, 0.14)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

.product-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(0, 244, 255, 0.16);
  filter: saturate(1.12) contrast(1.08) brightness(0.95);
  opacity: 0.98;
  transform: translate3d(calc(var(--product-x) * -4px), calc(var(--product-y) * -3px), 0);
  transition: opacity 220ms ease, transform 180ms ease, filter 220ms ease;
}

.product-hero img:not(.is-loaded) {
  opacity: 0.72;
}

.product-hero figcaption {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1fr);
  gap: 8px clamp(18px, 3vw, 34px);
  align-items: end;
  max-width: none;
  border-top: 1px solid rgba(57, 255, 20, 0.24);
  padding: clamp(18px, 2.2vw, 26px);
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.1), transparent 48%, rgba(0, 244, 255, 0.08)),
    rgba(3, 4, 8, 0.86);
  box-shadow: inset 0 0 54px rgba(57, 255, 20, 0.04);
}

.product-hero figcaption span {
  display: block;
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.62);
}

.product-hero figcaption strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 0.9;
  text-shadow:
    0 0 26px rgba(57, 255, 20, 0.22),
    0 0 48px rgba(255, 42, 191, 0.18);
}

.product-hero figcaption p {
  max-width: 620px;
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: clamp(14px, 1.1vw, 17px);
}

.product-strip {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.product-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 251, 255, 0.12);
  border-radius: 8px;
  padding: 0;
  background: rgba(3, 4, 8, 0.76);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 34%, rgba(3, 4, 8, 0.86)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px);
}

.product-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02) brightness(0.82);
  transform: scale(1.04);
  transition: transform 180ms ease, filter 180ms ease;
}

.product-thumb span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  color: rgba(247, 251, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.76);
}

.product-thumb:hover,
.product-thumb:focus-visible,
.product-thumb.is-active {
  border-color: var(--green);
  box-shadow:
    0 0 28px rgba(57, 255, 20, 0.22),
    inset 0 0 24px rgba(57, 255, 20, 0.08);
  transform: translateY(-3px);
}

.product-thumb:hover img,
.product-thumb:focus-visible img,
.product-thumb.is-active img {
  filter: saturate(1.18) contrast(1.08) brightness(0.98);
  transform: scale(1.1);
}

.product-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.product-proof-grid article {
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 12px;
  border: 1px solid rgba(0, 244, 255, 0.18);
  border-radius: 8px;
  padding: clamp(18px, 2.3vw, 26px);
  background:
    linear-gradient(145deg, rgba(57, 255, 20, 0.09), transparent 42%, rgba(255, 42, 191, 0.08)),
    rgba(3, 4, 8, 0.76);
  box-shadow: 0 24px 82px rgba(0, 0, 0, 0.3);
}

.product-proof-grid span {
  width: fit-content;
  border: 1px solid rgba(57, 255, 20, 0.32);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-proof-grid strong {
  color: rgba(247, 251, 255, 0.88);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.18;
}

.contact-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 42, 191, 0.14), transparent 34rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.9), rgba(3, 4, 8, 0.96)),
    url("../img/backgrounds/background-byte.webp") center / cover;
}

@keyframes logoSignal {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.98;
  }

  48% {
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateX(1px);
    opacity: 0.9;
  }

  52% {
    transform: translateX(-1px);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .byte-dossier {
    grid-template-columns: 1fr;
  }

  .byte-dossier-media {
    grid-template-columns: 1fr;
  }

  .byte-concept-card {
    min-height: 240px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 28vw);
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .product-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: 148px;
  }

  .film-logo {
    width: min(96vw, 560px);
  }

  .film-logo-title {
    margin-bottom: 18px;
  }

  .byte-dossier {
    min-height: auto;
    padding-top: 110px;
  }

  .byte-dossier-copy h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .byte-chip {
    flex: 1 1 calc(50% - 8px);
  }

  .byte-video-frame,
  .byte-dossier-video {
    min-height: 340px;
  }

  .cast-avatar-orbit {
    width: min(176px, 54vw);
  }

  .product-hero img {
    transform: none;
  }

  .product-hero figcaption {
    grid-template-columns: 1fr;
    margin: 0;
    padding: 16px;
  }

  .licensing-products-section .section-heading {
    margin-bottom: 22px;
  }

  .licensing-products-section .section-heading h2 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .product-hero figcaption strong {
    font-size: clamp(30px, 9.6vw, 42px);
  }

  .product-hero figcaption p {
    font-size: 15px;
  }

  .product-strip {
    grid-auto-columns: minmax(160px, 56vw);
  }

  .product-thumb {
    min-height: 104px;
  }

  .product-thumb img {
    min-height: 0;
  }

  .product-proof-grid {
    grid-template-columns: 1fr;
  }

  .product-proof-grid article {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-logo,
  .byte-dossier-media,
  .byte-chip,
  .cast-avatar-orbit,
  .product-hero img,
  .product-thumb,
  .product-thumb img {
    animation: none !important;
    transform: none !important;
    transition-duration: 0.001ms !important;
  }

  .byte-dossier {
    background:
      linear-gradient(90deg, rgba(3, 4, 8, 0.96), rgba(3, 4, 8, 0.68)),
      url("../img/backgrounds/background-byte.webp") center / cover;
  }
}

/* =====================================================
   Melhorias: Tagline, Equipe, Byte Quote, Reach,
   IP Compare, ESG
   ===================================================== */

.hero-tagline {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 34px);
  font-style: italic;
  line-height: 1.25;
  color: rgba(247, 251, 255, 0.88);
  text-shadow: 0 0 30px rgba(255, 42, 191, 0.44);
}

.byte-quote-line {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 44px);
  font-style: italic;
  line-height: 1.05;
  color: var(--green);
  text-shadow:
    0 0 22px rgba(57, 255, 20, 0.55),
    0 0 52px rgba(57, 255, 20, 0.22);
}

/* Reach breakdown inside market-screen */
.reach-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.5vw, 28px);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 244, 255, 0.18);
}

.reach-breakdown > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(247, 251, 255, 0.55);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reach-breakdown > span strong {
  display: block;
  color: var(--cyan);
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 34px);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 14px rgba(0, 244, 255, 0.46);
  text-transform: none;
}

/* IP comparison table */
.ip-compare {
  margin-top: 52px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(6, 10, 18, 0.86), rgba(3, 4, 8, 0.72));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.ip-compare-head {
  display: grid;
  gap: 8px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(0, 244, 255, 0.1);
  background: rgba(0, 244, 255, 0.04);
}

.ip-compare-head > span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 244, 255, 0.52);
}

.ip-compare-head > strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.15;
}

.ip-compare-table {
  display: grid;
}

.ip-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  border-bottom: 1px solid rgba(0, 244, 255, 0.07);
}

.ip-row:last-child {
  border-bottom: 0;
}

.ip-row > * {
  padding: 13px 22px;
  font-size: 14px;
  border-right: 1px solid rgba(0, 244, 255, 0.07);
  display: flex;
  align-items: center;
}

.ip-row > *:last-child {
  border-right: 0;
}

.ip-row-header {
  background: rgba(0, 0, 0, 0.22);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ip-row-byte {
  background: rgba(57, 255, 20, 0.04);
}

.ip-name {
  color: var(--text);
  font-weight: 500;
}

.ip-row-byte .ip-name {
  color: var(--green);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.32);
}

.ip-val-good {
  color: var(--green);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.28);
}

.ip-val-muted {
  color: rgba(247, 251, 255, 0.4);
}

/* ESG section */
.esg-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(57, 255, 20, 0.09), transparent 32rem),
    radial-gradient(circle at 12% 78%, rgba(0, 244, 255, 0.07), transparent 28rem),
    transparent;
}

.esg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.esg-card {
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(145deg, rgba(57, 255, 20, 0.04), rgba(6, 10, 18, 0.9));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.esg-card > span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.44);
}

.esg-card > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.1;
}

.esg-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.byte-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 244, 255, 0.44);
  transition: text-shadow 160ms ease;
}

.byte-demo-link::after {
  content: "↗";
  font-size: 0.9em;
}

.byte-demo-link:hover,
.byte-demo-link:focus-visible {
  text-shadow: 0 0 24px rgba(0, 244, 255, 0.82);
}

@media (max-width: 1080px) {
  .esg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-tagline {
    font-size: clamp(18px, 5.5vw, 26px);
  }

  .byte-quote-line {
    font-size: clamp(20px, 6vw, 30px);
  }

  .esg-grid {
    grid-template-columns: 1fr;
  }

  .ip-row {
    grid-template-columns: 1.5fr 1fr;
  }

  .ip-row > *:last-child {
    display: none;
  }
}

/* =====================================================
   Audio Player Flutuante
   ===================================================== */

.audio-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(57, 255, 20, 0.36);
  border-radius: 999px;
  padding: 9px 12px 9px 14px;
  background: rgba(3, 4, 8, 0.88);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 22px rgba(57, 255, 20, 0.14),
    0 8px 32px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  user-select: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.audio-player.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: border-color 220ms ease, box-shadow 220ms ease,
              opacity 480ms ease, transform 480ms ease;
}

.audio-player.is-muted {
  border-color: rgba(247, 251, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.48);
}

/* Vis: bars + label */
.audio-vis {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  pointer-events: none;
}

.audio-label {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.52);
  transition: color 220ms ease, text-shadow 220ms ease;
}

.audio-player.is-muted .audio-label {
  color: rgba(247, 251, 255, 0.32);
  text-shadow: none;
}

.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 15px;
  flex-shrink: 0;
}

.audio-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.7);
  animation: audioBar 0.9s ease-in-out infinite alternate;
  transform-origin: bottom;
  transition: opacity 300ms ease;
}

.audio-bars span:nth-child(1) { height: 6px;  animation-delay: 0s;    animation-duration: 0.7s; }
.audio-bars span:nth-child(2) { height: 13px; animation-delay: 0.15s; animation-duration: 0.5s; }
.audio-bars span:nth-child(3) { height: 9px;  animation-delay: 0.08s; animation-duration: 0.85s; }
.audio-bars span:nth-child(4) { height: 5px;  animation-delay: 0.22s; animation-duration: 0.6s; }

.audio-player.is-muted .audio-bars span {
  animation-play-state: paused;
  opacity: 0.22;
}

@keyframes audioBar {
  from { transform: scaleY(0.25); opacity: 0.6; }
  to   { transform: scaleY(1);    opacity: 1;   }
}

/* Volume slider */
.audio-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 3px;
  border-radius: 2px;
  background: rgba(57, 255, 20, 0.18);
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 220ms ease;
}

.audio-player.is-muted .audio-volume {
  opacity: 0.38;
}

.audio-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(57, 255, 20, 0.75);
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.audio-volume::-webkit-slider-thumb:hover {
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.95);
  transform: scale(1.18);
}

.audio-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(57, 255, 20, 0.75);
  cursor: pointer;
}

.audio-volume::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: transparent;
}

/* Mute / unmute button */
.audio-mute {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(57, 255, 20, 0.32);
  border-radius: 50%;
  padding: 0;
  background: rgba(57, 255, 20, 0.07);
  color: var(--green);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.audio-mute:hover,
.audio-mute:focus-visible {
  background: rgba(57, 255, 20, 0.18);
  border-color: rgba(57, 255, 20, 0.64);
}

.audio-mute:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.audio-player.is-muted .audio-mute {
  border-color: rgba(247, 251, 255, 0.2);
  background: rgba(247, 251, 255, 0.05);
  color: rgba(247, 251, 255, 0.45);
}

.audio-mute svg {
  width: 14px;
  height: 14px;
}

.audio-mute .icon-muted { display: none; }

.audio-player.is-muted .audio-mute .icon-sound { display: none; }
.audio-player.is-muted .audio-mute .icon-muted { display: block; }

/* Hint "ativar som" antes do primeiro gesto */
.audio-hint {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  white-space: nowrap;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(3, 4, 8, 0.88);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
  pointer-events: none;
  opacity: 1;
  transition: opacity 400ms ease;
  animation: hintPulse 2s ease-in-out infinite;
}

.audio-player:not(.is-muted) .audio-hint {
  opacity: 0;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1;   }
}

/* Pulse na borda do player enquanto mudo aguardando gesto */
.audio-player.is-muted {
  animation: playerPulse 2.4s ease-in-out infinite;
}

@keyframes playerPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(57,255,20,0.08), 0 8px 32px rgba(0,0,0,0.48); }
  50%      { box-shadow: 0 0 22px rgba(57,255,20,0.32), 0 8px 32px rgba(0,0,0,0.48); }
}

/* Chamada de atenção quando usuário scrollou mas não clicou ainda */
.audio-player.is-calling {
  animation: playerCall 0.7s ease-in-out 3;
  border-color: rgba(57, 255, 20, 0.7);
}

.audio-player.is-calling .audio-hint {
  opacity: 1;
  animation: none;
}

@keyframes playerCall {
  0%   { transform: translateY(0)   scale(1);    box-shadow: 0 0 8px rgba(57,255,20,0.1),  0 8px 32px rgba(0,0,0,0.48); }
  30%  { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 38px rgba(57,255,20,0.5), 0 8px 32px rgba(0,0,0,0.48); }
  60%  { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 22px rgba(57,255,20,0.3), 0 8px 32px rgba(0,0,0,0.48); }
  100% { transform: translateY(0)   scale(1);    box-shadow: 0 0 8px rgba(57,255,20,0.1),  0 8px 32px rgba(0,0,0,0.48); }
}

@media (prefers-reduced-motion: reduce) {
  .audio-bars span {
    animation: none;
    height: 8px;
  }
}

@media (max-width: 760px) {
  .audio-player {
    bottom: 16px;
    right: 16px;
    gap: 10px;
    padding: 8px 10px 8px 12px;
  }

  .audio-volume {
    width: 64px;
  }

  .audio-label {
    display: none;
  }
}
