/* GALERIA v2 (tools/gal_build2.py): grade 2 colunas de cenas com a GUI de poses do jogo, faixa inclinada e fechamento */
.gal2 { position: relative; isolation: isolate; padding: 150px 0 30px; }
.gal2::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 620px; opacity: .55; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 20, .35), var(--bg) 92%), url(../media/hero/bg_palco.webp) 50% 0 / cover; }
.gal2-h { text-align: center; max-width: 820px; margin: 0 auto; }
.gal2-h h1 { font-size: clamp(30px, 3.4vw, 52px); margin: .2em 0 .35em; }
.gal2-h p { color: #cfd4ff; margin: 0 auto; }
.gal2-g { display: grid; grid-template-columns: 1fr 1fr; gap: 74px 34px; max-width: 1110px; margin: 46px auto 0; }
/* ---- card: cena 16:9 + texto + aba pendurada ---- */
.gc { --c: var(--pink); position: relative; }
.gc-f { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; background: #0b0d22;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.gc-f > img, .gc-f > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease), opacity .35s; }
.gc-f > video, .fx-m > video { opacity: 0; }
.tocando .gc-f > video, .fx-i.tocando .fx-m > video { opacity: 1; }
.gc:hover .gc-f > img, .gc:hover .gc-f > video { transform: scale(1.05); }
.gc-f::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 9, 20, .55), transparent 30%); }
.gc-t { position: relative; padding: 17px 28px 19px; text-align: center; border-top: 2px solid var(--c);
  background: linear-gradient(180deg, #221a46, #171236); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.gc-t p { margin: 0; font-size: 16.5px; line-height: 1.38; color: #e0e4ff; }
.gc-b { position: absolute; right: 7%; top: 100%; padding: 6px 20px 8px; font: 600 14.5px "Rajdhani"; letter-spacing: .02em; color: #fff;
  background: linear-gradient(100deg, var(--pink), var(--purple)); box-shadow: 0 6px 22px rgba(255, 46, 138, .35);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 9px 100%); transition: filter .2s, padding .2s var(--ease); }
.gc-b:hover, .gc:hover .gc-b { filter: brightness(1.18); padding-bottom: 11px; }
.gc:hover .gc-f { box-shadow: 0 0 0 1.5px var(--c); }
/* ---- GUI de poses do jogo (mesma linguagem do REMOTE CONTROL: hexagonos, rosa/roxo, Orbitron) ---- */
.gp { position: absolute; z-index: 2; left: 3.6cqw; top: 6cqw; width: 15.5cqw; display: flex; flex-direction: column; gap: 1.3cqw; font: 700 1.25cqw/1 "Orbitron"; letter-spacing: .08em; color: #c9cff5; pointer-events: none; }
.gp-t { display: flex; justify-content: space-between; align-items: center; }
.gp-t span { color: #ffd166; text-shadow: 0 0 6px rgba(255, 209, 102, .6); }
.gp-t em { font-style: normal; padding: .55cqw .7cqw; border-radius: .6cqw; background: linear-gradient(120deg, var(--pink), var(--purple)); color: #fff; font-size: 1.05cqw; }
.gp-h { display: grid; grid-template-columns: repeat(2, 6.2cqw); grid-auto-rows: 6.2cqw; gap: .9cqw 1.4cqw; justify-content: center; }
.gp-h i { width: 100%; height: 100%; display: grid; place-items: center; background: rgba(30, 36, 90, .88); clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); transition: background .3s, filter .3s; }
.gp-h i img { width: 58%; height: 58%; opacity: .85; }
.gp-h i.on { background: linear-gradient(135deg, var(--c), var(--purple)); filter: drop-shadow(0 0 1cqw var(--c)); }
.gc:hover .gp-h i { animation: gp-acende 2.4s infinite; }
.gc:hover .gp-h i:nth-child(2n) { animation-delay: .3s; } .gc:hover .gp-h i:nth-child(3n) { animation-delay: .6s; }
@keyframes gp-acende { 50% { filter: brightness(1.7); } }
.gp-r { display: flex; justify-content: space-between; gap: .5cqw; padding: .7cqw .6cqw; font-size: 1.02cqw; letter-spacing: .02em; background: rgba(12, 14, 40, .7); border: 1px solid rgba(120, 135, 220, .25); }
.gp-r b { font-weight: 700; opacity: .65; }
.gp-r b.on { opacity: 1; color: #fff; text-shadow: 0 0 .8cqw var(--c), 0 0 1.6cqw var(--c); }
.gp-z { display: flex; align-items: center; gap: .8cqw; }
.gp-z s { flex: 1; height: .5cqw; background: rgba(255, 255, 255, .15); text-decoration: none; }
.gp-z u { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--c)); box-shadow: 0 0 .8cqw var(--c); transition: width .8s var(--ease); }
.gc:hover .gp-z u { width: 92% !important; }
/* ---- faixa inclinada com 5 cenas ---- */
.faixa { position: relative; isolation: isolate; margin-top: 86px; padding: 54px 0; overflow: hidden; }
.faixa::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5; filter: blur(2px);
  background: linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)), url(../media/hero/bg_palco.webp) 50% 60% / cover; }
.fx-l { display: flex; justify-content: center; max-width: 1040px; margin: 0 auto; padding: 0 30px; }
.fx-i { --c: var(--pink); position: relative; flex: 1; aspect-ratio: 5 / 6; margin: 0 -1px; overflow: hidden; transform: skewX(-9deg); border: 1.5px solid rgba(7, 9, 20, .95); transition: transform .35s var(--ease), box-shadow .35s, z-index 0s; }
.fx-m { position: absolute; inset: 0 -22%; transform: skewX(9deg); }
.fx-m > img, .fx-m > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 5s var(--ease); }
.fx-i b { position: absolute; left: -10%; right: -10%; bottom: 0; padding: 30px 0 12px; text-align: center; transform: skewX(9deg);
  font: 800 clamp(11px, 1.05vw, 15px) "Orbitron"; letter-spacing: .1em; color: #fff; text-shadow: 0 2px 8px #000;
  background: linear-gradient(0deg, rgba(7, 9, 20, .95) 25%, transparent); transition: color .3s, text-shadow .3s; }
.fx-i:hover { z-index: 2; transform: skewX(-9deg) translateY(-8px) scale(1.06); box-shadow: 0 0 0 2px var(--c), 0 0 34px var(--c); }
.fx-i:hover .fx-m > img, .fx-i:hover .fx-m > video { transform: scale(1.08); }
.fx-i:hover b { color: #fff; text-shadow: 0 0 10px var(--c), 0 0 22px var(--c); }
/* ---- fechamento ---- */
.gal2-fim { padding: 64px 0 96px; text-align: center; }
.gal2-fim h2 { margin: 0 0 .4em; }
.gal2-fim p { max-width: 640px; margin: 0 auto; color: #cfd4ff; }
.gal2-fim .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
/* ---- celular / tablet estreito ---- */
@media (max-width: 900px) {
  .gal2 { padding-top: 110px; }
  .gal2-g { grid-template-columns: 1fr; gap: 66px; margin-top: 32px; }
  .gc-t { padding: 14px 18px 16px; }
  .gc-t p { font-size: 15px; }
  .gp { width: 19cqw; font-size: 1.6cqw; gap: 1.4cqw; }
  .gp-h { grid-template-columns: repeat(2, 7.4cqw); grid-auto-rows: 7.4cqw; }
  .gp-r { font-size: 1.3cqw; }
  .gp-t em { font-size: 1.35cqw; }
  .faixa { margin-top: 70px; padding: 36px 0; }
  .fx-l { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 7vw; scrollbar-width: none; }
  .fx-l::-webkit-scrollbar { display: none; }
  .fx-i { flex: 0 0 38vw; scroll-snap-align: center; }
  .fx-i b { font-size: 11px; }
  .gal2-fim { padding: 50px 0 70px; }
}
/* ---- painel do jogo igual ao da home (.cmd-gui), em miniatura, com a pose da cena acesa (tools/gal_gui.py) ---- */
.gq { position: absolute; z-index: 2; right: 2.6cqw; top: 3.2cqw; display: grid; grid-template-columns: auto 8.4cqw; gap: 1.6cqw 1.8cqw; align-items: start; pointer-events: none; font: 700 1.25cqw/1 "Orbitron"; letter-spacing: .12em; color: #9aa3cf; }
.gq-cn { grid-column: 2; justify-self: center; padding: 1cqw 1.2cqw; border-radius: .9cqw; color: #fff; font-size: 1.3cqw; background: linear-gradient(120deg, var(--pink), var(--purple)); box-shadow: 0 0 1.6cqw rgba(255, 46, 138, .5); animation: pulsa 1.4s infinite; }
.gq-col { grid-column: 2; grid-row: 2 / span 2; display: flex; flex-direction: column; gap: 1cqw; align-items: center; padding: 1.4cqw 0; border-radius: 2cqw; background: rgba(12, 14, 40, .72); border: 1px solid rgba(120, 135, 220, .28); }
.gq-col i { width: 6.4cqw; height: 6.4cqw; display: grid; place-items: center; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); background: rgba(30, 36, 90, .95); transition: background .3s; }
.gq-col i img { width: 3.7cqw; height: 3.7cqw; opacity: .85; }
.gq-col i.on { background: linear-gradient(135deg, var(--pink), var(--purple)); box-shadow: 0 0 2.4cqw var(--pink); }
.gq-col i.on img { filter: brightness(10); opacity: 1; }
.gq-sl { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: center; gap: .7cqw; font-size: 1.05cqw; }
.gq-sl s { position: relative; width: .7cqw; height: 12cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .14); text-decoration: none; }
.gq-sl s u { position: absolute; left: 0; right: 0; bottom: 0; height: var(--r, 50%); border-radius: 1cqw; background: linear-gradient(0deg, var(--cyan), var(--pink)); box-shadow: 0 0 1.2cqw var(--pink); }
.gq-sl s.z u { height: 40%; }
.gq-sl em { font-style: normal; font-size: 2cqw; color: #fff; line-height: .8; }
.gq-cam { grid-column: 1; grid-row: 3; display: flex; flex-direction: column; gap: .9cqw; }
.gq-cam span { padding: .9cqw 1.1cqw; border-radius: .9cqw; border: 1px solid rgba(120, 135, 220, .35); text-align: center; font-size: 1.05cqw; color: #cfd4ff; background: rgba(12, 14, 40, .6); }
.gq-cam .on { color: #fff; border-color: var(--pink); box-shadow: 0 0 1.2cqw var(--pink); }
.gc:hover .gq-sl s u { animation: ritmo 1.6s ease-in-out infinite; }
.gc:hover .gq-col i.on { animation: gp-acende 1.2s infinite; }
@media (max-width: 900px) { .gq { font-size: 1.6cqw; } .gq-col i { width: 7.4cqw; height: 7.4cqw; } .gq-col i img { width: 4.3cqw; height: 4.3cqw; } }
