:root {
  /* Identidade visual App do Cacau */
  --brand-gold: #f7b115;
  --brand-green: #6dac40;
  --brand-green-dark: #085838;
  --brand-brown: #4a270c;
  --brand-black: #101213;

  --canopy-950: #085838;
  --canopy-900: #0a6b43;
  --canopy-800: #0f7d50;
  --canopy-700: #15915d;
  --gold-500: #f7b115;
  --gold-400: #f9c657;
  --gold-200: #fdecc4;
  --wine-600: #4a270c;
  --wine-500: #6b3a12;
  --cream-050: #faf8f2;
  --cream-100: #f2ecdd;
  --cream-200: #e8e0cb;
  --bean-900: #101213;
  --bean-700: #3a3d3d;
  --bean-500: #63676a;
  --leaf-500: #6dac40;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(16, 18, 19, 0.14);
  --font-display: "TT Lakes Neue", "TT Lakes Neue Regular", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --shadow-soft: 0 20px 50px -25px rgba(8, 88, 56, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

@font-face {
  font-family: "TT Lakes Neue";
  src: local("TT Lakes Neue"), local("TT Lakes Neue Regular"), local("TTLakesNeue-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Lakes Neue";
  src: local("TT Lakes Neue Medium"), local("TTLakesNeue-Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Lakes Neue";
  src: local("TT Lakes Neue DemiBold"), local("TT Lakes Neue SemiBold"), local("TTLakesNeue-DemiBold");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Lakes Neue";
  src: local("TT Lakes Neue Bold"), local("TTLakesNeue-Bold");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--cream-050);
  color: var(--bean-900);
  overflow-x: hidden;
  font-family: var(--font-body);
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

ul,
ol {
  list-style: none;
}

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

button,
input,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.feature-icon svg,
.icon-circle svg,
.stat-chip-icon svg,
.step-flow-node svg,
.step-icons-circle svg,
.check-dot svg,
.catalog-more-icon svg,
.btn-circle svg,
.cta-float-icon svg {
  max-width: none;
  flex-shrink: 0;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-500);
  color: var(--bean-900);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--maxw) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-400);
}

.eyebrow.dark {
  color: var(--wine-600);
}

.eyebrow.dark::before {
  background: var(--wine-600);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.14;
  max-width: 820px;
}

.section-title .accent,
h1 .accent {
  color: var(--brand-green);
}

.band-dark .section-title .accent {
  color: #9ed17a;
}

.lede {
  font-size: 1.12rem;
  color: var(--bean-700);
  max-width: 640px;
  margin-top: 18px;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary,
.btn-gold {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.btn-primary:hover,
.btn-gold:hover {
  background: #5c9636;
  border-color: #5c9636;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(109, 172, 64, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--cream-050);
  border-color: var(--line-dark);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.band {
  background: var(--cream-050);
  padding: 90px 0;
}

.band-alt {
  background: var(--cream-100);
  padding: 90px 0;
}

.band-dark {
  background: var(--canopy-950);
  color: var(--cream-050);
  padding: 90px 0;
}

@media (max-width: 720px) {
  .band,
  .band-alt,
  .band-dark {
    padding: 60px 0;
  }
}

.callout {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--cream-100);
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--wine-600);
  font-size: 0.94rem;
  color: var(--bean-700);
}

.callout b {
  color: var(--wine-600);
}

.card {
  background: var(--cream-050);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-500);
}

.card .icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--cream-100);
  color: var(--brand-green);
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

.card p {
  font-size: 0.9rem;
  color: var(--bean-700);
}

.card.on-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}

.card.on-dark p {
  color: rgba(250, 247, 236, 0.68);
}

.card.on-dark .icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-400);
}

.card.on-dark h3 {
  color: var(--cream-050);
}

.highlight-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  max-width: 540px;
  margin-top: 22px;
}

.highlight-line.on-dark {
  color: var(--gold-400);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 28px;
}

.badge-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  color: var(--bean-700);
}

.badge.on-dark {
  border-color: var(--line-dark);
  color: rgba(250, 247, 236, 0.78);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}

.stat-grid div {
  background: var(--cream-050);
  padding: 22px 20px;
}

.stat-grid .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--wine-600);
}

.stat-grid .lab {
  font-size: 0.82rem;
  color: var(--bean-700);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

/* Stat chips (icon + number + label) */
.stat-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream-050);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-soft);
}

.stat-chip .stat-chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-200);
  color: var(--wine-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-chip .stat-chip-icon svg {
  width: 22px;
  height: 22px;
}

.stat-chip .stat-chip-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-chip .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--canopy-950);
  line-height: 1.1;
}

.stat-chip .lab {
  font-size: 0.82rem;
  color: var(--bean-700);
  line-height: 1.25;
}

.band-dark .stat-chip,
.stat-chip-row.on-dark .stat-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
}

.band-dark .stat-chip .num,
.stat-chip-row.on-dark .stat-chip .num {
  color: var(--cream-050);
}

.band-dark .stat-chip .lab,
.stat-chip-row.on-dark .stat-chip .lab {
  color: rgba(250, 247, 236, 0.72);
}

/* Step flow (horizontal on desktop, connected nodes) */
.step-flow {
  display: flex;
  gap: 0;
  margin-top: 40px;
  flex-wrap: wrap;
}

.step-flow-item {
  flex: 1 1 200px;
  position: relative;
  padding-right: 24px;
}

.step-flow-item::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 100%;
  width: 24px;
  height: 2px;
  background: rgba(250, 247, 236, 0.22);
}

.step-flow-item:last-child::after {
  display: none;
}

.step-flow-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--canopy-950);
  margin-bottom: 16px;
}

.step-flow-node svg {
  width: 24px;
  height: 24px;
}

.step-flow-item:nth-child(odd) .step-flow-node {
  background: var(--brand-green);
  color: #fff;
}

.step-flow-item:nth-child(even) .step-flow-node {
  background: var(--gold-500);
  color: var(--canopy-950);
}

.step-flow-item h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--cream-050);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-flow-item p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(250, 247, 236, 0.7);
  max-width: 240px;
}

@media (max-width: 900px) {
  .step-flow {
    flex-direction: column;
    gap: 30px;
  }

  .step-flow-item {
    padding-right: 0;
  }

  .step-flow-item::after {
    top: 100%;
    left: 26px;
    width: 2px;
    height: 30px;
    margin-top: 4px;
  }
}

/* Tab pills */
.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--cream-050);
  color: var(--bean-700);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-pill svg {
  width: 16px;
  height: 16px;
}

.tab-pill.is-active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.tab-panel[hidden] {
  display: none;
}

/* Catalog grid (doenças/pragas/deficiências + "ver todas" card) */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 32px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-more {
  background: var(--canopy-950);
  color: var(--cream-050);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  gap: 16px;
  min-height: 220px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-more:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.catalog-more .catalog-more-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-more .catalog-more-icon svg {
  width: 20px;
  height: 20px;
}

.catalog-more span {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

.catalog-more .btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  transition: background 0.2s ease;
}

.catalog-more .btn-circle svg {
  width: 18px;
  height: 18px;
}

.catalog-more:hover .btn-circle {
  background: #5c9636;
}

.dot-indicators {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.dot-indicators span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-light);
  transition: width 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}

.dot-indicators span.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--brand-green);
}

/* Floating CTA card */
.cta-float {
  background: var(--cream-050);
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px -30px rgba(8, 18, 14, 0.35);
}

.cta-float .cta-float-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-200);
  color: var(--canopy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-float .cta-float-icon svg {
  width: 24px;
  height: 24px;
}

.cta-float .cta-float-text {
  flex: 1 1 280px;
}

.cta-float .cta-float-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--canopy-950);
  margin-bottom: 4px;
}

.cta-float .cta-float-text span {
  display: block;
  font-size: 0.92rem;
  color: var(--bean-700);
  line-height: 1.5;
}

.cta-float .btn-gold {
  white-space: nowrap;
}

.cta-float-wrap {
  position: relative;
  z-index: 2;
}

/* Mini feature row (small icon + label, used under CTAs) */
.mini-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.mini-feature-row .mini-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--bean-700);
}

.mini-feature-row .mini-feature svg {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
  flex-shrink: 0;
}

/* Hero actions / note (reused by Hero and CTA-hero sections) */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(250, 247, 236, 0.65);
  margin-top: 16px;
  max-width: 480px;
  line-height: 1.5;
}

/* Feature row (icon + short label), light-on-dark by default */
.hero-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
}

.hero-feature-row .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 150px;
}

.hero-feature-row .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-row .feature-icon svg {
  width: 20px;
  height: 20px;
  max-width: none;
  flex-shrink: 0;
  color: var(--cream-050);
}

.hero-feature-row .feature-icon i {
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--cream-050);
}

.hero-feature-row .feature span {
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(250, 247, 236, 0.92);
}

/* Light-background variant (used on CTA-hero, where bg fades to cream) */
.hero-feature-row.on-light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.hero-feature-row.on-light .feature {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  max-width: none;
}

.hero-feature-row.on-light .feature-icon {
  background: var(--gold-200);
  border-color: var(--line-light);
}

.hero-feature-row.on-light .feature-icon svg,
.hero-feature-row.on-light .feature-icon i {
  color: var(--canopy-950);
}

.hero-feature-row.on-light .feature span {
  color: var(--bean-700);
  text-shadow: none;
}

/* Phone / WhatsApp chat mockup (reused by Hero and CTA-hero sections) */
.phone {
  background: linear-gradient(180deg, var(--canopy-900), var(--canopy-950));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  max-width: 360px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--cream-100);
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.chat-head {
  background: var(--canopy-950);
  color: var(--cream-050);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.chat-avatar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.chat-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.chat-status {
  font-size: 0.72rem;
  color: var(--leaf-500);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf-500);
}

.chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in 0.5s ease forwards;
}

.bubble.in {
  align-self: flex-start;
  background: #fff;
  color: var(--bean-900);
  border-bottom-left-radius: 4px;
  animation-delay: 1.35s;
}

.bubble.out {
  align-self: flex-end;
  background: var(--canopy-700);
  color: #fff;
  border-bottom-right-radius: 4px;
  animation-delay: 0.05s;
}

.bubble .tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-500);
  margin-bottom: 4px;
}

.bubble.out .tag {
  color: var(--gold-200);
}

.bubble-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--leaf-500), var(--canopy-950));
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 13px;
  background: #fff;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  opacity: 0;
  animation: bubble-in 0.4s ease forwards;
  animation-delay: 0.85s;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bean-500);
  animation: typing-bounce 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

/* Segunda bolha "digitando…": sugere que a conversa continua após a resposta do App.
   Sem JS, entra uma vez via delay; com JS, integra o loop orquestrado do hero. */
.typing-continue {
  animation-delay: 3.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes bubble-in {
  to { opacity: 1; transform: none; }
}

/* Loop orquestrado via JS (hero): desliga o one-shot e controla por .is-visible.
   Elementos ocultos usam display:none para não deixar espaço fantasma no chat. */
.section-hero-model-01 .phone[data-chat-loop] .bubble,
.section-hero-model-01 .phone[data-chat-loop] .typing {
  animation: none;
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.section-hero-model-01 .phone[data-chat-loop] .bubble.is-visible {
  display: block;
  opacity: 1;
  transform: none;
  animation: bubble-in 0.45s ease;
}

.section-hero-model-01 .phone[data-chat-loop] .typing.is-visible {
  display: flex;
  opacity: 1;
  transform: none;
  animation: bubble-in 0.4s ease;
}

.section-hero-model-01 .phone[data-chat-loop="active"] .chat-body {
  transition: opacity 0.4s ease;
}

.section-hero-model-01 .phone[data-chat-loop="active"] .chat-body.is-fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .bubble,
  .typing {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .section-hero-model-01 .phone[data-chat-loop] .bubble {
    display: block;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .section-hero-model-01 .phone[data-chat-loop] .typing {
    display: flex;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .section-hero-model-01 .phone[data-chat-loop] .typing span {
    animation: none;
    opacity: 1;
  }
}

.chat-input {
  padding: 12px 16px;
  background: var(--cream-050);
  border-top: 1px solid var(--line-light);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input .pill {
  flex: 1;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-light);
}

.chat-input .send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--leaf-500);
  flex-shrink: 0;
}

/* Icon + label grid (used for knowledge areas / capabilities lists) */
.icon-label-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 24px;
  margin-top: 34px;
}

.icon-label-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-label-item .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--canopy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-label-item .icon-circle svg {
  width: 24px;
  height: 24px;
}

.icon-label-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bean-900);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .icon-label-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .icon-label-grid {
    grid-template-columns: 1fr;
  }
}

/* Photo collage with floating quote card */
.collage-wrap {
  position: relative;
  padding-bottom: 40px;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  min-height: 380px;
}

.collage-grid .img-placeholder:first-child {
  grid-row: 1 / span 2;
}

.collage-quote {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: -40px 0 0 auto;
  margin-right: 10%;
  background: var(--canopy-950);
  color: var(--cream-050);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 720px) {
  .collage-grid {
    min-height: 300px;
  }

  .collage-quote {
    margin: -30px auto 0;
  }
}

/* Partners row (light background variant) */
.partners-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line-light);
}

.partners-row .eyebrow {
  margin: 0;
}

.partner-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bean-700);
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  white-space: nowrap;
  background: var(--cream-050);
}

.partners-row .partners-note {
  margin-left: auto;
  max-width: 280px;
  font-size: 0.86rem;
  color: var(--bean-700);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .partners-row .partners-note {
    margin-left: 0;
  }
}

/* Timeline flow (photo + dotted connector + number) */
.timeline-flow {
  display: flex;
  gap: 0;
  margin-top: 40px;
  flex-wrap: wrap;
}

.timeline-flow-item {
  flex: 1 1 150px;
  padding-right: 20px;
}

.timeline-flow-item .timeline-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}

.timeline-node {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-green);
  margin-bottom: 14px;
}

.timeline-flow-item:not(:last-child) .timeline-node::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 14px;
  width: calc(100% + 10px);
  border-top: 2px dotted var(--line-light);
}

.timeline-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand-green);
  margin-bottom: 6px;
}

.timeline-flow-item h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-flow-item p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--bean-700);
  max-width: 220px;
}

.band-alt .timeline-flow-item h4,
.band-dark .timeline-flow-item h4 {
  color: var(--cream-050);
}

.band-alt .timeline-flow-item p,
.band-dark .timeline-flow-item p {
  color: rgba(250, 247, 236, 0.72);
}

@media (max-width: 900px) {
  .timeline-flow {
    flex-direction: column;
    gap: 26px;
  }

  .timeline-flow-item {
    padding-right: 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .timeline-flow-item .timeline-photo {
    width: 90px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .timeline-node {
    display: none;
  }
}

@media (max-width: 720px) {
  .timeline-flow-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .timeline-flow-item .timeline-photo {
    order: 1;
    width: 100%;
    margin-bottom: 16px;
  }

  .timeline-flow-item .timeline-num {
    order: 2;
  }

  .timeline-flow-item h4 {
    order: 3;
  }

  .timeline-flow-item p {
    order: 4;
    max-width: none;
  }
}

/* CTA hero (full-bleed photo fading into cream, dark text) */
.section-cta-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: url('../img/hero.png') center 38% / cover no-repeat;
}

.section-cta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--cream-050) 0%, rgba(250, 248, 242, 0.95) 32%, rgba(250, 248, 242, 0.6) 50%, rgba(250, 248, 242, 0.1) 66%, transparent 78%);
}

.section-cta-hero .container {
  position: relative;
  z-index: 1;
}

.section-cta-hero .eyebrow {
  color: var(--brand-green);
}

.section-cta-hero .eyebrow::before {
  background: var(--brand-green);
}

.section-cta-hero h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  max-width: 520px;
  color: var(--bean-900);
}

.section-cta-hero h2 .accent {
  color: var(--brand-green);
}

.section-cta-hero .lede {
  color: var(--bean-700);
  max-width: 460px;
}

.section-cta-hero .hero-note {
  color: var(--bean-500);
}

.section-cta-hero .phone {
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .section-cta-hero {
    padding: 70px 0;
    background-position: center 30%;
  }

  .section-cta-hero::before {
    background: linear-gradient(180deg, var(--cream-050) 0%, rgba(250, 248, 242, 0.78) 34%, rgba(250, 248, 242, 0.22) 58%, transparent 76%);
  }
}

.legal-disclaimer {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(250, 247, 236, 0.62);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Placeholder de imagem (usado enquanto fotos reais não estão disponíveis) */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: var(--cream-100);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  color: var(--bean-500);
  padding: 24px;
  min-height: 180px;
}

.img-placeholder .icon {
  width: 34px;
  height: 34px;
  color: var(--bean-500);
  opacity: 0.7;
}

.img-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  max-width: 220px;
  line-height: 1.4;
}

.img-placeholder.photo {
  aspect-ratio: 4 / 3;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .placeholder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Vídeo responsivo (Hero) */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.page-hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(247, 177, 21, 0.16), transparent 60%),
    linear-gradient(180deg, var(--canopy-950), var(--canopy-900));
  color: var(--cream-050);
  padding: 148px 0 80px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  max-width: 820px;
}

.page-hero .lede {
  color: rgba(250, 247, 236, 0.82);
}

.page-hero .lede + .lede {
  margin-top: 12px;
}

.page-hero-compact {
  padding: 120px 0 56px;
}

.page-hero-compact h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 0;
}

.page-hero-compact .lede {
  max-width: 480px;
}

.page-hero-compact .hero-actions {
  margin-top: 20px;
}

@media (max-width: 767.98px) {
  .page-hero-compact .row > div + div {
    margin-top: 18px;
  }
}

.step-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine-600);
  margin-bottom: 10px;
}

.flow-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  margin-top: 28px;
}

.flow-chain li {
  background: var(--cream-050);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
}

.flow-chain li + li {
  margin-top: 22px;
  position: relative;
}

.flow-chain li + li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -18px;
  width: 2px;
  height: 18px;
  background: var(--gold-500);
}

.catalog-card {
  background: var(--cream-050);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.catalog-card .img-placeholder {
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
}

.catalog-card h3,
.catalog-card p {
  padding: 0 20px;
}

.catalog-card h3 {
  margin-top: 18px;
  font-size: 1.08rem;
}

.catalog-card p {
  color: var(--bean-700);
  font-size: 0.9rem;
  padding-bottom: 22px;
  margin-top: 8px;
}

.person-card {
  background: var(--cream-050);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.person-card h3 {
  font-size: 1.08rem;
}

.person-card .role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--wine-600);
  margin-top: 6px;
}

.person-card p {
  margin-top: 10px;
  color: var(--bean-700);
  font-size: 0.9rem;
}

.btn-outline.on-light {
  color: var(--canopy-950);
  border-color: var(--line-light);
}

.btn-outline.on-light:hover {
  border-color: var(--gold-500);
  color: var(--canopy-950);
}

/* Animações de entrada */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-left {
  transform: translateX(-28px);
}

.js .reveal-right {
  transform: translateX(28px);
}

.js .reveal-left.is-visible,
.js .reveal-right.is-visible {
  transform: none;
}

.eyebrow::before {
  transform-origin: left center;
  transition: width 0.5s ease, background 0.2s ease;
}

.reveal.is-visible.eyebrow::before,
.eyebrow.is-visible::before {
  animation: eyebrow-grow 0.6s ease both;
}

@keyframes eyebrow-grow {
  from { width: 0; }
  to { width: 22px; }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone {
  animation: float-soft 5.5s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(109, 172, 64, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(109, 172, 64, 0); }
}

.section-hero-model-01 .btn-gold,
.cta-float .btn-gold {
  animation: pulse-gold 2.8s ease-out infinite;
}

.card .icon,
.catalog-card .icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .icon,
.catalog-card:hover .icon {
  transform: scale(1.12);
  color: var(--leaf-500);
}

.person-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-500);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-left,
  .js .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .phone,
  .btn-gold {
    animation: none !important;
  }
}

/* PHASE 2 — footer mobile + transição CTA→footer (mobile-only, ≤720px).
   Seletores do footer usam especificidade acima do <style> embutido do
   componente FooterModel01 (que vem depois do <link> no documento). */
@media (max-width: 720px) {
  /* D1: parceiros podem quebrar linha em 360px */
  .site-footer .footer-partner {
    white-space: normal;
  }

  /* D2: empilha topo e colunas do footer no mobile */
  .site-footer .footer-top,
  .site-footer .footer-cols {
    flex-direction: column;
    gap: 28px;
  }

  /* D3: card flutuante empilhado, sem estouro horizontal */
  .cta-float {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  /* D3-fix: em coluna, o flex-basis desktop (280px) vira altura mínima do
     texto e o flex-grow:1 absorve o espaço livre, empurrando o botão para
     baixo. Neutraliza só no mobile; desktop intacto. */
  .cta-float .cta-float-text {
    flex: 0 0 auto;
  }

  .cta-float .btn-gold {
    white-space: normal;
    width: 100%;
    justify-content: center;
  }

  /* D4: reserva para a metade inferior do card absoluto + D5: divisor sutil */
  footer.site-footer {
    padding-top: 150px;
    border-top: 1px solid var(--line-dark);
  }

  /* D5: respiro entre #cta-final e o footer (topo mobile preservado) */
  .section-cta-hero {
    padding: 70px 0 150px;
  }
}

/* PHASE 5 — chips e pílulas (mobile-only, ≤600px; desktop intacto). */
/* 5.1: .stat-chip-row vira grid 2 colunas; o 3º chip ocupa a linha toda,
   alinhando as bordas direita/esquerda. Grid stretch iguala a altura
   dos dois chips de cima. */
/* 5.2: .tab-pills vira carrossel horizontal com scroll-snap; teclado e
   foco visível preservados (sem overflow:hidden, sem remover outline). */
@media (max-width: 600px) {
  .stat-chip-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stat-chip-row .stat-chip {
    min-width: 0;
  }

  .stat-chip-row .stat-chip:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  .tab-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .tab-pills::-webkit-scrollbar {
    display: none;
  }

  .tab-pills .tab-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .tab-pills .tab-pill:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
  }
}

/* PHASE 6.1 — override do grid inline de #para-quem-e (como-funciona.php).
   O markup usa style="grid-template-columns:repeat(2,1fr)" inline, que
   vence o 1fr do breakpoint ≤560px e estourava ~35px/75px em 360px/320px
   ("Técnicos e extensionistas"). !important escopado por ID, mobile-only;
   desktop (inline 2 col) intacto. */
@media (max-width: 560px) {
  #para-quem-e .icon-label-grid {
    grid-template-columns: 1fr !important;
  }
}
