.titlebar.qr-titlebar {
  --qr-fs: clamp(3.5rem, 7.4vw, 6.9rem);
  display: grid;
  grid-template: "title prizes" auto "info prizes" auto / minmax(0, 1fr) minmax(0, 1fr);
  align-content: center;
  column-gap: clamp(16px, 3.2vw, 48px);
  row-gap: clamp(16px, 2.5vw, 34px);
  padding-top: clamp(16px, 3vw, 42px);
}

.qr-titlebar h1 {
  grid-area: title;
  align-self: end;
  font-size: var(--qr-fs);
  letter-spacing: -.055em;
}

.qr-titlebar .side {
  grid-area: info;
  position: static;
  align-self: start;
  width: auto;
  margin: 0;
  gap: 18px;
}

.qr-titlebar h1 .ln { white-space: nowrap; }

/* palco 3D: um canvas fixo, atrás do conteúdo e à frente dos fundos */
.qr-stage {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: qr-stage-in .5s ease both;
}
.qr-stage[hidden] { display: none; }
@keyframes qr-stage-in { from { opacity: 0; } }
.hero > .wrap, main > .sec > .wrap, .foot > .wrap { position: relative; z-index: 2; }

.qr-hero-art {
  grid-area: prizes;
  position: relative;
  align-self: center;
  min-width: 0;
}

.qr-hero-models {
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: clamp(320px, 35vw, 480px);
}

.qr-object {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.qr-hero-models .qr-object--jacket { width: min(88%, 470px); justify-self: center; }
/* o troféu fecha a palavra RUN, na linha do título */
.qr-title-trophy {
  grid-area: title;
  align-self: end;
  justify-self: start;
  width: calc(1.5 * var(--qr-fs));
  margin-left: calc(2.55 * var(--qr-fs));
  margin-bottom: calc(-.34 * var(--qr-fs));
}

.qr-object-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 3%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgb(0 0 0 / .2));
  transition: opacity .35s ease;
  -webkit-user-drag: none;
}

.qr-live-trophy .qr-object--trophy,
.qr-live-jacket .qr-object--jacket { cursor: grab; }
.qr-live-trophy .qr-object--trophy.is-grabbing,
.qr-live-jacket .qr-object--jacket.is-grabbing { cursor: grabbing; }
.qr-live-trophy .qr-object--trophy .qr-object-poster,
.qr-live-jacket .qr-object--jacket .qr-object-poster { opacity: 0; pointer-events: none; }
.qr-float { position: absolute; top: clamp(-56px, -3vw, -20px); right: var(--gutter); width: clamp(104px, 17vw, 210px); }
.mq { position: relative; }
.qr-band { display: none; position: absolute; top: 50%; right: 5%; width: min(40vw, 168px); translate: 0 -50%; }
.qr-object:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 12px; }

.qr-prize-main, .qr-ceremony {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(126px, 46%);
  align-items: center;
  column-gap: 10px;
}

.gcard.gp.qr-prize-main .gold-tag,
.gcard.gp.qr-prize-main h3 { margin-right: 0; }

@media (max-width: 760px) {
  .titlebar.qr-titlebar {
    grid-template: "title" auto "prizes" auto "info" auto / minmax(0, 1fr);
    gap: 14px;
    padding-top: 14px;
  }

  .titlebar.qr-titlebar { --qr-fs: clamp(3.2rem, 16.5vw, 6.2rem); }
  .qr-titlebar .side { gap: 12px; }
  .qr-titlebar .sub { gap: 5px; }
  .qr-titlebar .btn { padding-inline: 16px; font-size: .7rem; letter-spacing: .06em; }
  .qr-hero-models { min-height: clamp(214px, 62vw, 330px); }
  .qr-hero-art { display: none; }
  .qr-band { display: grid; }
  .mq { overflow: visible; }
  .mq > .mq-row { clip-path: inset(0 -100vw); }
}

@media (max-width: 360px) {
  .qr-titlebar .btn { padding-inline: 12px; font-size: .64rem; }
  .qr-prize-main, .qr-ceremony { grid-template-columns: minmax(0, 1fr) minmax(106px, 42%); }
}

@media (prefers-reduced-motion: reduce) {
  .qr-stage { animation: none; }
  .qr-object-poster { transition: none; }
}

/* atalhos fixos: aparecem depois do hero para a página longa não virar só rolagem */
.qr-dock {
  position: fixed;
  top: 2px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  gap: clamp(2px, 1.6vw, 22px);
  padding-inline: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), visibility 0s .32s;
}
.qr-dock::-webkit-scrollbar { display: none; }
.qr-dock.on { transform: none; visibility: visible; transition-delay: 0s; }
.qr-dock a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 9px;
  color: var(--fg);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}
.qr-dock a:hover { color: var(--pink-ink); }
.qr-dock a[aria-current] { color: var(--pink-ink); box-shadow: inset 0 -2px 0 currentColor; }
.qr-dock .qr-dock-top { font-size: .9rem; padding-inline: 12px; }
.sec { scroll-margin-top: 30px; }
@media (max-width: 420px) {
  .qr-dock { justify-content: flex-start; gap: 0; padding-inline: 6px; }
  .qr-dock a { padding-inline: 7px; font-size: .58rem; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) { .qr-dock { transition: none; } }
