/* Loja (catálogo e página de pacote): mesmo mundo da página inicial.
   Fundo tinta quente, pílulas claras, rosa só para a ação principal, nome em Cormorant. */

.loja {
  --ink: #0c0809;
  --sheet: #151011;
  --line: rgba(255, 240, 235, .1);
  --paper: #f6f0ec;
  --paper-ink: #1d1316;
  --muted: #b9a9a5;
  --muted-2: #8f807c;
  --rose: #cf3159;
  --rose-deep: #b5264b;
  --online: #47e3b8;
  --tg: #2aa7e6;
  background: var(--ink);
  color: #f7efec;
  min-height: 100svh;
  overflow-x: hidden;
}
.loja ::selection { background: var(--rose); color: #fff; }

/* Coluna de celular; no computador, foto desfocada nas laterais */
.frame { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; min-height: 100svh; background: var(--ink); }
.backdrop { position: fixed; inset: -60px; z-index: 0; display: none; filter: blur(48px) brightness(.3) saturate(.85); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) {
  .backdrop { display: block; }
  .frame { box-shadow: 0 0 80px rgba(0, 0, 0, .6); }
}

/* Nome, verificado, online (igual à home) */
.who { display: flex; flex-direction: column; gap: 3px; color: #fff; text-decoration: none; }
.who__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 1rem; }
.who__check { width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--tg); display: grid; place-items: center; }
.who__check svg { width: 10px; height: 10px; fill: #fff; }
.who__status { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--online); }
.who__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(71, 227, 184, .2); }

/* Botões em pílula */
.pill-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s, border-color .18s;
  -webkit-tap-highlight-color: transparent;
}
.pill-btn svg { width: 19px; height: 19px; flex: none; }
.pill-btn + .pill-btn { margin-top: 10px; }
.pill-btn:active { transform: scale(.985); }
.pill-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pill-btn:disabled { opacity: .55; cursor: default; }
.pill-btn[hidden] { display: none; }
.pill-btn--primary { background: var(--rose); color: #fff; box-shadow: 0 14px 28px -16px rgba(207, 49, 89, .9); }
.pill-btn--primary:hover:not(:disabled) { background: var(--rose-deep); }
.pill-btn--light { background: var(--paper); color: var(--paper-ink); }
.pill-btn--ghost { background: transparent; color: #f7efec; border-color: rgba(255, 240, 235, .22); }
.pill-btn--ghost:hover:not(:disabled) { border-color: rgba(255, 240, 235, .45); background: rgba(255, 240, 235, .04); }

.text-btn { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-btn:hover { color: #fff; }
.text-btn--center { display: block; margin: 14px auto 0; text-align: center; }
.text-btn[hidden] { display: none; }

.round-btn {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12, 8, 9, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ================= Catálogo ================= */
.cat-bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  background: rgba(12, 8, 9, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.cat-bar__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--rose); }
.cat-bar .who { flex: 1; min-width: 0; }
.vip-chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 9px 14px; border-radius: 999px;
  background: var(--paper); color: var(--paper-ink);
  font-size: .8125rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .8);
}
.vip-chip svg { width: 16px; height: 16px; }
.vip-chip__tg { color: var(--tg); }
.vip-chip__fire { color: var(--rose); }
.vip-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.cat-section { padding: 22px 0 6px; }
.cat-section + .cat-section { border-top: 1px solid var(--line); margin-top: 14px; }
.cat-section__title {
  margin: 0 16px 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1;
}

.rail {
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  padding: 0 16px 14px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.card {
  position: relative; flex: none;
  width: min(72%, 300px); aspect-ratio: 3 / 4.1;
  border-radius: 20px; overflow: hidden;
  scroll-snap-align: start;
  background: #1f1719; color: #fff; text-decoration: none;
  box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .9);
}
.card:only-child { width: min(84%, 340px); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.card:hover .card__img { transform: scale(1.03); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 8, 9, .92) 0%, rgba(12, 8, 9, .55) 26%, rgba(12, 8, 9, 0) 52%);
}
.card__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px;
  padding: 14px 14px 14px 16px;
}
.card__title { grid-column: 1; font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-wrap: balance; }
.card__price { grid-column: 2; grid-row: 1; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__meta { grid-column: 1; font-size: .75rem; color: rgba(255, 255, 255, .78); }
.card__see {
  grid-column: 2; justify-self: end;
  padding: 4px 11px; border-radius: 999px;
  background: var(--paper); color: var(--paper-ink);
  font-size: .6875rem; font-weight: 800; letter-spacing: .1em;
}
.card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.cat-empty { padding: 60px 24px; text-align: center; color: var(--muted); }
.cat-foot { display: flex; justify-content: center; gap: 22px; padding: 26px 16px calc(env(safe-area-inset-bottom) + 30px); font-size: .8125rem; }
.cat-foot a { color: var(--muted); text-decoration: none; }
.cat-foot a:hover { color: #fff; }

/* ================= Pacote ================= */
.pk-hero { position: relative; height: 54svh; min-height: 340px; max-height: 560px; overflow: hidden; }
.pk-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.pk-hero__fill { width: 100%; height: 100%; }
.pk-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(12, 8, 9, .55) 0%, rgba(12, 8, 9, 0) 26%, rgba(12, 8, 9, 0) 70%, rgba(12, 8, 9, .5) 100%);
}
.pk-hero__bar {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 14px) 16px 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

.sheet {
  position: relative; z-index: 3;
  margin-top: -34px;
  padding: 10px 20px calc(env(safe-area-inset-bottom) + 28px);
  background: var(--sheet);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid var(--line);
  min-height: 50svh;
}
.sheet__grip { display: block; width: 40px; height: 4px; margin: 0 auto 16px; border-radius: 2px; background: rgba(255, 240, 235, .18); }

.screen { display: none; }
.screen--active { display: block; animation: sheet-in .4s cubic-bezier(.16, 1, .3, 1); }
@keyframes sheet-in { from { transform: translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen--active { animation: none; } }

.pk-title { font-family: var(--font-display); font-weight: 600; font-size: 2.125rem; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.pk-count { margin-top: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--muted-2); }
.pk-desc { margin-top: 14px; font-size: .9375rem; line-height: 1.55; color: #e9dcd8; }
.pk-desc.is-clamped p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Prévia borrada: a névoa abre onde o dedo encosta */
@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }
.peek { margin-top: 24px; }
.peek__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.peek__title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.peek__hint { font-size: .75rem; color: var(--muted-2); }
.peek__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tile {
  --x: 50%; --y: 50%; --r: 0px;
  position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
  background: #241b1d; touch-action: pan-y;
}
.tile__fog, .tile__peek { position: absolute; inset: -12%; background-repeat: no-repeat; }
.tile__fog { filter: blur(16px) brightness(.62) saturate(1.05); }
.tile__peek {
  filter: blur(7px) brightness(.8);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 30%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 30%, transparent 100%);
  transition: --r .3s;
}
.tile.is-peeking { --r: 46px; }
.tile__lock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12, 8, 9, .45); color: rgba(255, 255, 255, .85);
}
.tile__lock svg { width: 14px; height: 14px; }
.peek__note { margin-top: 10px; font-size: .75rem; color: var(--muted-2); }

.owned {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 22px; padding: 14px 16px;
  border-radius: 16px; border: 1px solid rgba(207, 49, 89, .4);
  background: rgba(207, 49, 89, .12); color: #fff; text-decoration: none;
  font-size: .875rem; line-height: 1.4;
}
.owned[hidden] { display: none; }
.owned svg { width: 20px; height: 20px; color: #ff8aa6; flex: none; }

.buy { margin-top: 26px; }
.buy__price { font-size: 2.25rem; font-weight: 600; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.buy__kind { margin: 6px 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.buy__note { margin-top: 10px; min-height: 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.buy__note:empty { display: none; }

.trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; font-size: .8125rem; font-weight: 600; color: #e9dcd8; }
.trust svg { width: 15px; height: 15px; }
.trust__sub { margin-top: 6px; font-size: .75rem; line-height: 1.5; color: var(--muted-2); text-align: center; }
.trust__sub--left { text-align: left; margin-top: 14px; }
.trust__sub strong { color: #e9dcd8; }

/* PIX */
.pix-price { margin: 10px 0 20px; font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pix-mock { margin-bottom: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(212, 168, 83, .12); color: #e8c98a; font-size: .8125rem; }
.pix-mock[hidden] { display: none; }
.qr-box { margin-top: 18px; display: flex; justify-content: center; }
.qr-box[hidden] { display: none; }
.qr-card { width: 216px; height: 216px; padding: 16px; border-radius: 20px; background: #fff; display: grid; place-items: center; }
.qr-card svg { width: 100%; height: 100%; display: block; }
.qr-loading { color: #6e5a5f; font-size: .8125rem; }
.pix-help { margin-top: 18px; font-size: .8125rem; line-height: 1.5; color: var(--muted); text-align: center; }
.pix-help strong { color: #e9dcd8; font-weight: 600; }
.pix-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .8125rem; color: var(--muted); text-align: center; }
.pix-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); flex: none; }
.pix-status[data-state="waiting"]::before { background: #e8c98a; }
.pix-status[data-state="error"] { color: #ff8fa8; }
.pix-status[data-state="error"]::before { background: #ff8fa8; }
#btn-retry { margin-top: 14px; }
#pix-payload[hidden] { display: none; }

/* Pago */
.done { text-align: center; padding-top: 6px; }
.done__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(71, 227, 184, .14); color: var(--online); }
.done__icon svg { width: 30px; height: 30px; }
.done__text { margin: 8px 0 22px; color: #e9dcd8; }
#access-box[hidden] { display: none; }

@media (max-width: 360px) {
  .pk-title { font-size: 1.875rem; }
  .sheet { padding-left: 16px; padding-right: 16px; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ================= Acesso do comprador ================= */
.acc { padding: 22px 16px calc(env(safe-area-inset-bottom) + 30px); }
.acc__owned { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(71, 227, 184, .12); color: var(--online); font-size: .75rem; font-weight: 700; }
.acc__owned svg { width: 14px; height: 14px; }
.acc-save {
  margin: 20px 0 22px; padding: 16px;
  border-radius: 18px; border: 1px solid rgba(207, 49, 89, .35); background: rgba(207, 49, 89, .08);
  display: flex; flex-direction: column; gap: 12px;
}
.acc-save p { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.acc-save strong { color: #fff; }
.acc-save .pill-btn { min-height: 46px; font-size: .875rem; }
.acc-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.acc-grid li { border-radius: 14px; overflow: hidden; background: #1f1719; }
.acc-grid li.is-video { grid-column: 1 / -1; }
.acc-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; cursor: zoom-in; }
.acc-grid video { width: 100%; max-height: 78svh; display: block; background: #000; }
.acc-empty { padding: 40px 12px; text-align: center; color: var(--muted); }
.acc-foot { margin-top: 22px; font-size: .75rem; color: var(--muted-2); text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5, 3, 4, .95); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__close { position: absolute; top: calc(env(safe-area-inset-top) + 14px); right: 14px; }

/* Avisos simples (link inválido, pacote fora do ar) */
.note-page { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px 24px; text-align: center; }
.note-page__text { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin-bottom: 10px; }

/* ================= VIP ================= */
.pk-hero--vip { height: 50svh; }
.vip-title { font-size: 2.5rem; }
.vip-lead { margin-top: 8px; font-size: .9375rem; color: #e9dcd8; }
.vip-points { list-style: none; margin: 22px 0 26px; display: grid; gap: 14px; }
.vip-points li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.vip-points strong { color: #fff; font-weight: 600; }
.vip-points__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 240, 235, .08); color: #f7efec; }
.vip-points__icon svg { width: 19px; height: 19px; }
.vip-points__icon--tg { background: var(--tg); color: #fff; }

/* ================= Catálogo: destaque e cards sem capa ================= */
.feature {
  position: relative; display: block;
  margin: 16px 16px 4px; aspect-ratio: 4 / 5; max-height: 72svh;
  border-radius: 24px; overflow: hidden;
  color: #fff; text-decoration: none; background: #1f1719;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .95);
}
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.feature:hover .feature__img { transform: scale(1.025); }
.feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 8, 9, .95) 0%, rgba(12, 8, 9, .6) 28%, rgba(12, 8, 9, 0) 55%);
}
.feature__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; }
.feature__new { padding: 4px 9px; border-radius: 6px; background: var(--rose); font-size: .6875rem; font-weight: 800; letter-spacing: .12em; }
.feature__title { font-family: var(--font-display); font-weight: 600; font-size: 2.5rem; line-height: .98; letter-spacing: -0.01em; text-wrap: balance; }
.feature__meta { font-size: .8125rem; color: rgba(255, 255, 255, .82); font-variant-numeric: tabular-nums; }
.feature__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--paper); color: var(--paper-ink);
  font-size: .875rem; font-weight: 700;
}
.feature__cta svg { width: 16px; height: 16px; }
.feature:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.card__img--none { display: block; overflow: hidden; }
.card__blur {
  position: absolute; inset: -18%;
  background: url("/assets/img/hero-placeholder.jpg") center 22% / cover no-repeat;
  filter: blur(22px) saturate(1.15) brightness(1.1);
}
.card__tint { position: absolute; inset: 0; mix-blend-mode: multiply; }
.card__mark {
  position: absolute; left: 14px; right: 14px; top: 18%;
  font-family: var(--font-display); font-weight: 600; font-size: 2.125rem; line-height: .95;
  text-align: center; text-wrap: balance; color: rgba(255, 255, 255, .94);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.card--nocover .card__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Guardar o link de acesso */
.keep { margin: 16px 0 12px; padding: 16px; border-radius: 18px; background: rgba(255, 240, 235, .05); border: 1px solid var(--line); text-align: left; }
.acc-save .keep { margin: 0; padding: 0; background: none; border: 0; }
.keep__title { font-weight: 700; font-size: .9375rem; color: #fff; }
.keep__text { margin-top: 4px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.keep__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.keep__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .875rem; text-decoration: none; }
.keep__btn svg { width: 18px; height: 18px; }
.keep__btn--wa { background: #16793f; }
.keep__btn--tg { background: #1b73ad; }
.keep__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.keep__link { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); font-size: .75rem; line-height: 1.4; color: #e9dcd8; word-break: break-all; user-select: all; }
.keep__link:empty { display: none; }
.keep__warn { margin-top: 8px; font-size: .75rem; color: var(--muted-2); }
.lightbox__download { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 18px); transform: translateX(-50%); width: auto; min-height: 46px; padding: 0 20px; font-size: .875rem; }
.lightbox__download[hidden] { display: none; }
