﻿/* ================================================================
   VISUAL FX — O Fantástico Laboratório
   Enhancement layer: animations, micro-interactions, depth effects
================================================================ */

/* ── Global: scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(0, 244, 255, 0.5);
}
* { scrollbar-width: thin; scrollbar-color: var(--cyan) transparent; }

::selection {
  background: rgba(255, 42, 191, 0.42);
  color: #fff;
}

/* ── Brand logo: efeito VHS com aberração cromática ────────── */
.brand-logo {
  animation: brandVHS 8s ease-in-out infinite;
  will-change: filter, transform;
}

@keyframes brandVHS {
  /* Estado de repouso: aberração leve constante + glow */
  0%, 100% {
    filter:
      drop-shadow(2px 0 0 rgba(255, 42, 191, 0.32))
      drop-shadow(-2px 0 0 rgba(0, 244, 255, 0.28))
      drop-shadow(0 0 10px rgba(255, 255, 255, 0.18))
      drop-shadow(0 0 18px rgba(0, 244, 255, 0.16));
    transform: none;
    opacity: 1;
  }

  /* Respiração do glow */
  45%, 55% {
    filter:
      drop-shadow(1px 0 0 rgba(255, 42, 191, 0.18))
      drop-shadow(-1px 0 0 rgba(0, 244, 255, 0.18))
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.24))
      drop-shadow(0 0 26px rgba(0, 244, 255, 0.22));
  }

  /* Glitch burst 1 — aberração forte + skew */
  78% {
    filter:
      drop-shadow(5px 0 0 rgba(255, 42, 191, 0.95))
      drop-shadow(-4px 0 0 rgba(0, 244, 255, 0.95))
      brightness(1.25);
    transform: translateX(-2px) skewX(-1.2deg);
    opacity: 0.88;
  }

  /* Glitch burst 2 — inversão de offset */
  79.5% {
    filter:
      drop-shadow(-5px 0 0 rgba(255, 42, 191, 0.95))
      drop-shadow(6px 0 0 rgba(0, 244, 255, 0.95))
      brightness(0.75);
    transform: translateX(3px) skewX(1deg) scaleY(1.008);
    opacity: 0.82;
  }

  /* Mini recuperação */
  81% {
    filter:
      drop-shadow(2px 0 0 rgba(255, 42, 191, 0.55))
      drop-shadow(-2px 0 0 rgba(0, 244, 255, 0.55));
    transform: translateX(-1px);
    opacity: 0.95;
  }

  /* Segunda faísca */
  83% {
    filter:
      drop-shadow(7px 0 0 rgba(255, 42, 191, 0.75))
      drop-shadow(-6px 0 0 rgba(0, 244, 255, 0.75))
      brightness(1.1);
    transform: translateX(1.5px);
  }

  /* Retorno ao repouso */
  85% {
    filter:
      drop-shadow(2px 0 0 rgba(255, 42, 191, 0.32))
      drop-shadow(-2px 0 0 rgba(0, 244, 255, 0.28))
      drop-shadow(0 0 10px rgba(255, 255, 255, 0.18))
      drop-shadow(0 0 18px rgba(0, 244, 255, 0.16));
    transform: none;
    opacity: 1;
  }
}

/* Hover: intensifica a aberração */
.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  animation-duration: 3s;
  filter:
    drop-shadow(3px 0 0 rgba(255, 42, 191, 0.5))
    drop-shadow(-3px 0 0 rgba(0, 244, 255, 0.5))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 32px rgba(0, 244, 255, 0.24));
}

/* ── Hero: tagline VHS cursor ───────────────────────────────── */
.hero-tagline::after {
  content: '█';
  margin-left: 5px;
  color: var(--green);
  font-size: 0.82em;
  vertical-align: baseline;
  animation: vhsCursor 1.1s step-end infinite;
}

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

/* ── Hero: meta badges staggered entrance ───────────────────── */
.hero-meta span {
  opacity: 0;
  transform: translateY(14px);
  animation: badgeReveal 0.46s ease forwards;
}
.hero-meta span:nth-child(1) { animation-delay: 0.45s; }
.hero-meta span:nth-child(2) { animation-delay: 0.62s; }
.hero-meta span:nth-child(3) { animation-delay: 0.79s; }
.hero-meta span:nth-child(4) { animation-delay: 0.96s; }
.hero-meta span:nth-child(5) { animation-delay: 1.13s; }
.hero-meta span:nth-child(6) { animation-delay: 1.30s; }

@keyframes badgeReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero: primary button pulse ring ────────────────────────── */
.hero-actions .button-primary {
  position: relative;
}
.hero-actions .button-primary::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 7px;
  border: 2px solid rgba(255, 42, 191, 0.72);
  animation: btnPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes btnPulse {
  0%   { opacity: 0.9; transform: scale(1); }
  65%  { opacity: 0;   transform: scale(1.18); }
  100% { opacity: 0;   transform: scale(1.18); }
}

/* ── Hero: VHS timecode corner display ──────────────────────── */
.vhs-timecode {
  position: absolute;
  top: clamp(80px, 10vw, 130px);
  right: clamp(18px, 6vw, 88px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
  pointer-events: none;
  user-select: none;
}
.vhs-timecode::before {
  content: '▶';
  color: var(--red);
  font-size: 10px;
  animation: recBlink 1.9s ease-in-out infinite;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  58%, 78% { opacity: 0; }
}

/* ── Chapters: cinematic letterbox fade at top ──────────────── */
.trailer-chapter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 6;
  height: clamp(38px, 5vw, 68px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 50%, transparent);
  pointer-events: none;
}

/* ── Chapters: act number colossal background text ──────────── */
.chapter-act-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -48%);
  color: rgba(247, 251, 255, 0.038);
  font-family: var(--serif);
  font-size: clamp(148px, 28vw, 440px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.06em;
  text-shadow: 0 0 90px rgba(0, 244, 255, 0.07);
  user-select: none;
  white-space: nowrap;
}

/* ── Byte dossier: holographic cycling border on video frame ── */
.byte-video-frame {
  animation: holoBorder 4s linear infinite;
}

@keyframes holoBorder {
  0%   { box-shadow: 0 26px 90px rgba(0,0,0,0.42), 0 0 0 2px rgba(57,255,20,0.65),  0 0 44px rgba(57,255,20,0.25); }
  25%  { box-shadow: 0 26px 90px rgba(0,0,0,0.42), 0 0 0 2px rgba(0,244,255,0.65),  0 0 44px rgba(0,244,255,0.25); }
  50%  { box-shadow: 0 26px 90px rgba(0,0,0,0.42), 0 0 0 2px rgba(255,42,191,0.65), 0 0 44px rgba(255,42,191,0.25); }
  75%  { box-shadow: 0 26px 90px rgba(0,0,0,0.42), 0 0 0 2px rgba(255,242,0,0.65),  0 0 44px rgba(255,242,0,0.25); }
  100% { box-shadow: 0 26px 90px rgba(0,0,0,0.42), 0 0 0 2px rgba(57,255,20,0.65),  0 0 44px rgba(57,255,20,0.25); }
}

/* ── Byte dossier: radar pulse ──────────────────────────────── */
.byte-dossier-media {
  position: relative;
}
.byte-radar {
  position: absolute;
  right: 30%;
  bottom: 28px;
  width: 38px;
  height: 38px;
  pointer-events: none;
  z-index: 5;
}
.byte-radar::before,
.byte-radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 244, 255, 0.7);
  animation: radarPulse 2.4s ease-out infinite;
}
.byte-radar::after { animation-delay: 1.2s; }

@keyframes radarPulse {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(4.8); opacity: 0; }
}

/* ── Byte dossier: LED scrolling ticker ─────────────────────── */
.byte-led-strip {
  overflow: hidden;
  height: 22px;
  margin-top: 12px;
  border: 1px solid rgba(57, 255, 20, 0.26);
  border-radius: 4px;
  background: rgba(57, 255, 20, 0.04);
}
.byte-led-strip span {
  display: inline-block;
  padding: 3px 0;
  white-space: nowrap;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(57, 255, 20, 0.85);
  animation: ledScroll 26s linear infinite;
}

@keyframes ledScroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ── Quota: esgotada overlay stamp ──────────────────────────── */
.quota-card-sold::after {
  content: 'ESGOTADA';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%) rotate(-28deg);
  padding: 4px 16px;
  border: 4px solid rgba(255, 49, 49, 0.44);
  border-radius: 4px;
  color: rgba(255, 49, 49, 0.56);
  font-size: clamp(20px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 49, 49, 0.4);
  pointer-events: none;
  white-space: nowrap;
}

/* ── Quota Master: animated neon glow pulse ─────────────────── */
.quota-card-featured {
  animation: masterGlow 2.6s ease-in-out infinite;
}

@keyframes masterGlow {
  0%, 100% {
    box-shadow:
      0 28px 96px rgba(0,0,0,0.38),
      0 0 0 1px rgba(57,255,20,0.48),
      0 0 46px rgba(57,255,20,0.16);
  }
  50% {
    box-shadow:
      0 28px 96px rgba(0,0,0,0.38),
      0 0 0 2px rgba(57,255,20,0.75),
      0 0 72px rgba(57,255,20,0.28),
      0 0 110px rgba(57,255,20,0.08);
  }
}

/* ── Quota: available badge pulse dot ───────────────────────── */
.quota-card:not(.quota-card-sold) .quota-card-head span {
  position: relative;
  padding-left: 17px;
}
.quota-card:not(.quota-card-sold) .quota-card-head span::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(57,255,20,0.9), 0 0 18px rgba(57,255,20,0.5);
  animation: dotPulse 1.9s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: translateY(-50%) scale(1); }
  50%       { opacity: 0.4; transform: translateY(-50%) scale(1.5); }
}

/* ── Quota ladder: row hover ────────────────────────────────── */
.quota-row:not(.quota-row-header) {
  transition: background 130ms ease;
}
.quota-row:not(.quota-row-header):hover {
  background: rgba(0, 244, 255, 0.06);
  cursor: default;
}

/* ── Finance: thesis grid 3D tilt hover ─────────────────────── */
.thesis-grid article {
  transition: transform 260ms ease, box-shadow 260ms ease;
  cursor: default;
  will-change: transform;
}
.thesis-grid article:hover {
  transform: translateY(-8px) perspective(700px) rotateX(3deg);
  box-shadow: 0 38px 88px rgba(0,0,0,0.44), 0 0 28px rgba(0,244,255,0.1);
}

/* ── Finance: sponsor forms hover ───────────────────────────── */
.sponsor-forms article {
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: default;
}
.sponsor-forms article:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.38), 0 0 24px rgba(57,255,20,0.1);
}

/* ── Finance: fiscal flow steps stagger on reveal ───────────── */
.fiscal-flow li {
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fiscal-flow.reveal:not(.is-visible) li {
  opacity: 0;
  transform: translateY(16px);
}
.fiscal-flow.reveal.is-visible li:nth-child(1) { transition-delay: 0s; }
.fiscal-flow.reveal.is-visible li:nth-child(2) { transition-delay: 0.12s; }
.fiscal-flow.reveal.is-visible li:nth-child(3) { transition-delay: 0.24s; }
.fiscal-flow.reveal.is-visible li:nth-child(4) { transition-delay: 0.36s; }

/* ── ESG: grid layout + card styles ─────────────────────────── */
.esg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.esg-card {
  position: relative;
  border: 1px solid rgba(0, 244, 255, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 36px);
  background:
    linear-gradient(145deg, rgba(0, 244, 255, 0.07), transparent 46%, rgba(255, 42, 191, 0.05)),
    rgba(3, 4, 8, 0.8);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.esg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

/* Colored left borders per card */
.esg-card:nth-child(1) { border-left: 3px solid var(--cyan); }
.esg-card:nth-child(2) { border-left: 3px solid var(--magenta); }
.esg-card:nth-child(3) { border-left: 3px solid var(--green); }

.esg-card > span {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.esg-card:nth-child(1) > span { color: var(--cyan); text-shadow: 0 0 14px rgba(0,244,255,0.5); }
.esg-card:nth-child(2) > span { color: var(--magenta); text-shadow: 0 0 14px rgba(255,42,191,0.5); }
.esg-card:nth-child(3) > span { color: var(--green); text-shadow: 0 0 14px rgba(57,255,20,0.5); }

.esg-card > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1;
}
.esg-card > p {
  margin: 0;
  color: rgba(247, 251, 255, 0.76);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.56;
}
.esg-card a {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid rgba(255, 42, 191, 0.52);
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(255,42,191,0.46);
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease;
}
.esg-card a:hover { color: var(--cyan); border-bottom-color: rgba(0,244,255,0.52); }

/* ESG staggered reveal */
.esg-grid .esg-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.esg-grid.is-visible .esg-card:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s;     }
.esg-grid.is-visible .esg-card:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.14s;  }
.esg-grid.is-visible .esg-card:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.28s;  }

@media (max-width: 900px) {
  .esg-grid { grid-template-columns: 1fr; }
}

/* ── Market beats: staggered reveal ────────────────────────── */
.market-beats li {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.market-beats.reveal:not(.is-visible) li {
  opacity: 0;
  transform: translateX(-14px);
}
.market-beats.reveal.is-visible li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s;    }
.market-beats.reveal.is-visible li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.18s; }
.market-beats.reveal.is-visible li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.36s; }

/* ── Reach breakdown: animated bars layout ──────────────────── */
.reach-breakdown {
  display: grid;
  gap: 11px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.reach-row {
  display: grid;
  grid-template-columns: 90px 1fr 52px;
  gap: 10px;
  align-items: center;
}
.reach-row-label {
  color: rgba(247, 251, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.reach-bar-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.reach-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 8px rgba(0, 244, 255, 0.55);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.reach-row-value {
  color: var(--green);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}

/* ── Poster section: light leak animation ───────────────────── */
.poster-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    108deg,
    transparent 28%,
    rgba(255, 42, 191, 0.12) 42%,
    rgba(0, 244, 255, 0.09) 50%,
    transparent 64%
  );
  animation: lightLeak 9s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes lightLeak {
  0%, 100% { transform: translateX(-120%) skewX(-8deg); opacity: 0; }
  15%       { opacity: 1; }
  55%       { transform: translateX(180%) skewX(-8deg); opacity: 0.6; }
  70%       { opacity: 0; }
}

/* ── Contact: aurora glow animation ─────────────────────────── */
.contact-panel {
  animation: auroraGlow 10s ease-in-out infinite alternate;
}

@keyframes auroraGlow {
  0%   { box-shadow: inset 0 0 90px rgba(255, 42, 191, 0.14), 0 22px 82px rgba(0,0,0,0.32); }
  33%  { box-shadow: inset 0 0 90px rgba(0, 244, 255, 0.1),   0 22px 82px rgba(0,0,0,0.32); }
  66%  { box-shadow: inset 0 0 90px rgba(57, 255, 20, 0.08),  0 22px 82px rgba(0,0,0,0.32); }
  100% { box-shadow: inset 0 0 90px rgba(255, 42, 191, 0.16), 0 22px 82px rgba(0,0,0,0.32); }
}

/* ── IP compare: byte rows highlight ────────────────────────── */
.ip-row-byte {
  transition: background 130ms ease;
  cursor: default;
}
.ip-row-byte:hover {
  background: rgba(57, 255, 20, 0.06);
  box-shadow: inset 3px 0 0 rgba(57, 255, 20, 0.7);
}

/* ── Product showcase: smoother crossfade + scale ───────────── */
[data-product-main] {
  transition: opacity 0.38s ease, transform 0.38s ease;
  transform-origin: center center;
}
[data-product-main]:not(.is-loaded) {
  opacity: 0;
  transform: scale(0.97);
}

/* ── Animated counter values ────────────────────────────────── */
[data-counter] {
  font-variant-numeric: tabular-nums;
}

/* Fix: .market-screen span tem font-size: 11px que esmaga spans filhos */
.market-screen strong [data-counter] {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-shadow: inherit;
  display: inline;
}

/* ── Finance radar: counter reveal ──────────────────────────── */
.finance-radar article {
  transition: transform 220ms ease, box-shadow 220ms ease;
  cursor: default;
}
.finance-radar article:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 28px rgba(0,244,255,0.12);
}

/* ════════════════════════════════════════════════════════════
   PERSONAGENS — REDESIGN MINIMALISTA
   Um personagem. Uma tela. Um nome.
   ════════════════════════════════════════════════════════════ */

/* ── Remover elementos redundantes ─────────────────────────── */
.cast-image-cloud,
.cast-gallery-board,
.cast-thumbs,
.cast-avatar-orbit,
.cast-backdrop {
  display: none !important;
}

.cast-status [data-cast-kicker]                      { display: none; }
.characters-section .section-heading > p:not(.eyebrow) { display: none; }

/* ── Interface: container limpo, sem grid ───────────────────── */
.cast-interface {
  display: block;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible; /* permite o cast-copy overlay ultrapassar se necessário */
  background: transparent; /* fundo migra para o frame */
}

.cast-interface::before { display: none; } /* remove grid pattern */

/* ── Spotlight: ocupa toda a largura ───────────────────────── */
.cast-spotlight {
  display: block;
  width: 100%;
  gap: 0;
}

/* ── Frame: tela dominante com background do personagem ─────── */
.cast-frame {
  min-height: 86svh;
  border: none;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 14%, color-mix(in srgb, var(--accent), transparent 66%), transparent 40rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.14), rgba(3, 4, 8, 0.66)),
    var(--cast-bg, #05070c) center / cover;
  transition: background 500ms ease;
}

/* ── Personagem centralizado ────────────────────────────────── */
.cast-main-wrap {
  inset: 50px 6% 0 6%;
}

/* ── Status: só o número no canto superior direito ─────────── */
.cast-status {
  left: auto;
  justify-content: flex-end;
}

/* ── Name backdrop: central, mais visível ───────────────────── */
/* ── cast-copy: overlay cinematic na base do frame ─────────── */
/* Usa .cast-interface para alta especificidade sem !important  */
.cast-interface .cast-copy {
  position: absolute;
  bottom: clamp(16px, 4vw, 58px);
  left: clamp(18px, 4vw, 58px);
  right: auto;
  max-width: min(720px, calc(100% - clamp(36px, 8vw, 116px)));
  z-index: 10;

  /* Reset da grid lateral que veio dos breakpoints */
  display: block;
  order: unset;
  align-content: unset;

  /* chapter-overlay visual */
  border-top: none;
  border-left: 3px solid color-mix(in srgb, var(--accent), transparent 4%);
  padding: clamp(16px, 2.6vw, 34px);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 91%), transparent 44%),
    linear-gradient(90deg, rgba(3, 4, 8, 0.90), rgba(3, 4, 8, 0.46));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(0, 244, 255, 0.08),
    0 26px 80px rgba(0, 0, 0, 0.52);
  transition: border-color 500ms ease, background 500ms ease;
}

.cast-interface .cast-copy::before { display: none; } /* remove accent line */

/* Nome maior dentro do overlay */
.cast-interface .cast-copy h3[data-cast-name] {
  font-size: clamp(46px, 7vw, 106px);
  margin-bottom: 10px;
  line-height: 0.82;
}

/* Copy text compacto */
.cast-interface .cast-copy p:not(.eyebrow) {
  font-size: clamp(14px, 1.2vw, 18px);
  max-width: 500px;
  margin-bottom: 10px;
}

.cast-interface .cast-copy .eyebrow[data-cast-role] { margin-bottom: 8px; }
.cast-interface .cast-copy .cast-tags  { margin-top: 10px; }
.cast-interface .cast-copy .cast-controls { margin-top: 14px; }

/* ── Character strip: mais compacto ─────────────────────────── */
.character-strip { margin-top: 8px; }

/* Especificidade alta para vencer .character-token { height: 196px } do bloco abaixo */
.character-strip .character-token {
  height: 118px;
  min-width: 88px;
}

/* Sem label de nome — foco fica só no avatar + número */
.character-strip .character-token strong { display: none; }

/* Imagem preenche o token menor */
.character-strip .character-token img {
  inset: 4px 4px 18px;
  height: calc(100% - 22px);
}

/* Wipe corre por cima do overlay copy durante a troca de personagem */
.cast-spotlight { z-index: auto; } /* remove stacking context confinado */
.cast-wipe { z-index: 11; }        /* sobe acima do cast-copy (z-index: 10) */

/* ─── Mobile: copy VAI ABAIXO do frame, não por cima ────────── */
@media (max-width: 760px) {
  .cast-frame { min-height: 56svh; } /* frame menor — copy ocupa o resto */

  /* Sai do overlay absoluto e volta ao fluxo normal */
  .cast-interface .cast-copy {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    max-width: 100%;
    padding: 18px 16px 20px;
    border-left-width: 2px;
    border-left: 2px solid color-mix(in srgb, var(--accent), transparent 4%);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 91%), transparent 44%),
      rgba(3, 4, 8, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Mostra tudo de volta no mobile */
  .cast-interface .cast-copy .eyebrow[data-cast-role] { display: block; }
  .cast-interface .cast-copy p:not(.eyebrow)          { display: block; }
  .cast-interface .cast-copy .cast-tags               { display: flex; }

  .cast-interface .cast-copy h3[data-cast-name] {
    font-size: clamp(36px, 10vw, 58px);
    margin-bottom: 10px;
    line-height: 0.84;
  }

  .cast-interface .cast-copy .cast-controls { margin-top: 14px; }

  .cast-status { right: 12px; top: 12px; }

  .character-strip .character-token { height: 100px; min-width: 80px; }
  .character-strip .character-token strong { display: none; }
}

/* ════════════════════════════════════════════════════════════
   PERSONAGENS — REDESIGN CINEMATOGRÁFICO (animações)
   ════════════════════════════════════════════════════════════ */

/* ── Nome colossal dinâmico atrás do frame ──────────────────── */
.cast-name-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
  color: color-mix(in srgb, var(--accent), transparent 91%);
  font-family: var(--serif);
  font-size: clamp(88px, 19vw, 330px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-transform: uppercase;
  padding: 0 0.04em 0.02em 0;
  white-space: nowrap;
  user-select: none;
  transition: color 500ms ease;
}

/* ── Frame: pulse sincronizado com a cor do personagem ──────── */
.cast-frame {
  animation: castFramePulse 3.8s ease-in-out infinite;
}

@keyframes castFramePulse {
  0%, 100% {
    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%);
    border-color: color-mix(in srgb, var(--accent), transparent 52%);
  }
  50% {
    box-shadow:
      inset 0 0 120px color-mix(in srgb, var(--accent), transparent 80%),
      0 0 80px color-mix(in srgb, var(--accent), transparent 78%);
    border-color: color-mix(in srgb, var(--accent), transparent 28%);
  }
}

/* ── Wipe de neon ao trocar personagem ──────────────────────── */
.cast-wipe {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  transform: translateX(-110%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent), transparent 28%) 38%,
    color-mix(in srgb, var(--accent), transparent 14%) 52%,
    transparent 100%
  );
}

.cast-wipe.is-wiping {
  animation: castWipe 0.62s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes castWipe {
  0%   { transform: translateX(-110%); opacity: 0.9; }
  25%  { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}

/* ── Imagem principal: scan cinematográfico de entrada ──────── */
/* Override do transition existente para usar animation */
.cast-main-image.is-loaded {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  transition: none !important;
  animation:
    castScanIn 0.56s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    characterFloat 5.8s ease-in-out 0.65s infinite;
}

@keyframes castScanIn {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.93);
    filter:
      drop-shadow(0 34px 46px rgba(0, 0, 0, 0.58))
      brightness(1.5) saturate(0) blur(2px);
  }
  35% {
    opacity: 0.9;
    filter:
      drop-shadow(0 34px 46px rgba(0, 0, 0, 0.58))
      drop-shadow(0 0 48px color-mix(in srgb, var(--accent), transparent 50%))
      brightness(1.15) saturate(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    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%));
  }
}

/* ── Linha divisória animada na cor do personagem ───────────── */
.cast-copy::before {
  content: '';
  display: block;
  width: min(280px, 70%);
  height: 3px;
  margin-bottom: 24px;
  background: linear-gradient(90deg,
    var(--accent),
    color-mix(in srgb, var(--accent), transparent 60%)
  );
  box-shadow:
    0 0 18px color-mix(in srgb, var(--accent), transparent 40%),
    0 0 38px color-mix(in srgb, var(--accent), transparent 72%);
  transform-origin: left;
  animation: castLineReveal 0.6s ease forwards;
}

@keyframes castLineReveal {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* Re-trigger accent line animation on character change */
.cast-copy--new::before {
  animation: castLineReveal 0.6s ease forwards;
}

/* Name flash on character change */
.cast-copy--new h3[data-cast-name] {
  animation: nameFlash 0.5s ease forwards;
}

@keyframes nameFlash {
  0% {
    opacity: 0;
    transform: translateX(-12px);
    text-shadow:
      0 0 26px color-mix(in srgb, var(--accent), transparent 40%),
      0 0 62px rgba(255, 42, 191, 0.18);
  }
  60% {
    opacity: 1;
    transform: translateX(2px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    text-shadow:
      0 0 26px color-mix(in srgb, var(--accent), transparent 40%),
      0 0 62px rgba(255, 42, 191, 0.18);
  }
}

/* ── Role: prefixo de acento ────────────────────────────────── */
.cast-copy .eyebrow[data-cast-role]::before {
  content: '▶ ';
  color: var(--accent);
  font-size: 0.82em;
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent), transparent 30%);
}

/* ── Nome do personagem: ainda maior, mais dramático ────────── */
.cast-copy h3[data-cast-name] {
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.78;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

/* ── Tags: cor do personagem + hover animado ────────────────── */
.cast-tags span {
  font-size: 10px;
  padding: 6px 13px;
  border-color: color-mix(in srgb, var(--accent), transparent 38%);
  background: color-mix(in srgb, var(--accent), transparent 88%);
  transition: background 180ms ease, border-color 180ms ease,
              transform 180ms ease, box-shadow 180ms ease;
  cursor: default;
}

.cast-tags span:hover {
  background: color-mix(in srgb, var(--accent), transparent 76%);
  border-color: color-mix(in srgb, var(--accent), transparent 18%);
  transform: translateY(-2px);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent), transparent 65%);
}

/* ── Botões de navegação: cor do personagem ─────────────────── */
.cast-controls .icon-button {
  transition: transform 160ms ease, background 160ms ease,
              border-color 160ms ease, box-shadow 160ms ease;
}
.cast-controls .icon-button:hover,
.cast-controls .icon-button:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent), transparent 84%);
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent), transparent 60%);
}

/* ── Character tokens: mais altos, linha de acento ativa ────── */
.character-token {
  height: 196px;
}

/* Linha de acento no topo do token ativo */
.character-token.is-active {
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent), transparent 68%);
}

.character-token.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 3px;
  background: var(--accent);
  box-shadow:
    0 0 12px var(--accent),
    0 0 28px color-mix(in srgb, var(--accent), transparent 55%);
}

/* ── Status: índice ainda mais dramático ────────────────────── */
.cast-status strong[data-cast-index] {
  font-size: clamp(52px, 7vw, 102px);
  opacity: 0.9;
}

/* ── Cast interface: borda superior em degradê de acento ────── */
.cast-interface::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--accent), transparent 20%),
    var(--accent) 50%,
    color-mix(in srgb, var(--accent), transparent 20%),
    transparent
  );
  opacity: 0.75;
  transition: background 500ms ease;
  pointer-events: none;
}

/* ── Avatar orbit: borda pulsante ───────────────────────────── */
.cast-avatar-orbit {
  animation: avatarOrbitPulse 4s ease-in-out infinite;
}

@keyframes avatarOrbitPulse {
  0%, 100% {
    box-shadow:
      0 0 38px color-mix(in srgb, var(--accent), transparent 72%),
      inset 0 0 42px rgba(0, 244, 255, 0.08);
  }
  50% {
    box-shadow:
      0 0 60px color-mix(in srgb, var(--accent), transparent 58%),
      inset 0 0 60px color-mix(in srgb, var(--accent), transparent 84%);
  }
}

/* ── Backdrop existente: make it even larger ────────────────── */
.cast-backdrop span {
  font-size: clamp(88px, 18vw, 260px);
}

/* ── Gallery board tiles hover ──────────────────────────────── */
.cast-gallery-tile:hover img,
.cast-gallery-tile.is-active img {
  filter: drop-shadow(0 26px 34px rgba(0,0,0,0.55))
          drop-shadow(0 0 18px color-mix(in srgb, var(--accent), transparent 50%));
}

/* ── Reduce motion: disable new character animations ────────── */
@media (prefers-reduced-motion: reduce) {
  .cast-frame,
  .cast-avatar-orbit,
  .cast-main-image.is-loaded,
  .cast-copy::before,
  .cast-wipe {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  .cast-main-image.is-loaded {
    opacity: 1 !important;
    transform: none !important;
    filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.58)) !important;
  }
  .cast-name-backdrop { display: none; }
}

/* ── Concept art: section backgrounds ──────────────────────── */

/* Oportunidade — bikes at sunset, heroic and aspirational */
.opportunity-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.1), transparent 28rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.88), rgba(3, 4, 8, 0.78)),
    url("../img/conceptart/ci-bikes-entardecer.webp") center / cover !important;
}

/* Personagens — foggy night street, atmospheric */
.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.88), rgba(3, 4, 8, 0.78) 55%, rgba(3, 4, 8, 0.92)),
    url("../img/conceptart/ci-rua-neblina.webp") center / cover !important;
}

/* Finance (incentivos) — arcade 90s */
.finance-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.91), rgba(3, 4, 8, 0.84)),
    url("../img/conceptart/ci-arcade.webp") center / cover !important;
}

/* Sponsorship (cotas) — library with Byte, Santos Dumont vibe */
.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.91), rgba(3, 4, 8, 0.85)),
    url("../img/conceptart/ci-biblioteca.webp") center / cover !important;
}

/* ESG / Impacto — Estação Canavial at golden sunset */
.esg-section {
  background:
    radial-gradient(circle at 60% 30%, rgba(57, 255, 20, 0.08), transparent 28rem),
    radial-gradient(circle at 20% 70%, rgba(0, 244, 255, 0.07), transparent 26rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.88), rgba(3, 4, 8, 0.82)),
    url("../img/conceptart/ci-estacao-canavial.webp") center top / cover !important;
}

/* Contact — spotlight on field, cinematic and emotional */
.contact-section {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 42, 191, 0.12), transparent 38rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.86), rgba(3, 4, 8, 0.92)),
    url("../img/conceptart/ci-campo-holofote.webp") center / cover !important;
}

/* Licensing (produtos) — mercadinho, cozy Brazilian warmth */
.licensing-products-section {
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 242, 0, 0.09), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(255, 42, 191, 0.1), transparent 26rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.90), rgba(3, 4, 8, 0.84)),
    url("../img/conceptart/ci-mercadinho.webp") center / cover !important;
}

/* ── Concept art gallery section ────────────────────────────── */
.conceptart-section {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 42, 191, 0.1), transparent 30rem),
    radial-gradient(circle at 78% 82%, rgba(0, 244, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(3, 4, 8, 0.98), rgba(3, 4, 8, 0.96)),
    url("../img/conceptart/ci-tunel.webp") center / cover;
  padding-bottom: clamp(72px, 9vw, 130px);
}

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

/* Featured items: some images span 2 columns or 2 rows */
.conceptart-item:nth-child(1),
.conceptart-item:nth-child(6),
.conceptart-item:nth-child(11) {
  grid-column: span 2;
}

.conceptart-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 244, 255, 0.14);
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  cursor: pointer;
}

.conceptart-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(1.1) contrast(1.05);
}

.conceptart-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.25) contrast(1.1) brightness(1.05);
}

.conceptart-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 4, 8, 0.72) 0%, transparent 45%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.conceptart-item:hover::after {
  opacity: 0.3;
}

.conceptart-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 2;
  color: rgba(247, 251, 255, 0.88);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.conceptart-item:hover .conceptart-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Lightbox */
.ci-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}
.ci-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.ci-lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}
.ci-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(3, 4, 8, 0.7);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease;
}
.ci-lightbox-close:hover {
  border-color: var(--cyan);
  background: rgba(0, 244, 255, 0.1);
}
.ci-lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 251, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Navigation: add conceptart to film-rail ─────────────────── */
/* (handled in HTML) */

@media (max-width: 900px) {
  .conceptart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .conceptart-item:nth-child(1),
  .conceptart-item:nth-child(6),
  .conceptart-item:nth-child(11) {
    grid-column: span 2;
  }
}

@media (max-width: 540px) {
  .conceptart-grid {
    grid-template-columns: 1fr;
  }
  .conceptart-item:nth-child(1),
  .conceptart-item:nth-child(6),
  .conceptart-item:nth-child(11) {
    grid-column: span 1;
  }
}

/* ════════════════════════════════════════════════════════════
   INTERLÚDIOS VISUAIS — pontes cinematográficas entre seções
   ════════════════════════════════════════════════════════════ */

.ci-interlude {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* altura definida pela imagem — sem corte */
}

/* Fade preto suave no topo */
.ci-interlude::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 6;
  height: 18%;
  background: linear-gradient(to bottom, #000 38%, transparent);
  pointer-events: none;
}

/* Fade preto suave na base */
.ci-interlude::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 6;
  height: 24%;
  background: linear-gradient(to top, #000 36%, transparent);
  pointer-events: none;
}

/* Imagem: flui naturalmente, sem corte */
.ci-interlude-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
  filter: saturate(1.28) contrast(1.18) brightness(0.78);
  animation: cinematicDrift 22s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* Scrim: mais pesado na base para legibilidade da caixa */
.ci-interlude-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(3, 4, 8, 0.84) 0%, rgba(3, 4, 8, 0.3) 36%, rgba(3, 4, 8, 0.08) 64%, rgba(3, 4, 8, 0.24) 100%);
  pointer-events: none;
}

/* Wrapper: posiciona a caixa na base-esquerda da imagem — z-index acima dos fades */
.ci-interlude-content {
  position: absolute;
  bottom: clamp(22px, 5vw, 66px);
  left: clamp(18px, 6vw, 88px);
  right: clamp(18px, 6vw, 88px);
  z-index: 8;
}

/* Caixa de texto — mesmo estilo de .chapter-overlay */
.ci-interlude-box {
  width: min(700px, 100%);
  border-left: 3px solid var(--green);
  padding: clamp(18px, 3.2vw, 40px);
  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.44));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 1px rgba(0, 244, 255, 0.08),
    0 26px 90px rgba(0, 0, 0, 0.44),
    inset 0 0 48px rgba(0, 244, 255, 0.05);
}

/* Acento da borda e glow por variante de cor */
.ci-interlude.ci-green .ci-interlude-box { border-left-color: var(--green); background-image: linear-gradient(90deg,rgba(57,255,20,0.08),transparent 44%),linear-gradient(90deg,rgba(3,4,8,0.9),rgba(3,4,8,0.44)); }
.ci-interlude.ci-cyan  .ci-interlude-box { border-left-color: var(--cyan);  background-image: linear-gradient(90deg,rgba(0,244,255,0.08),transparent 44%),linear-gradient(90deg,rgba(3,4,8,0.9),rgba(3,4,8,0.44)); }
.ci-interlude.ci-mag   .ci-interlude-box { border-left-color: var(--magenta);background-image: linear-gradient(90deg,rgba(255,42,191,0.08),transparent 44%),linear-gradient(90deg,rgba(3,4,8,0.9),rgba(3,4,8,0.44)); }
.ci-interlude.ci-yel   .ci-interlude-box { border-left-color: var(--yellow);background-image: linear-gradient(90deg,rgba(255,242,0,0.07),transparent 44%),linear-gradient(90deg,rgba(3,4,8,0.9),rgba(3,4,8,0.44)); }

.ci-interlude.ci-green .ci-interlude-box .eyebrow { color: var(--green);   text-shadow: 0 0 14px rgba(57,255,20,0.6),  0 1px 6px rgba(0,0,0,0.9); }
.ci-interlude.ci-cyan  .ci-interlude-box .eyebrow { color: var(--cyan);    text-shadow: 0 0 14px rgba(0,244,255,0.6),  0 1px 6px rgba(0,0,0,0.9); }
.ci-interlude.ci-mag   .ci-interlude-box .eyebrow { color: var(--magenta); text-shadow: 0 0 14px rgba(255,42,191,0.6), 0 1px 6px rgba(0,0,0,0.9); }
.ci-interlude.ci-yel   .ci-interlude-box .eyebrow { color: var(--yellow);  text-shadow: 0 0 14px rgba(255,242,0,0.6),  0 1px 6px rgba(0,0,0,0.9); }

.ci-interlude-box .eyebrow { margin: 0 0 14px; }

.ci-interlude-box h2 {
  margin: 0;
  font-size: clamp(26px, 4.2vw, 68px);
  line-height: 0.92;
  color: var(--text);
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.95),
    0 0 44px rgba(0, 0, 0, 0.6);
}

/* Linha divisória */
.ci-interlude + .section,
.section + .ci-interlude { margin-top: 0; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ci-interlude-img { animation: none; }
}

/* Mobile */
@media (max-width: 760px) {
  .ci-interlude-content { bottom: clamp(14px, 4vw, 32px); left: 14px; right: 14px; }
  .ci-interlude-box { padding: 14px 16px; }
  .ci-interlude-box h2 { font-size: clamp(18px, 5.2vw, 32px); }
  .ci-interlude-box .eyebrow { font-size: 9px; letter-spacing: 0.16em; margin-bottom: 10px; }
}

/* ── #customizacao: concept art image como fundo ────────────── */
/* Herda .chapter-video (absolute, cover) mas com cor mais quente */
.chapter-ci-bg {
  filter: saturate(1.35) contrast(1.18) brightness(0.78);
  animation: cinematicDrift 22s ease-in-out infinite alternate;
}

/* Atualiza o fallback de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .chapter-ci-bg {
    animation: none;
    transform: none;
  }
}

/* ── Footer: logo dos parceiros ─────────────────────────────── */
.footer-partners {
  display: block;
  height: auto;
  width: min(520px, 72vw);
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 200ms ease;
}

.footer-partners:hover {
  opacity: 1;
}

/* ── Reduce motion: disable all new animations ──────────────── */
@media (prefers-reduced-motion: reduce) {
  .film-logo,
  .hero-tagline::after,
  .hero-meta span,
  .hero-actions .button-primary::after,
  .vhs-timecode::before,
  .trailer-chapter::before,
  .byte-video-frame,
  .byte-radar::before,
  .byte-radar::after,
  .byte-led-strip span,
  .quota-card-sold::after,
  .quota-card-featured,
  .quota-card:not(.quota-card-sold) .quota-card-head span::before,
  .poster-showcase::after,
  .contact-panel,
  .esg-card,
  .reach-bar-fill,
  .thesis-grid article,
  .sponsor-forms article,
  .finance-radar article {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  .hero-meta span { opacity: 1; transform: none; }
  .esg-grid .esg-card { opacity: 1; transform: none; }
}
