:root {
  --verde: #a6ce39;
  --roxo: #a53692;
  --amarelo: #fff200;
  --azul: #0095da;
  --phone: #ed3237;
  --produtos: #1b7fc8;
  --header: 230px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { padding-top: var(--header); font-size: 13px; }
img { display: block; }
a { color: inherit; }
p { margin: 0 0 10px; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 12px; }
h1, .quem h1, .servicos h2, .produtos h2, .sustenta h2, .titulo-fale { font-size: 24px; }
.verde { color: var(--verde); }
.roxo { color: var(--roxo); }
.amarelo { color: var(--amarelo); text-align: center; }
.azul { color: var(--azul); }
.skip-link {
  position: absolute; left: -999px; top: 0;
}
.skip-link:focus { left: 8px; top: 8px; background: #fff; z-index: 80; padding: 8px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; background: #fff;
}
.color-bar { width: 100%; height: 32px; object-fit: cover; object-position: center; }
.header-main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 6px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  column-gap: 12px;
}
.logo img { width: 220px; height: auto; }
.nav-desktop ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 10px;
}
.nav-desktop li { flex: 0 0 auto; text-align: center; }
.nav-desktop a {
  color: #333; text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: .02em; white-space: nowrap;
}
.nav-desktop a:hover { color: var(--azul); }
.header-phones { display: flex; gap: 8px; align-items: flex-start; padding-top: 6px; }
.header-phones img { width: 39px; height: 35px; margin-top: 10px; }
.header-phones a {
  display: block; color: var(--phone); font-weight: 700; font-size: 16px;
  text-decoration: none; line-height: 1.15;
}
.header-phones .ddd, .dado .ddd { font-size: 11px; font-weight: 700; }
.nav-toggle {
  display: none; border: 0; background: transparent; color: #333;
  font: inherit; cursor: pointer; align-items: center; gap: 8px; justify-content: center;
}
.mobile-panel { background: #fff; border-top: 1px solid #eee; }
.mobile-panel ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.mobile-panel a { display: block; padding: 10px 0; text-decoration: none; color: #333; font-weight: 700; }

.hero { position: relative; height: 600px; background: #fff; overflow: hidden; }
.hero-track, .hero-slide { height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .4s linear;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }

.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
section[id] { scroll-margin-top: calc(var(--header) + 12px); }

.quem {
  background: #fff url('/assets/img/fundo-listras.webp') center/cover no-repeat;
  padding: 50px 0;
  margin-top: -30px;
}
.quem-grid {
  display: grid;
  grid-template-columns: 52% 34% 14%;
  gap: 2%;
  align-items: start;
}
.quem-foto { width: 100%; height: auto; }
.quem p { font-size: 13px; line-height: 1.45; }
.lupa { width: 80px; height: auto; margin-left: auto; }

.missao {
  background: #b5d84a url('/assets/img/bg-missao.jpg') center/cover no-repeat;
  color: #fff;
  padding: 35px 0;
  margin-top: -25px;
}
.missao-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; text-align: center; }
.missao h2 { color: #fff; font-size: 14px; letter-spacing: .04em; margin: 8px 0 16px; }
.missao p { font-size: 13px; line-height: 1.45; margin: 0 12px; }
.missao .ico { color: #fff; margin: 0 auto; }

.servicos {
  background: #d7d7d7 url('/assets/img/bg-servicos.webp') center/cover no-repeat;
  padding: 70px 0 90px;
  margin-top: -30px;
}
.servicos-layout { display: grid; grid-template-columns: 25% 75%; }
.servicos-box { grid-column: 2; }
.servicos h2 { margin-bottom: 8px; }
.servicos-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 18px;
  background: rgba(0, 0, 0, .5);
  border-radius: 30px;
  padding: 22px 26px 18px;
  color: #fff;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.servicos-cols ul { list-style: none; margin: 0; padding: 0; }
.servicos-cols li { line-height: 1.55; text-transform: uppercase; }

.produtos { background: var(--produtos); padding: 75px 0; margin-top: -30px; color: #fff; }
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 14px;
  margin-top: 8px;
}
.produtos figure { margin: 0; text-align: center; }
.produtos figcaption { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.produtos a {
  display: block; background: #fff; padding: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,.2), 0 6px 20px rgba(0,0,0,.19);
}
.produtos img { width: 100%; height: auto; }

.sustenta { background: #e6e7e8; padding: 70px 0; margin-top: -30px; }
.sustenta h2 { text-align: left; }
.sustenta-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.sustenta p { font-size: 13px; line-height: 1.45; text-align: justify; width: 92%; }
.foto {
  width: 100%; height: auto; padding: 12px; background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,.2), 0 6px 20px rgba(0,0,0,.19);
}

.contato {
  background: url('/assets/img/fundo-listras.webp') repeat;
  padding: 70px 0;
  margin-top: -30px;
}
.contato-grid { display: grid; grid-template-columns: 34% 1fr; gap: 28px; align-items: start; }
.titulo-fale { font-size: 28px; line-height: 1.05; margin-bottom: 10px; }
.texto-fale { font-size: 13px; line-height: 1.4; max-width: 280px; }
.contato h3 { font-size: 20px; margin: 16px 0 10px; }
.dado { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.dado img { width: 44px; height: auto; flex: none; }
.dado a { text-decoration: none; }

.form .linha { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.form label, .label-vazio { width: 110px; flex: none; text-align: right; font-size: 12px; font-weight: 700; }
.form input, .form textarea {
  width: 100%; border: 0; background: #d2d3d5; min-height: 25px; padding: 4px 8px; font: inherit;
}
.form textarea { min-height: 80px; max-height: 80px; resize: none; }
.form button {
  width: 100%; border: 0; background: var(--azul); color: #fff;
  text-transform: uppercase; letter-spacing: .04em; font-weight: 700;
  padding: 10px 12px; cursor: pointer;
}
.form button:hover { filter: brightness(1.08); }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.feedback { margin: 8px 0 0 120px; font-size: 13px; }

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay img { max-width: min(1100px, 92vw); max-height: 88vh; width: auto; height: auto; }
.lightbox-close {
  position: absolute; top: 12px; right: 16px; border: 0; background: transparent;
  color: #fff; font-size: 40px; line-height: 1; cursor: pointer;
}

.site-footer { background: #1277c4 url('/assets/img/bg-rodape.jpg') center/cover no-repeat; color: #fff; }
.footer-main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr .9fr;
  align-items: center;
  gap: 16px;
  padding: 28px 0 22px;
}
.footer-main p { margin: 0; font-size: 15px; line-height: 1.35; }
.footer-main img { width: min(280px, 100%); height: auto; }
.footer-fb { justify-self: end; }
.footer-fb img { width: 178px; }
.footer-copy {
  margin: 0; text-align: center; font-size: 12px;
  background: #0d6aad; padding: 10px 12px;
}

.page-simple { padding: 40px 0 70px; }
.page-simple .wrap { max-width: 800px; }
.page-simple h1 { font-size: 28px; margin-bottom: 16px; }
.page-simple p, .page-simple li { font-size: 15px; line-height: 1.5; }
.antiga-about { grid-template-columns: 1.2fr 320px; }
.antiga-hero {
  background: #4d4d4d; color: #fff; text-align: center; padding: 28px 16px;
}
.antiga-hero p { margin: 0; font-size: 22px; font-weight: 700; }
.antiga-missao { background: #6d6d6d; color: #fff; padding: 40px 0; }
.antiga-missao .missao-grid h2, .antiga-missao p { color: #fff; }
.antiga-serv { background: #333 url('/assets/img/servicos-antiga.jpg') center/cover; color: #fff; padding: 36px 0; }
.antiga-serv h2 { text-align: center; }
.antiga-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.antiga-galeria { background: #1b7fc8; color: #fff; text-align: center; padding: 48px 16px; }
.antiga-loc { text-align: center; padding: 28px 16px 8px; color: var(--verde); }
.antiga-map { background: #e4e4e4; min-height: 220px; }
.antiga-map iframe { width: 100%; height: 280px; border: 0; }
.antiga-contato {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 240px;
  background: #f3f3f3 url('/assets/img/contato-antiga.jpg') right center/cover no-repeat;
}
.antiga-contato .txt { padding: 36px 8% ; max-width: 520px; }
.antiga-contato h2 { color: var(--verde); }

@media (max-width: 900px) {
  .quem-grid, .missao-grid, .servicos-layout, .sustenta-grid, .contato-grid, .footer-main,
  .antiga-cols, .antiga-contato { grid-template-columns: 1fr; }
  .servicos-box { grid-column: 1; }
  .servicos-cols { grid-template-columns: 1fr 1fr; }
  .produtos-grid { grid-template-columns: repeat(3, 1fr); }
  .lupa { margin: 0 auto; }
  .footer-fb { justify-self: start; }
  .antiga-contato { background-position: center top; }
  .antiga-contato .txt { background: rgba(255,255,255,.88); }
}

@media (max-width: 780px) {
  :root { --header: 210px; }
  .header-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; margin: 4px 0 8px; }
  .header-phones { padding-top: 0; }
  .logo img { width: min(280px, 78vw); }
  .hero { height: 200px; }
  .produtos-grid, .servicos-cols { grid-template-columns: 1fr 1fr; }
  .form .linha { flex-direction: column; align-items: stretch; }
  .form label { width: auto; text-align: left; }
  .feedback { margin-left: 0; }
  .quem { padding: 24px 0; }
}
