/* ==========================================================================
   BLACKBOT CPA — CINEMA LAYER (Hero + Interfaces)
   Depende dos tokens :root do index.html
   ========================================================================== */
/* Performance: só transform/opacity animam em loop (compositor/GPU); nada de
   filter/box-shadow/background animados. html.bb-lite (detectado no <head>)
   desliga os efeitos decorativos em máquinas fracas. */

:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }

/* ---------- Shared ---------- */
.bb-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.bb-kicker-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--neon-green);
  box-shadow: 0 0 0 4px rgba(0,230,118,.12), 0 0 14px var(--neon-green);
}
.bb-grain {
  /* estática e sem blend-mode: textura de filme sem recompor a hero a cada frame */
  position: absolute; inset: 0; opacity: .045; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Intro (load) animations */
.bb-intro { opacity: 0; animation: bb-rise 1.1s var(--ease-out) var(--d, 0s) both; }
@keyframes bb-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.bb-hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-main);
  padding: clamp(104px, 13vh, 140px) clamp(20px, 5vw, 80px) clamp(72px, 10vh, 110px);
}
.bb-hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bb-hero-fx::after { /* vinheta + fusão com a próxima seção */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 60% 45%, transparent 40%, rgba(0,0,0,.75) 100%),
    linear-gradient(to bottom, transparent 72%, var(--bg-main) 100%);
}
.bb-hero-beam {
  position: absolute; top: -10%; right: 4%; width: min(62vw, 900px); height: 115%;
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(255,255,255,.06), transparent 70%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.bb-hero-ascii {
  position: absolute; right: -6vw; top: 50%; width: min(78vw, 1150px); height: auto;
  opacity: .085; transform: translate3d(0, -50%, 0);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 70%);
          mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 70%);
}
.bb-hero-glow {
  position: absolute; right: 12%; top: 58%; width: min(54vw, 760px); aspect-ratio: 2.4;
  transform: translate(0, -50%); border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,230,118,.11), rgba(245,158,11,.04) 40%, transparent 70%);
}

.bb-hero-inner {
  position: relative; width: 100%; max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 120px); align-items: center; container-type: inline-size;
}
.bb-hero-copy { container-type: inline-size; }
.bb-hero-title {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(34px, 12.4cqi, 96px); line-height: .94; letter-spacing: -.035em;  /* cqi: a frase mais longa sempre cabe em 1 linha */
  margin: 0 0 28px;
}
.bb-line { display: block; white-space: nowrap; overflow: hidden; padding: .04em 0 .06em; margin-bottom: -.06em; }
.bb-line > span {
  display: inline-block; animation: bb-line-up 1.2s var(--ease-out) var(--d, 0s) both;
}
@keyframes bb-line-up { from { transform: translateY(108%) rotate(2deg); } to { transform: none; } }
.bb-accent {
  background: linear-gradient(100deg, #b9ffd6 0%, #00e676 38%, #00b359 70%, #00e676 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bb-hero-sub {
  font-family: var(--font-heading); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7;
  color: rgba(255,255,255,.56); max-width: 470px; margin: 0 0 40px;
}
.bb-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; }
.bb-cta {
  position: relative; display: inline-flex; align-items: center; gap: 12px; overflow: hidden;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  color: #031006; text-decoration: none; padding: 17px 30px 17px 32px; border-radius: 999px;
  background: var(--neon-green);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 14px 40px -10px rgba(0,230,118,.6);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.bb-cta::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.bb-cta svg { position: relative; transition: transform .5s var(--ease-out); }
.bb-cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 20px 50px -10px rgba(0,230,118,.75); }
.bb-cta:hover::before { transform: translateX(120%); }
.bb-cta:hover svg { transform: translateX(4px); }
.bb-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.bb-hero-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Deck (carrossel de cartas) ---------- */
.bb-deck {
  --cw: clamp(200px, min(19.5vw, 31vh, 20cqi), 330px);   /* cqi: leque nunca invade a coluna do texto */
  position: relative; display: flex; flex-direction: column; align-items: center;
}
.bb-deck-head { text-align: center; margin-bottom: clamp(18px, 3vh, 34px); }
.bb-deck-kicker {
  display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(245,158,11,.8); margin-bottom: 10px;
}
.bb-deck-title {
  margin: 0; min-height: 1.2em; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 1.9vw, 28px); letter-spacing: .22em; color: #fff; white-space: nowrap;
}
.bb-deck-title span { display: inline-block; }
.bb-deck-title.anim span { animation: bb-char .8s var(--ease-out) calc(var(--i) * 28ms) both; }
@keyframes bb-char { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: none; } }

.bb-deck-view { position: relative; width: 100%; height: calc(var(--cw) * 16 / 9 * 1.1); perspective: 1600px; }
.bb-deck-tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.bb-deck-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.bb-deck-floor {
  position: absolute; left: 50%; bottom: -4%; width: calc(var(--cw) * 3); height: 60px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,.9), transparent 70%); z-index: -1;
}

.bb-card {
  position: absolute; left: 50%; top: 50%; width: var(--cw); aspect-ratio: 9 / 16; margin: 0;
  margin-left: calc(var(--cw) / -2); margin-top: calc(var(--cw) * -8 / 9);
  border-radius: 20px; padding: 1.5px; transform-origin: 50% 100%; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.03) 45%, rgba(255,255,255,.08));
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.6);
  transition: transform 1.15s var(--ease-out), opacity .9s var(--ease-out), visibility 0s;
}
/* Brilho âmbar na borda: um gradiente cônico que GIRA via transform (GPU),
   só na carta central e só enquanto a hero está visível */
.bb-card::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; margin: -110% 0 0 -110%;
  background: conic-gradient(transparent 0deg, transparent 250deg, rgba(251,191,36,.95) 300deg, rgba(245,158,11,.35) 320deg, transparent 345deg);
  opacity: 0; transition: opacity .8s;
}
.bb-card.is-c::before { opacity: 1; animation: bb-rot 6s linear infinite; }
.bb-hero.is-off .bb-card::before, .bb-hero.is-off .bb-scroll-cue span { animation-play-state: paused; }
@keyframes bb-rot { to { transform: rotate(360deg); } }
.bb-card-in { height: 100%; border-radius: 18.5px; overflow: hidden; background: #08080b; position: relative; z-index: 1; }
.bb-card-in img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bb-card-in::after { /* vidro + escurecimento das laterais (opacity anima na GPU, filter não) */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.14) 0%, transparent 28%, transparent 70%, rgba(0,0,0,.35) 100%);
}
.bb-card-in::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #050507;
  opacity: .55; transition: opacity 1s var(--ease-out);
}
.bb-card.is-c .bb-card-in::before { opacity: 0; }

.bb-card.is-c { transform: translate3d(0, 0, 60px); z-index: 3; }
.bb-card.is-l { transform: translate3d(calc(var(--cw) * -.56), calc(var(--cw) * .05), -60px) rotate(-13deg) scale(.86); z-index: 1; }
.bb-card.is-r { transform: translate3d(calc(var(--cw) * .56), calc(var(--cw) * .05), -60px) rotate(13deg) scale(.86); z-index: 2; }
.bb-card.is-in { transform: translate3d(0, 75%, -260px) scale(.78); opacity: 0; visibility: hidden; }
.bb-card.is-out { opacity: 0; z-index: 0; transition-duration: .9s; }
.bb-card.is-out[data-i="0"] { transform: translate3d(calc(var(--cw) * -.9), -8%, -320px) rotate(-26deg) scale(.7); }
.bb-card.is-out[data-i="1"] { transform: translate3d(0, -22%, -420px) scale(.66); }
.bb-card.is-out[data-i="2"] { transform: translate3d(calc(var(--cw) * .9), -8%, -320px) rotate(26deg) scale(.7); }
.bb-card.no-tr { transition: none !important; }

.bb-deck-nav { display: flex; align-items: center; gap: 18px; margin-top: clamp(26px, 4vh, 44px); }
.bb-deck-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-dim); }
.bb-deck-count b { color: #fff; font-weight: 700; }
.bb-deck-segs { display: flex; gap: 8px; }
.bb-deck-seg {
  position: relative; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.bb-deck-seg::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); }
.bb-deck-seg i {
  position: absolute; left: 0; top: 11px; height: 2px; width: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-green), #84ffb5); transform-origin: left; transform: scaleX(0);
}
.bb-deck-seg.done i { transform: scaleX(1); opacity: .35; }
.bb-deck-seg.on i { transform: scaleX(1); }
.bb-deck.auto .bb-deck-seg.on i { animation: bb-fill var(--dur, 5s) linear both; }
.bb-deck.paused .bb-deck-seg.on i { animation-play-state: paused; }
.bb-deck-seg:focus-visible { outline: 1px solid var(--neon-green); outline-offset: 2px; border-radius: 4px; }
@keyframes bb-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.bb-scroll-cue {
  position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; margin-left: -11px;
  border: 1.5px solid rgba(255,255,255,.2); border-radius: 12px;
}
.bb-scroll-cue span {
  position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px;
  background: #fff; animation: bb-cue 2s var(--ease-io) infinite;
}
@keyframes bb-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   INTERFACES
   ========================================================================== */
.bb-ifx {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--bg-main) 0%, #0c0c11 18%, #0e0e13 70%, var(--bg-graphite) 100%);
  padding: clamp(80px, 13vh, 150px) clamp(20px, 4vw, 64px) clamp(90px, 14vh, 160px);
}
.bb-ifx::before { /* luz superior suave */
  content: ''; position: absolute; left: 50%; top: 0; width: min(1200px, 120vw); height: 520px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(0,230,118,.07), transparent 70%); z-index: -1; pointer-events: none;
}
.bb-ifx-emblem {
  position: absolute; left: 0; top: 50%; width: min(980px, 90vw); height: auto; z-index: -1; pointer-events: none;
  opacity: .07; transform: translate3d(-48%, calc(-50% + var(--ey, 0px)), 0);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 68%); mask-image: radial-gradient(circle, #000 30%, transparent 68%);
}
.bb-ifx-inner { max-width: 1440px; margin: 0 auto; }
.bb-ifx-head { margin-bottom: clamp(36px, 6vh, 64px); }
.bb-ifx-title {
  margin: 0 0 22px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 11vw, 176px); line-height: .84; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.3);
  background: linear-gradient(90deg, #fff 0%, #fff var(--fill, 0%), rgba(255,255,255,0) calc(var(--fill, 0%) + 10%));
  -webkit-background-clip: text; background-clip: text;
}
.bb-ifx-sub {
  font-family: var(--font-heading); font-size: clamp(15px, 1.35vw, 19px); line-height: 1.65;
  color: rgba(255,255,255,.55); max-width: 560px; margin: 0;
}
.bb-ifx-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: stretch; }
.bb-ifx-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.bb-ifx-label span { color: var(--neon-green); }
.bb-ifx-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.12), transparent); }

/* Versão completa */
.bb-ifx-full { display: flex; flex-direction: column; }
.bb-ifx-persp { perspective: 1800px; position: relative; }
.bb-ifx-persp::before { /* halo atrás da tela */
  content: ''; position: absolute; inset: 8% 6% -6%; border-radius: 40px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0,230,118,.12), rgba(245,158,11,.045) 45%, transparent 70%);
}
.bb-ifx-frame {
  position: relative; border-radius: 18px; padding: 10px; transform-origin: 50% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 70px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.5);
  will-change: transform; transition: border-color .5s, box-shadow .5s;
}
.bb-ifx-frame img { display: block; width: 100%; height: auto; border-radius: 10px; }
.bb-ifx-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.1), transparent 45%);
}
.bb-ifx-full:hover .bb-ifx-frame { border-color: rgba(0,230,118,.35); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 80px 140px -40px rgba(0,0,0,.95), 0 0 60px -10px rgba(0,230,118,.25); }
.bb-ifx-full:hover .bb-ifx-glare { opacity: 1; }
.bb-ifx-cap { margin: 22px 0 0; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.42); max-width: 560px; }

/* Modo mini */
.bb-ifx-mini { display: flex; flex-direction: column; }
.bb-mini-stage {
  container-type: inline-size; position: relative; flex: 1; min-height: 340px; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(0,230,118,.08), transparent 55%),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 18px 18px,
    #08080c;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 50px 100px -40px rgba(0,0,0,.9);
}
.bb-mini-stage::before { /* "janelas" fantasmas de uma área de trabalho */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035), rgba(255,255,255,.035)) 8% 30% / 46% 26% no-repeat,
    linear-gradient(rgba(255,255,255,.025), rgba(255,255,255,.025)) 88% 62% / 52% 30% no-repeat;
  border-radius: inherit;
}
.bb-mini-ghost {
  position: absolute; width: 11cqw; aspect-ratio: 1; margin: -5.5cqw 0 0 -5.5cqw; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.14); transition: border-color .4s, background .4s;
}
.bb-mini-ghost.g0 { left: calc(6% + 5.5cqw); top: 20%; }
.bb-mini-ghost.g1 { left: 72%; top: 48%; }
.bb-mini-ghost.g2 { left: calc(6% + 5.5cqw); top: 78%; }
.bb-mini-ghost.hit { border-color: rgba(0,230,118,.5); background: rgba(0,230,118,.05); }

/* A pílula: largura aberta = 88cqw; a imagem (606x103) é recortada no contorno da barra */
.bb-mini-w {
  --pw: 88cqw;                          /* largura da barra aberta */
  --iw: calc(var(--pw) * 606 / 552);    /* largura renderizada da imagem */
  --ph: calc(var(--iw) * 58 / 606);     /* altura da barra */
  position: absolute; margin-top: calc(var(--ph) / -2); z-index: 2;
  transition: left 1.1s var(--ease-io), top 1.1s var(--ease-io);
}
.bb-mini-w.p0 { left: 6%; top: 20%; }
.bb-mini-w.p1 { left: calc(72% - var(--ph) / 2); top: 48%; }
.bb-mini-w.p2 { left: 6%; top: 78%; }
.bb-mini-pill {
  position: relative; width: var(--ph); height: var(--ph); border-radius: 999px; overflow: hidden;
  background: #0c0b13;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 0 5px rgba(0,230,118,.08), 0 0 28px rgba(0,230,118,.3), 0 20px 40px -10px rgba(0,0,0,.9);
  transition: width .8s var(--ease-out), box-shadow .6s;
}
/* Pulso da orbe: anel que escala/desvanece (transform+opacity → GPU) */
.bb-mini-w::before {
  content: ''; position: absolute; left: 0; top: 0; width: var(--ph); height: var(--ph); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(0,230,118,.55), 0 0 18px rgba(0,230,118,.35);
  animation: bb-ring 2.4s ease-out infinite;
}
.bb-mini-w.open::before, .bb-mini-w.drag::before { animation: none; opacity: 0; }
.bb-mini-stage:not(.in-view) .bb-mini-w::before { animation-play-state: paused; }
@keyframes bb-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.bb-mini-pill img {
  position: absolute; max-width: none; width: var(--iw); height: auto;
  left: calc(var(--iw) * -24 / 606); top: calc(var(--iw) * -22 / 606);
}
.bb-mini-w.open .bb-mini-pill { width: var(--pw); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 40px -6px rgba(0,230,118,.28), 0 24px 50px -10px rgba(0,0,0,.9); }
.bb-mini-cursor {
  position: absolute; left: calc(var(--ph) * .62); top: calc(var(--ph) * .55); width: 22px; height: 22px;
  opacity: 0; transform: translate(6px, 6px) scale(.9); transition: opacity .35s, transform .35s var(--ease-out);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.8));
}
.bb-mini-w.drag .bb-mini-cursor { opacity: 1; transform: none; }
.bb-mini-w.drag .bb-mini-pill { box-shadow: 0 0 0 1px rgba(0,230,118,.6), 0 0 0 6px rgba(0,230,118,.12), 0 30px 50px -10px rgba(0,0,0,.95); }
.bb-mini-tag {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.bb-mini-tag svg { width: 13px; height: 13px; color: var(--amber-gold); }
.bb-mini-h { margin: 26px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); color: #fff; letter-spacing: -.01em; }
.bb-mini-p { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.48); }
.bb-mini-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bb-mini-chips li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px;
  font-size: 12px; color: rgba(255,255,255,.62); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
}
.bb-mini-chips svg { width: 13px; height: 13px; color: var(--neon-green); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .bb-hero { justify-content: flex-start; }
  .bb-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .bb-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .bb-hero-actions { justify-content: center; }
  .bb-hero-ascii { right: 50%; transform: translate3d(50%, -20%, 0); width: 140vw; }
  .bb-hero-glow { right: 50%; transform: translate(50%, 0); top: 55%; width: 120vw; }
  .bb-hero-beam { right: 50%; transform: translateX(50%); width: 120vw; }
  .bb-deck { --cw: clamp(170px, 30vw, 250px); }
  .bb-scroll-cue { display: none; }
  .bb-ifx-grid { grid-template-columns: 1fr; gap: 64px; }
  .bb-mini-stage { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
}
@media (max-width: 560px) {
  .bb-hero { padding-top: 96px; }
  .bb-hero-sub { margin-bottom: 30px; }
  .bb-hero-actions { flex-direction: column; gap: 14px; }
  .bb-deck { --cw: min(46vw, 200px); }
  .bb-card.is-l { transform: translate3d(calc(var(--cw) * -.5), calc(var(--cw) * .04), -60px) rotate(-11deg) scale(.84); }
  .bb-card.is-r { transform: translate3d(calc(var(--cw) * .5), calc(var(--cw) * .04), -60px) rotate(11deg) scale(.84); }
  .bb-deck-title { letter-spacing: .14em; font-size: 17px; }
  .bb-ifx-title { -webkit-text-stroke-width: 1px; }
  .bb-mini-stage { aspect-ratio: 1 / 1; }
  .bb-ifx-frame { padding: 6px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-intro, .bb-line > span, .bb-accent { animation: none !important; opacity: 1; transform: none; }
}

/* ==========================================================================
   MODO LEVE (html.bb-lite): máquinas fracas / economia de dados
   Mantém layout e conteúdo; corta só o que custa GPU/CPU contínuo.
   ========================================================================== */
.bb-lite .bb-grain, .bb-lite .bb-hero-beam, .bb-lite .bb-hero-glow, .bb-lite .bb-ifx-persp::before, .bb-lite .bb-ifx::before { display: none; }
.bb-lite .bb-card::before, .bb-lite .bb-mini-w::before, .bb-lite .bb-scroll-cue span { animation: none; }
.bb-lite .bb-card { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.bb-lite .bb-card.is-c { background: linear-gradient(160deg, rgba(251,191,36,.7), rgba(255,255,255,.04) 45%, rgba(245,158,11,.35)); }
.bb-lite .bb-hero-ascii { -webkit-mask-image: none; mask-image: none; opacity: .05; }
.bb-lite .bb-ifx-emblem { display: none; }
.bb-lite .cpb-navbar, .bb-lite .cpb-navbar *, .bb-lite #cpb-sticky-cta { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.bb-lite .cpb-navbar { background: rgba(7,6,10,.97) !important; }
