/* =====================================================================
   13 · Jota Quest — a revelação do headliner (p13)
   Cena fixada em batidas: apagão → quatro pistas em feixes de luz →
   3·2·1 → explosão (nome cromado, globo, a banda sai da sombra, lasers,
   confete) → trajetória → credenciais.
   O CSS descreve o estado FINAL (movimento reduzido e sem JS: tudo
   revelado e completo); o JS monta o suspense por cima com fromTo.
   Camadas (dentro de .jq__shake, que é o contexto de empilhamento):
     0 palco · 1 luz apagada · 2 lasers · 3 véu · 4 "?" · 5 banda ·
     6 confete · 7 pistas · 8 contagem · 9 texto · 10 clarão
   ===================================================================== */

#jota-quest {
  --jq-name: clamp(56px, min(8.2vw, 12.5vh), 150px);
  --jq-bandw: 1.7717; /* 1304 / 736 */
}
#jota-quest .jq { background: #020008; }
#jota-quest .jq__shake { position: relative; height: 100%; isolation: isolate; }

/* ---------- 0 · o palco ---------- */
#jota-quest .jq__media { position: absolute; inset: 0; z-index: 0; overflow: clip; transform-origin: 50% 36%; }
#jota-quest .jq__kick { position: absolute; inset: 0; transform-origin: 50% 36%; }
#jota-quest .jq__media::before { /* sem filme nem quadro: palco em degradê */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 50% 34%, rgba(120, 0, 240, .45), transparent 70%),
    radial-gradient(50% 26% at 50% 78%, rgba(0, 216, 248, .35), transparent 72%),
    linear-gradient(180deg, #07021a, #12052e 55%, #030109);
}
#jota-quest .jq__still,
#jota-quest .jq__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
#jota-quest .jq__film { background: transparent; }

/* ---------- 1 · luz da casa: apagada até a revelação ---------- */
#jota-quest .jq__lights { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; }
#jota-quest .jq__dark {
  position: absolute; inset: 0;
  background: radial-gradient(56% 44% at 50% 40%, rgba(2, 0, 8, .8), #000 78%);
}
/* luz de serviço: um refletor frio e fraco caindo no palco */
#jota-quest .jq__service {
  position: absolute; left: 50%; top: -6%; width: 64vw; height: 86%; translate: -50% 0; opacity: .5;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(190, 210, 255, .2), rgba(120, 140, 255, .07) 60%, transparent 96%);
  -webkit-mask-image: linear-gradient(90deg, transparent 6%, #000 40%, #000 60%, transparent 94%);
  mask-image: linear-gradient(90deg, transparent 6%, #000 40%, #000 60%, transparent 94%);
}

/* ---------- 2 · véu de leitura (só depois da revelação, quando o texto entra) ---------- */
#jota-quest .jq__veil {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(48% 42% at 24% 18%, rgba(0, 0, 0, .7), transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .2) 24%, transparent 44%),
    linear-gradient(270deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .24) 38%, transparent 58%),
    linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, transparent 26%);
}

/* ---------- 3 · lasers ---------- */
#jota-quest .jq__lasers { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; overflow: visible; }
#jota-quest .jq__lz { opacity: .32; }
#jota-quest .jq__lasers line { stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
#jota-quest .jq__lasers .c { stroke: url(#jq-lz-c); }
#jota-quest .jq__lasers .m { stroke: url(#jq-lz-m); }
#jota-quest .jq__lasers {
  filter: drop-shadow(0 0 4px rgba(120, 0, 240, .9));
  /* o letreiro pequeno (kicker e "Show pós-prova") fica no alto, ao centro: ali os feixes quase somem */
  -webkit-mask-image: radial-gradient(36% 19% at 50% 14%, rgba(0, 0, 0, .12) 35%, #000 100%);
  mask-image: radial-gradient(36% 19% at 50% 14%, rgba(0, 0, 0, .12) 35%, #000 100%);
}

/* ---------- 4 · o "?" (resposta ao capítulo 12) ---------- */
#jota-quest .jq__q {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none;
  padding-top: var(--hud-h); opacity: 0;
}
#jota-quest .jq__q span {
  display: block; font-family: var(--f-mega); font-size: min(58vh, 54vw); line-height: 1.04; padding-top: .06em;
  transform: skewX(-8deg); color: transparent; -webkit-text-stroke: 2px rgba(240, 0, 240, .55);
  filter: drop-shadow(0 0 18px rgba(240, 0, 240, .45));
}
/* batimento: só enquanto o suspense está na tela (classe posta pelo JS; pausa fora) */
#jota-quest.jq--beat .jq__q span { animation: jq-beat .9s cubic-bezier(.2, .7, .3, 1) infinite; }
@keyframes jq-beat {
  0%, 100% { scale: 1; filter: drop-shadow(0 0 18px rgba(240, 0, 240, .45)); }
  12% { scale: 1.035; filter: drop-shadow(0 0 30px rgba(240, 0, 240, .8)); }
  26% { scale: 1.005; }
  38% { scale: 1.022; filter: drop-shadow(0 0 24px rgba(240, 0, 240, .65)); }
}

/* ---------- 5 · a banda ---------- */
#jota-quest .jq__band {
  grid-column: 1; grid-row: 2; position: relative; z-index: 5;
  margin: clamp(10px, 3vh, 32px) 0 0 calc(var(--gutter) * -.4);
  min-height: 0; container-type: size; pointer-events: none;
}
#jota-quest .jq__band-rise {
  position: absolute; left: 0; bottom: 0;
  width: min(100cqw, 100cqh * var(--jq-bandw)); aspect-ratio: 1304 / 736;
  transform-origin: 50% 100%; will-change: transform;
}
#jota-quest .jq__band-pop { position: absolute; inset: 0; will-change: transform; }
/* contraluz só no miolo: nas laterais, onde o recorte do PDF corta os braços e a foto se desfaz, fica escuro */
#jota-quest .jq__backlight {
  position: absolute; left: 6%; right: 6%; top: -18%; bottom: 8%; opacity: .5;
  background:
    radial-gradient(44% 52% at 50% 58%, rgba(240, 0, 240, .5), transparent 72%),
    radial-gradient(56% 58% at 50% 70%, rgba(120, 0, 240, .45), transparent 74%);
  filter: blur(6px);
}
/* ordem que importa: primeiro o brilho sobre o recorte OPACO (na própria foto), depois a máscara sobre
   o resultado (no invólucro). Máscara antes do brilho = o brilho aparece através das bordas desbotadas
   (coluna lilás) ou é cortado em linha reta pela caixa da foto. */
#jota-quest .jq__lit,
#jota-quest .jq__sil {
  position: absolute; inset: 0;
  /* bordas somem no palco; o topo reto do recorte do PDF vira degradê */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 3.5%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 3.5%, #000 87%, transparent 100%);
  mask-composite: intersect;
}
#jota-quest .jq__band-img { position: absolute; inset: 0; width: 100%; height: 100%; }
#jota-quest .jq__lit .jq__band-img {
  filter: drop-shadow(-3px 0 0 rgba(0, 216, 248, .9)) drop-shadow(3px 0 0 rgba(240, 0, 240, .85)) drop-shadow(0 0 24px rgba(120, 0, 240, .55));
}
/* a mesma foto como sombra: preto, com a borda acesa pela contraluz */
#jota-quest .jq__sil { opacity: 0; }
#jota-quest .jq__sil .jq__band-img { filter: brightness(0) drop-shadow(0 -2px 0 rgba(0, 216, 248, .75)) drop-shadow(0 -1px 6px rgba(240, 0, 240, .7)); }
#jota-quest .jq__line {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 0 5px rgba(0, 216, 248, .85)) drop-shadow(0 0 14px rgba(240, 0, 240, .5));
}
#jota-quest .jq__line polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
#jota-quest .jq__line-glow { stroke: url(#g-neon); stroke-width: 18; opacity: .28; }
#jota-quest .jq__line-core { stroke: url(#g-neon); stroke-width: 6.5; }
/* elevador do palco: filete de LED no chão */
#jota-quest .jq__lift {
  position: absolute; left: 0; right: -6%; bottom: 0; height: 18%; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, var(--cyan) 18%, var(--violet) 50%, var(--magenta) 82%, transparent) bottom / 100% 3px no-repeat,
    radial-gradient(50% 100% at 50% 100%, rgba(120, 0, 240, .45), transparent 70%);
  filter: drop-shadow(0 0 8px rgba(240, 0, 240, .7));
}

/* ---------- 6 · confete ---------- */
#jota-quest .jq__confetti { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }

/* ---------- 7 · as pistas ---------- */
#jota-quest .jq__clues {
  position: absolute; z-index: 7; left: 50%; top: 40%; translate: -50% 0;
  width: min(100% - 2 * var(--gutter), var(--maxw) - 2 * var(--gutter));
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 40px);
  list-style: none; pointer-events: none; visibility: hidden; opacity: 0;
}
#jota-quest .jq__clue { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; padding-top: 6px; }
/* o feixe: cone que desce do teto até a pista */
#jota-quest .jq__beam {
  position: absolute; left: 50%; bottom: 55%; width: min(30vw, 150%); height: 100vh; height: 100svh; translate: -50% 0;
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(180deg, rgba(0, 216, 248, 0) 0%, rgba(0, 216, 248, .12) 45%, rgba(170, 240, 255, .42) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 36%, #000 64%, transparent 96%), linear-gradient(0deg, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 4%, #000 36%, #000 64%, transparent 96%), linear-gradient(0deg, transparent 0%, #000 16%);
  mask-composite: intersect;
}
#jota-quest .jq__clue:nth-child(even) .jq__beam { background: linear-gradient(180deg, rgba(240, 0, 240, 0) 0%, rgba(240, 0, 240, .12) 45%, rgba(255, 200, 255, .4) 100%); }
/* o chão iluminado debaixo da pista */
#jota-quest .jq__pool {
  position: absolute; left: 50%; top: 58%; width: min(26vw, 140%); aspect-ratio: 4 / 1; translate: -50% -50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(170, 240, 255, .32), rgba(0, 216, 248, .1) 60%, transparent);
  mix-blend-mode: screen;
}
#jota-quest .jq__clue:nth-child(even) .jq__pool { background: radial-gradient(closest-side, rgba(255, 200, 255, .3), rgba(240, 0, 240, .1) 60%, transparent); }
#jota-quest .jq__clue-k {
  position: relative; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan);
}
#jota-quest .jq__clue:nth-child(even) .jq__clue-k { color: var(--magenta); }
#jota-quest .jq__clue-t {
  position: relative; max-width: 14ch;
  font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, min(2.3vw, 4.2vh), 38px); line-height: 1.14; letter-spacing: .01em; color: #fff;
  text-wrap: balance; padding-inline: .08em;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .9));
}

/* ---------- 8 · 3·2·1 ---------- */
#jota-quest .jq__count {
  position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; pointer-events: none;
  padding-top: var(--hud-h); visibility: hidden; opacity: 0;
}
#jota-quest .jq__count b {
  grid-area: 1 / 1; display: block; opacity: 0;
  font-family: var(--f-mega); font-weight: 400; font-size: min(50vh, 46vw); line-height: 1.04; padding-top: .06em;
  transform: skewX(-8deg); color: transparent; -webkit-text-stroke: 3px var(--cyan);
  filter: drop-shadow(0 0 16px rgba(0, 216, 248, .85)) drop-shadow(0 0 44px rgba(120, 0, 240, .6));
}
#jota-quest .jq__count b:nth-child(2) { -webkit-text-stroke-color: var(--violet); filter: drop-shadow(0 0 16px rgba(120, 0, 240, .95)) drop-shadow(0 0 44px rgba(240, 0, 240, .5)); }
#jota-quest .jq__count b:nth-child(3) { -webkit-text-stroke-color: var(--magenta); filter: drop-shadow(0 0 16px rgba(240, 0, 240, .9)) drop-shadow(0 0 44px rgba(120, 0, 240, .6)); }

/* ---------- 9 · texto ---------- */
/* a grade NÃO é contexto de empilhamento: banda (5), cabeçalho e painel (9) se intercalam com as camadas de fora */
#jota-quest .jq__grid {
  position: relative; height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 80px);
  padding-top: calc(var(--hud-h) + clamp(12px, 3.4vh, 40px));
}

#jota-quest .jq__head {
  grid-column: 1; grid-row: 1; justify-self: start; align-self: start;
  position: relative; z-index: 9; width: max-content;
  display: grid; justify-items: center; text-align: center;
  transform-origin: 50% 50%; will-change: transform;
}
/* chão escuro próprio do letreiro: lê sobre o palco aceso e os lasers */
#jota-quest .jq__head::before {
  content: ''; position: absolute; inset: -26% -14% -16%; z-index: -2; pointer-events: none;
  background: radial-gradient(closest-side, rgba(2, 0, 10, .7), rgba(2, 0, 10, .42) 55%, transparent);
}
#jota-quest .jq__kicker { filter: drop-shadow(0 0 3px rgba(0, 0, 0, .95)) drop-shadow(0 0 10px rgba(0, 0, 0, .8)); }
#jota-quest .jq__kicker::after { content: ''; width: 44px; height: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; flex: none; }
#jota-quest .jq__show {
  margin-top: clamp(4px, .8vh, 10px);
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(20px, min(2vw, 3.6vh), 34px); line-height: 1.16; letter-spacing: .04em; padding: .08em .12em 0;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(-1px 0 0 rgba(0, 216, 248, .8)) drop-shadow(1px 0 0 rgba(240, 0, 240, .75)) drop-shadow(0 3px 10px rgba(0, 0, 0, .9));
}
#jota-quest .jq__title {
  margin-top: clamp(2px, .6vh, 8px);
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: var(--jq-name); line-height: 1.12; letter-spacing: 0; white-space: nowrap;
}
#jota-quest .jq__lockup { position: relative; display: inline-flex; align-items: center; gap: .14em; }
#jota-quest .jq__globe { position: relative; flex: none; width: .9em; aspect-ratio: 418 / 268; }
#jota-quest .jq__globe-img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)) drop-shadow(0 0 12px rgba(0, 216, 248, .7)) drop-shadow(0 0 26px rgba(240, 0, 240, .5));
}
#jota-quest .jq__orbit { position: absolute; left: -24%; top: -22%; width: 148%; height: 144%; z-index: 2; overflow: visible; pointer-events: none; }
#jota-quest .jq__orbit-ring { fill: none; stroke: url(#g-neon); stroke-width: 1.4; opacity: .7; vector-effect: non-scaling-stroke; }
#jota-quest .jq__orbit-sat circle { fill: #fff; filter: drop-shadow(0 0 3px #00d8f8) drop-shadow(0 0 7px #f000f0); }
/* o nome: cromado, com separação cromática (--ca) que a revelação abre e fecha */
#jota-quest .jq__name {
  --ca: 2px;
  display: inline-block;
  filter: drop-shadow(calc(var(--ca) * -1) 0 0 rgba(0, 216, 248, .85)) drop-shadow(var(--ca) 0 0 rgba(240, 0, 240, .8)) drop-shadow(0 0 20px rgba(120, 0, 240, .7));
}
/* Barlow itálico: a perna inclinada passa da caixa — folga de .12em para o cromado alcançar */
#jota-quest .jq__w {
  display: inline-block; padding: 0 .12em 0 .04em; margin: 0 -.12em 0 -.04em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
#jota-quest .jq__led {
  display: block; height: 3px; margin-top: clamp(2px, .6vh, 8px); width: 100%;
  background: var(--neon); box-shadow: 0 0 10px rgba(240, 0, 240, .9), 0 0 26px rgba(120, 0, 240, .7);
  transform-origin: 50% 50%;
}
/* leque de luz atrás do nome */
#jota-quest .jq__rays {
  position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; pointer-events: none;
  opacity: .18;
  background: repeating-conic-gradient(from 0deg,
    rgba(0, 216, 248, 0) 0deg 4.5deg, rgba(0, 216, 248, .5) 5.5deg, rgba(0, 216, 248, 0) 7deg 11deg,
    rgba(240, 0, 240, .45) 12deg, rgba(240, 0, 240, 0) 13.5deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 12%, #000 28%, rgba(0, 0, 0, .45) 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 12%, #000 28%, rgba(0, 0, 0, .45) 60%, transparent 100%);
}

/* painel: trajetória em cima, credenciais embaixo, ancorado no pé da coluna da direita */
#jota-quest .jq__panel {
  grid-column: 2; grid-row: 1 / span 2; align-self: end;
  position: relative; z-index: 9; display: grid; gap: clamp(10px, 1.6vh, 16px);
  margin-block: clamp(16px, 4vh, 48px) clamp(18px, 4.4vh, 48px);
}
#jota-quest .jq__about {
  position: relative; padding: clamp(16px, 2.2vh, 28px) clamp(20px, 2.2vw, 34px);
  background: rgba(6, 2, 18, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
#jota-quest .jq__about::before {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  background: var(--neon-v); box-shadow: 0 0 12px rgba(240, 0, 240, .8);
}
#jota-quest .jq__about .body { max-width: 52ch; color: #ddd7f0; font-size: clamp(15px, .45vw + 10px, 18px); line-height: 1.5; }
#jota-quest .jq__about .body + .body { margin-top: .7em; }
#jota-quest .jq__nw { white-space: nowrap; }

#jota-quest .jq__facts { display: grid; gap: clamp(8px, 1.2vh, 12px); }
#jota-quest .jq__plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.2vh, 12px); list-style: none; }
#jota-quest .jq__plate {
  --bevel: 14px;
  display: grid; justify-items: center; align-content: center; text-align: center; gap: 2px;
  padding: clamp(10px, 1.5vh, 16px) 14px;
}
#jota-quest .jq__pk { font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #cfc9e6; }
#jota-quest .jq__pn {
  display: inline-block; transform: skewX(-8deg); padding-top: .06em;
  font-family: var(--f-mega); font-size: clamp(34px, min(3.2vw, 5.6vh), 58px); line-height: 1.04;
  color: var(--cyan); filter: drop-shadow(0 0 10px rgba(0, 216, 248, .6));
}
#jota-quest .plate--m .jq__pn { color: var(--magenta); filter: drop-shadow(0 0 10px rgba(240, 0, 240, .65)); }
#jota-quest .jq__pl {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(14px, .7vw + 6px, 19px); line-height: 1.15; color: #efeaff;
}
#jota-quest .jq__plate--hits .jq__pl { max-width: 14ch; }
/* equalizador do "hits" */
#jota-quest .jq__eq { display: inline-flex; align-items: flex-end; gap: 4px; height: clamp(26px, min(2.6vw, 4.6vh), 46px); margin-bottom: 4px; }
#jota-quest .jq__eq i { width: 6px; height: 100%; transform-origin: 50% 100%; background: linear-gradient(0deg, var(--cyan), var(--violet) 70%, var(--magenta)); box-shadow: 0 0 8px rgba(0, 216, 248, .55); }
#jota-quest .jq__eq i:nth-child(1) { transform: scaleY(.45); }
#jota-quest .jq__eq i:nth-child(2) { transform: scaleY(.8); }
#jota-quest .jq__eq i:nth-child(3) { transform: scaleY(.6); }
#jota-quest .jq__eq i:nth-child(4) { transform: scaleY(1); }
#jota-quest .jq__eq i:nth-child(5) { transform: scaleY(.7); }
#jota-quest .jq__eq i:nth-child(6) { transform: scaleY(.9); }
#jota-quest .jq__eq i:nth-child(7) { transform: scaleY(.5); }

#jota-quest .jq__close {
  --bevel: 16px;
  text-align: center; font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(16px, .8vw + 8px, 22px); line-height: 1.24; letter-spacing: .01em; color: #fff;
  padding: clamp(12px, 1.8vh, 20px) clamp(18px, 2vw, 30px);
  text-wrap: balance;
}
#jota-quest .jq__close::before {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 45%),
    linear-gradient(160deg, #6a0a72 0%, #3a0350 55%, #5a0678 100%);
}

/* ---------- 10 · clarão ---------- */
#jota-quest .jq__flash {
  position: absolute; inset: 0; z-index: 10; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(70% 62% at 50% 40%, #fff, rgba(255, 230, 255, .9) 30%, rgba(240, 0, 240, .55) 58%, rgba(120, 0, 240, .3) 78%, rgba(0, 0, 0, 0));
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) and (min-width: 821px) {
  #jota-quest .jq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #jota-quest { --jq-name: clamp(52px, min(7.4vw, 11vh), 120px); }
}

/* ---------- Celular ---------- */
@media (max-width: 820px) {
  #jota-quest { --jq-name: min(14.6vw, 60px); }
  #jota-quest .jq__grid {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); column-gap: 0;
    padding-top: calc(var(--hud-h) + 10px);
  }
  #jota-quest .jq__head { justify-self: center; }
  #jota-quest .jq__kicker { font-size: 11px; letter-spacing: .14em; gap: .6em; }
  #jota-quest .jq__kicker::before, #jota-quest .jq__kicker { filter: drop-shadow(0 0 3px rgba(0, 0, 0, .95)) drop-shadow(0 0 10px rgba(0, 0, 0, .8)); }
#jota-quest .jq__kicker::after { width: 22px; }
  #jota-quest .jq__show { font-size: 19px; margin-top: 2px; }
  /* no celular o globo vai em cima do nome (a linha inteira não cabe em 390 px) */
  #jota-quest .jq__lockup { flex-direction: column; gap: .06em; }
  #jota-quest .jq__globe { width: .96em; }
  #jota-quest .jq__panel { grid-column: 1; grid-row: 2; align-self: start; margin: 10px 0 0; }
  #jota-quest .jq__about { padding: 12px 14px 12px 16px; }
  #jota-quest .jq__about .body { font-size: 15px; line-height: 1.48; }
  #jota-quest .jq__plates { gap: 8px; }
  #jota-quest .jq__plate { --bevel: 10px; padding: 9px 8px; }
  #jota-quest .jq__pn { font-size: 34px; }
  #jota-quest .jq__pl { font-size: 14px; }
  #jota-quest .jq__eq { height: 26px; }
  #jota-quest .jq__close { font-size: 16px; padding: 11px 14px; --bevel: 12px; }
  #jota-quest .jq__band { grid-column: 1; grid-row: 3; margin: 8px calc(var(--gutter) * -1) 0; }
  #jota-quest .jq__band-rise { left: 50%; margin-left: calc(min(100cqw, 100cqh * var(--jq-bandw)) / -2); }
  #jota-quest .jq__veil {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .5) 34%, rgba(0, 0, 0, .22) 62%, transparent 82%),
      linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, transparent 30%);
  }
  #jota-quest .jq__clues { top: 33%; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; column-gap: 14px; }
  #jota-quest .jq__clue { gap: 6px; }
  #jota-quest .jq__clue-k { font-size: 10px; letter-spacing: .18em; }
  #jota-quest .jq__clue-t { font-size: 20px; }
  #jota-quest .jq__beam { width: 62vw; }
  #jota-quest .jq__pool { width: 58vw; }
  #jota-quest .jq__service { width: 120vw; }
}
/* celular com movimento: trajetória e credenciais trocam na mesma célula */
@media (max-width: 820px) {
  html:not(.reduced) #jota-quest .jq__panel > * { grid-area: 1 / 1; align-self: start; }
}

/* ---------- Movimento reduzido: sem pino, tudo em fluxo, revelado e completo ---------- */
.reduced #jota-quest .jq { height: auto; min-height: 100vh; min-height: 100svh; }
.reduced #jota-quest .jq__shake { height: auto; }
.reduced #jota-quest .jq__grid { height: auto; padding-bottom: 0; }
.reduced #jota-quest .jq__band { height: min(52vh, 440px); align-self: end; }
.reduced #jota-quest .jq__clues,
.reduced #jota-quest .jq__count,
.reduced #jota-quest .jq__q,
.reduced #jota-quest .jq__confetti { display: none; }
@media (max-width: 820px) {
  .reduced #jota-quest .jq__band { height: 230px; }
}
