/* Módulos novos: manutenção do site, solicitação de projeto (questionário), cartão fidelidade, planos de manutenção,
   chamadas de vídeo e cartões salvos. Usa as mesmas variáveis do tema (claro e escuro). */

/* ---------- tela de manutenção (site bloqueado) ---------- */
.maint-card { text-align: center; }
.maint-until, .maint-safe { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.maint-until strong { color: #f5dc8a; }
.maint-safe { display: block; margin-bottom: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.maint-safe .ic { display: inline-block; margin-right: 6px; vertical-align: -4px; }
.maint-card .auth-alt { margin-top: 0; }
.lock-float { position: fixed; top: 12px; left: 50%; z-index: 120; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 32px);
  margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(26, 20, 10, .92); border: 1px solid rgba(224, 178, 74, .5); color: #f5dc8a; font-size: 13.5px; font-weight: 650;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 640px) { .lock-float { top: auto; bottom: 14px; border-radius: 14px; } }
.lock-panel .row { margin-top: 12px; }
.lock-state { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.lock-state.is-on { border-color: rgba(195, 143, 40, .45); background: var(--gold-soft); }
.lock-state strong { display: block; color: var(--ink); }
.lock-state small { display: block; color: var(--muted); font-size: 13px; }
.lock-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.lock-state.is-on .lock-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(224, 178, 74, .25); }

/* ---------- solicitar projeto (questionário em etapas) ---------- */
.rq { display: grid; gap: 18px; scroll-margin-top: calc(var(--top-h) + 12px); }
.rq-progress { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rq-progress .row-between strong { color: var(--ink); font-size: 14.5px; }
.rq-progress .row-between span { color: var(--gold-ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.rq-progress .progress-track { height: 8px; }
.rq-steps { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.rq-steps::-webkit-scrollbar { display: none; }
.rq-step { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 34px; padding: 0 11px 0 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 12.5px; font-weight: 650; }
.rq-step span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: 11.5px; font-weight: 800; }
.rq-step em { font-style: normal; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-step.is-done { color: var(--ink); border-color: var(--line-2); }
.rq-step.is-done span { background: var(--ok-soft); color: var(--ok); }
.rq-step.is-on { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-ink); }
.rq-step.is-on span { background: var(--grad-gold); color: #1a1206; }
.rq-step:disabled { cursor: default; opacity: .7; }
.rq-step:not(:disabled):hover { border-color: var(--gold-2); }
.rq-head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px solid rgba(195, 143, 40, .45); }
.rq-head h2 { font-size: clamp(20px, 2.4vw, 25px); }
.rq-head p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.rq-num { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 14px; background: var(--grad-gold); color: #1a1206; font-size: 19px; font-weight: 800; box-shadow: 0 10px 24px -14px rgba(195, 143, 40, .9); }
.rq-sec .alert { margin-bottom: 18px; }
.rq-qs { display: grid; gap: 22px; }
.rq-q .label { font-size: 14.5px; }
.rq-q.is-choice .label { margin-bottom: 4px; }
.rq-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.rq-choice { display: grid; gap: 10px; }
.rq-choice .pills { gap: 8px; }
.rq-choice .pill span { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.rq-q.has-error .pill span { border-color: var(--bad); }
.rq-other { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 12px; border: 1px dashed var(--gold-2); background: var(--gold-soft); color: var(--gold-ink); animation: rise .2s var(--ease); }
.rq-other .input { min-height: 40px; background: var(--surface); }
.rq-colorpick { display: flex; gap: 8px; align-items: center; }
.rq-colorpick input.color { width: 52px; flex: none; }
.rq-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.rq-saved { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: 12.5px; }
.rq-saved .ic { color: var(--ok); }
.rq-done { text-align: center; padding: clamp(28px, 5vw, 48px); }
.rq-done-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--ok-soft); color: var(--ok); }
.rq-done h2 { font-size: 26px; margin-bottom: 8px; }
.rq-done p { max-width: 52ch; margin: 0 auto 20px; color: var(--muted); }
.rq-done .row { justify-content: center; }
@media (max-width: 640px) {
  .rq-head { align-items: flex-start; gap: 12px; }
  .rq-num { width: 44px; height: 44px; font-size: 16px; border-radius: 12px; }
  .rq-nav .btn { flex: 1; }
  .rq-saved { order: 3; width: 100%; justify-content: center; }
  .rq-step em { display: none; }
  .rq-step { padding-right: 5px; }
}

/* respostas do questionário (cliente e equipe) */
.rq-view { display: grid; gap: 22px; }
.rq-view-sec h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15.5px; }
.rq-view-sec h3 .rq-num { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; box-shadow: none; }
.rq-view-sec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; }
.rq-item { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.rq-item dt { font-size: 12.5px; font-weight: 650; color: var(--muted); margin-bottom: 4px; }
.rq-item dd { margin: 0; color: var(--ink); font-weight: 550; font-size: 14px; overflow-wrap: anywhere; }
.rq-none { color: var(--faint); font-weight: 450; font-style: italic; }
.rq-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.rq-tag { padding: 2px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: 12.5px; font-weight: 650; }
.rq-color { display: inline-flex; align-items: center; gap: 8px; }
.rq-color i { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line-2); }
@media (max-width: 720px) { .rq-view-sec dl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- proposta no modelo SHINNARE ---------- */
.doc-to { margin: 0 0 4px; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.doc-lead { margin: -6px 0 18px; color: var(--muted); font-size: 15.5px; max-width: 64ch; }
.doc-part { margin-top: 30px; }
.doc-part-title { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid rgba(195, 143, 40, .45); font-size: 18px; }
.doc-part-title span { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--grad-gold); color: #1a1206; font-size: 14px; font-weight: 800; }
.doc-part > p { margin: 0 0 12px; }
.doc-parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 16px; }
.doc-parties > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.doc-parties small { font-size: 11.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.doc-parties strong { color: var(--ink); font-size: 15px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doc-table th, .doc-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-table thead th { background: var(--surface-3); color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.doc-table tbody th { width: 30%; color: var(--ink); font-weight: 700; background: var(--surface-2); }
.doc-table tfoot th { background: var(--gold-soft); color: var(--ink); font-size: 15px; border-bottom: 0; }
.doc-table .t-right { text-align: right; }
.doc-terms { display: grid; gap: 14px; margin: 0; }
.doc-terms dt { font-weight: 750; color: var(--ink); font-size: 14.5px; margin-bottom: 3px; }
.doc-terms dd { margin: 0; color: var(--text); }
.doc-terms dd p { margin: 0 0 4px; }
.doc-h4 { margin: 18px 0 8px; font-size: 14.5px; }
@media (max-width: 640px) { .doc-parties { grid-template-columns: minmax(0, 1fr); } .doc-table tbody th { width: 38%; } }
@media print { .doc-part { break-inside: avoid-page; } .doc-part-title span, .rq-num { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* formulário da proposta: títulos de seção e tabela de serviços */
.form-sec { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-sec strong { color: var(--gold-ink); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.form-sec small { color: var(--muted); font-size: 12.5px; }
.items-edit { display: grid; gap: 8px; }
.items-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; gap: 8px; align-items: center; }
.items-edit .link-btn { justify-self: start; }
@media (max-width: 640px) { .items-row { grid-template-columns: minmax(0, 1fr) auto; } .items-row .input-affix { grid-column: 1; } }

/* ---------- cartão fidelidade ---------- */
.lcard { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  width: 100%; max-width: 380px; aspect-ratio: 1.586; padding: 20px 22px; border-radius: 20px; color: #1a1206;
  background: linear-gradient(135deg, #fbe7a1 0%, #e3b650 34%, #b98a2d 62%, #f1d27b 100%); box-shadow: 0 24px 50px -24px rgba(122, 86, 17, .75), inset 0 1px 0 rgba(255, 255, 255, .6); }
.lcard::after { content: ""; position: absolute; right: -40px; bottom: -50px; z-index: -1; width: 210px; height: 190px; opacity: .2;
  background: url(/assets/img/cham-s.webp?v=af216600cd) center / contain no-repeat; transform: rotate(-10deg); }
.lcard-shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%); transform: translateX(-60%); animation: lshine 5.5s ease-in-out infinite; }
@keyframes lshine { 0%, 55% { transform: translateX(-70%); } 85%, 100% { transform: translateX(70%); } }
@media (prefers-reduced-motion: reduce) { .lcard-shine { animation: none; opacity: 0; } }
.lcard.is-off { filter: grayscale(.55) brightness(.92); }
.lcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lcard-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .16em; font-size: 13px; }
.lcard-brand img { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.lcard-special { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #1a1206; color: #f5dc8a; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.lcard-mid small { display: block; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.lcard-mid strong { display: block; font-size: clamp(28px, 5vw, 38px); line-height: 1.05; letter-spacing: -.02em; }
.lcard-bottom { display: flex; gap: 18px; }
.lcard-bottom > div { min-width: 0; }
.lcard-bottom > div:first-child { flex: 1; }
.lcard-bottom small { display: block; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.lcard-bottom span { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loyalty-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: center; }
.loyalty-info h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 8px; }
.loyalty-info p { color: var(--muted); }
.loyalty-msg { display: flex; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); color: var(--ink); font-size: 14.5px; }
.loyalty-msg .ic { color: var(--gold-ink); flex: none; margin-top: 2px; }
.loyalty-wait { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: center; }
.loyalty-wait .lcard { filter: grayscale(.4); opacity: .85; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.perks li { display: flex; gap: 12px; }
.perks li > span, .mt-benefits li > span { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); }
.perks strong, .mt-benefits strong { display: block; color: var(--ink); font-size: 14.5px; }
.perks small, .mt-benefits small { display: block; color: var(--muted); font-size: 13px; }
.loyalty-decide { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.loyalty-preview { position: sticky; top: 0; display: grid; gap: 8px; }
.loyalty-preview > small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ld-pct { width: 110px; }
.ld-pct .input { border-radius: 11px 0 0 11px; }
.ld-pct > span { border-radius: 0 11px 11px 0; border-left: 0; border-right: 1px solid var(--line-2); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-theme="dark"] .chip.is-on { background: var(--grad-gold); border-color: transparent; color: #1a1206; }
.lhint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(195, 143, 40, .45); background: var(--gold-soft); color: var(--ink); font-size: 14px; }
.lhint > .ic { color: var(--gold-ink); }
.lhint span { flex: 1; min-width: 200px; }
.lhint .btn { margin-left: auto; }
@media (max-width: 860px) {
  .loyalty-grid, .loyalty-wait, .loyalty-decide { grid-template-columns: minmax(0, 1fr); }
  .loyalty-preview { position: static; order: -1; }
  .perks { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- manutenção ---------- */
.mt-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mt-row-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.mt-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); min-width: 0; }
.mt-card > small { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mt-card > strong { font-size: 22px; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.mt-card > strong span { font-size: 14.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.mt-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.mt-card p b { color: var(--ink); }
.mt-plan { border-color: rgba(195, 143, 40, .45); background: linear-gradient(160deg, var(--gold-soft), var(--surface) 70%); }
.mt-bar { height: 8px; margin: 4px 0 2px; }
.mt-bar .progress-fill.is-full { background: linear-gradient(90deg, #e9a43a, #d4632a); }
.mt-ask .btn-lg { margin-top: 4px; }
.mt-big { margin: 0 0 8px; font-size: 22px; font-weight: 750; color: var(--ink); }
.mt-safe { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.mt-safe.is-ok { background: var(--ok-soft); color: var(--ok); }
.mt-safe.is-warn { background: var(--warn-soft); color: var(--warn); }
.mt-incl { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 0; }
.site-status ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ss-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); min-width: 0; }
.ss-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--surface-3); color: var(--muted); }
.ss-label { flex: 1; min-width: 0; font-size: 14px; font-weight: 650; color: var(--ink); }
.ss-state { display: flex; color: var(--faint); }
.ss-item.is-ok .ss-ic { background: var(--ok-soft); color: var(--ok); }
.ss-item.is-ok .ss-state { color: var(--ok); }
.ss-item.is-bad { border-color: rgba(177, 38, 31, .35); }
.ss-item.is-bad .ss-ic { background: var(--bad-soft); color: var(--bad); }
.ss-item.is-bad .ss-state { color: var(--bad); }
.ss-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.mt-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(22px, 4vw, 38px);
  background: radial-gradient(circle at 0% 0%, var(--gold-soft), transparent 55%), var(--surface); }
.mt-hero-ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 16px; background: var(--grad-gold); color: #1a1206; box-shadow: 0 12px 26px -14px rgba(195, 143, 40, .9); }
.mt-hero h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; max-width: 22ch; margin-bottom: 10px; }
.mt-hero p { color: var(--muted); max-width: 52ch; }
.mt-from { font-size: 16px; }
.mt-from strong { color: var(--ink); font-size: 20px; }
.mt-benefits { display: grid; gap: 14px; }
.mt-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.mt-offers .sec-title p { margin: 4px 0 0; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
.offer { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.offer.is-highlight { border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(224, 178, 74, .14), var(--shadow-2); }
.offer.is-current { border-color: var(--ok); }
.offer-tag { position: absolute; top: -11px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--grad-gold); color: #1a1206; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.offer h3 { font-size: 19px; }
.offer-sum { margin: 0; color: var(--muted); font-size: 14px; }
.offer-price { margin: 4px 0 2px; }
.offer-price strong { font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.offer-price span { color: var(--muted); font-weight: 600; }
.offer .checks { flex: 1; align-content: start; margin-bottom: 4px; font-size: 14px; }
.offer-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.offer-facts dt { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.offer-facts dd { margin: 0; font-size: 13px; font-weight: 650; color: var(--ink); }
.nr-files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 900px) { .mt-row, .mt-row-2, .mt-hero { grid-template-columns: minmax(0, 1fr); } }

/* ---------- chamadas de vídeo ---------- */
.call-page { max-width: 1200px; }
.call-lobby { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; min-height: calc(100vh - 220px); }
.call-preview { display: grid; gap: 14px; }
.call-join h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.call-join .alert { margin: 14px 0; }
.call-join .row { margin-top: 18px; }
.call-safe { display: flex; align-items: center; gap: 6px; margin: 18px 0 0; font-size: 12.5px; color: var(--faint); }
.call-tile { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: #0f0d0a; aspect-ratio: 16 / 10; box-shadow: var(--shadow-2); }
.call-tile.is-big { aspect-ratio: 16 / 9; }
.call-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0f0d0a; }
.call-video.is-mirror { transform: scaleX(-1); }
.call-novideo { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a2216, #0f0d0a 70%); }
.call-tile figcaption { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px;
  background: rgba(10, 8, 6, .62); color: #fff; font-size: 12.5px; font-weight: 650; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.call-tile figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-tile figcaption .ic { color: #ff9b8f; flex: none; }
.call-tile figcaption em { font-style: normal; color: #f5dc8a; font-weight: 600; }
.call-controls { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.call-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); transition: background-color .15s, transform .15s; }
.call-btn:hover { transform: translateY(-1px); border-color: var(--gold); }
.call-btn.is-off { background: var(--bad-soft); color: var(--bad); border-color: rgba(177, 38, 31, .35); }
.call-btn.is-on { background: var(--grad-gold); color: #1a1206; border-color: transparent; }
.call-btn.is-hang { background: #c62f24; border-color: #c62f24; color: #fff; }
.call-btn.is-hang:hover { background: #a8261d; }
.call-stage { display: grid; gap: 14px; }
.call-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.call-top strong { color: var(--ink); font-size: 16px; }
.call-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--bad-soft); color: var(--bad); font-weight: 750; font-size: 13px; font-variant-numeric: tabular-nums; }
.call-live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.call-grid { position: relative; display: grid; gap: 12px; min-height: 52vh; padding: 12px; border-radius: 22px; background: #0b0a08; }
.call-grid.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.call-grid.n-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.call-grid .call-tile { height: 100%; aspect-ratio: auto; min-height: 220px; }
.call-grid.n-0 .call-tile.is-me, .call-grid.n-1 .call-tile.is-big { min-height: 52vh; }
.call-self { position: absolute; right: 22px; bottom: 22px; width: clamp(140px, 20%, 240px); z-index: 2; }
.call-self .call-tile { aspect-ratio: 16 / 10; min-height: 0; border: 2px solid rgba(245, 220, 138, .5); }
.call-wait { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 52vh; color: rgba(255, 255, 255, .75); }
.call-controls.is-bar { padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.call-end { text-align: center; padding: clamp(28px, 6vw, 56px); }
.call-end-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--surface-3); color: var(--muted); }
.call-end .row { justify-content: center; margin-top: 18px; }
.ringer { position: fixed; right: 18px; bottom: 18px; z-index: 250; display: flex; align-items: center; gap: 14px; width: min(440px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 20px;
  background: #15120d; color: #fff; border: 1px solid rgba(224, 178, 74, .45); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7); animation: rise .25s var(--ease); }
.ringer-av { position: relative; flex: none; }
.ringer-av::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(224, 178, 74, .7); animation: ringpulse 1.6s ease-out infinite; }
@keyframes ringpulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.ringer-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ringer-text strong { font-size: 15px; }
.ringer-text small { color: rgba(255, 255, 255, .7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ringer-actions { display: flex; align-items: center; gap: 8px; }
.ringer .call-btn { width: 44px; height: 44px; }
@media (prefers-reduced-motion: reduce) { .ringer-av::after, .call-live i { animation: none; } }
@media (max-width: 860px) {
  .call-lobby { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .call-grid.n-2, .call-grid.n-3 { grid-template-columns: minmax(0, 1fr); }
  .call-self { width: 34%; right: 18px; bottom: 18px; }
  .ringer { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; flex-wrap: wrap; }
}

/* ---------- cartões salvos ---------- */
.saved-cards { display: grid; gap: 10px; }
.saved-card { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.saved-card.is-expired { opacity: .7; }
.sc-chip { display: grid; place-items: center; width: 46px; height: 32px; flex: none; border-radius: 7px; background: var(--grad-gold); color: #1a1206; }
.sc-text { flex: 1; min-width: 160px; }
.sc-text strong { display: block; color: var(--ink); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.sc-text small { color: var(--muted); font-size: 12.5px; }
.cards-note { margin: -6px 0 12px; }

/* página isolada "Adicionar cartão" */
.cardpage { min-height: 100vh; background: var(--bg); }
.cardpage-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto; padding: 18px 16px; }
.cardpage-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: .14em; text-decoration: none; }
.cardpage-main { max-width: 760px; margin: 0 auto; padding: 0 16px 48px; }
.cardpage-card { padding: clamp(22px, 4vw, 36px); }
.cardpage-card .page-sub { margin-bottom: 20px; }
.cardpage-form { display: grid; gap: 16px; }
.cardpage-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mp-field { height: 46px; padding: 0 13px; display: flex; align-items: center; }
.mp-field iframe { width: 100%; height: 44px; border: 0; }
.cardpage-msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.cardpage-safe { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
@media (max-width: 520px) { .cardpage-two { grid-template-columns: 1fr; } }
