/* ==========================================================
   VYÜ · páginas de produto
   ========================================================== */

.btn--lg { --pad: 20px 34px; font-size: 15px; }

/* ---------- Hero ---------- */
.p-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.p-hero__fog {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 55% at 70% 50%, rgba(255, 106, 31, .2), transparent 65%),
    radial-gradient(35% 40% at 15% 85%, rgba(233, 205, 176, .06), transparent 70%);
}
.p-hero__boos { position: absolute; inset: 0; pointer-events: none; }
.boo {
  position: absolute; bottom: -40px; width: var(--s); opacity: 0;
  animation: booRise var(--t) linear var(--d) infinite;
}
.boo svg { width: 100%; fill: rgba(244, 239, 233, .08); }
@keyframes booRise {
  0% { transform: translate(0, 0) rotate(-6deg); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate(var(--x), -55vh) rotate(6deg); }
  88% { opacity: .8; }
  100% { transform: translate(0, -110vh) rotate(-6deg); opacity: 0; }
}

.p-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.crumb { display: inline-block; margin-bottom: 28px; font: 500 12px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.crumb:hover { color: var(--orange-soft); }
.p-hero__title { font: 900 clamp(46px, 7.6vw, 112px)/.95 var(--font-display); letter-spacing: -.035em; }
.p-hero__title .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.1em; }
.p-hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.p-hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .p-hero__title .line > span { transform: none; }
.p-hero__lead { margin-top: 26px; max-width: 440px; font-size: clamp(18px, 1.8vw, 22px); color: #d4cbc1; }
.p-hero__meta { margin-top: 26px; }
.rating { display: inline-flex; align-items: center; gap: 12px; }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 16px; }
.rating small { color: var(--muted); font-size: 13px; }
.p-hero__buy { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.price-tag small { display: block; font: 500 11px/1 var(--font-display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.price-tag strong { display: block; margin: 6px 0 4px; font: 800 38px/1 var(--font-display); letter-spacing: -.02em; }
.price-tag span { font-size: 13px; color: var(--muted); }

.p-hero__media { position: relative; justify-self: center; width: min(460px, 100%); }
.spot {
  position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 538 / 647;
  box-shadow: 0 50px 120px -30px rgba(255, 106, 31, .45), 0 0 0 1px rgba(255, 255, 255, .06);
  animation: floaty 6s ease-in-out infinite;
}
.spot img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9) contrast(1.05); }
.spot__light {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(260px circle at var(--lx, 50%) var(--ly, 40%), rgba(255, 190, 130, .9), transparent 70%);
}
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-14px) rotate(.6deg); } }
.p-hero__ring {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 1px dashed rgba(255, 106, 31, .25);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.tag {
  position: absolute; z-index: 2; padding: 10px 16px; border-radius: 999px;
  background: rgba(10, 9, 8, .72); backdrop-filter: blur(10px); border: 1px solid rgba(255, 106, 31, .35);
  font: 600 11px/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft);
  animation: floaty 7s ease-in-out infinite reverse;
}
.tag--a { top: 12%; left: -12%; }
.tag--b { bottom: 14%; right: -10%; animation-delay: -2s; }

/* ---------- História ---------- */
.story__text {
  max-width: 1050px;
  font: 700 clamp(26px, 3.6vw, 50px)/1.25 var(--font-display); letter-spacing: -.015em;
}
.story__text .w { color: rgba(244, 239, 233, .14); transition: color .4s; }
.story__text .w.is-on { color: var(--text); }
.story__text .w.is-hl.is-on { color: var(--orange); }

/* ---------- Detalhes ---------- */
.details__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.lens__frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 538 / 647; cursor: none;
  border: 1px solid var(--line);
}
.lens__frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.lens__glass {
  position: absolute; width: 190px; height: 190px; border-radius: 50%; pointer-events: none;
  left: 0; top: 0; transform: translate(var(--gx, -999px), var(--gy, -999px)) translate(-50%, -50%);
  border: 2px solid var(--orange); box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 30px rgba(255, 106, 31, .35);
  background-repeat: no-repeat;
  opacity: 0; transition: opacity .3s;
}
.lens__frame:hover .lens__glass { opacity: 1; }
.lens__hint { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 44px; background: var(--line); border-radius: 18px; overflow: hidden; }
.spec { background: var(--bg); padding: 26px 24px; }
.spec strong { display: block; font: 800 clamp(28px, 3vw, 40px)/1 var(--font-display); color: var(--orange-soft); font-variant-numeric: tabular-nums; }
.spec span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Perks ---------- */
.perks { padding-top: 0; }
.perks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk {
  position: relative; padding: 34px 30px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease);
}
.perk::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 31, .15), transparent 60%);
}
.perk:hover { border-color: rgba(255, 106, 31, .35); }
.perk:hover::before { opacity: 1; }
.perk svg { width: 40px; height: 40px; margin-bottom: 22px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.perk h3 { font: 700 19px/1.25 var(--font-display); margin-bottom: 10px; }
.perk p { color: var(--muted); font-size: 15px; }

/* ---------- Compra ---------- */
.buy { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); scroll-margin-top: 40px; }
#comprar { scroll-margin-top: 100px; }
.buy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: stretch; }

.stage {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; padding: 40px 40px 56px; border-radius: 28px;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(255, 106, 31, .2), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .04) 39px 40px);
  border: 1px solid var(--line); overflow: hidden;
}
.stage__ruler {
  position: absolute; left: 22px; top: 40px; bottom: 56px; width: 10px;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.3) 0 1px, transparent 1px 16px);
}
.stage__figures { display: flex; align-items: flex-end; gap: clamp(30px, 6vw, 70px); align-self: stretch; min-height: 330px; }
.stage__ref, .stage__fig { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stage__ref svg { height: 220px; width: auto; }
.stage__ref rect { fill: #1d1a17; stroke: rgba(255,255,255,.18); stroke-width: 1.5; }
.stage__ref rect.screen { fill: #0d0c0b; stroke: none; }
.stage small { font: 500 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.stage__fig small { color: var(--orange-soft); }
.stage__fig .fig { height: var(--gh, 220px); width: auto; overflow: visible; transition: height .8s var(--ease); transform-origin: 50% 100%; }
.stage__fig img.fig { max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.stage__ref svg { transition: height .8s var(--ease); }
.ghost-svg { animation: wobble 3.6s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-3px); } }
.ghost-svg .sheet { fill: var(--ghost, #d9d4cd); transition: fill .6s; }
.ghost-svg .belly { fill: var(--belly, #cfc9c1); transition: fill .6s; }
.ghost-svg .shorts { fill: var(--shorts, #bdb6ad); transition: fill .6s; }
.ghost-svg .leg { fill: var(--belly, #cfc9c1); transition: fill .6s; }
.ghost-svg .eye { fill: #0a0908; }
.ghost-svg .hand { fill: none; stroke: rgba(0,0,0,.15); stroke-width: 2; stroke-linecap: round; }
.ghost-svg .shadow { fill: rgba(0,0,0,.5); }
.knight-svg { animation: sway 5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.025) translateY(-2px); } }
.knight-svg .cape { fill: var(--cape, #1c1a19); transition: fill .6s; }
.knight-svg .suit { fill: var(--suit, #2b2927); transition: fill .6s; }
.knight-svg .belt { fill: var(--belt, #35322f); transition: fill .6s; }
.knight-svg .emblem { fill: var(--emblem, #35322f); transition: fill .6s; }
.knight-svg .base { fill: #24211f; stroke: rgba(255,255,255,.08); }
.knight-svg .eye { fill: rgba(255,255,255,.55); }
.knight-svg .shadow { fill: rgba(0,0,0,.5); }
.stage[data-finish="emblema"] { --emblem: #f2c230; }

.config {
  display: grid; gap: 26px; padding: clamp(26px, 3.4vw, 40px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line);
}
.opt { border: 0; }
.opt legend { margin-bottom: 12px; font: 600 12px/1 var(--font-display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.opt__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__ui {
  display: grid; gap: 4px; height: 100%; padding: 16px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(10, 9, 8, .5);
  transition: border-color .3s, background .3s, transform .4s var(--ease), box-shadow .3s;
}
.choice:hover .choice__ui { border-color: rgba(255, 106, 31, .35); transform: translateY(-2px); }
.choice input:checked + .choice__ui { border-color: var(--orange); background: rgba(255, 106, 31, .08); box-shadow: 0 0 0 3px rgba(255, 106, 31, .12); }
.choice input:focus-visible + .choice__ui { outline: 2px solid var(--orange); outline-offset: 2px; }
.choice__ui strong { font: 700 16px/1.2 var(--font-display); }
.choice__ui span { font-size: 13px; color: var(--muted); }
.choice__ui em { font-style: normal; font: 600 14px/1 var(--font-display); color: var(--orange-soft); margin-top: 6px; }

.config__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty__btn { width: 46px; height: 46px; background: none; border: 0; cursor: pointer; font-size: 20px; color: var(--text); transition: background .3s, color .3s; }
.qty__btn:hover { background: rgba(255, 106, 31, .12); color: var(--orange); }
.qty__val { min-width: 36px; text-align: center; font: 700 16px/1 var(--font-display); }
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font: 600 14px/1.2 var(--font-display); }
.toggle small { color: var(--muted); font-weight: 500; }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { position: relative; width: 46px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.1); transition: background .3s; flex: none; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: transform .4s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--orange); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--orange); outline-offset: 2px; }

.total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.total small { display: block; font: 500 11px/1 var(--font-display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.total strong { display: inline-block; margin: 8px 0 4px; font: 800 44px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.total strong.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); color: var(--orange-soft); } }
.total span { display: block; font-size: 13px; color: var(--muted); }
.total__lead { text-align: right; }
.total__lead b { color: var(--text); }
.config__note { min-height: 1.4em; margin-top: -10px; font-size: 14px; color: var(--orange-soft); text-align: center; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: -8px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative; list-style: none; cursor: pointer; padding: 26px 50px 26px 0;
  font: 700 clamp(17px, 1.6vw, 20px)/1.3 var(--font-display); transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--orange); font-size: 20px; font-weight: 400;
  transition: transform .4s var(--ease), background .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background: rgba(255, 106, 31, .1); }
.qa summary:hover { color: var(--orange-soft); }
.qa p { padding: 0 50px 26px 0; color: var(--muted); }
.qa[open] p { animation: qaIn .5s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 200px) 0; text-align: center; }
.final__boo {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none;
  font: 900 clamp(160px, 34vw, 520px)/1 var(--font-display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 106, 31, .14);
  animation: booPulse 5s ease-in-out infinite;
}
@keyframes booPulse { 50% { -webkit-text-stroke-color: rgba(255, 106, 31, .3); letter-spacing: -.03em; } }
.final__inner { position: relative; display: grid; justify-items: center; gap: 40px; }

/* ---------- Barra fixa ---------- */
.buybar {
  position: fixed; z-index: 60; left: 50%; bottom: 20px; translate: -50% 140%;
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; width: min(560px, calc(100% - 24px));
  border-radius: 999px; background: rgba(23, 20, 15, .82); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 106, 31, .25); box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transition: translate .6s var(--ease);
}
.buybar.is-on { translate: -50% 0; }
.buybar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.buybar__info { flex: 1; min-width: 0; line-height: 1.25; }
.buybar__info strong { display: block; font: 700 14px/1.2 var(--font-display); }
.buybar__info span { display: block; font-size: 13px; color: var(--orange-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.credit { max-width: 520px; text-align: center; }
.credit a { color: var(--orange-soft); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .p-hero__grid, .details__grid, .buy__grid, .faq__grid { grid-template-columns: 1fr; }
  .p-hero__media { width: min(400px, 85%); margin-top: 20px; }
  .perks__grid { grid-template-columns: 1fr; }
  .stage { min-height: 400px; }
}
@media (max-width: 560px) {
  .tag--a { left: -4%; }
  .tag--b { right: -4%; }
  .stage__figures { min-height: 280px; }
  .stage__ref svg { height: 180px; }
  .total__lead { text-align: left; }
  .specs { grid-template-columns: 1fr; }
}
