/* Catálogo digital Plenitude Brindes, protótipo da categoria Canetas */
:root {
  --cobalt: #312C83;
  --cobalt-900: #211D5E;
  --cobalt-50: #EFEEF9;
  --blue: #607DFF;
  --gold: #FFBC42;
  --gold-700: #B97A00;
  --blush: #EADDE1;
  --blush-50: #F8F3F5;
  --ink: #0D160B;
  --text: #24233A;
  --muted: #5B5A6B;
  --line: #E4E0E6;
  --paper: #FFFFFF;
  --wa: #1FA855;
  --r: 10px;
  --f-title: "Archivo", system-ui, sans-serif;
  --f-text: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
button, a, input, select { scroll-margin: 140px 0 90px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--f-text); color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-title); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: var(--r); z-index: 100; }
.pular:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 0.82em; letter-spacing: 0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 30; background: var(--cobalt); color: #fff; }
.topo-in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 20px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.marca img { width: 168px; height: auto; }
.marca-sub { font: 500 13px var(--f-mono); color: var(--gold); padding-left: 12px; border-left: 1px solid rgba(255,255,255,.28); }
.busca { flex: 1; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 0 14px; max-width: 520px; transition: background .2s, border-color .2s; }
.busca:focus-within { background: #fff; color: var(--ink); border-color: #fff; }
.busca input { flex: 1; border: 0; background: none; padding: 11px 0; outline: none; min-width: 0; color: inherit; }
.busca input::placeholder { color: rgba(255,255,255,.72); }
.busca:focus-within input::placeholder { color: var(--muted); }
.topo-site { margin-left: auto; font-weight: 500; font-size: 15px; text-decoration: none; opacity: .85; }
.topo-site:hover { opacity: 1; text-decoration: underline; }
.btn-lista { display: flex; align-items: center; gap: 10px; background: var(--gold); color: var(--ink); border: 0; border-radius: var(--r); padding: 10px 14px; font-weight: 700; cursor: pointer; }
.btn-lista:hover { background: #ffc85f; }
.contador { min-width: 24px; height: 24px; border-radius: 12px; background: var(--ink); color: #fff; font: 500 13px/24px var(--f-mono); text-align: center; padding: 0 6px; }
.contador.pulse { animation: pulse .5s ease; }
@keyframes pulse { 40% { transform: scale(1.35); } }

/* ---------- miolo ---------- */
main { min-height: 70vh; outline: none; }
.trilha { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.trilha a { color: var(--muted); }
.trilha span[aria-current] { color: var(--ink); font-weight: 600; }

/* início */
.abre { background: var(--cobalt); color: #fff; padding: 48px 0 52px; position: relative; overflow: hidden; }
.abre-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mosaico { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaico img { border-radius: var(--r); background: #fff; aspect-ratio: 1; object-fit: contain; width: 100%; height: auto; }
.mosaico img:nth-child(1) { grid-row: span 2; aspect-ratio: auto; height: 100%; object-fit: cover; }
.mosaico img:nth-child(4) { display: none; }
.abre h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; max-width: 15ch; }
.abre p { font-size: clamp(17px, 2vw, 20px); color: #DCDAF5; max-width: 52ch; margin-top: 16px; }
.abre-busca { margin-top: 28px; display: flex; gap: 10px; max-width: 620px; }
.abre-busca input { flex: 1; border: 0; border-radius: var(--r); padding: 15px 18px; font-size: 17px; color: var(--ink); min-width: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r); border: 1.5px solid transparent; padding: 12px 18px; font-weight: 700; font-size: 15.5px; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn-ouro { background: var(--gold); color: var(--ink); }
.btn-ouro:hover { background: #ffc85f; }
.btn-cobalto { background: var(--cobalt); color: #fff; }
.btn-cobalto:hover { background: var(--cobalt-900); }
.btn-linha { background: #fff; color: var(--cobalt); border-color: var(--cobalt); }
.btn-linha:hover { background: var(--cobalt-50); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178f47; }
.btn-texto { background: none; border: 0; padding: 6px 0; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; cursor: pointer; }

.secao { padding-top: 56px; padding-bottom: 56px; }
.secao-cab { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.secao h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.secao-cab a { font-weight: 600; color: var(--cobalt); }

.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 16px; border-radius: var(--r); background: var(--blush-50); text-decoration: none; overflow: hidden; border: 1px solid transparent; }
.cat img { width: 112px; height: 112px; object-fit: contain; align-self: flex-end; margin: -6px -6px 0 0; }
.cat strong { font: 700 17px/1.2 var(--f-title); color: var(--ink); }
.cat small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.cat.ativa { background: var(--cobalt); }
.cat.ativa strong { color: #fff; }
.cat.ativa small { color: var(--gold); font-weight: 600; }
.cat.ativa:hover { background: var(--cobalt-900); }
.cat.inativa { cursor: default; }
.cat.inativa img { filter: grayscale(1); opacity: .45; }

.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: p; border-top: 2px solid var(--ink); }
.passo { padding: 22px 24px 0 0; }
.passo h3 { font-size: 19px; margin: 10px 0 6px; }
.passo p { color: var(--muted); max-width: 34ch; }
.passo .mono { color: var(--cobalt); font-size: 14px; }

/* categoria */
.cab-cat { padding: 8px 0 28px; }
.cab-cat-topo { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.cab-cat h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.cab-cat p { color: var(--muted); max-width: 58ch; margin-top: 10px; font-size: 17px; }
.linhas { display: flex; gap: 10px; overflow-x: auto; padding: 22px 0 4px; scrollbar-width: none; }
.linhas::-webkit-scrollbar { display: none; }
.linha-chip { flex: none; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); }
.linha-chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #fff; }
.linha-chip .mono { color: var(--muted); }
.linha-chip[aria-pressed="true"] { border-color: var(--cobalt); background: var(--cobalt); color: #fff; }
.linha-chip[aria-pressed="true"] .mono { color: var(--gold); }

.vitrine { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding-bottom: 72px; align-items: start; }
.filtros { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.filtros fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 16px 0; }
.filtros legend { font: 700 15px var(--f-title); color: var(--ink); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filtros fieldset > div { clear: both; }
.op { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15px; }
.op input { width: 18px; height: 18px; accent-color: var(--cobalt); margin: 0; }
.op .mono { margin-left: auto; color: var(--muted); }
.op.vazio { opacity: .4; }
.cores-filtro { display: flex; flex-wrap: wrap; gap: 8px; }
.cor-f { position: relative; }
.cor-f input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cor-f span { display: block; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 3px #fff; }
.cor-f input:checked + span { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.cor-f input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.alterna { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 15px; }
.alterna input { width: 18px; height: 18px; accent-color: var(--cobalt); }
.filtros-acoes { display: none; }

.barra { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.barra-res { font-size: 15px; color: var(--muted); }
.barra-res strong { color: var(--ink); }
.barra select { border: 1.5px solid var(--line); border-radius: var(--r); padding: 9px 12px; background: #fff; }
.btn-filtrar { display: none; }
.ativos { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.ativo { display: inline-flex; align-items: center; gap: 6px; background: var(--cobalt-50); color: var(--cobalt); border: 0; border-radius: 999px; padding: 6px 10px 6px 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ativo svg { width: 14px; height: 14px; }

.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 28px 20px; }
.card { display: flex; flex-direction: column; position: relative; }
.card-foto { display: block; position: relative; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; }
.card-foto img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.card-foto:hover img { transform: scale(1.04); }
.selo { position: absolute; top: 10px; left: 10px; font: 600 12.5px var(--f-text); padding: 4px 9px; border-radius: 6px; background: var(--gold); color: var(--ink); }
.selo.novo { background: var(--cobalt); color: #fff; }
.card-corpo { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-linha { font-size: 13.5px; color: var(--muted); }
.card h3 { font-size: 17px; font-weight: 700; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0 0 52px 0; }
.dots { display: flex; align-items: center; gap: 5px; list-style: none; margin: 2px 0 0; padding: 0; }
.dots li { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); }
.dots .mais { width: auto; height: auto; border: 0; font: 500 12.5px var(--f-mono); color: var(--muted); margin-left: 2px; }
.card-grav { font-size: 13.5px; color: var(--muted); }
.card-acao { margin-top: auto; padding-top: 8px; position: relative; z-index: 2; }
.add { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--cobalt); color: var(--cobalt); background: #fff; border-radius: var(--r); padding: 10px 12px; font-weight: 700; font-size: 15px; cursor: pointer; }
.add:hover { background: var(--cobalt-50); }
.add.na-lista { background: var(--cobalt); color: #fff; }
.add svg { width: 18px; height: 18px; }

.vazio-box { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 40px 24px; text-align: center; }
.vazio-box h2 { font-size: 22px; }
.vazio-box p { color: var(--muted); margin: 8px auto 18px; max-width: 46ch; }
.vazio-box .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ficha */
.ficha { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding: 12px 0 56px; align-items: start; }
.galeria { position: sticky; top: 92px; }
.foto-g { border: 1px solid var(--line); border-radius: var(--r); background: #fff; aspect-ratio: 1; overflow: hidden; position: relative; }
.foto-g img { width: 100%; height: 100%; object-fit: contain; }
.foto-g .legenda { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 6px; padding: 4px 10px; font-size: 13.5px; font-weight: 600; }
.miniaturas { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.miniaturas button { flex: none; width: 68px; height: 68px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; padding: 2px; cursor: pointer; }
.miniaturas button[aria-current="true"] { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.miniaturas img { width: 100%; height: 100%; object-fit: contain; }
.info .card-linha { font-size: 15px; }
.info h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 6px 0 4px; }
.info .codigo { color: var(--muted); }
.info .desc { font-size: 17px; margin: 16px 0 0; max-width: 56ch; }
.bloco { margin-top: 26px; }
.bloco h2 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.bloco h2 .valor { font: 500 16px var(--f-text); color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,.16); box-shadow: inset 0 0 0 3px #fff; cursor: pointer; padding: 0; }
.sw[aria-pressed="true"] { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.tecnica { display: flex; flex-wrap: wrap; gap: 8px; }
.tecnica span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14.5px; font-weight: 600; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 0 20px; margin: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { color: var(--ink); font-weight: 500; }

/* régua de gravação: o elemento assinatura */
.regua { margin-top: 26px; border-radius: var(--r); background: var(--cobalt); color: #fff; padding: 20px 20px 16px; }
.regua h2 { color: #fff; font-size: 17px; }
.regua p { color: #DCDAF5; font-size: 14.5px; margin-top: 4px; }
.regua p strong { color: var(--gold); font-weight: 600; }
.regua svg { width: 100%; height: auto; margin-top: 14px; overflow: visible; stroke: none; }
.regua .tick { stroke: rgba(255,255,255,.55); stroke-width: 1; }
.regua .tick-n { fill: rgba(255,255,255,.75); font: 500 11px var(--f-mono); }
.regua .colchete { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.regua .corpo { fill: #ECEBF8; }
.regua .ponta { fill: #B9B6E0; }
.regua .area { fill: var(--gold); }
.regua .area-txt { fill: var(--gold); font: 500 13px var(--f-mono); }
.regua .area-anim { transform-box: fill-box; transform-origin: left center; animation: grava 1s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grava { from { transform: scaleX(0); } }

.pedido { margin-top: 26px; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; }
.pedido-linha { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.qtd label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stepper button { width: 42px; border: 0; background: var(--blush-50); font-size: 20px; cursor: pointer; }
.stepper input { width: 84px; border: 0; text-align: center; font: 500 16px var(--f-mono); padding: 10px 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pedido .btn-ouro { flex: 1; min-width: 220px; padding: 14px 18px; }
.pedido-nota { font-size: 14px; color: var(--muted); margin-top: 10px; }
.pedido-wa { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wa); text-decoration: none; font-size: 15px; }
.pedido-wa:hover { text-decoration: underline; }

/* seleção do vendedor */
.selecao-cab { background: var(--blush); border-radius: var(--r); padding: 24px; margin: 18px 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.selecao-cab h1 { font-size: clamp(24px, 3vw, 32px); }
.selecao-cab p { color: var(--text); margin-top: 6px; }

/* ---------- lista de orçamento (ficha de pedido) ---------- */
.veu { position: fixed; inset: 0; background: rgba(13, 12, 40, .45); z-index: 40; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.lista { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: #fff; z-index: 41; display: flex; flex-direction: column; animation: entra .28s cubic-bezier(.2,.8,.2,1); }
@keyframes entra { from { transform: translateX(40px); opacity: 0; } }
.lista-cab { display: flex; justify-content: space-between; align-items: start; padding: 20px 22px 18px; background: var(--cobalt); color: #fff; position: relative; }
.lista-cab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; background: radial-gradient(circle at 7px 0, transparent 6px, #fff 6.5px) 0 7px / 14px 14px repeat-x; }
.lista-cab h2 { color: #fff; font-size: 22px; }
.lista-sub { color: var(--gold); font: 500 13px var(--f-mono); margin-top: 4px; }
.fechar { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; cursor: pointer; }
.lista-corpo { flex: 1; overflow: auto; padding: 22px; }
.item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.item:first-child { padding-top: 0; }
.item img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.item h3 { font-size: 15.5px; }
.item .mono { color: var(--muted); font-size: 12px; }
.item-campos { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.item-campos select, .item-campos input { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 14px; background: #fff; }
.item-campos input { width: 86px; font-family: var(--f-mono); }
.item-campos .un { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.remover { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.remover:hover { color: #b3261e; background: #fbeceb; }
.form-pedido { margin-top: 22px; display: grid; gap: 12px; }
.form-pedido h3 { font-size: 17px; }
.campo label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.campo input, .campo textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-size: 15px; }
.campo textarea { min-height: 72px; resize: vertical; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.envio { display: grid; gap: 10px; margin-top: 6px; }
.envio .btn { width: 100%; padding: 14px; }
.vendedor { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lista-vazia { text-align: center; padding: 40px 10px; }
.lista-vazia p { color: var(--muted); margin: 8px 0 18px; }
.enviado { text-align: center; padding: 30px 6px; }
.enviado .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 16px; }
.enviado .ok svg { width: 30px; height: 30px; stroke-width: 2.4; }
.enviado p { color: var(--muted); margin: 8px 0 18px; }

.toast { position: fixed; left: 50%; bottom: 24px; width: max-content; max-width: calc(100% - 32px); transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 600; z-index: 60; transition: .25s ease; pointer-events: none; display: flex; gap: 12px; align-items: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: var(--gold); font-weight: 700; cursor: pointer; text-decoration: underline; }

.rodape { background: var(--cobalt-900); color: #DCDAF5; padding: 36px 0; }
.rodape-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; font-size: 14.5px; }
.rodape img { width: 150px; height: auto; }
.rodape nav { display: flex; flex-direction: column; gap: 4px; }
.rodape a { color: #fff; }

.proto { position: fixed; right: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: 0 6px 24px rgba(20,18,60,.14); font-size: 13px; }
.proto span { padding: 0 8px; color: var(--muted); font-family: var(--f-mono); }
.proto button { border: 0; border-radius: 999px; padding: 6px 12px; background: none; cursor: pointer; font-weight: 600; }
.proto button[aria-pressed="true"] { background: var(--cobalt); color: #fff; }

/* ---------- Direção B: faixa cobalto ---------- */
[data-dir="b"] body { background: var(--blush-50); }
[data-dir="b"] .cab-cat { background: var(--cobalt); color: #fff; margin: 0 calc(var(--pad) * -1); padding: 8px var(--pad) 28px; border-radius: 0 0 var(--r) var(--r); }
[data-dir="b"] .cab-cat h1 { color: #fff; }
[data-dir="b"] .cab-cat p, [data-dir="b"] .cab-cat .trilha, [data-dir="b"] .cab-cat .trilha a { color: #DCDAF5; }
[data-dir="b"] .cab-cat .trilha span[aria-current] { color: #fff; }
[data-dir="b"] .linha-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
[data-dir="b"] .linha-chip .mono { color: #B9B6E0; }
[data-dir="b"] .linha-chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
[data-dir="b"] .linha-chip[aria-pressed="true"] .mono { color: var(--ink); }
[data-dir="b"] .vitrine { margin-top: 28px; }
[data-dir="b"] .card { background: #fff; border-radius: var(--r); padding: 10px 10px 12px; }
[data-dir="b"] .card-foto { border: 0; background: #fff; }
[data-dir="b"] .card-corpo { padding: 10px 4px 0; }
[data-dir="b"] .card h3 a::after { inset: 0 0 58px 0; }
[data-dir="b"] .card-grav { font-family: var(--f-mono); font-size: 12.5px; }
[data-dir="b"] .add { background: var(--cobalt); color: #fff; }
[data-dir="b"] .add:hover { background: var(--cobalt-900); }
[data-dir="b"] .add.na-lista { background: var(--gold); border-color: var(--gold); color: var(--ink); }
[data-dir="b"] .foto-g, [data-dir="b"] .miniaturas button { border-color: transparent; }
[data-dir="b"] .info { background: #fff; border-radius: var(--r); padding: 26px; }
[data-dir="b"] .cat { background: #fff; }
[data-dir="b"] .cat.ativa { background: var(--cobalt); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .topo-site { display: none; }
}
@media (max-width: 860px) {
  .topo-in { flex-wrap: wrap; gap: 10px 12px; padding: 10px var(--pad); }
  .marca img { width: 136px; }
  .marca-sub { font-size: 12px; padding-left: 10px; }
  .btn-lista { margin-left: auto; padding: 9px 11px; }
  .btn-lista-txt { display: none; }
  .busca { order: 3; flex-basis: 100%; max-width: none; }
  .vitrine { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .filtros { position: fixed; inset: auto 0 0 0; top: auto; max-height: 86vh; background: #fff; z-index: 45; border-radius: 16px 16px 0 0; padding: 8px 20px 0; transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
  .filtros.aberto { transform: none; visibility: visible; box-shadow: 0 -10px 40px rgba(20,18,60,.25); }
  .filtros-topo { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 12px; position: sticky; top: 0; background: #fff; z-index: 1; }
  .filtros-acoes { display: flex; gap: 10px; position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; border-top: 1px solid var(--line); }
  .filtros-acoes .btn { flex: 1; }
  .btn-filtrar { display: inline-flex; }
  .barra { position: sticky; top: 112px; z-index: 20; background: var(--paper); padding: 10px 0; margin: 0 0 10px; }
  [data-dir="b"] .barra { background: var(--blush-50); }
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .barra { flex-wrap: nowrap; gap: 10px; }
  .barra-res { order: 3; margin-left: auto; white-space: nowrap; }
  .barra select { padding: 9px 6px; max-width: 150px; font-size: 14.5px; }
  .toast { bottom: 64px; }
  .card h3 { font-size: 15.5px; }
  .card-grav { display: none; }
  .add { font-size: 14px; padding: 9px 8px; }
  .add .add-txt-longo { display: none; }
  .ficha { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .galeria { position: static; }
  [data-dir="b"] .info { padding: 18px; }
  .passos { grid-template-columns: 1fr; }
  .passo { padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .rodape-in { grid-template-columns: 1fr; }
  .abre { padding: 36px 0 44px; }
  .abre-grid { grid-template-columns: 1fr; gap: 24px; }
  .mosaico { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mosaico img:nth-child(1) { grid-row: auto; aspect-ratio: 1; object-fit: contain; }
  .proto { right: 8px; bottom: 8px; }
  .proto span { display: none; }
}
@media (min-width: 861px) { .filtros-topo { display: none; } }
@media (max-width: 520px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat { min-height: 150px; }
  .cat img { width: 80px; height: 80px; }
  .abre-busca { flex-direction: column; }
  .duas { grid-template-columns: 1fr; }
  .pedido .btn-ouro { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
