/* ============================================
   FUSION PRINT — Impressão 3D e laser
   Tema escuro com o preto e o amarelo da logo
   ============================================ */

/* ------------------------------------------------------------
   PALETA DA MARCA — preto e amarelo, como a logo
   ------------------------------------------------------------
   Fundo preto, texto quase branco, o amarelo da logo (#FDBF04)
   nos detalhes e nos botões principais.

   Contraste (WCAG pede 4,5:1 para texto comum):
     texto  #f4f2ed sobre #0b0b0b ........ 17,6:1
     texto-dim #b8b2a7 sobre #0b0b0b ..... 9,4:1  (sobre card #161616: 8,6:1)
     amarelo #fdbf04 sobre #0b0b0b ....... 12,1:1 (vale como letra e como linha)
     preto #0b0b0b sobre amarelo ......... 12,1:1 (texto dentro de botão amarelo)

   Regra prática: em cima de amarelo, o texto é SEMPRE preto
   (--sobre-accent). Nunca branco: branco no amarelo dá 1,6:1.

   As fotos de produto têm fundo branco e continuam num quadro branco
   dentro do card escuro — é o padrão de vitrine e evita o "recorte"
   sujo que sairia ao tentar tirar o branco das fotos.
   ------------------------------------------------------------ */
:root {
  color-scheme: dark;         /* barras de rolagem e campos nativos no escuro */

  /* fundos, do mais escuro ao mais claro */
  --bg: #0b0b0b;              /* preto da logo — fundo da página */
  --bg-soft: #111111;         /* faixas e rodapé */
  --bg-card: #161616;         /* cartões */
  --bg-elevated: #202020;     /* campos, botões secundários */
  --line: #2e2e2e;            /* bordas */
  --line-forte: #4a4a4a;      /* bordas de campo (precisam aparecer: 3:1) */

  /* texto */
  --text: #f4f2ed;            /* quase branco, quente — nunca #fff puro no corpo */
  --text-dim: #b8b2a7;

  /* amarelo da logo: a única cor forte do site */
  --accent: #fdbf04;
  --accent-forte: #fdbf04;
  --accent-hover: #ffd34d;
  --accent-soft: rgba(253, 191, 4, 0.12);
  --accent-line: rgba(253, 191, 4, 0.38);
  --sobre-accent: #0b0b0b;    /* texto em cima do amarelo */

  /* cor de significado (confirmações) — verde claro, legível no preto */
  --green: #6fd08a;
  --erro: #ff8a80;

  /* ---------- ilustrações ----------
     Os desenhos vetoriais (impressora da home, oficina do Quem Somos)
     leem estas variáveis em vez de cor fixa. */
  --ilu-corpo: #222222;       /* chapas e corpo das máquinas */
  --ilu-traco: #e9e4da;       /* contorno */
  --ilu-metal: #8f877b;       /* trilhos, eixos, peças metálicas */

  --radius: 12px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.55);

  /* Sem fonte externa: o site funciona offline exatamente igual ao
     site aberto pela internet. */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* O atributo hidden tem que vencer qualquer display definido depois —
   sem isto, uma regra escrita mais abaixo mantem o elemento na tela
   mesmo marcado como hidden. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.topbar .container {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 6px 0;
  gap: 16px;
}
.topbar strong { color: var(--accent-hover); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Translúcido: o conteúdo passa desfocado por baixo ao rolar.
     Era o preto da paleta antiga — como é rgba() e não hex, escapou
     da troca de cores e ficou um cabeçalho preto num site branco. */
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}

/* ---------- Logo oficial ----------
   A altura manda: a largura sai da proporção do arquivo, para a
   marca nunca ser esticada. Por isso `width: auto` nos dois. */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
/* No rodapé entra a logo inteira, com a assinatura "Tecnologia e Indústria" */
.logo-img-completa {
  height: 96px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  /* Navegação é para ser lida: sobre fundo claro o --text-dim ficava
     apagado demais e o menu sumia ao lado do resto da página. */
  color: var(--text);
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--accent); background: var(--accent-soft); }
/* Ativo usa o dourado mais escuro: sobre o fundo dourado claro, o
   --accent normal ficava abaixo do contraste mínimo (4,5:1). */
.main-nav a.active { color: var(--accent-hover); background: var(--accent-soft); }

/* Atalho de teclado "Pular para o conteúdo": invisível até receber foco */
.pular-conteudo {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--sobre-accent);
  border-radius: 8px;
  font-weight: 600;
}
.pular-conteudo:focus { top: 12px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  transition: all 0.2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }

/* ---------- Busca ---------- */
.search-wrap {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-forte);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.search-wrap input:focus { border-color: var(--accent); }
.search-wrap input::placeholder { color: var(--text-dim); }
.search-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-dim);
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 75% at 82% 18%, rgba(253, 191, 4, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 60% at 8% 95%, rgba(253, 191, 4, 0.04), transparent 70%);
}
/* Fio dourado separando o topo do conteúdo */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 92px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-hover);   /* sobre fundo dourado claro, o --accent fica abaixo de 4,5:1 */
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 34rem;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
/* Amarelo sólido com texto preto: o botão mais visível da página. */
.btn-primary {
  background: var(--accent);
  color: var(--sobre-accent);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line-forte);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Foco visível pelo teclado — acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
}
.hero-stats div strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}
.hero-stats div span { font-size: 0.82rem; color: var(--text-dim); }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-visual svg { width: 100%; max-width: 420px; height: auto; }

.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.85rem; }
.float-card span { color: var(--text-dim); font-size: 0.72rem; }
.float-card .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.float-card.fc-1 { top: 8%; right: 2%; }
.float-card.fc-2 { bottom: 10%; left: 0; animation-delay: 2.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Seções ---------- */
section { padding: 72px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  /* Sem espaço na linha, o "Ver tudo de ..." desce para baixo do título
     (nome de linha de filamento é comprido e estourava o celular) */
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 38px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
/* Rótulo de seção: caixa alta bem espaçada, precedida de um traço
   dourado. É o detalhe que dá o ar editorial sem custar cor. */
.section-head .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head .kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-head p { color: var(--text-dim); max-width: 30rem; margin-top: 6px; }
.section-head .see-all {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 560px) {
  .section-head .see-all { white-space: normal; }
}
.section-head .see-all:hover { color: var(--accent-hover); }

/* ---------- Categorias ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 6 categorias = 2 fileiras cheias */
  gap: 18px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cat-card .cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.cat-card .cat-icon svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 14px; }
.cat-card .cat-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Produtos ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.prod-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.prod-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.prod-thumb {
  position: relative;
  aspect-ratio: 1 / 0.82;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-soft));
  border-bottom: 1px solid var(--line);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
/* Selos dentro da identidade: dourado, branco e contorno dourado —
   sem introduzir cores novas que brigariam com a marca. */
.badge-new { background: var(--accent); color: var(--sobre-accent); }
.prod-info { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.prod-brand {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.prod-info h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 8px; line-height: 1.35; }
/* ---------- Faixa de marcas ---------- */
.brands { background: var(--bg-soft); border-block: 1px solid var(--line); padding: 40px 0; }
.brands-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.brands-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.brand-chip {
  padding: 12px 28px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-family: var(--mono);
}

/* ---------- Diferenciais ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feat-card .feat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feat-card .feat-icon svg { width: 22px; height: 22px; }
.feat-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.feat-card p { font-size: 0.84rem; color: var(--text-dim); }

/* ---------- Faixa de CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
.cta-band h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-band p { color: var(--text-dim); font-size: 0.95rem; }
/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 0.9rem; color: var(--text-dim); }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { font-size: 0.88rem; color: var(--text-dim); margin: 14px 0 18px; max-width: 26rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-dim);
  transition: all 0.2s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { flex-basis: 100%; }

/* ---------- Página: Política de privacidade ---------- */
.texto-legal { max-width: 780px; }
.texto-legal h2 { font-size: 1.15rem; margin: 30px 0 10px; }
.texto-legal p, .texto-legal li { color: var(--text-dim); margin-bottom: 10px; }
.texto-legal ul { padding-left: 20px; margin-bottom: 10px; }
.texto-legal a { color: var(--accent); text-decoration: underline; }

/* ---------- Página: Catálogo ---------- */
.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.page-head h1 { font-size: 1.9rem; letter-spacing: -0.02em; }
.breadcrumb { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--accent); }

.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  padding: 44px 0 72px;
}
.filters {
  align-self: start;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  /* A coluna acompanha a rolagem; se ela for mais alta que a tela
     (com a lista de linhas aberta, por exemplo), rola por dentro —
     senão "Limpar filtros" ficaria para sempre abaixo da tela. */
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.filter-group h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 5px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.filter-group label:hover { color: var(--text); }
/* São dezenas de linhas de filamento: a lista rola dentro do grupo
   para não empurrar o resto dos filtros para fora da tela. */
.filtro-rolagem {
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
}
.filter-group label .qtd { margin-left: auto; font-size: 0.78rem; color: var(--text-dim); }
/* Opção que, com os filtros atuais, não traria nenhum produto.
   Mais apagada, mas ainda legível (contraste acima de 4,5:1). */
.filter-group label.zerado,
.filter-group label.zerado .qtd { color: #8f877b; }
/* Subtítulo de marca dentro da lista de linhas */
.linha-marca {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 10px 0 2px;
}
.linha-marca:first-child { margin-top: 0; }
.filter-group input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  /* Ao trocar de página no catálogo o scroll mira aqui; sem esta
     margem a toolbar fica escondida atrás do cabeçalho fixo. */
  scroll-margin-top: 110px;
}
.shop-toolbar .result-count { font-size: 0.88rem; color: var(--text-dim); }
.shop-toolbar select {
  padding: 9px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-forte);
  border-radius: 9px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.shop-toolbar select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.toolbar-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.search-catalogo { flex: 1; max-width: 300px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  padding: 7px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.chip:hover, .chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
}
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Página: Quem Somos ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero h2 { font-size: 1.8rem; letter-spacing: -0.02em; margin-bottom: 16px; }
.about-hero p { color: var(--text-dim); margin-bottom: 14px; }
.about-visual {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elevated));
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-visual svg { width: 70%; height: auto; }
/* Foto da fachada: o quadro tem a MESMA proporção da foto (2400×1300),
   então ela aparece inteira, sem corte — a imagem já vem enquadrada. */
.about-foto { aspect-ratio: 24 / 13; background: #111; box-shadow: var(--shadow); }
.about-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.value-card .num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.value-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.value-card p { font-size: 0.86rem; color: var(--text-dim); }

.timeline { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 0 auto; }
.tl-item {
  display: grid;
  grid-template-columns: 90px 30px 1fr;
  gap: 0 16px;
}
.tl-year {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  padding-top: 2px;
}
.tl-track { position: relative; display: flex; justify-content: center; }
.tl-track::before {
  content: "";
  position: absolute;
  top: 8px; bottom: -8px;
  width: 2px;
  background: var(--line);
}
.tl-item:last-child .tl-track::before { bottom: auto; height: 12px; }
.tl-dot {
  position: relative;
  z-index: 1;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  margin-top: 5px;
}
.tl-body { padding-bottom: 36px; }
.tl-body h3 { font-size: 1rem; margin-bottom: 4px; }
.tl-body p { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- Página: Contato ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-card .cc-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-card .cc-icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-card p { font-size: 0.86rem; color: var(--text-dim); }

.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- Página: Produto ---------- */
.produto-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 44px 0 60px;
  align-items: start;
}
.galeria { position: sticky; top: 96px; }
.galeria-principal {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 18px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.galeria-principal svg { width: 62%; height: auto; }
.pd-marca {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.pd-titulo {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.pd-compra { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.qty-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-forte);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.qty-input button {
  width: 40px;
  height: 46px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
}
.qty-input button:hover { color: var(--accent); }
.qty-input span { min-width: 34px; text-align: center; font-weight: 600; }
.pd-compra .btn { flex: 1; justify-content: center; min-width: 200px; white-space: nowrap; }

.pd-specs {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.pd-specs li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  align-items: flex-start;
}
.pd-specs li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pd-entrega {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--bg-card);
}
.pd-entrega h4 { font-size: 0.9rem; margin-bottom: 10px; }
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; margin-bottom: 24px; }
.tabs button {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
}
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; max-width: 780px; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--text-dim); margin-bottom: 14px; }
/* ---------- Responsivo ---------- */
/* Notebook e telas médias: o menu tem 6 itens e divide a linha com a
   busca e o botão de orçamento — aperta os espaços para não transbordar */
@media (max-width: 1240px) {
  .main-nav { gap: 2px; }
  .main-nav a { padding: 8px 9px; font-size: 0.88rem; }
  .site-header .search-wrap { max-width: 250px; }
}

@media (max-width: 1024px) {
  .cat-grid, .prod-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  /* A busca do catálogo continua visível no celular (a do topo some, abaixo) */
  .search-catalogo { display: block; }
}

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; padding: 56px 0; }
  .hero-visual { display: none; }
  .cta-band, .about-hero, .contact-layout { grid-template-columns: 1fr; }
  .produto-layout { grid-template-columns: 1fr; gap: 28px; }
  .galeria { position: static; } /* sticky não faz sentido com a página empilhada */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px;
             max-height: none; overflow: visible; }
  /* Só a busca do TOPO some; a do catálogo (.search-catalogo) fica */
  .site-header .search-wrap { display: none; }
  /* Sem a busca (que empurrava tudo para a direita), os botões vão sozinhos */
  .header-actions { margin-left: auto; }
}

/* Menu vira o botão ☰ abaixo de 1200 px: com 6 itens, ele não cabe numa
   linha ao lado da logo, da busca e do botão de orçamento — a busca
   ficava espremida a ponto de não dar para usar. */
@media (max-width: 1199px) {
  .menu-toggle { display: grid; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 14px; font-size: 0.95rem; }
  .site-header .search-wrap { max-width: 420px; margin-left: auto; }
}

@media (max-width: 560px) {
  .cat-grid, .prod-grid, .feat-grid, .shop-grid, .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  /* A linha do tempo tem colunas fixas (ano + trilha): no celular
     elas precisam encolher para o texto sobreviver. */
  .tl-item { grid-template-columns: 64px 24px 1fr; gap: 0 10px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

/* ============================================================
   WHATSAPP — o caminho da venda
   ------------------------------------------------------------
   Verde é a cor que as pessoas reconhecem como "WhatsApp". É a
   única exceção à paleta preto/branco/dourado, e existe porque
   aqui a cor é sinal de função, não decoração: onde tem verde,
   a conversa abre.
   ============================================================ */
:root {
  --whats: #25d366;
  --whats-escuro: #06240f;
}

.btn-whats {
  background: var(--whats);
  color: var(--whats-escuro);
  border-color: transparent;
  font-weight: 700;
}
.btn-whats:hover { background: #33e277; transform: translateY(-1px); }
.btn-whats svg { width: 17px; height: 17px; }

/* Versão grande, usada onde o botão é a ação principal da página */
.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

/* ---------- Botão de orçamento dentro do card ----------
   Fica colado no rodapé do card (margin-top:auto) para que todos
   os botões da grade se alinhem, mesmo com nomes de tamanhos
   diferentes acima deles. */
.btn-whats-produto {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.1);
  /* --green claro sobre o card escuro: contraste de ~9:1. O hover
     preenche com o verde cheio do WhatsApp. */
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn-whats-produto:hover {
  background: var(--whats);
  border-color: var(--whats);
  color: var(--whats-escuro);
}
.btn-whats-produto svg { width: 16px; height: 16px; }

/* ---------- Botão flutuante ----------
   No desktop mostra o texto; no celular vira só o ícone redondo,
   para não cobrir o conteúdo. */
.whats-flutuante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--whats);
  color: var(--whats-escuro);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  z-index: 150;
  transition: transform 0.2s;
}
.whats-flutuante:hover { transform: translateY(-2px) scale(1.02); }
.whats-flutuante svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Produto não encontrado (produto.html sem id válido) ----------
   Ocupa o lugar da ficha: título claro, explicação honesta e as duas
   saídas — catálogo (encontrar sozinho) e WhatsApp (a gente busca). */
.pd-nao-encontrado {
  grid-column: 1 / -1;
  max-width: 34rem;
  padding: 8px 0 24px;
}
.pd-nao-encontrado .pd-titulo { margin-bottom: 12px; }
.pd-nao-encontrado .pd-resumo { margin-bottom: 26px; }

/* ============================================================
   FOTOS DOS PRODUTOS
   ------------------------------------------------------------
   As fotos oficiais dos fabricantes vêm com fundo branco. Num
   site escuro isso viraria um retângulo branco berrante, então
   a foto ganha uma "placa" clara arredondada: fica proposital,
   e o produto continua legível.
   ============================================================ */
.prod-thumb,
.galeria-principal {
  background: #ffffff;
  aspect-ratio: 1 / 1;   /* as fotos são quadradas: assim nada é cortado */
}

/* object-fit: cover com contêiner quadrado = a foto preenche a placa inteira.
   O fundo branco da própria foto vira a placa, então não aparece emenda entre
   os dois brancos — que é o que acontecia com "contain".

   Nada de mix-blend-mode aqui: multiply apagava produto branco (carretel
   branco, impressora branca) contra a placa clara. */
.foto-produto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Espaço reservado para produto ainda sem foto */
.foto-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  color: var(--text-dim);
}
.foto-placeholder .foto-vazia { width: 44%; height: auto; }

/* ---------- Lista curta de características no card ---------- */
.prod-specs {
  list-style: none;
  margin: 0 0 16px;
  display: grid;
  gap: 4px;
}
.prod-specs li {
  font-size: 0.79rem;
  color: var(--text-dim);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.prod-specs li::before {
  content: "·";
  position: absolute;
  left: 3px;
  color: var(--accent);
  font-weight: 800;
}

/* Mensagem de grade vazia */
.grid-vazio {
  grid-column: 1 / -1;
  padding: 48px 0;
  text-align: center;
  color: var(--text-dim);
  line-height: 1.9;
}
.grid-vazio a { color: var(--accent); font-weight: 600; }
.grid-vazio a:hover { color: var(--accent-hover); }

/* ============================================================
   HOME — "como funciona" em três passos
   ============================================================ */
.como-funciona { padding-bottom: 0; }
.como-funciona .passos { margin-bottom: 64px; }
.passos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.passos li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.passo-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.passos h3 { font-size: 1rem; margin-bottom: 6px; }
.passos p { font-size: 0.86rem; color: var(--text-dim); }

/* Aviso legal sob a faixa de marcas */
.brands-legal {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.76rem;
  margin-top: 18px;
}

/* Subtítulo do cabeçalho de página */
.page-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 10px;
  max-width: 40rem;
}
.page-sub strong { color: var(--text); }

/* Bloco de ajuda na barra de filtros */
.filtro-ajuda {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 4px;
}
.filtro-ajuda h4 { font-size: 0.9rem; margin-bottom: 8px; }
.filtro-ajuda p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.filtro-ajuda .btn { width: 100%; justify-content: center; }

/* Card de contato que é link (o do WhatsApp) */
.contact-card-link { transition: border-color 0.18s, transform 0.18s; }
.contact-card-link:hover {
  border-color: var(--whats);
  transform: translateY(-2px);
}

/* ============================================================
   PÁGINA DE PRODUTO — caixa de orçamento
   ------------------------------------------------------------
   Ocupa o lugar onde num e-commerce estaria o preço. É a ação
   principal da página, então ganha borda dourada e respiro.
   ============================================================ */
.pd-resumo {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.pd-orcamento {
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 22px;
  margin: 24px 0;
}
.pd-orcamento-titulo {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: -0.01em;
}
.pd-orcamento-texto {
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-top: 8px;
}
.pd-orcamento-aviso {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 14px;
  text-align: center;
}

.galeria-nota {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
}

/* Lista de características na aba do produto */
.specs-lista {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.specs-lista li {
  padding-left: 20px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.specs-lista li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.nota-tecnica {
  font-size: 0.84rem;
  border-left: 2px solid var(--accent-line);
  padding-left: 14px;
}

/* ---------- Responsivo dos blocos novos ---------- */
@media (max-width: 820px) {
  .passos { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  /* No celular o botão flutuante vira só o ícone: com o texto ele
     cobriria metade da largura da tela. */
  .whats-flutuante {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .whats-flutuante span { display: none; }
  .whats-flutuante svg { width: 27px; height: 27px; }
}

/* No celular o botao do cabecalho fica so com o icone: com o texto ele
   estourava a largura da tela (o botao flutuante ja carrega o rotulo). */
@media (max-width: 700px) {
  .site-header .btn-whats span { display: none; }
  .site-header .btn-whats { padding: 10px 13px; }
  .site-header .btn-whats svg { width: 19px; height: 19px; }
}

/* ============================================================
   PÁGINA DE CONTATO — bloco "fale agora"
   ------------------------------------------------------------
   Substituiu o formulário. A regra aqui é: tudo que o cliente
   pode tocar é um <a href>. Sem campo para preencher, sem
   validação para falhar, sem pop-up para o navegador bloquear.
   ============================================================ */
.fale-agora {
  background: var(--bg-soft);
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  padding: 30px;
}
.fale-agora h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.fale-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* O botão principal ocupa a largura toda: é a ação óbvia da página. */
.fale-principal {
  width: 100%;
  justify-content: center;
}

/* Separador "ou diga do que se trata", com filete dos dois lados */
.fale-ou {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.fale-ou::before,
.fale-ou::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Atalhos por assunto ---------- */
.fale-atalhos { display: grid; gap: 10px; }

.fale-atalho {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.fale-atalho:hover {
  border-color: var(--whats);
  background: rgba(37, 211, 102, 0.07);
  transform: translateX(3px);
}

.fale-atalho-icone {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.fale-atalho-icone svg { width: 20px; height: 20px; }
.fale-atalho:hover .fale-atalho-icone {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.4);
  color: var(--whats);
}

.fale-atalho-texto { flex: 1; min-width: 0; }
.fale-atalho-texto strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}
.fale-atalho-texto span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.fale-atalho-seta {
  color: var(--text-dim);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color 0.18s;
}
.fale-atalho:hover .fale-atalho-seta { color: var(--whats); }

/* Saída por e-mail, para quem não usa WhatsApp */
.fale-email {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}
.fale-email a { color: var(--accent-hover); font-weight: 600; }
.fale-email a:hover { text-decoration: underline; }

/* No celular o cartão respira menos, para caber mais coisa na dobra */
@media (max-width: 560px) {
  .fale-agora { padding: 22px 18px; }
  .fale-atalho { padding: 12px 13px; gap: 11px; }
  .fale-atalho-icone { width: 36px; height: 36px; }
}

/* No celular o cabeçalho é estreito: a logo encolhe para sobrar
   espaço para o menu e o botão do WhatsApp. */
@media (max-width: 700px) {
  .logo-img { height: 34px; }
}
@media (max-width: 560px) {
  .logo-img-completa { height: 80px; }
}

/* ============================================================
   BARRA DE CONFIANÇA (página "A Empresa")
   ------------------------------------------------------------
   Substituiu a antiga faixa de números, que deixava três itens
   soltos nas pontas. Agora são três selos agrupados no centro,
   com ícone e divisória — cara de barra única, não de blocos
   perdidos numa faixa larga.
   ============================================================ */
.trust-bar {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  padding: 30px 0;
}
.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 42px;
  position: relative;
}
/* fininha divisória vertical entre um selo e o próximo */
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 1px;
  background: var(--line);
}
.trust-icone {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.trust-icone svg { width: 23px; height: 23px; }
.trust-txt strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}
.trust-txt span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* No celular vira uma lista alinhada à esquerda, sem a divisória vertical */
@media (max-width: 680px) {
  .trust-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .trust-item { padding: 0; }
  .trust-item + .trust-item::before { display: none; }
}

/* ============================================================
   NAVEGAÇÃO SUAVE
   ============================================================ */

/* ---------- Fotos surgem com fade (a classe js-fade vem do app.js) ---------- */
.js-fade .foto-produto {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.js-fade .foto-produto.carregada { opacity: 1; }
.prod-thumb picture { display: contents; }

/* ---------- Transição entre páginas ----------
   Navegadores com suporte (Chrome, Edge) trocam de página com um
   esmaecer curto em vez de piscar em branco. Os demais ignoram. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.22s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- Lenis (rolagem com inércia) — regras da própria biblioteca ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Sugestões da busca do topo ---------- */
.sugestoes {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 340px;
  max-height: min(70vh, 460px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 60;
}
.sug-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--text);
}
.sug-item img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  object-fit: cover;
}
.sug-item:hover,
.sug-item.ativo { background: var(--accent-soft); }
.sug-texto { display: grid; gap: 2px; min-width: 0; }
.sug-nome {
  font-size: 0.86rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sug-marca { font-size: 0.74rem; color: var(--text-dim); }
.sug-todos {
  display: block;
  margin-top: 4px;
  padding: 10px 8px 6px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
}
.sug-vazio { padding: 12px 10px; font-size: 0.86rem; color: var(--text-dim); margin: 0; }

/* ---------- "Carregar mais" do catálogo ---------- */
.carregar-mais-wrap {
  display: flex;
  justify-content: center;
  margin: 34px 0 10px;
}
.carregar-mais-wrap .btn { min-width: 260px; justify-content: center; }

/* ---------- Seletor de cores na ficha do filamento ---------- */
.pd-cores { margin: 0 0 22px; }
.pd-cores-titulo {
  display: block;
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.pd-cores-titulo strong { color: var(--text); }
.pd-cores-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* A bolinha é pintada com a cor do filamento (style="background:..."),
   a mesma do card do catálogo — gerada por tools/gerar-cores.py */
.cor-opcao {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cor-opcao:hover { transform: scale(1.1); }
.cor-opcao.ativa { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }

/* Versão do filamento: "Com carretel | Refil" */
.pd-versao { margin: 0 0 18px; }
.pd-versao-opcoes { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--bg-elevated); }
.pd-versao-opcao {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
}
.pd-versao-opcao:hover { color: var(--text); }
.pd-versao-opcao.ativa { background: var(--accent); color: var(--sobre-accent); }

/* Ficha: "Pedir só este pelo WhatsApp" — caminho secundário, em contorno */
.pd-whats-direto {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(37, 211, 102, 0.5);
}
.pd-whats-direto:hover { background: var(--whats); color: var(--whats-escuro); border-color: var(--whats); }

/* ============================================================
   LISTA DE ORÇAMENTO — botão do cabeçalho, botões dos cards e aviso
   ============================================================ */
.btn-carrinho {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.btn-carrinho:hover, .btn-carrinho[aria-current] { border-color: var(--accent); color: var(--accent-hover); }
.btn-carrinho svg { width: 19px; height: 19px; flex-shrink: 0; }
/* Selinho com o número de itens */
.orc-qtd {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--sobre-accent);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
@media (max-width: 1340px) {
  .btn-carrinho { padding: 0 10px; }
  .btn-carrinho-texto { display: none; }
}

/* Rodapé do card: "Adicionar ao orçamento" + WhatsApp direto.
   Fica colado embaixo (margin-top:auto): os botões da grade se
   alinham mesmo com nomes de tamanhos diferentes. */
.card-acoes {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.btn-orcamento {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--sobre-accent);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.btn-orcamento:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-orcamento svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-orcamento.adicionado { background: var(--green); border-color: var(--green); color: #07210f; }
.btn-whats-mini {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.1);
  color: var(--green);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn-whats-mini:hover { background: var(--whats); border-color: var(--whats); color: var(--whats-escuro); }
.btn-whats-mini svg { width: 18px; height: 18px; }

/* Aviso "Adicionado ao orçamento" no pé da tela */
.aviso-flutuante {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  background: #262626;
  border: 1px solid var(--line-forte);
  color: var(--text);
  font-size: 0.86rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.aviso-flutuante.visivel { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.aviso-flutuante svg { width: 20px; height: 20px; color: #7bd88f; flex-shrink: 0; }
.aviso-flutuante span { flex: 1; min-width: 0; }
.aviso-flutuante a { color: var(--accent-forte); font-weight: 700; white-space: nowrap; text-decoration: underline; }
@media (max-width: 700px) {
  /* acima do botão flutuante do WhatsApp */
  .aviso-flutuante { bottom: 86px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .aviso-flutuante { transition: none; }
}

/* ============================================================
   CARD DE FILAMENTO (um card por modelo, com as cores)
   ============================================================ */
.fil-etiqueta {
  position: absolute;
  top: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fil-etiqueta-marca { left: 12px; background: #fff; color: #0b0b0b; border: 1px solid #ddd; }
.fil-etiqueta-material { right: 12px; background: #0b0b0b; color: var(--accent); }
.fil-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.fil-cor-nome {
  display: block;
  min-height: 1.3em;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.fil-cores {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fil-trilho {
  flex: 1;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;           /* as setas fazem o papel da barra */
  padding: 4px 2px;
}
.fil-trilho::-webkit-scrollbar { display: none; }
.fil-cor {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.15s, box-shadow 0.15s;
}
.fil-cor:hover { transform: scale(1.12); }
.fil-cor.ativa { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--accent); }
.fil-cor:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fil-seta {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.fil-seta:hover { border-color: var(--accent); color: var(--accent-hover); }
.fil-qtd-cores { display: block; font-size: 0.74rem; color: var(--text-dim); margin: 4px 0 0 34px; }
.fil-resumo {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 10px 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card estreito (3–4 colunas): o botão diz só "Adicionar"; com espaço,
   "Adicionar ao orçamento". Quem decide é a largura do PRÓPRIO card. */
.prod-card { container-type: inline-size; }
.so-card-largo { display: none; }
@container (min-width: 300px) {
  .so-card-largo { display: inline; }
}

/* ============================================================
   PÁGINA "MEU ORÇAMENTO" (orcamento.html)
   ============================================================ */
.orc-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
  padding-bottom: 72px;
}
.orc-itens-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.orc-itens-topo h2, .orc-resumo h2 { font-size: 1.15rem; }
.orc-limpar {
  background: none;
  border: 0;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.84rem;
  text-decoration: underline;
  cursor: pointer;
}
.orc-limpar:hover { color: var(--erro); }
.orc-lista { list-style: none; display: grid; gap: 12px; }
.orc-item {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.orc-foto img { width: 88px; height: 88px; border-radius: 8px; object-fit: cover; display: block; background: #fff; }
.orc-dados { min-width: 0; }
.orc-nome { font-weight: 600; line-height: 1.35; display: block; }
.orc-nome:hover { color: var(--accent-hover); }
.orc-qtd-controle input {
  width: 48px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  -moz-appearance: textfield;
}
.orc-qtd-controle input::-webkit-outer-spin-button,
.orc-qtd-controle input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.orc-remover {
  background: none;
  border: 0;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}
.orc-remover:hover { color: var(--erro); }
.orc-continuar { display: inline-block; margin-top: 18px; color: var(--accent-hover); font-weight: 600; font-size: 0.9rem; }

.orc-resumo {
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.orc-resumo-total { color: var(--text-dim); font-size: 0.9rem; margin: 4px 0 18px; }
.orc-campo { display: grid; gap: 6px; margin-bottom: 14px; font-size: 0.86rem; font-weight: 600; }
.orc-campo em { font-style: normal; font-weight: 400; color: var(--text-dim); }
.orc-campo input, .orc-campo textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-forte);
  border-radius: 9px;
  background: var(--bg-elevated);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  resize: vertical;
}
.orc-campo input:focus, .orc-campo textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.orc-campo [aria-invalid="true"] { border-color: var(--erro); }
.orc-erro { color: var(--erro); font-weight: 600; font-size: 0.8rem; }
.orc-enviar { width: 100%; justify-content: center; margin-top: 4px; }
.orc-nota { font-size: 0.8rem; color: var(--text-dim); margin-top: 12px; }
.orc-enviado {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-size: 0.86rem;
}
.orc-enviado p { margin-bottom: 10px; }
.orc-vazio {
  max-width: 560px;
  margin: 10px auto 80px;
  text-align: center;
  color: var(--text-dim);
}
.orc-vazio-titulo { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }

@media (max-width: 900px) {
  .orc-layout { grid-template-columns: 1fr; }
  .orc-resumo { position: static; }
}
@media (max-width: 560px) {
  .orc-item { grid-template-columns: 64px 1fr; gap: 10px 12px; }
  .orc-foto img { width: 64px; height: 64px; }
  .orc-qtd-controle { grid-column: 2; justify-self: start; }
  .orc-remover { grid-column: 2; justify-self: start; }
}

/* ============================================================
   BANNER ROTATIVO DA HOME
   ------------------------------------------------------------
   Painel escuro como o site; a foto (fundo branco) entra num quadro
   branco arredondado, como na vitrine dos cards. O slide com
   `destaque: true` (sorteio, campanha) usa o painel amarelo.
   ============================================================ */
.banner-secao { padding: 22px 0 0; }
.banner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.banner-trilho { display: grid; }
.banner-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
  padding: 40px 48px 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.banner-slide.ativo { opacity: 1; visibility: visible; }
.banner-etiqueta {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--sobre-accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.banner-titulo {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  text-wrap: balance;
}
.banner-texto p { color: var(--text-dim); max-width: 34rem; margin-bottom: 22px; }
.banner-imagem {
  width: 100%;
  max-width: 340px;
  max-height: 300px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  justify-self: center;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
}
.banner-controles {
  position: absolute;
  left: 48px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.banner-pontos { display: flex; gap: 6px; }
.banner-ponto {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}
.banner-ponto.ativo { width: 26px; background: var(--accent); }
.banner-seta, .banner-pausa {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-forte);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.banner-pausa { font-size: 0.62rem; letter-spacing: -1px; }
.banner-seta:hover, .banner-pausa:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 820px) {
  .banner-slide { grid-template-columns: 1fr; padding: 26px 22px 64px; gap: 8px; }
  .banner-imagem { max-height: 180px; max-width: 180px; order: -1; }
  .banner-controles { left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slide { transition: none; }
}

/* Slide em destaque (sorteio, campanhas): painel amarelo, texto preto.
   Os pontos/setas ficam por cima do mesmo painel, então mudam junto. */
.banner-slide.destaque { background: var(--accent); color: var(--sobre-accent); }
.banner-slide.destaque .banner-texto p { color: #2a2200; }
.banner-slide.destaque .banner-etiqueta { background: var(--sobre-accent); color: var(--accent); }
.banner-slide.destaque .btn-primary { background: var(--sobre-accent); color: var(--accent); }
.banner-slide.destaque .btn-primary:hover { background: #262626; }
.banner-slide.destaque a:focus-visible { outline-color: var(--sobre-accent); }
.banner-detalhes { list-style: none; display: grid; gap: 6px; margin: -8px 0 20px; font-size: 0.92rem; font-weight: 600; }
.banner-detalhes li { display: flex; gap: 8px; align-items: flex-start; }
.banner-detalhes svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.banner-ilustracao { width: 100%; max-width: 300px; justify-self: center; color: var(--sobre-accent); }
.banner-ilustracao svg { width: 100%; height: auto; display: block; }
.banner.no-destaque .banner-ponto { background: rgba(11, 11, 11, 0.3); }
.banner.no-destaque .banner-ponto.ativo { background: var(--sobre-accent); }
.banner.no-destaque .banner-seta, .banner.no-destaque .banner-pausa {
  background: var(--sobre-accent); color: var(--accent); border-color: var(--sobre-accent);
}
.banner.no-destaque .banner-seta:hover, .banner.no-destaque .banner-pausa:hover { background: #262626; }
@media (max-width: 820px) {
  .banner-ilustracao { max-width: 150px; order: -1; }
}
