*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.topbar {
  background: var(--gray);
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  min-height: 54px;
  align-items: center;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 15px;
  font-weight: 500;
}

.topbar-contacts svg {
  color: var(--green);
  flex-shrink: 0;
}

.topbar-facebook {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: var(--facebook);
  color: #fff !important;
  justify-content: center;
}

.topbar-facebook svg {
  color: #fff;
}

.header-main {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 136px;
  gap: 24px;
}

.logo img {
  width: 247px;
  height: auto;
}

.nav-desktop ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-desktop a {
  display: inline-block;
  color: var(--green);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 15px;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.is-current {
  color: var(--dark);
}

.nav-desktop a.is-current::before,
.nav-desktop a.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--dark);
}

.nav-desktop a.is-current::before {
  top: 0;
}

.nav-desktop a.is-current::after {
  bottom: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--dark);
  padding: 8px;
  cursor: pointer;
}

.mobile-panel {
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-panel a {
  display: block;
  padding: 14px 24px;
  color: var(--green);
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.mobile-panel a.is-current {
  color: var(--dark);
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  height: 450px;
  background: #222;
}

.slider-track,
.slide {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.slide:not(.is-active) .slide-copy {
  visibility: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

.slide-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}

.slide-copy p {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  max-width: 920px;
}

.slide-bar {
  display: block;
  width: 92px;
  height: 6px;
  margin: 16px 0;
}

.slide-bar-green {
  background: var(--green);
}

.slide-bar-red {
  background: var(--red);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--green);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  opacity: 0.92;
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}

/* About */
.about-home,
.about-page,
.about-variety {
  background: var(--gray);
  padding: 75px 0;
}

.about-variety {
  padding-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
  align-items: center;
  overflow: visible;
}

.about-copy {
  overflow: visible;
}

.about-photo img {
  width: 100%;
  height: auto;
}

.about-copy .kicker {
  display: block;
  background: none;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  padding: 0;
  margin: 0 0 12px;
}

.about-copy h2 {
  font-size: 39px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--red);
  background: #fff;
  padding: 16px;
  margin: 0 0 16px -100px;
  white-space: nowrap;
}

.about-copy h2 span {
  font-weight: 700;
  color: var(--red);
}

.about-copy h2 .title-black {
  font-weight: 500;
  color: #000;
}

.about-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 1px;
  text-align: justify;
  margin: 18px 0 22px;
}

.about-copy-plain p {
  text-align: left;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.about-copy-plain strong {
  font-weight: 700;
}

.divider-green {
  display: block;
  width: 72px;
  height: 4.1px;
  background: var(--green);
}

.divider-center {
  margin: 10px auto 18px;
  width: 42px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.4px;
  color: #fff;
  border: 1px solid #fff;
  transition: background-color 0.2s, color 0.2s;
}

.btn-red {
  background: var(--red);
}

.btn-red:hover {
  background: var(--green);
}

.btn-green {
  background: var(--green);
}

.btn-green:hover {
  background: var(--red);
}

.btn-arrow::after {
  content: " →";
}

/* Products CTA */
.products-cta {
  position: relative;
  background: #111 url("/assets/img/central.webp") center / cover no-repeat fixed;
  padding: 80px 0;
}

.products-cta-inner {
  width: min(100% - 48px, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 199px;
  background: var(--brown);
  outline: 8px solid var(--brown);
}

.products-cta-inner figure {
  margin: 0;
  overflow: hidden;
}

.products-cta-inner figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 199px;
}

.products-cta-copy {
  background: var(--brown);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-cta-copy h2 {
  color: var(--red);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  white-space: nowrap;
}

.products-cta-copy li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
  font-size: 16px;
}

.products-cta-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.products-cta-copy .btn {
  margin-top: 18px;
  align-self: flex-start;
}

/* Home cards */
.home-cards {
  background-color: var(--gray-cta);
  background-image: linear-gradient(rgba(246, 246, 246, 0.92), rgba(246, 246, 246, 0.92)), url("/assets/img/cta-bg.webp");
  background-position: center;
  background-size: cover;
  padding: 80px 0 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.info-card {
  background: #fff;
  text-align: center;
  padding: 40px 24px 36px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.info-card svg {
  color: var(--green);
  margin-inline: auto;
  display: block;
  height: 50px;
  width: auto;
}

.info-card .card-kicker {
  color: #9a9a9a;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 16px 0 4px;
}

.info-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 18px;
}

/* Page title */
.page-hero {
  background: var(--green);
  padding: 8px 0;
}

.page-hero h1 {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  padding: 10px 0;
}

/* Products */
.products-page {
  padding: 40px 0 20px;
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gray);
  min-height: 210px;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 210px;
}

.product-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
}

.product-copy h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--heading);
}

/* IBAMA */
.ibama-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ibama-green {
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 36px 48px;
}

.ibama-green p {
  font-size: 16px;
  line-height: 1.7;
}

.ibama-gray {
  background: #8a8a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ibama-gray img {
  width: 210px;
  height: auto;
}

/* Orçamento */
.orcamento-page {
  padding: 50px 0 60px;
  background: #fff;
}

.orcamento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.orcamento-form p {
  margin: 0 0 12px;
}

.orcamento-form input,
.orcamento-form textarea {
  width: 100%;
  border: 1px solid #8c8c8c;
  border-radius: 4px;
  padding: 10px 12px;
  font: 16px var(--font);
  color: var(--text);
  background: #fff;
}

.orcamento-form textarea {
  min-height: 220px;
  resize: vertical;
}

.orcamento-form button {
  background: #fff;
  color: #e36d7a;
  border: 1px solid #e36d7a;
  border-radius: 4px;
  padding: 10px 22px;
  font: 16px var(--font);
  cursor: pointer;
}

.orcamento-form button:hover {
  background: #e36d7a;
  color: #fff;
}

.orcamento-grid figure img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.form-feedback {
  color: var(--green);
  font-size: 14px;
}

/* Map */
.map-page {
  padding: 50px 0 60px;
  background: #fff;
}

.map-page iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* Contact */
.contact-intro {
  padding: 50px 0 10px;
}

.contact-intro h2 {
  color: var(--green);
  font-size: 26px;
  font-weight: 600;
}

.contact-lead {
  color: #000;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: 28px;
  margin-bottom: 20px;
}

.contact-cards {
  padding-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-box {
  background: var(--gray);
  border-radius: 10px;
  padding: 2em;
}

.contact-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.contact-box h3 svg {
  color: var(--green);
  flex-shrink: 0;
}

.contact-box p,
.contact-box a {
  color: #555;
  font-size: 15px;
}

.contact-text {
  padding: 10px 0 50px;
}

.contact-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-banner {
  background: var(--gray);
  border-radius: 10px;
  text-align: center;
  padding: 28px 24px;
  margin: 28px auto 0;
  max-width: 760px;
}

.contact-banner p {
  color: var(--heading);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.not-found {
  padding: 48px 0 80px;
  text-align: center;
}

/* Footer */
.site-footer {
  position: relative;
  background: url("/assets/img/banner-02.webp") top center / cover no-repeat;
  color: #fff;
  padding: 85px 0 60px;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0.51;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.footer-card {
  border-radius: 10px;
  padding: 2em;
  min-height: 190px;
}

.footer-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-card h3 svg {
  flex-shrink: 0;
}

.footer-card p,
.footer-card a {
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.footer-card-green {
  background: var(--green);
}

.footer-card-red {
  background: var(--red);
}

.footer-card-white {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-logo img {
  width: 170px;
  height: auto;
}

.footer-facebook {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--facebook);
  color: #fff;
  display: grid;
  place-items: center;
}

.copyright {
  text-align: center;
  color: #fff;
  margin-top: 50px;
  font-size: 15px;
}

.copyright a {
  color: #fff;
}

/* WhatsApp */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
}

.wa-float-btn {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, 0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .footer-cards,
  .contact-grid,
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar-inner {
    justify-content: center;
    padding: 10px 0;
  }

  .topbar-contacts {
    flex-direction: column;
    gap: 10px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    flex-direction: column;
    min-height: 0;
    padding: 12px 0 8px;
  }

  .logo img {
    width: 220px;
  }

  .slider {
    height: 280px;
  }

  .slider-btn {
    display: none;
  }

  .slide-copy p {
    font-size: 20px;
  }

  .about-grid,
  .products-cta-inner,
  .orcamento-grid,
  .ibama-strip,
  .products-grid,
  .product-card,
  .footer-cards,
  .contact-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-home,
  .about-page {
    padding: 40px 0;
  }

  .about-copy .kicker {
    margin-left: 0;
  }

  .about-copy {
    text-align: center;
  }

  .about-copy .divider-green {
    margin-inline: auto;
  }

  .about-copy h2 {
    font-size: 26px;
    white-space: normal;
    margin-left: 0;
  }

  .about-copy p {
    text-align: center;
  }

  .products-cta {
    background-attachment: scroll;
    padding: 0;
  }

  .products-cta-copy h2 {
    white-space: normal;
  }

  .home-cards {
    padding: 40px 0;
  }

  .ibama-green {
    padding: 28px 20px;
  }

  .site-footer {
    padding: 48px 16px 40px;
  }

  .footer-card {
    min-height: 0;
  }
}
