/* =============================================================
   Catálogo Maranho Cardans — estilos
   ============================================================= */
:root {
  --vermelho: #EB3236;
  --vermelho-escuro: #C4232A;
  --grafite: #2B3240;
  --grafite-2: #374151;
  --aco: #5B6575;
  --linha: #DDE1E7;
  --nevoa: #F2F4F7;
  --branco: #FFFFFF;
  --texto: #1F2530;
  --azul-placa: #1F3F99;
  --verde-whats: #1FA855;
  --ok: #1E7F4F;

  --f-titulo: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-texto: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-peq: 6px;
  --r-med: 10px;
  --larg: 1200px;
  --sombra-painel: 0 18px 40px -18px rgba(23, 28, 38, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-texto); font-size: 16px; line-height: 1.55; color: var(--texto); background: var(--branco); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--larg); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

h1, h2, h3 { font-family: var(--f-titulo); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.15rem; border-radius: var(--r-peq); border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-vermelho { background: var(--vermelho); color: #fff; }
.btn-vermelho:hover { background: var(--vermelho-escuro); }
.btn-whats { background: var(--verde-whats); color: #fff; }
.btn-whats:hover { background: #178A45; }
.btn-contorno { border-color: var(--linha); background: #fff; color: var(--grafite); }
.btn-contorno:hover { border-color: var(--grafite); }
.btn-claro { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-claro:hover { border-color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Topo ---------- */
.barra-topo { background: var(--nevoa); color: var(--aco); font-size: .82rem; border-bottom: 1px solid var(--linha); }
.barra-topo .wrap { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; min-height: 38px; }
.barra-topo a { text-decoration: none; }
.barra-topo a:hover { color: var(--vermelho); }
.barra-topo .contatos { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.barra-topo .redes { display: flex; gap: .4rem; }
.barra-topo .redes a { display: grid; place-items: center; width: 30px; height: 30px; }
.barra-topo .redes svg { width: 16px; height: 16px; }
@media (max-width: 719px) { .barra-topo .so-desktop { display: none; } }

.cabecalho { background: #fff; border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 30; }
.cabecalho .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.marca img { height: 54px; width: auto; }
.marca .marca-texto { display: none; font-family: var(--f-titulo); font-weight: 700; font-size: 1.5rem; line-height: .9; color: var(--grafite); }
.marca .marca-texto b { color: var(--vermelho); }
.marca.sem-logo img { display: none; }
.marca.sem-logo .marca-texto { display: block; }
.marca .selo-catalogo { border-left: 1px solid var(--linha); padding-left: .75rem; font-family: var(--f-titulo); font-weight: 600; font-size: 1.15rem; color: var(--aco); line-height: 1; }
.menu { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.menu a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--grafite-2); padding: .5rem 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--vermelho); border-bottom-color: var(--vermelho); }
.acoes-topo { display: flex; gap: .6rem; }
.btn-menu { display: none; margin-left: auto; background: none; border: 1px solid var(--linha); border-radius: var(--r-peq); width: 44px; height: 44px; cursor: pointer; }
.btn-menu svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1239px) and (min-width: 1100px) { .menu a.so-largo { display: none; } }
@media (max-width: 1099px) {
  .btn-menu { display: grid; place-items: center; }
  .menu, .acoes-topo { display: none; }
  .cabecalho.aberto .wrap { flex-wrap: wrap; }
  .cabecalho.aberto .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; order: 3; margin: 0 0 .5rem; }
  .cabecalho.aberto .menu a { padding: .8rem 0; border-bottom: 1px solid var(--linha); }
  .cabecalho.aberto .acoes-topo { display: flex; order: 4; width: 100%; margin-bottom: 1rem; }
  .cabecalho.aberto .acoes-topo .btn { flex: 1; }
  .marca img { height: 44px; }
  .marca .selo-catalogo { font-size: 1rem; }
}

/* ---------- Aviso de demonstração ---------- */
.aviso-demo { background: #FFF4D6; color: #6A4B00; font-size: .88rem; border-bottom: 1px solid #F1DFA6; }
.aviso-demo .wrap { padding-top: .55rem; padding-bottom: .55rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grafite); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 2.25rem; padding-top: 3.25rem; padding-bottom: 7.5rem; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; padding-top: 4.5rem; padding-bottom: 8.5rem; gap: 3.5rem; } }
.hero h1 { max-width: 13ch; }
.hero .sub { margin-top: 1.1rem; font-size: 1.08rem; color: #C9CFD9; max-width: 46ch; }
.hero .numeros { margin-top: 1.6rem; color: #AEB6C3; font-size: .9rem; min-height: 1.4em; }
.hero .numeros strong { color: #fff; font-weight: 600; }
.eixo { position: absolute; left: 0; right: 0; bottom: 18px; height: 96px; pointer-events: none; }
.eixo svg { width: 100%; height: 100%; }
.eixo .traco { stroke: rgba(255,255,255,.22); stroke-width: 1.6; fill: none; }
.eixo .cruz { stroke: var(--vermelho); stroke-width: 2; fill: none; }
.eixo .gira { animation: girar 2.4s cubic-bezier(.4,.1,.2,1) .3s 1 both; transform-box: fill-box; transform-origin: center; }
@keyframes girar { from { transform: rotate(-90deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }

/* ---------- Painel de busca ---------- */
.painel-busca { background: #fff; color: var(--texto); border-radius: var(--r-med); box-shadow: var(--sombra-painel); }
.abas { display: flex; border-bottom: 1px solid var(--linha); overflow-x: auto; scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.aba { flex: 1 0 auto; background: none; border: 0; border-bottom: 3px solid transparent; padding: 1rem 1rem .85rem; font-family: var(--f-titulo); font-weight: 600; font-size: 1.12rem; color: var(--aco); cursor: pointer; letter-spacing: .01em; }
.aba[aria-selected="true"] { color: var(--grafite); border-bottom-color: var(--vermelho); }
.aba:hover { color: var(--grafite); }
.conteudo-aba { padding: 1.4rem; }
@media (min-width: 720px) { .conteudo-aba { padding: 1.75rem; } }
.conteudo-aba[hidden] { display: none; }
.dica { font-size: .85rem; color: var(--aco); margin-top: .65rem; }
.linha-acoes { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.linha-acoes .btn-vermelho { min-width: 140px; }

/* Placa Mercosul */
.placa { width: min(100%, 400px); margin: 0 auto; border: 3px solid #1A1A1A; border-radius: 10px; background: #fff; overflow: hidden; }
.placa-faixa { background: var(--azul-placa); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: .2rem .7rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; }
.placa-faixa .bandeira { width: 22px; height: 14px; border-radius: 1px; background: linear-gradient(135deg, #009C3B 50%, #FFDF00 50%); position: relative; }
.placa-faixa .bandeira::after { content: ""; position: absolute; inset: 3px 6px; border-radius: 50%; background: #002776; }
.placa input { width: 100%; border: 0; text-align: center; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(2.6rem, 9vw, 3.5rem); letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem .25rem; background: transparent; color: #111; }
.placa input::placeholder { color: #C7CBD2; }
.placa input:focus { outline: none; }
.placa:focus-within { box-shadow: 0 0 0 3px rgba(235, 50, 54, .35); }
.painel-busca .placa + .dica, .painel-busca .placa ~ .linha-acoes { justify-content: center; text-align: center; }

.campo { display: flex; flex-direction: column; gap: .3rem; }
.campo label { font-size: .82rem; font-weight: 600; color: var(--grafite-2); }
.input, .select { width: 100%; min-height: 46px; border: 1.5px solid var(--linha); border-radius: var(--r-peq); padding: .55rem .8rem; background: #fff; }
.input:focus, .select:focus { border-color: var(--grafite); outline: none; box-shadow: 0 0 0 3px rgba(43, 50, 64, .12); }
.select:disabled { background: var(--nevoa); color: #9AA2AE; }
.input-grande { font-size: 1.15rem; min-height: 54px; }
.grade-veiculo { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: .9rem; }
@media (min-width: 560px) { .grade-veiculo { grid-template-columns: 1fr 1fr; } }

/* ---------- Seções da página inicial ---------- */
.secao { padding: 4.5rem 0; }
.secao-nevoa { background: var(--nevoa); }
.secao-cab { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; margin-bottom: 2.25rem; }
.secao-cab p { color: var(--aco); max-width: 52ch; }

.linhas { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); }
@media (min-width: 720px) { .linhas { grid-template-columns: repeat(4, 1fr); } }
.linha-item { display: flex; flex-direction: column; gap: .8rem; padding: 1.3rem 1.1rem 1.1rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); text-decoration: none; background: #fff; min-height: 168px; }
.linha-item svg { width: 64px; height: 64px; color: var(--grafite); }
.linha-item:hover svg { color: var(--vermelho); }
.linha-item strong { font-family: var(--f-titulo); font-size: 1.25rem; font-weight: 600; line-height: 1.1; margin-top: auto; }
.linha-item span { font-size: .82rem; color: var(--aco); }

.passos { display: grid; gap: 2rem; counter-reset: passo; }
@media (min-width: 820px) { .passos { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.passo { position: relative; padding-top: 3.4rem; }
.passo::before { counter-increment: passo; content: counter(passo); position: absolute; top: 0; left: 0; font-family: var(--f-titulo); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--vermelho); }
.passo::after { content: ""; position: absolute; top: 1.2rem; left: 2.6rem; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--linha) 0 8px, transparent 8px 14px); }
.passo h3 { margin-bottom: .45rem; }
.passo p { color: var(--aco); max-width: 34ch; }

.segmentos { display: flex; flex-wrap: wrap; gap: .6rem; }
.segmento { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .7rem; border: 1.5px solid var(--linha); border-radius: 999px; background: #fff; font-weight: 500; font-size: .95rem; }
.segmento svg { width: 22px; height: 22px; color: var(--vermelho); }
.marcas-cruzadas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.marcas-cruzadas a, .marcas-cruzadas span { font-family: var(--f-titulo); font-weight: 600; font-size: 1.1rem; padding: .3rem .8rem; border-radius: var(--r-peq); background: var(--nevoa); text-decoration: none; color: var(--grafite); }
.marcas-cruzadas a:hover { background: var(--grafite); color: #fff; }
.duas-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .duas-col { grid-template-columns: 1fr 1fr; } }
.duas-col h2 { margin-bottom: .6rem; }
.duas-col > div > p { color: var(--aco); margin-bottom: 1.25rem; max-width: 50ch; }

.faixa-cta { background: var(--vermelho); color: #fff; }
.faixa-cta .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding-top: 2.75rem; padding-bottom: 2.75rem; }
.faixa-cta p { color: #FFE3E3; max-width: 56ch; margin-top: .4rem; }
.faixa-cta .acoes { display: flex; gap: .7rem; flex-wrap: wrap; }
.faixa-cta .btn-whats { background: #fff; color: var(--texto); }
.faixa-cta .btn-whats svg { color: var(--verde-whats); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--grafite); color: #C9CFD9; font-size: .92rem; }
.rodape .wrap { display: grid; gap: 2rem; padding-top: 3.25rem; padding-bottom: 2rem; }
@media (min-width: 820px) { .rodape .wrap { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.rodape h3 { color: #fff; font-size: 1.15rem; margin-bottom: .7rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.rodape .nome { font-family: var(--f-titulo); font-weight: 700; color: #fff; font-size: 1.7rem; line-height: 1; }
.rodape .nome b { color: var(--vermelho); }
.rodape .final { border-top: 1px solid rgba(255,255,255,.12); grid-column: 1 / -1; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .8rem; color: #8F98A6; }

.whats-flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--verde-whats); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.whats-flutuante svg { width: 30px; height: 30px; }

/* ---------- Catálogo ---------- */
.topo-catalogo { background: var(--grafite); padding: 1.5rem 0 1.75rem; }
.topo-catalogo .painel-busca { max-width: 920px; }
.topo-catalogo details > summary { list-style: none; cursor: pointer; color: #fff; font-family: var(--f-titulo); font-weight: 600; font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; padding: .25rem 0; }
.topo-catalogo details > summary::-webkit-details-marker { display: none; }
.topo-catalogo details > summary svg { width: 18px; height: 18px; transition: transform .2s; }
.topo-catalogo details[open] > summary svg { transform: rotate(180deg); }
.topo-catalogo details[open] > summary { margin-bottom: .9rem; }

.area-resultados { padding: 2rem 0 4rem; min-height: 50vh; }
.layout-resultados { display: grid; gap: 1.75rem; }
@media (min-width: 960px) { .layout-resultados { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.filtros { border: 1px solid var(--linha); border-radius: var(--r-med); padding: 1.1rem; }
@media (min-width: 960px) { .filtros { position: sticky; top: 96px; } }
.filtros h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.filtros .grupo + .grupo { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--linha); }
.filtros .grupo-titulo { font-size: .82rem; font-weight: 600; color: var(--aco); margin-bottom: .4rem; }
.filtro-op { display: flex; justify-content: space-between; gap: .5rem; width: 100%; text-align: left; background: none; border: 0; padding: .4rem .5rem; border-radius: var(--r-peq); cursor: pointer; font-size: .92rem; }
.filtro-op:hover { background: var(--nevoa); }
.filtro-op[aria-pressed="true"] { background: var(--grafite); color: #fff; }
.filtro-op small { color: inherit; opacity: .7; }

.resumo { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; }
.resumo h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.resumo p { color: var(--aco); font-size: .92rem; }
.cartao-veiculo { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; background: var(--nevoa); border-radius: var(--r-med); padding: 1rem 1.2rem; margin-bottom: 1.25rem; }
.cartao-veiculo .mini-placa { font-family: var(--f-titulo); font-weight: 700; font-size: 1.5rem; letter-spacing: .08em; border: 2px solid #1A1A1A; border-top: 7px solid var(--azul-placa); border-radius: 5px; padding: 0 .6rem; background: #fff; }
.cartao-veiculo strong { font-size: 1.05rem; }
.cartao-veiculo span { color: var(--aco); font-size: .9rem; }

.lista-pecas { display: grid; gap: 1rem; }
.peca { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; padding: 1.15rem; border: 1px solid var(--linha); border-radius: var(--r-med); background: #fff; }
@media (min-width: 720px) { .peca { grid-template-columns: 128px minmax(0, 1fr) auto; align-items: start; } }
.peca-img { aspect-ratio: 1; border-radius: var(--r-peq); background: var(--nevoa); display: grid; place-items: center; overflow: hidden; }
.peca-img img { width: 100%; height: 100%; object-fit: contain; }
.peca-img svg { width: 62%; height: 62%; color: var(--aco); }
.peca-codigo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--grafite); text-decoration: none; letter-spacing: .02em; }
.peca-codigo:hover { color: var(--vermelho); }
.peca-desc { font-weight: 500; margin-top: .3rem; }
.peca-linha { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--vermelho); margin-top: .1rem; }
.specs-mini { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-top: .55rem; font-size: .86rem; color: var(--aco); }
.specs-mini b { color: var(--texto); font-weight: 600; }
.equivs { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; align-items: center; font-size: .82rem; color: var(--aco); }
.equiv { font-weight: 600; font-size: .82rem; background: var(--nevoa); color: var(--grafite); padding: .15rem .5rem; border-radius: 4px; }
.equiv.achou { background: #FDE3E4; color: var(--vermelho-escuro); }
.peca-acoes { display: flex; gap: .5rem; grid-column: 1 / -1; flex-wrap: wrap; }
@media (min-width: 720px) { .peca-acoes { grid-column: auto; flex-direction: column; } }
.aplic-mini { grid-column: 1 / -1; font-size: .86rem; border-top: 1px dashed var(--linha); padding-top: .7rem; color: var(--aco); }
.aplic-mini b { color: var(--texto); }

.paginacao { display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.paginacao button { min-width: 42px; height: 42px; border: 1px solid var(--linha); background: #fff; border-radius: var(--r-peq); cursor: pointer; font-weight: 600; }
.paginacao button[aria-current="page"] { background: var(--grafite); color: #fff; border-color: var(--grafite); }

.vazio { text-align: center; padding: 3rem 1rem; border: 1.5px dashed var(--linha); border-radius: var(--r-med); }
.vazio h2 { font-size: 1.7rem; margin-bottom: .5rem; }
.vazio p { color: var(--aco); max-width: 52ch; margin: 0 auto 1.25rem; }
.carregando { padding: 3rem 0; text-align: center; color: var(--aco); }
.carregando::before { content: ""; display: block; width: 34px; height: 34px; margin: 0 auto 1rem; border-radius: 50%; border: 3px solid var(--linha); border-top-color: var(--vermelho); animation: rodar .8s linear infinite; }
@keyframes rodar { to { transform: rotate(360deg); } }

/* Detalhe */
.voltar { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: .3rem 0; color: var(--aco); cursor: pointer; font-weight: 500; margin-bottom: 1rem; }
.voltar:hover { color: var(--vermelho); }
.voltar svg { width: 18px; height: 18px; }
.detalhe-topo { display: grid; gap: 1.75rem; }
@media (min-width: 860px) { .detalhe-topo { grid-template-columns: 360px minmax(0, 1fr); gap: 2.5rem; } }
.detalhe-img { aspect-ratio: 1; background: var(--nevoa); border-radius: var(--r-med); display: grid; place-items: center; overflow: hidden; }
.detalhe-img img { width: 100%; height: 100%; object-fit: contain; }
.detalhe-img svg { width: 55%; color: var(--aco); }
.detalhe-codigo { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: .95; color: var(--grafite); }
.detalhe-desc { font-size: 1.15rem; font-weight: 500; margin-top: .5rem; }
.detalhe-obs { color: var(--aco); margin-top: .6rem; font-size: .92rem; }
.tabela-specs { margin-top: 1.25rem; border-collapse: collapse; width: 100%; max-width: 480px; font-size: .95rem; }
.tabela-specs th, .tabela-specs td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--linha); }
.tabela-specs th { font-weight: 500; color: var(--aco); width: 55%; }
.detalhe-acoes { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.bloco { margin-top: 2.75rem; }
.bloco h2 { font-size: 1.8rem; margin-bottom: .9rem; }
.tabela-rolagem { overflow-x: auto; border: 1px solid var(--linha); border-radius: var(--r-med); }
.tabela { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 640px; }
.tabela th { background: var(--nevoa); text-align: left; font-weight: 600; font-size: .8rem; color: var(--grafite-2); padding: .65rem .8rem; white-space: nowrap; }
.tabela td { padding: .6rem .8rem; border-top: 1px solid var(--linha); vertical-align: top; }
.tabela tr.grupo td { background: #FAFBFC; font-family: var(--f-titulo); font-weight: 700; font-size: 1.05rem; color: var(--grafite); }
.tabela .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabela-equiv { min-width: 0; }
.tabela-equiv td:nth-child(2) { font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.filtro-aplic { max-width: 360px; margin-bottom: .8rem; }
.similares { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.similar { border: 1px solid var(--linha); border-radius: var(--r-med); padding: .9rem; text-decoration: none; display: grid; gap: .25rem; }
.similar:hover { border-color: var(--grafite); }
.similar b { font-family: var(--f-titulo); font-size: 1.35rem; }
.similar span { font-size: .85rem; color: var(--aco); }

/* Admin */
.admin { max-width: 760px; padding: 2.5rem 16px 4rem; }
.admin h1 { font-size: 2.4rem; margin-bottom: .5rem; }
.admin .passo-admin { border: 1px solid var(--linha); border-radius: var(--r-med); padding: 1.25rem; margin-top: 1.25rem; }
.admin .passo-admin h2 { font-size: 1.45rem; margin-bottom: .6rem; }
.admin .passo-admin p { color: var(--aco); margin-bottom: .8rem; }
.admin .opcoes { display: grid; gap: .5rem; margin: .75rem 0; }
.admin .opcoes label { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.admin .opcoes input { margin-top: .3rem; accent-color: var(--vermelho); }
.admin .contagem { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; margin: .8rem 0; }
.admin .contagem div { background: var(--nevoa); border-radius: var(--r-peq); padding: .7rem .9rem; }
.admin .contagem b { display: block; font-family: var(--f-titulo); font-size: 1.8rem; line-height: 1; }
.admin .contagem span { font-size: .8rem; color: var(--aco); }
.admin .avisos { font-size: .85rem; color: #6A4B00; background: #FFF4D6; border-radius: var(--r-peq); padding: .7rem .9rem; max-height: 200px; overflow: auto; margin: .6rem 0; }
.admin .avisos ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.progresso { height: 10px; background: var(--nevoa); border-radius: 99px; overflow: hidden; margin: .8rem 0 .4rem; }
.progresso div { height: 100%; width: 0; background: var(--vermelho); transition: width .2s; }
.msg-ok { color: var(--ok); font-weight: 600; }
.msg-erro { color: var(--vermelho-escuro); font-weight: 600; }

@media print {
  .barra-topo, .cabecalho, .topo-catalogo, .rodape, .whats-flutuante, .detalhe-acoes, .voltar, .filtros, .aviso-demo { display: none !important; }
  .tabela-rolagem { overflow: visible; border: 0; }
}

/* Aplicações e equivalências em telas pequenas */
.tabela-equiv { min-width: 520px; }
@media (max-width: 719px) {
  .detalhe-img { max-width: 240px; }
  .tabela-rolagem:has(.tabela-aplic) { border: 0; overflow: visible; }
  .tabela-aplic { min-width: 0; }
  .tabela-aplic thead { display: none; }
  .tabela-aplic, .tabela-aplic tbody, .tabela-aplic tr, .tabela-aplic td { display: block; width: 100%; }
  .tabela-aplic tr { border: 1px solid var(--linha); border-radius: var(--r-peq); margin-bottom: .6rem; padding: .5rem .8rem; }
  .tabela-aplic tr.grupo { border: 0; padding: .6rem 0 .2rem; margin: 0; }
  .tabela-aplic tr.grupo td { display: block; background: none; padding: 0; border: 0; font-size: 1.2rem; }
  .tabela-aplic tr.grupo td::before { content: none; }
  .tabela-aplic td { border: 0; padding: .2rem 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; }
  .tabela-aplic td::before { content: attr(data-l); color: var(--aco); font-size: .8rem; }
  .tabela-aplic td.cel-veic { font-weight: 600; }
}
