/* Catálogo EnergyLines — tokens de packages/design-system/tokens.css */
@font-face { font-family: "Host Grotesk"; src: url("fontes/host-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("fontes/host-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("fontes/host-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fontes/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --noite: #080D12;
  --noite-2: #111A22;
  --verde: #006B45;
  --folha: #00D98B;
  --laranja: #00D98B;
  --laranja-escuro: #00B374;
  --laranja-hover: #2BE6A2;
  --amarelo: #F4CD46;
  --papel: #EEF0EC;
  --menta: #E2EDE6;
  --linha: #D3D9D4;
  --tinta: #0E151B;
  --mudo: #5B6670;
  --suave: #6E7880;
  --titanio: #AAB4BE;
  --branco: #FFFFFF;
  --whats: #1FA855;
  --r-tile: 2px;
  --r-painel: 2px;
  --r-ctl: 2px;
  --corte: 14px;
  --pontos: radial-gradient(rgba(170,180,190,.16) 1px, transparent 1.2px) 0 0 / 18px 18px;
  --sombra: 0 18px 40px -24px rgba(8, 13, 18, .45);
  --display: "Host Grotesk", system-ui, sans-serif;
  --texto: "Host Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --topo-h: 76px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--topo-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 16px/1.55 var(--texto); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 2px; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amarelo); color: var(--noite); padding: 10px 16px; border-radius: var(--r-ctl); font-weight: 600; }
.pular:focus { top: 12px; }
[hidden] { display: none !important; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-ctl); border: 0; font: 600 15px/1 var(--display); text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, transform .15s; }
.btn:active { transform: scale(.97); }
.btn--prim { background: var(--laranja); color: var(--noite); }
.btn--prim:hover { background: var(--laranja-hover); }
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: #17924A; }
.btn--claro { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn--claro:hover { background: rgba(255,255,255,.18); }
.btn--contorno { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 1.5px var(--verde); }
.btn--contorno:hover { background: var(--menta); }
.btn--suave { background: var(--menta); color: var(--verde); }
.btn--suave:hover { background: #D2E3D8; }
.btn--texto { background: none; color: var(--mudo); min-height: 40px; }
.btn--texto:hover { color: var(--tinta); }
.btn--cheio { width: 100%; }
.btn--lista { position: relative; background: var(--laranja); color: var(--noite); }
.btn--lista:hover { background: var(--laranja-hover); }
.contador { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 2px; background: var(--noite); color: #fff; font: 700 12px/22px var(--texto); text-align: center; }
.btn--lista.pulsa { animation: pulsa .5s ease; }
@keyframes pulsa { 40% { transform: scale(1.12); } }

/* Topo */
.topo { position: sticky; top: 0; z-index: 30; background: var(--noite); color: #fff; }
.topo__in { max-width: 1320px; margin: 0 auto; height: var(--topo-h); padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.topo__logo img { width: 138px; }
.topo__acoes { display: flex; gap: 10px; margin-left: auto; }
.busca { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--tinta); border-radius: var(--r-ctl); padding: 0 6px 0 18px; }
.busca svg { color: var(--suave); }
.busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 16px var(--texto); color: var(--tinta); height: 46px; }
.busca input::placeholder { color: #86909A; }
.busca input::-webkit-search-cancel-button { cursor: pointer; }
.busca--topo { flex: 1; max-width: 460px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.topo.com-busca .busca--topo { opacity: 1; pointer-events: auto; }
.busca:focus-within { box-shadow: 0 0 0 3px var(--amarelo); }

/* Hero */
.hero { position: relative; background: var(--noite); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--pontos); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
.hero__in { position: relative; max-width: 1320px; margin: 0 auto; padding: 64px 24px 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero__ano { margin: 0 0 16px; color: var(--folha); font: 500 13px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.025em; max-width: 20ch; }
.hero__sub { margin: 18px 0 28px; max-width: 54ch; color: #C7D0CA; font-size: 18px; }
.busca--hero { max-width: 640px; padding: 6px 6px 6px 22px; }
.busca--hero input { height: 52px; font-size: 17px; }
.busca--hero .btn { min-height: 52px; padding: 0 26px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; }
.link-hero { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(0,217,139,.8); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.link-hero:hover { color: var(--amarelo); }
.hero__foto { margin: 0; justify-self: end; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; overflow: hidden; position: relative; box-shadow: 0 0 0 10px rgba(0,217,139,.18), 0 0 0 22px rgba(244,205,70,.07); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__onda { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; }

/* Trilho de categorias */
.trilho { position: sticky; top: var(--topo-h); z-index: 20; background: rgba(238,240,236,.94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.trilho.colado { border-bottom-color: var(--linha); }
.trilho__in { max-width: 1320px; margin: 0 auto; padding: 12px 24px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.trilho__in::-webkit-scrollbar { display: none; }
.pilula { scroll-snap-align: start; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-ctl); border: 0; background: var(--branco); color: var(--tinta); font: 500 14px var(--texto); text-decoration: none; box-shadow: inset 0 0 0 1px var(--linha); }
.pilula span { color: var(--suave); font-variant-numeric: tabular-nums; font-size: 13px; }
.pilula:hover { box-shadow: inset 0 0 0 1.5px var(--verde); }
.pilula[aria-current="true"] { background: var(--verde); color: #fff; box-shadow: none; }
.pilula[aria-current="true"] span { color: #B8E8D2; }

/* Vista */
.vista { min-width: 0; min-height: 60vh; }
.cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin: 8px 0 22px; }
.cab h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--verde); }
.cab p { margin: 6px 0 0; color: var(--mudo); }
.voltar { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--mudo); font-weight: 500; text-decoration: none; }
.voltar:hover { color: var(--verde); }

/* Grade de categorias */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.cat { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--branco); border-radius: var(--r-tile); text-decoration: none; overflow: hidden; box-shadow: inset 0 0 0 1px var(--linha); transition: box-shadow .15s, transform .15s; }
.cat:hover { box-shadow: inset 0 0 0 2px var(--verde), var(--sombra); transform: translateY(-2px); }
.cat__fotos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2px; aspect-ratio: 16 / 10; background: var(--menta); overflow: hidden; }
.cat__fotos img { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; padding: 10px; }
.cat__fotos img:first-child { grid-row: span 2; padding: 14px; }
.cat__txt { padding: 14px 18px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cat__txt h3 { font-size: 17px; font-weight: 600; }
.cat__txt span { flex: none; color: var(--suave); font-size: 14px; font-variant-numeric: tabular-nums; }

/* Filtros de família */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
.filtros .pilula { min-height: 36px; font-size: 13.5px; }

/* Grade de produtos */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; background: var(--branco); border-radius: 2px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--linha); transition: box-shadow .15s, transform .15s; }
.tile:hover { box-shadow: inset 0 0 0 2px var(--verde), var(--sombra); transform: translateY(-2px); }
.tile__img { position: relative; aspect-ratio: 1; display: block; padding: 18px; background: #fff; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: contain; }
.tile__txt { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.tile__nome { font: 600 15px/1.3 var(--display); color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.etq { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-ctl); background: var(--menta); color: var(--verde); font: 500 12.5px var(--texto); font-variant-numeric: tabular-nums; }
.etq--destaque { background: #D6F5E8; color: #006B45; }
.vazio { padding: 48px 24px; text-align: center; background: var(--branco); border-radius: var(--r-tile); color: var(--mudo); }
.vazio h3 { color: var(--tinta); margin-bottom: 8px; font-size: 20px; }
.secao-cat { margin-top: 44px; }
.secao-cat:first-child { margin-top: 0; }
.mais { margin-top: 18px; }

/* Painel do produto */
.veu { position: fixed; inset: 0; z-index: 40; background: rgba(8,13,18,.5); backdrop-filter: blur(2px); animation: aparece .2s ease; }
.painel, .lista { position: fixed; z-index: 50; top: 12px; right: 12px; bottom: 12px; width: min(720px, calc(100vw - 24px)); background: var(--papel); border-radius: var(--r-painel); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); display: flex; flex-direction: column; overflow: hidden; animation: entra .28s cubic-bezier(.2,.8,.2,1); }
.lista { width: min(480px, calc(100vw - 24px)); }
@keyframes entra { from { transform: translateX(40px); opacity: 0; } }
@keyframes aparece { from { opacity: 0; } }
.painel__corpo { overflow-y: auto; overscroll-behavior: contain; padding: 0 0 32px; }
.p-topo { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; background: rgba(238,240,236,.95); backdrop-filter: blur(8px); }
.p-trilha { font-size: 14px; color: var(--mudo); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.p-trilha:hover { color: var(--verde); }
.fechar { width: 44px; height: 44px; border-radius: 2px; border: 0; background: var(--branco); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--linha); }
.fechar:hover { background: var(--menta); }
.p-galeria { margin: 0 16px; background: #fff; border-radius: 2px; padding: 20px; }
.p-foto { aspect-ratio: 4 / 3; overflow: hidden; }
.p-foto img { width: 100%; height: 100%; object-fit: contain; }
.p-miniaturas { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; scrollbar-width: thin; }
.p-miniaturas button { flex: none; width: 64px; height: 64px; padding: 4px; border-radius: 2px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--linha); }
.p-miniaturas button[aria-current="true"] { box-shadow: inset 0 0 0 2.5px var(--laranja); }
.p-miniaturas img { width: 100%; height: 100%; object-fit: contain; }
.p-miniaturas .sep { flex: none; align-self: center; font-size: 12px; color: var(--suave); padding: 0 4px 0 8px; writing-mode: horizontal-tb; }
.p-info { padding: 22px 24px 0; }
.p-info h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--verde); }
.p-refs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.p-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 24px 0; }
.p-acoes .btn--whats { grid-column: 1 / -1; min-height: 52px; font-size: 16px; }
.p-bloco { margin: 28px 24px 0; }
.p-bloco > h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--tinta); display: flex; align-items: baseline; gap: 10px; }
.p-bloco > h3 small { font: 500 14px var(--texto); color: var(--suave); }
.p-desc { color: #1B2630; max-width: 68ch; }
.p-desc p { margin: 0 0 12px; }
.p-desc.recolhido { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ler-mais { border: 0; background: none; padding: 0; color: var(--verde); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Opções (variantes) */
.grupo-rot { margin: 18px 0 8px; font: 600 14px var(--display); color: var(--mudo); }
.grupo-rot:first-child { margin-top: 0; }
.opcoes { display: flex; flex-direction: column; gap: 8px; }
.opcao { background: var(--branco); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--linha); overflow: hidden; }
.opcao.aberta { box-shadow: inset 0 0 0 2px var(--verde); }
.opcao__cab { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border: 0; background: none; text-align: left; min-height: 60px; }
.opcao__mini { width: 44px; height: 44px; border-radius: 2px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--linha); }
.opcao__mini--vazio { display: grid; place-items: center; color: var(--suave); background: var(--menta); box-shadow: none; }
.opcao__ref { font: 600 15px var(--display); color: var(--tinta); }
.opcao__res { display: block; font-size: 13.5px; color: var(--mudo); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opcao__cab .seta { transition: transform .2s; color: var(--suave); }
.opcao.aberta .seta { transform: rotate(180deg); }
.opcao__corpo { padding: 2px 16px 16px; }
.opcao__nota { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 8px 12px; border-radius: 2px; background: #FBF3D2; color: #6B5500; font-size: 14px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.specs th, .specs td { text-align: left; padding: 9px 12px; vertical-align: top; }
.specs th { width: 46%; color: var(--mudo); font-weight: 500; }
.specs tr:nth-child(odd) { background: var(--papel); }
.specs tr:first-child th { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.specs tr th, .specs tr td { border-radius: 0; }
.specs tr > :first-child { border-radius: 2px 0 0 2px; }
.specs tr > :last-child { border-radius: 0 2px 2px 0; }
.opcao__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.opcao__btns .btn { min-height: 40px; font-size: 14px; padding: 0 16px; }

/* Composição do kit */
.comp { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.comp li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 2px; background: var(--papel); }
.comp__qtd { font: 700 15px/1.1 var(--display); color: var(--verde); text-align: center; padding-top: 2px; }
.comp__qtd small { display: block; font: 500 11.5px var(--texto); color: var(--suave); margin-top: 3px; }
.comp__desc { font-size: 14px; color: var(--tinta); }
.comp__ref { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--mudo); font-variant-numeric: tabular-nums; }
.comp__link { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 12px; border-radius: var(--r-ctl); background: var(--verde); color: #fff; border: 0; font: 600 12.5px var(--display); text-decoration: none; }
.comp__link:hover { background: #005A3A; }
.comp__link svg { width: 14px; height: 14px; }
.usado { display: flex; flex-wrap: wrap; gap: 8px; }
.usado a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-ctl); background: var(--branco); box-shadow: inset 0 0 0 1px var(--linha); text-decoration: none; font-size: 14px; font-weight: 500; max-width: 100%; }
.usado a:hover { box-shadow: inset 0 0 0 2px var(--verde); }
.usado img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--linha); }
.usado span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relacionados { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.relacionados .tile__img { padding: 12px; }
.relacionados .tile__txt { padding: 2px 12px 12px; }
.relacionados .tile__nome { font-size: 13px; -webkit-line-clamp: 2; }

/* Lista de orçamento */
.lista__topo { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px 24px; }
.lista__topo h2 { font-size: 22px; color: var(--verde); }
.lista__itens { flex: 1; overflow-y: auto; padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: var(--branco); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--linha); }
.li img { width: 56px; height: 56px; object-fit: contain; border-radius: 2px; background: #fff; }
.li__nome { font: 600 14px/1.3 var(--display); }
.li__ref { font-size: 13px; color: var(--mudo); }
.qtd { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; background: var(--papel); border-radius: var(--r-ctl); }
.qtd button { width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; font-weight: 700; }
.qtd button:hover { background: var(--menta); }
.qtd input { width: 38px; border: 0; background: none; text-align: center; font: 600 14px var(--texto); -moz-appearance: textfield; }
.qtd input::-webkit-inner-spin-button { -webkit-appearance: none; }
.li__rem { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--suave); display: grid; place-items: center; }
.li__rem:hover { background: #FBE6E2; color: #B4321A; }
.lista__base { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--linha); background: var(--papel); }
.lista__base .btn--whats { min-height: 52px; font-size: 16px; }
.lista-vazia { margin: auto; padding: 32px 16px; text-align: center; color: var(--mudo); }
.lista-vazia strong { display: block; color: var(--tinta); font: 600 18px var(--display); margin-bottom: 6px; }

/* Aviso */
.aviso { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--noite); color: #fff; padding: 12px 20px; border-radius: var(--r-ctl); font-weight: 500; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); animation: aparece .2s ease; max-width: calc(100vw - 32px); }

/* Rodapé */
.rodape { background: #060A0E; color: #C7D0CA; border-top: 1px solid #1B2630; }
.rodape__in { max-width: 1320px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.rodape__marca img { width: 170px; margin-bottom: 14px; }
.rodape__marca p { max-width: 40ch; margin: 0; }
.rodape h2 { font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rodape p { margin: 0 0 8px; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { color: var(--amarelo); }
.rodape__base { max-width: 1320px; margin: 0 auto; padding: 18px 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.rodape__base small { color: #8A959D; font-size: 13px; }
.vx { --vx-texto: #ffffff; --vx-texto-mudo: #9AA6AE; }

/* Responsivo */
@media (max-width: 1040px) {
  .hero__in { grid-template-columns: 1fr; padding-bottom: 110px; }
  .hero__foto { display: none; }
  .rodape__in { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --topo-h: 64px; }
  .topo__in { padding: 0 16px; gap: 10px; }
  .topo__logo img { width: 104px; }
  .busca--topo { display: none; }
  .topo__acoes .btn { padding: 0 14px; }
  .topo__acoes .btn--claro span { display: none; }
  .hero__in { padding: 36px 16px 96px; }
  .hero__sub { font-size: 16px; }
  .busca--hero { padding-left: 16px; }
  .busca--hero .btn { padding: 0 16px; }
  .trilho__in, .vista { padding-left: 16px; padding-right: 16px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat__txt { padding: 10px 12px 14px; flex-direction: column; gap: 2px; }
  .cat__txt h3 { font-size: 15px; }
  .cat__fotos { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .cat__fotos img:not(:first-child) { display: none; }
  .grade { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile__img { padding: 12px; }
  .tile__txt { padding: 2px 12px 14px; }
  .tile__nome { font-size: 14px; }
  .painel, .lista { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 94dvh; height: 94dvh; border-radius: var(--r-painel) var(--r-painel) 0 0; animation-name: sobe; }
  @keyframes sobe { from { transform: translateY(40px); opacity: 0; } }
  .p-acoes { grid-template-columns: 1fr; }
  .p-acoes .btn--whats { grid-column: auto; }
  .rodape__in { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* botão flutuante de contato (mesmo do site principal): some enquanto o painel ou a lista estão abertos */
body:has(.painel:not([hidden])) .en-cw, body:has(.lista:not([hidden])) .en-cw { opacity: 0; pointer-events: none; }
/* sprite de ícones: não ocupa espaço (evitava uma faixa clara de 20px após o rodapé) */
svg.sprite { position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden; }
html { background: var(--noite); }

/* ficha técnica */
.ficha-tec { background: var(--branco); border-radius: var(--r-tile); padding: 20px 20px 16px; box-shadow: inset 0 0 0 1px var(--linha); }
.ficha-tec > h3 { margin-bottom: 14px; }
.ficha-tec__dl { display: grid; gap: 2px; margin: 0; }
.ficha-tec__dl > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; padding: 10px 12px; border-radius: 2px; }
.ficha-tec__dl > div:nth-child(odd) { background: var(--papel); }
.ficha-tec__dl dt { color: var(--mudo); font-size: 14px; font-weight: 500; }
.ficha-tec__dl dd { margin: 0; font-size: 14.5px; color: var(--tinta); display: flex; flex-wrap: wrap; gap: 6px; line-height: 1.45; }
.ficha-tec .specs-rolagem { margin-top: 14px; overflow-x: auto; }
.ficha-tec .specs th { width: auto; }
.ficha-tec__acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ficha-tec__acoes .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .ficha-tec { padding: 16px 12px 12px; } .ficha-tec__dl > div { grid-template-columns: 1fr; gap: 2px; } .ficha-tec__acoes .btn { flex: 1 1 100%; } }

@media print {
  body.imprimindo-ficha > *:not(.painel) { display: none !important; }
  body.imprimindo-ficha { background: #fff !important; overflow: visible !important; }
  body.imprimindo-ficha .painel { position: static !important; width: auto !important; height: auto !important; max-height: none !important; box-shadow: none !important; animation: none !important; background: #fff !important; border-radius: 0 !important; display: block !important; }
  body.imprimindo-ficha .painel * { overflow: visible !important; }
  body.imprimindo-ficha .p-topo, body.imprimindo-ficha .p-acoes, body.imprimindo-ficha .ficha-tec__acoes, body.imprimindo-ficha .ler-mais,
  body.imprimindo-ficha .relacionados, body.imprimindo-ficha .p-bloco:has(.relacionados), body.imprimindo-ficha .p-bloco:has(.usado), body.imprimindo-ficha .opcao__acoes { display: none !important; }
  body.imprimindo-ficha .p-desc.recolhido { max-height: none !important; -webkit-mask: none !important; mask: none !important; }
  body.imprimindo-ficha .opcao__corpo { display: block !important; }
  body.imprimindo-ficha .ficha-tec { break-inside: avoid; }
}

/* ---------------------------------------------------------------- motion */
:root { --ease-saida: cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: no-preference) {
  /* entrada do hero: uma sequência só */
  .hero__ano, .hero__sub, .busca--hero, .hero__acoes { animation: sobeSuave .8s var(--ease-saida) both; }
  .hero h1 { animation: sobeTitulo .9s var(--ease-saida) both; }
  .hero__ano { animation-delay: .05s; }
  .hero h1 { animation-delay: .1s; }
  .hero__sub { animation-delay: .22s; }
  .busca--hero { animation-delay: .32s; }
  .hero__acoes { animation-delay: .42s; }
  .hero__foto { animation: fotoAbre 1.1s var(--ease-saida) .15s both; }
  .hero__foto img { animation: fotoZoom 1.6s var(--ease-saida) .15s both; }
  .hero__onda path:last-child { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: risca 1.6s var(--ease-saida) .35s forwards; }
  .hero__faisca { fill: #F8DB76; filter: drop-shadow(0 0 6px #F4CD46) drop-shadow(0 0 14px rgba(0,217,139,.7)); offset-path: path("M0 64C240 120 520 120 760 76S1200 0 1440 34"); offset-rotate: 0deg; animation: corre 7s linear 2s infinite; opacity: 0; }

  /* revelação ao rolar */
  .rv { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .55s var(--ease-saida), transform .65s var(--ease-saida), box-shadow .15s; transition-delay: calc(var(--i, 0) * 45ms); }
  .rv.visto { opacity: 1; transform: none; }
  .rv.visto:hover { transform: translateY(-4px); transition-delay: 0s; }
  .cab.rv { transform: translateX(-14px); }

  /* fotos respiram no hover */
  .cat__fotos img, .tile__img img { transition: transform .5s var(--ease-saida); }
  .cat:hover .cat__fotos img:first-child, .tile:hover .tile__img img { transform: scale(1.06); }
  .cat:hover .cat__fotos img:not(:first-child) { transform: scale(1.04); }
  .cat::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--amarelo), var(--laranja)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-saida); }
  .cat:hover::after, .cat:focus-visible::after { transform: scaleX(1); }

  /* pílulas e botões */
  .pilula { transition: background-color .2s, color .2s, transform .2s var(--ease-saida), box-shadow .2s; }
  .pilula:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(.97); }
  .btn--whats svg, .btn--prim svg { transition: transform .3s var(--ease-saida); }
  .btn--whats:hover svg { transform: rotate(-12deg) scale(1.1); }

  /* painel: conteúdo entra em cascata, opções abrem com movimento */
  .painel:not([hidden]) .painel__corpo > * { animation: sobeSuave .5s var(--ease-saida) both; }
  .painel__corpo > :nth-child(2) { animation-delay: .04s !important; }
  .painel__corpo > :nth-child(3) { animation-delay: .08s !important; }
  .painel__corpo > :nth-child(4) { animation-delay: .12s !important; }
  .painel__corpo > :nth-child(5) { animation-delay: .16s !important; }
  .painel__corpo > :nth-child(n+6) { animation-delay: .2s !important; }
  .opcao__corpo:not([hidden]) { animation: abreOpcao .35s var(--ease-saida); }
  .ficha-tec__dl > div { transition: background-color .2s; }
  .ficha-tec__dl > div:hover { background: var(--menta); }

  /* troca de vista */
  .vista.trocando { animation: vistaEntra .45s var(--ease-saida); }
  .contador:not([hidden]) { animation: pulsa .5s ease; }

  /* barra de progresso de rolagem */
  .progresso { position: fixed; z-index: 35; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--amarelo), var(--laranja)); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
}
@keyframes sobeSuave { from { opacity: 0; transform: translateY(16px); } }
@keyframes sobeTitulo { from { transform: translateY(22px); } }
@keyframes fotoAbre { from { clip-path: circle(0% at 50% 60%); } to { clip-path: circle(75% at 50% 50%); } }
@keyframes fotoZoom { from { transform: scale(1.18); } }
@keyframes brilho { to { transform: translate(-80px, 60px) scale(1.12); } }
@keyframes risca { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__faisca { display: none; } }
@keyframes corre { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 55% { opacity: 1; } 62%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes abreOpcao { from { opacity: 0; transform: translateY(-6px); } }
@keyframes vistaEntra { from { opacity: .3; transform: translateY(10px); } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* v2 (editor): filtro por linha, códigos, tabelas em grade, ficha */
.linhas { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.linha { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-ctl); border: 0; background: transparent; color: var(--verde); font: 600 14px var(--display); box-shadow: inset 0 0 0 1.5px rgba(0,107,69,.28); transition: background-color .15s, box-shadow .15s, color .15s; }
.linha span { font: 500 12.5px var(--texto); color: var(--suave); font-variant-numeric: tabular-nums; }
.linha:hover { box-shadow: inset 0 0 0 1.5px var(--verde); }
.linha[aria-pressed="true"] { background: var(--laranja); color: var(--noite); box-shadow: none; }
.linha[aria-pressed="true"] span { color: rgba(8,13,18,.7); }
.tile__img { display: grid; place-items: center; }
.tile__sem { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--menta); color: var(--verde); }
.p-foto .tile__sem { width: 100%; height: 100%; border-radius: 2px; }
.selo-novo { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--r-ctl); background: var(--laranja); color: var(--noite); font: 700 11.5px var(--display); text-transform: uppercase; letter-spacing: .04em; }
.etq--linha { background: var(--verde); color: #fff; }
.codigos { display: flex; flex-wrap: wrap; gap: 8px; }
.codigo { position: relative; cursor: pointer; }
.codigo input { position: absolute; opacity: 0; pointer-events: none; }
.codigo span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 2px; background: var(--branco); box-shadow: inset 0 0 0 1px var(--linha); font: 600 14px var(--texto); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.codigo input:checked + span { box-shadow: inset 0 0 0 2px var(--laranja); background: #E3F7EE; }
.codigo input:focus-visible + span { outline: 3px solid var(--amarelo); outline-offset: 2px; }
.specs-rolagem { overflow-x: auto; margin-bottom: 14px; background: var(--branco); border-radius: 2px; padding: 6px; box-shadow: inset 0 0 0 1px var(--linha); }
.specs-rolagem .grupo-rot { margin: 8px 10px 6px; }
.specs--grade th { width: auto; background: var(--verde); color: #fff; font-weight: 600; white-space: nowrap; }
.specs--grade thead tr:nth-child(odd) { background: none; }
.specs--grade tbody tr:nth-child(odd) { background: var(--papel); }
.specs--grade tbody tr:nth-child(even) { background: none; }
.specs--grade td:first-child { font-weight: 600; white-space: nowrap; }
.ficha-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Loja: filtros na coluna */
.loja { max-width: 1320px; margin: 0 auto; padding: 36px 24px 88px; display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.btn-filtros { display: none; }
.flt { position: sticky; top: calc(var(--topo-h) + 16px); max-height: calc(100vh - var(--topo-h) - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--branco); border-radius: 2px; padding: 22px 20px 12px; box-shadow: inset 0 0 0 1px var(--linha); scrollbar-width: thin; }
.flt__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.flt__cab h2 { font-size: 18px; font-weight: 700; color: var(--tinta); }
.flt__limpar { border: 0; background: none; padding: 4px 0; color: var(--verde); font: 600 13.5px var(--texto); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fg { border: 0; margin: 0; padding: 14px 0 10px; border-top: 1px solid var(--linha); }
.fg legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font: 600 12px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.ck { clear: both; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 38px; padding: 6px 8px; margin: 0 -8px; border-radius: 2px; color: var(--tinta); font: 500 14.5px/1.3 var(--texto); text-decoration: none; cursor: pointer; transition: background-color .15s; }
.ck:hover { background: var(--papel); }
.ck small { color: var(--suave); font-size: 13px; font-variant-numeric: tabular-nums; }
.ck input { appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1.5px #B5C0B9; display: grid; place-items: center; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.ck input:checked { background: var(--verde); box-shadow: none; }
.ck input:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.2px 2.2px; transform: translate(0, -1px) rotate(-45deg); }
.ck input:focus-visible { outline: 2px solid var(--laranja); outline-offset: 2px; }
.ck--cat i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B5C0B9; background: #fff; transition: box-shadow .15s; }
.ck--cat[aria-current="true"] { background: var(--menta); font-weight: 600; color: var(--verde); }
.ck--cat[aria-current="true"] i { box-shadow: inset 0 0 0 6px var(--verde); }
.vista .cab { margin: 0 0 18px; }
.vista .cab p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.vista .voltar { margin: 0; }
.busca--lista { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 6px 6px 18px; border-radius: var(--r-ctl); background: var(--branco); box-shadow: inset 0 0 0 1px var(--linha); }
.busca--lista:focus-within { box-shadow: inset 0 0 0 2px var(--verde); }
.busca--lista svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--suave); stroke-width: 2; stroke-linecap: round; }
.busca--lista input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 15.5px var(--texto); color: var(--tinta); }
.busca--lista .btn { flex: none; min-height: 44px; }
.res-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; }
.res-info p { margin: 0; color: var(--mudo); font-size: 14.5px; }
.res-info b { color: var(--tinta); font-weight: 600; }
.ordem select { appearance: none; min-height: 40px; padding: 0 38px 0 16px; border: 0; border-radius: var(--r-ctl); background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305421C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; box-shadow: inset 0 0 0 1px var(--linha); font: 500 14px var(--texto); color: var(--tinta); cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tile__abrir { flex: 1; display: flex; flex-direction: column; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; }
.tile__txt { padding: 2px 18px 14px; gap: 6px; flex: 1; }
.tile__linha { font: 600 12px var(--texto); color: var(--folha); }
.tile__cod { font: 500 12.5px var(--texto); color: var(--suave); font-variant-numeric: tabular-nums; }
.tile__orc { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; margin: 0 14px 14px; border: 0; border-radius: var(--r-ctl); background: var(--menta); color: var(--verde); font: 600 14px var(--display); cursor: pointer; transition: background-color .15s, color .15s; }
.tile__orc:hover { background: var(--verde); color: #fff; }
.tile__orc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.mais { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 960px) {
  .loja { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
  .btn-filtros { display: inline-flex; justify-self: start; }
  .btn-filtros b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 2px; background: var(--laranja); color: var(--noite); font: 700 12px/22px var(--display); text-align: center; }
  .flt { display: none; position: static; max-height: none; }
  .flt.aberto { display: block; }
}
@media (max-width: 560px) { .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tile__txt { padding: 0 12px 10px; } .tile__orc { margin: 0 10px 10px; font-size: 13px; } .busca--lista .btn { padding: 0 14px; } }

/* ---- EnergyLines: peças próprias (cortes a 45°, mono, grade de pontos) ---- */
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.topo__tag { color: var(--titanio); font-size: 12px; text-transform: uppercase; padding: 4px 8px; border: 1px solid #1B2630; }
.btn--prim { background: var(--folha); color: var(--noite); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.btn--prim:hover { background: var(--laranja-hover); }
.btn--prim:disabled { background: var(--linha); color: var(--suave); cursor: not-allowed; }
.btn--lista { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.hero__texto { min-width: 0; }
.hero__fams { position: relative; background: rgba(17,26,34,.86); border: 1px solid #1B2630; padding: 20px 20px 12px; clip-path: polygon(0 0, calc(100% - var(--corte)) 0, 100% var(--corte), 100% 100%, 0 100%); }
.hero__fams-rot { margin: 0 0 10px; color: var(--titanio); font-size: 12px; text-transform: uppercase; }
.hero__fams ul { list-style: none; margin: 0; padding: 0; }
.hero__fams li + li { border-top: 1px solid #1B2630; }
.hero__fams button { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 11px 4px; background: none; border: 0; color: #fff; text-align: left; transition: color .15s, background-color .15s; }
.hero__fams button span { color: var(--folha); font-size: 12px; }
.hero__fams button b { font-weight: 500; font-size: 15px; }
.hero__fams button small { color: var(--titanio); font-size: 12px; }
.hero__fams button:hover { background: rgba(0,217,139,.07); color: var(--folha); }
.lista__rolagem { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.lista__rolagem .lista__itens { flex: none; overflow: visible; }
.lista__rot { margin: 0 0 2px; color: var(--suave); font-size: 12px; text-transform: uppercase; }
.lista__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lista__alt [hidden] + .btn, .lista__alt .btn:only-child { grid-column: 1 / -1; }
.rotulo-lista { font-weight: 600; }
.cot { margin: 8px 16px 16px; padding: 18px 16px 16px; background: #fff; border: 1px solid var(--linha); clip-path: polygon(0 0, calc(100% - var(--corte)) 0, 100% var(--corte), 100% 100%, 0 100%); }
.cot h3 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.cot__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campo { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--mudo); min-width: 0; }
.campo--cheio { grid-column: 1 / -1; }
.campo input, .campo textarea { width: 100%; border: 1px solid var(--linha); border-radius: 2px; background: var(--papel); padding: 10px 12px; font: 400 15px/1.4 var(--texto); color: var(--tinta); }
.campo textarea { resize: vertical; min-height: 76px; }
.campo input:focus, .campo textarea:focus { outline: 0; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(0,217,139,.25); background: #fff; }
.campo.invalido input, .campo.invalido textarea { border-color: #B4321A; background: #FBE6E2; }
.armadilha { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aceite { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--mudo); }
.aceite input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--verde); flex: none; }
.cot__erro { margin: 12px 0 0; padding: 10px 12px; background: #FBE6E2; color: #8A2412; border-left: 3px solid #B4321A; font-size: 14px; }
.cot-ok { margin: 8px 16px 16px; padding: 20px 18px; background: var(--noite); color: #C7D0CA; clip-path: polygon(0 0, calc(100% - var(--corte)) 0, 100% var(--corte), 100% 100%, 0 100%); }
.cot-ok .mono { margin: 0 0 8px; color: var(--folha); font-size: 12px; }
.cot-ok h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.cot-ok h3 b { font-family: var(--mono); color: var(--folha); font-weight: 500; }
.cot-ok p { margin: 0 0 8px; }
.cot-ok__nota { font-size: 13px; color: var(--titanio); }
.rodape__col h2 { color: var(--titanio); font-size: 12px; text-transform: uppercase; }
.rodape__col li .mono { color: var(--titanio); font-size: 11px; text-transform: uppercase; margin-right: 6px; }
@media (max-width: 960px) { .hero__fams { display: none; } }
@media (max-width: 560px) { .cot__grade { grid-template-columns: 1fr; } }
