/* =========================================================
   GeoAgro — Site institucional
   Paleta oficial: 5d8668 (verde-sálvia) / 5a8a3d (verde-médio)
                   0e452e (verde-escuro) / 000000 / ffffff
   ========================================================= */

:root {
  --sage: #5d8668;
  --green: #5a8a3d;
  --dark: #0e452e;
  --black: #111412;
  --white: #ffffff;

  --bg: #ffffff;
  --bg-soft: #f4f8f4;
  --bg-soft-2: #eaf1ea;
  --text: #1c241f;
  --text-muted: #55655a;
  --border: #e1e9e2;
  --accent-light: #cfe8b8;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(14, 69, 46, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(14, 69, 46, 0.15);

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--bg-soft-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

.section-head.align-left {
  margin: 0 0 48px;
  text-align: left;
}

.bg-soft { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.btn-dark-outline {
  background: transparent;
  border-color: var(--dark);
  color: var(--dark);
}
.btn-dark-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 20px -10px rgba(0,0,0,.12);
  background: rgba(255,255,255,.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-weight: 500;
  font-size: .96rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--dark); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 12px 24px -14px rgba(0,0,0,.2);
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(14,69,46,.90), rgba(14,69,46,.62) 45%, rgba(14,69,46,.38)),
    url("../assets/img/campo-soja.jpg") center/cover no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  letter-spacing: -.01em;
  color: #fff;
}
.hero h1 span { color: var(--accent-light); }
.hero .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.86);
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: #fff;
}
.hero-stats div span { font-size: .88rem; color: rgba(255,255,255,.72); }

.hero-visual {
  position: relative;
  border-radius: 24px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.28);
  aspect-ratio: 4 / 4.4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual .logo-wrap {
  position: relative;
  background: rgba(255,255,255,.96);
  padding: 34px;
  border-radius: 20px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.35);
}
.hero-visual .logo-wrap img { width: 150px; }

.hero-badge {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #fff;
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-badge svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Variante do hero sem foto, usada nas landing pages de serviço */
.hero.hero--plain {
  background: linear-gradient(120deg, var(--dark), var(--green) 130%);
}

/* Cartão de destaques dentro do hero-visual (landing pages) */
.hero-facts { padding: 40px 36px; width: 100%; }
.hero-facts h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.hero-facts .btn { margin-top: 26px; }

.about-points.light li { color: #fff; }
.about-points.light svg { color: var(--accent-light); }

/* Cabeçalho e rodapé enxutos das landing pages de serviço */
.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 18px;
}
.lp-back svg { width: 16px; height: 16px; }

.quote-banner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--dark);
  line-height: 1.5;
}
.quote-banner span { color: var(--green); }

/* ---------- Logos / trust strip ---------- */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
}
.trust-strip strong { color: var(--dark); }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-visual {
  position: relative;
  background: var(--bg-soft-2);
  border-radius: 22px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual img { width: 80%; }

.about-visual.photo {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
}
.about-visual.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-visual .big-icon { width: 46%; color: var(--dark); }

.about-copy .section-tag { margin-bottom: 14px; }
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-copy p { color: var(--text-muted); }

.about-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
}
.about-points svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

/* ---------- MVV cards ---------- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .mvv-grid { grid-template-columns: 1fr; }
}

.mvv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft-2);
  color: var(--green);
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }

.mvv-card h3 { font-size: 1.2rem; }
.mvv-card p { color: var(--text-muted); margin: 0; font-size: .96rem; }

.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.values-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .94rem; color: var(--text-muted); font-weight: 500;
}
.values-list svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--sage));
}
.service-card .icon-badge { background: var(--dark); color: #fff; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card > p { color: var(--text-muted); }

.service-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--text);
}
.service-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ---------- Processo ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 940px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}
.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.process-step .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--bg-soft-2);
  -webkit-text-stroke: 1.5px var(--green);
  color: transparent;
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* ---------- Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

.diff-item {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}
.diff-item .icon-badge { width: 46px; height: 46px; margin-bottom: 16px; }
.diff-item .icon-badge svg { width: 22px; height: 22px; }
.diff-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.diff-item p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* ---------- CTA banda ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--dark), var(--green));
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
}
.contact-info h3 { color: #fff; font-size: 1.3rem; }
.contact-info p { color: rgba(255,255,255,.75); }

.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list .icon-badge { background: rgba(255,255,255,.12); color: #fff; width: 44px; height: 44px; flex-shrink: 0; margin-bottom: 0; }
.contact-list .icon-badge svg { width: 20px; height: 20px; }
.contact-list a, .contact-list span.value { font-weight: 600; color: #fff; }
.contact-list .label { display: block; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }

.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.social-row a:hover { background: rgba(255,255,255,.24); }
.social-row svg { width: 18px; height: 18px; color: #fff; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(90,138,61,.15);
}

.form-note {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; max-width: 320px; }

.footer-col h4 { font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a, .footer-col span { color: var(--text-muted); font-size: .94rem; }
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .84rem;
  color: var(--text-muted);
}

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  z-index: 900;
  transition: transform .2s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
