section.hero.show {
  position: relative;
  z-index: 4;
  display: block;
  min-height: 0;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: #090c0d;
  scroll-margin-top: 0;
  place-items: unset;
}

.show-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.show-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: block;
  width: 100%;
  height: 118px;
  pointer-events: none;
}

.show.is-intro .show-frame {
  animation: showOpen 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes showOpen {
  0% {
    opacity: 0;
    transform: translateY(72px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* Sombra no topo para o header transparente ler sempre bem */
.show-frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 220px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.74) 0%, rgba(6, 12, 24, 0.38) 50%, transparent 100%);
}

/* Vídeo de abertura */
.show-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: #06101f;
}

.show-video iframe,
.show-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.show-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.04);
  transition: opacity 0.9s ease;
}

.show.video-live .show-video-poster { opacity: 0; }

.show-slide--video.is-entering .show-visual {
  animation: showVideoIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes showVideoIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.show-slide--video .show-veil,
.show--video-only .show-veil {
  background: rgba(0, 0, 0, 0.5);
}

.show-dot--video {
  display: grid;
  place-items: center;
  color: #034bff;
  font-size: 0.5rem;
}

.show-dot--video i { opacity: 0; transition: opacity 0.3s ease; }
.show-dot--video.is-active i { opacity: 1; }

.show-tools {
  position: absolute;
  top: calc(var(--header-main) + 16px);
  right: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.show-pause,
.show-audio {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(8, 14, 28, 0.32);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.show-pause:hover,
.show-audio:hover {
  background: #034bff;
  border-color: #034bff;
}

.show-stage {
  position: relative;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1983 / 860;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  isolation: isolate;
  perspective: 1400px;
}

.show-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.show-slide.is-current,
.show-slide.is-leaving {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.show-slide.is-current { z-index: 3; }
.show-slide.is-leaving { z-index: 2; }

.show-visual {
  position: absolute;
  inset: -2%;
  overflow: hidden;
}

.show-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

/* Novas fotos (retratos): desce o enquadramento para as cabeças ficarem visíveis */
.show-slide--heads .show-visual img {
  object-position: center 14%;
  transform-origin: center 14%;
}

.show-slide.is-current:not(.is-entering) .show-visual img {
  animation: showKen 6.4s ease-out forwards;
}

.show-slide.is-entering .show-visual img {
  opacity: 0;
  animation: none;
}

@keyframes showKen {
  from { transform: scale(1.12) translate3d(-1.2%, 0, 0); }
  to { transform: scale(1.04) translate3d(0, 0, 0); }
}

.show-shutter {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.show-slide.is-entering .show-shutter {
  opacity: 1;
}

.show-slice {
  flex: 1;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 800% 100%;
  transform: translateY(110%);
  opacity: 0;
}

.show-slide.is-entering .show-slice {
  animation: showSliceIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.show-slide.is-entering .show-slice:nth-child(even) {
  animation-name: showSliceInAlt;
}

@keyframes showSliceIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@keyframes showSliceInAlt {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.show-slide.is-leaving .show-visual {
  animation: showLeave 0.72s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes showLeave {
  to {
    transform: scale(1.08) rotate(-1.2deg);
    filter: blur(8px) saturate(0.7);
    opacity: 0;
  }
}

.show-veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.52) 52%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.58) 100%);
}

.show-copy {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 112px 160px 112px;
  text-align: center;
  pointer-events: none;
}

.show-copy__card {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 160px);
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.show-copy__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  color: #fff;
  font-size: 0.94rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.06),
    0 10px 30px rgba(0, 0, 0, 0.28);
}

.show-copy__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  color: #d7e8f8;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.show-copy__kicker::before,
.show-copy__kicker::after {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8c9ff, transparent);
}

.show-copy__title {
  margin: 0 0 0.42rem;
  color: #fff;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.4vw, 1.32rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 10px 28px rgba(0, 0, 0, 0.5);
}

.show-copy__title em {
  font-style: normal;
  background: linear-gradient(100deg, #fff 0%, #fff 36%, #b8c9ff 50%, #fff 64%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: showShine 6.5s linear infinite;
}

@keyframes showShine { to { background-position: -220% 0; } }

.show-copy__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.72rem, 0.85vw, 0.84rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.show-slide.is-current:not(.is-leaving) .show-copy__card > * {
  animation: showCopyIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}

.show-slide.is-leaving .show-copy {
  animation: showCopyOut 0.55s ease forwards;
}

@keyframes showCopyIn {
  from { opacity: 0; transform: translateY(28px) scale(0.98); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes showCopyOut {
  to { opacity: 0; transform: translateY(-16px); filter: blur(6px); }
}

.show-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 18%;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(61, 111, 255, 0.28), rgba(255, 255, 255, 0.2), transparent);
  mix-blend-mode: screen;
}

.show.is-swapping .show-scan {
  animation: showScan 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes showScan {
  0% { opacity: 0; transform: translateX(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateX(680%); }
}

.show--video-only .show-controls {
  display: none;
}

.show-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 108px;
  z-index: 8;
  padding: 56px 4.2% 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 28, 0.42) 42%, rgba(8, 14, 28, 0.62) 100%);
}

.show-rails {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.show-rail {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.show-rail i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7ea4ff, #fff 55%, #3d6fff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.show-rail.is-done i { width: 100%; }

.show-rail.is-active i {
  animation: showFill var(--show-ms, 6400ms) linear forwards;
}

@keyframes showFill {
  from { width: 0; }
  to { width: 100%; }
}

.show-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.show-count {
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.show-count b {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.show-count span {
  opacity: 0.7;
  margin-left: 4px;
}

.show-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.show-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.show-dot.is-active {
  width: 36px;
  background: #fff;
}

.show-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(8, 14, 28, 0.28);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease;
}

.show-arrow:hover {
  transform: scale(1.08);
  background: #034bff;
  border-color: #034bff;
}

@media (max-width: 720px) {
  .show-arrow {
    width: 42px;
    height: 42px;
  }

  .show-rails { gap: 5px; }
  .show-count { display: none; }
  .show-tools { top: calc(var(--header-main) + 10px); right: 10px; }
  .show-controls { padding: 40px 4.2% 14px; }
  .show-copy { padding: 108px 16px 150px 48px; }
  .show-copy__card {
    max-width: calc(100vw - 64px);
    padding: 0;
  }
  .show-copy__title { font-size: clamp(0.78rem, 3.6vw, 1.02rem); }
  .show-copy__text { font-size: clamp(0.62rem, 2.8vw, 0.74rem); }

  /* Em ecrãs estreitos a imagem é recortada para dar altura ao palco */
  .show-stage {
    aspect-ratio: auto;
    height: min(78vh, 620px);
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .show-slide.is-current .show-visual img,
  .show-slide.is-entering .show-slice,
  .show-slide.is-leaving .show-visual,
  .show.is-swapping .show-scan,
  .show-slide.is-current .show-copy__card > *,
  .show-copy__title em {
    animation: none !important;
  }

  .show-visual img { transform: none; }
}
