/* Sucata Livre · celular primeiro, letra grande, ocupa a largura toda (do celular ao monitor de 25")
   Identidade v4 (Design System "Sucata Livre", 02/11/2026): amarelo placa só como fundo (logo, botão principal,
   estimativa); cobre = quem vende; azul aço = quem compra; verde só para estado bom (ok). */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@800;900&family=Atkinson+Hyperlegible+Next:wght@400;600;700;800&display=swap");
:root {
  --marca: #ffc629;         /* amarelo placa: botão principal, logo, estimativa; texto em cima = --sobre-marca */
  --marca-forte: #f2b200;
  --marca-claro: #fff4cc;
  --sobre-marca: #14171c;
  --verde: #1d7445;         /* ok: oferta aceita, WhatsApp liberado, acima da região */
  --verde-escuro: #155a35;
  --verde-claro: #e2f1e8;
  --oxido: #b4461a;         /* quem vende: anúncio de venda, valor de oferta */
  --oxido-claro: #fbe8dd;
  --oxido-forte: #b4461a;   /* texto cobre sobre oxido-claro (4,6:1) */
  --compra: #1f5c99;        /* quem compra: anúncio de compra, link, foco */
  --compra-claro: #e4edf7;
  --amarelo: #fdf0cc;       /* alerta-fundo */
  --amarelo-borda: #8a5a00; /* alerta */
  --vermelho: #b0281c;      /* perigo */
  --vermelho-claro: #fadfdb;
  --fundo: #f4f5f2;
  --cartao: #ffffff;
  --funda: #ecede8;
  --texto: #14171c;
  --suave: #5a5f66;
  --linha: #e1e3dd;
  --linha-forte: #82878e;   /* borda de campo, chip e botão secundário (3:1) */
  --sombra: 0 10px 30px rgba(20, 23, 28, .12);
  --raio: 16px;
  --gutter: 16px;
  /* placa (Big Shoulders Display) só em título de tela e valor; o resto em Atkinson Hyperlegible Next */
  --f-titulo: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-texto: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --f-num: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
}

/* selo de material (símbolo químico ou código de reciclagem) */
.cod { display: inline-grid; place-items: center; align-content: center; min-width: 2.6em; height: 2.6em; padding: 0 .45em; border-radius: 9px; line-height: 1; font-weight: 800; letter-spacing: -.01em; font-size: 1rem; }
.cod b { font-size: 1em; }
.cod small { font-size: .52em; font-weight: 700; margin-top: .25em; color: inherit; }
.cod.metal { background: #e4e9ef; color: #2e3c4b; }
.cod.cobre { background: #f4e2d6; color: #85391a; }
.cod.ferro { background: #e8e4e0; color: #463c33; }
.cod.papel { background: #f0e7d5; color: #634b22; }
.cod.plastico { background: #dcebe6; color: #22584a; }
.cods { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.anuncio .foto .cods { justify-content: center; gap: 8px; }
.anuncio .foto .cod { font-size: 1.5rem; }
.anuncio .foto { aspect-ratio: 5 / 2 !important; }
.material .cod { font-size: 1.05rem; }

/* preço de referência da região */
.estimativa { background: var(--marca); color: var(--sobre-marca); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; margin-top: 12px; }
.estimativa .suave { color: var(--sobre-marca) !important; }
.estimativa b { font: 900 2.1rem/1.1 var(--f-titulo); font-variant-numeric: tabular-nums; }
.estima { color: var(--suave); }
.estima b { color: var(--texto); }
.ref { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ref td, .ref th { padding: 6px 4px; border-bottom: 1px solid var(--linha); vertical-align: middle; text-align: left; }
.ref td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.ref .cod { font-size: .8rem; }
.ref-edita input { width: 6.5rem; padding: 8px 10px; text-align: right; }
.ref-edita select { width: auto; padding: 8px; }
.ref-edita td:last-child { font-weight: 400; }

* { box-sizing: border-box; }
html, body { margin: 0; }
[hidden] { display: none !important; } /* menu, faixa de versão e fundo do menu usam hidden */
body {
  background: var(--fundo);
  color: var(--texto);
  font: 17px/26px var(--f-texto);
  -webkit-text-size-adjust: 100%;
  padding-bottom: 96px;
}
h1, h2, h3 { font-family: var(--f-texto); text-wrap: balance; }
h1 { font-family: var(--f-titulo); font-size: 2.25rem; line-height: 1.06; font-weight: 800; letter-spacing: .005em; margin: 0 0 10px; }
.chamada-marca { font: 900 clamp(3.4rem, 9vw, 7.5rem)/.92 var(--f-titulo); text-transform: uppercase; margin: 0 0 14px; }
/* vitrine aberta: frase da marca para quem ainda não entrou + seletor do lado (vender ou comprar) */
.vitrine-topo { margin-bottom: 14px; }
.vitrine-topo p { margin: 0; max-width: 46em; }
.chamada-vitrine { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 8px !important; }
.lado { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; max-width: 720px; }
.lado-op { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--linha-forte); border-radius: 14px; background: #fff;
  color: var(--texto); text-decoration: none; font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.lado-op small { font-weight: 400; font-size: .85rem; color: var(--suave); }
.lado-op.vende[aria-current] { background: var(--oxido); border-color: var(--oxido); color: #fff; }
.lado-op.compra[aria-current] { background: var(--compra); border-color: var(--compra); color: #fff; }
.lado-op[aria-current] small { color: #fff; }
.btn-topo { min-height: 40px; padding: 6px 16px; }
/* barra de app no celular (some no computador) */
.barra-app { display: none; }
@media (max-width: 760px) {
  .barra-app { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    background: var(--cartao); border-top: 1px solid var(--linha); box-shadow: 0 -4px 16px rgba(20, 23, 28, .08);
    padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); }
  .barra-app a, .barra-app button { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; min-height: 56px; border: 0; background: none;
    color: var(--suave); font: 600 .78rem/1.1 var(--f-texto); text-decoration: none; cursor: pointer; border-radius: 12px; }
  .barra-app svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .barra-app a.ativo { color: var(--texto); background: var(--marca-claro); }
  .barra-app .barra-anunciar { color: var(--sobre-marca); }
  .barra-app .barra-anunciar svg { width: 44px; height: 44px; padding: 9px; margin-top: -18px; border-radius: 50%; background: var(--marca); stroke-width: 2.6;
    box-shadow: 0 4px 12px rgba(20, 23, 28, .25); box-sizing: border-box; }
  .barra-app .barra-anunciar.ativo { background: none; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .balao-btn { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; width: 54px; height: 54px; font-size: 1.5rem; }
  .avisos { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .btn { min-height: 54px; }
}
/* fotos e características do anúncio */
.fotos-botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.btn-foto { flex: 1 1 160px; font-size: 1.05rem; }
.fotos-grade { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); margin-top: 8px; }
.fotos-grade figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--funda); }
.fotos-grade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fotos-grade figcaption { position: absolute; left: 6px; bottom: 6px; background: var(--marca); color: var(--sobre-marca); font: 700 .72rem/1 var(--f-texto); padding: 4px 7px; border-radius: 999px; }
.tirar-foto { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(20, 23, 28, .75); color: #fff; font-size: .9rem; cursor: pointer; }
.rot-car { margin: 12px 0 6px; font-weight: 700; font-size: .92rem; }
.obs-anuncio { background: var(--funda); border-radius: 12px; padding: 10px 14px; font-style: italic; }
.n-fotos { position: absolute; right: 10px; bottom: 10px; background: rgba(23,32,27,.8); color: #fff; font: 600 .8rem/1 var(--f-num); padding: 6px 9px; border-radius: 999px; }
/* foto ilustrativa do material (quando o anúncio não tem foto própria) */
.anuncio .foto { overflow: hidden; }
.anuncio .foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ilustrativa { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .92); color: var(--texto); font: 700 .72rem/1 var(--f-texto);
  padding: 5px 8px; border-radius: 999px; letter-spacing: .02em; }
.selos-sobre { position: absolute; right: 10px; top: 10px; }
.selos-sobre .cods { gap: 4px; }
.selos-sobre .cod { font-size: .75rem !important; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.faixa-foto { position: relative; margin: -18px -18px 4px; height: 110px; overflow: hidden; border-radius: var(--raio) var(--raio) 0 0; background: var(--funda); }
.faixa-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cartao.comprador { overflow: hidden; }
.foto-detalhe { position: relative; height: 200px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; background: var(--funda); }
.foto-detalhe img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* categorias grandes com contagem */
.categorias { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.categoria { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 60px; border: 1px solid var(--linha-forte); border-radius: 14px;
  background: #fff; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.categoria > span:last-child { display: grid; line-height: 1.15; }
.categoria b { font-size: .98rem; }
.categoria small { color: var(--suave); font-size: .85rem; }
.categoria .cod { font-size: .85rem; flex: none; }
.cat-tudo { display: grid; place-items: center; min-width: 2.6em; height: 2.6em; border-radius: var(--raio-p, 8px); background: var(--funda); font-weight: 800; font-size: .7rem; }
.categoria[aria-pressed=true] { border-color: var(--texto); background: var(--texto); color: #fff; }
.categoria[aria-pressed=true] small { color: #e6e8ea; }
.categoria[aria-pressed=true] .cat-tudo { background: rgba(255, 255, 255, .16); color: #fff; }
.categoria[data-vazia]:not([aria-pressed=true]) { opacity: .6; }
.nome-comprador { color: var(--texto); text-decoration: underline; text-decoration-color: var(--linha-forte); text-underline-offset: 3px; }
.nome-comprador:hover { text-decoration-color: var(--texto); }
.numero span { display: block; font-size: .9rem; }
.passos-lista { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
/* lista ou mapa no celular */
.vista { display: none; gap: 8px; margin: 0 0 12px; }
@media (max-width: 999px) {
  .vista { display: flex; }
  .duas[data-vista=mapa] > section:first-child { display: none; }
  .duas[data-vista=lista] > section:last-child .mapa-real, .duas[data-vista=lista] > section:last-child > h2, .duas[data-vista=lista] > section:last-child > .legenda { display: none; }
  .duas[data-vista=mapa] .mapa-real { height: 62vh; min-height: 340px; }
}
/* calculadora "quanto vale a minha sucata?" */
.calc h2 { margin-top: 0; font-family: var(--f-titulo); font-size: 1.9rem; font-weight: 800; }
.calc-mats { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); margin: 12px 0; }
.calc-mat { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--linha-forte); border-radius: 12px; background: #fff;
  font: inherit; font-size: .9rem; line-height: 1.15; text-align: left; color: var(--texto); cursor: pointer; min-height: 52px; }
.calc-mat .cod { font-size: .78rem; flex: none; }
.calc-mat[aria-pressed=true] { border-color: var(--texto); background: var(--marca-claro); box-shadow: inset 0 0 0 1px var(--texto); font-weight: 700; }
.calc-linhas { display: grid; gap: 6px; margin-bottom: 4px; }
.calc-linha { display: grid; grid-template-columns: auto 1fr minmax(110px, 150px); gap: 10px; align-items: center; font-weight: 600; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--linha); }
.calc-linha .kg { position: relative; }
.calc-linha .kg input { padding-right: 36px; text-align: right; font-family: var(--f-num); }
.calc-linha .kg::after { content: "kg"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--suave); }
/* WhatsApp: botão com a cor do aplicativo, para a pessoa reconhecer na hora */
.btn-zap { background: #187a42; color: #fff; }   /* 5,4:1 com o texto branco */
.btn-zap:hover { background: #12613a; }
.compartilhar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--linha); }
.compartilhar .suave { flex: 1 1 220px; font-size: .92rem; }
.etiqueta.exemplo { background: var(--marca-claro); color: var(--texto); border: 1px dashed var(--texto); }
.aviso-exemplo { background: var(--marca-claro); border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
h2 { font-size: 1.25rem; font-weight: 700; margin: 24px 0 8px; }
h3 { font-size: 1.06rem; font-weight: 700; margin: 0 0 6px; }
body { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--compra); outline-offset: 2px; }
.numero b, .linha-preco input, .kg input { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
p { margin: 0 0 12px; }
small, .suave { color: var(--suave); }
a { color: var(--compra); }

/* ── topo e menu (topo branco, v3) ── */
.topo {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter);
  background: var(--cartao); color: var(--texto); border-bottom: 1px solid var(--linha);
}
.marca { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.marca img { height: 30px; width: auto; }
@media (min-width: 760px) { .marca img { height: 36px; } }
.topo-nome { margin-left: auto; font-size: .9rem; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-icone {
  position: relative; background: transparent; border: 0; color: inherit;
  font-size: 1.5rem; padding: 4px 8px; cursor: pointer; border-radius: 8px;
}
.badge {
  position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: #f59e0b; color: #1c1917; font-size: .75rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu {
  position: fixed; z-index: 40; top: 0; left: 0; bottom: 0; width: min(320px, 86vw);
  background: var(--cartao); padding: 16px; box-shadow: 4px 0 24px rgba(0,0,0,.18);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.menu a, .menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 12px; border-radius: 10px; border: 0; background: none;
  color: var(--texto); text-decoration: none; font: inherit; text-align: left; cursor: pointer;
}
.menu a:hover, .menu button:hover { background: var(--funda); }
.menu a.ativo { background: var(--marca-claro); font-weight: 700; }
.menu .badge { position: static; margin-left: auto; }
.menu-fundo { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.35); }

/* ── tela ── */
.tela { padding: 20px var(--gutter); outline: none; }
.grade { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.campos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cartao {
  background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 18px; margin-bottom: 16px;
}
.cartao.destaque { border-color: var(--verde); background: var(--verde-claro); }
.cartao.alerta { border-color: var(--amarelo-borda); background: var(--amarelo); }
.cartao.erro { border-color: var(--vermelho); background: var(--vermelho-claro); }
.passos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 16px 0; }
.passo { background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; }
.passo .num { font-size: 2rem; }

/* ── formulário ── */
label { display: block; font-weight: 600; margin-bottom: 6px; }
.dica { display: block; font-weight: 400; color: var(--suave); font-size: .9rem; margin-top: 4px; }
input[type=text], input[type=tel], input[type=number], input[type=time], select, textarea {
  width: 100%; font: inherit; font-size: 1.1rem; padding: 12px 14px;
  border: 2px solid var(--linha-forte); border-radius: 12px; background: #fff; color: var(--texto);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--compra); outline-offset: 1px; border-color: var(--texto); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--texto); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--linha-forte); background: #fff; border-radius: 999px;
  padding: 10px 16px; font: inherit; cursor: pointer; color: var(--texto);
}
.chip[aria-pressed=true] { border-color: var(--texto); background: var(--texto); color: #fff; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn-primario { background: var(--marca); color: var(--sobre-marca); }
.btn-primario:hover, .btn-primario:active { background: var(--marca-forte); }
.btn-secundario { background: #fff; color: var(--texto); border-color: var(--linha-forte); }
.btn-secundario:hover { border-color: var(--texto); }
.btn-claro { background: var(--sobre-marca); color: #fff; min-height: 40px; padding: 6px 16px; }
.btn-perigo { background: #fff; color: var(--vermelho); border-color: var(--vermelho); }
.btn[disabled] { opacity: .55; cursor: wait; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.acoes .btn { flex: 1 1 220px; }

/* ── catálogo ── */
.familia { margin-bottom: 18px; }
.materiais { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.material {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: #fff; border: 2px solid var(--linha); border-radius: var(--raio);
  padding: 14px 8px; font: inherit; cursor: pointer; color: var(--texto);
}
.material .ico { font-size: 2.2rem; line-height: 1; }
.material[aria-pressed=true] { border-color: var(--texto); background: var(--marca-claro); font-weight: 700; box-shadow: inset 0 0 0 1px var(--texto); }

/* ── tabela de preço ── */
.linha-preco {
  display: grid; grid-template-columns: 2.4rem 1fr minmax(120px, 160px); gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--linha);
}
.linha-preco .ico { font-size: 1.6rem; }
.linha-preco .reais { position: relative; }
.linha-preco .reais::before { content: "R$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--suave); }
.linha-preco .reais input { padding-left: 40px; text-align: right; }

.familia-compra { display: grid; gap: 12px; grid-template-columns: 1fr; }
.familia-compra .campos { margin-top: 10px; }

.etiqueta {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: var(--linha); color: var(--texto);
}
.etiqueta.ok { background: var(--verde-claro); color: var(--verde-escuro); }
.etiqueta.atencao { background: var(--amarelo); color: #92400e; }
.etiqueta.ruim { background: var(--vermelho-claro); color: var(--vermelho); }

.lista { display: grid; gap: 12px; }
.item-lista { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; }
.numeros { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 16px; }
.numero { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; }
.numero b { display: block; font-size: 1.8rem; }

/* ── avisos ── */
.avisos { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 2 * var(--gutter))); bottom: 90px; display: grid; gap: 8px; pointer-events: none; }
.avisos .aviso:not(:last-child) { display: none; } /* só o aviso mais novo aparece */
.aviso { pointer-events: auto; background: var(--texto); color: #fff; padding: 14px 16px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.aviso.erro { background: var(--vermelho); }
.aviso.ok { background: var(--verde-escuro); }

.faixa-versao {
  position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter); background: var(--marca); color: var(--sobre-marca); font-weight: 600;
}

/* ── balão 💬 ── */
.balao-btn {
  position: fixed; z-index: 45; right: 18px; bottom: 18px; width: 62px; height: 62px; border-radius: 50%;
  border: 0; background: var(--marca); color: var(--sobre-marca); font-size: 1.8rem; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.balao-oferta {
  position: fixed; z-index: 45; right: 18px; bottom: 92px; max-width: min(320px, calc(100vw - 36px));
  background: #fff; border: 2px solid var(--texto); border-radius: 16px; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.balao-oferta .acoes { margin-top: 10px; }
.balao-oferta .btn { min-height: 44px; flex: 1 1 auto; }
.modal-fundo { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.modal {
  background: #fff; width: 100%; max-height: 92vh; overflow-y: auto;
  border-radius: 20px 20px 0 0; padding: 20px var(--gutter) 28px;
}
@media (min-width: 760px) {
  .modal-fundo { align-items: center; }
  .modal { width: min(640px, 92vw); border-radius: 20px; }
}
.anexos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.anexos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--linha); }
.gravando { color: var(--vermelho); font-weight: 700; }

.oculto { display: none !important; }

/* ── v2 classificado ── */
.cab { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: space-between; }
.etiqueta.dinheiro { background: var(--oxido-claro); color: var(--oxido-forte); }
.valor { font-family: var(--f-titulo); font-weight: 800; color: var(--oxido); font-variant-numeric: tabular-nums; font-size: 1.25em; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.busca-cep { background: var(--cartao); border: 1px solid var(--linha); box-shadow: var(--sombra); border-radius: var(--raio); padding: 16px; display: grid; gap: 8px; margin-bottom: 16px; }
.etiqueta.venda { background: var(--oxido-claro); color: var(--oxido-forte); }
.etiqueta.compra { background: var(--compra-claro); color: var(--compra); }
.filtros { display: grid; gap: 8px; margin-bottom: 14px; }
.filtros .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filtros .chips::-webkit-scrollbar { display: none; }
.filtros .chip { flex: none; min-height: 44px; }
.filtros .rot { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--suave); font-weight: 700; align-self: center; flex: none; }
.busca-cep label { font: 800 1.7rem/1.1 var(--f-titulo); margin: 0; }
.busca-cep .dica { color: var(--suave); }
.busca-rodape { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.busca-rodape .dica { flex: 1 1 260px; margin: 0; }
.btn-local { min-height: 44px; padding: 8px 16px; flex: 0 0 auto; }
.busca-linha { display: flex; gap: 8px; }
.busca-linha input { flex: 1; min-width: 0; font-family: var(--f-num); border-color: var(--linha-forte); }
.busca-linha .btn { flex: none; }

.chamada { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.chamada h3 { flex: 1 1 100%; margin: 0; }
.chamada p { flex: 1 1 280px; margin: 0; }
.chamada .acoes { margin: 0; }
.chamada .acoes .btn { flex: 0 1 auto; }
.duas { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .duas { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; } .duas > section:last-child { position: sticky; top: 80px; } }
.duas h2 { margin-top: 0; }

.comprador { display: grid; gap: 8px; margin: 0; }
.comprador-topo { display: flex; gap: 12px; align-items: flex-start; }
.comprador-topo .cn { flex: 1; min-width: 0; display: grid; gap: 2px; }
.comprador-topo h3 { margin: 0; }
.pino { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--compra); color: #fff; display: grid; place-items: center; font: 500 .95rem/1 var(--f-num); }
.km { font: 500 1.1rem/1.2 var(--f-num); color: var(--compra); white-space: nowrap; }
.lista-compra { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.contato .btn { min-height: 44px; }
.zap { display: grid; gap: 4px; background: var(--verde-claro); border-radius: 12px; padding: 10px 12px; }
.zap b { font-family: var(--f-num); font-weight: 500; user-select: all; }
.vazio { text-align: center; color: var(--suave); border-style: dashed; }

.grade-anuncios { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.anuncio { display: grid; text-align: left; padding: 0; overflow: hidden; background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); font: inherit; color: inherit; cursor: pointer; }
.anuncio:hover { border-color: var(--texto); }
.anuncio .foto { aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; font-size: 3.2rem; background: #eaeee7; position: relative; }
.anuncio .foto img { width: 100%; height: 100%; object-fit: cover; }
.anuncio .dist { position: absolute; left: 10px; bottom: 10px; background: rgba(23,32,27,.8); color: #fff; font: 500 .85rem/1 var(--f-num); padding: 6px 9px; border-radius: 999px; }
.anuncio .txt { display: grid; gap: 4px; padding: 12px 14px 14px; }
.foto-grande { width: min(100%, 260px) !important; height: auto !important; aspect-ratio: 4 / 3; }

.oferta { border: 1px solid var(--linha); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.oferta.aceita { border-color: var(--verde); box-shadow: inset 0 0 0 2px var(--verde); }
.oferta .valor { font-size: 2rem; line-height: 1; }
.ofertas-lugar:empty { display: none; }

.passos-barra { display: flex; gap: 6px; margin-bottom: 14px; }
.passos-barra span { flex: 1; height: 6px; border-radius: 999px; background: var(--linha); }
.passos-barra span.on { background: var(--texto); }
.passo .num-placa, .num-placa { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--marca); color: var(--sobre-marca); font: 900 2rem/1 var(--f-titulo); margin-bottom: 10px; }
.linha-preco .kg { position: relative; }
.linha-preco .kg input { padding-right: 36px; text-align: right; font-family: var(--f-num); }
.linha-preco .kg::after { content: "kg"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--suave); }
.modal .btn-icone { color: var(--texto); background: #eaeee7; width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; }

/* mapa real (Leaflet + OpenStreetMap) */
.mapa-real { height: 440px; width: 100%; border-radius: 12px; border: 1px solid var(--linha); background: var(--funda); z-index: 0; }
@media (max-width: 760px) { .mapa-real { height: 320px; } }
.pino-mapa { background: none; border: 0; }
.pm { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.35); font: 700 13px/1 var(--f-num); box-sizing: border-box; cursor: pointer; }
.pm-eu { width: 40px; height: 40px; margin: -5px 0 0 -5px; font-size: 11px; }
.leaflet-container { font-family: var(--f-texto); }
.piscar { box-shadow: 0 0 0 3px var(--marca) !important; transition: box-shadow .3s; }
.mapa svg { width: 100%; height: auto; display: block; border-radius: 12px; background: #eaeee7; }
.m-raio { fill: var(--verde-claro); fill-opacity: .6; stroke: var(--verde); stroke-width: 2; stroke-dasharray: 6 5; }
.m-pc { fill: var(--suave); }
.m-cid { fill: var(--suave); font: 600 13px var(--f-texto); }
.m-comp { fill: var(--compra); stroke: #fff; stroke-width: 2.5; }
.m-anu { fill: var(--oxido); stroke: #fff; stroke-width: 2.5; }
.m-eu { fill: var(--texto); stroke: #fff; stroke-width: 3; }
.m-eu-t { fill: #fff; font: 700 10px var(--f-texto); text-anchor: middle; dominant-baseline: central; }
.m-rot { fill: #fff; font: 500 12px var(--f-num); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.m-esc { stroke: var(--texto); stroke-width: 2; }
.m-esc-t { fill: var(--texto); font: 500 12px var(--f-num); }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .9rem; color: var(--suave); margin-top: 8px; }
.legenda .ponto { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: -8px; }
.m-eu-l { background: var(--texto); } .m-comp-l { background: var(--compra); } .m-anu-l { background: var(--oxido); }
.mapa .m-raio { fill: #fff; fill-opacity: .7; stroke: var(--linha-forte); }
.anuncio .foto { aspect-ratio: 2 / 1; }

/* ── topo da vitrine enxuto (02/11): a lista aparece logo, como num classificado ── */
.vitrine-topo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-bottom: 10px; }
.chamada-vitrine { font: 900 clamp(1.7rem, 4.2vw, 2.4rem)/1 var(--f-titulo); text-transform: uppercase; margin: 0; }
.vitrine-texto { margin: 0; font-size: .95rem; color: var(--suave); flex: 1 1 260px; }
.vitrine-texto a { font-weight: 700; color: var(--texto); }
.lado { margin-bottom: 10px; }
.lado-op { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 12px; font-size: 1rem; }
.busca-cep { padding: 10px 14px; gap: 8px; margin-bottom: 10px; box-shadow: none; }
.local-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.local-linha .dica { margin: 0; font-size: .95rem; color: var(--texto); }
.btn-link { background: none; border: 0; padding: 6px 4px; font: 700 .95rem var(--f-texto); color: var(--compra); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; flex: none; }
.busca-linha { align-items: stretch; }
.busca-linha input { min-height: 46px; padding: 8px 12px; }
.busca-linha .btn { min-height: 46px; padding: 8px 16px; }
.filtros { gap: 6px; margin-bottom: 10px; }
.filtros .chip { min-height: 40px; padding: 6px 14px; }
.categorias { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; padding-bottom: 2px; }
.categorias::-webkit-scrollbar { display: none; }
.categoria { flex: none; min-height: 46px; padding: 5px 12px 5px 6px; gap: 8px; border-radius: 999px; }
.categoria .cod, .cat-tudo { font-size: .68rem; min-width: 2.5em; height: 2.5em; }
.categoria b { font-size: .9rem; }
.categoria small { font-size: .76rem; }
.chamada-fina { margin: 0 0 12px; font-size: .95rem; color: var(--suave); }
.chamada-fina a { font-weight: 700; color: var(--texto); }
@media (max-width: 760px) {
  .so-largo { display: none; }
  .tela { padding-top: 12px; }
}

/* ── acabamento "placa de ferro-velho" (02/11): grafite + amarelo, fundo cinza, botões firmes ── */
:root { --fundo: #ebece7; --grafite: #14171c; --grafite-2: #22262d; }
body { background: var(--fundo); }
.topo { background: var(--grafite); color: #fff; border-bottom: 3px solid var(--marca); }
.topo .btn-icone { color: #fff; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
.topo .btn-icone svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.topo-nome { color: #c9ccd1; }
.topo .btn-topo { min-height: 40px; padding: 6px 16px; }
.faixa-versao { border-bottom: 1px solid rgba(0,0,0,.12); }
/* cartões: brancos sobre o cinza, com uma sombra leve de papel */
.cartao, .anuncio, .item-lista, .numero, .passo { border-color: #dcded7; box-shadow: 0 1px 2px rgba(20, 23, 28, .06); }
.busca-cep { box-shadow: 0 1px 2px rgba(20, 23, 28, .06); }
/* abertura em faixa grafite, com a frase em amarelo */
.vitrine-topo { background: var(--grafite); color: #e6e8ea; border-radius: 16px; padding: 14px 18px; }
.vitrine-topo .chamada-vitrine { color: var(--marca); }
.vitrine-topo .vitrine-texto { color: #c9ccd1; }
.vitrine-topo .vitrine-texto a { color: #fff; }
/* botões: o principal parece uma placa (borda de baixo mais escura); o secundário tem contorno grafite */
.btn { border-radius: 12px; font-weight: 800; letter-spacing: .01em; transition: transform .06s, background .15s, box-shadow .15s; }
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn-primario { background: var(--marca); color: var(--sobre-marca); border: 0; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(20, 23, 28, .15); }
.btn-primario:hover { background: var(--marca-forte); }
.btn-primario:active:not([disabled]) { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.btn-secundario { background: #fff; color: var(--grafite); border: 2px solid var(--grafite); box-shadow: 0 1px 2px rgba(20, 23, 28, .08); }
.btn-secundario:hover { background: #f6f6f3; }
.btn-perigo { border-width: 2px; }
.btn-zap { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); border: 0; }
.chip { border-width: 1.5px; border-color: #b9bcb4; font-weight: 600; }
.chip[aria-pressed=true] { background: var(--grafite); border-color: var(--grafite); }
.lado { background: #fff; border: 1.5px solid #cfd1ca; border-radius: 14px; padding: 4px; gap: 4px; }
.lado-op { border: 0; border-radius: 10px; font-weight: 800; }
.lado-op:not([aria-current]) { background: transparent; color: var(--suave); }
/* menu: cabeçalho grafite com o logo, grupos e ícones de traço */
.menu { padding: 0; gap: 0; background: #fff; }
.menu-cab { background: var(--grafite); padding: 18px 16px 16px; border-bottom: 3px solid var(--marca); line-height: 0; }
.menu-cab img { height: 30px; width: auto; }
.menu-grupo { padding: 14px 18px 4px; font: 800 .72rem/1 var(--f-texto); letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
.menu a, .menu button { margin: 0 8px; width: calc(100% - 16px); padding: 11px 12px; gap: 14px; font-weight: 600; border-radius: 12px; }
.menu .mi { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f1f2ee; flex: none; }
.menu .mi svg { width: 20px; height: 20px; fill: none; stroke: var(--grafite); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu a.ativo { background: var(--marca-claro); font-weight: 800; }
.menu a.ativo .mi { background: var(--marca); }
.menu #btn-sair { margin-top: 10px; border-top: 1px solid var(--linha); border-radius: 0; color: var(--vermelho); }
.menu #btn-sair .mi svg { stroke: var(--vermelho); }
.menu-rodape { margin-top: auto; padding: 16px 18px; font-size: .8rem; color: var(--suave); }
.btn .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── topo com busca (02/11, no molde OLX / Mercado Livre / Shopee) ── */
.topo { flex-wrap: wrap; row-gap: 8px; }
.busca-topo { flex: 1 1 360px; display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 760px; margin: 0 auto;
  background: #fff; border-radius: 12px; padding: 0 6px 0 12px; height: 46px; }
.busca-topo .lupa { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--suave); stroke-width: 2.2; stroke-linecap: round; }
.busca-topo input { flex: 1; min-width: 0; border: 0; padding: 0; height: 100%; font: 400 1rem var(--f-texto); background: transparent; color: var(--texto); outline: none; }
.busca-topo input:focus { outline: none; }
.busca-topo:focus-within { box-shadow: 0 0 0 3px var(--marca); }
.local-topo { display: flex; align-items: center; gap: 4px; flex: none; max-width: 42%; border: 0; border-left: 1px solid var(--linha); background: none; padding: 6px 4px 6px 10px;
  font: 700 .9rem var(--f-texto); color: var(--texto); cursor: pointer; white-space: nowrap; }
.local-topo span { overflow: hidden; text-overflow: ellipsis; }
.local-topo svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--compra); stroke-width: 2.2; }
.btn-anunciar-topo { min-height: 46px; padding: 8px 18px; flex: none; }
.topo-nome { margin-left: 0; }
@media (max-width: 760px) {
  .topo { padding-bottom: 10px; }
  .marca { margin-right: auto; }
  .busca-topo { order: 5; flex: 1 1 100%; height: 44px; }
  .btn-anunciar-topo { display: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.busca-ativa { margin: 0 0 10px; font-size: .95rem; }

/* ── início: banners, categorias redondas e prateleiras ── */
.banners { position: relative; margin-bottom: 18px; }
.banners-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.banners-trilho::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; min-height: 220px; display: flex; align-items: stretch;
  background: var(--grafite); color: #e6e8ea; }
.banner-txt { position: relative; z-index: 1; padding: 22px 22px 24px; display: grid; gap: 8px; align-content: center; max-width: 620px; }
.banner-marca { margin: 0; font: 800 .72rem/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--marca); }
.banner h2 { margin: 0; font: 900 clamp(1.9rem, 4.6vw, 3.1rem)/1 var(--f-titulo); text-transform: uppercase; color: #fff; }
.banner p { margin: 0; color: #c9ccd1; max-width: 34em; }
.banner .btn { justify-self: start; margin-top: 6px; }
.banner-foto { position: absolute; right: 0; top: 0; height: 100%; width: 48%; object-fit: cover; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.banners-pontos { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.banners-pontos button { width: 28px; height: 6px; border-radius: 999px; border: 0; background: #c6c8c1; cursor: pointer; padding: 0; }
.banners-pontos button[aria-pressed=true] { background: var(--grafite); width: 40px; }
@media (max-width: 760px) {
  .banner { min-height: 250px; }
  .banner-foto { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }
}
.secao { margin-bottom: 22px; }
.secao-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.secao-cab h2 { margin: 0; font: 800 clamp(1.4rem, 3vw, 1.8rem)/1.1 var(--f-titulo); }
.secao-cab a { font-weight: 700; color: var(--compra); text-decoration: none; white-space: nowrap; }
.secao-sub { margin: 4px 0 10px; font-size: .92rem; color: var(--suave); }
.cats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; justify-content: space-between; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 92px; display: grid; justify-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: 700 .85rem/1.15 var(--f-texto); color: var(--texto); text-align: center; padding: 0; }
.cat-foto { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(20,23,28,.18); }
.cat-foto img { width: 100%; height: 100%; object-fit: cover; }
.cat-foto .cod { font-size: 1.1rem; }
.cat:hover .cat-foto, .cat:focus-visible .cat-foto { border-color: var(--marca); }
.prateleira { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 2px 2px 10px; }
.mini { flex: 0 0 230px; scroll-snap-align: start; display: grid; background: #fff; border: 1px solid #dcded7; border-radius: 14px; overflow: hidden;
  color: var(--texto); text-decoration: none; box-shadow: 0 1px 2px rgba(20,23,28,.06); }
.mini:hover { border-color: var(--grafite); }
.mini-foto { position: relative; height: 140px; background: var(--funda); display: grid; place-items: center; }
.mini-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-foto .etiqueta { position: absolute; left: 8px; top: 8px; }
.mini-foto .dist { position: absolute; left: 8px; bottom: 8px; background: rgba(23,32,27,.8); color: #fff; font: 600 .8rem/1 var(--f-num); padding: 5px 8px; border-radius: 999px; }
.mini-txt { display: grid; gap: 2px; padding: 10px 12px 12px; }
.mini-txt b { font-size: .98rem; line-height: 1.25; }
.mini-txt small { color: var(--suave); font-size: .82rem; }
.mini-valor { font: 800 1.35rem/1.1 var(--f-titulo); color: var(--oxido); margin-top: 4px; font-variant-numeric: tabular-nums; }
.redondos .redondo { flex: 0 0 132px; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 12px 8px; background: #fff; border: 1px solid #dcded7;
  border-radius: 14px; color: var(--texto); text-decoration: none; }
.redondo .avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--grafite); color: var(--marca); font: 900 1.4rem/1 var(--f-titulo); border: 3px solid var(--marca); }
.redondo b { font-size: .85rem; line-height: 1.2; }
.redondo small { font-size: .76rem; color: var(--suave); }
.precos .preco-card { flex: none; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid #dcded7; border-radius: 12px; color: var(--texto); text-decoration: none; }
.preco-card b { display: block; font-size: .85rem; }
.preco-card .num { font-weight: 800; }
.como-passos { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.como-passos li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; background: #fff; border: 1px solid #dcded7; border-radius: 14px; padding: 12px; }
.como-passos .num-placa { grid-row: span 2; margin: 0; width: 44px; height: 44px; font-size: 1.6rem; }
.como-passos small { color: var(--suave); }
.como h2 { margin: 0; font: 800 clamp(1.4rem, 3vw, 1.8rem)/1.1 var(--f-titulo); }

/* monitor: o topo da vitrine em duas faixas lado a lado, em vez de cinco linhas empilhadas à esquerda */
@media (min-width: 900px) {
  .painel-topo { display: grid; grid-template-columns: minmax(340px, 460px) minmax(0, 1fr); gap: 10px 16px; align-items: center; margin-bottom: 14px; }
  .painel-topo > .lado, .painel-topo > .busca-cep { margin: 0; max-width: none; }
  .painel-topo > .lado { align-self: center; }
  .painel-topo > .busca-cep { align-content: center; }
  .painel-topo > .filtros { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px 20px; margin: 0; }
  .painel-topo > .filtros .chips { flex: none; }
  .painel-topo > .filtros .categorias { flex: 1; min-width: 0; flex-wrap: wrap; overflow: visible; }
  .painel-topo > .busca-ativa, .painel-topo > .chamada-fina { grid-column: 1 / -1; margin: 0; }
}

/* entrar com Google ou Facebook, e o cadastro de 4 campos */
.entrar-opcoes { display: grid; gap: 10px; }
.btn-provedor { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; font-size: 1.05rem; font-weight: 800; border-radius: 12px; width: 100%; }
.btn-provedor svg { width: 24px; height: 24px; flex: none; }
.btn-provedor.google { background: #fff; color: #1f2328; border: 1.5px solid #c7c9c2; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08); }
.btn-provedor.facebook { background: #1877f2; color: #fff; border: 0; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.entrar-opcoes .suave { margin: 0; }
#form-cad .campos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 900px) {
  .entrar-opcoes { grid-template-columns: 1fr 1fr; }
  .entrar-opcoes .suave { grid-column: 1 / -1; }
}

/* preço da sucata hoje: placar de preços + boletim pronto para o WhatsApp */
.preco-metal { display: grid; gap: 14px; }
.preco-metal h1 { margin: 0; }
.pm-topo { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pm-dolar { display: grid; gap: 4px; align-content: center; background: var(--grafite, #1d2024); color: #f3f3ef; border-color: transparent; }
.pm-dolar .rot { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marca); font-weight: 800; }
.pm-dolar b { font: 900 2.4rem/1 var(--f-titulo); font-variant-numeric: tabular-nums; }
.pm-dolar small { color: #c9ccc4; }
.pm-chamada { display: grid; gap: 6px; align-content: center; }
.pm-chamada b { font: 800 1.5rem/1.1 var(--f-titulo); }
.pm-chamada .acoes { margin: 6px 0 0; }
.pm-grade { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pm-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; text-decoration: none; color: inherit; padding: 14px; }
.pm-item .selo, .pm-item > :first-child { grid-row: span 2; }
.pm-nome { font-weight: 800; }
.pm-valor { font: 900 1.6rem/1 var(--f-titulo); font-variant-numeric: tabular-nums; color: var(--oxido); }
.pm-valor small { font: 600 .9rem var(--f-texto); color: var(--suave); }
.pm-fonte { margin: 0; font-size: .92rem; }
.pm-boletim h2 { margin: 0 0 4px; }
.pm-texto { white-space: pre-wrap; font: 15px/1.5 var(--f-texto); background: var(--fundo, #ebece7); border: 1px dashed var(--linha-forte, #c7c9c2); border-radius: 10px; padding: 12px 14px; margin: 10px 0; overflow-x: auto; }
.preco-metal > *, .pm-topo > *, .pm-grade > * { min-width: 0; }
.preco-metal .secao-sub { white-space: normal; }
.pm-texto { overflow-wrap: anywhere; }
/* lá fora: média mensal internacional (Banco Mundial) */
.pm-fora { display: grid; gap: 8px; }
.pm-fora .secao-cab h2 { margin: 0; }
.pm-fora-grade { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.pm-12m { font-size: .85rem; }
.pm-fora-item { display: grid; gap: 4px; padding: 14px; min-width: 0; }
.pm-fora-valor { font: 900 1.6rem/1 var(--f-titulo); font-variant-numeric: tabular-nums; }
.pm-fora-valor small { font: 600 .85rem var(--f-texto); color: var(--suave); }
.pm-var { font-weight: 700; font-size: .9rem; }
.pm-var.sobe { color: #2f7a43; } .pm-var.cai { color: #a3261d; }
.faisca { width: 100%; height: 32px; }
.faisca polyline { fill: none; stroke: var(--compra, #1f5c99); stroke-width: 2; }
.faisca circle { fill: var(--compra, #1f5c99); }

/* menu na horizontal, logo abaixo do topo (como a OLX) */
.nav-topo { background: #fff; border-bottom: 1px solid #d3d5ce; }
.nav-topo-faixa { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 6px max(12px, env(safe-area-inset-left, 0px)); }
.nav-topo-faixa::-webkit-scrollbar { display: none; }
.nav-topo a { flex: none; padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: .95rem; color: var(--texto); text-decoration: none; white-space: nowrap; }
.nav-topo a:hover { background: #f1f2ee; }
.nav-topo a.ativo { background: var(--grafite, #14171c); color: #fff; }
.nav-topo a[data-tela="anunciar"] { color: var(--oxido); }
.nav-topo a[data-tela="anunciar"].ativo { color: #fff; }
@media (min-width: 1100px) { .nav-topo-faixa { justify-content: safe center; } }

/* reputação: estrelas, selo e comentários */
.rep { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 700; color: var(--texto); }
.rep small { font-weight: 400; color: var(--suave); }
.rep .estrela, .comentario .estrela { color: #e0a100; }
.rep.novo { color: var(--suave); font-weight: 600; font-size: .85rem; }
.selo-rep { background: #e2f1e5; color: #2f7a43; border-radius: 999px; padding: 2px 8px; font-size: .8rem; }
.comentarios { display: grid; gap: 4px; margin: 6px 0 10px; }
.comentario { margin: 0; font-size: .95rem; }
.faixa-avaliar { display: block; background: #fff4cf; border: 1.5px solid #e0b100; color: var(--texto); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-weight: 700; text-decoration: none; }
.btn-avaliar { margin-top: 8px; }
.form-avaliar .pergunta { font-weight: 700; margin: 12px 0 6px; display: block; }
.estrelas { display: flex; gap: 6px; }
.estrela-btn { font-size: 2.2rem; line-height: 1; background: none; border: 0; color: #c9ccc4; cursor: pointer; padding: 2px 4px; min-width: 44px; min-height: 44px; }
.estrela-btn.acesa { color: #e0a100; }
.aviso-ref { background: #fff4cf; border-radius: 10px; padding: 8px 12px; font-size: .92rem; margin: 6px 0; }

/* sem menu lateral: a conta abre pelo botão "Minha conta" no topo, numa gaveta à direita */
.menu { left: auto; right: 0; box-shadow: -4px 0 24px rgba(0,0,0,.18); }
.menu-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.menu-cab b { font-size: 1.05rem; }
.menu .menu-fechar { width: 44px; height: 44px; margin: 0; padding: 0; justify-content: center; font-size: 1.2rem; color: inherit; background: transparent; border: 0; }
.btn-conta { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 800 .95rem/1 var(--f-texto); cursor: pointer; }
.btn-conta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-conta .badge { position: absolute; top: -6px; right: -6px; }
@media (max-width: 520px) { .btn-conta span:not(.badge) { display: none; } .btn-conta { padding: 8px 10px; } }
.menu-cab { line-height: 1.2; color: #fff; padding: 12px 8px 12px 16px; } .menu .menu-fechar { color: #fff; }

/* denúncia */
.linha-denuncia { margin: 10px 0 0; text-align: right; }
.btn-denuncia { background: none; border: 0; color: var(--suave); font: 600 .9rem var(--f-texto); text-decoration: underline; cursor: pointer; padding: 8px 4px; min-height: 44px; }
.btn-denuncia:hover { color: #a3261d; }
.motivos { border: 0; padding: 0; margin: 8px 0 12px; display: grid; gap: 8px; }
.motivos legend { font-weight: 800; margin-bottom: 6px; }
#den-texto { width: 100%; font: 16px var(--f-texto); padding: 10px; border: 1.5px solid var(--linha-forte); border-radius: 10px; }
.assinatura { text-align: center; font-size: .82rem; color: var(--suave); margin: 28px 0 8px; } .assinatura a { color: inherit; }

/* resíduo e madeira */
.cod.residuo { background: #e6e1f0; color: #43356b; }
.cod.madeira { background: #efe3d3; color: #6b4421; }
.aviso-material { border-left: 5px solid #b4461a; }
.aviso-material h3 { margin: 0 0 6px; }
.aviso-material ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* ── 21/11: versão enxuta para o sucateirinho (crítica do Daniel) ── */
.cod.foto { padding: 0; overflow: hidden; border-radius: 50%; width: 2.6em; min-width: 2.6em; background: #fff; box-shadow: inset 0 0 0 1px #d3d5ce; }
.cod.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cod.emoji { border-radius: 50%; width: 2.6em; padding: 0; font-size: 1.15em; }
.ico-mat { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px #d3d5ce; font-size: 1.4rem; }
.ico-mat img { width: 100%; height: 100%; object-fit: cover; }
.cat-foto .emoji { font-size: 2rem; }
.cat-foto.mais { font: 800 2.2rem/1 var(--f-titulo); color: var(--texto); background: var(--marca-claro); }
.cat { text-decoration: none; }
.chamada { background: var(--grafite, #14171c); color: #fff; border-radius: 18px; padding: 20px; margin-bottom: 18px; display: grid; gap: 8px; }
.chamada-marca { margin: 0; font: 800 .72rem/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--marca); }
.chamada h1 { margin: 0; color: #fff; font: 900 clamp(1.6rem, 4.4vw, 2.6rem)/1.05 var(--f-titulo); text-transform: uppercase; }
.chamada-passos { margin: 0; color: #c9ccd1; }
.chamada-botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chamada .btn-secundario { background: transparent; color: #fff; border-color: #6b7078; }
.btn-grande { font-size: 1.15rem; padding: 14px 22px; }
@media (max-width: 760px) { .chamada-botoes .btn-grande { flex: 1 1 100%; } .chamada-botoes .btn-secundario { flex: 1 1 100%; } }
.cats { justify-content: flex-start; }
.preco-card small { color: var(--suave); font-size: .78rem; margin-left: 4px; }
.rodape-links { text-align: center; font-size: .92rem; margin: 22px 0 4px; }
.rodape-links a { color: var(--texto); }
.principais { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 12px 0 18px; }
.principal { position: relative; display: grid; grid-template-rows: 110px auto; padding: 0; overflow: hidden; border: 2px solid #d3d5ce; border-radius: 16px; background: #fff;
  cursor: pointer; font: 800 1.1rem/1.2 var(--f-texto); color: var(--texto); text-align: center; }
.principal img { width: 100%; height: 110px; object-fit: cover; display: block; }
.principal > span { padding: 10px 6px; }
.principal .mais { display: grid; place-items: center; height: 110px; font: 900 3rem/1 var(--f-titulo); background: var(--marca-claro); padding: 0; }
.principal[aria-pressed=true] { border-color: var(--texto); box-shadow: inset 0 0 0 2px var(--texto); background: var(--marca-claro); }
.principal[aria-pressed=true]::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--marca); color: var(--sobre-marca, #14171c); font-weight: 900; }
.principal.outro[aria-expanded=true] { border-style: dashed; }
@media (max-width: 760px) {
  .principais { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* no celular a barra de baixo já tem Início, Comprar, Anunciar e Vender: o menu de cima não repete */
  .nav-topo a[data-tela=inicio], .nav-topo a[data-tela=anuncios], .nav-topo a[data-tela=quem-compra], .nav-topo a[data-tela=anunciar] { display: none; }
}

/* ── 21/11: avisos de negócio perto (sino) e movimento da região ── */
.btn-sino { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; margin-right: 6px; }
.btn-sino svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sino:hover { background: rgba(255,255,255,.1); }
.btn-sino .badge { position: absolute; top: 2px; right: 2px; }
.topo-nome { display: flex; align-items: center; }
.avisos-lista { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.avisos-lista a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid #dcded7; border-radius: 14px; color: var(--texto); text-decoration: none; }
.avisos-lista li.novo a { border-color: var(--texto); background: var(--marca-claro); }
.aviso-ico { font-size: 1.6rem; }
.aviso-txt b { display: block; }
.aviso-txt small, .aviso-quando { color: var(--suave); font-size: .85rem; }
.movimento { margin: 4px 0 0; color: #e7e9ec; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.movimento b { color: #fff; }
.pulso { width: 10px; height: 10px; border-radius: 50%; background: #3fd17a; box-shadow: 0 0 0 0 rgba(63,209,122,.6); animation: pulso 2s infinite; flex: none; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(63,209,122,0); } 100% { box-shadow: 0 0 0 0 rgba(63,209,122,0); } }
@media (prefers-reduced-motion: reduce) { .pulso { animation: none; } }

/* ── 21/11: Como funciona no molde B2Blue ── */
.como-4 { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.como-4 li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; background: #fff; border: 1px solid #dcded7; border-radius: 14px; padding: 14px; }
.como-4 .num-placa { grid-row: span 2; margin: 0; width: 44px; height: 44px; font-size: 1.6rem; }
.como-4 small, .para-quem small, .confianca small { color: var(--suave); }
.antes-depois { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 18px; }
.antes-depois .rot { margin: 0; font: 800 .72rem/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase; }
.antes-depois ul { margin: 6px 0 0; padding-left: 1.2em; }
.antes .rot { color: #a33b2a; } .depois .rot { color: #1f7a45; }
.depois { border-color: #1f7a45; }
.para-quem { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 18px; }
.para-quem a { display: grid; gap: 4px; color: var(--texto); text-decoration: none; }
.para-quem span { font-size: 1.8rem; }
.confianca { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 18px; }
.confianca div { display: grid; gap: 2px; background: #fff; border: 1px solid #dcded7; border-radius: 12px; padding: 12px; }
.faq { display: grid; gap: 8px; margin-bottom: 18px; }
.faq details { background: #fff; border: 1px solid #dcded7; border-radius: 12px; padding: 12px 14px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 8px 0 0; }

/* ── 21/11: topo das listas em duas linhas curtas (crítica do Daniel) ── */
.filtro-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.local-lista { font-weight: 800; color: var(--texto); text-decoration: none; padding: 4px 0; }
.raio-sel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--suave); margin: 0; }
.raio-sel select { width: auto; min-height: 38px; padding: 4px 10px; border-radius: 999px; font-weight: 800; }
.pilulas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pilulas::-webkit-scrollbar { display: none; }
.pilula { flex: none; border: 1px solid #c9cbc4; background: #fff; border-radius: 999px; padding: 8px 14px; font: 800 .92rem/1 var(--f-texto); color: var(--texto); cursor: pointer; }
.pilula small { font-weight: 700; color: var(--suave); margin-left: 2px; }
.pilula[aria-pressed=true] { background: var(--grafite, #14171c); border-color: var(--grafite, #14171c); color: #fff; }
.pilula[aria-pressed=true] small { color: #c9ccd1; }
