/* RACCOON::6P-07 — cena Raccoon Tap editorial, pulseira, chaveiro com demonstração. Escopo #produtos. */

#produtos {
  --r7-black: #0f1115;
  --r7-gold: #fdb913;
  --r7-orange: #f28c00;
  --r7-white: #ffffff;
  --r7-graphite: #2a2e35;
}

/* ---------- A · cena principal ---------- */

#produtos .xp-stage.xp-bridge.tap7 {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "plate copy"
    "attrs copy"
    "specs cta";
  align-items: start;
  gap: 1.1rem clamp(1.4rem, 3.2vw, 3rem);
  padding: clamp(1.25rem, 2.4vw, 2.2rem);
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 18% 30%, rgba(253, 185, 19, 0.14), transparent 62%),
    radial-gradient(ellipse 50% 60% at 88% 85%, rgba(242, 140, 0, 0.12), transparent 60%),
    linear-gradient(160deg, #15130f 0%, #0b0c0f 48%, #060607 100%);
}

#produtos .xp-stage.tap7 .tap7-volume {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 200deg at 22% 0%, transparent 0deg, rgba(253, 185, 19, 0.1) 18deg, transparent 38deg, rgba(255, 255, 255, 0.05) 52deg, transparent 70deg);
  filter: blur(18px);
  opacity: 0.85;
  transform-origin: 22% 0%;
}

#produtos .xp-stage.tap7 .xp-plate {
  grid-area: plate;
  transform-style: preserve-3d;
  will-change: transform;
}

#produtos .xp-stage.tap7 .xp-bridge__link {
  position: absolute;
  grid-area: auto;
  left: calc(54% - 1.4rem);
  top: clamp(5rem, 13vw, 9.5rem);
  width: 3rem;
  height: 6rem;
  opacity: 0.9;
}

#produtos .xp-stage.tap7 .xp-bridge__line {
  display: none;
}

#produtos .xp-stage.tap7 .tap7-attrs {
  grid-area: attrs;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(253, 185, 19, 0.22);
  border-bottom: 1px solid rgba(253, 185, 19, 0.22);
}

#produtos .xp-stage.tap7 .tap7-attrs li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.4rem;
  padding: 0.6rem 0.7rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
}

#produtos .xp-stage.tap7 .tap7-attrs li:nth-child(3n + 2),
#produtos .xp-stage.tap7 .tap7-attrs li:nth-child(3n + 3) {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

#produtos .xp-stage.tap7 .tap7-attrs li:nth-child(n + 4) {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#produtos .xp-stage.tap7 .tap7-attrs svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--r7-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#produtos .xp-stage.tap7 .tap7-attrs .tap7-attrs__key {
  color: var(--r7-white);
  font-weight: 700;
  background: linear-gradient(120deg, rgba(253, 185, 19, 0.16), transparent 80%);
}

#produtos .xp-stage.tap7 .tap7-attrs .tap7-attrs__key span {
  color: var(--r7-gold);
}

#produtos .xp-stage.tap7 .tap7-specs {
  grid-area: specs;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.2rem;
  margin: 0;
}

#produtos .xp-stage.tap7 .tap7-specs__title {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#produtos .xp-stage.tap7 .tap7-specs dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin: 0;
}

#produtos .xp-stage.tap7 .tap7-specs dl div {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

#produtos .xp-stage.tap7 .tap7-specs dt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

#produtos .xp-stage.tap7 .tap7-specs dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

#produtos .xp-stage.tap7 .tap7-copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-self: center;
  min-width: 0;
}

#produtos .xp-stage.xp-bridge.tap7 .tap7-copy .xp-mark {
  grid-area: auto;
  margin: 0;
  color: var(--r7-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#produtos .xp-stage.xp-bridge.tap7 .tap7-copy .xp-mark span {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 500;
}

#produtos .xp-stage.tap7 .tap7-copy h3 {
  margin: 0;
  color: var(--r7-white);
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

#produtos .xp-stage.tap7 .tap7-copy__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.6;
}

#produtos .xp-stage.tap7 .tap7-benefits {
  display: grid;
  gap: 0.55rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

#produtos .xp-stage.tap7 .tap7-benefits li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--r7-white);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

#produtos .xp-stage.tap7 .tap7-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3 6.9 11 12 5.2' fill='none' stroke='%230f1115' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.72rem no-repeat,
    linear-gradient(135deg, #ffd24d, var(--r7-gold) 55%, var(--r7-orange));
  box-shadow: 0 0 12px rgba(253, 185, 19, 0.35);
}

#produtos .xp-stage.tap7 .tap7-cta {
  grid-area: cta;
  position: relative;
  z-index: 1;
  align-self: end;
}

#produtos .xp-stage.tap7 .tap7-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd24d 0%, var(--r7-gold) 45%, var(--r7-orange) 100%);
  color: var(--r7-black);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(253, 185, 19, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

#produtos .xp-stage.tap7 .tap7-cta__link:hover,
#produtos .xp-stage.tap7 .tap7-cta__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(253, 185, 19, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#produtos .xp-stage.tap7 .tap7-cta__link:focus-visible {
  outline: 2px solid var(--r7-white);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  #produtos .xp-stage.xp-bridge.tap7 {
    padding-right: clamp(1.25rem, 2.4vw, 2.2rem);
  }

  #produtos .xp-stage.tap7 .tap7-attrs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #produtos .xp-stage.tap7 .tap7-attrs li:nth-child(n) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  #produtos .xp-stage.tap7 .tap7-attrs li:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
  }

  #produtos .xp-stage.tap7 .tap7-attrs li:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 900px) {
  #produtos .xp-stage.xp-bridge.tap7 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "plate" "attrs" "specs" "cta";
    justify-items: stretch;
    padding: 1.1rem 1rem 1.25rem;
    gap: 1rem;
  }

  #produtos .xp-stage.tap7 .xp-bridge__link {
    display: none;
  }

  #produtos .xp-stage.tap7 .tap7-cta__link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  #produtos .xp-stage.tap7 .tap7-attrs {
    grid-template-columns: minmax(0, 1fr);
  }

  #produtos .xp-stage.tap7 .tap7-attrs li:nth-child(n) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    min-height: 2.8rem;
  }

  #produtos .xp-stage.tap7 .tap7-attrs li:first-child {
    border-top: 0;
  }

  #produtos .xp-stage.tap7 .tap7-copy__desc,
  #produtos .xp-stage.tap7 .tap7-benefits li {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #produtos .xp-stage.xp-bridge.tap7[data-tap7-stage] .xp-plate__shine {
    animation: tap7-shine 7.5s cubic-bezier(0.45, 0, 0.2, 1) 1.2s infinite;
  }

  #produtos .xp-stage.xp-bridge.tap7[data-tap7-stage] .xp-bridge__arc {
    animation: tap7-field 2.8s ease-out infinite;
  }

  #produtos .xp-stage.xp-bridge.tap7[data-tap7-stage] .xp-bridge__arc--b { animation-delay: 0.45s; }
  #produtos .xp-stage.xp-bridge.tap7[data-tap7-stage] .xp-bridge__arc--c { animation-delay: 0.9s; }

  #produtos .xp-stage.tap7 .tap7-volume {
    animation: tap7-volume 16s ease-in-out infinite alternate;
  }

  #produtos .xp-stage.tap7 .tap7-cta__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
    background-size: 250% 100%;
    background-position: 120% 0;
    animation: tap7-cta-sheen 5.5s ease-in-out 2s infinite;
    pointer-events: none;
  }

  #produtos .xp-stage.tap7 .tap7-cta__link {
    position: relative;
    overflow: hidden;
  }

  #produtos .xp-stage.tap7:not(.is-in) .tap7-copy > *,
  #produtos .xp-stage.tap7:not(.is-in) .tap7-attrs li,
  #produtos .xp-stage.tap7:not(.is-in) .tap7-specs,
  #produtos .xp-stage.tap7:not(.is-in) .tap7-cta {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  #produtos .xp-stage.tap7:not(.is-in) .xp-plate {
    opacity: 0;
    transform: perspective(1200px) rotateY(9deg) translate3d(-18px, 10px, 0) scale(0.97);
  }

  #produtos .xp-stage.tap7.is-in .xp-plate {
    animation: tap7-plate-in 1.1s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }

  #produtos .xp-stage.tap7.is-in .tap7-copy > *,
  #produtos .xp-stage.tap7.is-in .tap7-attrs li,
  #produtos .xp-stage.tap7.is-in .tap7-specs,
  #produtos .xp-stage.tap7.is-in .tap7-cta {
    animation: tap7-rise 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) both;
    animation-delay: calc(0.25s + var(--tap7-i, 0) * 0.08s);
  }

  #produtos .xp-stage.tap7.is-tilt .xp-plate {
    animation: none;
    opacity: 1;
    transform: perspective(1200px) rotateX(var(--tap7-rx, 0deg)) rotateY(var(--tap7-ry, 0deg));
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

@keyframes tap7-plate-in {
  from { opacity: 0; transform: perspective(1200px) rotateY(9deg) translate3d(-18px, 10px, 0) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes tap7-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes tap7-shine {
  0% { transform: translateX(-130%); }
  32%, 100% { transform: translateX(130%); }
}

@keyframes tap7-field {
  0% { opacity: 0; transform: translateX(-40%) scale(0.4); }
  35% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(30%) scale(1.15); }
}

@keyframes tap7-volume {
  from { transform: rotate(-4deg) translateX(-2%); opacity: 0.65; }
  to { transform: rotate(5deg) translateX(3%); opacity: 1; }
}

@keyframes tap7-cta-sheen {
  0%, 70% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

#produtos .xp-stage.tap7.is-reduced .xp-plate__shine,
#produtos .xp-stage.tap7.is-reduced .xp-bridge__arc {
  animation: none;
  opacity: 0.6;
  transform: none;
}

/* ---------- B · pulseira ---------- */

#produtos .xp-chapter--band.band7 {
  align-items: center;
}

#produtos .band7 .band7-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(253, 185, 19, 0.4);
  background: #070708;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
}

#produtos .band7 .band7-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 990 / 615;
  object-fit: contain;
  transform-origin: 50% 60%;
}

#produtos .band7 .band7-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 236, 190, 0.18) 50%, transparent 60%);
  transform: translateX(-120%);
}

#produtos .band7 .band7-art--pedestal {
  border-color: rgba(253, 185, 19, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 42px rgba(253, 185, 19, 0.16),
    0 30px 60px rgba(0, 0, 0, 0.55);
}

#produtos .band7 .band7-art--pedestal img {
  aspect-ratio: 1672 / 941;
}

#produtos .band7 .band7-art--pedestal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 78% 82% at 50% 52%, transparent 62%, rgba(7, 7, 8, 0.5) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, 0.18);
}

/* A · pulseira como álbum: cada folha vira no eixo da lombada conforme a rolagem.
   Sem JS ou com reduced motion fica a grade estática na mesma ordem. */
#produtos .band7 .band7-book {
  position: relative;
  margin: 0;
}

#produtos .band7 .band7-book:not(.is-live),
#produtos .band7 .band7-book__body {
  padding: 14px 16px 34px;
  border-radius: 18px;
  border: 1px solid rgba(253, 185, 19, 0.42);
  background: linear-gradient(160deg, #16130e, #0a0a0c 60%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 36px rgba(253, 185, 19, 0.1);
  transition: box-shadow 0.8s ease;
}

#produtos .band7 .band7-book__body {
  position: relative;
  container-type: inline-size;
}

#produtos .band7 .band7-book__body.is-final {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 54px rgba(253, 185, 19, 0.22);
}

/* desktop: o álbum fica parado enquanto o texto rola, dando curso às quatro viradas */
@media (min-width: 821px) {
  #produtos .band7 .band7-book.is-live {
    align-self: stretch;
  }

  #produtos .band7 .band7-book__body {
    position: sticky;
    top: 100px;
  }
}

#produtos .band7 .band7-book__pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#produtos .band7 .band7-book__page {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(253, 185, 19, 0.22);
  background: #070708;
}

#produtos .band7 .band7-book__page--product {
  grid-column: 1 / -1;
}

#produtos .band7 .band7-book__page img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

#produtos .band7 .band7-book__page:nth-child(2) img { object-position: 87% 50%; }
#produtos .band7 .band7-book__page:nth-child(4) img { object-position: 100% 50%; }
#produtos .band7 .band7-book__page--product img { aspect-ratio: 1672 / 941; }

#produtos .band7 .band7-book.is-live .band7-book__pages,
#produtos .band7 .band7-book:not(.is-live) .band7-book__body {
  display: none;
}

/* Grade estática (sem JS / reduced motion / falha do autoplay): 9 cenas + pedestal largo */
#produtos .band7 .band7-book__page:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 600px) {
  #produtos .band7 .band7-book__pages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #produtos .band7 .band7-book__page:first-child {
    grid-column: auto;
  }
}

/* 6P-AUTOPLAY · álbum do módulo R6PWristbandAutoBook dentro da moldura dourada.
   As fotos atuais de academia/parque são 3:2; "200% auto" cobre a dupla sem esticar. */
#produtos .band7 .r6p-autobook__half,
#produtos .band7 .r6p-autobook__face {
  background-size: 200% auto;
}

/* a frase do rodapé ocupa o mesmo espaço reservado antes da montagem (12 + 44 px) */
#produtos .band7 .r6p-autobook__caption {
  min-height: 44px;
  margin-top: 12px;
}

/* Com script habilitado, antes da montagem, a primeira cena já ocupa exatamente o espaço do
   álbum (dupla 2048:1143 + 56 px dos controles), para a troca não deslocar o layout. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  #produtos .band7 .band7-book:not(.is-static) {
    padding: 14px 16px 10px;
  }

  #produtos .band7 .band7-book:not(.is-static) .band7-book__pages {
    display: block;
    padding-bottom: 56px;
  }

  #produtos .band7 .band7-book:not(.is-static) .band7-book__page:not(:first-child) {
    display: none;
  }

  #produtos .band7 .band7-book:not(.is-static) .band7-book__page {
    border: 0;
    border-radius: 8px;
  }

  #produtos .band7 .band7-book:not(.is-static) .band7-book__page img {
    aspect-ratio: 2048 / 1143;
  }

  @media (max-width: 820px) {
    #produtos .band7 .band7-book:not(.is-static) {
      padding: 10px 10px 6px;
    }
  }
}

/* perspectiva proporcional à largura: a folha cresce ~15% no ápice em qualquer tamanho
   e não invade o texto vizinho */
#produtos .band7 .band7-book__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  perspective: 2400px;
  perspective: 400cqw;
  perspective-origin: 50% 45%;
}

#produtos .band7 .band7-book__half,
#produtos .band7 .band7-book__sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
}

#produtos .band7 .band7-book__half--left {
  left: 0;
  box-shadow: -1px 1px 0 rgba(232, 222, 200, 0.2), -2px 2px 0 #0b0b0c, -3px 3px 0 rgba(232, 222, 200, 0.14), -4px 4px 0 #0b0b0c;
  border-radius: 6px 0 0 6px;
}

#produtos .band7 .band7-book__half--right {
  left: 50%;
  box-shadow: 1px 1px 0 rgba(232, 222, 200, 0.2), 2px 2px 0 #0b0b0c, 3px 3px 0 rgba(232, 222, 200, 0.14), 4px 4px 0 #0b0b0c;
  border-radius: 0 6px 6px 0;
}

#produtos .band7 .band7-book__sheet {
  left: 50%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateY(var(--a, 0deg));
  will-change: transform;
}

#produtos .band7 .band7-book__face,
#produtos .band7 .band7-book__half {
  overflow: hidden;
  background: #070708;
}

#produtos .band7 .band7-book__face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#produtos .band7 .band7-book__face--front {
  border-radius: 0 6px 6px 0;
}

#produtos .band7 .band7-book__face--back {
  transform: rotateY(180deg);
  border-radius: 6px 0 0 6px;
}

/* metade esquerda (--side 0) ou direita (--side 1) de uma imagem que cobre a dupla inteira */
#produtos .band7 .band7-book__img {
  position: absolute;
  width: calc(200% * var(--z, 1));
  height: calc(100% * var(--z, 1));
  top: calc((1 - var(--z, 1)) * 100% * var(--fy, 0.5));
  left: calc(var(--side, 0) * -100% + (1 - var(--z, 1)) * 200% * var(--fx, 0.5));
  background-image: var(--src);
  background-size: cover;
  background-position: calc(var(--fx, 0.5) * 100%) calc(var(--fy, 0.5) * 100%);
}

/* dobra da lombada (encadernação lay-flat: sombra curta e suave) */
#produtos .band7 .band7-book__face::after,
#produtos .band7 .band7-book__half::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#produtos .band7 .band7-book__face--front::after,
#produtos .band7 .band7-book__half--right::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08) 6%, transparent 14%);
}

#produtos .band7 .band7-book__face--back::after,
#produtos .band7 .band7-book__half--left::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08) 6%, transparent 14%);
}

/* luz que cai na folha enquanto ela levanta */
#produtos .band7 .band7-book__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--s, 0);
}

#produtos .band7 .band7-book__face--front .band7-book__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25) 45%, rgba(255, 236, 190, 0.1));
}

#produtos .band7 .band7-book__face--back .band7-book__shade {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25) 45%, rgba(255, 236, 190, 0.1));
}

/* sombra projetada na página de baixo */
#produtos .band7 .band7-book__cast {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
  opacity: var(--c, 0);
  background-repeat: no-repeat;
  background-size: var(--cw, 0%) 100%;
}

#produtos .band7 .band7-book__cast--right {
  left: 50%;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent);
  background-position: left center;
}

#produtos .band7 .band7-book__cast--left {
  left: 0;
  background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.62), transparent);
  background-position: right center;
}

#produtos .band7 .band7-book__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

#produtos .band7 .band7-book__dots i {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color 0.3s ease, width 0.3s ease;
}

#produtos .band7 .band7-book__dots i.is-on {
  width: 28px;
  background: var(--r7-gold);
}

@media (prefers-reduced-motion: reduce) {
  #produtos .band7 .band7-book.is-live .band7-book__pages {
    display: grid;
  }

  #produtos .band7 .band7-book__body {
    display: none;
  }
}

@media (max-width: 820px) {
  #produtos .band7 .band7-book:not(.is-live),
  #produtos .band7 .band7-book__body {
    padding: 10px 10px 28px;
  }

  #produtos .band7 .band7-book__dots {
    bottom: 10px;
  }
}

/* C · etiqueta "Institucional" no canto superior direito, longe da logo do filme */
#produtos .xp-chapter--smart .xp-media--film .xp-role {
  left: auto;
  right: 0.75rem;
}

/* E · Smart Card: fallback estático só em reduced motion (mesmo padrão do card Pousada) */
#produtos .xp-chapter--smart .xp-smart-fallback {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070708;
}

@media (prefers-reduced-motion: reduce) {
  #produtos .xp-chapter--smart .xp-smart-video {
    display: none;
  }

  #produtos .xp-chapter--smart .xp-smart-fallback {
    display: block;
  }
}

/* A · sem legenda sob o vídeo: plate fecha com o mesmo respiro em volta */
#produtos .xp-stage.xp-bridge.tap7 .xp-plate {
  padding-bottom: 0.5rem;
}

#produtos .xp-stage.xp-bridge.tap7 .xp-plate__shine {
  height: calc(100% - 1rem);
}

#produtos .band7 .band7-sub {
  margin: -0.2rem 0 0;
  color: var(--r7-gold);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
}

#produtos .band7 .band7-lead {
  margin: 0.2rem 0 0;
  color: var(--r7-white);
  font-size: 1.02rem;
  font-weight: 700;
}

#produtos .band7 .band7-specs-title {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#produtos .band7 .xp-specs li:nth-child(4) {
  border-color: rgba(253, 185, 19, 0.7);
  color: var(--r7-gold);
  font-weight: 700;
}

#produtos .band7 p strong {
  color: var(--r7-gold);
}

#produtos .band7 .card-link,
#produtos .key7 .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--r7-gold);
  border-radius: 999px;
  background: rgba(253, 185, 19, 0.1);
  color: var(--r7-gold);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#produtos .band7 .card-link:hover,
#produtos .band7 .card-link:focus-visible,
#produtos .key7 .card-link:hover,
#produtos .key7 .card-link:focus-visible {
  background: var(--r7-gold);
  color: var(--r7-black);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: no-preference) {
  #produtos .band7.is-in .band7-art img {
    animation: r7-push 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  #produtos .band7.is-in .band7-art::after {
    animation: r7-sheen 7s ease-in-out 1s infinite;
  }
}

@keyframes r7-push {
  from { transform: scale(1.06); filter: brightness(0.75); }
  to { transform: none; filter: none; }
}

@keyframes r7-sheen {
  0% { transform: translateX(-120%); }
  30%, 100% { transform: translateX(120%); }
}

/* ---------- C · chaveiro ---------- */

#produtos .xp-chapter--key.key7 {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

#produtos .key7 .key7-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(253, 185, 19, 0.4);
  background: #070708;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
  perspective: 1000px;
}

#produtos .key7 .key7-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 682 / 741;
  object-fit: contain;
}

#produtos .key7 .key7-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 50% 8%, rgba(253, 185, 19, 0.12), transparent 70%),
    linear-gradient(105deg, transparent 40%, rgba(255, 236, 190, 0.16) 50%, transparent 60%);
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 130% 0;
}

#produtos .key7 .xp-copy h3 {
  text-wrap: balance;
}

/* B · filme real do chaveiro (substitui a demonstração CSS na UI) */
#produtos .key7 .key7-film {
  grid-column: 1 / -1;
  position: relative;
  margin: 0.4rem 0 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(253, 185, 19, 0.32);
  background: #07080a;
  aspect-ratio: 16 / 9;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
}

#produtos .key7 .key7-film .key7-film__video,
#produtos .key7 .key7-film .key7-film__still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#produtos .key7 .key7-film .key7-film__still {
  display: none;
  position: absolute;
  inset: 0;
}

@media (prefers-reduced-motion: reduce) {
  #produtos .key7 .key7-film .key7-film__video {
    display: none;
  }

  #produtos .key7 .key7-film .key7-film__still {
    display: block;
  }
}

/* 6P-ORBIT · carrossel do Chaveiro (R1 .r6p-ko / R2 .kc2-widget) ocupa a faixa inteira do filme */
#produtos .key7 .r6p-ko,
#produtos .key7 .kc2-widget {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
}

/* demonstração */
#produtos .key7 .key7-demo {
  grid-column: 1 / -1;
  position: relative;
  margin: 0.4rem 0 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(253, 185, 19, 0.32);
  background:
    radial-gradient(ellipse 50% 80% at 30% 50%, rgba(253, 185, 19, 0.12), transparent 70%),
    linear-gradient(160deg, #14120e, #07080a 60%);
  aspect-ratio: 16 / 7;
  min-height: 300px;
  isolation: isolate;
}

#produtos .key7 .key7-demo__key {
  position: absolute;
  left: 3%;
  top: 0;
  height: 100%;
  aspect-ratio: 682 / 741;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 46%, #000 62%, transparent 100%);
}

#produtos .key7 .key7-demo__key img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform-origin: 80% 46%;
}

#produtos .key7 .key7-demo__rings {
  position: absolute;
  left: 35%;
  top: 46%;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
}

#produtos .key7 .key7-demo__rings i {
  position: absolute;
  left: -5rem;
  top: -5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: 1.5px solid rgba(253, 185, 19, 0.75);
  box-shadow: 0 0 18px rgba(253, 185, 19, 0.25);
  opacity: 0;
}

#produtos .key7 .key7-demo__phone {
  position: absolute;
  z-index: 3;
  left: 60%;
  top: 7%;
  width: clamp(150px, 19%, 210px);
  aspect-ratio: 9 / 18.5;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(150deg, #3b3a3f, #121316 30%, #050506);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(253, 185, 19, 0.28);
  transform-origin: 50% 80%;
}

#produtos .key7 .key7-demo__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #0c0d10;
}

#produtos .key7 .key7-demo__screen::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

#produtos .key7 .key7-demo__detect {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  color: var(--r7-white);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

#produtos .key7 .key7-demo__detect svg {
  width: 2.6rem;
  height: 2.6rem;
  fill: none;
  stroke: var(--r7-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
}

#produtos .key7 .key7-demo__detect small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#produtos .key7 .key7-demo__profile {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

#produtos .key7 .key7-demo__sample {
  position: absolute;
  z-index: 4;
  right: 8px;
  bottom: 8px;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.8);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

#produtos .key7 .key7-demo__steps {
  position: absolute;
  z-index: 4;
  left: 4%;
  bottom: 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: key7;
}

#produtos .key7 .key7-demo__steps li {
  position: relative;
  padding-top: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  counter-increment: key7;
}

#produtos .key7 .key7-demo__steps li::before {
  content: "0" counter(key7) " ";
  color: inherit;
}

#produtos .key7 .key7-demo__steps li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}

/* estado final estático (reduced motion e antes da entrada) */
#produtos .key7 .key7-demo__phone { transform: translate3d(-30%, 2%, 0) rotate(-6deg); }
#produtos .key7 .key7-demo__profile { opacity: 1; transform: none; }
#produtos .key7 .key7-demo__detect { opacity: 0; }
#produtos .key7 .key7-demo__steps li { color: rgba(255, 255, 255, 0.78); }

@media (prefers-reduced-motion: no-preference) {
  #produtos .key7 .key7-demo.is-playing .key7-demo__key img {
    animation: key7-push 9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  }

  #produtos .key7 .key7-demo.is-playing .key7-demo__phone {
    animation: key7-phone 9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  }

  #produtos .key7 .key7-demo.is-playing .key7-demo__rings i {
    animation: key7-ring 9s ease-out infinite;
  }

  #produtos .key7 .key7-demo.is-playing .key7-demo__rings i:nth-child(2) { animation-delay: 0.35s; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__rings i:nth-child(3) { animation-delay: 0.7s; }

  #produtos .key7 .key7-demo.is-playing .key7-demo__detect {
    animation: key7-detect 9s ease infinite;
  }

  #produtos .key7 .key7-demo.is-playing .key7-demo__profile {
    animation: key7-profile 9s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  }

  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li {
    color: rgba(255, 255, 255, 0.4);
  }

  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li::after {
    background:
      linear-gradient(var(--r7-gold), var(--r7-gold)) left / 0% 100% no-repeat,
      rgba(255, 255, 255, 0.14);
  }

  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(1) { animation: key7-s1 9s linear infinite; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(2) { animation: key7-s2 9s linear infinite; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(3) { animation: key7-s3 9s linear infinite; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(4) { animation: key7-s4 9s linear infinite; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(1)::after { animation: key7-b1 9s linear infinite; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(2)::after { animation: key7-b2 9s linear infinite; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(3)::after { animation: key7-b3 9s linear infinite; }
  #produtos .key7 .key7-demo.is-playing .key7-demo__steps li:nth-child(4)::after { animation: key7-b4 9s linear infinite; }

  #produtos .key7.is-in .key7-art::after {
    animation: key7-art-sheen 8s ease-in-out 1s infinite;
  }

  #produtos .key7.is-in .key7-art img {
    animation: r7-push 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}

/* 0–22% chaveiro · 22–45% aproximação · 45–62% reconhecimento · 62–100% perfil */
@keyframes key7-push {
  0% { transform: scale(0.96); filter: brightness(0.72); }
  18% { transform: scale(1.02); filter: brightness(1); }
  62% { transform: scale(1.08); filter: brightness(1.1); }
  92% { transform: scale(1.08); filter: brightness(1); }
  100% { transform: scale(0.96); filter: brightness(0.72); }
}

@keyframes key7-phone {
  0%, 16% { transform: translate3d(80%, 8%, 0) rotate(10deg) scale(0.94); opacity: 0; }
  26% { opacity: 1; }
  44% { transform: translate3d(-82%, 4%, 0) rotate(-12deg) scale(1); opacity: 1; }
  60% { transform: translate3d(-84%, 3%, 0) rotate(-12deg) scale(1); }
  74%, 91% { transform: translate3d(-30%, 2%, 0) rotate(-6deg) scale(1.03); opacity: 1; }
  100% { transform: translate3d(80%, 8%, 0) rotate(10deg) scale(0.94); opacity: 0; }
}

@keyframes key7-ring {
  0%, 44% { opacity: 0; transform: scale(0.3); }
  47% { opacity: 0.95; }
  60% { opacity: 0; transform: scale(1.25); }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes key7-detect {
  0%, 42% { opacity: 0; transform: scale(0.92); }
  48%, 60% { opacity: 1; transform: none; }
  66%, 100% { opacity: 0; }
}

@keyframes key7-profile {
  0%, 60% { opacity: 0; transform: translateY(14%); clip-path: inset(100% 0 0 0 round 24px); }
  70% { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 24px); object-position: 50% 0; }
  88% { opacity: 1; object-position: 50% 22%; clip-path: inset(0 0 0 0 round 24px); }
  96%, 100% { opacity: 0; object-position: 50% 22%; }
}

@keyframes key7-s1 { 0%, 21.9% { color: #fff; } 22%, 100% { color: rgba(255, 255, 255, 0.4); } }
@keyframes key7-s2 { 0%, 21.9% { color: rgba(255, 255, 255, 0.4); } 22%, 44.9% { color: #fff; } 45%, 100% { color: rgba(255, 255, 255, 0.4); } }
@keyframes key7-s3 { 0%, 44.9% { color: rgba(255, 255, 255, 0.4); } 45%, 61.9% { color: #fff; } 62%, 100% { color: rgba(255, 255, 255, 0.4); } }
@keyframes key7-s4 { 0%, 61.9% { color: rgba(255, 255, 255, 0.4); } 62%, 100% { color: #fff; } }
@keyframes key7-b1 { 0% { background-size: 0% 100%, auto; } 22% { background-size: 100% 100%, auto; } 22.1%, 100% { background-size: 0% 100%, auto; } }
@keyframes key7-b2 { 0%, 22% { background-size: 0% 100%, auto; } 45% { background-size: 100% 100%, auto; } 45.1%, 100% { background-size: 0% 100%, auto; } }
@keyframes key7-b3 { 0%, 45% { background-size: 0% 100%, auto; } 62% { background-size: 100% 100%, auto; } 62.1%, 100% { background-size: 0% 100%, auto; } }
@keyframes key7-b4 { 0%, 62% { background-size: 0% 100%, auto; } 99% { background-size: 100% 100%, auto; } 100% { background-size: 0% 100%, auto; } }

@keyframes key7-art-sheen {
  0% { background-position: 0 0, 130% 0; }
  35%, 100% { background-position: 0 0, -30% 0; }
}

@media (max-width: 820px) {
  #produtos .xp-chapter--key.key7 {
    grid-template-columns: minmax(0, 1fr);
  }

  #produtos .key7 .key7-demo {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  #produtos .key7 .key7-demo__key {
    left: 0;
    top: 2%;
    width: 78%;
    height: auto;
  }

  #produtos .key7 .key7-demo__rings {
    left: 62%;
    top: 33%;
  }

  #produtos .key7 .key7-demo__phone {
    left: 54%;
    top: 10%;
    width: 38%;
  }

  #produtos .key7 .key7-demo__rings i {
    left: -3.5rem;
    top: -3.5rem;
    width: 7rem;
    height: 7rem;
  }

  #produtos .key7 .key7-demo__steps {
    left: 5%;
    right: 5%;
    bottom: 4%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
