/* =============================================================
   styles.css — Alta Trade Home (réplica fiel do design Canva)
   Cores e fonte vêm do content.json (injetadas como CSS vars
   por render.js); os valores abaixo são fallback.
   ============================================================= */

:root {
  --green: #00923F;
  --green-btn: #2BA352;
  --green-dark: #1D563C;
  --ink: #181B23;
  --gray-bg: #F6F6F6;
  --card-bg: #FFFFFF;
  --heading: #20242B;
  --body: #6B7280;
  --border: #ECECEC;
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --page-w: 1366px;     /* largura do canvas original (1024.5pt @96dpi) */
  --container: 1180px;  /* coluna de conteúdo centralizada */
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* evita flash de conteúdo antes do render */
html[data-render="pending"] body { opacity: 0; }
html[data-render="done"] body,
html[data-render="error"] body { opacity: 1; transition: opacity .2s ease; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* página = canvas centralizado em largura fixa */
body > header,
body > section,
body > footer { width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.hl { color: var(--green); }

/* =================== BOTÕES =================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

.btn-solid {
  background: linear-gradient(180deg, var(--green-btn), var(--green));
  color: #fff;
}
.btn-light { background: #fff; color: var(--green-dark); }

.btn-lg { font-size: 16px; padding: 15px 26px; border-radius: 9px; }
.btn-sm { font-size: 13.5px; padding: 10px 16px; border-radius: 7px; }

/* glifo "alta" (imagem) + chevron dentro dos botões */
.mark { width: 18px; height: 18px; flex: 0 0 auto; object-fit: contain; display: block; }
.btn-sm .mark { width: 15px; height: 15px; }
.btn-mark { display: inline-flex; }
.btn-mark .mark { width: 18px; height: 18px; }
.btn-lg .btn-mark .mark { width: 20px; height: 20px; }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* =================== HEADER =================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 18px;
}
.brand img { height: 52px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}
/* cabeçalho usa uma largura maior que o conteúdo (mais espaço p/ o menu) */
.site-header .container.header-inner { max-width: 1340px; }
@media (max-width: 1360px) { .main-nav { gap: 16px; } }
.nav-item { position: relative; display: inline-flex; }
/* indicador de submenu (seta) */
.nav-caret { width: 14px; height: 14px; margin-left: 5px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; transition: transform .25s ease; }
.nav-item.has-sub .nav-link { display: inline-flex; align-items: center; }
.nav-item.has-sub:hover .nav-caret { transform: rotate(180deg); }
.nav-link {
  position: relative;
  color: #4b5563;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .2s ease;
}
/* barrinha animada (cresce do centro) */
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--green); }
.nav-link:hover::after { transform: scaleX(1); }
/* página atual: verde da marca, barrinha fixa */
.nav-link.is-active { color: var(--green); }
.nav-link.is-active::after { transform: scaleX(1); }

/* dropdown de subcategorias */
.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.13);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 40;
}
.nav-dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item.has-sub:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px); }
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: #e9f5ee; color: var(--green-dark); }

.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 7px; list-style: none; margin: 0; padding: 0; }
.lang-switch img { width: 26px; height: auto; border-radius: 2px; display: block; }
.header-cta { padding: 11px 22px; }

/* =================== HERO / BANNER =================== */
.hero {
  position: relative;
  height: 555px;
  overflow: hidden;
  background: #2a2a2a;
}
.hero-bg { position: absolute; inset: 0; }

/* ---- banner-carrossel genérico (home, institucional, nacionais, internacionais) ---- */
.banner-carousel { position: relative; overflow: hidden; background: #2a2a2a; }
.banner-carousel > .hc-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.banner-carousel > .hc-slide.active { opacity: 1; pointer-events: auto; }
.hc-media { position: absolute; inset: 0; }
.hc-media > .media-placeholder { width: 100%; height: 100%; font-size: 26px; }
.hero.banner-carousel { height: 555px; }
.nac-banner.banner-carousel { height: 520px; }
.inst-banner.banner-carousel { height: 470px; }

/* mídia genérica (imagem/vídeo) que preenche o container */
.media-fill { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* vídeo do YouTube (iframe) preenche o container mesmo quando o pai só tem min-height */
iframe.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: unset; }
.media-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: #e9ebee; color: #9aa0a6;
  font-size: 22px; font-weight: 600;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,22,26,.92) 0%, rgba(20,22,26,.72) 32%, rgba(20,22,26,.25) 62%, rgba(20,22,26,0) 100%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.5px;
}
.hero-title .hl { color: var(--green-btn); }
.hero-subtitle {
  margin: 0 0 28px;
  color: #e6e8ea;
  font-size: 17px;
  max-width: 430px;
  line-height: 1.55;
}

/* =================== SEÇÕES (genérico) =================== */
.section { padding: 70px 0; }
.section-title {
  text-align: center;
  margin: 0 auto 14px;
  color: var(--heading);
  font-size: 31px;
  font-weight: 800;
}
.section-subtitle {
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
  color: var(--body);
  font-size: 16px;
}

/* =================== SOLUÇÕES =================== */
.solutions .section-subtitle { margin-bottom: 44px; }
.solutions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.sol-card {
  flex: 1 1 300px;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.11); }
.sol-card:hover .sol-title { color: var(--green); }
.sol-thumb { height: 150px; overflow: hidden; }
.sol-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sol-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.sol-title { margin: 0; font-size: 16.5px; font-weight: 700; color: var(--heading); }
.sol-text { margin: 0; font-size: 14px; color: var(--body); flex: 1; }
.sol-card .btn { align-self: flex-start; margin-top: 6px; }

/* =================== PRODUTOS =================== */
.products { padding-top: 20px; }
.products .section-title { margin-bottom: 44px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.prod-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  padding: 0 28px 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.prod-badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--green-dark);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 46px 18px 28px;
  /* canto sup-esq acompanha o card; inf-dir arredondado (convexo) */
  border-radius: 16px 0 38px 0;
}
.prod-thumb {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 82px 0 20px;
}
.prod-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.prod-title { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--heading); }
.prod-text { margin: 0 0 20px; font-size: 14px; color: var(--body); flex: 1; }
.prod-card .btn { align-self: flex-start; }

/* =================== PORQUE ESCOLHER =================== */
.why {
  position: relative;
  background: var(--gray-bg);
  padding: 80px 0 90px;
  overflow: hidden;
}
.why-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1280px;
  opacity: .14;
  pointer-events: none;
}
.why-inner { position: relative; }
.why-title {
  margin: 0 0 48px;
  font-size: 30px;
  font-weight: 800;
  color: var(--heading);
  max-width: 560px;
  line-height: 1.25;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.why-card {
  background: var(--green);
  color: #fff;
  padding: 34px 30px 40px;
  text-align: center;
  /* cantos chanfrados (superior-esquerdo e inferior-direito) */
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
}
.why-card-title { margin: 0 0 16px; font-size: 21px; font-weight: 700; color: #fff; line-height: 1.2; }
.why-card-title .hl { color: #fff; }
.why-card-text { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.92); line-height: 1.55; }

/* =================== CTA FINAL =================== */
.cta-band {
  background: var(--green-dark);
  padding: 64px 0 70px;
}
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-title { margin: 0 0 16px; color: #fff; font-size: 33px; font-weight: 800; line-height: 1.2; }
.cta-title .hl { color: #fff; }
.cta-text { margin: 0 0 28px; color: rgba(255,255,255,.88); font-size: 16.5px; max-width: 680px; }

/* =================== FOOTER =================== */
.site-footer { background: var(--ink); color: #9aa1ac; padding: 64px 0 70px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.4fr;
  gap: 40px;
}
/* faz as colunas internas (Links Rápidos, Contato) virarem itens diretos do grid */
.footer-cols { display: contents; }
.footer-logo { width: 100%; max-width: 220px; height: auto; margin-bottom: 16px; }
.footer-about { font-size: 13.5px; color: #8a909b; max-width: 320px; line-height: 1.6; margin: 0; }
.footer-col-title { margin: 0 0 18px; color: #fff; font-size: 16px; font-weight: 700; }
.footer-links, .footer-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: #9aa1ac; }
.footer-links a:hover { color: #fff; }
.footer-lines li { font-size: 14px; color: #9aa1ac; }
.footer-connect-text { font-size: 14px; color: #9aa1ac; line-height: 1.6; margin: 0 0 18px; max-width: 250px; }
.social-row { display: flex; gap: 10px; margin-bottom: 22px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #242833;
  display: inline-flex; align-items: center; justify-content: center;
}
.social-btn svg { width: 18px; height: 18px; fill: #b8bdc7; }
.social-btn:hover { background: var(--green); }
.social-btn:hover svg { fill: #fff; }
.footer-hours {
  background: #20242e;
  border-radius: 10px;
  padding: 16px 18px;
  max-width: 260px;
}
.footer-hours-title { margin: 0 0 8px; color: #cfd3da; font-size: 13.5px; font-weight: 700; }
.footer-hours p { margin: 2px 0; font-size: 13px; color: #8a909b; }

/* =================== WHATSAPP =================== */
.whatsapp-float {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 60px; height: 60px;
  z-index: 50;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float img { width: 100%; height: 100%; }

/* =====================================================================
   PÁGINA DE SUBCATEGORIA (catálogo: Básica / Completa)
   ===================================================================== */
.subcat-banner { position: relative; width: 100%; height: 470px; overflow: hidden; background: #2a2a2a; }
.subcat-banner-media { position: absolute; inset: 0; }
.subcat-banner .media-placeholder { width: 100%; height: 100%; font-size: 28px; }
.subcat-banner.has-text .media-placeholder { background: #1c1f24; color: #6b7178; }
.subcat-banner > .subcat-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.subcat-banner > .subcat-slide.active { opacity: 1; pointer-events: auto; }
.subcat-banner-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
/* bolinhas de navegação do carrossel de banner */
.banner-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; z-index: 6; }
.banner-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: transparent; cursor: pointer; padding: 0; transition: background .2s ease, transform .2s ease; }
.banner-dot:hover { transform: scale(1.15); }
.banner-dot.active { background: #fff; }
.subcat-banner .hero-title { margin: 0 0 14px; color: #fff; font-size: 44px; font-weight: 800; line-height: 1.08; }
.subcat-banner .hero-title .hl { color: var(--green-btn); }
.subcat-banner .hero-subtitle { margin: 0 0 24px; color: #e6e8ea; font-size: 16px; max-width: 480px; }

.subcat-head { padding: 28px 0 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); flex-wrap: wrap; }
.breadcrumb a { color: var(--body); font-weight: 600; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb strong { color: var(--heading); }
.btn-back { display: inline-block; margin: 18px 0 6px; border: 1px solid var(--green); color: var(--green); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 8px; }
.btn-back:hover { background: #e9f5ee; }
.subcat-title { text-align: center; font-size: 32px; font-weight: 800; color: var(--heading); margin: 24px 0 12px; }
.subcat-title .hl { color: var(--green); }
.subcat-subtitle { text-align: center; max-width: 760px; margin: 0 auto; color: var(--body); font-size: 16px; }

.subcat-products-wrap { padding: 30px 0 70px; }

/* BÁSICA: grade de cards simples */
.basica-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.basica-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.05); padding: 22px 22px 26px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .16s ease, box-shadow .16s ease; }
.basica-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.basica-card:hover .basica-cta { filter: brightness(1.05); }
.basica-card .basica-cta { margin-top: auto; }
.basica-thumb { height: 240px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.basica-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.basica-name { margin: 0 0 18px; font-size: 20px; font-weight: 700; color: var(--heading); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.basica-cta { justify-content: center; }

/* COMPLETA: lista zig-zag com ficha técnica */
.completa-list { display: flex; flex-direction: column; gap: 80px; }
.completa-card {
  position: relative;
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 50px;
  align-items: center;
  padding-bottom: 120px; /* espaço para a linha + botão (botão fica abaixo da caixa) */
}
.completa-card.reverse { grid-template-columns: 1.05fr 0.95fr; }
.completa-card.reverse .completa-media { order: 2; }

.completa-media { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.completa-main { display: flex; align-items: center; justify-content: center; width: 100%; }
.completa-img { max-width: 100%; max-height: 440px; object-fit: contain; }
iframe.completa-img { width: 100%; aspect-ratio: 16/9; max-height: 440px; border: 0; }
.completa-thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cm-thumb { width: 62px; height: 62px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #eef0f2; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.cm-thumb.active { border-color: var(--green-btn, #2BA352); }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cm-vid { font-size: 20px; color: #6b7178; }
/* detalhe circular sobreposto */
.media-inset {
  position: absolute; bottom: 4%;
  width: 200px; height: 200px;
  border-radius: 50%; overflow: hidden;
  border: 7px solid #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.completa-card:not(.reverse) .media-inset { right: 2%; }
.completa-card.reverse .media-inset { left: 2%; }
.media-inset img { width: 100%; height: 100%; object-fit: cover; }

.completa-title { margin: 0 0 12px; font-size: 30px; font-weight: 800; color: var(--green); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.completa-desc-wrap { margin: 0 0 18px; }
.completa-desc { margin: 0; font-size: 15.5px; color: #4b5563; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.completa-desc.expanded { -webkit-line-clamp: unset; overflow: visible; }
.desc-more { border: none; background: none; color: var(--green); font-weight: 700; cursor: pointer; padding: 4px 0 0; font-size: 13.5px; }
.desc-more:hover { text-decoration: underline; }
/* bandeirinha de mercado ao lado do nome */
.mk-flag { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.mk-flag img { width: 26px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; }
.mk-globe { width: 22px; height: 22px; fill: none; stroke: #2b7bd6; stroke-width: 1.7; }

/* caixa de especificações */
.spec-box { background: #f4f3f4; border-radius: 16px; padding: 22px 26px 20px; }
.spec-rows { display: flex; flex-direction: column; }
.spec-row { display: grid; grid-template-columns: 30px 150px 1fr; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #e4e3e4; }
.spec-row:last-child { border-bottom: none; }
.spec-ico { width: 26px; height: 26px; object-fit: contain; display: block; }
.spec-label { font-weight: 700; color: var(--green); font-size: 15px; }
.spec-val { color: var(--heading); font-size: 15.5px; }
/* seletores (cor da lente / tipo / lente) */
.selectors { margin-top: 12px; padding-top: 14px; border-top: 1px solid #e4e3e4; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.sel-label { display: block; font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.swatch { border: none; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.swatch-dot { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); position: relative; display: flex; align-items: center; justify-content: center; transition: box-shadow .15s ease; }
.swatch.active .swatch-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.swatch-check { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.swatch.active .swatch-check { opacity: 1; }
.swatch-name { font-size: 12.5px; color: #4b5563; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { border: 1px solid var(--green); background: #fff; color: var(--green); font: inherit; font-weight: 600; font-size: 13.5px; padding: 9px 18px; border-radius: 8px; cursor: pointer; transition: background .15s ease; }
.pill:hover { background: #f2faf5; }
.pill.active { background: #e9f5ee; }

/* quantidade dentro da caixa, com divisória acima */
.qty { margin-top: 14px; padding-top: 16px; border-top: 1px solid #e4e3e4; }
.qty-label { display: block; font-size: 15px; color: var(--heading); margin-bottom: 8px; }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid #d9d8d9; border-radius: 8px; overflow: hidden; background: #fff; }
.qty-ctrl button { width: 40px; height: 40px; border: none; background: #fff; font-size: 18px; cursor: pointer; color: var(--green); }
.qty-ctrl button:hover { background: #eef0f1; }
.qty-ctrl input { width: 54px; height: 40px; border: none; border-left: 1px solid #e4e3e4; border-right: 1px solid #e4e3e4; text-align: center; font: inherit; }

/* conector verde (linha em degrau) + botão */
.completa-connector { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; pointer-events: none; }
.connector-line { position: absolute; inset: 0; width: 100%; height: 100%; }
.connector-line polyline { fill: none; stroke: var(--green); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.completa-cta { position: absolute; bottom: 0; pointer-events: auto; }
.completa-card:not(.reverse) .completa-cta { right: 10px; }
.completa-card.reverse .completa-cta { left: 10px; }

@media (max-width: 900px) {
  .basica-grid { grid-template-columns: 1fr; }
  .completa-card, .completa-card.reverse { grid-template-columns: 1fr; gap: 22px; padding-bottom: 56px; }
  .completa-card.reverse .completa-media { order: 0; }
  .media-inset { width: 140px; height: 140px; }
  .subcat-banner { height: 320px; }
  .subcat-banner .hero-title { font-size: 32px; }
  .spec-row { grid-template-columns: 26px 1fr; }
  .spec-row .spec-val { grid-column: 2; }
  .completa-cta, .completa-card.reverse .completa-cta { left: 0; right: auto; }
}

/* =====================================================================
   PÁGINA NACIONAIS — banner (3 fotos/vídeos)
   ===================================================================== */
.nac-banner { width: 100%; }
.nac-banner-media { position: relative; width: 100%; height: 520px; overflow: hidden; }
.nac-banner-media .media-placeholder { width: 100%; height: 100%; font-size: 30px; }
.nac-banner-media .slide,
.subcat-banner-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.nac-banner-media .slide.active,
.subcat-banner-media .slide.active { opacity: 1; }

/* =====================================================================
   PÁGINA INSTITUCIONAL
   ===================================================================== */

/* banner topo (Fotos ou Vídeos) */
.inst-banner { width: 100%; }
.inst-banner-media { position: relative; width: 100%; height: 470px; }
.inst-banner-media .media-placeholder { width: 100%; height: 100%; font-size: 26px; }

/* título de bloco (alinhado à esquerda) */
.block-title { font-size: 31px; font-weight: 800; color: var(--green); margin: 0 0 22px; }
.block-title .hl { color: var(--green); }

/* Nossa História */
.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.historia-paragraphs p { margin: 0 0 16px; color: var(--body); font-size: 15px; line-height: 1.7; }
.historia-media { position: relative; min-height: 340px; border-radius: 4px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.07); }
/* vídeo institucional com controles/áudio: mostra o vídeo inteiro (sem cortar), fundo preto e controles visíveis */
.historia-media video[controls] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.historia-media .media-placeholder { width: 100%; height: 100%; min-height: 340px; font-size: 22px; }

/* Nossos Valores */
.valores { background: var(--gray-bg); }
.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 44px; }
.valor-card {
  position: relative; background: var(--green); padding: 38px 30px 42px; text-align: center;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.valor-card::before { content: ''; position: absolute; inset: 2px; background: #fff; clip-path: inherit; }
.valor-ico, .valor-title, .valor-text { position: relative; z-index: 1; }
.valor-ico { color: var(--green); margin-bottom: 10px; }
.valor-ico .ico { width: 46px; height: 46px; }
.valor-title { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: var(--green); }
.valor-text { margin: 0; font-size: 14.5px; color: var(--body); line-height: 1.55; }

/* Resultados (faixa verde) */
.resultados { background: var(--green); padding: 56px 0 60px; text-align: center; color: #fff; }
.resultados-title { margin: 0 0 10px; font-size: 28px; font-weight: 800; color: #fff; }
.resultados-subtitle { margin: 0 auto 34px; max-width: 720px; font-size: 15px; color: rgba(255,255,255,.9); }
.resultados-grid { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; }
.stat {
  padding: 4px 42px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid rgba(255,255,255,.35);
}
.stat:last-child { border-right: none; }
.stat-number { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 6px; white-space: nowrap; }
.stat-label { font-size: 13.5px; color: rgba(255,255,255,.88); }
@media (max-width: 760px) {
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.25); padding: 14px 0; }
  .stat:last-child { border-bottom: none; }
}

/* Trajetória (linha do tempo) */
.timeline { position: relative; max-width: 920px; margin: 44px auto 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #d7dbe0; transform: translateX(-50%); }
.milestone { position: relative; width: 50%; padding: 0 38px 26px; box-sizing: border-box; opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.milestone.left { left: 0; text-align: right; transform: translateX(-26px); }
.milestone.right { left: 50%; text-align: left; transform: translateX(26px); }
.milestone.is-visible { opacity: 1; transform: none; }
.milestone-dot { position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green); }
.milestone.left .milestone-dot { right: -7px; }
.milestone.right .milestone-dot { left: -7px; }
.milestone-year { display: block; font-size: 20px; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.milestone-title { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--heading); }
.milestone-text { margin: 0; font-size: 14px; color: var(--body); line-height: 1.6; }

/* Código de Conduta */
.conduta { background: var(--gray-bg); }
.conduta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.conduta-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px 28px; display: flex; gap: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.conduta-ico { flex: 0 0 auto; color: var(--green); }
.conduta-ico .ico { width: 38px; height: 38px; }
.conduta-title { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--green); line-height: 1.2; }
.conduta-text { margin: 0; font-size: 14px; color: var(--body); line-height: 1.6; }
.conduta-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ícones (imagens exatas do design) */
.ico-img { display: block; object-fit: contain; }
.valor-ico .ico-img { height: 56px; width: auto; margin: 0 auto; }
.conduta-ico .ico-img { height: 48px; width: auto; }

@media (max-width: 900px) {
  .historia-grid { grid-template-columns: 1fr; gap: 28px; }
  .valores-grid, .conduta-grid { grid-template-columns: 1fr; }
  .resultados-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .inst-banner-media { height: 300px; }
  /* timeline vira coluna única à esquerda */
  .timeline::before { left: 8px; }
  .milestone, .milestone.left, .milestone.right { width: 100%; left: 0; text-align: left; padding: 0 0 32px 38px; }
  .milestone.left .milestone-dot, .milestone.right .milestone-dot { left: 1px; right: auto; }
}

/* =================== RESPONSIVO =================== */
@media (max-width: 1200px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
}
/* botão hamburguer (só aparece no mobile) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 9px; border: 1px solid var(--border); border-radius: 9px; background: #fff; cursor: pointer; flex: 0 0 auto; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--green); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 992px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: inline-flex; }
  /* nav vira painel lateral deslizante */
  .main-nav {
    display: flex; position: fixed; top: 0; right: 0; bottom: 0;
    width: 290px; max-width: 84vw; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 2px; padding: 84px 20px 28px; background: #fff; box-shadow: -10px 0 34px rgba(0,0,0,.16);
    transform: translateX(100%); transition: transform .28s ease; z-index: 1200; overflow-y: auto;
  }
  .site-header.nav-open .main-nav { transform: translateX(0); }
  /* celular: painel ocupa a altura visível real (barra do navegador) e rola até o último item */
  .main-nav { height: 100vh; height: 100dvh; bottom: auto; padding-bottom: calc(28px + env(safe-area-inset-bottom)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav-toggle { position: relative; z-index: 1300; }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(15,18,22,.48); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 1100; }
  .site-header.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-locked { overflow: hidden; }
  .main-nav .nav-item, .main-nav .nav-link { width: 100%; }
  .main-nav .nav-item { flex-direction: column; align-items: stretch; }
  .main-nav .nav-link { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid #f1f1f1; justify-content: space-between; }
  .main-nav .nav-link::after { display: none; }
  .nav-item.has-sub .nav-link { display: flex; }
  /* dropdown vira accordion embutido */
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; display: none; background: transparent; }
  .nav-item.open .nav-dropdown { display: block; }
  /* no toque o :hover do desktop fica "preso" e empurrava o submenu p/ esquerda (translateX(-50%)) */
  .main-nav .nav-dropdown, .main-nav .nav-item.has-sub:hover .nav-dropdown { left: auto; transform: none; width: 100%; }
  .nav-item.has-sub.open .nav-caret { transform: rotate(180deg); }
  .nav-dropdown a { padding: 10px 4px; font-size: 14.5px; color: var(--body); border-bottom: 1px solid #f6f6f6; }

  .header-inner { gap: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid, .products-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 40px; }
}
@media (max-width: 560px) {
  .brand img { height: 42px; }
  .header-cta { padding: 9px 13px; font-size: 13px; }
  .lang-flags { gap: 5px; }
  .lang-flag img { width: 24px; height: 16px; }
}
@media (max-width: 400px) {
  .header-cta { display: none; }
}

/* =============================================================
   CARRINHO DE ORÇAMENTO
   ============================================================= */
.header-cta { position: relative; }
.cart-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.cart-ico circle { fill: currentColor; stroke: none; }
.cart-ico path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quote-badge { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--green); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.quote-modal { position: fixed; inset: 0; z-index: 1400; }
.quote-backdrop { position: absolute; inset: 0; background: rgba(15,18,22,.5); }
.quote-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.22); animation: quoteIn .28s ease; }
@keyframes quoteIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.quote-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.quote-head h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--heading); }
.quote-x { border: none; background: none; font-size: 26px; line-height: 1; color: var(--body); cursor: pointer; padding: 0 4px; }
.quote-x:hover { color: var(--green); }
.quote-items { padding: 14px 22px; overflow-y: auto; flex: 1; }
.quote-empty { color: var(--body); font-size: 14px; line-height: 1.6; padding: 20px 0; }
.quote-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f2f2f2; }
.quote-item-info strong { display: block; font-size: 14.5px; color: var(--heading); }
.quote-variant { display: block; font-size: 12.5px; color: var(--green); font-weight: 600; margin-top: 2px; }
.quote-qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.quote-qty button { width: 28px; height: 30px; border: none; background: #f4f6f5; color: var(--heading); font-size: 16px; cursor: pointer; }
.quote-qty button:hover { background: #e6f4ec; color: var(--green); }
.quote-qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.quote-del { border: none; background: none; color: #bbb; font-size: 20px; cursor: pointer; line-height: 1; }
.quote-del:hover { color: #d64545; }
.quote-form { padding: 16px 22px 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quote-form input, .quote-form textarea { font-family: var(--font); font-size: 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--heading); width: 100%; }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,146,63,.1); }
.quote-send { justify-content: center; margin-top: 4px; }
.quote-wa { justify-content: center; }
.quote-msg { margin: 4px 0 0; font-size: 13.5px; }
.quote-msg.ok { color: var(--green); font-weight: 600; }
.quote-msg.err { color: #d64545; }
@media (max-width: 480px) { .quote-row { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .section { padding: 50px 0; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .products-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 440px; padding: 60px 0; }
  .hero-title { font-size: 34px; }
  .section-title, .why-title, .cta-title { font-size: 25px; }
  .lang-switch { display: none; }
}
@media (max-width: 480px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   PORTAL TÉCNICO (blog + busca + downloads + especialista)
   ============================================================= */
.btn-outline {
  background: #fff; color: var(--green); border: 1.5px solid var(--green);
}
.btn-outline:hover { background: #e9f5ee; filter: none; }

/* ---- HERO ---- */
.portal-hero { position: relative; width: 100%; height: 440px; overflow: hidden; background: #2a2a2a; }
.portal-hero-media { position: absolute; inset: 0; }
.portal-hero-media .media-placeholder { width: 100%; height: 100%; font-size: 28px; background: #1c1f24; color: #6b7178; }
.portal-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.82) 0%, rgba(10,12,15,.55) 42%, rgba(10,12,15,.06) 74%); }
.portal-hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.portal-hero-content .hero-title { margin: 0 0 14px; color: #fff; font-size: 42px; font-weight: 800; line-height: 1.08; max-width: 560px; }
.portal-hero-content .hero-title .hl { color: var(--green-btn); }
.portal-hero-content .hero-subtitle { color: #e7e9ec; font-size: 16px; max-width: 430px; margin: 0 0 22px; }

/* ---- BUSCA ---- */
.portal-search-wrap { padding: 34px 0 6px; }
.portal-search { display: flex; gap: 12px; max-width: 560px; }
.portal-search--inline { margin-top: 16px; }
.portal-search input[type="search"] {
  flex: 1; height: 52px; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 0 18px; font-family: var(--font); font-size: 15px; color: var(--heading); background: #fff;
}
.portal-search input[type="search"]:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,146,63,.12); }
.portal-search-btn {
  flex: 0 0 auto; width: 52px; height: 52px; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(180deg, var(--green-btn), var(--green)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: filter .15s ease;
}
.portal-search-btn:hover { filter: brightness(1.06); }
.portal-search-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }

/* ---- LAYOUT PRINCIPAL ---- */
.portal-main { padding: 30px 0 64px; }
.portal-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.portal-h2 { font-size: 24px; font-weight: 800; color: var(--heading); margin: 0 0 22px; }

/* ---- ARTIGOS: card horizontal ---- */
.portal-articles { display: flex; flex-direction: column; gap: 22px; }
.art-row {
  display: grid; grid-template-columns: 230px 1fr; gap: 22px; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(20,24,35,.04); transition: box-shadow .18s ease, transform .18s ease;
}
.art-row:hover { box-shadow: 0 12px 30px rgba(20,24,35,.09); transform: translateY(-2px); }
.art-row-media { display: block; height: 100%; min-height: 190px; background: #eef0f2; }
.art-row-media img { width: 100%; height: 100%; object-fit: cover; }
.art-ph { display: block; width: 100%; height: 100%; min-height: 190px; background: linear-gradient(135deg,#e9edf0,#d9dee3); }
.art-row-body { padding: 20px 22px 20px 0; display: flex; flex-direction: column; }
.art-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 9px; flex-wrap: wrap; }
.art-tema { color: var(--green); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.art-date { color: #9aa1ab; font-size: 12.5px; }
.art-row-title { margin: 0 0 10px; font-size: 20px; font-weight: 800; line-height: 1.22; color: var(--heading); }
.art-row-title a:hover { color: var(--green); }
.art-row-excerpt { margin: 0 0 14px; font-size: 14.5px; color: var(--body); line-height: 1.55; }
.art-readmore { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; font-size: 14px; }
.art-readmore:hover { gap: 9px; }
.art-readmore .chev { width: 15px; height: 15px; }

.portal-allbtn { display: flex; justify-content: center; margin-top: 34px; }

/* ---- SIDEBAR: downloads + especialista ---- */
.portal-col-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 20px; }
.dl-box { border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; background: #fff; box-shadow: 0 6px 20px rgba(20,24,35,.04); }
.dl-box-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--heading); text-align: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.dl-side-list { display: flex; flex-direction: column; padding-top: 6px; }
.dl-srow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #f2f2f2; color: var(--heading); }
.dl-srow:last-child { border-bottom: none; }
.dl-srow:hover .dl-srow-name { color: var(--green); }
.dl-srow.is-disabled { opacity: .55; cursor: default; }
.dl-srow-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.dl-badge {
  flex: 0 0 auto; font-size: 9px; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: #d64545; border-radius: 4px; padding: 4px 5px; line-height: 1; display: inline-flex; align-items: center;
}
.dl-badge--lg { font-size: 11px; padding: 7px 8px; border-radius: 5px; }
.dl-dl { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.dl-seeall { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; color: var(--green); font-weight: 800; font-size: 14px; }
.dl-seeall:hover { gap: 9px; }
.dl-seeall .chev { width: 15px; height: 15px; }

.spec-portal { border-radius: 14px; padding: 30px 26px; background: #f4f6f5; text-align: center; }
.spec-portal-ico { margin: 0 auto 12px; width: 62px; height: 62px; display: inline-flex; align-items: center; justify-content: center; }
.spec-headset { width: 54px; height: 54px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.spec-portal-title { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--heading); line-height: 1.2; }
.spec-portal-title .hl { color: var(--green); }
.spec-portal-text { margin: 0 0 20px; font-size: 14px; color: var(--body); line-height: 1.55; }
.spec-portal-cta { display: inline-flex; }
.spec-portal-cta .chev { width: 15px; height: 15px; }

/* ---- CABEÇALHO DAS LISTAS (artigos/downloads) ---- */
.portal-listhead { background: var(--gray-bg); padding: 30px 0 34px; border-bottom: 1px solid var(--border); }
.portal-listtitle { margin: 12px 0 0; font-size: 32px; font-weight: 800; color: var(--heading); }
.portal-listtitle .portal-count { font-size: 15px; font-weight: 600; color: #9aa1ab; margin-left: 8px; }
.portal-listsub { margin: 8px 0 0; color: var(--body); font-size: 15px; }

/* ---- GRID DE ARTIGOS (ver todos / busca) ---- */
.artigos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.art-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(20,24,35,.04); transition: box-shadow .18s ease, transform .18s ease; }
.art-card:hover { box-shadow: 0 12px 30px rgba(20,24,35,.09); transform: translateY(-2px); }
.art-card-media { display: block; height: 190px; background: #eef0f2; }
.art-card-media img { width: 100%; height: 100%; object-fit: cover; }
.art-card-media .art-ph { min-height: 190px; }
.art-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.art-card-title { margin: 0 0 10px; font-size: 18px; font-weight: 800; line-height: 1.24; color: var(--heading); }
.art-card-title a:hover { color: var(--green); }
.art-card-excerpt { margin: 0 0 14px; font-size: 14px; color: var(--body); line-height: 1.5; }

.artigos-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pg { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--heading); font-weight: 700; font-size: 14px; }
.pg:hover { border-color: var(--green); color: var(--green); }
.pg.is-active { background: linear-gradient(180deg, var(--green-btn), var(--green)); color: #fff; border-color: transparent; }

/* ---- ARTIGO INDIVIDUAL ---- */
.artigo-page { display: block; padding: 30px 0 64px; }
.artigo-inner { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.artigo-main .breadcrumb { margin-bottom: 18px; }
.artigo-main .art-meta { margin: 6px 0 10px; }
.artigo-title { margin: 0 0 22px; font-size: 34px; font-weight: 800; line-height: 1.16; color: var(--heading); }
.artigo-cover { border-radius: 16px; overflow: hidden; margin: 0 0 26px; max-height: 420px; }
.artigo-cover img { width: 100%; height: 100%; object-fit: cover; }
.artigo-body { font-size: 16.5px; color: #40454e; line-height: 1.72; }
.artigo-body img { max-width: 100%; height: auto; border-radius: 12px; }
.artigo-body figure { margin: 24px 0; }
.artigo-body figure img { display: block; margin: 0 auto; }
.artigo-body figure iframe, .artigo-body figure video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }
.artigo-body h2 { font-size: 26px; margin: 30px 0 12px; color: var(--heading); line-height: 1.25; }
.artigo-body h3 { font-size: 21px; margin: 24px 0 10px; color: var(--heading); }
.artigo-body ul, .artigo-body ol { margin: 0 0 18px; padding-left: 24px; }
.artigo-body li { margin: 5px 0; }
.artigo-body blockquote { border-left: 4px solid var(--green); margin: 22px 0; padding: 8px 20px; background: #f4f6f5; color: #40454e; border-radius: 0 10px 10px 0; }
.artigo-body a { color: var(--green); font-weight: 600; text-decoration: underline; }
.artigo-body hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
/* card de produto/categoria relacionado no artigo */
.artigo-rel { margin: 30px 0 6px; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 16px; background: #f8faf9; text-decoration: none; transition: box-shadow .18s ease, transform .18s ease; }
.artigo-rel:hover { box-shadow: 0 12px 28px rgba(20,24,35,.08); transform: translateY(-2px); }
.artigo-rel img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; flex: 0 0 auto; }
.artigo-rel-info { flex: 1; }
.artigo-rel-tag { display: block; color: var(--green); font-weight: 800; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.artigo-rel-name { font-size: 17px; font-weight: 800; color: var(--heading); }
.artigo-rel .chev { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.artigo-body p { margin: 0 0 18px; }
.artigo-body .hl { color: var(--green); font-weight: 700; }
.artigo-main .btn-back { margin-top: 26px; }
.artigo-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.artigo-related .artigos-grid { grid-template-columns: repeat(3, 1fr); }

/* ---- PÁGINA DE DOWNLOADS (nome + baixar) ---- */
.downloads-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.dl-frow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; box-shadow: 0 4px 14px rgba(20,24,35,.04); }
.dl-frow-name { font-size: 16px; font-weight: 700; color: var(--heading); }
.dl-baixar { padding: 11px 20px; }
.dl-baixar .dl-dl { stroke: #fff; width: 17px; height: 17px; }
.dl-soon { color: #9aa1ab; font-size: 13px; font-style: italic; }
.portal-spec-cta { max-width: 520px; margin: 44px 0 0; }

/* ---- RESPONSIVO ---- */
@media (max-width: 960px) {
  .portal-grid, .artigo-inner { grid-template-columns: 1fr; }
  .portal-col-side { position: static; }
  .artigos-grid, .artigo-related .artigos-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-hero-content .hero-title { font-size: 34px; }
}
@media (max-width: 620px) {
  .art-row { grid-template-columns: 1fr; }
  .art-row-media, .art-row-media img, .art-ph { min-height: 180px; height: 180px; }
  .art-row-body { padding: 18px 20px 20px; }
  .artigos-grid, .artigo-related .artigos-grid { grid-template-columns: 1fr; }
  .portal-hero { height: auto; min-height: 380px; padding: 50px 0; }
  .dl-frow { grid-template-columns: auto 1fr; }
  .dl-baixar { grid-column: 1 / -1; justify-content: center; }
}

/* =============================================================
   CONTATO (equipe de vendas + canais + mapa)
   ============================================================= */
.ico-wa, .ico-mail { width: 18px; height: 18px; flex: 0 0 auto; }
.ico-wa { fill: currentColor; }
.ico-mail { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---- HERO ---- */
.contato-hero { position: relative; width: 100%; height: 420px; overflow: hidden; background: #23272b; }
.contato-hero-media { position: absolute; inset: 0; }
.contato-hero-media .media-placeholder { width: 100%; height: 100%; font-size: 28px; background: #1c1f24; color: #6b7178; }
.contato-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,14,16,.9) 0%, rgba(12,14,16,.66) 44%, rgba(12,14,16,.12) 78%); }
.contato-hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.contato-eyebrow { color: var(--green-btn); font-weight: 800; font-size: 12.5px; letter-spacing: .12em; margin-bottom: 12px; }
.contato-hero-content .hero-title { margin: 0 0 12px; color: #fff; font-size: 40px; font-weight: 800; line-height: 1.08; }
.contato-hero-content .hero-title .hl { color: var(--green-btn); }
.contato-hero-content .hero-subtitle { color: #dfe2e6; font-size: 15.5px; max-width: 400px; margin: 0 0 26px; }
.contato-hero-lines { display: flex; flex-direction: column; gap: 16px; }
.contato-hline { display: flex; align-items: center; gap: 13px; color: #fff; }
.contato-hline-ico { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(180deg, var(--green-btn), var(--green)); display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.contato-hline-ico svg { width: 20px; height: 20px; }
.contato-hline span span, .contato-hline > span:last-child { display: flex; flex-direction: column; }
.contato-hline strong { color: var(--green-btn); font-size: 14.5px; font-weight: 700; }
.contato-hline em { color: #cfd3d8; font-style: normal; font-size: 13px; }

/* ---- EQUIPE DE VENDAS ---- */
.contato-team { padding: 64px 0 40px; }
.contato-team-head { text-align: center; margin-bottom: 40px; }
.contato-team-head .section-subtitle { max-width: 560px; margin-left: auto; margin-right: auto; }
.contato-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.tm-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(20,24,35,.06); display: flex; flex-direction: column; }
/* cabeçalho: foto (retrato) à esquerda + nome/cargo/mapa à direita */
.tm-head { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: start; margin-bottom: 4px; }
.tm-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; }
.tm-photo img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
.tm-photo-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 54px; font-weight: 800; z-index: 1; background: linear-gradient(135deg, #0f6b39, #0a4f2b); border-radius: 12px; }
.tm-head-info { display: flex; flex-direction: column; padding-top: 10px; }
.tm-name { margin: 0 0 5px; font-size: 19px; font-weight: 800; color: var(--heading); line-height: 1.14; }
.tm-role { display: inline-block; color: var(--green); font-weight: 800; font-size: 11px; letter-spacing: .06em; }
.tm-map { width: 96px; height: auto; margin-top: 14px; opacity: .95; }
.tm-contacts { display: flex; flex-direction: column; gap: 7px; padding: 14px 0; margin-top: 8px; border-top: 1px solid var(--border); margin-bottom: 14px; }
.tm-line { display: flex; align-items: center; gap: 8px; color: var(--body); font-size: 13px; }
.tm-line .ico-wa { color: var(--green); }
.tm-line .ico-mail { color: var(--green); }
.tm-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.tm-line:hover { color: var(--green); }
.tm-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.tm-wa, .tm-mail { justify-content: center; width: 100%; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; padding: 11px 14px; }
.tm-wa .ico-wa { color: #fff; }
.tm-mail .ico-mail { color: var(--green); }

/* ---- OUTROS CANAIS + MAPA ---- */
.contato-channels { background: var(--gray-bg); padding: 56px 0; }
#contato-channels { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.cc-title { text-align: left; font-size: 26px; margin-bottom: 26px; }
.cc-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.cc-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: #e6f4ec; display: inline-flex; align-items: center; justify-content: center; }
.cc-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cc-label { display: block; color: var(--heading); font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.cc-val { display: block; color: var(--body); font-size: 14px; line-height: 1.5; }
.cc-map { height: 100%; min-height: 340px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(20,24,35,.08); }
.cc-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---- CTA FINAL ---- */
.contato-cta { background: linear-gradient(180deg, #14512f, #0f3f25); padding: 60px 0; text-align: center; }
.contato-cta-inner { display: flex; flex-direction: column; align-items: center; }
.contato-cta-title { margin: 0 0 14px; color: #fff; font-size: 30px; font-weight: 800; }
.contato-cta-title .hl { color: var(--green-btn); }
.contato-cta-text { margin: 0 0 26px; color: #d7e3db; font-size: 15.5px; max-width: 620px; line-height: 1.6; }

/* ---- RESPONSIVO ---- */
@media (max-width: 960px) {
  .contato-team-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  #contato-channels { grid-template-columns: 1fr; gap: 32px; }
  .contato-hero-content .hero-title { font-size: 32px; }
}
@media (max-width: 560px) {
  .contato-team-grid { grid-template-columns: 1fr; max-width: 340px; }
  .contato-hero { height: auto; min-height: 460px; padding: 48px 0; }
}

/* =============================================================
   SELETOR DE IDIOMA (Google Translate — PT/EN/ES)
   ============================================================= */
.lang-flags { display: inline-flex; align-items: center; gap: 8px; }
.lang-flag { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; border-radius: 4px; opacity: .45; filter: grayscale(.15); transition: opacity .15s ease, transform .15s ease, filter .15s ease; }
.lang-flag img { width: 28px; height: 19px; object-fit: cover; display: block; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.lang-flag:hover { opacity: 1; filter: none; transform: translateY(-1px); }
.lang-flag.is-active { opacity: 1; filter: none; }
.lang-flag.is-active img { box-shadow: 0 0 0 2px var(--green); }

/* esconde a barra/tooltip/ícones que o Google Translate injeta */
#google_translate_element { display: none !important; }
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon, .goog-te-spinner-pos,
#goog-gt-tt, .goog-te-balloon-frame,
.skiptranslate > iframe { display: none !important; visibility: hidden !important; }
.goog-te-gadget { font-size: 0 !important; color: transparent !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body { top: 0 !important; position: static !important; }
@media (max-width: 860px) {
  .lang-select { font-size: 13px; padding: 7px 26px 7px 10px; }
}

/* =============================================================
   CLIENTES (hero + setores + logos + processo)
   ============================================================= */
/* ---- HERO ---- */
.clientes-hero { position: relative; width: 100%; height: 430px; overflow: hidden; background: #23272b; }
.clientes-hero-media { position: absolute; inset: 0; }
.clientes-hero-media .media-placeholder { width: 100%; height: 100%; font-size: 28px; background: #1c1f24; color: #6b7178; }
.clientes-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,14,16,.9) 0%, rgba(12,14,16,.6) 42%, rgba(12,14,16,.1) 76%); }
.clientes-hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.clientes-hero-content .hero-title { margin: 0 0 14px; color: #fff; font-size: 44px; font-weight: 800; line-height: 1.08; max-width: 520px; }
.clientes-hero-content .hero-title .hl { color: var(--green-btn); }
.clientes-hero-content .hero-subtitle { color: #dfe2e6; font-size: 15.5px; max-width: 420px; margin: 0 0 24px; }
.clientes-hero-cta { display: inline-flex; }
.clientes-hero-cta .cta-ico { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- SETORES ---- */
.clientes-sectors { padding: 64px 0; }
.clientes-sectors .container { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.sec-title { text-align: left; font-size: 30px; line-height: 1.15; margin: 0 0 16px; }
.sec-subtitle { color: var(--body); font-size: 15px; line-height: 1.6; margin: 0; }
.sec-cards { display: grid; grid-template-columns: repeat(5, 1fr); }
.sec-card { padding: 0 18px; text-align: center; }
.sec-card + .sec-card { border-left: 1px solid var(--border); }
.sec-ico { display: flex; justify-content: center; margin-bottom: 16px; }
.sec-svg { width: 46px; height: 46px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sec-label { color: var(--green); font-weight: 800; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; margin: 0 0 10px; }
.sec-text { color: var(--body); font-size: 13px; line-height: 1.55; margin: 0; }

/* ---- LOGOS (carrossel) ---- */
.clientes-logos { background: var(--gray-bg); padding: 56px 0; }
.logos-title { font-size: 26px; margin-bottom: 30px; }
.logos-slider { display: flex; align-items: center; gap: 12px; }
.logo-arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--green); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .15s, transform .15s; }
.logo-arrow:hover { border-color: var(--green); transform: translateY(-1px); }
.logo-arrow:disabled { opacity: .35; cursor: default; transform: none; border-color: var(--border); color: #9aa1ab; pointer-events: none; }
.logo-arrow .chev { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logos-track { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px * 5) / 6); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; }
.logos-track::-webkit-scrollbar { display: none; }
.logo-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: 12px; height: 90px; display: flex; align-items: center; justify-content: center; padding: 16px; box-shadow: 0 4px 14px rgba(20,24,35,.04); }
.logo-card img { max-width: 100%; max-height: 56px; object-fit: contain; transition: transform .2s; }
.logo-card:hover img { transform: scale(1.04); }
.logo-name { font-weight: 800; color: #9aa1ab; font-size: 15px; text-align: center; }

/* ---- PROCESSO ---- */
.clientes-process { padding: 64px 0; }
.proc-h2 { font-size: 28px; margin-bottom: 46px; }
.proc-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; }
.proc-steps::before { content: ''; position: absolute; top: 32px; left: 8%; right: 8%; border-top: 2px dashed #cfd8d2; z-index: 0; }
.proc-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.proc-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(180deg, var(--green-btn), var(--green)); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(0,146,63,.22); }
.proc-svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.proc-label { color: var(--green); font-weight: 800; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; margin: 0 0 8px; }
.proc-text { color: var(--body); font-size: 12.5px; line-height: 1.5; margin: 0; }

/* ---- RESPONSIVO ---- */
@media (max-width: 960px) {
  .clientes-sectors .container { grid-template-columns: 1fr; gap: 28px; }
  .sec-title { text-align: center; }
  .sec-subtitle { text-align: center; }
  .sec-cards { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .sec-card:nth-child(1), .sec-card:nth-child(4) { border-left: none; }
  .logos-track { grid-auto-columns: calc((100% - 20px * 2) / 3); }
  .proc-steps { grid-template-columns: repeat(3, 1fr); gap: 32px 8px; }
  .proc-steps::before { display: none; }
  .clientes-hero-content .hero-title { font-size: 34px; }
}
@media (max-width: 560px) {
  .sec-cards { grid-template-columns: repeat(2, 1fr); }
  .sec-card { border-left: none !important; }
  .logos-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .proc-steps { grid-template-columns: repeat(2, 1fr); }
  .clientes-hero { height: auto; min-height: 420px; padding: 48px 0; }
}

.seo-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
