/* LÚMEN PIX VOZ — página que fala (tema de cada cliente) + painéis claros e simples */
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img { max-width: 100%; }

/* ================================================================ página pública /p/CODIGO */
.pubbody {
  --cor: #3b82f6; --fundo: #050a17; --txt: #eef3ff; --sub: #9aa8c7; --vidro: rgba(255,255,255,.055); --borda: rgba(160,180,255,.17); --txtbtn: #fff;
  min-height: 100vh; min-height: 100dvh; color: var(--txt); font: 15px/1.45 "Sora", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1px 1px at 12% 18%, color-mix(in srgb, var(--txt) 55%, transparent), transparent), radial-gradient(1px 1px at 78% 12%, color-mix(in srgb, var(--txt) 45%, transparent), transparent),
    radial-gradient(1px 1px at 64% 72%, color-mix(in srgb, var(--txt) 35%, transparent), transparent), radial-gradient(1.5px 1.5px at 90% 48%, color-mix(in srgb, var(--txt) 40%, transparent), transparent),
    radial-gradient(60% 42% at 50% 0%, color-mix(in srgb, var(--cor) 30%, transparent), transparent 72%),
    radial-gradient(50% 40% at 100% 100%, color-mix(in srgb, var(--cor) 12%, transparent), transparent 70%),
    var(--fundo);
  background-attachment: fixed;
}
.pub { display: flex; flex-direction: column; align-items: center; padding: max(34px, env(safe-area-inset-top)) 18px max(26px, env(safe-area-inset-bottom)); max-width: 440px; margin: 0 auto; text-align: center; }
.orb {
  position: relative; width: 116px; height: 116px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; overflow: visible;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--cor) 35%, #fff), var(--cor) 50%, color-mix(in srgb, var(--cor) 55%, #000) 85%);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--cor) 9%, transparent), 0 0 0 22px color-mix(in srgb, var(--cor) 5%, transparent), 0 0 48px 6px color-mix(in srgb, var(--cor) 55%, transparent);
  animation: respira 3.2s ease-in-out infinite;
}
.orb::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cor) 40%, transparent); }
.orb > svg { width: 42px; height: 42px; }
.orb.logo { background: #fff; }
.orb.logo img { width: 78%; height: 78%; object-fit: contain; border-radius: 50%; }
@keyframes respira { 50% { transform: scale(1.045); } }
.ondas { display: flex; gap: 3px; align-items: center; height: 34px; margin: 18px 0 8px; }
.ondas i { width: 3px; height: 6px; border-radius: 3px; background: linear-gradient(color-mix(in srgb, var(--cor) 55%, #fff), var(--cor)); opacity: .5; }
.falando .ondas i { opacity: 1; animation: onda .9s ease-in-out infinite; }
@keyframes onda { 0%, 100% { height: 6px; } 50% { height: var(--h, 26px); } }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--sub); padding: 5px 12px; border-radius: 99px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--sub); }
.falando .status i { background: var(--cor); box-shadow: 0 0 8px var(--cor); }
.status.toque { color: var(--txt); background: var(--vidro); border: 1px solid var(--borda); animation: chama 1.6s ease-in-out infinite; }
@keyframes chama { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--cor) 18%, transparent); } }
.pub h1 { font-size: 27px; font-weight: 700; letter-spacing: -.5px; margin-top: 20px; }
.pub .sub { color: var(--sub); font-size: 14px; margin: 4px 0 22px; }
.cartao { width: 100%; text-align: left; padding: 18px; border-radius: 22px; background: var(--vidro); border: 1px solid var(--borda); box-shadow: 0 20px 50px #0003; backdrop-filter: blur(10px); }
.chave { display: flex; gap: 12px; align-items: center; }
.ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--cor); background: color-mix(in srgb, var(--cor) 13%, transparent); border: 1px solid color-mix(in srgb, var(--cor) 30%, transparent); }
.ic svg { width: 22px; height: 22px; }
.rot { display: block; font-size: 11.5px; color: var(--sub); }
.val { display: block; font-size: 17px; font-weight: 600; word-break: break-all; }
.selo { display: inline-flex; align-items: center; gap: 5px; margin: 12px 0 2px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; color: #10b981; background: #10b98114; border: 1px solid #10b98155; }
.linha { height: 1px; background: var(--borda); margin: 14px 0; }
.par { margin-bottom: 10px; }
.par .val { font-size: 15.5px; }
.copiar {
  width: 100%; margin-top: 8px; padding: 16px; border: 0; border-radius: 15px; cursor: pointer; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--txtbtn);
  background: linear-gradient(135deg, color-mix(in srgb, var(--cor) 65%, #fff), var(--cor));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--cor) 45%, transparent);
  animation: pula 1.9s ease-in-out infinite;
}
@keyframes pula { 0%, 55%, 100% { transform: translateY(0); } 15% { transform: translateY(-6px); } 30% { transform: translateY(0); } 42% { transform: translateY(-3px); } }
.copiar.ok { animation: estalo .45s ease; color: #04221a; background: linear-gradient(135deg, #6ee7b7, #10b981); box-shadow: 0 10px 26px #10b98166; }
@keyframes estalo { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.toast { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 13px; font-size: 14px; font-weight: 600; background: #10b9811f; border: 1px solid #10b98166; animation: sobe .35s ease; }
.toast b { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; font-size: 13px; animation: estalo .5s .1s ease; }
@keyframes sobe { from { opacity: 0; transform: translateY(8px); } }
.dica { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin-top: 16px; color: var(--sub); font-size: 13px; }
.dica svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--cor); }
.rodape { display: inline-block; margin-top: 26px; padding: 8px 14px; border-radius: 99px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sub); text-decoration: none; }
.rodape b { color: #e3c06a; font-weight: 700; }
.rodape:active { background: var(--vidro); }
.vazio { margin-top: 30vh; color: var(--sub); }

/* ================================================================ painéis (Lúmen e cliente): claro e simples */
.pn {
  --bg: #f6f7f4; --card: #fff; --linha: #e8e9e4; --txt: #111613; --sub: #6b7068; --preto: #111613; --verde: #0f9d58; --ouro: #b8902e;
  min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--txt); font: 15px/1.45 "Inter", system-ui, -apple-system, sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}
.pn a { color: inherit; }
.barra { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linha); }
.marca { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; letter-spacing: -.2px; }
.marca i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--preto); color: #e3c06a; font-style: normal; font-weight: 800; font-size: 15px; }
.marca small { display: block; font-weight: 500; font-size: 11.5px; color: var(--sub); }
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px 40px; }
.ola h1 { font-size: 24px; letter-spacing: -.5px; }
.ola p { color: var(--sub); margin: 2px 0 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.stats div { background: var(--card); border: 1px solid var(--linha); border-radius: 16px; padding: 12px; }
.stats b { display: block; font-size: 22px; letter-spacing: -.5px; }
.stats span { font-size: 12px; color: var(--sub); }
.tit { font-size: 15px; font-weight: 700; margin: 4px 2px 10px; }
.opcoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.opcao { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; border-radius: 18px; border: 1px solid var(--linha); background: var(--card); cursor: pointer; text-align: left; box-shadow: 0 1px 2px #0000000a; transition: transform .1s; }
.opcao:active { transform: scale(.97); }
.opcao b { font-size: 14px; line-height: 1.2; }
.opcao small { font-size: 11.5px; color: var(--sub); line-height: 1.25; }
.bola { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.bola svg { width: 22px; height: 22px; }
.bola.pix { background: #e6f7f5; color: #32bcad; }
.bola.google { background: #eef3fe; }
.bola.instagram { background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf); color: #fff; }
.bola.link { background: #f1f2ef; color: #475569; }
.box { background: var(--card); border: 1px solid var(--linha); border-radius: 20px; padding: 16px; margin-bottom: 14px; }
.box h2 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
label.c { display: block; margin-bottom: 12px; }
label.c > span { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.in { width: 100%; height: 50px; padding: 0 14px; border-radius: 13px; border: 1px solid #dfe1da; background: #fff; outline: 0; font-size: 16px; -webkit-appearance: none; appearance: none; }
select.in { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7068' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 34px; }
.in:focus { border-color: var(--preto); box-shadow: 0 0 0 3px #11161314; }
.in.cor { padding: 4px; height: 50px; cursor: pointer; }
.lado { display: flex; gap: 8px; }
.lado > * { flex: 1; min-width: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 15px; border-radius: 13px; cursor: pointer; border: 1px solid #dfe1da; background: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--txt); }
.btn:active { transform: scale(.98); }
.btn.pri { border: 0; color: #fff; background: var(--preto); }
.btn.verde { border: 0; color: #fff; background: #1faa59; }
.btn.gg { width: 100%; min-height: 54px; font-size: 16px; border-radius: 15px; }
.btn.mini { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.chip { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; font-style: normal; background: #f1f2ef; color: #475569; white-space: nowrap; }
.chip.v { background: #e7f6ee; color: #0f7a43; }
.chip.a { background: #fff4dd; color: #8a5a00; }
.chip.e { background: #fdeceb; color: #b42318; }
.msg { font-size: 13.5px; margin-top: 10px; }
.msg:empty { display: none; }
.msg.erro { color: #b42318; }
.msg.ok { color: #0f7a43; }
.dica2 { font-size: 12.5px; color: var(--sub); margin: 6px 0 12px; }
.filtros { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtros button { flex: none; min-height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--linha); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.filtros button.on { background: var(--preto); color: #fff; border-color: var(--preto); }
.item { display: flex; gap: 12px; align-items: center; padding: 12px 2px; border-top: 1px solid var(--linha); cursor: pointer; }
.item:first-child { border-top: 0; }
.item .bola { width: 42px; height: 42px; flex: none; overflow: hidden; }
.item .bola img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.item .tx { flex: 1; min-width: 0; }
.item .tx b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.item .tx small { color: var(--sub); font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .seta { color: #b5b8b0; font-size: 20px; }
.item.off { opacity: .45; }
.vazio2 { text-align: center; color: var(--sub); padding: 22px 8px; font-size: 14px; }
.fundo { position: fixed; inset: 0; z-index: 30; background: #11161366; backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; }
.folha { width: 100%; max-width: 520px; max-height: 94vh; max-height: 94dvh; overflow: auto; -webkit-overflow-scrolling: touch; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: var(--bg); animation: sobe .25s ease; }
.folha::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 9px; background: #d4d6cf; margin: 0 auto 10px; }
.folha h3 { font-size: 18px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.folha h3 .bola { width: 34px; height: 34px; border-radius: 10px; }
.folha h3 .bola svg { width: 19px; height: 19px; }
.folha h3 > span { display: flex; align-items: center; gap: 10px; }
.fechar { flex: none; border: 0; background: #e9eae5; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; }
@media (min-width: 640px) { .fundo { align-items: center; } .folha { border-radius: 24px; } .folha::before { display: none; } }
.acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.acoes .btn { width: 100%; }
.acoes .cheio { grid-column: 1 / -1; }
.qr { width: 200px; height: 200px; margin: 4px auto 10px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--linha); display: block; }
.link { display: block; text-align: center; font-size: 13px; word-break: break-all; color: var(--sub) !important; }
.acesso { margin-top: 12px; padding: 12px; border-radius: 14px; background: #fbf6e9; border: 1px dashed #e0c98a; font-size: 13.5px; text-align: center; }
.acesso b { color: var(--ouro); font-size: 18px; letter-spacing: 1px; }
.voz { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--linha); margin-top: 12px; font-size: 13.5px; }
.centro { text-align: center; }
/* personalizar (logo e cores) */
.pers { border: 1px solid var(--linha); border-radius: 16px; padding: 0 14px; margin-bottom: 12px; background: #fff; }
.pers summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; }
.pers summary::after { content: "＋"; color: var(--sub); }
.pers[open] summary::after { content: "－"; }
.pers summary::-webkit-details-marker { display: none; }
.logo-l { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.logo-v { width: 50px; height: 50px; flex: none; border-radius: 13px; border: 1px dashed #cfd2c9; display: grid; place-items: center; font-size: 10px; color: var(--sub); overflow: hidden; background: #fff; }
.logo-v img { width: 100%; height: 100%; object-fit: contain; }
.rot2 { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.temas { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; margin-bottom: 12px; }
.temas button { aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d4d6cf; cursor: pointer; padding: 0; }
.previa { --cor: #3b82f6; --fundo: #050a17; --txt: #eef3ff; --txtbtn: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border-radius: 16px; margin-bottom: 12px; background: radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--cor) 32%, transparent), transparent 75%), var(--fundo); color: var(--txt); }
.previa b { font-size: 14px; }
.orb-p { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--cor) 35%, #fff), var(--cor) 55%); box-shadow: 0 0 20px color-mix(in srgb, var(--cor) 60%, transparent); overflow: hidden; }
.orb-p img { width: 78%; height: 78%; object-fit: contain; border-radius: 50%; background: #fff; }
.orb-p:has(img) { background: #fff; }
.btn-p { padding: 8px 16px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: var(--txtbtn); background: var(--cor); }
