@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-var.woff2") format("woff2");
}

:root {
  --green-950: #1d2617;
  --green-900: #27331f;
  --green-800: #343a2b;
  --green-700: #3f4b34;
  --green-500: #7f9c4a;
  --green-300: #c9dc8a;
  --ink: #172019;
  --muted: #5c6659;
  --line: #dfe5d7;
  --soft: #f4f6ef;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 32, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.chat-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: rgba(29, 38, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  transition: background 260ms ease, box-shadow 260ms ease;
}

.site-header.scrolled {
  background: rgba(29, 38, 23, 0.95);
  box-shadow: 0 14px 34px rgba(12, 17, 10, 0.32);
}

section[id] {
  scroll-margin-top: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.nav-links a,
.header-cta {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--green-950);
  background: var(--green-300);
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(29, 38, 23, 0.96) 0%, rgba(29, 38, 23, 0.84) 43%, rgba(29, 38, 23, 0.42) 100%),
    linear-gradient(180deg, rgba(29, 38, 23, 0.12), rgba(29, 38, 23, 0.72));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 112px 0 58px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.flow-section .eyebrow,
.crops-section .eyebrow,
.contact-section .eyebrow,
.assistant-card .eyebrow {
  color: var(--green-300);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--green-950);
  background: var(--green-300);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-product {
  position: relative;
  justify-self: center;
  width: min(520px, 100%);
  padding: 22px;
}

.hero-product img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--green-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-bar div {
  min-height: 92px;
  padding: 26px clamp(16px, 3vw, 34px);
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: start;
}

.section-copy p,
.crop-copy p,
.feature-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 32, 25, 0.06);
}

.problem-grid article:first-child {
  grid-column: 1 / -1;
}

.problem-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green-500);
  font-weight: 700;
}

.section-heading {
  margin-bottom: 42px;
}

.flow-section {
  width: 100%;
  max-width: none;
  padding: clamp(76px, 10vw, 132px) max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--green-900);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow article {
  min-height: 230px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.flow p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  color: var(--green-950);
  background: var(--green-300);
  border-radius: 50%;
  font-weight: 700;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 48px;
  padding: clamp(76px, 10vw, 132px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.feature-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: left center;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 32, 25, 0.12);
}

.feature-copy {
  align-self: center;
  min-width: 0;
  max-width: 600px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  line-height: 1.6;
}

.check-list li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--green-500);
  border-radius: 50%;
}

.flow-lead {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(76px, 10vw, 132px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.proof-copy {
  min-width: 0;
}

.proof-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.proof-media {
  display: flex;
  justify-content: center;
}

.proof-media img {
  max-height: 620px;
  max-width: 100%;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 32, 25, 0.12);
}

.crops-section {
  padding: clamp(76px, 10vw, 132px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--green-950);
  color: var(--white);
}

.crop-copy {
  margin-bottom: 42px;
}

.crop-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.crop-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.crop-gallery figure {
  margin: 0;
}

.crop-gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

.crop-gallery figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.crop-gallery figure.crop-b {
  margin-top: 28px;
}

.crop-gallery figure.crop-c {
  margin-top: 56px;
}

.crop-gallery figure.crop-d {
  margin-top: 84px;
}

/* Vídeos dentro de "Como funciona" (fundo escuro da flow-section). */
.flow-videos-heading {
  margin: clamp(56px, 8vw, 88px) 0 28px;
}

.flow-videos-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.flow-section .video-card h3 {
  color: var(--ink);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.video-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.video-card iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-card h3 {
  margin: 16px 22px 18px;
}

.about {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(76px, 10vw, 132px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.about-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(23, 32, 25, 0.12);
}

.about-copy h2 {
  color: var(--ink);
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.quote-section {
  padding: clamp(64px, 9vw, 112px) max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--green-900);
}

.quote-section figure {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.quote-section img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.quote-section blockquote {
  margin: 0 0 26px;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.55;
}

.quote-section figcaption {
  color: var(--green-300);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 92px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--green-800);
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.55;
}

.contact-details a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.contact-details a:hover {
  text-decoration-color: currentColor;
}

.contact-hours {
  margin-top: 26px;
  padding: 18px 20px;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.contact-hours h3 {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-300);
}

.contact-hours ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-hours li span:first-child {
  font-weight: 600;
  color: var(--white);
}

.contact-hours li.closed span:last-child {
  color: rgba(255, 255, 255, 0.55);
}

.contact-copy .contact-actions {
  margin-top: 28px;
}

.assistant-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--green-950);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(23, 32, 25, 0.25);
}

.assistant-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.assistant-card-header h3 {
  margin: 6px 0 0;
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.35;
}

.assistant-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--green-900);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.assistant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.assistant-card-text {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.assistant-card button,
.floating-chat,
.chat-dialog button {
  cursor: pointer;
}

.assistant-card button {
  width: 100%;
  min-height: 44px;
  color: var(--green-950);
  background: var(--green-300);
  border: 0;
  border-radius: 6px;
  font-weight: 700;
}

.icon-whatsapp {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transition: background 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  text-align: center;
  color: var(--white);
  background: var(--green-950);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  font-weight: 700;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-note {
  width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.footer-legal:hover {
  color: var(--white);
}

.legal-body {
  background: var(--soft);
}

.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) 20px 72px;
  color: var(--ink);
}

.legal-page .eyebrow {
  color: var(--green-500);
}

.legal-page h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--ink);
}

.legal-updated {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-page h2 {
  margin: 36px 0 12px;
  font-size: 1.25rem;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--ink);
  line-height: 1.7;
}

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  margin-top: 44px;
}

.legal-back a {
  font-weight: 700;
  text-decoration: none;
}

.floating-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 8px 18px 8px 8px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 38, 23, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.mini-avatar {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  overflow: hidden;
  background: var(--green-900);
  border: 2px solid var(--green-300);
  border-radius: 50%;
}

.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-dialog {
  display: none;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 130px));
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: fixed;
  inset: auto 22px 96px auto;
  margin: 0;
}

.chat-dialog[open] {
  display: flex;
}

.chat-dialog::backdrop {
  background: transparent;
}

.chat-dialog-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: var(--white);
  background: var(--green-950);
}

.chat-dialog-head img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid var(--green-300);
  border-radius: 50%;
}

.chat-dialog-head strong,
.chat-dialog-head span {
  display: block;
}

.chat-dialog-head div {
  min-width: 0;
  flex: 1;
}

.chat-dialog-head span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.chat-dialog-head button {
  width: 36px;
  height: 36px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}

.chat-body {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.chat-main {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.chat-main[hidden],
.chat-terms[hidden] {
  display: none;
}

.chat-messages {
  display: grid;
  flex: 1;
  min-height: 0;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding-right: 6px;
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-message.bot {
  background: var(--soft);
  border-bottom-left-radius: 4px;
}

.chat-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--green-800);
  border-bottom-right-radius: 4px;
}

.chat-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-form textarea {
  width: 100%;
  min-height: 44px;
  max-height: 130px;
  padding: 11px 16px;
  resize: none;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  font: inherit;
  line-height: 1.4;
  overflow-y: auto;
}

.chat-form textarea::placeholder {
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-form textarea:focus {
  outline: 2px solid var(--green-300);
  outline-offset: 0;
}

.chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--green-950);
  background: var(--green-300);
  border: 0;
  border-radius: 50%;
}

.chat-form button svg {
  width: 20px;
  height: 20px;
}

.chat-form button:disabled,
.chat-form textarea:disabled {
  cursor: wait;
  opacity: 0.65;
}

.chat-note {
  margin: 0;
  min-height: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.chat-note:empty {
  display: none;
}

.chat-message.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 20px;
}

.chat-message.typing span {
  width: 7px;
  height: 7px;
  background: var(--green-800);
  border-radius: 50%;
  opacity: 0.4;
  animation: typing-bounce 1.2s infinite ease-in-out;
}

.chat-message.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-message.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-message.typing span {
    animation: none;
    opacity: 0.6;
  }
}

.chat-message.bot a {
  color: var(--green-800);
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.chat-actions {
  display: grid;
  gap: 8px;
  justify-items: start;
  width: fit-content;
  max-width: 86%;
}

.chat-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--green-950);
  background: var(--green-300);
  border-radius: 21px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
}

.chat-whatsapp-button svg {
  width: 18px;
  height: 18px;
}

.chat-lead-button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--green-800);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 19px;
  font-weight: 600;
  font-size: 0.85rem;
}

.chat-decline-button {
  color: var(--muted);
}

.chat-lead-form {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 86%;
  padding: 14px;
  background: var(--soft);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}

.chat-lead-form label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.chat-lead-form input,
.chat-lead-form textarea {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
}

.chat-lead-form textarea {
  resize: none;
}

.chat-lead-form input:focus,
.chat-lead-form textarea:focus {
  outline: 2px solid var(--green-300);
  outline-offset: 0;
}

.chat-lead-form button {
  min-height: 42px;
  margin-top: 2px;
  color: var(--green-950);
  background: var(--green-300);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.chat-lead-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.chat-terms {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.chat-terms-text {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 10px;
  font-size: 0.9rem;
}

.chat-terms-text p,
.chat-terms-text li {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.55;
}

.chat-terms-text ol {
  margin: 0 0 10px;
  padding-left: 20px;
}

.chat-terms-text a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-terms-title {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.chat-terms-actions {
  display: grid;
  gap: 8px;
}

.terms-accept {
  min-height: 46px;
  color: var(--green-950);
  background: var(--green-300);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.terms-accept:disabled {
  cursor: wait;
  opacity: 0.65;
}

.terms-decline {
  min-height: 40px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.revealed {
    opacity: 1;
    transform: none;
  }

  .hero-product.reveal {
    transform: translateY(20px) scale(0.97);
  }

  .crop-gallery figure.reveal,
  .flow article.reveal {
    transform: translateY(36px);
  }

  .problem-grid article,
  .video-card {
    transition: transform 260ms ease, box-shadow 260ms ease;
  }

  .problem-grid article:hover,
  .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(23, 32, 25, 0.12);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-content,
  .problem,
  .feature-band,
  .product-proof,
  .about,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 240px;
  }

  .quote-section figure {
    grid-template-columns: 1fr;
  }

  .quote-section img {
    max-width: 260px;
  }

  .hero-content {
    gap: 18px;
    padding-top: 116px;
  }

  .hero-product {
    width: min(460px, 100%);
  }

  .proof-bar,
  .flow,
  .crop-gallery,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-image img {
    max-height: 320px;
  }

  .crop-gallery img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero-content,
  .section {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .proof-bar,
  .problem-grid,
  .flow,
  .crop-gallery,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .proof-bar div {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .problem-grid article:first-child {
    grid-column: auto;
  }

  .crop-gallery img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .crop-gallery figure.crop-b,
  .crop-gallery figure.crop-c,
  .crop-gallery figure.crop-d {
    margin-top: 0;
  }

  .assistant-avatar {
    width: 60px;
    height: 60px;
  }

  .floating-chat {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
  }

  .chat-dialog {
    inset: auto 10px 84px 10px;
    width: auto;
    height: min(600px, calc(100vh - 100px));
    /* dvh acompanha o teclado virtual no mobile */
    height: min(600px, calc(100dvh - 100px));
  }

  .chat-dialog-head {
    gap: 10px;
    padding: 12px 14px;
  }

  .chat-dialog-head img {
    width: 38px;
    height: 38px;
  }

  .chat-main,
  .chat-terms {
    padding: 12px;
  }

  .chat-message {
    max-width: 92%;
    font-size: 0.92rem;
  }

  .chat-actions,
  .chat-lead-form {
    max-width: 92%;
  }
}
