/* Clubbix — painel do cliente. Reaproveita o esqueleto de painel-empresa.css
   (sidebar, barra superior, abas, janelas, avisos); aqui só o que é do cliente. */

.hello { font: 600 12px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

a.pe__club { margin-top: auto; padding: 14px 12px; border-top: 1px solid var(--line); color: var(--gold); font: 600 13px var(--font-body); text-decoration: none; text-align: left; }
a.pe__club:hover { color: var(--text); }
.pe__foot a.pe__club { margin-top: 0; height: 40px; padding: 0 12px; border-top: 0; border-radius: 12px; display: flex; align-items: center; }
.pe__foot a.pe__club:hover { background: rgba(243,233,245,.05); }
.pe__side .pe__out { margin-top: 0; }
.pe__top a.pe__club { margin-top: 0; height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; display: inline-flex; align-items: center; flex: none; white-space: nowrap; }

/* ── plano ──────────────────────────────────────────────────────────────── */
.renew { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--surface-raised); border: 1px solid var(--line); }
.renew div { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.renew .ic { color: var(--gold); }
.renew a { color: var(--gold); font: 600 13.5px var(--font-display); min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.plan { padding: 28px; border-radius: 30px; background: var(--surface-raised); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan__who { display: flex; gap: 16px; align-items: center; }
.plan__who .cbx-badge { width: 60px; height: 60px; }
.plan__name { font: 800 44px/1 var(--font-display); letter-spacing: -.02em; }
.plan__dur { color: var(--text-2); font-size: 15px; margin-top: 10px; }
.plan__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan__grid small { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.plan__grid span { font-size: 15px; }
.plan__grid b { font: 600 20px var(--font-display); }
.plan__bar { height: 3px; border-radius: 2px; background: rgba(243,233,245,.12); }
.plan__bar i { display: block; height: 3px; border-radius: 2px; background: var(--gold); }
@media (min-width: 900px) { .plan__name { font-size: 56px; } }
.best { padding: 24px; border-radius: 20px; border: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 6px; }
.best b { font: 600 17px var(--font-display); }
.best span { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.cta-w { display: flex; }
.cta-w .btn { width: 100%; }
@media (min-width: 900px) { .cta-w .btn { width: auto; padding: 0 36px; } }

/* ── explorar ───────────────────────────────────────────────────────────── */
.search { position: relative; }
.search input { width: 100%; height: 56px; box-sizing: border-box; padding: 0 20px 0 52px; border-radius: 999px; background: var(--surface-raised); border: 1px solid var(--line-strong); color: var(--text); font: 400 16px var(--font-body); outline: none; }
.search input:focus { border-color: var(--gold); }
.search .ic { position: absolute; left: 20px; top: 18px; color: var(--text-3); pointer-events: none; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cats { flex-wrap: wrap; } }
.cats button { flex: none; height: 44px; padding: 0 18px; border-radius: 999px; background: none; font: 500 14px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); color: var(--text-2); }
.cats button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.cats .ic { width: 16px; height: 16px; }
.cgrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc2 { padding: 20px; border-radius: 20px; background: var(--surface-raised); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.cc2.dim { opacity: .6; }
.cc2__cover { position: relative; height: 124px; margin: -20px -20px 0; overflow: hidden; }
.cc2__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc2__tag { position: absolute; top: 12px; right: 12px; font-size: 11.5px; color: #fff; background: rgba(14,6,25,.66); border: 1px solid rgba(243,233,245,.28); height: 26px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; }
.cc2__co { display: flex; gap: 14px; align-items: center; }
.av { width: 44px; height: 44px; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center; font: 800 14px var(--font-display); flex: none; }
.cc2__co small { display: block; font: 600 11px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.cc2__co span { display: block; font-size: 15px; margin-top: 3px; overflow-wrap: anywhere; }
.cc2__t { font: 600 17px/1.3 var(--font-display); overflow-wrap: anywhere; }
.cc2__big { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cc2__big b { font: 800 40px/1 var(--font-display); letter-spacing: -.02em; }
.cc2__big b.vale { font-size: 22px; }
.cc2__big span { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.cc2__v { font-size: 13px; color: var(--text-3); }
.cc2__act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lnk { height: 44px; padding: 0 16px; border: 0; background: none; color: var(--text-2); font: 500 14px var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; border-radius: 12px; }
.pill { height: 44px; padding: 0 24px; border-radius: 999px; background: none; font: 600 14.4px var(--font-display); margin-left: auto; cursor: pointer; border: 1.5px solid var(--orange); color: var(--gold); }
.pill[disabled] { cursor: not-allowed; border-color: var(--line-strong); color: var(--text-3); }

/* ── janelas ────────────────────────────────────────────────────────────── */
.dlg.sheet { max-width: 520px; gap: 22px; padding: 28px 24px; }
.sheet__cover { height: 116px; flex: none; margin: -28px -24px 0; overflow: hidden; }
.sheet__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet__h { display: flex; gap: 16px; align-items: center; }
.sheet__h .av { width: 56px; height: 56px; border-radius: 16px; font-size: 17px; }
.sheet__h img.av { object-fit: cover; display: block; }
.sheet__h > div:not(.av) { flex: 1; min-width: 0; }
.sheet__h b { display: block; font: 800 22px var(--font-display); overflow-wrap: anywhere; }
.sheet__h small { display: block; font: 600 11px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }
.xbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--text-2); cursor: pointer; flex: none; display: flex; align-items: center; justify-content: center; }
.sheet p.sub { margin: 0; color: var(--text-2); line-height: 1.6; font-size: 15px; overflow-wrap: anywhere; }
.sheet .pf__rows > div { padding: 12px 0; font-size: 14px; gap: 16px; }
.sumcard { padding: 16px 18px; border-radius: 14px; background: var(--surface-raised); border: 1px solid var(--line); }
.sumcard b { display: block; font: 600 15px var(--font-display); overflow-wrap: anywhere; }
.sumcard span { display: block; font-size: 13px; color: var(--text-3); margin-top: 6px; }
.conf { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* ── meus cupons ────────────────────────────────────────────────────────── */
.mtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.mtabs::-webkit-scrollbar { display: none; }
.mtabs button { flex: none; height: 48px; padding: 0 16px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-3); font: 500 14.5px var(--font-body); cursor: pointer; white-space: nowrap; }
.mtabs button[aria-selected="true"] { border-bottom-color: var(--gold); color: var(--text); }
.mtabs span { margin-left: 8px; font-size: 12px; color: var(--text-3); }
.mlist { display: flex; flex-direction: column; gap: 12px; }
.mrow { text-align: left; display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--surface-raised); border: 1px solid var(--line); color: var(--text); font-family: var(--font-body); min-height: 44px; width: 100%; }
button.mrow { cursor: pointer; }
.mrow > div:not(.av) { min-width: 0; flex: 1; }
.mrow b { display: block; font: 600 15.5px/1.3 var(--font-display); overflow-wrap: anywhere; }
.mrow small { display: block; font-size: 13px; color: var(--text-3); margin-top: 4px; }
.mrow em { font-style: normal; font-size: 13px; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.mrow em .ic { width: 16px; height: 16px; }
.mrow > .ic { color: var(--text-3); }

/* ── cupom resgatado (tela cheia) ───────────────────────────────────────── */
.full { position: fixed; inset: 0; z-index: 55; background: var(--surface-base); overflow-y: auto; padding: 24px 20px 40px; box-sizing: border-box; animation: cbx-sheet .3s var(--ease); }
.full__in { max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.full__bar { display: flex; align-items: center; gap: 8px; margin-left: -12px; }
.full__bar button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.full__bar span { font-size: 14px; color: var(--text-2); }
.full h2 { font: 800 26px/1.15 var(--font-display); letter-spacing: -.015em; margin: 8px 0 0; overflow-wrap: anywhere; }
.full .lblc { font: 600 11px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.qrc { border-radius: 30px; background: var(--surface-raised); border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.qrc__img { width: 224px; height: 224px; max-width: 100%; background: #f3e9f5; border-radius: 20px; padding: 14px; box-sizing: border-box; }
.qrc__img img { width: 100%; height: 100%; display: block; image-rendering: pixelated; border-radius: 6px; }
.qrc__code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.qrc__code span { font: 500 20px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 14px; border-radius: 999px; font: 600 12px var(--font-display); border: 1px solid; }
.tag .ic { width: 16px; height: 16px; }
.tag--w { color: var(--gold); border-color: rgba(251,177,60,.38); background: rgba(251,177,60,.08); }
.tag--ok { color: var(--success); border-color: var(--success-line); background: var(--success-bg); }
.tag--x { color: var(--text-3); border-color: var(--line-strong); }
.cdown { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line-strong); }
.cdown small { font-size: 13px; color: var(--text-3); }
.cdown b { font: 800 34px var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cdown span { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.fnote { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-3); line-height: 1.55; }
.fnote b { color: var(--text); font-weight: 500; }

/* ── plano expirado e cupom validado (tela cheia) ───────────────────────── */
.endp { position: fixed; inset: 0; z-index: 56; background: var(--surface-base); display: flex; flex-direction: column; overflow-y: auto; padding: 24px 20px; box-sizing: border-box; }
.endp::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 420px at 50% 100%, rgba(124,43,168,.28), transparent 70%); pointer-events: none; }
.endp__brand { display: flex; align-items: center; gap: 10px; font: 800 21px var(--font-display); position: relative; }
.endp__brand img { width: 34px; height: 34px; }
.endp__in { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 460px; width: 100%; margin: 0 auto; gap: 28px; position: relative; padding: 32px 0; }
.endp h1 { font: 800 38px/1.08 var(--font-display); letter-spacing: -.02em; margin: 0; }
.endp p { margin: 0; color: var(--text-2); line-height: 1.6; font-size: 16px; }
.endp .e { font: 600 12px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.endp .stk { display: flex; flex-direction: column; gap: 12px; }
.endp .stk .btn { text-decoration: none; }
.endp .btn-ghost { height: 56px; width: 100%; }
.okpop { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--success-line); background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; animation: cbx-pop .35s var(--ease); }
.okpop .ic { width: 44px; height: 44px; stroke-width: 2.2; }

.mcoin { margin-left: auto; font: 600 15px var(--font-display); color: var(--gold); flex: none; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.mcoin .ic { width: 16px; height: 16px; color: var(--gold); }
.bal { padding: 32px 28px; border-radius: 30px; background: var(--surface-raised); border: 1px solid var(--line); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bal img { width: 88px; height: 88px; flex: none; display: block; }
.bal b { display: block; font: 800 56px/1 var(--font-display); letter-spacing: -.03em; background: var(--warm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.bal span { display: block; font-size: 14px; color: var(--text-2); margin-top: 8px; }
.soon { padding: 18px 20px; border-radius: 14px; border: 1px dashed var(--line-strong); font-size: 14px; color: var(--text-3); display: flex; gap: 10px; align-items: center; }
.soon .ic { color: var(--text-3); }
.led > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.led b { display: block; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.led small { display: block; font-size: 13px; color: var(--text-3); margin-top: 3px; }
.led span { font: 600 17px var(--font-display); color: var(--gold); flex: none; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.led span .ic { width: 16px; height: 16px; }
.cele { display: flex; align-items: center; gap: 16px; }
.cele img { width: 88px; height: 88px; display: block; flex: none; }
.cele b { display: block; font: 800 48px/1 var(--font-display); letter-spacing: -.03em; background: var(--warm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cele span { display: block; font: 600 18px var(--font-display); margin-top: 4px; }
@media (min-width: 900px) { .bal img { width: 112px; height: 112px; } .bal b { font-size: 72px; } }

.bixie { position: fixed; right: 16px; bottom: 84px; z-index: 15; height: 48px; padding: 0 20px 0 14px; border-radius: 999px; background: var(--surface-overlay); border: 1px solid var(--line-strong); box-shadow: var(--shadow-deep); color: var(--text); font: 600 13.5px var(--font-display); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.bixie i { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-grad); display: flex; align-items: center; justify-content: center; flex: none; }
.bixie .ic { width: 16px; height: 16px; color: #fff; }
@media (min-width: 900px) { .bixie { bottom: 24px; } }
