/* NEXA Moto & Bikes - site público
   Paleta da marca: preto, ouro, grafite. Tipografia única: Archivo, com a largura como papel
   (expandida nos títulos, como o logotipo; condensada nos números). */
:root {
  --preto: #000000;
  --ouro: #FFD700;
  --ouro-vivo: #FFEA00;
  --grafite: #333333;
  --asfalto: #2B2B2B;
  --concreto: #EDEDEB;
  --branco: #FFFFFF;
  --linha: #D6D6D2;
  --suave: #565656;
  --raio: 8px;
  --guia: clamp(16px, 4vw, 40px);
  --largura: 1240px;
  --fonte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --z-topo: 30; --z-barra: 40; --z-flutuante: 50;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--fonte); font-size: 1rem; line-height: 1.55; color: var(--preto); background: var(--concreto); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0; font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; }
p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ouro); color: var(--preto); padding: 10px 14px; font-weight: 700; border-radius: 4px; }
.pular:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }
.ic { width: 22px; height: 22px; flex: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 6px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease; text-align: center; line-height: 1.2; }
.btn-g { min-height: 58px; padding: 0 28px; font-size: 1.06rem; }
.btn-bloco { width: 100%; }
.btn-ouro { background: var(--ouro); color: var(--preto); }
.btn-ouro:hover { background: var(--ouro-vivo); }
.btn-preto { background: var(--preto); color: var(--branco); }
.btn-preto:hover { background: var(--grafite); }
.btn-contorno { border-color: var(--branco); color: var(--branco); }
.btn-contorno:hover { background: var(--branco); color: var(--preto); }
.btn-sec { border-color: var(--preto); color: var(--preto); background: var(--branco); width: 100%; min-height: 46px; font-size: .95rem; }
.btn-sec:hover { background: var(--preto); color: var(--ouro); }
.link-forte { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: var(--z-topo); background: var(--preto); color: var(--branco); }
.topo-in { max-width: var(--largura); margin: 0 auto; padding: 10px var(--guia); display: flex; align-items: center; gap: 28px; }
/* Dimensionado pela altura, em pixel inteiro: a largura segue a proporção real do desenho.
   Antes os atributos diziam 180x47 e o viewBox 633,2x165 — proporções diferentes —, e o
   SVG era reescalado dentro da caixa, saindo com o traço borrado. */
.marca img { height: 44px; width: auto; }
.menu { display: flex; gap: 22px; margin-right: auto; }
.menu a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.menu a:hover { border-bottom-color: var(--ouro); }
.topo-busca { display: flex; align-items: center; background: #1f1f1f; border-radius: 6px; }
.topo-busca input { width: 170px; background: transparent; border: 0; color: var(--branco); font: inherit; font-size: .92rem; padding: 10px 0 10px 12px; }
.topo-busca input::placeholder { color: #aaa; }
.topo-busca button { background: none; border: 0; color: var(--branco); padding: 10px 12px; cursor: pointer; display: flex; }
.topo-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ouro); font-weight: 700; text-decoration: none; font-stretch: 87%; white-space: nowrap; min-height: 44px; }
.topo-tel:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
/* desktop: texto numa coluna preta, fachada inteira à direita (o letreiro real da loja fica visível) */
.hero { position: relative; background: var(--preto); color: var(--branco); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(84vh, 720px); }
.hero-foto { grid-column: 2; grid-row: 1; position: relative; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; }
.hero-foto::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, #000, rgba(0,0,0,0)); z-index: 1; }
.hero-in { grid-column: 1; grid-row: 1; align-self: center; justify-self: end; width: 100%; max-width: calc(var(--largura) * 5 / 11);
  padding: clamp(40px, 6vh, 72px) clamp(24px, 3vw, 48px) clamp(40px, 6vh, 72px) var(--guia); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.9rem); max-width: 11ch; font-style: italic; font-weight: 900; letter-spacing: -0.02em; }
.hero-sub { margin-top: 18px; max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #e8e8e8; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-fatos { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 36px; padding: 0; margin: 36px 0 0; color: #d8d8d8; font-size: .95rem; }
.hero-fatos strong { display: block; color: var(--ouro); font-size: 1.5rem; font-stretch: 75%; font-weight: 800; line-height: 1.1; }

/* ---------- a pista: duas faixas em sentidos opostos ---------- */
.pista { position: relative; background: var(--asfalto); padding: 30px 0 18px; overflow: hidden;
  border-top: 4px solid var(--branco); border-bottom: 4px solid var(--branco); box-shadow: inset 0 10px 0 var(--asfalto), inset 0 -10px 0 var(--asfalto); }
.pista-faixa-central { height: 6px; margin: 22px 0; background: repeating-linear-gradient(90deg, var(--ouro) 0 44px, transparent 44px 76px); }
.faixa { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; touch-action: pan-x pan-y; }
.faixa::-webkit-scrollbar { display: none; }
.faixa.arrastando { cursor: grabbing; }
.faixa.arrastando .carro { pointer-events: none; }
.faixa-mov { display: flex; width: max-content; }
.faixa-trilho { display: flex; gap: 16px; padding: 0 16px 0 0; margin: 0; list-style: none; }
.faixa img { -webkit-user-drag: none; user-select: none; }
.carro { display: flex; flex-direction: column; width: 210px; background: var(--branco); border-radius: var(--raio); text-decoration: none; overflow: hidden; outline-offset: -3px; }
.carro-foto { display: block; height: 196px; min-height: 0; padding: 12px; overflow: hidden; }
.carro-foto img { width: 100%; height: 100%; object-fit: contain; }
.carro-nome { padding: 0 14px; font-weight: 700; font-size: .95rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carro-preco { padding: 2px 14px 12px; font-stretch: 75%; font-weight: 700; color: var(--suave); }
.carro:hover .carro-nome { text-decoration: underline; text-underline-offset: 3px; }
.pista-dica { max-width: var(--largura); margin: 16px auto 0; padding: 0 var(--guia); color: #bdbdbd; font-size: .85rem; }

/* ---------- seções ---------- */
.secao { max-width: var(--largura); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--guia); }
.secao h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 30ch; }
.secao-cab { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.cat-grade { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat { display: grid; grid-template-columns: 1fr 42%; align-items: center; min-height: 220px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); text-decoration: none; overflow: hidden; transition: border-color .18s ease; }
.cat:hover { border-color: var(--preto); }
.cat-texto { display: flex; flex-direction: column; gap: 8px; padding: 24px; order: -1; }
.cat-texto strong { font-size: 1.45rem; font-stretch: 125%; font-weight: 800; line-height: 1.1; }
.cat-texto span { color: var(--suave); font-size: .95rem; }
.cat-texto em { font-style: normal; font-weight: 700; font-stretch: 75%; margin-top: 4px; }
.cat-foto { height: 100%; padding: 16px; display: flex; align-items: center; }
.cat-foto img { width: 100%; max-height: 190px; object-fit: contain; }

.motivos { border-top: 1px solid var(--linha); }
.motivos-lista { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.motivos-lista li { border-top: 6px solid var(--preto); padding-top: 18px; }
.motivos-lista h3 { font-size: 1.15rem; font-stretch: 100%; font-weight: 800; letter-spacing: 0; margin-bottom: 8px; }
.motivos-lista p { color: var(--grafite); }

/* ---------- cartões ---------- */
.grade-cartoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cartao { display: flex; flex-direction: column; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; transition: border-color .18s ease; }
.cartao:hover { border-color: var(--preto); }
.cartao-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.cartao-foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cartao-foto img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.cartao-foto .foto-pendente { position: absolute; inset: 10px; width: auto; height: auto; min-height: 0; }
.cartao-corpo { display: flex; flex-direction: column; gap: 4px; padding: 4px 16px 14px; flex: 1; }
.cartao-cat { color: var(--suave); font-size: .82rem; }
.cartao-nome { font-size: 1.08rem; font-stretch: 100%; font-weight: 800; letter-spacing: 0; line-height: 1.2; }
.cartao-link:hover .cartao-nome { text-decoration: underline; text-underline-offset: 3px; }
.cartao-fatos { font-stretch: 75%; font-weight: 600; color: var(--grafite); }
.cartao-preco { margin-top: auto; padding-top: 10px; }
.cartao-preco strong { display: block; font-size: 1.4rem; font-stretch: 75%; font-weight: 800; line-height: 1.15; }
.preco-rotulo { font-size: .8rem; color: var(--suave); }
.preco-consulta { display: block; font-weight: 700; color: var(--grafite); line-height: 1.3; }
.cartao > .btn-sec { margin: 0 16px 16px; width: auto; }
.cartao-acoes { display: grid; gap: 8px; margin: 0 16px 16px; }
.cartao-acoes .btn { width: 100%; min-height: 46px; font-size: .95rem; }
.foto-pendente { width: 100%; height: 100%; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: repeating-linear-gradient(135deg, #f4f4f2 0 14px, #ecece9 14px 28px); border-radius: 6px; color: var(--suave); font-size: .85rem; font-weight: 600; }
.foto-pendente img { width: 48px; opacity: .35; }
.foto-pendente.grande { min-height: 420px; }

/* ---------- como comprar + conversão ---------- */
.como { max-width: none; background: var(--preto); color: var(--branco); }
.como > * { max-width: calc(var(--largura) - 2 * var(--guia)); margin-left: auto; margin-right: auto; }
.passos { list-style: none; counter-reset: passo; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.passos li { counter-increment: passo; }
.passos li::before { content: counter(passo); display: block; font-size: 4.5rem; line-height: 1; font-weight: 900; font-stretch: 75%; color: var(--ouro); margin-bottom: 12px; }
.passos strong { display: block; font-size: 1.2rem; margin-bottom: 6px; }
.passos p { color: #cfcfcf; max-width: 32ch; }
.conversao { background: var(--ouro); }
.conversao-in { max-width: var(--largura); margin: 0 auto; padding: clamp(32px, 4.5vw, 56px) var(--guia); display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.conversao h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 34ch; flex: 1 1 520px; }
.conversao :focus-visible, .btn-ouro:focus-visible { outline-color: var(--preto); }

/* ---------- catálogo ---------- */
.cat-topo { background: var(--preto); color: var(--branco); }
.cat-topo-in { max-width: var(--largura); margin: 0 auto; padding: 28px var(--guia) 40px; }
.cat-topo h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin-top: 14px; }
.cat-topo-resumo { margin-top: 12px; color: #d4d4d4; max-width: 60ch; font-size: 1.08rem; }
.trilha { font-size: .88rem; color: #bdbdbd; }
.trilha a { color: inherit; }
.produto .trilha { color: var(--suave); }
.catalogo { padding-top: 32px; }
.filtros { display: grid; grid-template-columns: 2fr 1.3fr 1.3fr 1fr auto; gap: 12px; align-items: end; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo label { font-size: .85rem; font-weight: 700; }
.campo input, .campo select { font: inherit; font-size: 1rem; min-height: 46px; padding: 0 12px; border: 1px solid #9a9a9a; border-radius: 6px; background: var(--branco); color: var(--preto); width: 100%; }
.resultado { margin: 20px 0; color: var(--suave); }
.vazio { background: var(--branco); border: 1px dashed #9a9a9a; border-radius: var(--raio); padding: 40px; display: grid; gap: 14px; justify-items: start; }
.vazio h2, .vazio h1 { font-size: 1.6rem; }
.vazio-404 { margin-top: 48px; margin-bottom: 48px; }

/* ---------- produto ---------- */
.produto { max-width: var(--largura); margin: 0 auto; padding: 24px var(--guia) 0; }
.produto-grade { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); margin-top: 18px; align-items: start; }
.galeria { position: sticky; top: 84px; }
.galeria-principal { position: relative; background: var(--branco); border-radius: var(--raio); aspect-ratio: 1; overflow: hidden; }
.galeria-principal img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.galeria-mini { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.galeria-mini button { width: 78px; height: 78px; padding: 6px; background: var(--branco); border: 2px solid transparent; border-radius: 6px; cursor: pointer; }
.galeria-mini button[aria-current="true"] { border-color: var(--preto); }
.galeria-mini img { width: 100%; height: 100%; object-fit: contain; }
.produto-cat { color: var(--suave); font-weight: 600; }
.produto-info h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 6px; }
.produto-linha { margin-top: 12px; font-size: 1.15rem; color: var(--grafite); }
.painel-preco { margin-top: 24px; background: var(--preto); color: var(--branco); border-radius: var(--raio); padding: 24px; }
.pp-rotulo { color: #bdbdbd; font-size: .9rem; }
.pp-valor { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 800; font-stretch: 75%; line-height: 1.1; color: var(--ouro); }
.pp-valor.pp-consulta { font-size: 1.6rem; font-stretch: 100%; line-height: 1.2; }
.pp-aviso { font-size: .85rem; color: #bdbdbd; margin: 4px 0 18px; }
.pp-apoio { margin-top: 12px; font-size: .92rem; color: #dedede; }
.produto-desc { margin-top: 28px; font-size: 1.08rem; max-width: 60ch; }
.produto-sub { font-size: 1.15rem; font-stretch: 100%; letter-spacing: 0; margin: 32px 0 12px; }
.ficha { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; margin: 0; }
.ficha div { background: var(--branco); padding: 14px 16px; }
.ficha div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ficha dt { font-size: .82rem; color: var(--suave); }
.ficha dd { margin: 2px 0 0; font-weight: 800; font-stretch: 87%; font-size: 1.15rem; }
.itens { padding-left: 1.2em; margin: 0; display: grid; gap: 4px; }
.produto-nota { margin-top: 20px; font-size: .85rem; color: var(--suave); }
.relacionados { padding-left: 0; padding-right: 0; }
.barra-mobile { display: none; }

/* ---------- rodapé ---------- */
.rodape { background: var(--preto); color: #d6d6d6; margin-top: 0; }
.rodape-in { max-width: var(--largura); margin: 0 auto; padding: 56px var(--guia) 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.rodape-marca img { height: 91px; width: auto; margin-bottom: 16px; }
.rodape-marca p { max-width: 40ch; }
.rodape-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rodape-col h2 { font-size: 1rem; font-stretch: 100%; letter-spacing: 0; color: var(--branco); margin-bottom: 6px; }
.rodape-col a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.rodape-col a:hover { color: var(--ouro); }
.rodape-tel { color: var(--ouro); font-weight: 800; font-size: 1.3rem; font-stretch: 87%; gap: 8px; }
.rodape-legal { max-width: var(--largura); margin: 0 auto; padding: 20px var(--guia) 96px; border-top: 1px solid #262626; font-size: .82rem; color: #9b9b9b; }

/* ---------- botão flutuante ---------- */
.flutuante { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-flutuante); display: inline-flex; align-items: center; gap: 10px;
  background: var(--preto); color: var(--ouro); border: 2px solid var(--ouro); border-radius: 999px; padding: 12px 20px 12px 16px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: background-color .18s ease, color .18s ease; }
.flutuante:hover { background: var(--ouro); color: var(--preto); }
.flutuante .ic { width: 26px; height: 26px; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .grade-cartoes { grid-template-columns: repeat(3, 1fr); }
  .motivos-lista { grid-template-columns: repeat(2, 1fr); }
  .filtros { grid-template-columns: 1fr 1fr; }
  .filtros .campo:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .topo-in { gap: 12px; padding-top: 8px; padding-bottom: 8px; }
  .marca img { height: 34px; }
  .topo-busca { display: none; }
  .topo-tel { margin-left: auto; font-size: .92rem; }
  .hero { display: block; min-height: 0; }
  .hero-foto img { height: auto; aspect-ratio: 4 / 3; }
  .hero-foto::before { inset: auto 0 0 0; width: auto; height: 30%; background: linear-gradient(0deg, #000, rgba(0,0,0,0)); }
  .hero-in { max-width: none; padding-top: 4px; padding-bottom: 36px; }
  .hero-acoes .btn { width: 100%; }
  .hero-fatos { gap: 14px 24px; }
  .pista { padding: 22px 0 14px; }
  .pista-faixa-central { margin: 16px 0; background: repeating-linear-gradient(90deg, var(--ouro) 0 30px, transparent 30px 52px); height: 5px; }
  .carro { width: 148px; }
  .carro-foto { padding: 8px; height: 136px; }
  .carro-nome { font-size: .85rem; padding: 0 10px; }
  .carro-preco { padding: 0 10px 10px; font-size: .9rem; }
  .faixa-trilho { gap: 12px; padding-right: 12px; }
  .cat-grade { grid-template-columns: 1fr; }
  .cat { min-height: 160px; grid-template-columns: 1fr 40%; }
  .cat-texto { padding: 18px; }
  .cat-texto strong { font-size: 1.2rem; }
  .motivos-lista { grid-template-columns: 1fr; gap: 24px; }
  .grade-cartoes { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cartao-corpo { padding: 2px 12px 12px; }
  .cartao-nome { font-size: .98rem; }
  .cartao-preco strong { font-size: 1.2rem; }
  .cartao > .btn-sec { margin: 0 12px 12px; font-size: .85rem; padding: 0 8px; }
  .cartao > .btn-sec .ic { display: none; }
  .passos { grid-template-columns: 1fr; gap: 24px; }
  .conversao .btn { width: 100%; }
  .filtros { grid-template-columns: 1fr; }
  .produto-grade { grid-template-columns: 1fr; }
  .galeria { position: static; }
  .ficha { grid-template-columns: 1fr 1fr; }
  .rodape-in { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .flutuante span { display: none; }
  .flutuante { padding: 14px; right: 16px; bottom: 16px; }
  /* página do produto: barra fixa no rodapé substitui o botão flutuante */
  .pg-produto .flutuante { display: none; }
  .pg-produto .rodape-legal { padding-bottom: 110px; }
  .barra-mobile { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-barra); align-items: center; gap: 12px;
    background: var(--preto); color: var(--branco); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 3px solid var(--ouro); }
  .bm-preco { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
  .bm-preco span { font-size: .75rem; color: #bdbdbd; }
  .bm-preco strong { color: var(--ouro); font-size: 1.25rem; font-stretch: 75%; white-space: nowrap; }
  .barra-mobile .btn { margin-left: auto; padding: 0 16px; min-height: 50px; }
}
@media (max-width: 400px) {
  .marca img { height: 28px; }
  .topo-tel { font-size: .84rem; font-stretch: 75%; gap: 6px; }
  .topo-tel .ic { width: 20px; height: 20px; }
  .barra-mobile .btn span { font-size: .9rem; }
}

/* ---------- movimento reduzido: faixas viram rolagem manual ---------- */
@media (prefers-reduced-motion: reduce) {
  .faixa { scroll-snap-type: x mandatory; padding: 0 var(--guia); scrollbar-width: thin; }
  .faixa-copia { display: none; }
  .carro { scroll-snap-align: start; }
  * { transition: none !important; }
}

/* ---------- pop-up da promoção ---------- */
.promo { padding: 0; border: 0; background: transparent; max-width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: visible; }
.promo::backdrop { background: rgba(0, 0, 0, .72); }
.promo[open] { animation: promo-entra .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes promo-entra { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.promo-link { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.promo-link img { display: block; width: auto; height: auto; max-width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); aspect-ratio: 1448 / 1086; }
.promo-link:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }
.promo-fechar { position: absolute; top: 8px; right: 8px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid var(--ouro); background: var(--preto); color: var(--ouro); cursor: pointer; }
.promo-fechar svg { width: 20px; height: 20px; }
.promo-fechar:hover { background: var(--ouro); color: var(--preto); }
.promo-fechar:focus-visible { outline: 3px solid var(--branco); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .promo[open] { animation: none; } }

/* ---------- selos de segurança e transportadoras ---------- */
.rodape-confianca { max-width: var(--largura); margin: 0 auto; padding: 4px var(--guia) 28px;
  display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-start; }
.rodape-confianca h3 { font-size: .76rem; font-weight: 700; font-stretch: 100%; letter-spacing: .1em;
  text-transform: uppercase; color: #9b9b9b; margin: 0 0 12px; }
.selos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.selos li { background: var(--branco); border-radius: 6px; padding: 8px 12px; display: flex; align-items: center;
  min-height: 46px; }
.selos img { width: auto; height: 28px; }
.selos-entrega img { height: 24px; }

/* ---------- prazo de entrega na página do produto ---------- */
.pp-entrega { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid #2f2f2f; font-size: .9rem; line-height: 1.5; color: #dedede; }
.pp-entrega .ic { flex: none; width: 22px; height: 22px; color: var(--ouro); margin-top: 1px; }
.pp-entrega strong { color: var(--branco); }
.pp-entrega small { display: block; margin-top: 3px; font-size: .82rem; color: #a9a9a9; }

/* ---------- confirmação de CEP, discreta e dispensável ---------- */
.cep-barra { position: fixed; left: 20px; bottom: 20px; z-index: var(--z-barra); width: min(360px, calc(100vw - 40px));
  background: var(--branco); color: var(--preto); border: 1px solid var(--linha); border-left: 4px solid var(--ouro);
  border-radius: var(--raio); box-shadow: 0 14px 34px rgba(0, 0, 0, .22); padding: 16px 40px 16px 18px;
  animation: cep-entra .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes cep-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cep-barra-titulo { font-size: .92rem; line-height: 1.45; }
.cep-barra-titulo strong { font-weight: 800; }
.cep-barra-form { display: flex; gap: 8px; margin-top: 12px; }
.cep-barra-form input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; font: inherit; font-size: 1rem;
  border: 1px solid var(--linha); border-radius: 6px; background: var(--branco); color: var(--preto); }
.cep-barra-form input:focus-visible { border-color: var(--preto); }
.cep-barra-form .btn { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.cep-barra-msg { margin-top: 10px; font-size: .84rem; line-height: 1.45; color: var(--suave); }
.cep-barra-msg:empty { display: none; }
.cep-barra-msg[data-estado="ok"] { color: #1B6E3A; font-weight: 600; }
.cep-barra-msg[data-estado="erro"] { color: #B00020; }
.cep-barra-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; background: none; color: var(--suave); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.cep-barra-x:hover { background: var(--concreto); color: var(--preto); }
.cep-barra.confirmado .cep-barra-form { display: none; }

@media (max-width: 860px) {
  .rodape-confianca { gap: 18px 32px; padding-bottom: 22px; }
}
@media (max-width: 760px) {
  /* acima da barra de compra e do botão flutuante, nunca por cima deles */
  .cep-barra { left: 12px; right: 12px; bottom: 86px; width: auto; }
  body.pg-produto .cep-barra { bottom: 150px; }
  .selos img { height: 24px; }
  .selos li { min-height: 40px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .cep-barra { animation: none; } }

/* ---------- ajuda sugerida pelo motor de rastreamento ---------- */
.aj-tira { position: fixed; right: 20px; bottom: 92px; z-index: var(--z-barra);
  width: min(340px, calc(100vw - 40px)); background: var(--branco); color: var(--preto);
  border: 1px solid var(--linha); border-left: 4px solid var(--ouro); border-radius: var(--raio);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2); padding: 16px 40px 16px 18px;
  animation: aj-entra .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes aj-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.aj-titulo { font-weight: 800; font-size: .98rem; line-height: 1.35; }
.aj-texto { margin-top: 6px; font-size: .88rem; line-height: 1.5; color: var(--suave); }
.aj-acoes { display: grid; gap: 8px; margin-top: 14px; }
.aj-acoes .btn { width: 100%; min-height: 44px; font-size: .92rem; }
.aj-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; background: none; color: var(--suave); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.aj-x:hover { background: var(--concreto); color: var(--preto); }

.aj-painel { position: fixed; border: 0; border-top: 5px solid var(--ouro); padding: 28px 44px 26px 26px;
  width: min(430px, calc(100vw - 32px)); background: var(--branco); color: var(--preto);
  border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  animation: aj-entra .28s cubic-bezier(.2, .8, .2, 1); }
.aj-painel::backdrop { background: rgba(0, 0, 0, .6); }
.aj-painel .aj-titulo { font-size: 1.3rem; font-stretch: 112%; line-height: 1.2; }
.aj-painel .aj-texto { margin-top: 10px; font-size: .95rem; }

@media (max-width: 760px) {
  .aj-tira { left: 12px; right: 12px; width: auto; bottom: 86px; }
  body.pg-produto .aj-tira { bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { .aj-tira, .aj-painel { animation: none; } }

/* ---------- faixa de ambiente de teste ---------- */
/* Fica no topo de toda página pública. Diz, sem rodeio, que o site não cobra ninguém hoje. */
.faixa-teste { margin: 0; background: #FFF1C2; color: #4a3000; font-size: .86rem; line-height: 1.45;
  padding: 9px var(--guia); text-align: center; border-bottom: 1px solid #e3cf8a; }
.faixa-teste strong { font-weight: 800; }
@media (max-width: 700px) { .faixa-teste { font-size: .78rem; padding: 8px var(--guia); } .faixa-teste .ft-extra { display: none; } }

/* ---------- entrar na conta, no cabeçalho ---------- */
.topo-conta { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; white-space: nowrap; }
.topo-conta a { text-decoration: none; }
.topo-conta .tc-forte { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .92rem;
  font-stretch: 87%; color: var(--branco); }
.topo-conta .tc-forte .ic { width: 20px; height: 20px; color: var(--ouro); }
.topo-conta .tc-forte:hover span { text-decoration: underline; text-underline-offset: 3px; }
.topo-conta .tc-fraco { font-size: .76rem; color: #b3b3b3; padding-left: 27px; }
.topo-conta .tc-fraco:hover { color: var(--ouro); }

/* ---------- preço por forma de pagamento ---------- */
.preco-pix { display: block; font-size: .82rem; font-weight: 700; color: #0f5c33; margin-top: 2px; }
.pp-de { font-size: .9rem; color: #c9c9c9; margin-top: 2px; }
.pp-de s { color: #9a9a9a; }
.pp-de strong { color: var(--ouro); font-weight: 700; }
.pp-formas { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #2a2a2a; display: grid; gap: 9px; }
.pp-formas li { font-size: .9rem; color: #d7d7d7; }
.pp-formas strong { color: var(--branco); font-weight: 700; }
.pp-formas span { display: block; font-size: .78rem; color: #9a9a9a; }

@media (max-width: 1040px) {
  .topo-conta .tc-forte span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .topo-conta .tc-forte .ic { width: 24px; height: 24px; }
  .topo-conta .tc-fraco { display: none; }
  .topo-conta { min-height: 44px; justify-content: center; }
}
