/* Header */
.site-header {
  background: #fff;
  position: relative;
  z-index: 30;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  width: min(100% - 40px, var(--header-w));
  margin-inline: auto;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: 182px;
  height: 77px;
  object-fit: contain;
}

.nav-desktop ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
}

.nav-desktop a[aria-current="page"] {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.mobile-panel {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 8px 20px 20px;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-panel a {
  display: block;
  padding: 12px 0;
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid #f0f0f0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  padding: 1em 4em;
  border: 0;
  box-shadow: 0 0 48px -18px rgba(0, 0, 0, 0.5);
}

.btn:hover,
.btn:focus {
  background: var(--teal);
  color: #fff;
}

.btn--block {
  display: flex;
  width: 100%;
  padding: 1em 2em;
  box-shadow: none;
}

.btn--light {
  background: #fff;
  color: var(--green);
  border: 1px solid #45de854f;
  box-shadow: none;
  width: 100%;
  padding: 1em 1.2em;
}

.btn--light:hover,
.btn--light:focus {
  background: var(--green);
  color: #fff;
}

@keyframes wobble-vertical {
  16.65% { transform: translateY(8px); }
  33.3% { transform: translateY(-6px); }
  49.95% { transform: translateY(4px); }
  66.6% { transform: translateY(-2px); }
  83.25% { transform: translateY(1px); }
  100% { transform: translateY(0); }
}

.btn--wobble:hover,
.btn--wobble:focus {
  animation: wobble-vertical 1s ease-in-out 1;
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #1a2616;
  aspect-ratio: 1920 / 650;
  min-height: 220px;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 75%;
  position: absolute;
  inset: 0;
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 66, 36, 0.52);
}

.hero-slider__title {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.25;
  padding: 24px 80px;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: rgba(45, 66, 36, 0.55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.hero-slider__arrow--prev { left: 16px; }
.hero-slider__arrow--next { right: 16px; }

/* About */
.about {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 0 0 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.about-copy {
  padding: 80px 16px 48px 16px;
}

.kicker {
  font-family: var(--font);
  font-size: 1.5em;
  font-weight: 600;
  color: var(--green);
  border-left: 3px solid var(--yellow);
  padding: 10px 10px 0 20px;
  display: inline-block;
}

.title-xl {
  font-family: var(--font-title);
  font-size: 2.5em;
  font-weight: 400;
  line-height: 1.1;
  text-transform: capitalize;
  color: var(--green);
  margin: 6px 0 20px;
}

.about-copy p {
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.4em;
  color: var(--text);
  margin-bottom: 1em;
}

.about-copy p strong {
  font-weight: 700;
}

.about-photo {
  margin-top: -10%;
  padding: 0 16px 16px;
}

.about-photo img {
  width: 100%;
  padding: 2em 3em;
  background: #fff;
}

/* Services band */
.svc-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: #3d3d3d;
  min-height: 425px;
  padding: 8em 1em 10em;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.svc-band__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
  z-index: 0;
  pointer-events: none;
}

.svc-band__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #2d4224 0%, #45de84 91%);
  opacity: 0.78;
  z-index: 1;
  pointer-events: none;
}

.svc-band > :not(.svc-band__photo):not(.svc-band__overlay) {
  position: relative;
  z-index: 2;
}

.svc-band .kicker {
  color: #fff;
}

.svc-band .title-xl {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 0;
}

/* Service cards */
.svc-wrap {
  position: relative;
  z-index: 11;
  background: transparent;
  padding: 0 0 3em;
  margin-top: -10%;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.svc-card {
  background: #fff;
  margin: 4%;
  padding: 1em;
  box-shadow: 0 45px 48px -9px rgba(193, 193, 193, 0.5);
  transition: box-shadow 0.5s;
}

.svc-card:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.11);
}

.svc-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.svc-card__title {
  font-family: var(--font);
  font-size: 1.2em;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.2em;
  color: var(--green);
  text-align: center;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 10px;
  padding: 10px;
  border-left: 3px solid var(--yellow);
}

/* WhatsApp CTA */
.cta-wa {
  position: relative;
  background-color: #45de84;
  padding: 6em 1em 8em;
}

.cta-wa__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/img/bg-whatsapp.webp") center 28% / cover no-repeat;
  background-attachment: fixed;
  pointer-events: none;
}

.cta-wa__box {
  position: relative;
  z-index: 1;
  background: #fff;
  max-width: 720px;
  padding: 2.4em 2em 2.4em 2.4em;
  box-shadow: 0 19px 46px -11px rgba(0, 0, 0, 0.34);
  margin-left: 8%;
}

.cta-wa__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.cta-wa .btn {
  flex-shrink: 0;
  padding: 1em 2.2em;
}

.cta-wa .title-xl {
  margin: 8px 0 12px;
}

.cta-wa p {
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1.4em;
  color: var(--text);
}

.cta-divider {
  width: 10%;
  height: 3px;
  background: var(--yellow);
  margin-left: auto;
}

/* Icon boxes */
.icon-boxes {
  background: #fff;
  padding: 4em 1em 1em;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.icon-box {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 2em;
  margin: 0 4% 0 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}

.icon-box:last-child { margin-right: 0; }

.areas-grid .icon-box {
  margin: 0;
  min-height: 240px;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/bg-iconbox.webp") bottom center / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.icon-box--green { background-color: #50803c; }
.icon-box--yellow { background-color: #f9d448; }
.icon-box--teal { background-color: #4495a2; }

.icon-circle {
  position: relative;
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.icon-box h3 {
  position: relative;
  font-family: var(--font-box);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.icon-box p {
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5em;
  color: #fff;
}

.icon-box .btn--light {
  position: relative;
  margin-top: auto;
  width: calc(100% - 0px);
}

/* Partners */
.partners {
  padding: 48px 1em 24px;
  text-align: center;
}

.partners-slider {
  position: relative;
  max-width: 950px;
  margin: 32px auto 0;
  overflow: hidden;
}

.partners-track {
  display: flex;
  transition: transform 0.8s ease;
}

.partners-track img {
  width: 180px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto;
}

.partners-item {
  flex: 0 0 33.333%;
  display: grid;
  place-items: center;
  padding: 10px 20px;
  min-height: 90px;
}

.partners-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #8a8a8a;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
}

.partners-arrow--prev { left: 0; }
.partners-arrow--next { right: 0; }

.partners-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.partners-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #d0d0d0;
  padding: 0;
  cursor: pointer;
}

.partners-dots button.is-active {
  background: #555;
}

/* Footer */
.site-footer {
  margin-top: 24px;
}

.footer-main {
  background: #ececec;
  padding: 80px 0 60px;
}

.footer-grid {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand img {
  width: 77%;
  max-width: 220px;
  height: auto;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 16px;
}

.footer-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.footer-ico {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-quote {
  text-align: center;
}

.footer-quote p {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.35;
}

.footer-copy {
  background: #526948;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 400;
}

.footer-copy a {
  color: #fff;
}

/* Page title */
.page-title-bar {
  background: #ececec;
  padding: 12px 0;
}

.page-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 500;
  color: var(--green);
}

/* Interior about */
.interior-about {
  padding: 40px 0 24px;
}

.interior-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.interior-about p {
  font-family: var(--font);
  font-size: 16px;
  color: #7a7a7a;
  margin-bottom: 16px;
  line-height: 1.6;
}

.interior-about p strong {
  font-weight: 700;
  color: #7a7a7a;
}

.photo-frame {
  border: 3px solid var(--yellow);
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0 48px;
}

.gallery-row a {
  display: block;
  border: 3px solid var(--yellow);
  width: 150px;
  height: 150px;
}

.gallery-row img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* Areas / license */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0 56px;
}

.license-box {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  background-color: #50803c;
  color: #fff;
  text-align: center;
  padding: 48px 40px 36px;
  overflow: hidden;
}

.license-box__photo,
.license-box__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.license-box__photo {
  background: url("/assets/img/bg-iconbox.webp") bottom center / cover no-repeat;
}

.license-box__tint {
  background: #50803c;
  mix-blend-mode: color;
  opacity: 0.82;
}

.license-box > :not(.license-box__photo):not(.license-box__tint) {
  position: relative;
  z-index: 1;
}

.license-box .icon-circle {
  margin: 0 auto 8px;
  width: 52px;
  height: 52px;
}

.license-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  max-width: 760px;
  margin: 16px auto 36px;
}

.license-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.license-logos img {
  height: auto;
  background: transparent;
}

.license-logos__ibama {
  width: 78%;
}

.license-logos__cetesb {
  width: 68%;
}

.page-pad {
  padding: 40px 0 56px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0 28px;
}

.contact-card {
  border: 3px solid var(--yellow);
  box-shadow: 0 18px 28px -12px rgba(0, 0, 0, 0.18);
  text-align: center;
  overflow: hidden;
  background: #fff;
}

.contact-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px;
}

.contact-card__body {
  padding: 22px 16px 26px;
}

.contact-card__body a,
.contact-card__body p {
  font-family: var(--font);
  font-size: 1.2em;
  font-weight: 600;
  color: var(--green);
  line-height: 1.35;
}

.map-section {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 40px;
}

.map-wrap {
  width: min(100% - 32px, 1140px);
  height: 300px;
  margin-inline: auto;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  margin-inline: auto;
}

/* Floats */
.joinchat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.28);
}

.back-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 35;
  width: 42px;
  height: 42px;
  border: 0;
  background: #2d4224;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.back-top[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.9);
  display: grid;
  place-items: center;
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  line-height: 1;
}

.lightbox__close { top: 12px; right: 20px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

.not-found {
  padding: 80px 16px;
  text-align: center;
}

.not-found h1 {
  font-family: var(--font-title);
  color: var(--green);
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 921px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .header-inner { min-height: 88px; }
  .logo img { width: 150px; height: 64px; }
  .hero-slider__arrow { display: none; }
  .hero-slider__title { padding: 20px 16px; }
  .about-grid,
  .interior-about-grid { grid-template-columns: 1fr; }
  .about-copy {
    text-align: center;
    padding: 40px 8px 16px;
  }
  .about-copy .kicker { text-align: left; }
  .about-photo { margin-top: 0; }
  .about-photo img { margin-top: 0; padding: 0; }
  .svc-grid,
  .icon-grid,
  .areas-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .icon-box { margin: 0 0 16px; }
  .cta-wa__box { margin: 0 auto; }
  .cta-wa__row { justify-content: center; text-align: center; }
  .cta-wa__bg {
    background-attachment: scroll;
  }
  .license-logos { grid-template-columns: 1fr; gap: 20px; }
  .license-logos__ibama,
  .license-logos__cetesb { width: 48%; }
  .cta-divider { margin: 0 auto 12px; }
  .partners-item { flex-basis: 100%; }
  .footer-brand,
  .footer-quote,
  .footer-title,
  .footer-line { text-align: center; justify-content: center; }
  .svc-band { padding: 5em 1em 8em; min-height: 320px; }
  .svc-wrap { margin-top: -16%; }
}

@media (min-width: 922px) and (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-desktop ul { gap: 16px; }
  .nav-desktop a { font-size: 13px; }
}
