/* Cena de abertura "ALL★STAR" (allstar.js). Altura da seção = duração da cena na rolagem. */
.allstar { position: relative; height: 640vh; --combo: 0; }
.as-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0907; isolation: isolate; }
.as-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 66% 55%; z-index: 0; }
@media (max-width: 759px) { .as-foto { object-position: 50% 40%; transform-origin: 50% 40%; } }
.as-escuro { position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 55% at 50% 50%, rgba(11,9,7,.35), #0b0907 78%); }
/* luz quente de mesa no combo */
.as-palco::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--combo);
  background: radial-gradient(48% 40% at 62% 52%, rgba(254,197,54,.18), transparent 70%), linear-gradient(transparent 68%, rgba(42,26,16,.85)); }
.as-palavra { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; pointer-events: none; opacity: 0; }
.as-palavra span { font: 400 clamp(64px, 15vw, 230px)/.84 var(--titulo); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(254,197,54,.22); white-space: nowrap; }
.as-pilha { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 4; transform-origin: 0 0; will-change: transform; opacity: 0; }
.as-pilha img { position: absolute; max-width: none; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.as-etiquetas { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 5; pointer-events: none; counter-reset: camada; }
.as-etiquetas li { position: absolute; opacity: 0; display: grid; gap: 2px; padding-left: 64px; max-width: 260px; counter-increment: camada; }
.as-etiquetas li::before { content: '0' counter(camada); position: absolute; left: 0; top: 50%; transform: translateY(-50%); font: 400 14px/1 var(--titulo); color: var(--amarelo); width: 22px; }
.as-etiquetas li::after { content: ''; position: absolute; left: 24px; top: 50%; width: 32px; height: 1px; background: var(--amarelo); }
.as-etiquetas li.esq { padding: 0 64px 0 0; text-align: right; }
.as-etiquetas li.esq::before { left: auto; right: 0; text-align: right; }
.as-etiquetas li.esq::after { left: auto; right: 26px; }
.as-etiquetas b { font: 400 clamp(18px, 1.9vw, 26px)/1.05 var(--titulo); text-transform: uppercase; letter-spacing: .01em; color: var(--tinta); }
.as-etiquetas small { font: 500 13px/1.3 var(--texto); color: var(--tinta-2); }
.as-combo { position: absolute; z-index: 3; opacity: 0; }
.as-combo img { position: absolute; height: auto; max-width: none; opacity: 0; will-change: transform; filter: drop-shadow(0 26px 22px rgba(0,0,0,.6)) drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.as-combo [data-peca="lata"] { z-index: 1; } .as-combo [data-peca="caixa"] { z-index: 2; } .as-combo [data-peca="batata"] { z-index: 4; }
.as-intro, .as-meio, .as-final { position: absolute; z-index: 6; left: var(--lado); right: var(--lado); }
.as-intro { bottom: clamp(48px, 9vh, 96px); max-width: 760px; }
.as-intro h1 { font: 400 clamp(64px, 11vw, 150px)/.86 var(--marcador); color: var(--amarelo); text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.as-intro .sub { font: 400 clamp(22px, 2.6vw, 34px)/1.05 var(--titulo); text-transform: uppercase; margin: 14px 0 0; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.as-intro .dica { margin-top: 22px; font: 600 12px/1 var(--texto); letter-spacing: .24em; text-transform: uppercase; color: var(--tinta-2); }
.as-meio { top: calc(var(--topo) + 18px); opacity: 0; max-width: 420px; }
.as-meio h2 { font-size: clamp(30px, 3.6vw, 48px); text-transform: uppercase; }
.as-final { top: 50%; transform: translateY(-50%); max-width: 400px; opacity: 0; }
.as-final h2 { font: 400 clamp(40px, 5vw, 72px)/.92 var(--marcador); color: var(--amarelo); margin-bottom: 14px; }
.as-final p { color: var(--tinta-2); }
.as-final .preco-final { font: 400 28px/1 var(--titulo); color: var(--tinta); margin: 4px 0 20px; }
.as-final .preco-final small { display: block; font: 600 11px/1 var(--texto); letter-spacing: .2em; text-transform: uppercase; color: var(--tinta-2); margin-bottom: 6px; }
.as-final .acoes { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 759px) {
  .allstar { height: 600vh; }
  .as-meio { top: calc(var(--topo) + 8px); max-width: none; }
  .as-meio h2 { font-size: 30px; }
  .as-etiquetas li { padding-left: 46px; max-width: 150px; }
  .as-etiquetas li::after { width: 16px; }
  .as-etiquetas b { font-size: 15px; }
  .as-etiquetas small { display: none; }
  .as-final { top: calc(var(--topo) + 10px); transform: none; max-width: none; }
  .as-final h2 { font-size: 40px; }
  .as-final p:not(.preco-final) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .allstar { height: auto; } .as-palco { position: relative; } }
