/* ============================================
   MOUNJARO NATURAL — Camada premium
   (componentes novos + acabamento)
   ============================================ */
:root {
  --gold-grad: linear-gradient(135deg, #F5DDB8 0%, #D4A574 45%, #B9875A 100%);
  --hairline: rgba(232, 201, 160, 0.16);
  --card-premium: linear-gradient(160deg, rgba(44, 30, 66, 0.85), rgba(22, 15, 34, 0.92));
  --shadow-premium: 0 18px 40px -18px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ---------- acabamento geral ---------- */
.streak-card, .progress-mini, .guarantee-mini, .testimonial-card, .chapter-card,
.ranking-card, .community-testimonial, .biblioteca-program, .locked-card, .upsell-card {
  border-color: var(--hairline) !important;
  box-shadow: var(--shadow-premium);
}
.section-title__overline { letter-spacing: 0.18em; }
.upsell-card__img { background-color: #1A1228; }
.mini-avatar { background-size: cover !important; background-position: center !important; }

.mn-over {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--rose-gold);
}
.mn-sub {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin: 22px 0 10px;
}
.mn-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 10px; line-height: 1.5; text-align: center; }
.mn-testmode {
  font-size: 0.66rem; letter-spacing: 0.06em; color: #FCD34D;
  background: rgba(252, 211, 77, 0.08); border: 1px dashed rgba(252, 211, 77, 0.35);
  padding: 8px 10px; border-radius: 10px; margin-top: 14px; text-align: center; line-height: 1.5;
}
.mn-chip {
  padding: 8px 14px; border-radius: 999px; font-size: 0.78rem;
  background: rgba(var(--tint), 0.04); border: 1px solid var(--glass-border); color: var(--text-secondary);
  transition: all .2s;
}
.mn-chip.on { background: var(--grad-primary); color: #fff; border-color: transparent; }
.mn-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: #fff;
  animation: mnSpin .8s linear infinite; display: inline-block;
}
@keyframes mnSpin { to { transform: rotate(360deg); } }
.btn--full + .btn--full { margin-top: 10px; }
.btn svg { flex-shrink: 0; }

/* ---------- chip de créditos ---------- */
.home-header { gap: 10px; }
.home-greeting { flex: 1; }
.credit-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(168, 85, 247, 0.18));
  border: 1px solid rgba(232, 201, 160, 0.35);
  color: var(--rose-gold-light); font-weight: 700; font-size: 0.82rem;
  box-shadow: 0 0 18px -6px rgba(212, 165, 116, 0.6);
}
.credit-chip:empty { display: none; }
.credit-chip--low { border-color: rgba(248, 113, 113, 0.6); color: #FCA5A5; box-shadow: 0 0 18px -6px rgba(248, 113, 113, .7); }

/* ---------- carrossel do sorteio ---------- */
#sorteioCarousel { margin: 0 20px 14px; }
.sc-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sc-track::-webkit-scrollbar { display: none; }
.sc-item {
  position: relative; flex: 0 0 100%; scroll-snap-align: center; overflow: hidden;
  border-radius: 22px; cursor: pointer;
}
.sc-slide {
  height: 186px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center; border-radius: 22px;
  border: 1px solid rgba(232, 201, 160, 0.35);
  box-shadow: inset 0 0 0 1px rgba(var(--tint), .04), 0 20px 40px -20px rgba(0,0,0,.8);
}
.sc-slide h3 { font-family: 'Playfair Display', serif; font-size: 1.22rem; line-height: 1.25; margin: 6px 0 4px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.sc-slide p { font-size: 0.78rem; color: rgba(255,255,255,.78); }
.sc-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: .16em; padding: 5px 10px; border-radius: 999px;
  background: var(--gold-grad); color: #2A1A0C;
}
.sc-cta { margin-top: 10px; font-size: 0.8rem; font-weight: 700; color: var(--rose-gold-light); }
.sc-slide--numbers {
  justify-content: center; align-items: center; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(168,85,247,.45), rgba(var(--base), .95) 70%);
}
.sc-slide--numbers .sc-tag { align-self: center; }
.sc-nums { display: flex; gap: 7px; margin: 16px 0 10px; }
.sc-num {
  min-width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  font-family: 'Playfair Display', serif; font-size: 1.02rem; font-weight: 700;
  background: var(--gold-grad); color: #2A1A0C; box-shadow: 0 8px 20px -8px rgba(212,165,116,.8);
}
.sc-num--hidden { background: linear-gradient(145deg, #3B2560, #1F1433); color: var(--rose-gold-light); border: 1px solid rgba(232,201,160,.4); }
.sc-slide--count { justify-content: center; }
.sc-days { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; }
.sc-days strong { font-family: 'Playfair Display', serif; font-size: 3rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sc-days span { font-size: .85rem; color: var(--text-secondary); }
.sc-shine {
  position: absolute; inset: 0; pointer-events: none; border-radius: 22px;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 48%, transparent 60%);
  transform: translateX(-120%); animation: scShine 4.5s ease-in-out infinite;
}
@keyframes scShine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.sc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.sc-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(var(--tint), .2); transition: all .3s; }
.sc-dots span.on { width: 20px; background: var(--rose-gold); }

/* ---------- lembrete na home ---------- */
#mnNudge { margin: 0 20px; }
#mnNudge:empty { display: none; }
.mn-nudge {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; margin-bottom: 14px; border-radius: 16px;
  background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.28); color: var(--text-primary);
}
.mn-nudge > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mn-nudge strong { font-size: .86rem; }
.mn-nudge small { font-size: .74rem; color: var(--text-secondary); }
.mn-nudge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose-pink); box-shadow: 0 0 0 0 rgba(240,171,252,.6); animation: mnPulse 1.8s infinite; flex-shrink: 0; }
@keyframes mnPulse { 70% { box-shadow: 0 0 0 9px rgba(240,171,252,0); } 100% { box-shadow: 0 0 0 0 rgba(240,171,252,0); } }

/* ---------- carteira ---------- */
.wallet-balance {
  padding: 18px; border-radius: 20px; margin: 16px 0 12px;
  background: var(--card-premium); border: 1px solid rgba(232,201,160,.3);
}
.wallet-balance__num { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.wallet-balance__lbl { display: block; font-size: .78rem; color: var(--text-secondary); margin-top: 4px; }
.wallet-balance__split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.wallet-balance__split strong { display: block; font-size: 1rem; }
.wallet-balance__split span { font-size: .7rem; color: var(--text-muted); }
.wallet-costs { display: flex; flex-direction: column; gap: 8px; }
.wallet-costs div { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--text-secondary); padding: 10px 12px; border-radius: 12px; background: rgba(var(--tint), .03); }
.wallet-costs span { flex: 1; }
.wallet-costs strong { color: var(--rose-gold-light); font-size: .78rem; }
.pack-list { display: flex; flex-direction: column; gap: 10px; }
.pack-card {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  padding: 14px; border-radius: 16px; color: var(--text-primary);
  background: rgba(var(--tint), .035); border: 1px solid var(--glass-border); transition: transform .15s;
}
.pack-card:active { transform: scale(.98); }
.pack-card--best { border-color: rgba(232,201,160,.6); background: linear-gradient(135deg, rgba(212,165,116,.12), rgba(168,85,247,.12)); }
.pack-card__ribbon { position: absolute; top: -9px; right: 14px; font-size: .56rem; font-weight: 800; letter-spacing: .12em; padding: 4px 8px; border-radius: 6px; background: var(--gold-grad); color: #2A1A0C; }
.pack-card__credits { display: inline-flex; align-items: center; gap: 4px; min-width: 70px; font-weight: 800; font-size: 1rem; color: var(--rose-gold-light); }
.pack-card__name { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-size: .88rem; }
.pack-card__name small { font-weight: 400; font-size: .7rem; color: var(--text-muted); margin-top: 2px; }
.pack-card__price { font-weight: 800; font-size: 1rem; }
.wallet-vip { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin-top: 14px; padding: 12px; border-radius: 16px; border: 1px solid rgba(168,85,247,.35); background: rgba(168,85,247,.08); color: var(--text-primary); }
.wallet-vip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rose-gold); }
.wallet-vip span { display: flex; flex-direction: column; }
.wallet-vip small { font-size: .72rem; color: var(--text-secondary); }
.wallet-ledger { list-style: none; display: flex; flex-direction: column; }
.wallet-ledger li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(var(--tint), .05); font-size: .8rem; }
.wallet-ledger li span { display: flex; flex-direction: column; }
.wallet-ledger small { font-size: .68rem; color: var(--text-muted); }
.wallet-ledger strong { color: #FCA5A5; }
.wallet-ledger strong.pos { color: #6EE7B7; }

/* ---------- scanner ---------- */
#scannerRoot { padding: 8px 20px 0; }
.scan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.scan-head p { font-size: .82rem; color: var(--text-secondary); margin-top: 4px; }
.scan-capture {
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  padding: 26px 18px; border-radius: 24px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(168,85,247,.25), rgba(var(--surface), .8));
  border: 1px solid rgba(232,201,160,.28); box-shadow: var(--shadow-premium);
}
.scan-capture strong { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-top: 8px; }
.scan-capture > span:last-child { font-size: .76rem; color: var(--text-muted); }
.scan-capture__frame { position: relative; width: 120px; height: 120px; display: grid; place-items: center; color: var(--rose-gold-light); }
.scan-capture__frame i { position: absolute; width: 26px; height: 26px; border: 3px solid var(--rose-gold); }
.scan-capture__frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.scan-capture__frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.scan-capture__frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.scan-capture__frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.scan-capture__frame svg { animation: mnFloat 3s ease-in-out infinite; }
@keyframes mnFloat { 50% { transform: translateY(-5px); } }
.scan-photo { position: relative; border-radius: 22px; overflow: hidden; margin-bottom: 14px; border: 1px solid rgba(232,201,160,.28); }
.scan-photo img { width: 100%; max-height: 300px; object-fit: cover; display: block; }
.scan-photo__beam { display: none; }
.scan-photo.is-analyzing img { filter: saturate(.7) brightness(.75); }
.scan-photo.is-analyzing .scan-photo__beam {
  display: block; position: absolute; left: 0; right: 0; height: 70px; top: -70px;
  background: linear-gradient(180deg, transparent, rgba(192,132,252,.55), transparent);
  border-bottom: 2px solid #E9D5FF; animation: mnBeam 1.6s ease-in-out infinite;
}
@keyframes mnBeam { to { top: 100%; } }
.scan-photo__status { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(13,10,20,.75); backdrop-filter: blur(8px); font-size: .8rem; white-space: nowrap; }
.scan-demo { position: absolute; top: 10px; left: 10px; font-size: .58rem; font-weight: 800; letter-spacing: .12em; padding: 4px 8px; border-radius: 6px; background: #FCD34D; color: #2A1A0C; }
.scan-result { padding: 18px; border-radius: 22px; background: var(--card-premium); border: 1px solid var(--hairline); box-shadow: var(--shadow-premium); }
.scan-result__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.scan-result__head h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-top: 4px; }
.scan-result__kcal { text-align: right; }
.scan-result__kcal strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.scan-result__kcal span { font-size: .72rem; color: var(--text-muted); }
.mn-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mn-macro__top { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-secondary); margin-bottom: 5px; }
.mn-macro__top strong { color: var(--text-primary); }
.mn-macro__track { height: 6px; border-radius: 3px; background: rgba(var(--tint), .07); overflow: hidden; }
.mn-macro__track i { display: block; height: 100%; border-radius: 3px; transition: width .6s var(--ease-out); }
.scan-items { list-style: none; margin-bottom: 12px; }
.scan-items li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(var(--tint), .05); font-size: .85rem; }
.scan-items li span { display: flex; flex-direction: column; }
.scan-items small { font-size: .7rem; color: var(--text-muted); }
.scan-tip { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(212,165,116,.08); border: 1px solid rgba(212,165,116,.2); margin-bottom: 14px; }
.scan-tip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.scan-tip p { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; }
.scan-tip strong { display: block; color: var(--rose-gold-light); font-size: .74rem; margin-bottom: 2px; }
.scan-mealtype { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.scan-today { margin-top: 20px; padding: 18px; border-radius: 22px; background: rgba(var(--surface), .6); border: 1px solid var(--hairline); }
.scan-today__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.scan-today__top h3 { font-family: 'Playfair Display', serif; font-size: 1.08rem; margin: 4px 0; }
.scan-today__top p { font-size: .78rem; color: var(--text-secondary); }
.kcal-ring { flex-shrink: 0; }
.kcal-ring__num { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; fill: #F8F0FF; }
.kcal-ring__lbl { font-size: 9.5px; fill: rgba(var(--ink), .5); }
.meal-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.meal-list li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(var(--tint), .03); }
.meal-list img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.meal-list span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.meal-list strong { font-size: .84rem; }
.meal-list small { font-size: .7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meal-list b { font-size: .86rem; color: var(--rose-gold-light); }
.meal-list button { color: var(--text-muted); padding: 6px; }
.meal-list .meal-empty { justify-content: center; font-size: .8rem; color: var(--text-muted); padding: 14px; text-align: center; }

/* Progresso: calorias de hoje */
#mnKcalToday { padding: 4px 20px 0; }
.kcal-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: var(--card-premium); border: 1px solid var(--hairline); box-shadow: var(--shadow-premium); margin-bottom: 14px; }
.kcal-card__info h3 { font-family: 'Playfair Display', serif; font-size: 1.02rem; margin: 4px 0; }
.kcal-card__info p { font-size: .72rem; color: var(--text-muted); margin-bottom: 10px; }

/* ---------- aulas ---------- */
.aulas-progress { margin: 0 20px 16px; padding: 18px; border-radius: 22px; background: var(--card-premium); border: 1px solid var(--hairline); box-shadow: var(--shadow-premium); }
.aulas-progress__top { display: flex; justify-content: space-between; align-items: flex-end; }
.aulas-progress__top h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-top: 4px; }
.aulas-progress__top strong { font-family: 'Playfair Display', serif; font-size: 1.6rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.aulas-progress__bar { height: 6px; border-radius: 3px; background: rgba(var(--tint), .08); margin: 12px 0 14px; overflow: hidden; }
.aulas-progress__bar i { display: block; height: 100%; background: var(--grad-accent); border-radius: 3px; }
.aulas-next { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px; border-radius: 16px; background: rgba(168,85,247,.12); border: 1px solid rgba(168,85,247,.3); color: var(--text-primary); }
.aulas-next__num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 700; background: var(--grad-primary); flex-shrink: 0; }
.aulas-next > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.aulas-next small { font-size: .6rem; letter-spacing: .12em; color: var(--rose-gold); font-weight: 700; }
.aulas-next strong { font-size: .86rem; }
.aulas-next svg { color: var(--rose-gold-light); }
.aulas-done { font-size: .85rem; color: #6EE7B7; text-align: center; }
.chapter-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; font-size: .66rem; color: var(--text-muted); }
.chapter-meta__done { display: inline-flex; align-items: center; gap: 3px; color: #6EE7B7; font-weight: 600; }
.chapter-card.is-read .chapter-num { background: linear-gradient(135deg, rgba(52,211,153,.25), rgba(52,211,153,.1)) !important; color: #6EE7B7 !important; }

/* ---------- social: pontos ---------- */
#socialRoot { padding: 0; }
.pts-card { margin: 16px 20px 0; padding: 18px; border-radius: 22px; background: var(--card-premium); border: 1px solid rgba(232,201,160,.3); box-shadow: var(--shadow-premium); }
.pts-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.pts-card__num { font-family: 'Playfair Display', serif; font-size: 2.3rem; font-weight: 700; line-height: 1.1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pts-card__num small { font-size: .9rem; }
.pts-level { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(168,85,247,.18); border: 1px solid rgba(168,85,247,.4); color: var(--purple-200); }
.pts-bar { height: 7px; border-radius: 4px; background: rgba(var(--tint), .08); margin: 12px 0 8px; overflow: hidden; }
.pts-bar i { display: block; height: 100%; background: var(--grad-accent); border-radius: 4px; }
.pts-card__hint { font-size: .76rem; color: var(--text-secondary); line-height: 1.5; }
.pts-card__hint strong { color: var(--text-primary); }
.pts-rules-toggle { margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--rose-gold-light); }
.pts-rules { list-style: none; margin-top: 8px; }
.pts-rules li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid rgba(var(--tint), .05); font-size: .82rem; }
.pts-rules li span { display: flex; flex-direction: column; }
.pts-rules small { font-size: .68rem; color: var(--text-muted); }
.pts-rules strong { color: #6EE7B7; font-size: .9rem; }
.ranking-avatar--you { display: grid; place-items: center; font-weight: 700; background: var(--grad-primary) !important; }
.ranking-card--you { border-color: rgba(168,85,247,.6) !important; background: rgba(168,85,247,.12) !important; }

/* ---------- social: evolução ---------- */
.evo-cta { display: flex; align-items: center; gap: 12px; width: calc(100% - 40px); margin: 0 20px 14px; padding: 14px; border-radius: 18px; text-align: left; color: var(--text-primary); background: linear-gradient(135deg, rgba(212,165,116,.16), rgba(168,85,247,.16)); border: 1px dashed rgba(232,201,160,.5); }
.evo-cta__plus { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: var(--gold-grad); color: #2A1A0C; flex-shrink: 0; }
.evo-cta span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.evo-cta small { font-size: .72rem; color: var(--text-secondary); }
.evo-card { margin: 0 20px 14px; border-radius: 20px; overflow: hidden; background: var(--card-premium); border: 1px solid var(--hairline); box-shadow: var(--shadow-premium); }
.evo-card__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.evo-card__photos figure { position: relative; margin: 0; aspect-ratio: 3/4; overflow: hidden; }
.evo-card__photos img { width: 100%; height: 100%; object-fit: cover; }
.evo-card__photos figcaption { position: absolute; bottom: 8px; left: 8px; font-size: .6rem; font-weight: 800; letter-spacing: .12em; padding: 3px 7px; border-radius: 5px; background: rgba(13,10,20,.7); }
.evo-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: .7rem; letter-spacing: .2em; color: var(--text-muted); background: repeating-linear-gradient(135deg, rgba(var(--tint), .03) 0 10px, rgba(var(--tint), .06) 10px 20px); }
.evo-card__kg { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.05rem; padding: 6px 14px; border-radius: 999px; background: var(--gold-grad); color: #2A1A0C; box-shadow: 0 8px 20px -8px rgba(0,0,0,.8); }
.evo-card__body { padding: 24px 16px 16px; }
.evo-card__who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.evo-card__who span { font-size: .74rem; color: var(--text-muted); }
.evo-card__body p { font-size: .84rem; color: var(--text-secondary); line-height: 1.55; }
.evo-badge { font-size: .56rem !important; font-weight: 800; letter-spacing: .1em; padding: 3px 7px; border-radius: 5px; background: rgba(168,85,247,.2); color: var(--purple-200) !important; }
.evo-badge--example { background: rgba(252,211,77,.15); color: #FCD34D !important; }
.depo-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.depo-form label { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--text-secondary); }
.depo-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.depo-photo { aspect-ratio: 3/4; border-radius: 16px; display: grid !important; place-items: center; cursor: pointer; background: rgba(var(--tint), .04) center/cover no-repeat; border: 1px dashed rgba(232,201,160,.45); }
.depo-photo span { font-size: .78rem; font-weight: 600; color: var(--rose-gold-light); padding: 4px 8px; border-radius: 8px; }
.depo-photo.has-img span { background: rgba(13,10,20,.7); }
.depo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.depo-consent { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-size: .72rem !important; line-height: 1.45; }
.depo-consent input { margin-top: 2px; accent-color: #A855F7; }
textarea.form-input { resize: vertical; font-family: inherit; }

/* ---------- sorteio: cartas ---------- */
.lucky { text-align: center; padding: 6px 0 4px; }
.lucky h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin: 6px 0 16px; }
.lucky-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; perspective: 900px; }
.lucky-card { width: 92px; height: 128px; padding: 0; background: none; }
.lucky-card__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--ease-spring); }
.lucky-card.is-open .lucky-card__inner { transform: rotateY(180deg); }
.lucky-card__back, .lucky-card__front { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.lucky-card__back { background: linear-gradient(150deg, #4C1D95, #1F1433 70%); border: 1px solid rgba(232,201,160,.55); color: var(--rose-gold-light); box-shadow: 0 14px 28px -14px rgba(168,85,247,.9); animation: luckyWobble 3s ease-in-out infinite; }
.lucky-card__back svg { width: 30px; height: 30px; }
.lucky-card__back em { font-style: normal; font-size: .7rem; letter-spacing: .2em; margin-top: 8px; color: var(--text-muted); }
.lucky-card__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.3) 48%, transparent 62%); transform: translateX(-130%); animation: scShine 3.2s ease-in-out infinite; }
.lucky-card:nth-child(2) .lucky-card__shine, .lucky-card:nth-child(2) .lucky-card__back { animation-delay: .3s; }
.lucky-card:nth-child(3) .lucky-card__shine, .lucky-card:nth-child(3) .lucky-card__back { animation-delay: .6s; }
.lucky-card:nth-child(4) .lucky-card__shine, .lucky-card:nth-child(4) .lucky-card__back { animation-delay: .9s; }
.lucky-card:nth-child(5) .lucky-card__shine, .lucky-card:nth-child(5) .lucky-card__back { animation-delay: 1.2s; }
@keyframes luckyWobble { 50% { transform: translateY(-3px); } }
.lucky-card__front { transform: rotateY(180deg); background: var(--gold-grad); color: #2A1A0C; font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(212,165,116,.9); }
.lucky-card__front small { font-family: 'Inter', sans-serif; font-size: .6rem; letter-spacing: .16em; opacity: .7; }
.lucky-all { margin-top: 14px; font-size: .78rem; color: var(--rose-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.lucky-draw { display: flex; align-items: center; gap: 14px; text-align: left; margin: 20px 0 14px; padding: 14px 16px; border-radius: 18px; background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.28); }
.lucky-draw div { text-align: center; min-width: 58px; }
.lucky-draw div strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.9rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lucky-draw div span { font-size: .68rem; color: var(--text-muted); }
.lucky-draw p { font-size: .84rem; line-height: 1.45; }
.lucky-draw small { color: var(--text-muted); font-size: .72rem; }
.sorteio-forfeit { padding: 18px; border-radius: 18px; background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.3); margin: 10px 0 14px; }
.sorteio-forfeit h3 { font-family: 'Playfair Display', serif; margin-bottom: 6px; }
.sorteio-forfeit p { font-size: .84rem; color: var(--text-secondary); }
.congrats { text-align: center; }
.congrats__emoji { font-size: 2.6rem; display: block; margin-bottom: 6px; }
.congrats__nums { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.congrats__nums span { padding: 10px 12px; border-radius: 12px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; background: var(--gold-grad); color: #2A1A0C; }
.congrats .sorteio-warning { margin: 14px 0; text-align: left; }
.mn-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.mn-confetti i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; animation: mnConfetti 2.8s cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes mnConfetti { to { top: 105%; transform: rotate(720deg) translateX(40px); opacity: .3; } }

/* ---------- Sala VIP ---------- */
.screen--vip .screen-header { position: relative; z-index: 2; }
.vip-tabs { display: flex; gap: 6px; margin: 0 20px 10px; padding: 4px; border-radius: 14px; background: rgba(var(--tint), .04); border: 1px solid var(--glass-border); }
.vip-tabs button { flex: 1; padding: 9px; border-radius: 10px; font-size: .82rem; font-weight: 600; color: var(--text-secondary); }
.vip-tabs button.on { background: var(--grad-primary); color: #fff; }
.vip-tabs b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; font-size: .64rem; background: var(--rose-pink); color: #2A0F33; margin-left: 4px; }
.screen--vip.is-chat .screen-scroll { padding-bottom: calc(var(--safe-bottom) + 90px); }
.vip-hero { position: relative; margin: 0 20px 16px; height: 230px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(232,201,160,.35); box-shadow: var(--shadow-premium); }
.vip-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.vip-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13,10,20,.95)); }
.vip-hero__txt { position: absolute; left: 18px; bottom: 16px; z-index: 1; }
.vip-hero__txt h2 { font-family: 'Playfair Display', serif; font-size: 1.7rem; }
.vip-hero__txt p { font-size: .8rem; color: var(--text-secondary); }
.vip-lock { margin: 0 20px 16px; padding: 18px; border-radius: 22px; text-align: center; background: linear-gradient(160deg, rgba(212,165,116,.14), rgba(168,85,247,.14)); border: 1px solid rgba(232,201,160,.45); }
.vip-lock__icon { width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #2A1A0C; }
.vip-lock h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 10px; }
.vip-lock ul { list-style: none; text-align: left; display: inline-flex; flex-direction: column; gap: 7px; margin-bottom: 14px; font-size: .84rem; }
.vip-lock li { display: flex; gap: 8px; align-items: center; }
.vip-lock li svg { color: #6EE7B7; }
.vip-posts { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
.vip-post { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px; border-radius: 18px; color: var(--text-primary); background: var(--card-premium); border: 1px solid var(--hairline); }
.vip-post img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.vip-post__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vip-post__txt small { display: inline-flex; align-items: center; gap: 4px; font-size: .64rem; letter-spacing: .08em; color: var(--rose-gold); font-weight: 700; }
.vip-post__txt small b { color: var(--rose-pink); }
.vip-post__txt strong { font-family: 'Playfair Display', serif; font-size: .98rem; }
.vip-post__txt > span { font-size: .74rem; color: var(--text-muted); }
.vip-post.is-locked img { filter: blur(3px) grayscale(.5) brightness(.6); }
.vip-post.is-locked .vip-post__txt strong, .vip-post.is-locked .vip-post__txt > span { opacity: .55; }
.post-author { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; }
.post-author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rose-gold); }
.post-author span { display: flex; flex-direction: column; }
.post-author small { font-size: .7rem; color: var(--text-muted); }

.chat-head { display: flex; align-items: center; gap: 12px; margin: 0 20px 12px; padding: 12px; border-radius: 18px; background: var(--card-premium); border: 1px solid var(--hairline); }
.chat-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rose-gold); }
.chat-head div { display: flex; flex-direction: column; gap: 2px; }
.chat-head span { font-size: .7rem; color: var(--text-muted); }
.chat-list { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
.chat-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; }
.chat-msg img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-msg p { padding: 10px 13px; border-radius: 18px; font-size: .86rem; line-height: 1.5; }
.chat-msg small { display: block; margin-top: 4px; font-size: .62rem; color: #FCD34D; letter-spacing: .04em; }
.chat-msg--ai p { background: rgba(var(--tint), .06); border: 1px solid var(--glass-border); border-bottom-left-radius: 6px; }
.chat-msg--me { align-self: flex-end; }
.chat-msg--me p { background: var(--grad-primary); border-bottom-right-radius: 6px; }
.chat-typing p { display: flex; align-items: center; gap: 4px; padding: 14px; }
.typing-label { font-size: .78rem; color: var(--purple-300); margin-right: 4px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-300); animation: mnTyping 1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mnTyping { 50% { transform: translateY(-4px); opacity: .5; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 0; }
.chat-disclaimer { padding: 0 24px; }
.vip-composer { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 14px calc(var(--safe-bottom) + 12px); background: linear-gradient(180deg, rgba(var(--base), 0), rgba(var(--base), .96) 30%); }
.vip-composer .form-input { flex: 1; border-radius: 999px; padding: 12px 16px; margin: 0; }
.vip-send { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-primary); color: #fff; flex-shrink: 0; }

/* ---------- Config extras ---------- */
#mnConfigExtras { padding: 4px 20px 0; }
.cfg-extras { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cfg-extras button { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 12px 14px; border-radius: 16px; color: var(--text-primary); background: var(--card-premium); border: 1px solid var(--hairline); }
.cfg-extras button > span:first-child { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(168,85,247,.15); color: var(--rose-gold-light); flex-shrink: 0; }
.cfg-extras button > span:last-child { display: flex; flex-direction: column; }
.cfg-extras small { font-size: .72rem; color: var(--text-muted); }

/* ---------- Tutorial (onboarding) ---------- */
.onb { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; max-width: 430px; margin: 0 auto; padding: calc(var(--safe-top) + 16px) 24px calc(var(--safe-bottom) + 24px); background: radial-gradient(120% 70% at 50% 0%, #3B1D63 0%, #0D0A14 65%); opacity: 0; pointer-events: none; transform: translateY(20px); transition: all .45s var(--ease-out); }
.onb.open { opacity: 1; pointer-events: auto; transform: none; }
.onb__top { display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.onb__dots { display: flex; gap: 6px; }
.onb__dots span { width: 22px; height: 4px; border-radius: 2px; background: rgba(var(--tint), .15); }
.onb__dots span.on { background: var(--gold-grad); }
.onb__skip { font-size: .8rem; color: var(--text-muted); }
.onb__body { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 12px; overflow-y: auto; }
.onb__body h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; line-height: 1.25; }
.onb__body > p { font-size: .92rem; color: var(--text-secondary); line-height: 1.6; }
.onb__body .btn { margin-top: 6px; }
.onb__avatar { width: 128px; height: 128px; margin: 0 auto 6px; border-radius: 50%; padding: 4px; background: var(--gold-grad); box-shadow: 0 0 50px -10px rgba(212,165,116,.7); }
.onb__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #0D0A14; }
.onb__icon { width: 72px; height: 72px; margin: 0 auto 4px; border-radius: 22px; display: grid; place-items: center; background: rgba(168,85,247,.18); border: 1px solid rgba(232,201,160,.35); color: var(--rose-gold-light); }
.onb__steps { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 10px; margin: 4px 0; }
.onb__steps li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(var(--tint), .04); border: 1px solid var(--glass-border); font-size: .86rem; line-height: 1.45; }
.onb__steps li > span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--gold-grad); color: #2A1A0C; flex-shrink: 0; }
.onb__steps svg { vertical-align: middle; color: #60A5FA; }
.onb__benefits { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px; }
.onb__benefits li { padding: 11px 14px; border-radius: 14px; background: rgba(var(--tint), .04); border: 1px solid var(--glass-border); font-size: .86rem; }
.onb__ok { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #6EE7B7 !important; font-weight: 600; }
.onb__warn { font-size: .8rem !important; color: #FCD34D !important; background: rgba(252,211,77,.08); border-radius: 12px; padding: 10px; }
.onb__resort { position: relative; height: 180px; border-radius: 22px; background-size: cover; background-position: center; border: 1px solid rgba(232,201,160,.4); box-shadow: var(--shadow-premium); margin-bottom: 6px; }
.onb__resort span { position: absolute; right: 14px; bottom: -18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--gold-grad); box-shadow: 0 10px 20px -8px rgba(0,0,0,.7); }

/* sheet acima do modal de upsell */
.mn-sheet { z-index: 150; }
.onb__steps li p { margin: 0; }

/* alinhamento da tela Social (mesma margem de 1rem do resto da tela) */
#screen-comunidade .section-title { padding: 0 1rem; }
#socialRoot .pts-card { margin: 16px 1rem 0; }
#socialRoot .evo-cta { width: calc(100% - 2rem); margin: 0 1rem 14px; }
#socialRoot .evo-card { margin: 0 1rem 18px; }

/* ---------- card do Scanner na home ---------- */
.scanner-home-card {
  position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer;
  margin: 0 20px 16px; padding: 16px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(168,85,247,.35), rgba(var(--surface), .9) 60%);
  border: 1px solid rgba(232,201,160,.3); box-shadow: var(--shadow-premium);
}
.scanner-home-card__icon {
  position: relative; width: 58px; height: 58px; border-radius: 18px; flex-shrink: 0;
  display: grid; place-items: center; color: #2A1A0C; background: var(--gold-grad);
}
.scanner-home-card__icon svg { width: 28px; height: 28px; }
.scanner-home-card__pulse { position: absolute; inset: -4px; border-radius: 22px; border: 2px solid rgba(212,165,116,.6); animation: mnRing 2s ease-out infinite; }
@keyframes mnRing { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.scanner-home-card__text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.scanner-home-card__text strong { font-family: 'Playfair Display', serif; font-size: 1.05rem; }
.scanner-home-card__text span { font-size: .76rem; color: var(--text-secondary); line-height: 1.45; }
.scanner-home-card__badge { position: absolute; top: -8px; right: 14px; font-size: .56rem; font-weight: 800; letter-spacing: .14em; padding: 4px 8px; border-radius: 6px; background: var(--rose-pink); color: #2A0F33; }

/* a home já tem 16px de margem lateral */
.home-scroll .scanner-home-card { margin: 0 0 16px; }
.home-scroll #sorteioCarousel { margin: 0 0 14px; }
.home-scroll #mnNudge { margin: 0; }
