/* iTatto (provisório) v2: visual próprio de app de tatuagem (tinta, papel, vermelhão). Não é a marca Ubia. */
:root {
  --bg: #0f0e0d; --surface: #171513; --surface-2: #1f1c19; --surface-3: #2a2622; --line: #2f2a25; --line-2: #3b352f;
  --text: #f3ede5; --text-2: #c9c0b5; --muted: #8f867b;
  --accent: #e4573d; --accent-ink: #fff; --accent-soft: rgba(228, 87, 61, .14);
  --gold: #e8b04b; --gold-soft: rgba(232, 176, 75, .14);
  --ok: #4fae7b; --ok-soft: rgba(79, 174, 123, .14); --bad: #e4573d; --info: #6aa2c9; --info-soft: rgba(106, 162, 201, .14);
  --r: 14px; --r-sm: 10px; --sombra: 0 10px 30px rgba(0, 0, 0, .35);
  --t: .18s cubic-bezier(.2, .7, .3, 1);
  --fonte: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --titulo: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--fonte); min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--titulo); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.6vw, 52px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; }
h3 { font-size: 17px; font-weight: 650; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
main { flex: 1; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* aviso de protótipo */
.aviso-topo { background: var(--gold); color: #1d1a17; text-align: center; font-size: 12.5px; font-weight: 600; padding: 6px 12px; }

/* ---------- navbar ---------- */
.topo { position: sticky; top: 0; z-index: 40; background: rgba(15, 14, 13, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topo-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--titulo); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo-marca { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; }
.logo-marca svg { width: 18px; height: 18px; }
.logo small { font: 500 11px var(--fonte); color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 500; transition: var(--t); position: relative; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.on { color: var(--text); background: var(--surface-3); }
.nav .bolinha { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.topo-dir { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.papel-tag { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--titulo); background: linear-gradient(135deg, var(--accent), var(--gold)); color: #1d1a17; flex-shrink: 0; }
.avatar.g { width: 64px; height: 64px; font-size: 22px; }
.avatar.xg { width: 96px; height: 96px; font-size: 32px; border: 3px solid var(--bg); }
.menu-conta { position: relative; }
.menu-conta > button { display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid var(--line-2); transition: var(--t); }
.menu-conta > button:hover { background: var(--surface-2); }
.menu-conta .caixa { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--sombra); padding: 6px; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: var(--t); }
.menu-conta.aberto .caixa { opacity: 1; transform: none; pointer-events: auto; }
.caixa .quem { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 13px; }
.caixa a, .caixa button { display: flex; width: 100%; text-align: left; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.caixa a:hover, .caixa button:hover { background: var(--surface-2); color: var(--text); }

/* barra de baixo no celular (cliente) */
.tabbar { display: none; }

/* ---------- botões, campos, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: var(--t); white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-p { background: var(--accent); color: var(--accent-ink); }
.btn-p:hover { filter: brightness(1.08); box-shadow: 0 6px 20px rgba(228, 87, 61, .35); }
.btn-s { background: var(--surface-2); border: 1px solid var(--line-2); }
.btn-s:hover { background: var(--surface-3); }
.btn-g { color: var(--text-2); }
.btn-g:hover { color: var(--text); background: var(--surface-2); }
.btn-ouro { background: var(--gold); color: #1d1a17; }
.btn-ouro:hover { filter: brightness(1.06); }
.btn-peq { height: 34px; padding: 0 13px; font-size: 13px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn-ic { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.campo { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.campo small { font-weight: 400; color: var(--muted); }
.inp { width: 100%; height: 44px; padding: 0 14px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line-2); transition: var(--t); font-size: 14.5px; color: var(--text); }
textarea.inp { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); transition: var(--t); }
button.chip:hover { border-color: var(--muted); color: var(--text); }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.exemplo { display: inline-block; font: 600 10px var(--fonte); text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; background: var(--gold-soft); color: var(--gold); vertical-align: middle; margin-left: 4px; }
.selo { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ok); }
.estrela { color: var(--gold); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.ok { background: var(--ok-soft); color: var(--ok); }
.st.warn { background: var(--gold-soft); color: var(--gold); }
.st.bad { background: var(--accent-soft); color: var(--accent); }
.st.info { background: var(--info-soft); color: var(--info); }
.st.neutro { background: var(--surface-3); color: var(--text-2); }

/* ---------- cartões ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.card-p { padding: 20px; }
.grade { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.linha { display: flex; align-items: center; gap: 12px; }
.entre { justify-content: space-between; }
.pilha { display: grid; gap: 12px; }
.sep { height: 1px; background: var(--line); margin: 16px 0; }

/* cartão de tatuador */
.tt { overflow: hidden; transition: var(--t); position: relative; display: flex; flex-direction: column; }
.tt:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--sombra); }
.tt-capa { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; aspect-ratio: 16 / 10; background: var(--line); }
.tt-capa > div { overflow: hidden; }
.tt-capa > div:first-child { grid-row: span 2; }
.tt-capa svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tt-capa img { width: 100%; height: 100%; object-fit: cover; }
.tt:hover .tt-capa svg { transform: scale(1.04); }
.tt-corpo { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; }
.tt-nome { display: flex; align-items: center; gap: 10px; }
.tt-nome .avatar { width: 38px; height: 38px; margin-top: -32px; border: 3px solid var(--surface); }
.tt-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); }
.fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(15, 14, 13, .7); backdrop-filter: blur(6px); display: grid; place-items: center; transition: var(--t); z-index: 2; }
.fav:hover { transform: scale(1.1); }
.fav svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; transition: var(--t); }
.fav.on svg { fill: var(--accent); stroke: var(--accent); animation: pulso .35s; }
@keyframes pulso { 50% { transform: scale(1.35); } }
.agenda-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(15, 14, 13, .75); color: var(--ok); backdrop-filter: blur(6px); }

/* ---------- home ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(circle, rgba(228, 87, 61, .22), transparent 60%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.sub { font-size: 18px; color: var(--text-2); margin: 18px 0 28px; max-width: 520px; }
.busca-hero { display: flex; gap: 8px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--sombra); max-width: 560px; }
.busca-hero .inp { border: 0; background: transparent; height: 42px; }
.busca-hero select.inp { max-width: 170px; border-left: 1px solid var(--line-2); border-radius: 0; }
.hero-mosaico { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-3deg); }
.hero-mosaico > div { border-radius: 12px; overflow: hidden; box-shadow: var(--sombra); animation: flutua 6s ease-in-out infinite; }
.hero-mosaico > div:nth-child(2n) { margin-top: 28px; animation-delay: -2s; }
@keyframes flutua { 50% { transform: translateY(-8px); } }
.numeros { display: flex; gap: 28px; margin-top: 28px; }
.numeros b { display: block; font: 700 24px var(--titulo); }
.numeros span { font-size: 12.5px; color: var(--muted); }
.secao { padding: 48px 0; }
.secao-topo { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.estilo-card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; display: block; }
.estilo-card svg { width: 100%; height: 100%; transition: transform .5s; }
.estilo-card:hover svg { transform: scale(1.06); }
.estilo-card span { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); font: 650 15px var(--titulo); }
.passos { counter-reset: p; }
.passo { padding: 22px; }
.passo::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font: 700 15px var(--titulo); margin-bottom: 14px; }
.passo p { color: var(--text-2); font-size: 14px; margin-top: 6px; }
.faixa-ia { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; border-radius: 20px; background: linear-gradient(120deg, rgba(228, 87, 61, .18), rgba(232, 176, 75, .12)); border: 1px solid var(--line-2); }

/* ---------- busca ---------- */
.busca-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; padding: 28px 0 56px; align-items: start; }
.filtros { position: sticky; top: 84px; padding: 18px; display: grid; gap: 18px; }
.filtros h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; font-family: var(--fonte); }
.faixa { display: flex; align-items: center; gap: 10px; }
.faixa input[type=range] { flex: 1; accent-color: var(--accent); }
.troca { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; cursor: pointer; }
.troca input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--surface-3); position: relative; transition: var(--t); cursor: pointer; flex-shrink: 0; }
.troca input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); transition: var(--t); }
.troca input:checked { background: var(--accent); }
.troca input:checked::after { left: 19px; background: #fff; }
.resultado-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.filtro-btn { display: none; }

/* ---------- estado vazio ---------- */
.vazio { text-align: center; padding: 48px 20px; display: grid; justify-items: center; gap: 10px; }
.vazio .ilus { width: 88px; height: 88px; border-radius: 24px; background: var(--surface-2); border: 1px dashed var(--line-2); display: grid; place-items: center; margin-bottom: 6px; }
.vazio .ilus svg { width: 40px; height: 40px; stroke: var(--muted); fill: none; stroke-width: 1.5; }
.vazio p { color: var(--muted); max-width: 360px; font-size: 14px; }

/* ---------- perfil ---------- */
.perfil-capa { height: 220px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; overflow: hidden; }
.perfil-capa > div { overflow: hidden; } .perfil-capa svg { width: 100%; height: 100%; filter: brightness(.6); }
.perfil-topo { display: flex; gap: 20px; align-items: flex-end; margin-top: -48px; position: relative; flex-wrap: wrap; }
.perfil-topo .acoes { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.perfil-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 28px 0 56px; align-items: start; }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.portfolio button { border-radius: 10px; overflow: hidden; transition: var(--t); }
.portfolio button:hover { transform: scale(1.02); box-shadow: var(--sombra); }
.lateral { position: sticky; top: 84px; }
.info-l { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.info-l:last-child { border: 0; }
.aval { padding: 16px 0; border-bottom: 1px solid var(--line); }
.aval:last-child { border: 0; }
.resposta { margin-top: 10px; padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--surface-2); border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--text-2); }
.abas { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.abas button { padding: 12px 14px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: var(--t); white-space: nowrap; }
.abas button.on { color: var(--text); border-color: var(--accent); }

/* ---------- fluxo de pedido ---------- */
.fluxo { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 28px 0 56px; align-items: start; }
.etapas { display: flex; gap: 8px; margin-bottom: 22px; }
.etapas span { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); position: relative; }
.etapas span.on { background: var(--accent); }
.etapas-rot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: -14px 0 22px; }
.anexo { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line-2); }
.anexo .mini { width: 52px; height: 66px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--surface-3); }
.anexo .mini img, .anexo .mini svg { width: 100%; height: 100%; object-fit: cover; }
.soltar { border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); padding: 18px; text-align: center; color: var(--muted); font-size: 13.5px; transition: var(--t); cursor: pointer; display: block; }
.soltar:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.alerta { padding: 12px 14px; border-radius: var(--r-sm); font-size: 13.5px; display: flex; gap: 10px; }
.alerta.bad { background: var(--accent-soft); color: #ffb4a6; }
.alerta.info { background: var(--info-soft); color: #b9d7ec; }
.alerta.ouro { background: var(--gold-soft); color: #f3d79c; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13px; text-align: center; transition: var(--t); }
.slot:hover:not([disabled]) { border-color: var(--accent); }
.slot.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot[disabled] { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.slot b { display: block; font-size: 11px; font-weight: 500; color: inherit; opacity: .75; }
.pix { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
.pix svg { background: #fff; border-radius: 10px; padding: 8px; }

/* pedidos e chat */
.pedido-l { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px; transition: var(--t); }
.pedido-l:hover { background: var(--surface-2); }
.pedido-l .mini { width: 56px; height: 70px; border-radius: 8px; overflow: hidden; }
.linha-tempo { display: flex; gap: 0; margin: 6px 0 2px; }
.linha-tempo i { flex: 1; height: 3px; background: var(--surface-3); margin-right: 3px; border-radius: 3px; }
.linha-tempo i.on { background: var(--ok); }
.chat { display: flex; flex-direction: column; height: 520px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14px; animation: entra .25s; }
.msg.eu { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.ele { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.sis { align-self: center; background: transparent; color: var(--muted); font-size: 12px; text-align: center; }
.msg small { display: block; opacity: .7; font-size: 11px; margin-top: 3px; }
.digitando { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--surface-2); border-radius: 16px; }
.digitando i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: pula 1s infinite; }
.digitando i:nth-child(2) { animation-delay: .15s; } .digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pula { 30% { transform: translateY(-4px); } }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.estrelas { display: flex; gap: 4px; }
.estrelas button { font-size: 28px; color: var(--surface-3); transition: var(--t); line-height: 1; }
.estrelas button.on, .estrelas button:hover { color: var(--gold); transform: scale(1.1); }
.orc-box { padding: 16px; border-radius: var(--r); background: linear-gradient(135deg, rgba(79, 174, 123, .12), transparent); border: 1px solid rgba(79, 174, 123, .35); }

/* ---------- IA ---------- */
.ia-layout { display: grid; grid-template-columns: 380px 1fr; gap: 28px; padding: 28px 0 56px; align-items: start; }
.ia-grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ia-op { position: relative; border-radius: var(--r); overflow: hidden; border: 2px solid transparent; transition: var(--t); background: var(--surface); }
.ia-op:hover { transform: translateY(-2px); }
.ia-op.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ia-op .exemplo { position: absolute; top: 10px; left: 10px; margin: 0; background: rgba(15, 14, 13, .8); }
.ia-op .marca { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: none; place-items: center; color: #fff; font-weight: 700; }
.ia-op.on .marca { display: grid; }
.esqueleto { aspect-ratio: 200 / 260; border-radius: var(--r); background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%); background-size: 300% 100%; animation: brilho 1.2s infinite; }
@keyframes brilho { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sugestoes { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- painéis (tatuador e admin) ---------- */
.painel { display: grid; grid-template-columns: 236px 1fr; min-height: calc(100vh - 64px - 31px); background: linear-gradient(90deg, var(--surface) 235px, var(--line) 235px 236px, transparent 236px); }
.lado { border-right: 1px solid var(--line); padding: 20px 12px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; background: var(--surface); }
.lado .quem-l { display: flex; gap: 10px; align-items: center; padding: 6px 10px 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.lado nav { display: grid; gap: 2px; }
.lado nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: var(--t); }
.lado nav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }
.lado nav a:hover { background: var(--surface-2); color: var(--text); }
.lado nav a.on { background: var(--accent-soft); color: var(--text); }
.lado nav a.on svg { stroke: var(--accent); }
.lado nav a .cont { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: #fff; }
.lado .grupo { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 12px 6px; }
.conteudo { padding: 28px clamp(16px, 3vw, 36px) 56px; min-width: 0; }
.conteudo-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.conteudo-topo p { color: var(--muted); margin-top: 4px; }
.kpi { padding: 18px; display: grid; gap: 6px; position: relative; overflow: hidden; }
.kpi .rot { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.kpi .val { font: 700 28px var(--titulo); letter-spacing: -.02em; }
.kpi .var { font-size: 12.5px; font-weight: 600; }
.kpi .var.sobe { color: var(--ok); } .kpi .var.desce { color: var(--accent); }
.kpi .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); }
.kpi .ic svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.grafico { width: 100%; height: auto; overflow: visible; }
.grafico .barra { fill: var(--accent); transition: var(--t); transform-origin: bottom; transform-box: fill-box; animation: cresce .6s cubic-bezier(.2, .7, .3, 1) both; }
.grafico .barra.fraca { fill: var(--surface-3); }
.grafico .barra:hover { fill: var(--gold); }
@keyframes cresce { from { transform: scaleY(0); } }
.grafico text { fill: var(--muted); font-size: 11px; font-family: var(--fonte); }
.grafico .grade-l { stroke: var(--line); stroke-dasharray: 3 4; }
.grafico .linha-g { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1000; animation: desenha 1.2s ease-out both; }
.grafico .area { fill: url(#gradArea); }
@keyframes desenha { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.barras-h { display: grid; gap: 10px; }
.barras-h .l { display: grid; grid-template-columns: 110px 1fr 46px; gap: 10px; align-items: center; font-size: 13px; }
.barras-h .trilho { height: 8px; background: var(--surface-2); border-radius: 8px; overflow: hidden; }
.barras-h .trilho i { display: block; height: 100%; background: var(--accent); border-radius: 8px; animation: largura .8s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes largura { from { width: 0 !important; } }
.lista-l { display: grid; }
.lista-l > * { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lista-l > *:last-child { border: 0; }
.hora-box { width: 52px; text-align: center; padding: 6px 0; border-radius: 10px; background: var(--surface-2); flex-shrink: 0; }
.hora-box b { display: block; font: 700 15px var(--titulo); }
.hora-box span { font-size: 11px; color: var(--muted); }

/* agenda semanal */
.agenda { display: grid; grid-template-columns: 52px repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); min-width: 760px; }
.agenda-rolar { overflow-x: auto; }
.agenda .cab { padding: 10px 8px; text-align: center; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.agenda .cab b { display: block; color: var(--text); font: 700 18px var(--titulo); }
.agenda .cab.hoje b { color: var(--accent); }
.agenda .horas { display: grid; grid-template-rows: repeat(11, 52px); }
.agenda .horas span { font-size: 11px; color: var(--muted); text-align: right; padding: 2px 8px 0 0; border-top: 1px solid var(--line); }
.agenda .coluna { position: relative; display: grid; grid-template-rows: repeat(11, 52px); border-left: 1px solid var(--line); }
.agenda .coluna > i { border-top: 1px solid var(--line); }
.agenda .coluna > i:hover { background: var(--surface-2); cursor: pointer; }
.evento { position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 6px 8px; font-size: 12px; overflow: hidden; transition: var(--t); text-align: left; border-left: 3px solid; }
.evento:hover { transform: scale(1.02); z-index: 3; box-shadow: var(--sombra); }
.evento b { display: block; font-size: 12.5px; }
.evento.sessao { background: rgba(228, 87, 61, .2); border-color: var(--accent); }
.evento.ok { background: var(--ok-soft); border-color: var(--ok); }
.evento.falta { background: var(--surface-3); border-color: var(--muted); text-decoration: line-through; color: var(--muted); }
.evento.bloq { background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 6px, var(--surface-3) 6px, var(--surface-3) 12px); border-color: var(--line-2); color: var(--muted); }
.legenda { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legenda span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 16px; overflow-x: auto; }
.coluna-k { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; gap: 10px; align-content: start; min-height: 260px; }
.coluna-k h4 { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 6px; font-family: var(--fonte); }
.coluna-k h4 span { color: var(--muted); }
.cartao-k { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; display: grid; gap: 8px; transition: var(--t); animation: entra .25s; }
.cartao-k:hover { border-color: var(--muted); }
.cartao-k .topo-k { display: flex; gap: 10px; }
.cartao-k .mini { width: 44px; height: 56px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.cartao-k p { font-size: 13px; color: var(--text-2); }

/* tabela */
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tabela td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tabela tr:last-child td { border: 0; }
.tabela tbody tr { transition: var(--t); }
.tabela tbody tr:hover { background: var(--surface-2); }
.tabela-rolar { overflow-x: auto; }

/* portfólio do tatuador */
.port-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.port-ed .it { position: relative; border-radius: 12px; overflow: hidden; animation: entra .3s; }
.port-ed .it .acoes-it { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); opacity: 0; transition: var(--t); }
.port-ed .it:hover .acoes-it { opacity: 1; }
.port-ed .it .acoes-it button { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 14px; }
.port-ed .it.destaque::after { content: '★ destaque'; position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: #1d1a17; }
.port-ed .novo { aspect-ratio: 200 / 260; border: 1.5px dashed var(--line-2); border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); font-size: 13px; transition: var(--t); }
.port-ed .novo:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.port-ed .novo b { font-size: 28px; font-weight: 300; }

/* distribuição de notas */
.dist { display: grid; gap: 6px; }
.dist .l { display: grid; grid-template-columns: 26px 1fr 30px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.dist .trilho { height: 7px; background: var(--surface-2); border-radius: 7px; overflow: hidden; }
.dist .trilho i { display: block; height: 100%; background: var(--gold); animation: largura .8s both; }
.grande-nota { font: 700 52px var(--titulo); line-height: 1; }

/* ---------- login ---------- */
.login { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 40px 16px; }
.login-caixa { width: min(460px, 100%); padding: 32px; }
.papeis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.papel { padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface-2); text-align: left; transition: var(--t); }
.papel:hover { border-color: var(--muted); }
.papel.on { border-color: var(--accent); background: var(--accent-soft); }
.papel b { display: block; font: 650 15px var(--titulo); margin: 8px 0 2px; }
.papel span { font-size: 12.5px; color: var(--muted); }
.papel svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

/* ---------- modal, toast, lightbox ---------- */
.modal-fundo { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: aparece .2s; }
.modal { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; animation: sobe .25s cubic-bezier(.2, .7, .3, 1); }
.modal-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
@keyframes aparece { from { opacity: 0; } }
@keyframes sobe { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.lightbox .modal { width: min(440px, 100%); padding: 12px; }
.lightbox svg { border-radius: 10px; }
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; pointer-events: none; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--sombra); animation: sobe .3s; display: flex; gap: 10px; align-items: center; }
.toast.sai { opacity: 0; transform: translateY(10px); transition: .3s; }
.toast i { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; flex-shrink: 0; }

/* rodapé */
.rodape { border-top: 1px solid var(--line); padding: 24px 0; font-size: 12.5px; color: var(--muted); }
.rodape .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.rodape button { color: var(--text-2); text-decoration: underline; font-size: 12.5px; }

.fade { animation: entra .3s; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .perfil-grid, .fluxo, .ia-layout { grid-template-columns: 1fr; }
  .hero-mosaico { display: none; }
  .lateral { position: static; }
}
@media (max-width: 860px) {
  .painel { grid-template-columns: 1fr; background: none; }
  .lado { position: sticky; top: 64px; height: auto; z-index: 30; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lado .quem-l, .lado .grupo { display: none; }
  .lado nav { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .lado nav a { white-space: nowrap; padding: 8px 12px; }
  .busca-layout { grid-template-columns: 1fr; }
  .filtros { position: fixed; inset: auto 0 0; top: auto; z-index: 70; max-height: 80vh; overflow-y: auto; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: var(--t); box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); }
  .filtros.aberto { transform: none; }
  .filtro-btn { display: inline-flex; }
  .g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .nav { display: none; }
  .topo-in { height: 58px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero { padding: 40px 0 32px; }
  .busca-hero { flex-direction: column; border-radius: 20px; }
  .busca-hero select.inp { max-width: none; border-left: 0; border-top: 1px solid var(--line-2); }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .faixa-ia { grid-template-columns: 1fr; }
  .papel-tag { display: none; }
  .kpi .val { font-size: 22px; }
  .tabbar.ativo { display: flex; position: fixed; inset: auto 0 0; z-index: 50; background: rgba(23, 21, 19, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; display: grid; justify-items: center; gap: 2px; font-size: 10.5px; color: var(--muted); padding: 4px 0; }
  .tabbar a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
  .tabbar a.on { color: var(--accent); }
  body.com-tabbar { padding-bottom: 64px; }
  .chat { height: 440px; }
  .pix { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .perfil-topo .acoes { margin-left: 0; width: 100%; }
  .perfil-topo .acoes .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.ic-box { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex-shrink: 0; }
.ic-box svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.8; }

/* ================= v3: feed, placar, cadastro ================= */
.opcao { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line-2); cursor: pointer; }
.opcao input { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.lista-check { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.lista-check li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 8px; }
.rot-peq { font: 600 11px var(--fonte); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.pos-mini { color: var(--gold); font-weight: 700; }
#f-estilos { max-height: 230px; overflow-y: auto; }

/* medalhas */
.medalha { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 12px var(--titulo); background: var(--surface-3); color: var(--text-2); flex-shrink: 0; }
.medalha.m1 { background: linear-gradient(135deg, #f6d27a, #c99a2e); color: #1d1a17; }
.medalha.m2 { background: linear-gradient(135deg, #e5e1da, #a9a39a); color: #1d1a17; }
.medalha.m3 { background: linear-gradient(135deg, #e0a477, #a8623a); color: #1d1a17; }

/* feed */
body.modo-feed .rodape { display: none; }
.feed-layout { display: grid; grid-template-columns: minmax(220px, 280px) auto minmax(260px, 330px); gap: 32px; justify-content: center; padding: 20px 24px; height: calc(100vh - 96px); }
.feed-lado { display: flex; flex-direction: column; gap: 18px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.feed-estilos .chip { cursor: pointer; }
.feed-col { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
.feed { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.feed::-webkit-scrollbar { display: none; }
.post { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; color: #fff; }
.post-midia { position: absolute; inset: 0; background: #e9e0d2; }
.post-midia svg, .post-midia img, .post-midia video { width: 100%; height: 100%; object-fit: cover; }
.post.eh-video.ativo .post-midia > svg { animation: kenburns 15s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14) translateY(-3%); } }
.post-sombra { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0, transparent 22%, transparent 48%, rgba(0, 0, 0, .88) 100%); }
.post-tags { position: absolute; top: 66px; left: 14px; right: 70px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.post-tags .exemplo { margin: 0; background: rgba(232, 176, 75, .92); color: #1d1a17; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.post-acoes { position: absolute; right: 10px; bottom: 150px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.post-acoes button { display: grid; justify-items: center; gap: 3px; color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.post-acoes button svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(20, 18, 16, .45); backdrop-filter: blur(8px); stroke: #fff; fill: none; stroke-width: 1.9; transition: var(--t); }
.post-acoes button:active svg { transform: scale(.88); }
.post-acoes button.on svg { fill: var(--accent); stroke: var(--accent); background: rgba(255, 255, 255, .92); }
.post-acoes [data-salvar].on svg { fill: var(--gold); stroke: var(--gold); }
.post-av .avatar { width: 46px; height: 46px; border: 2px solid #fff; font-size: 15px; }
.post-info { position: absolute; left: 14px; right: 72px; bottom: 18px; display: grid; gap: 9px; justify-items: start; }
.post-quem b { font: 700 16px var(--titulo); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.post-quem span:last-child { display: block; font-size: 12.5px; opacity: .85; }
.post-info p { font-size: 14px; line-height: 1.4; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.chip-vidro { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(8px); }
.post-cta { width: 100%; height: 46px; font-size: 15px; box-shadow: 0 8px 24px rgba(228, 87, 61, .45); }
.post-progresso { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .2); }
.post-progresso i { display: block; height: 100%; width: 0; background: #fff; }
.post.ativo .post-progresso i { animation: progresso 15s linear infinite; }
@keyframes progresso { to { width: 100%; } }
.coracao-voa { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; pointer-events: none; animation: voa .8s ease-out forwards; }
.coracao-voa svg { width: 100%; height: 100%; fill: var(--accent); stroke: #fff; stroke-width: 1; }
@keyframes voa { 0% { transform: scale(.3); opacity: 0; } 25% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1) translateY(-60px); opacity: 0; } }
.vazio-feed { display: grid; place-items: center; background: var(--surface); }
.feed-topo { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; }
.feed-marca { font: 700 18px var(--titulo); color: #fff; letter-spacing: -.02em; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); display: grid; line-height: 1; }
.feed-marca small { font: 600 9px var(--fonte); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-top: 3px; }
.feed-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 16px), transparent); padding: 0 8px; }
.feed-chips::-webkit-scrollbar { display: none; }
.feed-chips .chip { white-space: nowrap; background: rgba(0, 0, 0, .38); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); }
.feed-chips .chip.on { background: #fff; color: #1d1a17; border-color: #fff; }
.feed-busca { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .38); color: #fff; flex-shrink: 0; }
.feed-busca svg { stroke: #fff; }
.feed-setas { position: absolute; right: -58px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.feed-col { overflow: visible; }
.feed-col > .feed, .feed-col > .feed-topo { border-radius: 22px; }
.feed { border-radius: 22px; }
.feed-setas button { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; }
.feed-setas button:hover { background: var(--surface-3); color: var(--text); }
.feed-layout .feed-esq .feed-estilos { max-height: none; }
@media (min-width: 861px) { .feed-topo .feed-chips { display: none; } .feed-topo { justify-content: space-between; } }
.faixa-mini { display: flex; gap: 12px; align-items: center; transition: var(--t); }
.faixa-mini:hover { border-color: var(--accent); }
.faixa-mini svg { stroke: var(--gold); flex-shrink: 0; }
.placar-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.placar-mini li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 13.5px; }
.placar-mini li.on { background: var(--accent-soft); outline: 1px solid var(--accent); }
.placar-mini .avatar { width: 30px; height: 30px; font-size: 11px; }
.placar-mini .muted { font-size: 12px; }
.pts { font-family: var(--titulo); }

/* placar */
.placar-pg { padding: 32px 0 64px; }
.placar-topo { display: grid; gap: 10px; justify-items: start; margin-bottom: 20px; }
.placar-topo h1 { font-size: clamp(30px, 4.4vw, 48px); }
.chips-rolar { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 24px; mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.chips-rolar::-webkit-scrollbar { display: none; }
.chips-rolar .chip { white-space: nowrap; }
.placar-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.placar-card { display: grid; grid-template-columns: 84px 1fr; overflow: hidden; transition: var(--t); }
.placar-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pc-arte svg { width: 100%; height: 100%; object-fit: cover; }
.pc-arte { min-height: 128px; }
.pc-arte > svg { height: 100%; }
.pc-corpo { padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.pc-corpo h3 { font-size: 15.5px; }
.pc-lider { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 4px 0; }
.pc-lider .muted { font-size: 12px; }
.podio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; max-width: 760px; margin: 8px auto 24px; }
.degrau { display: grid; justify-items: center; text-align: center; gap: 4px; position: relative; }
.degrau .medalha { margin-top: -22px; width: 32px; height: 32px; font-size: 14px; border: 3px solid var(--bg); }
.degrau b { font: 650 16px var(--titulo); margin-top: 4px; }
.degrau > .muted { font-size: 12.5px; }
.pts-g { font: 700 22px var(--titulo); color: var(--gold); }
.pts-g small { font-size: 12px; color: var(--muted); }
.degrau .base { width: 100%; margin-top: 10px; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, var(--surface-3), var(--surface)); border: 1px solid var(--line-2); border-bottom: 0; display: grid; place-items: center; font: 700 26px var(--titulo); color: var(--muted); }
.degrau.d1 .base { height: 120px; background: linear-gradient(180deg, rgba(232, 176, 75, .28), var(--surface)); color: var(--gold); }
.degrau.d2 .base { height: 84px; }
.degrau.d3 .base { height: 60px; }
.degrau.d1 .avatar { width: 112px; height: 112px; font-size: 36px; box-shadow: 0 0 0 3px var(--gold), 0 18px 50px rgba(232, 176, 75, .25); }
.placar-tab td { vertical-align: middle; }
.como-calc { margin-top: 22px; }
.como-calc summary { cursor: pointer; font-weight: 600; }

/* painel: posts no feed */
.kpi-mini { background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 12px; display: grid; gap: 2px; }
.kpi-mini .muted { font-size: 11.5px; }
.kpi-mini b { font: 700 20px var(--titulo); }
.mini-posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-post { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; }
.mini-post svg { width: 100%; height: 100%; }
.mini-post span { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-items: center; color: #fff; }

@media (max-width: 1180px) { .feed-layout { grid-template-columns: minmax(200px, 240px) auto; } .feed-dir { display: none; } }
@media (max-width: 860px) {
  .feed-layout { grid-template-columns: auto; } .feed-esq { display: none; } .feed-setas { display: none; }
  .podio { gap: 8px; } .degrau.d1 .avatar { width: 84px; height: 84px; font-size: 28px; } .degrau .avatar.xg { width: 64px; height: 64px; font-size: 22px; }
}
@media (max-width: 640px) {
  body.modo-feed .aviso-topo, body.modo-feed .topo { display: none; }
  body.modo-feed.com-tabbar { padding-bottom: 0; }
  body.modo-feed main { height: 100dvh; }
  .feed-layout { display: block; padding: 0; height: calc(100dvh - 64px); }
  .feed-col { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .feed, .feed-col > .feed-topo { border-radius: 0; }
  .post-acoes { bottom: 170px; }
  .degrau b { font-size: 13.5px; } .degrau > .muted { display: none; } .pts-g { font-size: 17px; }
  .degrau.d1 .base { height: 90px; } .degrau.d2 .base { height: 64px; } .degrau.d3 .base { height: 46px; }
  .placar-tab th:nth-child(5), .placar-tab td:nth-child(5) { display: none; }
  .mini-posts { grid-template-columns: repeat(4, 1fr); }
}
.sobe { color: var(--ok); font-weight: 600; font-size: 12.5px; } .desce { color: var(--accent); font-weight: 600; font-size: 12.5px; }
.feed-layout { column-gap: 76px; }
@media (min-width: 641px) { .feed-topo { display: none; } .post-tags { top: 16px; } }
.logo { white-space: nowrap; }
.placar-tab td b { white-space: nowrap; }
@media (max-width: 640px) {
  .placar-tab th:nth-child(5), .placar-tab td:nth-child(5) { display: table-cell; }
  .placar-tab th:nth-child(3), .placar-tab td:nth-child(3), .placar-tab th:nth-child(6), .placar-tab td:nth-child(6) { display: none; }
  .placar-tab td .muted { display: none; }
}

/* mídia real do tatuador (foto e vídeo) */
.perfil-capa.foto { display: block; height: 300px; position: relative; background: #000; }
.perfil-capa.foto::before { content: ''; position: absolute; inset: -40px; background: var(--capa) center 35% / cover; filter: blur(30px) brightness(.45); }
.perfil-capa.foto img { position: relative; display: block; margin: 0 auto; height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.portfolio button { position: relative; }
.portfolio button img, .portfolio button video { display: block; width: 100%; aspect-ratio: 200 / 260; object-fit: cover; }
.play-mini { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-items: center; color: #fff; }
.lightbox img, .lightbox video { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; background: #000; }
.mini-post img, .mini-post video { width: 100%; height: 100%; object-fit: cover; }

/* celular estreito: o topo tem que caber (logo + Entrar), sem estourar a largura da tela */
.topo-in > * { min-width: 0; }
.topo-dir { flex-shrink: 0; }
@media (max-width: 480px) {
  .topo-in { gap: 10px; }
  .logo { font-size: 18px; }
  .logo small, .topo-dir .btn-g { display: none; }
  .topo-dir .menu-conta > button span:last-child { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* filhos de grid/flex podem encolher (sem isso o conteúdo largo empurra a página pra além da tela) */
.grade > *, .painel > *, .perfil-grid > *, .fluxo > *, .ia-layout > *, .busca-layout > *, .hero-in > *, .faixa-ia > *, .pix > *, .pedido-l > *, .barras-h .l > *, .lista-l > *, .linha > * { min-width: 0; }
.g2, .g3, .g4 { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.g3 { --cols: 3; } .g4 { --cols: 4; }
@media (max-width: 1024px) { .g4 { --cols: 2; } }
@media (max-width: 860px) { .g3 { --cols: 2; } .painel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .g2, .g3 { --cols: 1; } .g4 { --cols: 2; } }
.grade.dividido { grid-template-columns: var(--c); }
@media (max-width: 860px) { .grade.dividido { grid-template-columns: minmax(0, 1fr); } }

/* Vitrines 05/11: tinta, papel e vermelhão, com ilustrações feitas no código. */
.vitrine { padding-block: 36px 56px; }
.vitrine-topo { max-width: 760px; margin-bottom: 26px; }
.vitrine-topo h1, .premium-vitrine h1 { margin: 14px 0 12px; }
.vitrine-topo p { font-size: 16px; }
#loja-filtros { margin: 26px 0 12px; }
#loja-contagem { font-size: 12.5px; margin-bottom: 14px; }
.loja-grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.produto { overflow: hidden; display: flex; flex-direction: column; }
.produto[hidden] { display: none; }
.produto-arte { position: relative; color: #26211b; background: #e8dfcf; border-bottom: 1px solid var(--line); }
.produto-arte > svg { width: 100%; height: 185px; }
.produto-arte > .exemplo { position: absolute; right: 12px; top: 12px; color: #694313; background: #f5ebd7; }
.produto-corpo { padding: 18px; flex: 1; gap: 10px; }
.produto-corpo h3 { min-height: 40px; }
.produto-categoria { text-transform: uppercase; font-size: 10px; letter-spacing: .09em; color: var(--accent); font-weight: 700; }
.registro { display: grid; gap: 2px; }
.registro small, .fornecedor { font-size: 12px; color: var(--muted); }
.produto-preco { margin-top: auto; font-size: 23px; }
.produto-corpo .btn { width: 100%; padding-inline: 10px; font-size: 13px; }
.ia-cota { display: grid; gap: 5px; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.ia-cota span { font-size: 12.5px; color: var(--text-2); }
.pacotes-ia { margin-top: 20px; }
.pacote-ia p { min-height: 46px; }
.preco-plano { font-size: 19px; font-family: var(--titulo); }
.pacote-ia .preco-plano { margin-block: 8px; }
.vitrine-nota { margin-block: 20px; font-size: 13px; }
#ia-planos:empty { display: none; }
#ia-planos:not(:empty) { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
#ia-planos h1 { font-size: 30px; }
#ia-planos .pacotes-ia { grid-template-columns: minmax(0, 1fr); }
.premium-vitrine { padding: 14px 0 28px; max-width: 700px; }
.comparativo { overflow: hidden; }
.comparativo-linha { display: grid; grid-template-columns: 1.5fr 1fr 1fr; }
.comparativo-linha + .comparativo-linha { border-top: 1px solid var(--line); }
.comparativo-linha > div { padding: 18px; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.comparativo-linha:first-child > div { padding-block: 24px; }
.comparativo-linha:first-child span { display: block; margin-top: 8px; font-size: 13px; }
.premium-col { background: var(--accent-soft); border-left: 1px solid var(--accent); }
.premium-acao { margin-top: 24px; justify-items: start; }
.premium-acao p { font-size: 12.5px; }
.premium-chamada { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; border-color: var(--accent); background: linear-gradient(110deg, var(--accent-soft), var(--surface)); }
.premium-chamada h3 { margin: 8px 0 4px; }
.premium-chamada p { font-size: 13px; }
.nav { flex-wrap: wrap; }
@media (min-width: 641px) and (max-width: 1180px) {
  .topo-in { height: auto; min-height: 64px; flex-wrap: wrap; padding-block: 10px; gap: 10px; }
  .topo-in .nav { order: 3; width: 100%; margin: 0; }
}
@media (max-width: 1024px) { .loja-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .loja-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .loja-grade { grid-template-columns: minmax(0, 1fr); }
  .produto-arte > svg { height: 180px; }
  .produto-corpo h3 { min-height: 0; }
  .vitrine { padding-top: 24px; }
  .comparativo-linha > div { padding: 12px 9px; font-size: 12px; }
  .comparativo-linha h3 { font-size: 14px; }
  .comparativo-linha:first-child span { font-size: 12px; }
  .premium-chamada { align-items: start; flex-direction: column; }
}

/* descrição dos estilos + escopo do placar (10/11/2026) */
.est-desc { font-size: 12.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.est-desc-g { font-size: 14.5px; max-width: 640px; margin: -6px 0 18px; }
.est-desc-box { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.est-desc-box:empty { display: none; }
.est-desc-box b { color: var(--text); font-weight: 600; }
.estilos-lista { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.estilo-item { display: grid; gap: 8px; align-content: start; min-width: 0; }
.escopo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; min-width: 0; }
.escopo .chips-rolar { margin-bottom: 0; flex: 1 1 100%; min-width: 0; }
.escopo-nota { font-size: 13px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2); padding: 3px; }
.seg a { padding: 6px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.seg a.on { background: var(--accent); color: var(--accent-ink); }
.est-info { max-width: 100%; font-size: 13px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.est-info summary { cursor: pointer; list-style: none; opacity: .9; text-decoration: underline; text-underline-offset: 3px; }
.est-info summary::-webkit-details-marker { display: none; }
.est-info p { margin-top: 4px; font-size: 13px; line-height: 1.4; background: rgba(15, 14, 13, .62); padding: 8px 10px; border-radius: 10px; backdrop-filter: blur(8px); }
