/* Poppins (licença livre SIL OFL), hospedada no próprio site — subconjunto latino, cobre o português */
@font-face { font-family: "Poppins"; font-weight: 200; font-style: normal; font-display: swap; src: url("../fonts/poppins-200.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --bg: #0d0d0d;
  --bg-2: #161616;
  --bg-3: #1f1f1f;
  --line: rgba(255, 255, 255, .09);
  --yellow: #f5a800;
  --yellow-dark: #c88700;
  --accent-text: var(--yellow);   /* amarelo usado em TEXTO (no tema claro fica mais escuro p/ dar contraste) */
  --text: #f2f2f2;
  --muted: #a8a8a8;
  --soft: #dcdcdc;                /* texto de apoio fino (peso 200) */
  --grad-a: #1b1500;              /* fundo do banner e da faixa de contato */
  --grad-b: #0d0d0d;
  --arrow-bg: rgba(0, 0, 0, .55);
  --dot: rgba(255, 255, 255, .3);
  --shadow-img: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 4px rgba(245, 168, 0, .35);
  color-scheme: dark;
  --wa: #25d366;
  --wa-dark: #1da851;
  --ml: #ffe600;
  --ml-ink: #2d3277;
  --radius: 12px;
  /* FONTES: para trocar, declare o @font-face (arquivos em assets/fonts/) e mude só estas duas linhas */
  --font-texto: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-titulo: var(--font-texto);
}
/* TEMA CLARO (fundo branco): escolhido no painel em Configurações > Cor do site */
:root[data-tema="claro"] {
  --bg: #ffffff;
  --bg-2: #f6f6f3;
  --bg-3: #ececea;
  --line: rgba(0, 0, 0, .12);
  --accent-text: #8f5d00;
  --text: #161616;
  --muted: #5c5c5c;
  --soft: #2a2a2a;
  --grad-a: #fff1c9;
  --grad-b: #ffffff;
  --arrow-bg: rgba(255, 255, 255, .85);
  --dot: rgba(0, 0, 0, .25);
  --shadow-img: 0 14px 36px rgba(0, 0, 0, .18), 0 0 0 4px rgba(245, 168, 0, .45);
  color-scheme: light;
}
/* no fundo branco o peso 200 precisa de cor mais escura para ler bem */
:root[data-tema="claro"] .slide-txt p, :root[data-tema="claro"] .sec-head p, :root[data-tema="claro"] .contato p,
:root[data-tema="claro"] .faq details p { color: var(--soft); }
h1, h2, h3, .badge, .btn, .chip, .tag, .nav a, .features span { font-family: var(--font-titulo); }
/* par tipográfico: títulos em Bold 700 e textos de apoio grandes em ExtraLight 200 (cor mais clara para manter a leitura no fundo escuro) */
.slide-txt p, .sec-head p, .contato p, .faixa span, .texto, .faq details p { font-weight: 200; color: var(--soft); }
.faixa strong { font-weight: 700; }
.faixa-wa span, .faixa-ml span { font-weight: 400; }
.faixa-wa span { color: #052412; }
.faixa-ml span { color: var(--ml-ink); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-texto);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1.2;
  padding: 12px 18px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .arrow:focus-visible, .chip:focus-visible, .thumb:focus-visible, .dots button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-wa { background: var(--wa); color: #06210f; box-shadow: 0 6px 18px rgba(37, 211, 102, .22); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ml { background: var(--ml); color: var(--ml-ink); box-shadow: 0 6px 18px rgba(255, 230, 0, .15); }
.btn-ml:hover { background: #f2d800; }
.btn-lg { font-size: 1.1rem; padding: 16px 28px; }

/* topo */
.topbar { background: var(--yellow); color: #111; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #111; text-decoration: none; }
.header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; transition: padding .2s ease; }
.brand img { height: 104px; width: auto; transition: height .2s ease; }
/* ao rolar a página o topo encolhe para não ocupar espaço */
.header.is-compact .header-in { padding-top: 6px; padding-bottom: 6px; }
.header.is-compact .brand img { height: 56px; }
.busca { position: relative; flex: 1; max-width: 460px; }
.busca input {
  width: 100%; background: var(--bg-3); color: var(--text); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 44px 12px 18px; font: inherit; font-size: .95rem;
}
.busca input::placeholder { color: var(--muted); }
.busca input:focus { outline: 2px solid var(--yellow); border-color: transparent; }
.busca svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: var(--muted); pointer-events: none; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); transition: transform .15s ease, background .15s ease, color .15s ease; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .ponto { fill: currentColor; stroke: none; }
button.social { font: inherit; cursor: pointer; padding: 0; }
.tema-btn .icone-sol { display: none; }
:root[data-tema="escuro"] .tema-btn .icone-sol { display: block; }
:root[data-tema="escuro"] .tema-btn .icone-lua { display: none; }
.social:hover { background: var(--yellow); color: #111; border-color: var(--yellow); transform: translateY(-2px); }
.social:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--accent-text); }

/* banner */
.hero { position: relative; background: linear-gradient(120deg, var(--grad-a) 0%, var(--grad-b) 55%); border-bottom: 1px solid var(--line); overflow: hidden; }
.slides { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: aparece .5s ease; }
@keyframes aparece { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.slide-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-top: 36px; padding-bottom: 52px; min-height: 380px; }
.badge { display: inline-block; background: var(--yellow); color: #111; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; padding: 6px 12px; border-radius: 4px; }
.slide-txt h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.15; margin: 14px 0 10px; font-weight: 700; }
.slide-txt p { color: var(--muted); font-size: 1.05rem; max-width: 34em; margin-bottom: 22px; }
.slide-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.slide-img { display: flex; justify-content: center; }
.slide-img img { width: min(340px, 100%); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; padding: 8px; box-shadow: var(--shadow-img); }
.slide-img-logo img { background: none; box-shadow: none; padding: 0; width: min(300px, 100%); aspect-ratio: auto; filter: drop-shadow(0 10px 30px rgba(245, 168, 0, .2)); }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--arrow-bg); color: var(--text); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.arrow:hover { background: var(--yellow); color: #111; }
.arrow.prev { left: 12px; } .arrow.next { right: 12px; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--dot); cursor: pointer; padding: 0; }
.dots button.is-active { background: var(--yellow); width: 30px; border-radius: 8px; }

/* diferenciais */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; padding-top: 30px; padding-bottom: 30px; list-style: none; }
.features li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.features svg { width: 56px; height: 56px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.features svg .fill-bg { fill: var(--bg); }
.features span { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }

/* banners finos */
.faixas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 4px; padding-bottom: 8px; }
.faixas-uma { grid-template-columns: 1fr; }
.faixa { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 104px; padding: 14px 20px; border-radius: var(--radius); text-decoration: none; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; font-family: var(--font-titulo); }
.faixa:hover { transform: translateY(-2px); }
.faixa:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.faixa svg { width: 44px; height: 44px; fill: currentColor; flex: none; }
.faixa span { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.3; text-align: left; }
.faixa strong { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; }
.faixa-wa { background: linear-gradient(120deg, #128c4a, var(--wa)); color: #052412; box-shadow: 0 6px 20px rgba(37, 211, 102, .18); }
.faixa-ml { background: linear-gradient(120deg, #f2d800, var(--ml)); color: var(--ml-ink); box-shadow: 0 6px 20px rgba(255, 230, 0, .14); }
.faixa:has(img) { padding: 0; min-height: 0; background: none; box-shadow: none; }
.faixa img { width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* catálogo */
.catalogo { padding-top: 24px; padding-bottom: 56px; }
.sec-head { text-align: center; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.sec-head h2::after { content: ""; display: block; width: 64px; height: 5px; background: var(--yellow); border-radius: 3px; margin: 8px auto 0; }
.sec-head p { color: var(--muted); margin: 12px 0 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.chip { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--yellow); }
.chip.is-active { background: var(--yellow); color: #111; border-color: var(--yellow); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(245, 168, 0, .5); }
/* caixa da foto: quadrada, fundo branco, tamanho FIXO — a foto (de qualquer proporção) se ajusta dentro dela sem esticar nem aumentar a caixa */
.card-img { position: relative; overflow: hidden; background: #fff; aspect-ratio: 1; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 6px; padding: 8px 10px; background: #fff; border-top: 1px solid rgba(0, 0, 0, .08); overflow-x: auto; }
.thumb { flex: none; width: 44px; height: 44px; padding: 2px; background: #fff; border: 2px solid transparent; border-radius: 6px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { border-color: var(--yellow); }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 22px; }
.tag { color: var(--accent-text); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cod { color: var(--muted); font-size: .75rem; white-space: nowrap; margin-left: auto; }
.card h3 { font-size: 1.02rem; line-height: 1.3; font-weight: 700; }
.desc { color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.preco { font-weight: 700; font-size: 1.15rem; }
.card-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-btns .btn { flex: 1 1 112px; font-size: .78rem; padding: 10px 10px; gap: 7px; }
.card-btns .btn svg { width: 18px; height: 18px; }
.btn-wa, .btn-ml { text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.vazio { color: var(--muted); padding: 28px 0; text-align: center; }

.card h3 a, .slide-txt h2 a { color: inherit; text-decoration: none; }
.card h3 a:hover, .slide-txt h2 a:hover { color: var(--accent-text); }
a.card-img, a.slide-img { display: block; }

/* página da peça */
.produto-pg { padding-top: 18px; padding-bottom: 56px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.produto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.produto .galeria { overflow: hidden; }
.produto .galeria:hover { transform: none; border-color: var(--line); }
.galeria-principal { position: relative; overflow: hidden; background: #fff; aspect-ratio: 1; }
.galeria-principal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.galeria .thumb { width: 56px; height: 56px; }
.produto-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; font-weight: 700; margin: 6px 0 12px; }
.produto-info .meta { justify-content: flex-start; gap: 14px; }
.produto-info .cod { margin-left: 0; font-size: .85rem; }
.produto-info .preco { font-size: 1.6rem; margin-bottom: 12px; }
.texto { color: var(--soft); margin-bottom: 22px; font-size: 1rem; }
.produto-btns { max-width: 460px; }
.produto-btns .btn { flex: 1 1 180px; font-size: .95rem; padding: 14px 18px; }
.aviso-compat { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.relacionados { margin-top: 48px; }
.relacionados .sec-head { margin-bottom: 18px; }
.nao-achou { text-align: center; padding: 80px 16px; display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* dúvidas */
.duvidas { padding-bottom: 48px; }
.faq { max-width: 780px; margin: 18px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.faq summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

/* contato */
.contato { background: linear-gradient(120deg, var(--grad-a), var(--grad-b)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contato-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.contato h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
.contato p { color: var(--muted); margin-top: 4px; }

.footer { padding: 24px 0 32px; text-align: center; color: var(--muted); font-size: .85rem; }
.footer .empresa { margin-top: 6px; font-size: .8rem; line-height: 1.6; }
.footer .nota { font-size: .75rem; margin-top: 6px; opacity: .75; }

/* tablet */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .busca { max-width: none; }
}
/* celular */
@media (max-width: 720px) {
  .topbar .wrap { justify-content: center; }
  .topbar span { display: none; }
  .header-in { flex-wrap: wrap; gap: 8px; }
  .brand img { height: 72px; }
  .header.is-compact .brand img { height: 48px; }
  .btn-top { margin-left: auto; padding: 10px 12px; font-size: .78rem; gap: 7px; }
  .btn-top svg { width: 18px; height: 18px; }
  .social { width: 40px; height: 40px; }
  .social svg { width: 20px; height: 20px; }
  .busca { order: 3; flex-basis: 100%; }
  .slide-in { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; padding-bottom: 54px; min-height: 0; }
  .slide-img { order: -1; }
  .slide-img img { width: 200px; }
  .slide-img-logo img { width: 200px; }
  .slide-txt { text-align: center; }
  .slide-txt p { margin-left: auto; margin-right: auto; font-size: .98rem; }
  .slide-btns { justify-content: center; flex-direction: column; align-items: stretch; }
  .arrow { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px; }
  .card h3 { font-size: .92rem; }
  .desc { font-size: .8rem; -webkit-line-clamp: 3; }
  .card-btns .btn { font-size: .74rem; padding: 10px 8px; gap: 6px; }
  .card-btns .btn svg { width: 16px; height: 16px; }
  .hero { display: none; } /* no celular o banner rotativo fica oculto: vai direto para os ícones e o catálogo */
  .faixas { grid-template-columns: 1fr; gap: 12px; }
  .faixa { min-height: 88px; }
  .faixa strong { font-size: 1.1rem; }
  .produto { grid-template-columns: 1fr; gap: 20px; }
  .produto-btns { max-width: none; }
  .contato-in { flex-direction: column; text-align: center; }
  .btn-lg { font-size: 1rem; padding: 15px 22px; width: 100%; }
}
@media (max-width: 720px) { html { scroll-padding-top: 175px; } }
@media (max-width: 340px) { .grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.is-active { animation: none; }
  .btn, .card, .brand img, .header-in { transition: none; }
}
