/* =============================================================
   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;
}
.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: 22px;
  flex: 1;
  justify-content: center;
}
.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;
  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; }

/* 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; }
.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: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.sol-card {
  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;
}
.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 { height: 46px; width: auto; margin-bottom: 18px; }
.footer-about { font-size: 13.5px; color: #8a909b; max-width: 240px; 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-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.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; }
.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); }
.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; align-items: center; justify-content: center; }
.completa-img { max-width: 100%; max-height: 440px; object-fit: contain; }
/* 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 16px; font-size: 30px; font-weight: 800; color: var(--green); }
.completa-desc { margin: 0 0 24px; font-size: 15.5px; color: #4b5563; line-height: 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: 14px; padding-top: 16px; border-top: 1px solid #e4e3e4; display: flex; flex-wrap: wrap; gap: 20px 40px; }
.sel-label { display: block; font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.swatches { display: flex; gap: 16px; }
.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 { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.nac-banner-media .slide.active { opacity: 1; }

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

/* banner topo (Fotos ou Vídeos) */
.inst-banner { width: 100%; }
.inst-banner-media { 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 { min-height: 340px; border-radius: 4px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.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 44px; box-sizing: border-box; }
.milestone.left { left: 0; text-align: right; }
.milestone.right { left: 50%; text-align: left; }
.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); }
}
@media (max-width: 992px) {
  .container { padding: 0 24px; }
  .main-nav { display: none; }
  .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: 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; }
}
