/* ==========================================================
   Camada cinematográfica
   ========================================================== */
:root {
  --night: #161D10;
  --night-2: #1F2817;
  --gold-grad-light: linear-gradient(110deg, #B08D4C 0%, #E6CC8A 22%, #FFF1C9 40%, #D2AE62 58%, #A9843F 76%, #EBD39A 90%, #B08D4C 100%);
  --hand: 'Caveat', 'Segoe Print', cursive;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Grão de filme */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; background: var(--gold-grad-light); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
    width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 1px solid rgba(217, 192, 138, .9); mix-blend-mode: difference;
    transition: width .35s, height .35s, margin .35s, background .35s, opacity .3s; opacity: 0;
  }
  .cursor.on { opacity: 1; }
  .cursor.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(217, 192, 138, .25); }
}

/* Loader */
.loader { background: var(--night); flex-direction: column; gap: 22px; display: flex; align-items: center; justify-content: center; }
.loader-mono { font-family: var(--script); font-size: 3.4rem; color: var(--gold-light); opacity: 0; animation: loaderIn 1.2s .1s ease forwards; }
.loader-line { width: 140px; height: 1px; background: rgba(217, 192, 138, .2); overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 40%; background: var(--gold-light); animation: loaderLine 1.1s ease-in-out infinite; }
@keyframes loaderIn { from { opacity: 0; letter-spacing: .3em; filter: blur(6px); } to { opacity: 1; letter-spacing: 0; filter: none; } }
@keyframes loaderLine { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* Envelope: zoom para dentro da carta */
.envelope.zoom { transition: transform 1.3s cubic-bezier(.7, 0, .2, 1); transform: translateY(18%) scale(1.15); }
.envelope.zoom .letter { transition: transform 1.3s cubic-bezier(.7, 0, .2, 1); transform: translateY(-58%) scale(4.5); z-index: 9; }
.intro.gone { transition: opacity .9s ease .25s, visibility .9s .25s; transform: none; }

/* Polaroid (capa e memórias) */
.polaroid {
  margin: 0; position: relative; background: #FBF7EE; padding: 7% 7% 24%;
  box-shadow: 0 28px 50px -18px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .25);
  transform: rotate(var(--r, 0deg));
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 5%; text-align: center;
  font-family: var(--hand); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.5rem); color: #4A4335; line-height: 1;
}
.polaroid::before {
  content: ''; position: absolute; top: -11px; left: 50%; width: 40%; height: 22px; z-index: 2;
  transform: translateX(-50%) rotate(-3deg); background: rgba(232, 214, 168, .72);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

/* ==========================================================
   Capa — colagem 3D
   ========================================================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: var(--paper);
  background: radial-gradient(ellipse at 50% 46%, #36442B 0%, #222B18 48%, var(--night) 100%);
  display: grid; place-items: center;
}
.hero-glow { position: absolute; left: 50%; top: 50%; width: 80vmax; height: 80vmax; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(226, 196, 127, .16), transparent 58%); pointer-events: none; }
.sparkles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.collage { position: absolute; inset: 0; z-index: 1; }
.ph { position: absolute; left: var(--x); top: var(--y); width: var(--w); will-change: transform; }
.ph-float { will-change: transform; }
.ph1 { --x: 5%; --y: 12%; --w: clamp(150px, 15vw, 250px); --r: -8deg; z-index: 2; }
.ph2 { --x: 13%; --y: 56%; --w: clamp(140px, 13.5vw, 230px); --r: 7deg; z-index: 3; }
.ph3 { --x: 79%; --y: 8%; --w: clamp(140px, 14vw, 235px); --r: 9deg; z-index: 2; }
.ph4 { --x: 72%; --y: 53%; --w: clamp(150px, 15vw, 255px); --r: -6deg; z-index: 3; }
.ph5 { --x: 27%; --y: 3%; --w: clamp(90px, 8.5vw, 140px); --r: 12deg; z-index: 1; opacity: .55; filter: blur(1.5px); }
.ph6 { --x: 68%; --y: 80%; --w: clamp(90px, 8.5vw, 140px); --r: -12deg; z-index: 1; opacity: .55; filter: blur(1.5px); }
.ph .polaroid { padding: 6% 6% 22%; }

.hero-inner { position: relative; z-index: 5; text-align: center; padding: 100px 20px; max-width: 760px; }
.hero-eyebrow { color: var(--gold-light); }
.hero-names { font-family: var(--script); font-weight: 400; line-height: .92; font-size: clamp(4.4rem, 10vw, 10rem); margin: 20px 0 6px; }
.hero-names .nm { display: block; padding: .06em .2em .14em; }
.hero-names .nm .gold-text { background-image: var(--gold-grad-light); padding: 0 .12em; }
.hero-names .amp { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .3em; color: var(--gold-light); margin: -.15em 0 -.2em; }
.hero-date {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .3em; font-size: .74rem; color: rgba(255, 253, 248, .88);
}
.hero-date i { width: 34px; height: 1px; background: rgba(217, 192, 138, .6); }
.hero-date .big { font-family: var(--serif); font-size: 3rem; letter-spacing: 0; font-weight: 300; color: #fff; line-height: 1; }
.hero-place { font-style: italic; color: rgba(255, 253, 248, .8); font-size: 1.2rem; margin-top: 10px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--sans); font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; text-decoration: none; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold-light), transparent); animation: drop 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero .scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5; color: var(--gold-light); }

@media (max-width: 760px) {
  .hero { place-items: start center; }
  .ph1 { --x: 30%; --y: 3.5%; --w: 40vw; --r: 2deg; z-index: 3; }
  .ph3 { --x: 3%; --y: 7%; --w: 33vw; --r: -11deg; z-index: 2; }
  .ph4 { --x: 64%; --y: 7.5%; --w: 33vw; --r: 10deg; z-index: 2; }
  .ph2 { --x: -7%; --y: 84%; --w: 28vw; --r: 12deg; opacity: .5; }
  .ph6 { --x: 79%; --y: 85%; --w: 28vw; --r: -10deg; opacity: .5; filter: none; }
  .ph5 { display: none; }
  .polaroid figcaption { font-size: .95rem; }
  .polaroid::before { height: 15px; top: -7px; }
  .hero-inner { padding: calc(4svh + 64vw) 16px 60px; }
  .hero-names { font-size: clamp(2.5rem, 11.8vw, 3.8rem); margin-top: 8px; white-space: nowrap; line-height: 1.15; }
  .hero-names .nm { display: inline-block; padding: .05em .02em .12em; }
  .hero-names .nm .gold-text { padding: 0 .08em; }
  .hero-names .amp { display: inline-block; font-size: .5em; margin: 0 .08em; vertical-align: .25em; }
  .hero-date { gap: 12px; letter-spacing: .22em; font-size: .64rem; }
  .hero-date i { width: 18px; }
  .hero-date .big { font-size: 2.4rem; }
  .hero-place { font-size: 1.05rem; }
  .hero-ctas { flex-wrap: nowrap; gap: 8px; margin-top: 22px; }
  .hero-ctas .btn { flex: 1 1 0; padding: 14px 6px; font-size: .6rem; letter-spacing: .14em; }
  .hero .scroll-cue { display: none; }
}

/* ==========================================================
   Faixa
   ========================================================== */
.marquee { background: var(--night); padding: 26px 0 30px; overflow: hidden; border-top: 1px solid rgba(217, 192, 138, .18); border-bottom: 1px solid rgba(217, 192, 138, .18); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-weight: 300; white-space: nowrap; font-size: clamp(3rem, 9vw, 7.5rem); line-height: 1.1; padding: 0 .35em; color: transparent; -webkit-text-stroke: 1px rgba(217, 192, 138, .75); }
.marquee-track span.fill { font-family: var(--script); font-style: normal; -webkit-text-stroke: 0; color: var(--gold-light); font-size: clamp(3.4rem, 10vw, 8.5rem); }
.marquee-track span.star { -webkit-text-stroke: 0; color: var(--gold); font-style: normal; font-size: clamp(1.6rem, 4vw, 3rem); align-self: center; }

/* ==========================================================
   Mensagem
   ========================================================== */
.welcome { overflow: hidden; padding: clamp(110px, 16vw, 200px) 0; }
.welcome .text { font-size: clamp(1.45rem, 3.6vw, 2.35rem); line-height: 1.45; font-weight: 300; max-width: 820px; margin: 26px auto 0; color: var(--ink); }
.scrub-words .w { opacity: .14; }
.no-motion .scrub-words .w { opacity: 1; }
.float { position: absolute; width: clamp(150px, 17vw, 240px); aspect-ratio: 3 / 4; z-index: 0; margin: 0; }
.float img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 50px -24px rgba(43, 54, 32, .55); }
.float::after { content: ''; position: absolute; inset: -9px; border: 1px solid var(--line); pointer-events: none; }
.float-a { left: 4%; top: 12%; transform: rotate(-6deg); }
.float-a img { border-radius: 999px 999px 4px 4px; }
.float-a::after { border-radius: 999px 999px 8px 8px; }
.float-b { right: 4%; bottom: 10%; transform: rotate(5deg); }
.welcome .container { position: relative; z-index: 1; }
@media (max-width: 1100px) { .float { opacity: .22; } }
@media (max-width: 700px) { .float { width: 120px; opacity: .16; } .float-a { top: 4%; left: -30px; } .float-b { bottom: 3%; right: -30px; } }

/* ==========================================================
   O que te espera — janela que se abre
   ========================================================== */
.party { position: relative; background: var(--night); color: var(--paper); }
.party-pin { height: 100svh; position: relative; overflow: hidden; display: grid; place-items: center; }
.party-words {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(3.4rem, 12vw, 11rem); line-height: .95;
  color: transparent; -webkit-text-stroke: 1px rgba(217, 192, 138, .45); text-align: center; z-index: 0; white-space: nowrap;
}
.party-frame { position: absolute; inset: 0; z-index: 1; clip-path: inset(24% 39% 24% 39% round 999px 999px 14px 14px); will-change: clip-path; }
.party-frame .party-bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.3) brightness(.85) contrast(1.05); transform: scale(1.3); will-change: transform; }
.party-arch { position: absolute; left: 39%; right: 39%; top: 24%; bottom: 24%; overflow: hidden; will-change: opacity, transform; }
.party-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 760px) { .party-arch { left: 22%; right: 22%; top: 26%; bottom: 26%; } }
.party-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(22, 29, 16, .55), rgba(22, 29, 16, .92) 80%); opacity: 0; }
.party-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; max-width: 1120px; width: 100%; }
.party-content .eyebrow { color: var(--gold-light); }
.party-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1; margin-top: 14px; }
.party-title em { font-family: var(--script); font-style: normal; font-size: 1.15em; padding: 0 .15em; background-image: var(--gold-grad-light); }
.party-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 36px); margin-top: clamp(26px, 5vh, 50px); }
.pi { padding: 26px 18px 10px; border-top: 1px solid rgba(217, 192, 138, .45); }
.pi-ico { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; border: 1px solid rgba(217, 192, 138, .65); color: var(--gold-light); background: rgba(22, 29, 16, .35); }
.pi-ico .ico { width: 28px; height: 28px; }
.pi h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; }
.pi p { color: rgba(255, 253, 248, .78); font-size: 1.05rem; margin-top: 6px; }
.js-motion .party-content > *, .js-motion .pi { opacity: 0; }
@media (max-width: 760px) {
  .party-frame { clip-path: inset(26% 22% 26% 22% round 999px 999px 14px 14px); }
  .party-items { grid-template-columns: 1fr; gap: 0; }
  .pi { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; text-align: left; align-items: center; padding: 14px 0; }
  .pi-ico { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .pi-ico .ico { width: 22px; height: 22px; }
  .pi h3 { font-size: 1.6rem; }
  .pi p { margin: 0; font-size: .98rem; }
}

/* ==========================================================
   Memórias — mesa de polaroids
   ========================================================== */
.memories { position: relative; color: var(--paper); background: radial-gradient(ellipse at 50% 45%, #3A4728 0%, #262F1C 55%, var(--night) 100%); }
.memories::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 7px); pointer-events: none; }
.mem-pin { height: 100svh; position: relative; overflow: hidden; }
.mem-head { position: absolute; top: 6vh; left: 0; right: 0; text-align: center; z-index: 1; pointer-events: none; padding: 0 16px; }
.mem-head .eyebrow { color: var(--gold-light); }
.mem-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; margin-top: 10px; }
.mem-head h2 em { font-family: var(--script); font-style: normal; font-size: 1.15em; padding: 0 .15em; background-image: var(--gold-grad-light); }
.mem-hint { font-family: var(--hand); font-size: 1.35rem; color: rgba(255, 253, 248, .6); margin-top: 4px; }
.mem-table { position: absolute; inset: 0; z-index: 2; }
.mp { position: absolute; left: var(--x); top: var(--y); width: clamp(130px, 14.5vw, 215px); cursor: grab; will-change: transform; }
.mp:active { cursor: grabbing; }
.mp .polaroid { padding: 6% 6% 22%; transition: box-shadow .3s; }
.mp.lifted .polaroid { box-shadow: 0 50px 70px -20px rgba(0, 0, 0, .75); }
@media (max-width: 760px) { .mp { width: 36vw; } .mem-hint { font-size: 1.15rem; } }
.no-motion .mem-pin { height: auto; padding: 100px 0 60px; }
.no-motion .mem-head { position: relative; top: 0; }
.no-motion .mem-table { position: relative; display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; padding: 30px 16px; }
.no-motion .mp { position: relative; left: auto; top: auto; }

/* ==========================================================
   Contagem
   ========================================================== */
.cd-sec { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; color: var(--paper); background: var(--night); }
.cd-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) brightness(.75) contrast(1.05); transform: scale(1.1); }
.cd-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(35, 44, 25, .55), rgba(22, 29, 16, .92) 75%), rgba(63, 77, 44, .35); mix-blend-mode: multiply; }
.cd-sec::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night), transparent 18%, transparent 80%, var(--ivory)); pointer-events: none; }
.cd-inner { position: relative; z-index: 2; padding: 120px 20px; }
.cd-sec .eyebrow { color: var(--gold-light); }
.cd-sec .section-title { color: var(--paper); font-size: clamp(3rem, 8vw, 5.6rem); }
.cd-sec .countdown { display: flex; justify-content: center; gap: clamp(10px, 3vw, 40px); margin-top: 40px; }
.cd-sec .cd-item { width: auto; min-width: clamp(70px, 17vw, 150px); padding: 0; border: 0; background: none; }
.cd-sec .cd-item::before { display: none; }
.cd-sec .cd-item + .cd-item { border-left: 1px solid rgba(217, 192, 138, .3); }
.cd-sec .cd-num { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 10vw, 7.5rem); line-height: 1; display: block; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.cd-sec .cd-lbl { font-family: var(--sans); font-size: clamp(.55rem, 1.6vw, .7rem); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.cd-num.tick { animation: tick .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes tick { from { transform: translateY(-30%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }

/* ==========================================================
   Onde & quando
   ========================================================== */
.venue { display: grid; grid-template-columns: 1fr 1.1fr; margin: 50px auto 0; max-width: 1040px; background: var(--paper); box-shadow: 0 40px 80px -40px rgba(43, 54, 32, .55); text-align: left; position: relative; }
.venue::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; z-index: 2; }
.venue-info { padding: clamp(34px, 5vw, 64px); }
.venue-day { font-family: var(--sans); text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--gold-deep); }
.venue-date { font-family: var(--script); font-size: clamp(3.2rem, 6vw, 4.8rem); color: var(--moss); line-height: 1.15; margin-top: 4px; }
.venue-time { font-size: 1.5rem; font-style: italic; color: var(--ink); }
.venue-sep { width: 60px; height: 1px; background: var(--gold); margin: 24px 0; }
.venue-name { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1.1; }
.venue-addr { color: var(--muted); font-size: 1.1rem; margin-top: 4px; }
.venue-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 3; }
.venue-btns .btn { margin: 0; }
.venue-btns .btn .ico { width: 15px; height: 15px; }
.venue-dress { margin-top: 24px; display: flex; gap: 10px; align-items: center; color: var(--moss); font-size: 1.1rem; }
.venue-dress .ico { color: var(--gold); }
.venue-map { position: relative; min-height: 440px; overflow: hidden; }
.map-frame { position: absolute; inset: 0; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.45) sepia(.3) contrast(.95) brightness(1.02); position: relative; z-index: 3; }
@media (max-width: 820px) { .venue { grid-template-columns: 1fr; } .venue-map { min-height: 300px; } }

.rsvp { will-change: clip-path; }

/* ==========================================================
   Presentes divertidos
   ========================================================== */
.gifts { position: relative; z-index: 1; }
.gift-stats { margin: 18px auto 0; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--moss); color: var(--paper); font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; }
.gift-stats b { color: var(--gold-light); font-weight: 500; }
.gift-tools { display: flex; justify-content: center; margin-top: 30px; }
.spin-cta {
  display: flex; align-items: center; gap: 14px; padding: 12px 26px 12px 12px; border-radius: 999px; text-align: left;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(43, 54, 32, .6);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.spin-cta:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 24px 50px -22px rgba(43, 54, 32, .7); }
.spin-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--moss); display: grid; place-items: center; font-size: 1.6rem; animation: spinSlow 8s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.spin-cta strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.spin-cta small { font-family: var(--sans); font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

.gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px; margin-top: 44px; text-align: left; }
.gcard {
  position: relative; aspect-ratio: 4 / 5.3; border-radius: 6px; overflow: hidden; background: #1A2112; color: #fff;
  box-shadow: 0 26px 50px -28px rgba(43, 54, 32, .85); transition: transform .5s var(--ease), box-shadow .5s; isolation: isolate;
}
.gcard:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 36px 60px -26px rgba(43, 54, 32, .9); }
.gcard:nth-child(even):hover { transform: translateY(-8px) rotate(.6deg); }
.gcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -2; }
.gcard:hover > img { transform: scale(1.08); }
.g-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 26, 14, .35) 0%, rgba(20, 26, 14, 0) 26%, rgba(20, 26, 14, .55) 56%, rgba(20, 26, 14, .97) 100%); }
.g-emoji { position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); transform: rotate(10deg); transition: transform .6s var(--ease); }
.gcard:hover .g-emoji { transform: rotate(-12deg) scale(1.15); }
.g-price { position: absolute; top: 18px; left: 16px; padding: 7px 13px; border-radius: 999px; background: rgba(20, 26, 14, .55); backdrop-filter: blur(8px); border: 1px solid rgba(217, 192, 138, .55); color: var(--gold-light); font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .04em; }
.g-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px 18px; }
.g-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.08; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.g-body p { font-size: 1rem; line-height: 1.35; color: rgba(255, 253, 248, .82); margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.gcard:hover .g-body p, .gcard:focus-within .g-body p { max-height: 140px; opacity: 1; }
@media (hover: none) { .g-body p { max-height: none; opacity: 1; } }
.g-add { width: 100%; margin-top: 14px; }
.gcard .in-cart { position: absolute; top: 78px; right: 12px; background: var(--gold-grad); color: #2E2410; font-family: var(--sans); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; z-index: 2; }
.gcard.custom { background: radial-gradient(circle at 50% 30%, #56663D, #2B3620); }
.gcard.custom .g-big { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); font-size: 5rem; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -10px) rotate(6deg); } }
.gcard.custom .money-input { border-color: rgba(217, 192, 138, .5); background: rgba(255, 253, 248, .08); margin-top: 12px; }
.gcard.custom .money-input span, .gcard.custom .money-input input { color: #fff; }
.gcard.custom .money-input input::placeholder { color: rgba(255, 253, 248, .45); }
.gcard.custom .g-body p { max-height: none; opacity: 1; }

.burst { position: fixed; z-index: 96; pointer-events: none; font-size: 1.6rem; left: 0; top: 0; will-change: transform, opacity; }

/* Mural de carinho */
.wall { margin-top: 80px; }
.wall .eyebrow { display: block; }
.wall-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 8px; }
.wall-title em { font-family: var(--script); font-style: normal; font-size: 1.15em; padding: 0 .15em; }
.wall-track { display: flex; gap: 22px; overflow-x: auto; padding: 30px 6px 34px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.note {
  flex: none; width: 250px; min-height: 170px; background: #FFF8E2; padding: 26px 20px 16px; text-align: left; position: relative;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); transform: rotate(var(--r)); scroll-snap-align: start;
  font-family: var(--hand); font-size: 1.4rem; line-height: 1.15; color: #3D382C;
  background-image: repeating-linear-gradient(transparent 0 27px, rgba(176, 141, 76, .18) 27px 28px);
}
.note::before { content: ''; position: absolute; top: -8px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%) rotate(2deg); background: rgba(154, 166, 127, .6); }
.note .who { font-family: var(--sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-top: 14px; }
.note .what { font-family: var(--sans); font-size: .72rem; color: var(--muted); margin-top: 4px; }

/* Roleta */
.wheel-modal { position: fixed; inset: 0; z-index: 105; background: rgba(18, 23, 12, .82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.wheel-modal.show { opacity: 1; visibility: visible; }
.wheel-card { background: var(--ivory); border-radius: 20px; width: min(470px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; padding: 30px 22px 24px; text-align: center; position: relative; transform: translateY(20px) scale(.96); transition: transform .5s var(--ease); }
.wheel-modal.show .wheel-card { transform: none; }
.wheel-card h3 { font-family: var(--serif); font-weight: 300; font-size: 2.3rem; margin-top: 4px; }
.wheel-card h3 em { font-family: var(--script); font-style: normal; font-size: 1.15em; }
.wm-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--moss); }
.wheel-wrap { position: relative; width: min(330px, 78vw); aspect-ratio: 1; margin: 24px auto 14px; }
.wheel { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(43, 54, 32, .35)); }
.wheel text { font-size: 17px; dominant-baseline: middle; text-anchor: middle; }
.wheel-pointer { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 28px solid var(--gold-deep); z-index: 2; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.wheel-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 27%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-grad); color: #2E2410; font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; box-shadow: 0 0 0 6px var(--ivory), 0 8px 18px rgba(0, 0, 0, .3); }
.wheel-hub[disabled] { opacity: .7; }
.wheel-result { min-height: 30px; }
.wr { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--paper); padding: 12px; border-radius: 14px; border: 1px solid var(--line); animation: pop .7s var(--ease) both; }
.wr img { width: 76px; height: 96px; object-fit: cover; border-radius: 8px; flex: none; }
.wr h4 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.1; }
.wr .p { color: var(--moss); font-weight: 500; margin-top: 2px; }
.wr-actions { display: flex; gap: 8px; margin-top: 12px; }
.wr-actions .btn { flex: 1; padding: 13px 10px; }

/* ==========================================================
   Final
   ========================================================== */
.finale { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--paper); background: var(--night); }
.finale-media { position: absolute; inset: -12% 0; }
.finale-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: grayscale(.25) brightness(.85); will-change: transform; }
.finale-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ivory) 0%, rgba(22, 29, 16, .25) 14%, rgba(22, 29, 16, .45) 55%, rgba(22, 29, 16, .95) 100%); }
.finale-inner { position: relative; z-index: 2; padding: 120px 20px 0; align-self: end; margin-bottom: 7vh; }
.finale-script { font-family: var(--script); font-size: clamp(4rem, 14vw, 10rem); line-height: 1.1; padding: 0 .2em; background-image: var(--gold-grad-light); }
.finale-names { font-size: clamp(1.3rem, 3vw, 1.8rem); font-style: italic; color: rgba(255, 253, 248, .85); margin: 6px 0 14px; }
.finale .eyebrow { color: var(--gold-light); }
.footer { background: var(--night); color: rgba(255, 253, 248, .6); padding: 50px 20px 90px; }
.footer p { color: rgba(255, 253, 248, .55); }

/* ==========================================================
   Foto ampliada
   ========================================================== */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(18, 23, 12, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.show { opacity: 1; visibility: visible; }
.lb-fig { margin: 0; max-width: 92vw; max-height: 86svh; transform: scale(.94); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.lightbox.show .lb-fig { transform: none; }
.lb-fig img { max-width: 92vw; max-height: 86svh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); border: 1px solid rgba(217, 192, 138, .5); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; color: var(--gold-light); font-size: 2.2rem; line-height: 1; border: 1px solid rgba(217, 192, 138, .4); display: grid; place-items: center; padding-bottom: 4px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: 22px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

.details { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .grain, .spin-ico, .gcard.custom .g-big { animation: none; }
  .js-motion .party-content > *, .js-motion .pi { opacity: 1; }
}

@media (max-width: 560px) { .gift-grid { grid-template-columns: 1fr; gap: 20px; } .gcard { aspect-ratio: 4 / 4.4; } }

/* ==========================================================
   Presentes no formato de meme
   ========================================================== */
.mcard {
  position: relative; background: #fff; padding: 10px 10px 0; border-radius: 4px; text-align: left;
  box-shadow: 0 24px 46px -26px rgba(43, 54, 32, .75), 0 1px 3px rgba(0, 0, 0, .08);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.mcard:nth-child(3n+1) { transform: rotate(-.8deg); }
.mcard:nth-child(3n+2) { transform: rotate(.6deg); }
.mcard:hover { transform: translateY(-8px) rotate(0deg); box-shadow: 0 34px 60px -26px rgba(43, 54, 32, .85); }
.meme { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #111; }
.meme img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.mcard:hover .meme img { transform: scale(1.05); }
.meme-t {
  position: absolute; left: 6px; right: 6px; text-align: center; z-index: 1;
  font-family: 'Anton', Impact, 'Arial Black', sans-serif; text-transform: uppercase; color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.05; letter-spacing: .01em;
  -webkit-text-stroke: 1.6px #000; paint-order: stroke fill;
  text-shadow: 2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000, 0 3px 8px rgba(0, 0, 0, .6);
}
.meme-t.top { top: 8px; }
.meme-t.bottom { bottom: 10px; }
.mcard .g-emoji { top: auto; bottom: 50%; right: -6px; width: 46px; height: 46px; font-size: 1.4rem; transform: translateY(50%) rotate(10deg); opacity: 0; transition: opacity .4s, transform .5s var(--ease); }
.mcard:hover .g-emoji { opacity: 1; transform: translateY(50%) rotate(-10deg) scale(1.1); }
.m-info { padding: 14px 6px 16px; }
.m-info h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.12; color: var(--ink); }
.m-info p { color: var(--muted); font-size: .98rem; line-height: 1.35; margin-top: 4px; }
.m-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.m-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--moss); white-space: nowrap; }
.m-foot .btn { padding: 11px 16px; }
.mcard .in-cart { position: absolute; top: 18px; right: 18px; background: var(--gold-grad); color: #2E2410; font-family: var(--sans); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; z-index: 3; }

/* Vídeo do meme */
.meme-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff;
}
.meme-play .mp-ico {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; padding-left: 5px;
  background: rgba(20, 26, 14, .55); backdrop-filter: blur(6px); border: 2px solid rgba(255, 255, 255, .85);
  font-size: 1.5rem; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); transition: transform .35s var(--ease), background .35s;
}
.meme-play .mp-lbl { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); }
.meme-play:hover .mp-ico { transform: scale(1.12); background: var(--moss); }
.meme-play .mp-ico { animation: pulsePlay 2.2s ease-in-out infinite; }
@keyframes pulsePlay { 50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, .12), 0 10px 26px rgba(0, 0, 0, .45); } }
.meme.playing .meme-t, .meme.playing .meme-play, .meme.playing .g-emoji { display: none; }

/* Player minimalista (esconde a interface do YouTube) */
.mplayer { position: absolute; inset: 0; z-index: 4; background: #0d110a; overflow: hidden; }
.mp-stage { position: absolute; left: 0; right: 0; top: -64px; bottom: -64px; pointer-events: none; }
.mp-stage iframe, .mp-stage video, .mp-stage .mp-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mp-stage video { object-fit: contain; top: 64px; bottom: 64px; height: calc(100% - 128px); background: #000; }
.mp-hit { position: absolute; inset: 0 0 46px; z-index: 2; cursor: pointer; }
.mp-poster {
  position: absolute; inset: 0; z-index: 3; background: #111 center / cover no-repeat; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; cursor: pointer;
}
.mp-poster::before { content: ''; position: absolute; inset: 0; background: rgba(13, 17, 10, .35); }
.mplayer.paused .mp-poster, .mplayer.loading .mp-poster { opacity: 1; visibility: visible; }
.mplayer.loading .mp-poster { cursor: progress; }
.mp-big {
  position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px;
  color: #fff; font-size: 1.4rem; background: rgba(20, 26, 14, .6); border: 2px solid rgba(255, 255, 255, .85); backdrop-filter: blur(6px);
}
.mplayer.loading .mp-big { display: none; }
.mp-err { position: relative; color: #fff; font-family: var(--sans); font-size: .85rem; text-align: center; padding: 0 16px; }
.mp-spin { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; z-index: 4; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--gold-light); animation: spin .9s linear infinite; display: none; }
.mplayer.loading .mp-spin { display: block; }
.mp-unmute { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font-family: var(--sans); font-size: .72rem; cursor: pointer; white-space: nowrap; }
.mp-bar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 5; display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 999px; background: rgba(13, 17, 10, .72); backdrop-filter: blur(8px); color: #fff;
}
.mp-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; color: #fff; flex: none; transition: background .2s; }
.mp-btn:hover { background: rgba(255, 255, 255, .15); }
.mp-track { flex: 1; height: 16px; display: flex; align-items: center; cursor: pointer; position: relative; }
.mp-track::before { content: ''; position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.mp-track i { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--gold-light); transform-origin: 0 50%; transform: scaleX(0); }
.mp-time { font-family: var(--sans); font-size: .68rem; font-variant-numeric: tabular-nums; opacity: .85; min-width: 34px; text-align: right; }
/* Presente em nome do acompanhante */
.companion { margin: 18px 0 6px; padding: 16px 16px 14px; border-radius: 14px; background: linear-gradient(150deg, #FBF3E2, #F4EAD3); border: 1px solid var(--line); }
.cp-title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.cp-title b { color: var(--moss); }
.cp-sub { font-size: .95rem; color: var(--muted); margin-top: 4px; }
.cp-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.cp-opts button {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line); font-family: var(--sans); font-size: .78rem; font-weight: 500; color: var(--moss);
  transition: all .25s var(--ease);
}
.cp-opts button small { font-size: .66rem; font-weight: 400; color: var(--muted); }
.cp-opts button:hover { border-color: var(--gold); transform: translateY(-2px); }
.cp-opts button.on { background: var(--moss); border-color: var(--moss); color: #fff; }
.cp-opts button.on small { color: var(--gold-light); }
.cp-none { margin-top: 10px; }
.cart-item.extra h4 { color: var(--moss); }
.cart-item.extra .unit { font-style: italic; }

.drawer-foot .companion { margin: 0 0 14px; padding: 12px 12px 10px; }
.drawer-foot .cp-title { font-size: 1.05rem; }
.drawer-foot .cp-sub { font-size: .85rem; margin-top: 2px; }
.drawer-foot .cp-opts { margin-top: 8px; }
.drawer-foot .cp-none { margin-top: 6px; }

/* Carrinho rola por inteiro (itens + sugestão + formulário) */
.drawer { overflow-y: auto; overscroll-behavior: contain; }
.drawer-head { position: sticky; top: 0; z-index: 2; background: var(--ivory); }
.drawer-body { flex: none; overflow: visible; }
.drawer-foot { flex: none; }

/* Escolha da forma de pagamento + taxa do cartão */
.pm-q { font-family: var(--serif); font-size: 1.35rem; margin: 2px 0 12px; }
.pm-list { display: flex; flex-direction: column; gap: 10px; }
.pm {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; text-align: left;
  padding: 16px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: all .25s var(--ease);
}
.pm:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(43, 54, 32, .6); }
.pm-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--moss); color: var(--gold-light); }
.pm-ico .ico { width: 20px; height: 20px; }
.pm-txt b { display: block; font-family: var(--sans); font-weight: 500; font-size: .95rem; color: var(--ink); }
.pm-txt small { font-size: .9rem; color: var(--muted); line-height: 1.3; }
.pm-val { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--moss); white-space: nowrap; }
.pm-tag { position: absolute; top: -9px; right: 12px; background: var(--gold-grad); color: #2E2410; font-family: var(--sans); font-size: .62rem; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; }
.pm-back { margin-bottom: 12px; }
.fee-note { background: linear-gradient(150deg, #FBF3E2, #F4EAD3); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 10px; margin-bottom: 14px; }
.fee-joke { font-family: var(--hand); font-size: 1.45rem; line-height: 1.15; color: var(--moss); }
.fee-lines { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-top: 10px; font-size: .98rem; color: var(--muted); }
.fee-lines b { color: var(--ink); font-weight: 600; border-top: 1px dashed var(--line); padding-top: 6px; }
.fee-pix { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.fee-pix .link-btn { color: var(--moss); text-decoration: underline; font-size: .62rem; }

/* ==========================================================
   Categorias de presentes: normais, especiais e master
   ========================================================== */
.perk-banner {
  display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 26px auto 0; padding: 14px 18px; text-align: left;
  border-radius: 18px; text-decoration: none; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #2B3620, #3F4D2C 50%, #2B3620); box-shadow: 0 18px 40px -22px rgba(43, 54, 32, .9);
  border: 1px solid rgba(217, 192, 138, .55);
}
.perk-banner::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 241, 201, .35) 50%, transparent 70%);
  transform: translateX(-100%); animation: sweep 3.6s ease-in-out infinite;
}
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.pb-gift { font-size: 2rem; animation: bob2 2s ease-in-out infinite; flex: none; }
@keyframes bob2 { 50% { transform: translateY(-5px) rotate(-8deg); } }
.pb-txt { flex: 1; }
.pb-txt b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-light); line-height: 1.15; }
.pb-txt small { font-size: .9rem; color: rgba(255, 253, 248, .8); }
.pb-go { flex: none; font-family: var(--sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: var(--gold-grad); color: #2E2410; }

.tier { margin-top: 90px; position: relative; border-radius: 26px; padding: clamp(34px, 5vw, 60px) clamp(16px, 3vw, 40px); }
.tier-head { text-align: center; margin-bottom: 34px; position: relative; z-index: 1; }
.tier-head h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; margin-top: 12px; }
.tier-head h3 em { font-family: var(--script); font-style: normal; font-size: 1.15em; padding: 0 .15em; background-image: var(--gold-grad-light); }
.tier-ribbon { display: inline-block; font-family: var(--sans); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; background: var(--gold-grad); color: #2E2410; }
.tier-perk { margin: 14px auto 0; max-width: 560px; font-size: 1.12rem; }
.tier .gift-grid { margin-top: 0; }

/* Especiais */
.tier-premium { background: radial-gradient(ellipse at 50% 0%, #4A5A34, #2B3620 70%); color: var(--paper); box-shadow: 0 40px 80px -40px rgba(43, 54, 32, .8); }
.tier-premium::before { content: ''; position: absolute; inset: 10px; border-radius: 18px; border: 1px solid rgba(217, 192, 138, .45); pointer-events: none; }
.tier-premium .tier-perk { color: rgba(255, 253, 248, .85); }
.tier-premium .gift-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; }
.mcard.premium, .gcard.premium { box-shadow: 0 0 0 2px var(--gold-light), 0 30px 60px -26px rgba(0, 0, 0, .7); }
.mcard.premium:hover, .gcard.premium:hover { box-shadow: 0 0 0 2px var(--gold-light), 0 0 40px rgba(226, 196, 127, .35), 0 36px 60px -26px rgba(0, 0, 0, .75); }

.perk-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 6; white-space: nowrap;
  font-family: var(--sans); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  padding: 7px 14px; border-radius: 999px; background: var(--gold-grad); color: #2E2410; box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse { 50% { box-shadow: 0 0 0 6px rgba(226, 196, 127, .25), 0 8px 18px rgba(0, 0, 0, .3); } }
.gcard.premium { overflow: visible; }
.gcard.premium > img, .gcard.premium .g-shade { border-radius: 6px; }

/* Master */
.tier-master { background: radial-gradient(ellipse at 50% 30%, #2E3A20, #11160B 75%); color: var(--paper); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9); }
.tier-master::before {
  content: ''; position: absolute; inset: -40%; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 20%, rgba(226, 196, 127, .5) 25%, transparent 30% 70%, rgba(226, 196, 127, .5) 75%, transparent 80%);
  animation: spinSlow 9s linear infinite;
}
.tier-master::after { content: ''; position: absolute; inset: 3px; border-radius: 24px; background: radial-gradient(ellipse at 50% 20%, #2E3A20, #11160B 75%); z-index: 0; }
.tier-master > * { position: relative; z-index: 1; }
.tier-master .tier-perk { color: rgba(255, 253, 248, .85); }
.tier-crown { display: block; font-size: 3.4rem; line-height: 1; margin-bottom: 8px; animation: bob2 2.6s ease-in-out infinite; filter: drop-shadow(0 8px 20px rgba(226, 196, 127, .5)); }

.master-card {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; max-width: 920px; margin: 0 auto;
  background: var(--paper); color: var(--ink); border-radius: 16px; overflow: hidden; text-align: left;
  box-shadow: 0 0 0 2px var(--gold-light), 0 0 60px rgba(226, 196, 127, .3), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.mc-glow { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: linear-gradient(110deg, transparent 35%, rgba(255, 241, 201, .4) 50%, transparent 65%); transform: translateX(-100%); animation: sweep 4.5s ease-in-out infinite; }
.mc-media { position: relative; min-height: 340px; }
.mc-media .meme { position: absolute; inset: 0; aspect-ratio: auto; }
.mc-media .meme-t { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.mc-info { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.perk-badge.big { position: static; transform: none; align-self: flex-start; font-size: .7rem; }
.mc-info h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; margin-top: 6px; }
.mc-info p { color: var(--muted); font-size: 1.08rem; }
.mc-price { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; margin-top: 8px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-sub { color: var(--muted); font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; }
.mc-btn { margin-top: 14px; align-self: flex-start; padding: 17px 28px; }
.master-card .in-cart { position: absolute; top: 14px; right: 14px; z-index: 4; background: var(--gold-grad); color: #2E2410; font-family: var(--sans); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 760px) {
  .master-card { grid-template-columns: 1fr; }
  .mc-media { min-height: 0; aspect-ratio: 1 / 1; }
  .mc-btn { align-self: stretch; }
  .perk-banner { flex-wrap: wrap; }
  .pb-go { margin-left: 46px; }
}

.perk-won { margin: 16px auto 0; max-width: 340px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(150deg, #FBF3E2, #F4EAD3); border: 1px solid var(--gold-light); color: var(--moss); font-size: 1.05rem; }
