/* ==========================================================
   Granitolit — Qualidade em cada detalhe
   ========================================================== */
:root {
  --ink: #1b1b19;
  --ink-2: #2b2b28;
  --muted: #6c6b66;
  --muted-2: #8d8b85;
  --paper: #faf9f6;
  --cream: #f6f4ef;
  --line: #e4e0d7;
  --yellow: #fdb934;
  --yellow-hover: #f2aa1f;
  --yellow-text: #f4b52f;
  --green: #08773d;
  --green-hover: #06652f;
  --green-deep: #03281b;
  --dark: #141413;
  --radius: 6px;
  --shadow-card: 0 8px 24px rgba(30, 28, 20, .06);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
svg { flex-shrink: 0; }

.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -.012em;
  color: var(--ink);
}
.display-xl { font-size: clamp(40px, 4.35vw, 64px); }
.display-lg { font-size: clamp(34px, 3.55vw, 52px); }
.display-md { font-size: clamp(30px, 3.1vw, 46px); }
.accent { color: var(--yellow-text); }
.lead { font-size: 16.5px; line-height: 1.75; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 56px;
  padding: 0 30px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(253, 185, 52, .22); }
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { height: 46px; padding: 0 26px; font-size: 13.5px; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.site-header.is-fixed {
  position: fixed;
  background: rgba(17, 17, 15, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.site-header.is-fixed .header-inner { height: 76px; }
.header-inner {
  display: flex;
  align-items: center;
  height: 92px;
  transition: height .3s;
}
/* Logo oficial (PNG transparente: branca no cabeçalho, escura no rodapé) */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.logo img { display: block; height: 42px; width: auto; transition: height .3s; }
.site-header.is-fixed .logo img { height: 36px; }
.footer-brand .logo img { height: 40px; }

.main-nav { margin-left: 68px; }
.main-nav > ul { display: flex; gap: 36px; list-style: none; }
.main-nav > ul > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  padding: 30px 0;
  color: #fff;
  transition: color .2s;
}
.nav-link svg { width: 13px; height: 13px; transition: transform .2s; }
.main-nav li:hover > .nav-link, .nav-link.active { color: var(--yellow); }
.main-nav li:hover > .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% - 14px);
  left: -18px;
  min-width: 250px;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav li:hover > .dropdown, .main-nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s, color .15s;
}
.dropdown a svg { width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: .15s; }
.dropdown a:hover { background: var(--cream); color: var(--green); }
.dropdown a:hover svg { opacity: 1; transform: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 24px; height: 24px; }
.btn-header {
  height: 48px;
  padding: 0 22px;
  background: #fff;
  color: var(--ink);
  border-radius: 7px;
  font-size: 14px;
  gap: 18px;
}
.btn-header:hover { background: var(--yellow); }
.menu-toggle { display: none; }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 12, 10, .82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: min(720px, 100%); }
.search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 0 20px;
  height: 66px;
}
.search-field svg { width: 22px; height: 22px; color: var(--muted); }
.search-field input { flex: 1; border: 0; outline: 0; font-size: 18px; background: transparent; color: var(--ink); }
.search-close { position: absolute; top: 24px; right: 28px; color: #fff; }
.search-close svg { width: 30px; height: 30px; }
.search-results { margin-top: 14px; background: #fff; border-radius: 10px; overflow: hidden; }
.search-results:empty { display: none; }
.search-results a { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--cream); }
.search-results img { width: 46px; height: 46px; object-fit: contain; }
.search-results small { display: block; color: var(--muted); font-size: 12.5px; }
.search-empty { padding: 18px; color: var(--muted); font-size: 15px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: max(680px, 51.7vw);
  max-height: 900px;
  background: #121210;
  color: #fff;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
/* Foto encostada à direita/embaixo; o JS ajusta a altura (--img-top/--img-left) para as embalagens
   não encostarem no texto. As bordas superior e esquerda da foto se dissolvem no fundo escuro,
   sem emenda nem segunda transparência. */
.hero-media {
  --img-top: 0px;
  --img-left: 0px;
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../img/hero.jpg') right bottom / auto 100% no-repeat;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent var(--img-top), #000 calc(var(--img-top) + 190px)),
    linear-gradient(to right, transparent var(--img-left), #000 calc(var(--img-left) + 240px));
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent var(--img-top), #000 calc(var(--img-top) + 190px)),
    linear-gradient(to right, transparent var(--img-left), #000 calc(var(--img-left) + 240px));
  mask-composite: intersect;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 14, 12, .72) 0%, rgba(14, 14, 12, .5) 28%, rgba(14, 14, 12, 0) 52%);
}
.hero-content { padding-top: clamp(130px, 11vw, 162px); padding-bottom: 72px; flex: 1; display: flex; flex-direction: column; }
.hero .eyebrow { color: #fff; font-size: 14px; letter-spacing: .26em; }
.hero h1 { color: #fff; margin-top: 10px; max-width: 580px; }
.hero h1 em { font-style: italic; color: var(--yellow-text); font-weight: 500; }
.hero-text { font-size: 18px; line-height: 1.62; max-width: 470px; margin: 26px 0 42px; color: rgba(255, 255, 255, .9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-features { display: flex; margin-top: auto; padding-top: 56px; }
.hero-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 46px;
  border-left: 1px solid rgba(255, 255, 255, .22);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
}
.hero-feature:first-child { padding-left: 0; border-left: 0; }
.hero-feature svg { width: 34px; height: 34px; stroke-width: 1.4; }

/* ==========================================================
   CATEGORIES STRIP
   ========================================================== */
.cats {
  position: relative;
  z-index: 3;
  margin-top: -20px;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid var(--line);
}
/* "Preparação de Superfícies" é o título mais longo: a 3ª coluna recebe mais espaço para caber em uma linha */
.cats-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1.3fr) minmax(0, 1.12fr); padding: 46px 0 40px; }
.cat {
  display: flex;
  gap: 18px;
  padding: 4px 30px 4px 32px;
  border-left: 1px solid var(--line);
  transition: transform .2s;
}
.cat > div { min-width: 0; }
.cat:first-child { border-left: 0; padding-left: 4px; }
.cat svg.cat-icon { width: 40px; height: 40px; stroke-width: 1.35; color: var(--ink); }
.cat h3 { font-family: var(--serif); font-size: 18.5px; font-weight: 500; line-height: 1.3; text-wrap: balance; }
.cat p { font-size: 13.5px; line-height: 1.6; color: var(--muted-2); margin: 8px 0 10px; max-width: 240px; }
.cat .cat-arrow { width: 17px; height: 17px; transition: transform .2s; }
.cat:hover h3 { color: var(--green); }
.cat:hover .cat-arrow { transform: translateX(5px); }

/* ==========================================================
   PRODUCTS
   ========================================================== */
.products { background: var(--cream); padding: 74px 0 12px; position: relative; z-index: 2; }
.products-carousel { min-width: 0; }
.products-grid { display: grid; grid-template-columns: 37% minmax(0, 1fr); gap: 48px; align-items: start; }
.products-intro { padding-top: 40px; }
.products-intro h2 { margin: 14px 0 26px; }
.products-intro .lead { max-width: 430px; }
.products-intro .btn { margin-top: 32px; }

.tabs-bar { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  padding: 10px 26px 16px;
  font-size: 15px;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color .2s;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); font-weight: 600; }
.tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--yellow); border-radius: 2px; }
.carousel-arrows { margin-left: auto; display: flex; gap: 12px; padding-bottom: 8px; }
.arrow-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  transition: background .2s, color .2s;
}
.arrow-btn svg { width: 18px; height: 18px; }
.arrow-btn:hover { background: var(--ink); color: #fff; }

.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  gap: 14px;
  margin-top: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.product-track::-webkit-scrollbar { display: none; }
.product-card {
  scroll-snap-align: start;
  background: #fff;
  border-radius: 9px;
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(30, 28, 20, .1); }
.product-card .pimg { height: 200px; display: block; }
.product-card .pimg img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { font-size: 14px; font-weight: 500; line-height: 1.5; margin-top: 16px; min-height: 63px; }
.product-card .weight { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted-2); margin: 10px 0 18px; }
.product-card .weight svg { width: 14px; height: 14px; }
.product-card .btn { height: 42px; width: 100%; font-size: 13.5px; gap: 10px; margin-top: auto; }
.product-card .btn svg { width: 15px; height: 15px; }
/* ==========================================================
   CALCULADORA DE CONSUMO
   ========================================================== */
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.calc-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); padding: 34px 34px 28px; }
.calc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.calc-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green); box-shadow: inset 0 0 0 1px var(--line); flex-shrink: 0; }
.calc-icon svg { width: 30px; height: 30px; }
.calc-head h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; scroll-margin-top: 120px; }
.calc-head p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc-field.full { grid-column: 1 / -1; }
.calc-field label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; }
.calc-input { position: relative; display: flex; align-items: center; border: 1px solid #dcd8ce; border-radius: 8px; background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; }
.calc-input:focus-within { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(8, 119, 61, .1); }
.calc-input input, .calc-input select { flex: 1; min-width: 0; padding: 13px 14px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.calc-input .unit { padding: 0 14px; font-size: 13.5px; font-weight: 600; color: var(--muted-2); }
.calc-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.calc-select svg { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.calc-btn { align-self: flex-start; margin-top: 22px; height: 50px; }
.calc-result {
  margin-top: 22px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px dashed #d8d3c8;
  background: var(--cream);
  transition: background .3s, color .3s, border-color .3s;
}
.calc-result.is-ready { border-color: transparent; color: #fff; background: radial-gradient(ellipse at 90% 0%, rgba(28, 92, 60, .6), transparent 60%), linear-gradient(135deg, #0b3a27, #03281b); }
.calc-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.calc-value { display: block; margin-top: 4px; font-family: var(--serif); font-size: 46px; font-weight: 400; line-height: 1.05; color: var(--yellow-text); }
.calc-value small { font-size: 22px; color: #fff; }
.calc-safe { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.calc-safe b { color: #fff; }
.calc-details { list-style: none; display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
.calc-details li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.calc-details b { color: #fff; font-weight: 600; }
.calc-hint { font-size: 14.5px; color: var(--muted); }
.calc-error { font-size: 14.5px; font-weight: 500; color: #b3261e; }
.calc-products { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.calc-products a { font-weight: 600; color: var(--green); }
.calc-products a:hover { text-decoration: underline; text-underline-offset: 3px; }
.calc-how { margin-top: 24px; }

/* Escolha do produto (com foto) */
.calc-field-label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; }
.calc-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc-picker-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.calc-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 9px;
  border: 1.5px solid #e2ded4;
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
  transition: border-color .2s, box-shadow .2s, color .2s, transform .2s;
}
.calc-pick img { width: 100%; height: 72px; object-fit: contain; }
.calc-picker:not(.calc-picker-5) .calc-pick { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; font-size: 13.5px; text-align: left; }
.calc-picker:not(.calc-picker-5) .calc-pick img { width: 48px; height: 60px; }
.calc-pick:hover { border-color: #c9c3b6; transform: translateY(-1px); }
.calc-pick[aria-checked="true"] { border-color: var(--green); color: var(--ink); box-shadow: 0 0 0 3px rgba(8, 119, 61, .12); }

/* Produto no resultado + cotação */
.calc-buy { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
.calc-buy-img { flex: 0 0 92px; height: 112px; display: grid; place-items: center; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: transform .2s; }
.calc-buy-img:hover { transform: translateY(-2px); }
.calc-buy-img img { width: 100%; height: 100%; object-fit: contain; }
.calc-buy-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.calc-buy-info strong { font-size: 16px; line-height: 1.35; color: #fff; }
.calc-buy-qty { font-family: var(--serif); font-size: 20px; color: var(--yellow-text); }
.calc-buy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.calc-buy-link svg { width: 14px; height: 14px; transition: transform .2s; }
.calc-buy-link:hover { color: #fff; }
.calc-buy-link:hover svg { transform: translateX(3px); }
.calc-quote { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.calc-quote .btn { gap: 10px; }
.calc-quote .btn svg { width: 18px; height: 18px; }
.calc-quote .btn:hover svg { transform: none; }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
@media (max-width: 1240px) and (min-width: 981px) {
  .calc-picker-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .calc-picker-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-quote .btn { width: 100%; }
}
@media (max-width: 980px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .calc-card { padding: 26px 20px 22px; }
  .calc-fields { grid-template-columns: minmax(0, 1fr); }
  .calc-btn { width: 100%; }
  .calc-value { font-size: 38px; }
}

/* ==========================================================
   PONTOS DE VENDA (Onde Encontrar)
   ========================================================== */
.stores { background: var(--paper); padding-top: 70px; scroll-margin-top: 70px; }
.stores-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.stores-head h2 { margin-top: 12px; }
.stores-summary { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.stores-summary b { color: var(--ink); }
.stores-head .btn svg { width: 18px; height: 18px; }
.stores-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.stores-list { display: grid; gap: 14px; max-height: 640px; overflow-y: auto; padding: 2px 6px 6px 2px; scrollbar-width: thin; }
.stores.is-loading .stores-list { opacity: .5; pointer-events: none; }
.stores-map-wrap { position: sticky; top: 96px; }
.stores-map { height: 640px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); background: #e9e6de; z-index: 0; }
.stores-note { padding: 14px 18px; border-radius: 10px; background: #fff7e6; color: #8a5a00; font-size: 14.5px; }
.store-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.store-card:hover { transform: translateY(-2px); }
.store-card.is-active { border-color: var(--green); }
.store-logo { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.store-logo img { width: 100%; height: 100%; object-fit: contain; }
.store-logo span { font-family: var(--serif); font-size: 26px; color: var(--green); }
.store-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.store-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.store-tag { padding: 3px 10px; border-radius: 20px; background: var(--cream); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.store-tag.is-fabrica { background: #fff1d6; color: #8a5a00; }
.store-dist { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--green); }
.store-dist svg { width: 15px; height: 15px; }
.store-card h3 { margin-top: 8px; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.3; }
.store-addr { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.store-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.store-tel svg { width: 16px; height: 16px; color: var(--green); }
.store-tel:hover { color: var(--green); }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.store-actions .btn { height: 40px; padding: 0 18px; gap: 8px; font-size: 13.5px; }
.store-actions .btn svg { width: 16px; height: 16px; }
.store-actions .btn:hover svg { transform: none; }
.stores-cta { padding: 20px; border-radius: 12px; border: 1px dashed #d8d3c8; text-align: center; }
.stores-cta p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.stores-cta .btn { gap: 8px; }
.stores-cta .btn svg { width: 17px; height: 17px; }
/* Marcadores do mapa */
.store-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--green);
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
  color: #fff;
  font: 600 13px/1 var(--sans);
}
.store-pin i { transform: rotate(45deg); font-style: normal; }
.store-pin-fabrica { background: var(--yellow); color: var(--ink); }
.store-pin-voce { width: 22px; height: 22px; border-radius: 50%; transform: none; background: #2563eb; margin: 10px 0 0 6px; box-shadow: 0 0 0 6px rgba(37, 99, 235, .2); }
.stores-map .leaflet-tile-pane { filter: grayscale(.55) saturate(.9) brightness(1.04); }
.leaflet-popup-content { font: 14px/1.5 var(--sans); }
.leaflet-popup-content a { color: var(--green); font-weight: 600; }
@media (max-width: 980px) {
  .stores-grid { grid-template-columns: minmax(0, 1fr); }
  .stores-map-wrap { position: static; order: -1; }
  .stores-map { height: 360px; }
  .stores-list { max-height: none; overflow: visible; }
  .stores-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .store-card { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .store-logo { width: 56px; height: 56px; }
  .store-dist { margin-left: 0; }
}

/* Linha sem produtos cadastrados: painel na largura toda (no carrossel e na grade de Produtos) */
.product-track.is-empty { display: block; overflow: visible; }
.empty-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 360px;
  padding: 48px 56px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 185, 52, .14), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(8, 119, 61, .06), transparent 40%),
    #fff;
  box-shadow: var(--shadow-card);
  color: var(--muted);
}
.empty-icon {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--line);
}
.empty-icon svg { width: 60px; height: 60px; }
.empty-body .eyebrow { font-size: 12px; }
.empty-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; color: var(--ink); margin: 10px 0 12px; }
.empty-lead { font-size: 17px; color: var(--ink-2); margin-bottom: 6px; }
.empty-body p { font-size: 15.5px; line-height: 1.65; max-width: 520px; }
.empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.btn-outline-green { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.empty-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.empty-link svg { width: 16px; height: 16px; transition: transform .2s; }
.empty-link:hover { color: var(--green); }
.empty-link:hover svg { transform: translateX(4px); }
.arrow-btn[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 680px) {
  .empty-card { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 32px 24px; min-height: 0; }
  .empty-icon { width: 84px; height: 84px; }
  .empty-icon svg { width: 42px; height: 42px; }
  .empty-actions .btn { width: 100%; }
}

/* ==========================================================
   SOLUTIONS
   ========================================================== */
.solutions { background: var(--paper); }
.solutions-top { display: grid; grid-template-columns: 60% 40%; align-items: center; }
.solutions-img { height: clamp(360px, 32vw, 470px); overflow: hidden; }
.solutions-img img { width: 100%; height: 100%; object-fit: cover; }
.solutions-text { padding: 40px clamp(24px, 4.5vw, 70px) 40px clamp(28px, 3.9vw, 56px); }
.solutions-text h2 { margin: 18px 0 26px; }
.solutions-text .lead { max-width: 440px; }
.solutions-text .btn { margin-top: 34px; }
.envs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 28px 0 44px; }
.env { display: block; }
.env-img { border-radius: 8px; overflow: hidden; aspect-ratio: 173 / 67; }
.env-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.env:hover .env-img img { transform: scale(1.06); }
.env-label { display: flex; align-items: center; gap: 22px; margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.env-label svg { width: 32px; height: 32px; stroke-width: 1.35; }
.env:hover .env-label { color: var(--green); }

/* ==========================================================
   TECHNOLOGY
   ========================================================== */
.tech {
  position: relative;
  background: var(--dark) url('../img/tecnologia.jpg') left center / cover no-repeat;
  color: #fff;
  min-height: clamp(420px, 27.8vw, 520px);
  display: flex;
  align-items: center;
}
.tech-content { margin-left: 63.4%; padding: 46px 40px 46px 0; max-width: 560px; }
.tech .eyebrow { color: rgba(255, 255, 255, .72); }
.tech h2 { color: #fff; margin: 16px 0 24px; }
.tech p { font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, .88); }
.tech .btn { margin-top: 28px; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about { display: grid; grid-template-columns: 38% 62%; background: var(--paper); }
.about-text {
  padding: 50px clamp(24px, 4vw, 60px) 60px max(24px, calc((100vw - 1280px) / 2));
  background:
    radial-gradient(ellipse at 90% 80%, rgba(225, 220, 208, .55), transparent 55%),
    linear-gradient(180deg, #fbfaf7, #f4f2ec);
}
.about-text h2 { margin: 18px 0 24px; font-size: clamp(32px, 3.1vw, 44px); }
.about-text .lead { font-size: 15.5px; max-width: 470px; }
.about-text .btn { margin-top: 30px; }
.about-media { position: relative; min-height: clamp(400px, 29vw, 480px); }
.about-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stats {
  position: absolute;
  left: 16px;
  right: clamp(24px, 4.2vw, 62px);
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  background: rgba(22, 22, 20, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 24px 12px;
  color: #fff;
}
/* Cada item centralizado na sua coluna: número em cima, texto embaixo */
.stat { padding: 0 12px; border-left: 1px solid rgba(255, 255, 255, .2); text-align: center; }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.05; color: var(--yellow-text); }
.stat span { display: block; font-size: 13.5px; margin-top: 8px; color: rgba(255, 255, 255, .92); white-space: nowrap; }
.stat-br { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.stat-br svg { width: 50px; height: 50px; stroke-width: 1.2; }
.stat-br b { display: block; font-size: 18px; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.stat-br small { white-space: nowrap; }
.stat-star { font-style: normal; font-size: .5em; margin-left: 6px; vertical-align: .55em; }
.stat-link { color: inherit; transition: opacity .2s; }
.stat-link:hover { opacity: .85; }
.stat-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.stat-br small { font-size: 13px; color: rgba(255, 255, 255, .85); }

/* ==========================================================
   FIND (green CTA)
   ========================================================== */
.find {
  position: relative;
  z-index: 3;
  margin-top: -16px;
  border-radius: 16px 16px 0 0;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .05) 63%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(80deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .04) 44%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(ellipse at 70% 20%, rgba(28, 92, 60, .55), transparent 60%),
    radial-gradient(ellipse at 15% 100%, rgba(10, 60, 38, .5), transparent 55%),
    linear-gradient(90deg, #02251a 0%, #063421 45%, #052e1f 75%, #03271b 100%);
}
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 0 50px; }
.find .eyebrow { color: rgba(255, 255, 255, .9); }
.find h2 { color: #fff; margin-top: 12px; }
.find-side p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .92); max-width: 470px; }
.cep-form { display: flex; gap: 14px; margin-top: 22px; }
.cep-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 20px;
  background: #fbfaf7;
  border-radius: 7px;
  color: var(--ink);
  max-width: 450px;
}
.cep-input svg { width: 22px; height: 22px; }
.cep-input input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); min-width: 0; }
.cep-input input::placeholder { color: var(--muted-2); }
.cep-form .btn { height: 58px; padding: 0 34px; }
.cep-result { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .95); min-height: 0; }
.cep-result a:not(.btn) { color: var(--yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cep-result.error { color: #ffd3c4; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--cream); padding: 52px 0 64px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1.2fr 1.38fr 1.36fr; }
.footer-col { padding: 0 34px; border-left: 1px solid var(--line); }
.footer-col:first-child { padding-left: 0; border-left: 0; }
.footer-brand .tagline { display: block; margin-top: 4px; white-space: nowrap; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #6f8b78; }
.footer-col h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col li a { display: inline-block; font-size: 14.5px; line-height: 2; color: var(--muted-2); transition: color .2s; }
.footer-col li a:hover { color: var(--green); }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--muted-2); line-height: 2.6; }
.contact-list svg { width: 20px; height: 20px; color: var(--ink); }
.socials { display: flex; gap: 20px; margin-top: 18px; }
.socials a { color: var(--ink); transition: color .2s, transform .2s; }
.socials a:hover { color: var(--green); transform: translateY(-2px); }
.socials svg { width: 25px; height: 25px; }
.newsletter h4 { margin-top: 14px; }
.news-form { display: flex; margin-top: 12px; }
.news-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #d9d5cb;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #fff;
  font-size: 14px;
  outline: 0;
}
.news-form input:focus { border-color: var(--green); }
.news-form button { width: 52px; height: 52px; margin-top: -1px; background: var(--ink); color: #fff; border-radius: 6px; display: grid; place-items: center; transition: background .2s; }
.news-form button:hover { background: var(--green); }
.news-form button svg { width: 20px; height: 20px; }
.newsletter p { font-size: 13.5px; line-height: 1.6; color: var(--muted-2); margin-top: 12px; }
.form-msg { font-size: 13.5px; margin-top: 10px; color: var(--green); font-weight: 500; }
.form-msg.error { color: #b3261e; }

/* ==========================================================
   INTERNAL PAGES
   ========================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 190px 0 110px;
  background: #121210 center / cover no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 14, 12, .86) 0%, rgba(14, 14, 12, .62) 45%, rgba(14, 14, 12, .3) 100%);
}
.page-hero .eyebrow { color: rgba(255, 255, 255, .85); }
.page-hero h1 { color: #fff; margin-top: 14px; max-width: 760px; }
.page-hero p { font-size: 18px; line-height: 1.65; max-width: 560px; margin-top: 22px; color: rgba(255, 255, 255, .9); }
/* Banner baixo (calculadora): o conteúdo da página já aparece ao abrir */
.page-hero.page-hero-compact { padding: 128px 0 40px; }
.page-hero-compact .breadcrumb { margin-bottom: 14px; }
.page-hero-compact h1 { font-size: clamp(30px, 2.9vw, 44px); max-width: none; margin-top: 8px; }
.page-hero-compact p { font-size: 16px; max-width: 720px; margin-top: 12px; }
.page-hero-compact + .calc-section { padding-top: 36px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .7); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--yellow); }

.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-head h2 { margin-top: 14px; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.catalog-grid .product-card .pimg { height: 230px; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.pd-media { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); padding: 50px; display: grid; place-items: center; min-height: 480px; }
.pd-media img { width: 100%; height: 420px; object-fit: contain; }
.pd-info h1 { margin: 14px 0 20px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.pd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 40px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pd-chip svg { width: 16px; height: 16px; color: var(--green); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pd-subline { margin: -8px 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 30px; }
.pd-tags:empty { display: none; }
.pd-chip-tag { background: #eef6f0; border-color: #d3e8da; color: var(--green); }
.pd-chip-tag svg { color: var(--green); }
.pd-blocks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 60px; }
.pd-block { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); padding: 28px 30px; }
.pd-block h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 14px; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pd-specs th, .pd-specs td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pd-specs tr:last-child th, .pd-specs tr:last-child td { border-bottom: 0; }
.pd-specs th { width: 38%; padding-right: 16px; font-weight: 600; color: var(--ink); }
.pd-specs td { color: var(--muted); }
.pd-apps { list-style: none; display: grid; gap: 12px; }
.pd-apps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.pd-apps svg { width: 18px; height: 18px; margin-top: 3px; color: var(--green); flex-shrink: 0; }
.pd-blocks[hidden], .pd-block[hidden], .pd-guide[hidden] { display: none; }
.pd-blocks + .pd-blocks { margin-top: 20px; }
.pd-about p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.pd-about p + p { margin-top: 14px; }
.pd-benefits { display: grid; gap: 16px; }
.pd-benefit { display: flex; gap: 12px; align-items: flex-start; }
.pd-benefit svg { width: 18px; height: 18px; margin-top: 3px; color: var(--green); flex-shrink: 0; }
.pd-benefit strong { display: block; font-size: 15px; color: var(--ink); }
.pd-benefit p { margin-top: 2px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.pd-docs { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.pd-docs:empty { display: none; }
.pd-doc { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green); border-bottom: 1px solid transparent; transition: border-color .2s; }
.pd-doc:hover { border-bottom-color: var(--green); }
.pd-doc svg { width: 18px; height: 18px; }
.pd-guide { margin-top: 20px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); }
.pd-guide summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 30px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.pd-guide summary::-webkit-details-marker { display: none; }
.pd-guide summary::after { content: '+'; font-family: var(--sans); font-size: 26px; font-weight: 300; color: var(--green); transition: transform .2s; }
.pd-guide[open] summary::after { transform: rotate(45deg); }
.pd-guide-body { padding: 0 30px 26px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.pd-guide-body ul { margin: 12px 0; padding-left: 20px; display: grid; gap: 6px; }
.pd-guide-body strong { color: var(--ink); }
.pd-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 70px; }
.pd-feature { background: #fff; border-radius: 10px; padding: 26px; box-shadow: var(--shadow-card); }
.pd-feature svg { width: 34px; height: 34px; stroke-width: 1.4; color: var(--green); }
.pd-feature h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 14px 0 6px; }
.pd-feature p { font-size: 14px; color: var(--muted); }

.env-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.env-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); scroll-margin-top: 110px; }
.env-card .env-img { border-radius: 0; aspect-ratio: 16 / 7; }
.env-card-body { padding: 26px 30px 30px; }
.env-card-body .env-label { margin-top: 0; font-size: 20px; font-family: var(--serif); font-weight: 500; }
.env-card-body p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.env-card-body .btn { margin-top: 20px; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value { padding: 30px 26px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); }
.value svg { width: 36px; height: 36px; stroke-width: 1.35; color: var(--ink); }
.value h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 16px 0 8px; }
.value p { font-size: 14.5px; color: var(--muted); }

.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.content-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.content-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(30, 28, 20, .1); }
.content-card .cc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.content-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.content-card .cc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.content-card .eyebrow { font-size: 11.5px; }
.content-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.25; margin: 10px 0 10px; }
.content-card p { font-size: 14.5px; color: var(--muted); }
.content-card .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--green); }
.content-card .more svg { width: 16px; height: 16px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 30px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-card); }
.contact-card svg { width: 26px; height: 26px; color: var(--green); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card strong { font-weight: 600; font-size: 16px; }
.form-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); padding: 40px; }
.form-card h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dcd8ce;
  border-radius: 7px;
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: 0;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; }

.find-page .cep-input { max-width: none; border: 1px solid var(--line); background: #fff; }
.find-page .cep-result { color: var(--ink); font-size: 15.5px; }
.find-page .cep-result a:not(.btn) { color: var(--green); }
.find-page .cep-result.error { color: #b3261e; }
.result-card { margin-top: 22px; padding: 24px 26px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); }
.result-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.result-card p { color: var(--muted); margin: 6px 0 16px; font-size: 15px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1280px) {
  .cat h3 { white-space: normal; }
  .main-nav { margin-left: 44px; }
  .main-nav > ul { gap: 26px; }
  .cat { padding: 4px 26px; }
  .hero-feature { padding: 0 32px; }
}
@media (max-width: 1100px) {
  .main-nav > ul { gap: 18px; }
  .nav-link { font-size: 14px; }
  .header-actions { gap: 10px; }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .cat:nth-child(3) { border-left: 0; padding-left: 4px; }
  .products-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .products-intro { padding-top: 0; }
  .product-track { grid-auto-columns: calc((100% - 28px) / 3); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .footer-col:nth-child(4) { padding-left: 0; border-left: 0; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values, .pd-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Header: wider container + menu hamburguer abaixo de 1240px (6 itens no menu + logo oficial) */
.site-header .container { width: min(1400px, 100% - 48px); }
.nav-link { white-space: nowrap; }
.main-nav { margin-left: 52px; }
.main-nav > ul { gap: 30px; }
.header-actions { gap: 16px; }
@media (max-width: 1500px) {
  .logo img { height: 38px; }
  .main-nav { margin-left: 34px; }
  .main-nav > ul { gap: 22px; }
  .nav-link { font-size: 14.5px; }
  .header-actions { gap: 10px; }
  .btn-header { padding: 0 18px; }
}
@media (max-width: 1366px) {
  .logo img { height: 34px; }
  .main-nav { margin-left: 26px; }
  .main-nav > ul { gap: 18px; }
  .nav-link { font-size: 14px; gap: 5px; }
  .btn-header { padding: 0 16px; gap: 12px; font-size: 13.5px; }
}
@media (max-width: 1240px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    margin: 0;
    background: #121210;
    padding: 96px 26px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .3);
  }
  .nav-open .main-nav { transform: none; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 16px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px; display: none; min-width: 0; }
  .main-nav li.open > .dropdown { display: block; }
  .main-nav li.open > .nav-link svg { transform: rotate(180deg); }
  .main-nav li:hover > .nav-link svg { transform: none; }
  .dropdown a { color: rgba(255, 255, 255, .8); padding: 10px 12px; }
  .dropdown a:hover { background: rgba(255, 255, 255, .06); color: var(--yellow); }
  .menu-toggle { display: grid; position: relative; z-index: 2; }
  .btn-header { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: .3s; z-index: -1; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 980px) {
  .hero { min-height: 760px; max-height: none; }
  .hero-media { background-size: cover; background-position: 78% center; -webkit-mask-image: none; mask-image: none; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 14, 12, .82) 0%, rgba(14, 14, 12, .62) 55%, rgba(14, 14, 12, .45) 100%); }
  .hero-features { flex-wrap: wrap; row-gap: 26px; }
  .hero-feature { width: 50%; padding: 0 0 0 20px; }
  .hero-feature:nth-child(odd) { padding-left: 0; border-left: 0; }
  .solutions-top { grid-template-columns: 1fr; }
  .solutions-text { padding: 46px 24px; }
  .envs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech { background-position: 20% center; }
  .tech::before { content: ''; position: absolute; inset: 0; background: rgba(15, 15, 13, .66); }
  .tech-content { position: relative; margin: 0 auto; width: min(1280px, 100% - 48px); padding: 70px 0; }
  .about { grid-template-columns: 1fr; }
  .about-text { padding: 60px 24px; }
  .about-media { min-height: 520px; }
  .find-grid { grid-template-columns: 1fr; }
  .product-detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .env-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .logo img { height: 34px; }
  .header-inner { height: 76px; }
  .hero-content { padding-top: 120px; }
  .hero-text { font-size: 16.5px; }
  .hero-ctas .btn { width: 100%; }
  .cats-grid { grid-template-columns: 1fr; padding: 34px 0 26px; }
  .cat, .cat:nth-child(3) { border-left: 0; padding: 18px 4px; border-top: 1px solid var(--line); }
  .cat:first-child { border-top: 0; }
  .products { padding-top: 56px; }
  .tabs-bar { flex-wrap: wrap; }
  .carousel-arrows { display: none; }
  .tab { padding: 10px 16px 14px; font-size: 14px; }
  .product-track { grid-auto-columns: 74%; }
  .envs { gap: 18px; }
  .env-label { gap: 12px; font-size: 13.5px; }
  .stats { left: 12px; right: 12px; grid-template-columns: 1fr 1fr; padding: 20px; }
  .stat { padding: 0 8px; }
  .stat span { white-space: normal; }
  .about-media { min-height: 560px; }
  .cep-form { flex-direction: column; }
  .cep-input { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { padding: 26px 0 0; border-left: 0; }
  .footer-col:first-child { padding-top: 0; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog-grid .product-card { padding: 14px 12px; }
  .catalog-grid .product-card .btn { padding: 0 10px; font-size: 12.5px; }
  .catalog-grid .product-card .pimg { height: 160px; }
  .values, .pd-features, .content-grid, .form-row, .pd-blocks { grid-template-columns: 1fr; }
  .page-hero { padding: 150px 0 80px; }
  .page-hero.page-hero-compact { padding: 104px 0 30px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .pd-media { min-height: 340px; padding: 30px; }
  .form-card { padding: 26px; }
}
/* ==========================================================
   COMPANY INFO (visita, horário, mapa, dados institucionais)
   ========================================================== */
@media (min-width: 1101px) {
  .footer-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1.12fr) minmax(0, 1.6fr) minmax(0, 1.3fr); }
}
/* Telas grandes: as 4 primeiras colunas têm a largura do próprio texto (nunca se sobrepõem) e a newsletter ocupa o resto */
@media (min-width: 1401px) {
  .footer-grid { grid-template-columns: max-content max-content max-content max-content minmax(0, 1fr); }
}
@media (min-width: 1101px) {
  .footer-col { padding: 0 28px; }
  .footer-col:first-child { padding-left: 0; }
  .footer-col li a, .contact-list li { white-space: nowrap; }
}
.contact-list a { color: inherit; transition: color .2s; min-width: 0; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--green); }
.site-footer { padding-bottom: 30px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 30px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

.visit { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: stretch; }
.visit-info h2 { margin: 14px 0 18px; }
.visit-info .lead { margin-top: 18px; max-width: 520px; }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13.5px;
  color: var(--muted);
  transition: border-color .2s, box-shadow .2s;
}
.rating-badge:hover { border-color: var(--yellow); box-shadow: var(--shadow-card); }
.rating-badge strong { font-size: 15px; color: var(--ink); }
.rating-badge .stars { display: inline-flex; gap: 1px; color: var(--yellow); }
.rating-badge .stars svg { width: 16px; height: 16px; }
.visit-list { list-style: none; display: grid; gap: 16px; margin: 26px 0; }
.visit-list li { display: flex; gap: 16px; align-items: flex-start; }
.visit-list svg { width: 22px; height: 22px; margin-top: 3px; color: var(--green); }
.visit-list small { display: block; font-size: 12.5px; color: var(--muted-2); }
.visit-list span, .visit-list a { font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.visit-list a:hover { color: var(--green); }
.hours { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); padding: 20px 22px; }
.hours-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hours-head svg { width: 20px; height: 20px; color: var(--green); }
.hours-head strong { font-size: 15px; }
.open-status { margin-left: auto; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 30px; }
.open-status:empty { display: none; }
.open-status.is-open { background: #e3f3e8; color: var(--green); }
.open-status.is-closed { background: #fbe9e7; color: #b3261e; }
.hours-table { list-style: none; }
.hours-table li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.hours-table li:last-child { border-bottom: 0; }
.hours-table li.today { color: var(--ink); font-weight: 600; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.map-frame { position: relative; min-height: 460px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); background: #e9e6de; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link {
  position: absolute;
  right: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.map-link svg { width: 15px; height: 15px; }
.map-link:hover { color: var(--green); }

.legal { background: var(--cream); }
.legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.legal-grid > div { background: #fff; border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.legal-grid dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.legal-grid dd { margin-top: 8px; font-size: 15.5px; font-weight: 500; line-height: 1.5; }

/* Caixa de números alinhada à faixa inferior da foto da fábrica (63%–95% da altura) */
@media (min-width: 1101px) {
  .stats { top: 59.5%; bottom: 4.5%; align-content: center; }
}
@media (min-width: 1101px) and (max-width: 1400px) {
  .footer-col { padding: 0 18px; }
  .footer-col li a, .contact-list li { white-space: normal; }
  .contact-list li { line-height: 1.5; padding: 6px 0; }
  .stat-br { gap: 10px; }
  .stat-br svg { width: 40px; height: 40px; }
  .stat-br b { font-size: 16px; }
}

.result-card .result-extra { margin-top: -6px; font-size: 14px; color: var(--green); font-weight: 500; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .map-frame { min-height: 380px; }
  .legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; }
  .visit-actions .btn { width: 100%; }
  .contact-card strong { font-size: 14.5px; word-break: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
