:root {
  --green: #9cb83f;
  --green-dark: #6f8a24;
  --sage: #87a493;
  --sage-dark: #5d7b6a;
  --orange: #f39a1e;
  --yellow: #ffd23f;
  --ink: #2f3a33;
  --muted: #66736b;
  --bg: #fdfcf8;
  --tint: #f3f6ec;
  --card: #ffffff;
  --line: #e4e9dc;
  --wa: #25d366;
  --wa-dark: #1da851;
  --radius: 20px;
  --shadow: 0 10px 30px -12px rgba(47, 58, 51, .18);
  --shadow-lg: 0 24px 60px -20px rgba(47, 58, 51, .28);
  --serif: "Lora", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .9rem;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { border-color: var(--green); color: var(--green-dark); background: transparent; }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green-dark); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand__logo { height: 52px; width: auto; mix-blend-mode: multiply; filter: brightness(1.05) contrast(1.06); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; color: var(--muted); font-size: .97rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 210, 63, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(156, 184, 63, .16), transparent 60%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--green-dark); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero__proof li { display: flex; align-items: center; gap: 6px; }
.hero__proof .ico { color: var(--green); }

.hero__visual { position: relative; display: grid; place-items: center; padding: 20px 0 60px; }
.hero__photo {
  position: relative; z-index: 1; width: min(400px, 82%); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%;
  border-radius: 28px; box-shadow: var(--shadow-lg);
}
.blob {
  position: absolute; z-index: 0; width: 400px; height: 400px; right: -30px; top: 30px;
  background: linear-gradient(135deg, var(--green), var(--sage));
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
  opacity: .9;
  animation: morph 12s ease-in-out infinite;
}
@keyframes morph {
  50% { border-radius: 58% 42% 40% 60% / 42% 58% 42% 58%; transform: rotate(8deg); }
}
  position: absolute; left: 0; bottom: 0; width: min(270px, 70%);
  background: #ece5dd;
  border-radius: 22px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.msg {
  max-width: 85%; padding: 9px 12px; border-radius: 12px;
  font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.msg--in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.msg--out { background: #dcf8c6; align-self: flex-end; border-top-right-radius: 4px; }

.badge-float {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.badge-float--a { top: 12%; left: 0; flex-direction: column; align-items: flex-start; gap: 0; }
.badge-float--a strong { font-family: var(--serif); font-size: 1.6rem; color: var(--green-dark); line-height: 1; }
.badge-float--a span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.badge-float--b { bottom: 4%; right: 0; font-weight: 800; font-size: .9rem; animation-delay: -3s; }
.badge-float--b .ico { color: var(--green); width: 1.6em; height: 1.6em; }
.butterfly { position: absolute; z-index: 2; width: 64px; top: 0; right: 14%; animation: flutter 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes flutter { 50% { transform: translate(-6px, -10px) rotate(-8deg) scaleX(.9); } }

/* Diferenciais */
.trust { margin-top: -40px; position: relative; z-index: 2; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px;
}
.trust__item { display: flex; align-items: center; gap: 14px; padding: 18px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--tint); color: var(--green-dark); }
.trust__item strong { display: block; font-size: .98rem; }
.trust__item span { font-size: .85rem; color: var(--muted); }

/* Seções */
.section { padding: 100px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step__n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px;
}
.step p { color: var(--muted); margin: 0; }

/* Produtos */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 18px; }
.product__icon .ico { width: 28px; height: 28px; }
.product p { color: var(--muted); font-size: .97rem; flex: 1; }
.product__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--green-dark); text-decoration: none; margin-top: 6px; }
.product__cta .ico { transition: transform .2s; }
.product__cta:hover .ico { transform: translateX(4px); }
.product--highlight { background: linear-gradient(150deg, var(--sage-dark), var(--sage)); color: #fff; border: 0; }
.product--highlight .product__icon { background: rgba(255,255,255,.18); color: #fff; }
.product--highlight .product__cta { color: #fff; }
.tags { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-content: flex-start; }
.tags li { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 700; }

/* História */
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.story__gallery {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  aspect-ratio: 1 / 1.05; padding-bottom: 30px;
}
.story__img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.story__img--main { grid-row: span 2; object-position: 30% center; }
.story__badge {
  position: absolute; left: -16px; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); max-width: 300px;
}
.story__badge svg { width: 48px; height: 48px; flex: none; animation: flutter 5s ease-in-out infinite; }
.story__badge strong { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--green-dark); }
.story__badge span { font-size: .85rem; color: var(--muted); font-weight: 700; line-height: 1.3; display: block; margin-top: 4px; }
.story__text p { color: var(--muted); font-size: 1.05rem; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green) 55%, var(--sage)); color: #fff; padding: 60px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; opacity: .92; font-size: 1.08rem; }

/* Contato */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.contact:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.contact .ico { width: 30px; height: 30px; color: var(--green-dark); margin-bottom: 10px; }
.contact[data-wa] .ico { color: var(--wa-dark); }
.contact__label { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--muted); }
.contact strong { font-size: 1.08rem; }

/* Footer */
.footer { background: #26302a; color: #c9d2c4; padding: 50px 0 40px; text-align: center; }
.footer__logo { height: 64px; margin: 0 auto 18px; background: #fff; border-radius: 14px; padding: 8px 14px; }
.footer p { margin: 0 0 .5em; }
.footer__small { font-size: .85rem; opacity: .7; }

/* Barra mobile */
.mobile-bar { display: none; }

/* Widget WhatsApp */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 100; }
.wa-fab {
  position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.07); }
.wa-fab .ico { width: 34px; height: 34px; }
.wa-fab__ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.wa-panel {
  position: absolute; right: 0; bottom: 78px; width: 340px; max-width: calc(100vw - 32px);
  background: #ece5dd; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform-origin: bottom right; transform: scale(.85) translateY(10px); opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.2), opacity .2s;
}
.wa-widget.is-open .wa-panel { transform: none; opacity: 1; pointer-events: auto; }
.wa-widget.is-open .wa-fab__ping { display: none; }
.wa-panel__head { background: #075e54; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.wa-panel__head strong { display: block; }
.wa-panel__head span { font-size: .8rem; opacity: .85; display: flex; align-items: center; gap: 6px; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; }
.wa-panel__avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.wa-panel__avatar svg { width: 30px; height: 30px; }
.wa-panel__close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: .8; }
.wa-panel__body { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 12px; max-height: 60vh; overflow-y: auto; }
.wa-options { display: flex; flex-direction: column; gap: 8px; }
.wa-option {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: #fff; border: 1px solid #d9e8d4; border-radius: 12px; padding: 10px 12px;
  font: inherit; font-size: .92rem; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.wa-option:hover { background: #f0fbf3; border-color: var(--wa); transform: translateX(3px); }
.wa-option span:first-child { font-size: 1.15rem; }
.wa-option .ico { margin-left: auto; color: var(--wa-dark); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsivo */
@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 20px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .hero { padding: 40px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .blob { width: 300px; height: 300px; right: 0; }
  .steps { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .story__gallery { aspect-ratio: 1 / 1.1; }
  .story__badge { left: 10px; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .brand__logo { height: 44px; }
  .hero__ctas .btn { width: 100%; }
  .products, .contacts { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .hero__visual { padding-bottom: 40px; }
  .hero__photo { width: 86%; }
  .badge-float--a { left: -4px; top: 6%; }
  .badge-float--b { right: -4px; }

  body { padding-bottom: 70px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-weight: 800; text-decoration: none; }
  .mobile-bar__call { background: var(--tint); color: var(--green-dark); }
  .mobile-bar__wa { background: var(--wa); color: #fff; }
  .wa-widget { right: 14px; bottom: 84px; }
  .wa-fab { width: 56px; height: 56px; }
}
