.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 5px 22px -5px rgba(122, 122, 122, 0.1);
}

.header-bar {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
}

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 128px; height: 60px; }

.menu-btn {
  display: none;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #4f5d75;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  margin: 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #4f5d75;
}
.main-nav a:hover { color: #8b98ae; }
.main-nav a[aria-current="page"] { color: #2d3142; }
.nav-icon a { margin: 0 6px; line-height: 0; }
.nav-icon img { display: block; }

.main-nav .has-sub > ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  padding: 12px 0 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease;
  z-index: 20;
}
.main-nav .has-sub > ul li { display: block; width: 100%; }
.main-nav .has-sub:hover > ul,
.main-nav .has-sub:focus-within > ul {
  opacity: 1;
  visibility: visible;
}
.main-nav .has-sub > ul a {
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  color: #fff;
  background: #2e3142;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav .has-sub > ul li:last-child a { border-bottom: 0; }
.main-nav .has-sub > ul a:hover { color: #fff; background: #240973; }

.mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(255px, 86vw);
  background: #fff;
  z-index: 1100;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
  padding: 24px 18px;
  overflow: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav .logo { margin-bottom: 18px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: #4f5d75;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}
.mobile-nav .has-sub { position: relative; }
.mobile-nav .sub-toggle {
  position: absolute;
  right: 0;
  top: 6px;
  border: 0;
  background: transparent;
  color: #4f5d75;
  font-size: 20px;
  cursor: pointer;
}
.mobile-nav .has-sub > ul { display: none; padding-left: 12px; }
.mobile-nav .has-sub.open > ul { display: block; }
.mobile-nav .nav-icon { display: flex; gap: 16px; }

.hero { position: relative; background: #111; }
.hero-viewport { overflow: hidden; }
.hero-track { display: flex; transition: transform .6s ease; }
.hero-slide { position: relative; min-width: 100%; }
.hero-slide img { display: block; width: 100%; height: auto; }
.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
}
.hero-caption-inner { width: 100%; }
.hero-caption h1,
.hero-caption p {
  color: #fff;
  text-align: left;
  width: 50%;
  margin: 0 0 8px;
  padding: 5px 12px 5px 15px;
}
.hero-caption h1 {
  font-size: 42px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.8);
}
.hero-caption p {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.7);
}
.hero-caption .button { margin-top: 18px; }

.button {
  display: inline-block;
  background: #240973;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 0;
  border-radius: 5px;
  line-height: 1.4;
  cursor: pointer;
}
.button:hover {
  color: #fff;
  box-shadow: 0 0 40px rgba(36, 9, 115, 0.45);
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: #fff; }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  padding: 100px 0;
}
.about-photos { margin-top: -35px; }
.about-photos img { display: block; width: 470px; max-width: 100%; height: auto; margin: 0 auto 12px; }
.about h2 { margin-top: 0; font-size: 30px; color: #2d3142; }
.btn-saiba {
  display: inline-block;
  margin-top: 8px;
  padding: 1em 2em;
  color: #fff !important;
  background: linear-gradient(#41a9d5, #298fba);
  border: 1px solid #247fa5;
  border-radius: 0.25em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.065);
}
.btn-saiba:hover { background: linear-gradient(#49add7, #2b95c2); }

.products {
  background: #f5f5f5;
  padding: 70px 0 80px;
}
.products h1 {
  text-align: center;
  font-size: 36px;
  margin: 30px 0 10px;
}
.services {
  display: flex;
  justify-content: center;
  gap: 0;
}
.services-item {
  position: relative;
  width: 32%;
  text-align: center;
  padding: 30px 20px 40px;
  z-index: 1;
}
.services-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: #fff;
  box-shadow: 0 0 32px rgba(122, 122, 122, 0.1);
  transition: height .35s ease;
  z-index: -1;
}
.services-item:hover::before { height: 100%; }
.services-item img { width: 200px; height: 200px; object-fit: cover; }
.services-item h3 { font-size: 18px; margin: 25px 0; }
.services-item a { font-size: 16px; }

.clients {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  align-items: center;
  padding: 100px 0;
}
.clients img { display: block; width: 100%; height: auto; margin: 0 auto; }

.site-footer {
  background: #240973;
  color: #fff;
  padding: 20px 0 28px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
}
.footer-contact img { flex: 0 0 30px; margin-top: 2px; }
.footer-logo { text-align: center; padding-top: 50px; }
.footer-logo img { width: 170px; height: 80px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #d9d4ea; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-info { margin: 0; }

.page-wrap { margin: 60px auto; }
.page-card {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 32px rgba(122, 122, 122, 0.1);
}
.entry-title {
  font-size: 36px;
  margin: 0 0 40px;
}

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.box-dash {
  padding: 15px;
  border: 1px dashed #c7c7c7;
  border-bottom: 20px solid #240973;
}
.box-dash h2 { color: #240973; margin-top: 0; }
.box-purple {
  background: #240973;
  color: #fff;
  padding: 15px;
  min-height: 190px;
}
.box-purple p { color: #fff; margin: 0 0 12px; }
.seg-box {
  background: #240973;
  color: #fff;
  text-align: center;
  padding: 28px 15px;
  min-height: 190px;
}
.seg-box .num { font-size: 30px; margin: 0 0 8px; }
.seg-box p { color: #fff; margin: 0; }
.note-box { min-height: 220px; }

.plant-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 8px;
  align-items: start;
  margin-top: 8px;
}
.plant-gallery img { width: 100%; height: auto; display: block; }
.plant-gallery a:nth-child(2) img { margin-top: 0; }

.map-frame { width: 100%; height: 280px; border: 0; display: block; }
.contato-grid .map-frame { height: 460px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.photo-card {
  display: block;
  padding: 15px;
  border: 1px dashed #c7c7c7;
  border-bottom: 20px solid #240973;
  text-align: center;
}
.photo-card img { width: 100%; height: auto; }

.section-title {
  color: #240973;
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.02em;
}
.lead { margin-bottom: 24px; }

.form p { margin: 0 0 16px; }
.form label { display: block; margin-bottom: 6px; }
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c5d0e0;
  border-radius: 2px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.form textarea { min-height: 180px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; height: auto; }
.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}
.lb-close { top: 12px; right: 18px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

@media (max-width: 1199px) {
  .menu-btn { display: block; }
  .main-nav { display: none; }
  .logo { margin: 0 auto; }
  .hero-caption h1 { font-size: 28px; width: 80%; }
  .hero-caption p,
  .hero-caption .button { width: auto; max-width: 90%; }
  .hero-caption-inner { width: 92%; }
}

@media (max-width: 1024px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .cols-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .about,
  .cols-2,
  .cols-3,
  .footer-top,
  .footer-bottom,
  .services { display: block; }
  .about { padding: 50px 0; }
  .about-photos { margin-top: 0; }
  .services-item { width: auto; }
  .clients { grid-template-columns: repeat(2, 1fr); padding: 50px 0; }
  .products { padding: 50px 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .page-wrap { margin: 24px auto; }
  .page-card { padding: 18px; }
  .entry-title { font-size: 30px; }
  .contato-grid .map-frame { height: 280px; margin-top: 20px; }
  .footer-logo { padding-top: 10px; }
  .hero-caption { top: 12%; }
  .hero-caption h1 { font-size: 22px; width: auto; }
}
