/* ══════════════════════════════════════════════
   FarmZap — Site institucional
   ══════════════════════════════════════════════ */
:root {
  --teal-950: #04332e;
  --teal-900: #075e54;
  --teal-700: #128c7e;
  --teal-600: #16a08d;
  --green-500: #25d366;
  --ink: #0b1f17;
  --muted: #55685f;
  --line: #e3ede8;
  --bg: #ffffff;
  --bg-alt: #f3faf7;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(7, 94, 84, 0.07);
  --shadow-md: 0 12px 34px rgba(7, 94, 84, 0.13);
  --shadow-lg: 0 24px 60px rgba(7, 94, 84, 0.22);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -0.02em; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 11px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.25s ease; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: #fff; box-shadow: 0 8px 22px rgba(18, 140, 126, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18, 140, 126, 0.45); }
.btn-outline { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-outline:hover { background: rgba(18, 140, 126, 0.08); }
.btn-ghost { color: var(--teal-900); font-weight: 600; padding: 11px 14px; }
.btn-ghost:hover { color: var(--teal-700); }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn-light { background: #fff; color: var(--teal-900); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,0.65); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn.full { width: 100%; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; color: #fff;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(18,140,126,.35);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand-name em { font-style: normal; color: var(--teal-700); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name em { color: var(--green-500); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--teal-700); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2.2px; background: var(--teal-900); border-radius: 2px; transition: .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(720px 340px at 88% -8%, rgba(37, 211, 102, 0.16), transparent 60%),
    radial-gradient(680px 380px at -6% 30%, rgba(18, 140, 126, 0.14), transparent 60%),
    linear-gradient(180deg, #f6fbf8 0%, #ffffff 78%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(18,140,126,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(closest-side at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(closest-side at 50% 40%, black, transparent);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--teal-900);
  background: rgba(18, 140, 126, 0.1); border: 1px solid rgba(18, 140, 126, 0.22);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.pill svg { width: 15px; height: 15px; color: var(--teal-700); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); font-weight: 800; }
.grad-text {
  background: linear-gradient(120deg, var(--teal-700) 10%, var(--green-500) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 20px; font-size: 17.5px; color: var(--muted); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--teal-900); }
.hero-checks svg { width: 17px; height: 17px; color: var(--teal-600); }

/* Mockup do celular */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  width: min(360px, 88%); border-radius: 34px; overflow: hidden;
  background: #ece5dd; border: 9px solid #10231d;
  box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-top {
  display: flex; align-items: center; gap: 11px;
  background: var(--teal-900); color: #fff; padding: 13px 16px;
}
.avatar-dot { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.avatar-dot svg { width: 19px; height: 19px; }
.phone-top strong { display: block; font-size: 14.5px; line-height: 1.2; }
.phone-top small { font-size: 11.5px; color: #a7f3d0; }
.phone-chat { padding: 18px 13px 8px; display: flex; flex-direction: column; gap: 9px; min-height: 300px; }
.msg {
  max-width: 82%; padding: 9px 13px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.msg.in { background: #fff; border-top-left-radius: 4px; align-self: flex-start; }
.msg.out { background: #d9fdd3; border-top-right-radius: 4px; align-self: flex-end; }
.msg.file {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border-top-left-radius: 4px; align-self: flex-start; padding: 11px 14px;
}
.msg.file > svg:first-child { width: 26px; height: 26px; color: var(--teal-700); flex-shrink: 0; }
.msg.file strong { display: block; font-size: 13px; }
.msg.file small { color: var(--muted); font-size: 11.5px; }
.msg.file .dl { width: 18px; height: 18px; margin-left: auto; color: var(--muted); }
.phone-input {
  background: #fff; margin: 8px 13px 15px; padding: 10px 15px;
  border-radius: 999px; font-size: 13px; color: #93a29b;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 15px;
  padding: 11px 15px; box-shadow: var(--shadow-md);
}
.float-card svg { width: 21px; height: 21px; color: var(--teal-700); }
.float-card strong { display: block; font-size: 13px; line-height: 1.25; }
.float-card small { font-size: 11.5px; color: var(--muted); }
.fc-1 { top: 9%; left: -2%; animation: floaty 6s 0.8s ease-in-out infinite; }
.fc-2 { bottom: 12%; right: -3%; animation: floaty 8s 1.6s ease-in-out infinite; }

/* ── Stats ── */
.stats { background: linear-gradient(120deg, var(--teal-900), var(--teal-700)); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: #fff; }
.stat span { font-size: 14px; color: #c9f2e4; line-height: 1.45; display: inline-block; margin-top: 4px; }

/* ── Seções ── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 54px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card, .seg, .plan, .quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover, .seg:hover, .plan:hover, .quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 25px; height: 25px; }
.ic-teal { background: rgba(18,140,126,.12); color: var(--teal-700); }
.ic-green { background: rgba(37,211,102,.14); color: #149c46; }
.ic-blue { background: rgba(59,130,246,.11); color: #2563eb; }
.ic-amber { background: rgba(245,158,11,.13); color: #d97706; }
.ic-purple { background: rgba(139,92,246,.11); color: #7c3aed; }
.ic-red { background: rgba(239,68,68,.1); color: #dc2626; }
.card h3 { font-size: 18.5px; margin-bottom: 9px; }
.card p { font-size: 14.8px; color: var(--muted); }

/* Passos */
.steps { counter-reset: step; }
.step { text-align: center; padding: 36px 26px; position: relative; }
.step-num {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 23px; color: #fff;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  box-shadow: 0 10px 24px rgba(18,140,126,.35);
}
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 14.8px; color: var(--muted); }

/* Segmentos */
.seg header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.seg header .icon { margin-bottom: 0; }
.seg h3 { font-size: 19px; }
.seg > p { font-size: 14.8px; color: var(--muted); margin-bottom: 16px; }
.seg-featured { border: 2px solid var(--teal-600); position: relative; box-shadow: var(--shadow-md); }
.tag {
  position: absolute; top: -13px; right: 22px;
  font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .03em;
  background: linear-gradient(135deg, var(--teal-700), var(--green-500));
  padding: 5px 14px; border-radius: 999px;
}
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 9px; align-items: baseline; font-size: 14.3px; font-weight: 500; }
.ticks li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; align-self: center;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a08d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Depoimentos */
.quote { display: flex; flex-direction: column; }
.stars { color: #f59e0b; letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.quote blockquote { font-size: 15.2px; color: var(--ink); flex: 1; }
.quote figcaption { margin-top: 18px; }
.quote figcaption strong { display: block; font-size: 14.5px; }
.quote figcaption small { color: var(--muted); font-size: 13px; }

/* Planos */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; }
.plan-for { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin: 18px 0 6px; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan .ticks { margin: 14px 0 24px; flex: 1; }
.plan-featured { border: 2px solid var(--teal-600); box-shadow: var(--shadow-md); }

/* FAQ */
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 13px; transition: box-shadow .25s;
}
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: rgba(18,140,126,.35); }
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16px; font-family: var(--font-head);
  list-style: none; position: relative; padding-right: 30px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; translate: 0 -50%;
  font-size: 22px; font-weight: 400; color: var(--teal-700); transition: rotate .25s;
}
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* CTA final */
.cta-final {
  background:
    radial-gradient(560px 260px at 85% 0%, rgba(37,211,102,.25), transparent 60%),
    linear-gradient(120deg, var(--teal-950), var(--teal-800, var(--teal-700)));
  color: #fff; text-align: center; padding: 92px 0;
}
.cta-final h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
.cta-final p { margin: 16px auto 34px; color: #c9f2e4; max-width: 52ch; font-size: 16.5px; }

/* Footer */
.footer { background: var(--teal-950); color: #b9d9cf; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 48px; }
.footer-brand p { font-size: 14.5px; margin: 16px 0 20px; max-width: 34ch; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); transition: background .2s, transform .2s;
}
.socials a:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { display: block; font-size: 14.3px; padding: 5px 0; color: #b9d9cf; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13.3px; color: #86ab9f;
}

/* 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: #22c55e; color: #fff; box-shadow: 0 12px 30px rgba(34,197,94,.45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08) rotate(4deg); }
.wa-float svg { width: 29px; height: 29px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(34,197,94,.55); animation: pulse 2.2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.55); opacity: 0; } }

.to-top {
  position: fixed; left: 22px; bottom: 26px; z-index: 60;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--teal-700); display: grid; place-items: center;
  cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; box-shadow: var(--shadow-sm);
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--bg-alt); }
.to-top svg { width: 19px; height: 19px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .fc-1, .fc-2 { animation: none; }
}

/* ── Responsivo ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-checks { justify-content: center; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links a { padding: 15px 6%; border-top: 1px solid var(--line); }
  .nav-links.open { max-height: 340px; }
  .nav-burger { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 70px; }
  .fc-1 { left: 2%; } .fc-2 { right: 2%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; }
  .stats-grid { gap: 18px; }
  .stat strong { font-size: 1.8rem; }
}

/* Aviso LGPD - Cookie Consent */
.lgpd-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
  z-index: 1000;
}
.lgpd-cookie-banner p {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lgpd-cookie-banner a {
  color: var(--teal-700);
  text-decoration: underline;
}
.lgpd-cookie-banner .btn-ghost {
  margin-left: 8px;
  padding: 6px 12px;
  font-size: 12px;
}
