/* Celestial Peak — Pacotes de Fundador (fundador.html) e Minha conta (conta.html). Mobile-first, 320-1920 px.
   Usa as variáveis de :root do css/site.css. Cores por nível: 1 jade, 2 céu, 3 ouro, 4 aurora (violeta/rosa), 5 lenda (carmesim/ouro). */

[hidden] { display: none !important; }   /* .form/.field/.stock usam display próprio; o atributo hidden precisa vencer */

/* ------------------------------------------------------------------ topo */
.f-hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 900px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 64px) 0 clamp(40px, 7vw, 88px);
}
.f-hero .hero-media img { object-position: 72% 40%; }
.f-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 8, 22, .72) 38%, rgba(6, 8, 22, .25) 75%, rgba(6, 8, 22, .55) 100%),
    linear-gradient(90deg, rgba(6, 8, 22, .92) 0%, rgba(6, 8, 22, .6) 45%, transparent 80%);
}
.f-hero-content { position: relative; }
.f-hero .h-display { max-width: 14ch; }
.f-hero .lead { margin-top: 16px; color: #dfe3f8; max-width: 52ch; }
.f-hero .btn-row { margin-top: 26px; }

.countdown { margin-top: 26px; }
.countdown-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 13px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.countdown-label .ico { width: 16px; height: 16px; }
.countdown-row { display: grid; grid-template-columns: repeat(4, minmax(0, 76px)); gap: 8px; }
.countdown-row div {
  display: grid; justify-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 12px;
  border: 1px solid rgba(244, 199, 106, .3); background: rgba(10, 12, 30, .62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.countdown-row b { font: 800 clamp(22px, 3vw, 30px)/1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; }
.countdown-row span { font: 700 11px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: #cfd5f3; }
.trust .ico { width: 16px; height: 16px; color: var(--gold); }

/* faixa de "pagamento enviado" */
.paid-banner { position: relative; z-index: 2; margin-top: var(--header-h); background: linear-gradient(90deg, rgba(76, 227, 138, .16), rgba(244, 199, 106, .12)); border-bottom: 1px solid rgba(76, 227, 138, .35); }
.paid-banner + .f-hero { padding-top: 64px; }
.paid-row { display: flex; gap: 14px; align-items: flex-start; padding-block: 16px; }
.paid-row > .ico { width: 26px; height: 26px; flex: none; color: #4ce38a; margin-top: 2px; }
.paid-row b { display: block; color: #fff; font: 700 17px/1.3 var(--f-ui); }
.paid-row p { margin: 4px 0 0; color: #d6dcf5; font-size: 15px; }
.paid-banner.is-done { background: linear-gradient(90deg, rgba(244, 199, 106, .22), rgba(255, 159, 203, .12)); border-bottom-color: rgba(244, 199, 106, .5); }
.paid-banner.is-done .paid-row > .ico { color: var(--gold); }

/* ------------------------------------------------------------------ pacotes */
.tiers-section { padding-top: clamp(48px, 7vw, 96px); }
.tiers { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 680px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiers { grid-template-columns: repeat(6, minmax(0, 1fr)); } .tier { grid-column: span 2; } .tier-4 { grid-column: 2 / span 2; } .tier-5 { grid-column: 4 / span 2; } }
@media (min-width: 1240px) {
  .tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-top: 16px; }
  .tier, .tier-4, .tier-5 { grid-column: auto; }
  .tier.is-featured, .js .tier.is-featured.reveal.in { transform: translateY(-14px); }
}
@media (min-width: 680px) and (max-width: 999px) { .tier-5 { grid-column: 1 / -1; } }

.tier {
  --c: var(--jade); --c2: #b8ff9a; --glow: rgba(94, 224, 176, .22);
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 20px 22px; border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--c) 34%, transparent);
  background:
    radial-gradient(120% 60% at 50% 0%, var(--glow), transparent 62%),
    linear-gradient(180deg, rgba(22, 28, 66, .82), rgba(9, 12, 32, .92));
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tier:hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 30px 70px -30px var(--glow); }
.tier-2 { --c: var(--sky); --c2: #c9f0ff; --glow: rgba(116, 212, 255, .2); }
.tier-3 { --c: var(--gold); --c2: var(--gold-2); --glow: rgba(244, 199, 106, .3); }
.tier-4 { --c: #c9a2ff; --c2: #ffb3df; --glow: rgba(185, 140, 255, .26); }
.tier-5 { --c: #ff6a5a; --c2: #ffd27a; --glow: rgba(255, 90, 80, .26); }
.tier.is-featured { border-width: 2px; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(244, 199, 106, .2), 0 36px 80px -30px rgba(244, 170, 70, .5); }
.tier.is-legend { background: radial-gradient(120% 60% at 50% 0%, rgba(255, 90, 80, .3), transparent 62%), linear-gradient(180deg, #1b0f22, #0b0714); }
.tier.is-legend::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), #ff5a4a, #ffd27a, #fff2b0, #ff8fc8, #ff5a4a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 6s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --a: 360deg; } }

.tier-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  font: 800 12px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: #231503;
  background: linear-gradient(180deg, #ffeab8, var(--gold) 55%, #e0a444); box-shadow: 0 8px 20px -6px rgba(244, 170, 70, .6);
}
.tier-4 .tier-ribbon { background: linear-gradient(90deg, #c9a2ff, #ffb3df); color: #1c0d2a; box-shadow: 0 8px 20px -6px rgba(185, 140, 255, .6); }
.tier-5 .tier-ribbon { background: linear-gradient(90deg, #ff5a4a, #ffb547); color: #2a0806; box-shadow: 0 8px 20px -6px rgba(255, 90, 80, .6); }

.tier-head { text-align: center; }
.tier-emblem {
  width: 76px; height: 76px; margin: 0 auto 12px; padding: 6px; border-radius: 22px;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.tier-emblem img { width: 100%; height: 100%; border-radius: 16px; object-fit: cover; }
.tier-rank { margin: 0 0 4px; font: 700 12px/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--c); }
.tier-name { font: 800 clamp(20px, 2vw, 22px)/1.15 var(--f-display); color: #fff; text-wrap: balance; }
.tier-kanji { margin: 6px 0 0; font: 400 18px/1 var(--f-kanji); color: color-mix(in srgb, var(--c2) 70%, transparent); }

.tier-price { display: flex; justify-content: center; align-items: flex-start; gap: 2px; margin: 16px 0 2px; color: #fff; }
.tier-price .cur { font: 700 15px/1 var(--f-label); margin-top: 8px; color: var(--muted); }
.tier-price .val { font: 800 46px/1 var(--f-display); letter-spacing: -.01em; background: linear-gradient(180deg, #fff, var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-price .cents { font: 800 18px/1 var(--f-display); margin-top: 6px; color: var(--c2); }
.tier-worth { margin: 0 0 16px; text-align: center; font-size: 13.5px; color: var(--muted); }
.tier-worth b { color: var(--c2); }

.tier-buy { width: 100%; white-space: normal; text-align: center; line-height: 1.2; border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.tier-buy:not(.btn-primary):hover { background: color-mix(in srgb, var(--c) 14%, transparent); border-color: var(--c); }
.tier-5 .tier-buy:not([disabled]) { border: 0; color: #2a0806; background: linear-gradient(180deg, #ffd9a0, #ff8a5a 55%, #e2483a); box-shadow: 0 10px 30px -8px rgba(255, 90, 70, .55); }
.tier-buy[disabled], .tier-buy[aria-disabled="true"] { cursor: default; opacity: 1; transform: none; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); box-shadow: none; }
.tier-buy.is-owned { color: #4ce38a; border-color: rgba(76, 227, 138, .45); }
.tier-buy.is-busy { opacity: .7; pointer-events: none; }
.tier-state { min-height: 1.4em; margin: 8px 0 0; text-align: center; font: 600 12.5px/1.4 var(--f-ui); color: var(--muted-2); }
.tier-state.is-error { color: #ff8a96; }

.tier-inherit { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-2); font: 700 12px/1.3 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.tier-list { list-style: none; display: grid; gap: 9px; margin-top: 14px; }
.tier-1 .tier-list { padding-top: 14px; margin-top: 18px; border-top: 1px dashed var(--line-2); }
.tier-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; color: #d9def6; min-width: 0; }
.tier-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.tier-list li b { color: #fff; font-weight: 700; }
.tier-list li em { font-style: normal; color: var(--muted-2); font-size: 12.5px; }
.tier-list img, .tier-list .ico-box, .tier-list > li > .ico { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.tier-list img { object-fit: cover; background: #0b0d24; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.tier-list > li > .ico { padding: 8px; color: var(--c2); background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.ico-box { display: grid; place-items: center; color: var(--c2); background: color-mix(in srgb, var(--c) 14%, #0b0d24); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.ico-box svg { width: 20px; height: 20px; }
.tier-list li.hl { padding: 6px; margin-inline: -6px; border-radius: 12px; background: color-mix(in srgb, var(--c) 10%, transparent); }

/* recolores das prévias (as peças novas usam o mesmo desenho base com outra paleta) */
.hue-jade { filter: hue-rotate(70deg) saturate(1.2); }
.hue-aurora { filter: sepia(.35) hue-rotate(-12deg) saturate(1.6) brightness(1.08); }
.hue-legend { filter: sepia(.6) saturate(2.2) hue-rotate(-18deg) brightness(1.05); }

.stock { margin: -4px 0 14px; }
.stock-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.stock-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ffd27a, #ff5a4a); transition: width .8s var(--ease); }
.stock p { margin: 6px 0 0; text-align: center; font: 700 12.5px/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: #ffb3a8; }

.tiers-foot { margin: 28px auto 0; font-size: 14px; max-width: 60ch; }

/* ------------------------------------------------------------------ vitrine */
.showcase { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.showcase li {
  --c: #ff4a5f; display: grid; justify-items: center; gap: 6px; padding: 18px 12px 16px; text-align: center; border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: radial-gradient(90% 70% at 50% 20%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), rgba(12, 16, 40, .6);
}
.showcase li.r-mythic { --c: var(--gold); }
.showcase li.r-legend { --c: #ff6a5a; }
.showcase img { width: 96px; height: 96px; border-radius: 18px; margin-bottom: 6px; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--c) 80%, transparent); }
.showcase b { font: 700 15.5px/1.25 var(--f-display); color: #fff; }
.showcase span { font: 600 12px/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ comparação */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(10, 13, 34, .7); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { position: sticky; top: 0; background: #0d1130; font: 800 15px/1.2 var(--f-display); color: #fff; vertical-align: bottom; }
.cmp thead small { display: block; margin-top: 4px; font: 700 12px/1 var(--f-label); letter-spacing: .06em; color: var(--muted); }
.cmp thead .c1 { color: var(--jade); } .cmp thead .c2 { color: var(--sky); } .cmp thead .c3 { color: var(--gold); } .cmp thead .c4 { color: #c9a2ff; } .cmp thead .c5 { color: #ff8a6a; }
.cmp tbody th { text-align: left; font: 500 14.5px/1.35 var(--f-ui); color: #dfe3f8; position: sticky; left: 0; background: #0b0f2b; min-width: 190px; }
.cmp td { color: var(--gold-2); font-weight: 700; }
.cmp td:nth-child(4) { background: rgba(244, 199, 106, .07); }
.cmp tbody tr:hover th, .cmp tbody tr:hover td { background-color: rgba(255, 255, 255, .03); }

.f-final .h-display { max-width: 16ch; margin: 0 auto 14px; }
.f-final .lead { margin: 0 auto 28px; }
.f-final .hero-logo { margin: 0 auto 14px; }

/* barra fixa (celular e tablet) */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding-bottom: env(safe-area-inset-bottom);
  background: rgba(6, 8, 22, .94); border-top: 1px solid rgba(244, 199, 106, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.buybar.is-on { transform: none; }
.buybar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.buybar p { margin: 0; font-size: 13.5px; line-height: 1.3; color: var(--muted); min-width: 0; }
.buybar p b { display: block; color: #fff; font: 700 14px/1.2 var(--f-display); }
.buybar .btn { min-height: 42px; padding: 10px 16px; font-size: 13.5px; flex: none; }
@media (min-width: 1000px) { .buybar { display: none; } }

/* ------------------------------------------------------------------ conta */
.acct-hero { padding-bottom: 8px; }
.acct-section { padding-top: 12px; }
.acct-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .acct-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; } }
.acct-card {
  padding: clamp(20px, 3.5vw, 32px); border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(24, 31, 74, .7), rgba(10, 13, 34, .85)); box-shadow: var(--shadow);
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(6, 8, 22, .5); }
.auth-tabs button { appearance: none; border: 0; padding: 12px 8px; border-radius: 10px; background: transparent; color: var(--muted); font: 700 14px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--gold); color: #1d1204; }
.auth-tabs button:hover:not([aria-selected="true"]) { color: #fff; }

.auth-social { display: grid; gap: 10px; margin-bottom: 18px; }
.auth-social[hidden], .auth-prov[hidden] { display: none; }
.auth-prov { width: 100%; text-transform: none; letter-spacing: .02em; font-size: 15.5px; background: rgba(255, 255, 255, .06); }
.auth-prov svg, .auth-linked svg { width: 20px; height: 20px; flex: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; color: var(--muted-2); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.auth-linked { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(6, 8, 22, .5); font-size: 14.5px; color: #cdd2ee; overflow-wrap: anywhere; }
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font: 700 12.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(6, 8, 22, .65); color: var(--text); font: 500 16px/1.2 var(--f-ui); color-scheme: dark;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244, 199, 106, .18); }
.field input[aria-invalid="true"] { border-color: var(--crimson); }
.field small { color: var(--muted-2); font-size: 13px; line-height: 1.4; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #cdd2ee; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--gold); }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; }
.form-msg.err { background: rgba(255, 74, 95, .1); border: 1px solid rgba(255, 74, 95, .4); color: #ffc2c9; }
.form-msg.ok { background: rgba(76, 227, 138, .1); border: 1px solid rgba(76, 227, 138, .4); color: #c6f5d8; }
.form .btn-primary { width: 100%; margin-top: 4px; }
.form-alt { margin: 4px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.form-alt button { appearance: none; border: 0; background: none; padding: 0; color: var(--gold-2); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.acct-panel { display: grid; gap: 20px; }
.acct-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.acct-avatar { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 20px; background: radial-gradient(circle at 30% 30%, rgba(244, 199, 106, .45), rgba(244, 199, 106, .08)); border: 1px solid rgba(244, 199, 106, .4); color: var(--gold-2); }
.acct-avatar svg { width: 30px; height: 30px; }
.acct-name { min-width: 0; flex: 1; }
.acct-name h2 { font: 800 clamp(22px, 3vw, 28px)/1.15 var(--f-display); color: #fff; overflow-wrap: anywhere; }
.acct-name p { margin: 4px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.founder-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font: 800 13px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: #231503;
  background: linear-gradient(180deg, #ffeab8, var(--gold) 55%, #e0a444); box-shadow: 0 8px 22px -8px rgba(244, 170, 70, .6);
}
.founder-badge svg { width: 18px; height: 18px; }
.acct-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.acct-stat { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(6, 8, 22, .45); }
.acct-stat span { display: block; font: 700 12px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.acct-stat b { display: block; margin-top: 8px; font: 800 22px/1.1 var(--f-display); color: #fff; }
.acct-h { font: 700 13px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.chars { list-style: none; display: grid; gap: 8px; }
.chars li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6, 8, 22, .35); }
.chars li b { color: #fff; overflow-wrap: anywhere; min-width: 0; }
.chars li span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.owned { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.owned li { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(244, 199, 106, .4); background: rgba(244, 199, 106, .08); color: var(--gold-2); font: 700 13px/1 var(--f-label); letter-spacing: .06em; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.acct-actions .btn { flex: 1 1 200px; }

.acct-side { display: grid; gap: 20px; }
.promo { display: block; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(244, 199, 106, .35); background: linear-gradient(180deg, rgba(30, 24, 20, .7), rgba(10, 12, 30, .9)); color: inherit; transition: transform .25s var(--ease), border-color .25s; }
.promo:hover { transform: translateY(-3px); border-color: var(--gold); color: inherit; }
.promo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 70% 40%; }
.promo-body { padding: 20px 22px 22px; }
.promo h2 { font: 800 24px/1.15 var(--f-display); color: #fff; margin-bottom: 8px; }
.promo p { color: var(--muted); font-size: 15px; }
.acct-perks { margin: 0; }

/* diálogo de entrar/criar conta na página do Fundador */
.auth-dialog {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: transparent; color: var(--text); overflow: visible;
}
.auth-dialog::backdrop { background: rgba(3, 4, 12, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.auth-dialog .acct-card { max-height: calc(100dvh - 24px); overflow-y: auto; position: relative; }
.auth-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.auth-dialog-head h2 { font: 800 22px/1.2 var(--f-display); color: #fff; }
.auth-dialog-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.auth-close { appearance: none; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(6, 8, 22, .4); color: var(--text); cursor: pointer; }
.auth-close svg { width: 18px; height: 18px; }

/* janela do pagamento (checkout do LivePix embutido) */
.pay-dialog {
  width: min(520px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: transparent; color: var(--text); overflow: visible;
}
.pay-dialog::backdrop { background: rgba(3, 4, 12, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pay-card {
  display: flex; flex-direction: column; max-height: calc(100dvh - 16px); padding: 16px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 22, 48, .98), rgba(10, 12, 30, .98)); border: 1px solid var(--line-2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}
.pay-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pay-kicker { margin: 0 0 2px; font: 700 12px/1.2 var(--f-body, inherit); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pay-head h2 { font: 800 20px/1.2 var(--f-display); color: #fff; margin: 0; }
.pay-frame { flex: 1 1 auto; min-height: 0; border-radius: 14px; overflow: hidden; background: #fff; }
.pay-frame iframe { display: block; width: 100%; height: min(680px, calc(100dvh - 190px)); border: 0; background: #fff; }
.pay-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.pay-foot svg { flex: none; width: 16px; height: 16px; color: var(--gold); }
.pay-foot span { flex: 1 1 220px; }
.pay-foot a { color: var(--gold); font-weight: 700; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .tier.is-legend::before { animation: none; }
  .tier.is-featured { transform: none; }
}
