/* =============== RESET BÁSICO =============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #020403;
  color: #e6f0ea;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* =============== VARIÁVEIS =============== */
:root {
  --color-bg-dark: #020403;
  --color-bg-light: #f6f7f6;
  --color-bg-card: #050c08;

  --color-primary: #1b5e20;
  --color-primary-light: #2e7d32;
  --color-primary-soft: #87c38f;
  --color-accent: #00b248;

  --color-text-dark: #0b0f0c;
  --color-text-muted: #7b8a80;

  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.42);
}

/* =============== CONTAINERS & SEÇÕES =============== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
}

.section--dark {
  background: radial-gradient(circle at top left, #0c1710 0, #020403 55%, #000000 100%);
  color: #e6f0ea;
}

.section--light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section--contact {
  background: radial-gradient(circle at 0 0, rgba(0, 178, 72, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(3, 20, 8, 0.9), #020403 70%);
  color: #e6f0ea;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__header--left {
  text-align: left;
}

.section__header h2 {
  font-size: 2.1rem;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.section__header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

/* =============== HEADER =============== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(2, 4, 3, 0.96), rgba(2, 4, 3, 0.86));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(135, 195, 143, 0.22);
  transition: all 0.25s ease;
}

.site-header.site-header--scrolled {
  height: 64px;
  background: rgba(2, 4, 3, 0.98);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 44px;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

.logo img.is-hidden {
  display: none;
}

.logo-text {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text.is-visible {
  display: inline-flex;
}

.logo-text__main {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e6f0ea;
}

.logo-text__sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary-soft);
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
}

.nav-list a {
  position: relative;
  padding: 6px 0;
  color: #e6f0ea;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
  transition: width 0.22s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  opacity: 1;
  color: #ffffff;
}

.nav-list a.is-active::after,
.nav-list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #e6f0ea;
  border-radius: 999px;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* =============== HERO FULLSCREEN =============== */
.hero {
  position: relative;
  padding-top: 110px;
}

.hero--full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

/* HERO – fundo com fazenda + overlay do técnico em diagonal */
.hero--full {
  position: relative;
  padding-top: 110px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

/* Fundo base: fazenda ocupando a tela toda */
.hero--full::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(2, 4, 3, 0.96), rgba(2, 4, 3, 0.35)),
    url("https://images.pexels.com/photos/1595104/pexels-photo-1595104.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  z-index: -3;
}

/* Overlay do técnico: faixa diagonal vindo da direita para a esquerda */
.hero--full::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    /* gradiente escurecendo da direita pra esquerda */
    linear-gradient(
      to left,
      rgba(2, 4, 3, 0.98) 0%,
      rgba(2, 4, 3, 0.8) 28%,
      rgba(2, 4, 3, 0.35) 65%,
      rgba(2, 4, 3, 0) 100%
    ),
    /* SUA IMAGEM LOCAL */
    url("img/img-slide.jpg");
  background-size: cover;
  /* ponto de partida — se cortar muito, você só mexe nesse número */
  background-position: 40% center;
  /* faixa diagonal da direita */
  clip-path: polygon(64% 0, 100% 0, 100% 100%, 50% 100%);
  opacity: 0.96;
  transform: translateX(30px);
  animation: heroOverlayIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  z-index: -2;
}




/* Overlay verde suave por cima da fazenda (pode manter se já existir) */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(0, 178, 72, 0.28), transparent 55%);
  z-index: -1;
}

/* Animação: imagem “entra” da direita pra esquerda */
@keyframes heroOverlayIn {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 0.96;
  }
}



.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(0, 178, 72, 0.18), transparent 50%);
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--color-primary-soft);
  margin-bottom: 10px;
}

.eyebrow--light {
  color: #cdeed3;
}

.hero__content h1 {
  font-size: 2.7rem;
  line-height: 1.18;
  margin-bottom: 14px;
}

.text-highlight {
  display: block;
  color: var(--color-primary-soft);
  font-size: 30px;
}

.hero__subtitle {
  max-width: 540px;
  font-size: 1rem;
  color: #d1e3d6;
  margin-bottom: 22px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.18s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 178, 72, 0.55);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(0, 178, 72, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary-soft);
  border-color: rgba(135, 195, 143, 0.6);
}

.btn--ghost:hover {
  background: rgba(2, 8, 4, 0.9);
  color: #e6f0ea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.btn--full {
  width: 100%;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.78rem;
}

.hero__tags span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(135, 195, 143, 0.5);
  background: rgba(5, 12, 8, 0.85);
}

.hero__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero__number {
  min-width: 110px;
}

.hero__number-value {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
}

.hero__number-value::after {
  content: "+";
  margin-left: 2px;
}

.hero__number-label {
  font-size: 0.8rem;
  color: #c1d5c7;
}

/* HERO SIDE CARD */
.hero__badge-card {
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  background: rgba(4, 10, 6, 0.92);
  border: 1px solid rgba(135, 195, 143, 0.38);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.hero__badge-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.hero__badge-card ul {
  margin-bottom: 10px;
}

.hero__badge-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  color: #cfe4d4;
}

.hero__badge-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary-soft);
}

.hero__badge-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-soft);
}

/* =============== SETORES =============== */
.setores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.setor-card {
  border-radius: var(--radius-md);
  padding: 22px 20px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.setor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.setor-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.setor-card ul li {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.setor-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* =============== SEÇÕES DE IMAGEM FULLSCREEN =============== */
.section-image {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.section-image--silos::before,
.section-image--tecnico::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 0.6s ease-out;
  z-index: -2;
}

/* Silos de grãos (full) */
.section-image--silos::before {
  background-image:
    linear-gradient(110deg, rgba(2, 4, 3, 0.95), rgba(2, 4, 3, 0.2)),
    url("https://images.pexels.com/photos/5213973/pexels-photo-5213973.jpeg?cs=srgb&dl=pexels-justus-menke-3490295-5213973.jpg&fm=jpg");
}

/* Técnico com EPI (pode reutilizar a mesma ou outra imagem depois) */
.section-image--tecnico::before {
  background-image:
    linear-gradient(110deg, rgba(2, 4, 3, 0.95), rgba(2, 4, 3, 0.4)),
    url("https://images.pexels.com/photos/4176914/pexels-photo-4176914.jpeg?cs=srgb&dl=pexels-michelangelo-buonarroti-4176914.jpg&fm=jpg");
}

.section-image__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(0, 178, 72, 0.18), transparent 55%);
  z-index: -1;
}

.section-image__content {
  max-width: 620px;
}

.section-image__content h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-image__content p {
  font-size: 0.98rem;
  color: #d6e7dc;
  margin-bottom: 16px;
}

.section-image__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}

.section-image__tags span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(135, 195, 143, 0.6);
  background: rgba(0, 0, 0, 0.7);
}

/* Parallax leve */
.section-image.is-visible::before {
  transform: scale(1);
}

/* =============== SOLUÇÕES =============== */
.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.solution-card {
  border-radius: var(--radius-md);
  padding: 22px 20px;
  background: rgba(5, 10, 7, 0.95);
  border: 1px solid rgba(135, 195, 143, 0.3);
  box-shadow: var(--shadow-soft);
}

.solution-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.solution-card__pain {
  font-size: 0.86rem;
  color: #f4b4b4;
  margin-bottom: 4px;
}

.solution-card__gain {
  font-size: 0.9rem;
  color: #d2e4d7;
}

/* =============== MÉTODO =============== */
.metodo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 34px;
  align-items: flex-start;
}

.steps-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.steps-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.steps-list h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.steps-list p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.metodo-cards {
  display: grid;
  gap: 14px;
}

.metodo-card {
  padding: 16px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.metodo-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.metodo-card ul li {
  padding-left: 16px;
  position: relative;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.metodo-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.metodo-card--highlight {
  border-left: 4px solid var(--color-primary);
}

/* =============== RESULTADOS =============== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.case-card {
  border-radius: var(--radius-md);
  padding: 20px 18px;
  background: rgba(5, 10, 7, 0.96);
  border: 1px solid rgba(135, 195, 143, 0.3);
}

.case-card__tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary-soft);
  margin-bottom: 6px;
}

.case-card__result {
  margin-top: 8px;
  font-size: 0.86rem;
  color: #cbe2d3;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.testimonial {
  padding: 18px 18px;
  border-radius: var(--radius-md);
  background: rgba(6, 14, 9, 0.9);
  border: 1px solid rgba(135, 195, 143, 0.28);
  font-size: 0.9rem;
}

.testimonial blockquote {
  margin-bottom: 8px;
}

/* =============== CONTATO =============== */
.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.contact-form {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: rgba(2, 4, 3, 0.96);
  border: 1px solid rgba(135, 195, 143, 0.3);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: #d7eadf;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(135, 195, 143, 0.4);
  background: #020403;
  color: #e6f0ea;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6c8273;
}

.form-group--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-note {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #b6cdbf;
}

.contato-info {
  display: grid;
  gap: 16px;
}

.contato-box {
  padding: 16px 16px;
  border-radius: var(--radius-md);
  background: rgba(2, 4, 3, 0.96);
  border: 1px solid rgba(135, 195, 143, 0.3);
  font-size: 0.9rem;
}

.contato-box--highlight {
  background: linear-gradient(135deg, #0b1a0f, #173621);
}

/* =============== FOOTER =============== */
.site-footer {
  padding: 18px 0 26px;
  background: #000000;
  color: #98a79c;
  font-size: 0.8rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

/* =============== WHATSAPP FLOAT =============== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1b5e20;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
  z-index: 45;
  transition: transform 0.14s ease, box-shadow 0.18s ease;
}

.whatsapp-float:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.whatsapp-float__icon {
  font-size: 1.1rem;
}

/* =============== ANIMAÇÕES SCROLL =============== */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(26px);
}

[data-animate="fade-right"] {
  transform: translateX(-26px);
}

[data-animate="fade-left"].is-visible,
[data-animate="fade-right"].is-visible {
  transform: translateX(0);
}

/* =============== SCROLL PROGRESS =============== */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 60;
}

/* =============== RESPONSIVIDADE =============== */
@media (max-width: 960px) {
  .hero__inner,
  .setores-grid,
  .solucoes-grid,
  .metodo-grid,
  .cases-grid,
  .testimonials,
  .contato-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--full {
    min-height: 90vh;
  }

  .hero__badge-card {
    margin-top: 20px;
  }

  .setores-grid {
    gap: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    flex-direction: column;
    background: #020403;
    padding: 12px 20px 18px;
    border-bottom: 1px solid rgba(135, 195, 143, 0.3);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-list.nav-list--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .form-group--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .whatsapp-float__text {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 70px 0;
  }

  .hero__content h1 {
    font-size: 2.2rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero--full {
    min-height: 82vh;
  }

  .hero--full::before {
    background-position: center;
  }

  .hero--full::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
  }

  .hero--full {
    min-height: 82vh;
  }
}
