:root {
  --font: "Montserrat", sans-serif;
  --font-size: 17px;
  --text: #4b4f58;
  --text-dark: #3a3a3a;
  --bg: #f5f5f5;
  --white: #ffffff;
  --green: #7fb55a;
  --green-soft: #a6b26b;
  --green-mid: #99b589;
  --green-grad-top: #a4b357;
  --green-grad-bot: #76b152;
  --dark: #3f3f3f;
  --footer-bg: #3a3a3a;
  --container: 1200px;
  --header-h: 130px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 9999;
  background: #000;
  color: #fff;
  padding: 8px 12px;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

/* ——— Header ——— */
.topbar {
  background: var(--green);
  color: #fff;
  font-size: 14px;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  align-items: center;
  width: min(92%, 1240px);
}
.topbar a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.topbar svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 100;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
  width: min(92%, 1240px);
  margin-inline: auto;
}
.logo img {
  width: 247px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}
.nav-desktop {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-desktop a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  display: block;
}
.nav-desktop a[aria-current="page"],
.nav-desktop a:hover {
  color: var(--green);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--text-dark);
  cursor: pointer;
}
.mobile-panel {
  background: var(--white);
  border-top: 1px solid #e5e5e5;
  padding: 12px 4%;
}
.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-panel a {
  display: block;
  padding: 12px 8px;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

/* ——— Hero slider ——— */
.hero-slider {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #6390c3;
}
.hero-slides {
  position: relative;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-caption {
  width: min(92%, 1200px);
  margin-inline: auto;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  max-width: 48%;
  padding: 0 24px;
}
.hero-caption.is-left {
  margin-left: 6%;
  margin-right: auto;
  text-align: left;
}
.hero-caption.is-right {
  margin-left: auto;
  margin-right: 6%;
  text-align: left;
}
.hero-caption h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-caption h2 {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.4;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #2a2a2a;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.hero-nav.prev { left: 8px; }
.hero-nav.next { right: 8px; }
.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(40, 40, 40, 0.35);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active {
  background: rgba(40, 40, 40, 0.85);
}

/* ——— Sections ——— */
.section {
  padding: 48px 0;
}
.section-white {
  background: var(--white);
}
.bem-vindo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: min(92%, 1200px);
  margin: 0 auto;
  padding: 48px 0 40px;
}
.bem-vindo-wrap {
  background: var(--white);
}
.bem-vindo .eyebrow {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: #9a9a9a;
}
.bem-vindo h1 {
  margin: 4px 0 18px;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.bem-vindo p {
  margin: 0 0 22px;
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
}
.bem-vindo .media img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.btn-green,
.botao a,
a.btn-green {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}
.btn-green:hover,
.botao a:hover {
  opacity: 0.92;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  margin: 20px 0 40px;
  letter-spacing: 0.03em;
}

/* Product hover grid (iHover effect5 left_to_right) */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  width: min(92%, 1200px);
  margin: 0 auto 10px;
  justify-items: center;
}
.produtos-grid.row-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-top: 10px;
}
.produto-card {
  text-align: center;
  width: 250px;
  max-width: 100%;
}
.ih-item {
  position: relative;
  width: 250px;
  height: 250px;
  max-width: 100%;
  overflow: hidden;
  background: var(--green-soft);
  margin: 0 auto 12px;
}
.ih-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.ih-item .img {
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
  z-index: 2;
}
.ih-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ih-item .info {
  position: absolute;
  inset: 0;
  background: var(--green-soft);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1;
  text-align: center;
}
.ih-item .info p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.ih-item:hover .img,
.ih-item:focus-within .img {
  transform: translateX(-100%);
}
.ih-item .ih-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: default;
}
.produto-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}
.produto-card .btn-wrap {
  margin-top: 10px;
}

/* Pilares */
.pilares {
  width: min(92%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pilar {
  min-height: 400px;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-weight: 700;
}
.pilar p {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pilar img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  object-fit: contain;
}
.pilar-1 { background: #3f3f3f; }
.pilar-2 { background: #99b589; }
.pilar-3 { background: #a6b26b; }
.pilar .btn-green {
  margin-top: 8px;
}

/* Ficha técnica form */
.ficha-section {
  background: linear-gradient(to bottom, rgba(164, 179, 87, 1) 0%, rgba(164, 179, 87, 1) 67%, rgba(118, 177, 82, 1) 100%);
  padding: 48px 0 70px;
  color: #fff;
}
.ficha-section h4 {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 28px;
  max-width: 720px;
  margin-inline: auto;
  padding: 0 16px;
  line-height: 1.4;
}
.ficha-form {
  width: min(92%, 560px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ficha-form input[type="text"],
.ficha-form input[type="email"],
.ficha-form input[type="tel"],
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: #fff;
}
.ficha-form .honeypot,
.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.ficha-form button[type="submit"] {
  align-self: center;
  margin-top: 10px;
  background: #3f3f3f !important;
  color: #fff !important;
  border: 0;
  padding: 12px 48px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.form-feedback {
  text-align: center;
  margin-top: 12px;
  font-size: 15px;
}

.interior-wrap {
  width: min(92%, 1100px);
  margin: 32px auto 56px;
  background: #fff;
  padding: 40px 48px 48px;
}
.page-hero-title {
  width: auto;
  margin: 0 0 24px;
}
.page-hero-title h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  color: var(--green);
  padding-bottom: 24px;
}
.page-content {
  width: min(92%, 973px);
  margin: 0 auto 48px;
  background: transparent;
}
.interior-wrap .page-content {
  width: 100%;
  margin: 0;
}
.interior-wrap .page-content.card {
  padding: 0;
  box-shadow: none;
  background: transparent;
}
.page-content.card {
  background: #fff;
  padding: 40px 48px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}
.page-content p {
  margin: 0 0 1.1em;
  font-size: 17px;
  line-height: 1.7;
}
.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--text-dark);
  margin: 1.4em 0 0.6em;
}
.page-content ul {
  padding-left: 1.2em;
  margin: 0 0 1.2em;
}
.page-content li {
  margin-bottom: 0.4em;
}
.page-content img.aligncenter {
  margin: 24px auto;
}
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  width: min(92%, 1200px);
  margin: 0 auto 48px;
}
.hover-next {
  width: min(92%, 973px);
  margin: 0 auto 40px;
  text-align: right;
}
.hover-next a {
  color: var(--green);
  font-weight: 500;
}
.map-wrap {
  width: min(92%, 1200px);
  margin: 0 auto 40px;
}
.map-wrap iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
.addr-line {
  width: min(92%, 1200px);
  margin: 0 auto 16px;
  font-size: 17px;
  color: var(--text-dark);
}

/* Contact page form */
.contact-form-wrap {
  width: min(92%, 640px);
  margin: 0 auto 60px;
}
.contact-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text-dark);
}
.contact-form .field {
  margin-bottom: 16px;
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-form button {
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 12px 32px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
}

.archive-list {
  width: min(92%, 800px);
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.archive-item {
  background: #fff;
  padding: 28px 32px;
  border-left: 4px solid var(--green);
}
.archive-item h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.archive-item .meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}
.archive-item a.read {
  font-weight: 600;
  color: var(--green);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  font-size: 15px;
  padding: 60px 0 0;
}
.site-footer,
.site-footer p,
.site-footer h4 {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: min(92%, 1200px);
  margin: 0 auto;
  align-items: start;
}
.footer-grid img {
  width: 270px;
  max-width: 100%;
  height: auto;
}
.footer-grid h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
.footer-grid p {
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.5;
}
.footer-grid .icon-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-grid .icon-line svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  fill: #fff;
}
.footer-grid a {
  color: var(--green);
}
.footer-copy {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 18px 4%;
  text-align: center;
  font-size: 14px;
  color: #fff;
}
.footer-copy strong,
.footer-copy .accent {
  color: var(--green);
  font-weight: 600;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.wa-float svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}
.wa-float:hover {
  opacity: 1;
  filter: brightness(1.05);
}

/* Quem somos pilares text */
.pilares-text {
  width: min(92%, 973px);
  margin: 0 auto 48px;
}
.pilares-text .bloco {
  margin-bottom: 28px;
}
.pilares-text .bloco h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  font-size: 18px;
  text-transform: uppercase;
}
.pilares-text .bloco h3 img {
  width: 48px;
  height: 48px;
}

@media (max-width: 1024px) {
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .produtos-grid.row-3 {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
  .pilares {
    grid-template-columns: 1fr;
  }
  .pilar {
    min-height: 280px;
  }
}

@media (max-width: 780px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .logo img { width: 180px; }
  .header-main { min-height: 70px; }
  .topbar .container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 0;
    font-size: 13px;
  }
  .hero-slider { height: 320px; }
  .hero-caption {
    max-width: 90%;
    padding-left: 0;
    text-align: center;
    width: 100%;
    margin: 0 auto !important;
  }
  .hero-caption h1 { font-size: 26px; }
  .hero-caption h2 { font-size: 16px; }
  .bem-vindo,
  .content-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .produtos-grid,
  .produtos-grid.row-3 {
    grid-template-columns: 1fr;
  }
  .ih-item {
    width: 240px;
    height: 240px;
  }
  .page-content.card {
    padding: 24px 20px;
  }
  .page-hero-title h1 {
    padding-bottom: 24px;
    font-size: 26px;
  }
  .wa-float span { display: none; }
  .wa-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }
}
