/* =========================================================
   FarmSpray: estilos
   As cores principais ficam nas variáveis abaixo.
   ========================================================= */
:root {
  --green-950: #0b1f15;
  --green-900: #0f2a1c;
  --green-800: #173a28;
  --brand: #23a05a;          /* verde do logo "Spray" */
  --brand-dark: #1b8549;
  --brand-light: #5fd18f;    /* destaques sobre fundo escuro */
  --brand-soft: #e2f4e9;
  --cream: #f7f5ee;
  --cream-2: #eeebdf;
  --ink: #16211a;
  --muted: #56645a;
  --line: #ddd9ca;
  --white: #fff;
  --yes: #1b8549;
  --no: #b04a2f;
  --mid: #9a7418;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 42, 28, .06), 0 14px 34px -14px rgba(15, 42, 28, .22);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--green-900);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--brand-light); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid var(--green-900);
  background: var(--green-900);
  color: var(--white);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--green-800); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 3px;
}
.btn--brand { background: var(--brand); border-color: var(--brand); }
.btn--brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { background: var(--white); color: var(--green-900); border-color: var(--white); }
.btn--small { padding: 10px 18px; font-size: .92rem; }
.btn--full { width: 100%; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 31, 21, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; }
.logo img { width: 160px; height: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  position: relative;
}
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--brand-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--white);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Topo (hero) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--green-950);
}
.hero__bg, .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg img { object-fit: cover; object-position: center 60%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 21, .55) 0%, rgba(11, 31, 21, .1) 35%, rgba(11, 31, 21, .88) 100%),
    linear-gradient(90deg, rgba(11, 31, 21, .8) 0%, rgba(11, 31, 21, .2) 75%);
}
.hero__inner { position: relative; z-index: 1; padding-block: 120px 72px; }
.hero h1 { color: var(--white); max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--brand-light); }
.hero__lead { margin-top: 22px; font-size: 1.15rem; max-width: 36em; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Faixa de provas ---------- */
.proof { background: var(--green-900); color: var(--white); }
.proof__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof__item {
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  display: grid;
  gap: 4px;
}
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brand-light);
  line-height: 1.1;
}
.proof__item span { font-size: .95rem; color: rgba(255, 255, 255, .78); }

/* ---------- Seções ---------- */
.section { padding: 110px 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section__head--row > div { max-width: 720px; }
.section__sub { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.section__sub a { color: var(--brand-dark); font-weight: 600; }

.section--dark { background: var(--green-900); color: #d3ded6; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--soft { background: var(--cream-2); }

.link-arrow {
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
  white-space: nowrap;
}
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Serviços ---------- */
.services {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service p { color: var(--muted); }
.service__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--brand);
}
.service--photo {
  grid-row: span 2;
  overflow: hidden;
  padding: 0;
  gap: 0;
  border: 0;
  background: var(--green-900);
}
.service--photo img {
  flex: none;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.service__body { padding: 32px 36px 36px; display: grid; gap: 12px; }
.service--photo h3 { color: var(--white); font-size: 1.7rem; }
.service--photo p { color: rgba(255, 255, 255, .82); }
.service--photo .service__num { color: var(--brand-light); }

.checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--white); }
.checks li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* ---------- Benefícios ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.perk { padding: 36px 28px 8px; border-left: 1px solid rgba(255, 255, 255, .12); }
.perk:first-child { border-left: 0; padding-left: 0; }
.perk svg {
  width: 38px; height: 38px;
  fill: none;
  stroke: var(--brand-light);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 22px;
}
.perk__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--brand-light);
  margin-bottom: 10px;
}
.perk h3 { margin-bottom: 8px; }
.perk p { color: #b4c4b8; font-size: 1rem; }

/* ---------- Comparativo ---------- */
.compare-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
  background: var(--cream);
}
.compare tbody th { font-weight: 600; color: var(--green-900); width: 30%; }
.compare .is-us { background: var(--brand-soft); }
.compare thead .is-us { background: var(--brand); color: var(--white); }
.compare span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.compare span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.compare .yes::before { background: var(--yes); }
.compare .no::before { background: var(--no); }
.compare .mid::before { background: var(--mid); }
.compare-hint { display: none; margin-top: 10px; font-size: .88rem; color: var(--muted); }

/* ---------- Estrutura e equipe (foto + texto) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  aspect-ratio: 11 / 8;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split__text > p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.kit { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.kit li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}
.kit li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}
.kit strong { color: var(--green-900); font-weight: 600; }

.person { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.person__role { font-weight: 600; color: var(--brand-dark); margin: 4px 0 10px; font-size: .95rem; }
.person p:last-child { color: var(--muted); }

/* ---------- Passos ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px; left: 28px; right: 28px;
  border-top: 2px dashed var(--line);
}
.step { position: relative; }
.step__n {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font: 800 1.3rem/1 var(--font-display);
  margin-bottom: 22px;
  box-shadow: 0 0 0 8px var(--cream-2);
  position: relative;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post img { width: 100%; aspect-ratio: 32 / 21; object-fit: cover; margin-bottom: 8px; }
.post__tag {
  margin-inline: 20px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.post h3 { margin-inline: 20px; font-size: 1.1rem; line-height: 1.25; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-wrap .section__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 24px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--green-800);
  font-size: 1.3rem;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: var(--white); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* ---------- Contato ---------- */
.contact { background: var(--green-900); color: #d3ded6; }
.contact h2 { color: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__text > p { margin-top: 18px; max-width: 30em; }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 2px; font-size: 1.08rem; color: var(--white); }
.contact__list span {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-light);
  font-weight: 600;
}
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

.form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--green-900); }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); background: var(--white); }
.form textarea { resize: vertical; }
.form .is-invalid { border-color: var(--no); background: #fdf3f0; }
.form__error { color: #a3361d; font-size: .95rem; font-weight: 500; }
.form .btn { background: var(--brand); border-color: var(--brand); margin-top: 4px; }
.form .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* ---------- Rodapé ---------- */
.footer { background: var(--green-950); color: #9fb2a3; padding: 44px 0; font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__copy { margin-left: auto; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Revelar ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
}

@media (max-width: 1000px) {
  .proof__inner { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; padding-left: 0; }
  .perk { padding-bottom: 28px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .posts { grid-template-columns: 1fr 1fr; }
  .faq-wrap, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section__head { position: static; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--green-950);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; padding: 15px; }
  .services { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .service--photo { grid-row: auto; grid-column: span 2; }
  .service--photo img { height: 300px; flex: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { width: 136px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 40px; }
  .hero { min-height: 92svh; }
  .hero__inner { padding-block: 80px 48px; }
  .hero__lead { font-size: 1.05rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .proof__item { padding: 20px 14px; }
  .proof__item strong { font-size: 1.35rem; }
  .proof__item span { font-size: .88rem; }
  .services { grid-template-columns: 1fr; }
  .service--photo { grid-column: auto; }
  .service--photo img { height: 220px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(11, 31, 21, .35) 0%, rgba(11, 31, 21, .55) 30%, rgba(11, 31, 21, .92) 100%);
  }
  .compare th, .compare td { padding: 14px 12px; font-size: .95rem; }
  .compare { min-width: 540px; }
  .compare tbody th { width: 128px; }
  .compare tbody th, .compare thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--white);
    box-shadow: 1px 0 0 var(--line);
  }
  .compare thead th:first-child { background: var(--cream); }
  .compare-hint { display: block; }
  .service__body { padding: 26px; }
  .service { padding: 26px; }
  .perks { grid-template-columns: 1fr; }
  .perk, .perk:nth-child(3) { border-left: 0; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .footer__copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
