/* Evotek · vitrines de produtos (som, multimídia, insulfilme, LED, acessórios)
   Fundo branco, produtos em grade como uma loja, e o verde-limão da marca só no detalhe:
   ao passar o mouse o card acende em verde. Mesmos tokens, fonte e chanfro do site principal. */
:root {
  --fundo: #070807;
  --tinta: #F6F6F6;
  --acento: #B8FF03;
  --acento-escuro: #4F6E00;
  --carvao: #0B0C0A;
  --cinza: #5B6055;
  --linha: #E6E8E1;
  --papel: #FFFFFF;
  --nevoa: #F5F6F2;
  --chanfro: 14px;
  --lado: clamp(16px, 6vw, 96px);
  --fonte: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--carvao); font-family: var(--fonte); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.04em; margin: 0; }
p { margin: 0; }
.container { padding-left: var(--lado); padding-right: var(--lado); max-width: 1440px; margin: 0 auto; }
.chanfro { clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro)); }
.rotulo { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cinza); }
.rotulo b { color: var(--acento-escuro); }
.so-desktop { display: inline; }

/* ---------- botões ---------- */
.btn { --chanfro: 10px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; min-height: 50px; font: 700 15px var(--fonte); text-decoration: none; border: 0; cursor: pointer; clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro)); transition: transform .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--acento-escuro); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-acento { background: var(--acento); color: var(--carvao); }
.btn-acento:hover { background: #CCFF4D; }
.btn-escuro { background: var(--carvao); color: var(--acento); }

/* ---------- topo (escuro, igual ao site) ---------- */
.topo { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px var(--lado); background: rgba(7, 8, 7, .92); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); color: var(--tinta); }
.topo .marca img { height: 24px; width: auto; }
.topo nav { display: flex; gap: 6px; }
.topo nav a { color: var(--tinta); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; opacity: .72; transition: opacity .2s, color .2s; }
.topo nav a:hover { opacity: 1; }
.topo nav a[aria-current="page"] { opacity: 1; color: var(--acento); }
.topo .btn { padding: 10px 16px; min-height: 42px; font-size: 14px; }

/* ---------- abertura da vitrine ---------- */
.capa { padding: clamp(48px, 9vh, 96px) 0 clamp(28px, 5vh, 48px); }
.capa .voltar { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--cinza); text-decoration: none; margin-bottom: 28px; }
.capa .voltar:hover { color: var(--carvao); }
.capa h1 { font-size: clamp(44px, 7.4vw, 112px); line-height: 1.02; text-transform: uppercase; letter-spacing: -0.05em; margin: 16px 0 20px; }
.capa h1 em { font-style: normal; color: var(--carvao); background: linear-gradient(transparent 62%, var(--acento) 62%, var(--acento) 92%, transparent 92%); }
.capa .intro { font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; color: #2D302A; }
.selos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.selo { --chanfro: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--nevoa); font-size: 13px; font-weight: 700; }
.selo svg { width: 16px; height: 16px; color: var(--acento-escuro); }

/* ---------- marcas da categoria (logos em preto, monocromáticas) ---------- */
.marcas-cat { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); padding: 26px 0; overflow: hidden; }
.marcas-cat .faixa { display: flex; width: max-content; animation: correr 38s linear infinite; }
.marcas-cat:hover .faixa { animation-play-state: paused; }
.marcas-cat .grupo { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); }
.marcas-cat.parada .faixa { width: auto; animation: none; justify-content: center; }
.marcas-cat.parada .grupo + .grupo { display: none; }
.marcas-cat img { height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0); opacity: .78; transition: opacity .25s; }
.marcas-cat img.alto { height: 44px; }
.marcas-cat img:hover { opacity: 1; }
.marcas-cat .nome { font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; opacity: .78; white-space: nowrap; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- grade de produtos ---------- */
.vitrine { padding: clamp(40px, 7vh, 72px) 0 clamp(64px, 10vh, 112px); }
.vitrine-topo { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.vitrine-topo h2 { font-size: clamp(26px, 2.6vw, 36px); }
.vitrine-topo p { color: var(--cinza); font-size: 14px; }
.grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) {
  /* colunas pela quantidade de produtos, para nenhuma linha ficar quebrada */
  .grade.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grade.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.item a { --chanfro: 16px; position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--papel); clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro)); transition: transform .35s cubic-bezier(.22,1,.36,1); }
/* borda numa camada por cima de tudo (a foto de fundo branco cobriria uma borda comum) */
.item a::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 0 1px var(--linha); transition: box-shadow .35s ease; }
.item .foto { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--papel); }
.item .foto img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.item .foto img.cobre { object-fit: cover; }
/* halo verde que acende sobre a foto: em "multiply" o branco vira verde e o produto continua escuro */
.item .foto::after { content: ""; z-index: 2; pointer-events: none; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(184,255,3,.55), rgba(184,255,3,0)); opacity: 0; transform: scale(.7); transition: opacity .45s ease, transform .6s cubic-bezier(.22,1,.36,1); mix-blend-mode: multiply; }
.item .foto .icone, .item .foto .vidro-pelicula { position: absolute; inset: 0; display: grid; place-items: center; background: var(--nevoa); }
.item .foto .icone svg { width: 38%; height: auto; color: var(--carvao); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.item .foto .icone svg .destaque { color: var(--acento-escuro); transition: color .3s; }
.item .foto .vidro-pelicula svg { width: 78%; height: auto; }
.item .texto { display: grid; gap: 6px; padding: 16px 18px 18px; border-top: 1px solid var(--linha); flex: 1; align-content: start; transition: background .35s ease; }
.item h3 { font-size: 18px; letter-spacing: -0.025em; line-height: 1.15; }
.item p { font-size: 14px; color: var(--cinza); line-height: 1.45; }
.item .pedir { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--acento-escuro); }
.item .pedir svg { width: 15px; height: 15px; transition: transform .3s ease; }
/* o "acender" */
.item a:hover, .item a:focus-visible { transform: translateY(-4px); }
.item a:hover::before, .item a:focus-visible::before { box-shadow: inset 0 0 0 2px var(--acento); }
.item a:hover .texto, .item a:focus-visible .texto { background: #FAFFEC; }
.item a:hover .foto::after, .item a:focus-visible .foto::after { opacity: 1; transform: scale(1.05); }
.item a:hover .foto img, .item a:focus-visible .foto img { transform: scale(1.05); }
.item a:hover .foto .icone svg { transform: scale(1.08) rotate(-3deg); }
.item a:hover .foto .icone svg .destaque { color: #7FB800; }
.item a:hover .pedir svg { transform: translateX(4px); }
.item a:hover .texto { border-top-color: var(--acento); }

/* ---------- faixa de chamada ---------- */
.chamada { background: var(--fundo); color: var(--tinta); padding: clamp(56px, 9vh, 96px) 0; }
.chamada .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.chamada h2 { font-size: clamp(30px, 4vw, 56px); text-transform: uppercase; line-height: 1.04; letter-spacing: -0.05em; max-width: 14ch; }
.chamada p { color: #A4A99F; margin-top: 12px; max-width: 46ch; }

/* ---------- outras vitrines ---------- */
.outras { padding: clamp(48px, 8vh, 88px) 0; }
.outras h2 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 20px; }
.outras ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.outras a { --chanfro: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; background: var(--nevoa); clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro)); transition: background .3s ease, box-shadow .3s ease; }
.outras a::after { content: "→"; color: var(--acento-escuro); transition: transform .3s; }
.outras a:hover { background: #EEFFC2; box-shadow: inset 0 0 0 2px var(--acento); }
.outras a:hover::after { transform: translateX(4px); }

/* ---------- rodapé ---------- */
.rodape { background: var(--fundo); color: #A4A99F; font-size: 14px; padding: 40px 0; }
.rodape .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rodape img { height: 22px; width: auto; margin-bottom: 10px; }
.rodape a { color: var(--tinta); text-decoration: none; }
.rodape a:hover { color: var(--acento); }

/* ---------- pop-up de cookies (o mesmo do site) ---------- */
.cookies { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 16px; background: rgba(5,6,5,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cookies.visivel { display: grid; }
.cookies .caixa { --chanfro: 22px; width: 100%; max-width: 460px; padding: 32px 28px 28px; text-align: center; color: var(--tinta); background: linear-gradient(160deg, rgba(28,32,24,.96), rgba(10,11,9,.97)); clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro)); }
.cookies h2 { font-size: 26px; letter-spacing: -0.035em; margin-bottom: 10px; }
.cookies p { color: rgba(246,246,246,.78); font-size: 15px; margin-bottom: 24px; }
.cookies .botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cookies button { --chanfro: 10px; min-height: 50px; font: 700 15px var(--fonte); border: 0; cursor: pointer; clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro)); }
.cookies [data-cookies="aceito"] { background: var(--acento); color: var(--carvao); }
.cookies [data-cookies="recusado"] { background: rgba(246,246,246,.08); color: var(--tinta); box-shadow: inset 0 0 0 1px rgba(246,246,246,.22); }
html.travado { overflow: hidden; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .topo nav { display: none; }
}
@media (max-width: 760px) {
  .so-desktop { display: none; }
  .topo { justify-content: center; }
  .topo .btn { position: absolute; right: var(--lado); padding: 8px 11px; min-height: 36px; font-size: 13px; }
  .topo .btn svg { width: 18px; height: 18px; }
  .capa { text-align: center; padding-top: 28px; }
  .capa h1 { font-size: 11vw; }
  .capa .intro { margin: 0 auto; font-size: 15px; }
  .selos { justify-content: center; }
  /* categorias viram uma fileira de chips que desliza para o lado */
  .categorias { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--lado) 4px; margin: 0 calc(var(--lado) * -1) 24px; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .categorias::-webkit-scrollbar { display: none; }
  .categorias a { --chanfro: 8px; flex: none; scroll-snap-align: start; padding: 9px 14px; font-size: 13px; font-weight: 700; text-decoration: none; background: var(--nevoa); clip-path: polygon(var(--chanfro) 0, 100% 0, 100% calc(100% - var(--chanfro)), calc(100% - var(--chanfro)) 100%, 0 100%, 0 var(--chanfro)); }
  .categorias a[aria-current="page"] { background: var(--acento); }
  .vitrine-topo { justify-content: center; text-align: center; }
  .grade { grid-template-columns: 1fr 1fr; gap: 10px; }
  .item a { --chanfro: 12px; }
  .item .texto { padding: 12px 12px 14px; }
  .item h3 { font-size: 15px; }
  .item p { font-size: 12.5px; }
  .item .pedir { font-size: 12px; }
  .chamada .container, .rodape .container { justify-content: center; text-align: center; }
  .chamada h2 { margin: 0 auto; }
  .chamada p { margin-left: auto; margin-right: auto; }
}
@media (min-width: 761px) { .categorias { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .marcas-cat .faixa { animation: none; }
  .item a, .item .foto img, .item .foto::after, .item .foto .icone svg { transition: none; }
}

/* ---------- produto aberto por link do site (ex.: multimidia/#centrais-multimidia): destaca o card ---------- */
.item { scroll-margin-top: 96px; }
.item:target a::before { box-shadow: inset 0 0 0 3px var(--acento); animation: pulsoAlvo 1.6s ease 2; }
.item:target .texto { background: #FAFFEC; }
@keyframes pulsoAlvo { 50% { box-shadow: inset 0 0 0 3px var(--acento), inset 0 0 0 9px rgba(184,255,3,.35); } }

/* ---------- página "Todos os produtos": um bloco por área ---------- */
.vitrine.bloco { padding: clamp(36px, 6vh, 64px) 0 0; scroll-margin-top: 64px; }
.vitrine.bloco:last-of-type { padding-bottom: clamp(64px, 10vh, 112px); }
.vitrine.bloco + .vitrine.bloco .vitrine-topo { padding-top: clamp(28px, 5vh, 48px); border-top: 1px solid var(--linha); }
.ver-pagina { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--acento-escuro); text-decoration: none; }
.ver-pagina svg { width: 15px; height: 15px; transition: transform .3s ease; }
.ver-pagina:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .item:target a::before { animation: none; } }
