/* Catálogo Energy Equipamentos — tokens da marca (site energyequipamentos.com.br) */
:root {
  --noite: #0B1F16;
  --noite-2: #10291E;
  --verde: #05421C;
  --folha: #39B86A;
  --laranja: #FD6A06;
  --laranja-escuro: #D95400;
  --amarelo: #FFC21A;
  --papel: #F4F6F1;
  --menta: #E6EFE7;
  --linha: #DCE3DA;
  --tinta: #13201A;
  --mudo: #4A5A52;
  --suave: #66756D;
  --branco: #FFFFFF;
  --whats: #1FA855;
  --r-tile: 28px;
  --r-painel: 36px;
  --r-ctl: 999px;
  --sombra: 0 18px 40px -24px rgba(5, 66, 28, .45);
  --display: "Poppins", system-ui, sans-serif;
  --texto: "Archivo", system-ui, sans-serif;
  --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: 8px; }
.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--laranja { background: var(--laranja); color: var(--noite); }
.btn--laranja:hover { background: #FF7F26; }
.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: #D8E7DA; }
.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: #FF7F26; }
.contador { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; 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: #8A968F; }
.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; width: 900px; height: 900px; right: -260px; top: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(5,66,28,.9), rgba(5,66,28,0)); }
.hero__in { position: relative; max-width: 1320px; margin: 0 auto; padding: 56px 24px 120px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero__ano { margin: 0 0 14px; color: var(--amarelo); font: 600 15px var(--display); }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; max-width: 20ch; }
.hero__sub { margin: 18px 0 28px; max-width: 54ch; color: #C9D6CE; 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(253,106,6,.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(253,106,6,.18), 0 0 0 22px rgba(255,194,26,.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(244,246,241,.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: #BFE5CC; }

/* Vista */
.vista { max-width: 1320px; margin: 0 auto; padding: 28px 24px 80px; 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(206px, 1fr)); gap: 16px; }
.tile { display: grid; grid-template-rows: auto 1fr; background: var(--branco); border-radius: var(--r-tile); border: 0; padding: 0; text-align: left; 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--laranja { background: #FFEBDD; color: #A33F00; }
.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(11,31,22,.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(244,246,241,.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: 50%; 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: 28px; 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: 16px; 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: #2A3A32; 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: 22px; 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: 12px; 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: 14px; background: #FFF4D6; color: #6B4A00; 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: 12px 0 0 12px; }
.specs tr > :last-child { border-radius: 0 12px 12px 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: 16px; 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: #0A5A28; }
.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: 20px; box-shadow: inset 0 0 0 1px var(--linha); }
.li img { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; 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: #FDE8E1; 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: #071A16; color: #C9D6CE; border-radius: var(--r-painel) var(--r-painel) 0 0; }
.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: #8FA399; font-size: 13px; }
.vx { --vx-texto: #ffffff; --vx-texto-mudo: #9FB3A6; }

/* 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: 12px; }
.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::before { animation: brilho 9s ease-in-out infinite alternate; }
  .hero__onda path:last-child { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: risca 1.6s var(--ease-saida) .35s forwards; }
  .hero__faisca { fill: #FFE27A; filter: drop-shadow(0 0 6px #FFC21A) drop-shadow(0 0 14px rgba(253,106,6,.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--laranja 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); } }
