/* Estilos personalizados para Fertilizantes Planalto - Inspirado em Shadcn UI */

:root {
  --background: #0a1410;
  /* MUDEI: azul escuro → verde escuro terra */
  --foreground: #f8fafc;
  --metta-blue: #4A8C2A;
  /* MUDEI: azul → verde forte da agricultura */
  --metta-cyan: #6B9D3E;
  /* MUDEI: cyan → verde da sua logo */
  --metta-teal: #8B6F47;
  /* MUDEI: teal → marrom terra */
  --metta-orange: #f97316;
  /* MANTIVE: laranja para CTAs */
  --metta-green: #D1A24E;
  /* MUDEI: verde → amarelo dourado (grãos/colheita) */
  --card: #0f1e18;
  /* MUDEI: card com tom verde escuro */
  --card-foreground: #f1f5f9;
  --border: #2d4a2b;
  /* MUDEI: borda verde escuro */
  --input: #0d1a14;
  /* MUDEI: input com tom verde */
  --ring: var(--metta-blue);
  --radius: 0.5rem;
}
/* Cabeçalho dos cards de produto bem padronizado */
#cases .card .gradient-blue {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
/* 1. Logo mais nítida e clara */
header .logo-container img {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9)) brightness(1.35) contrast(1.15);
  image-rendering: -webkit-optimize-contrast;
  transition: filter 0.2s ease, transform 0.2s ease;
}

header .logo-container img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 1)) brightness(1.4) contrast(1.2);
}

/* 2. Faixa do header um pouco mais escura pra destacar a logo */
header {
  background-color: #102910; /* verde escuro, ajusta se quiser */
}

/* Linha de cima (categoria: FÓSFORO PARA ARRANQUE, etc.) */
#cases .card .gradient-blue span.text-metta-cyan {
  width: 100%;
  text-align: center !important;
  letter-spacing: 0.18em !important;
}

/* Sigla / nome do produto (04-30-10, MAP, KCl...) */
#cases .card .gradient-blue h3 {
  width: 100%;
  text-align: center !important;
  margin-top: 0.25rem !important;
}

/* Subtítulo (Ideal para plantio, Alta performance em grãos...) */
#cases .card .gradient-blue span.text-gray-200 {
  width: 100%;
  text-align: center !important;
  margin-top: 0.15rem !important;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background elegante e minimalista */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(74, 140, 42, 0.08) 0%, transparent 50%),
    /* MUDEI: verde */
    radial-gradient(circle at 90% 80%, rgba(139, 111, 71, 0.06) 0%, transparent 50%);
  /* MUDEI: marrom */
  z-index: -1;
  pointer-events: none;
}

/* Grid de fundo sutil */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(45, 74, 43, 0.05) 1px, transparent 1px),
    /* MUDEI: tom verde */
    linear-gradient(to bottom, rgba(45, 74, 43, 0.05) 1px, transparent 1px);
  /* MUDEI: tom verde */
  z-index: -1;
  pointer-events: none;
}

/* Navbar mais limpa e moderna */
header {
  background: linear-gradient(90deg,
      rgba(74, 140, 42, 0.35) 0%,
      /* MUDEI: verde */
      rgba(107, 157, 62, 0.25) 25%,
      /* MUDEI: verde logo */
      rgba(10, 20, 16, 0.75) 70%);
  /* MUDEI: fundo verde escuro */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 140, 42, 0.2);
  /* MUDEI: borda verde */
  transition: background-color 0.3s ease;
  height: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Logo com melhor contraste */
header .logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remover efeito de iluminação diretamente atrás do logo */
header .logo-container::before {
  display: none;
}

header img {
  height: 85px;
  position: relative;
  z-index: 2;
  filter: brightness(1.1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  /* AJUSTEI: menos brilho para ficar natural */
  -webkit-filter: brightness(1.1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  border: none;
  outline: none;
  padding: 0;
  background: none;
}

/* Header Mobile */
@media (max-width: 768px) {
  header {
    height: 60px;
    justify-content: center;
    background: radial-gradient(circle at center,
        rgba(74, 140, 42, 0.3) 0%,
        /* MUDEI: verde */
        rgba(15, 30, 24, 0.75) 60%);
    /* MUDEI: fundo verde escuro */
  }

  header img {
    height: 75px;
  }

  header .logo-container::before {
    display: none;
  }
}

/* Melhorias na navegação */
nav ul {
  background-color: transparent;
  border-radius: 24px;
  padding: 4px 16px;
}


nav ul li a {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #D1A24E;
  /* MUDEI: cyan → amarelo dourado */
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: #D1A24E;
  /* MUDEI: cyan → amarelo dourado */
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav ul li a:hover::after {
  transform: scaleX(1);
}

/* Botão CTA na navbar */
.btn-primary {
  background: #f97316;
  /* MUDEI: azul → laranja (destaque forte) */
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.3);
  /* MUDEI: sombra laranja */
}

.logo-container img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero section com contraste melhorado */
.hero-section {
  background: linear-gradient(150deg, #0f1e18 0%, #0a1410 75%);
  /* MUDEI: azul → verde escuro terra */
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 6rem !important;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 2rem;
    padding-bottom: 4rem !important;
  }
}

@media (min-width: 1280px) {
  .hero-section {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at top right, rgba(74, 140, 42, 0.12), transparent 70%),
    /* MUDEI: verde */
    radial-gradient(circle at bottom left, rgba(139, 111, 71, 0.1), transparent 60%);
  /* MUDEI: marrom */
  pointer-events: none;
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Melhorar legibilidade dos textos */
.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  background-clip: text;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}


@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Gradient de texto com melhor contraste */
.text-gradient {
  background: linear-gradient(90deg, #6B9D3E, #D1A24E);
  /* MUDEI: cyan/teal → verde logo + amarelo dourado */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  text-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  max-width: 800px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

/* Destaques de cores com maior contraste */
.text-highlight-blue {
  color: #6B9D3E;
  /* MUDEI: azul → verde logo */
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.text-highlight-teal {
  color: #4A8C2A;
  /* MUDEI: teal → verde agricultura */
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.text-highlight-orange {
  color: #D1A24E;
  /* MUDEI: laranja → amarelo dourado */
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Formulário com maior destaque */
.hero-form-container {
  background-color: rgba(15, 30, 24, 0.85);
  /* MUDEI: fundo verde escuro */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 140, 42, 0.3);
  /* MUDEI: borda verde */
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  border-radius: 0.75rem;
  padding: 1rem;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (min-width: 640px) {
  .hero-form-container {
    padding: 1.25rem;
    max-width: 450px;
  }
}

@media (min-width: 1024px) {
  .hero-form-container {
    padding: 1.5rem;
    max-width: 500px;
  }
}

.hero-form-title {
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.form-step {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #4A8C2A;
  /* MUDEI: azul → verde agricultura */
  color: white;
  border-radius: 50%;
  font-weight: 600;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .step-number {
    width: 1.75rem;
    height: 1.75rem;
    margin-right: 0.75rem;
    font-size: 0.875rem;
  }
}

.form-step .step-text {
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .step-text {
    font-size: 1rem;
  }
}

/* Partículas sutis para o background do hero */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(107, 157, 62, 0.12);
  /* MUDEI: cyan → verde logo com opacidade baixa */
  pointer-events: none;
  opacity: 0;
  animation: float 15s infinite ease-in-out;
  will-change: transform, opacity;
}


@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  25% {
    opacity: 0.8;
  }

  75% {
    opacity: 0.5;
  }

  50% {
    transform: translateY(-30px) translateX(20px);
    opacity: 1;
  }
}

/* Elementos de UI modernos inspirados em Shadcn */
.shadow-glow {
  box-shadow: 0 0 35px rgba(74, 140, 42, 0.15);
  /* MUDEI: azul → verde */
}

.card {
  background-color: rgba(15, 30, 24, 0.7);
  /* MUDEI: fundo verde escuro */
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 140, 42, 0.2);
  /* MUDEI: verde */
  border-color: rgba(74, 140, 42, 0.4);
  /* MUDEI: verde */
}

/* Utilidades para gradientes */
.gradient-blue {
  background: linear-gradient(90deg, #4A8C2A, #6B9D3E);
  /* MUDEI: verde agricultura → verde logo */
  position: relative;
  overflow: hidden;
}

.gradient-blue::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent);
  transform: rotate(30deg);
  animation: shine 6s linear infinite;
  pointer-events: none;
}

@keyframes shine {
  from {
    transform: translateX(-100%) rotate(30deg);
  }

  to {
    transform: translateX(100%) rotate(30deg);
  }
}

.gradient-blue-hover:hover {
  background: linear-gradient(90deg, #6B9D3E, #4A8C2A);
  /* MUDEI: inverte o gradiente verde */
}

/* Botão Call-to-Action mais destacado */
.cta-button {
  background: linear-gradient(90deg, #f97316, #ea580c);
  /* MUDEI: azul → laranja forte para CTA */
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5), 0 0 20px rgba(249, 115, 22, 0.3);
  /* MUDEI: sombra laranja */
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.6), 0 0 25px rgba(249, 115, 22, 0.4);
  /* MUDEI: sombra laranja */
  background: linear-gradient(90deg, #fb923c, #f97316);
  /* MUDEI: laranja mais claro no hover */
}

.cta-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transform: rotate(30deg);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cta-button:hover::after {
  opacity: 1;
  animation: shine 1.5s linear;
}

/* Elementos de formulário */
.input {
  background-color: rgba(13, 26, 20, 0.9);
  /* MUDEI: fundo verde escuro */
  backdrop-filter: blur(4px);
  border: 1px solid rgba(45, 74, 43, 0.8);
  /* MUDEI: borda verde */
  border-radius: var(--radius);
  color: #f8fafc;
  padding: 0.5rem 0.75rem;
  width: 100%;
  transition: border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
  font-size: 0.875rem;
}


@media (min-width: 640px) {
  .input {
    padding: 0.75rem 1rem;
  }
}

.input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.input-group label {
  color: #cbd5e1;
  /* levemente mais claro */
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Botão de sucesso (verde) com maior contraste */
.btn-success {
  background-color: #4A8C2A;
  /* MUDEI: azul → verde sucesso */
  color: white;
  border: 1px solid rgba(74, 140, 42, 0.4);
  /* borda verde */
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1.5rem;
}

.btn-success:hover {
  background-color: #3f7a24;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(74, 140, 42, 0.5);
}

/* Botões genéricos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
  animation: shine 1.5s linear;
}

/* Primário = CTA laranja (whats/cotação) */
.btn-primary {
  background: #f97316;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

/* Secundário contornado em verde */
.btn-outline {
  background: transparent;
  color: #4A8C2A;
  border: 1px solid #4A8C2A;
  padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
  background: rgba(74, 140, 42, 0.12);
  transform: translateY(-1px);
}

/* Badges e tags */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: rgba(74, 140, 42, 0.18);
  /* MUDEI: base verde */
  box-shadow: 0 0 15px rgba(74, 140, 42, 0.25);
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
  0% {
    left: -100%;
  }

  20%,
  100% {
    left: 100%;
  }
}

/* Badge "fertilizantes" em verde */
.badge-blue {
  background-color: rgba(74, 140, 42, 0.18);
  color: #D1A24E;
  /* texto dourado */
  border: 1px solid rgba(74, 140, 42, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Badge "insumos premium" em marrom/verde claro */
.badge-teal {
  background-color: rgba(139, 111, 71, 0.16);
  color: #6B9D3E;
  border: 1px solid rgba(139, 111, 71, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}


/* Imagens e avatares */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(74, 140, 42, 0.35);
  /* MUDEI: azul → verde */
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  border-color: rgba(74, 140, 42, 0.7);
  box-shadow: 0 0 15px rgba(74, 140, 42, 0.4);
}

/* Seções */
.section {
  position: relative;
  overflow: hidden;
}

.section-glow::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--metta-blue), transparent);
  top: 0;
  left: 0;
  opacity: 0.6;
}

/* Animações de scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.animate-on-scroll.animate-fade-up {
  transform: translateY(30px);
}

.animate-on-scroll.animate-fade-down {
  transform: translateY(-30px);
}

.animate-on-scroll.animate-fade-left {
  transform: translateX(30px);
}

.animate-on-scroll.animate-fade-right {
  transform: translateX(-30px);
}

.animate-on-scroll.animate-zoom {
  transform: scale(0.95);
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delays */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* Pulse de destaque */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 140, 42, 0.45);
    /* MUDEI: azul → verde */
  }

  70% {
    box-shadow: 0 0 0 10px rgba(74, 140, 42, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 140, 42, 0);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Shimmer em tons de verde/dourado */
@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.animate-shimmer {
  background: linear-gradient(90deg,
      rgba(107, 157, 62, 0.22),
      rgba(209, 162, 78, 0.6),
      rgba(107, 157, 62, 0.22));
  /* MUDEI: teal/azul → verde + dourado */
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite;
  display: inline-block;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(209, 162, 78, 0.35);
}

/* Paralaxe */
.parallax {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Texto flutuante */
@keyframes float-text {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.float-text {
  animation: float-text 3s ease-in-out infinite;
}

/* Destaque ao entrar em foco */
.highlight-on-view {
  transition: filter 0.5s ease, transform 0.5s ease;
  will-change: filter, transform;
}

.highlight-on-view.highlight-active {
  filter: brightness(1.1);
  transform: scale(1.02);
}


/* Hover effects mais sofisticados para cards */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px -10px rgba(74, 140, 42, 0.25);
  /* MUDEI: azul → verde */
}

/* Efeito de "scale" em seções */
.scale-on-scroll {
  transform: scale(0.98);
  opacity: 0.8;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-on-scroll.scale-active {
  transform: scale(1);
  opacity: 1;
}

/* Cards de serviço aprimorados */
.service-card {
  border: 1px solid rgba(74, 140, 42, 0.15);
  /* MUDEI: borda verde */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.service-card:hover {
  border-color: rgba(74, 140, 42, 0.5);
  box-shadow: 0 10px 25px -5px rgba(74, 140, 42, 0.2);
  transform: translateY(-10px);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon {
  border-radius: 50%;
  background: rgba(15, 30, 24, 0.8);
  border: 1px solid rgba(74, 140, 42, 0.4);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(74, 140, 42, 0.25);
}

/* Carrossel de depoimentos - CORREÇÃO DE OVERFLOW */
.testimonial-carousel {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible !important;
  padding: 2rem 0;
  margin: 0 1rem;
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
  z-index: 1;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
  position: relative;
}

/* Card dentro do slide */
.testimonial-slide .card {
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide .card:hover {
  z-index: 10 !important;
  transform: translateY(-10px) scale(1.02);
}

/* Container pai da seção de depoimentos */
#depoimentos {
  position: relative;
  overflow: visible !important;
  z-index: 1;
}

/* Controles do carrossel */
.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 5;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(100, 116, 139, 0.5);
  margin: 0 0.25rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #6B9D3E;
  /* MUDEI: var(--metta-cyan) → verde da logo */
  transform: scale(1.2);
}

/* Setas do carrossel */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 30, 24, 0.9);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 140, 42, 0.4);
  /* MUDEI: borda verde */
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  opacity: 1;
}

.carousel-arrow:hover {
  background-color: rgba(15, 30, 24, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(74, 140, 42, 0.3);
  z-index: 21;
}

.carousel-arrow.prev {
  left: 1rem;
}

.carousel-arrow.next {
  right: 1rem;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .testimonial-carousel {
    margin: 0 0.5rem;
  }

  .carousel-arrow {
    width: 2rem;
    height: 2rem;
  }

  .carousel-arrow.prev {
    left: 0.5rem;
  }

  .carousel-arrow.next {
    right: 0.5rem;
  }
}

/* Badge com maior contraste */
.badge-glow {
  background: rgba(74, 140, 42, 0.18);
  /* MUDEI: fundo verde */
  border: 1px solid rgba(74, 140, 42, 0.5);
  color: #D1A24E;
  /* texto dourado */
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.badge-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: badge-pulse 4s ease-in-out infinite;
}


@keyframes badge-pulse {
  0% {
    transform: rotate(30deg) translateX(-100%);
  }

  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

/* Status do formulário */
.form-status {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-green 2s infinite;
}

.form-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  background-color: #22c55e;
  /* verdinho online */
  border-radius: 50%;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Estatísticas com efeito glassmorphism */
.glassmorphism {
  background: rgba(15, 30, 24, 0.55);
  /* verde bem escuro */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 140, 42, 0.35);
  /* borda verde */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}

.glassmorphism:hover {
  border-color: rgba(74, 140, 42, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(74, 140, 42, 0.25);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(10, 22, 16, 0.8);
  /* fundo verde escuro */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 140, 42, 0.35);
  /* borda verde */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.stat-item .text-metta-teal {
  color: #D1A24E !important;
  /* dourado pros números (+200, +100) */
  text-shadow: 0 0 10px rgba(209, 162, 78, 0.4);
}

/* Input groups com labels */
.input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 0.75rem;
}

.input-group:last-of-type {
  margin-bottom: 0;
}

.input-group label {
  font-size: 0.75rem;
  color: #6B9D3E;
  /* verde logo nos labels */
  margin-bottom: 0.25rem;
  font-weight: 500;
}

/* Animação de pulso para CTA */
.pulse-animation {
  animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45);
    /* pulso laranja do botão Whats */
  }

  70% {
    box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.input:focus {
  outline: none;
  border-color: #4A8C2A;
  /* foco verde */
  box-shadow: 0 0 0 2px rgba(74, 140, 42, 0.35);
  transform: translateY(-1px);
}

/* Seção de Gestão de Performance (pode ser “Resultados no campo”) */
.performance-section {
  background-color: var(--background);
  position: relative;
  z-index: 1;
}

.bg-gradient-radial {
  background: radial-gradient(circle at center, rgba(74, 140, 42, 0.12) 0%, transparent 70%);
}

/* Cards de performance */
.performance-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(74, 140, 42, 0.35);
  /* borda verde */
}

.performance-card:hover {
  border-color: rgba(74, 140, 42, 0.65);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -20px rgba(74, 140, 42, 0.35);
}

/* Gráfico/ondas de fundo */
.performance-chart {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 22, 16, 0) 0%, rgba(10, 22, 16, 0.9) 100%);
  border-radius: 8px;
  overflow: hidden;
}

.chart-wave {
  width: 100%;
  height: 100px;
  background: linear-gradient(90deg, transparent, rgba(107, 157, 62, 0.25), transparent);
  background-size: 200% 100%;
  position: relative;
  transform: translateY(30px);
}

.chart-wave::before,
.chart-wave::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat-x;
}

.chart-wave::before {
  bottom: 0;
  height: 50px;
  background-image: url("");
  background-size: 1200px 100%;
  animation: waveAnimation 15s linear infinite;
}

.chart-wave::after {
  bottom: 0;
  height: 30px;
  background-image: url("");
  background-size: 1200px 100%;
  animation: waveAnimation 10s linear reverse infinite;
}

@keyframes waveAnimation {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 1200px;
  }
}


.chart-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #6B9D3E;
  /* MUDEI: var(--metta-cyan) → verde da logo */
  box-shadow: 0 0 0 4px rgba(107, 157, 62, 0.25), 0 0 20px rgba(209, 162, 78, 0.45);
  /* halo verde + brilho dourado */
  z-index: 10;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-dot:hover {
  transform: scale(1.3) !important;
  box-shadow: 0 0 0 4px rgba(107, 157, 62, 0.35), 0 0 30px rgba(209, 162, 78, 0.7);
}

.chart-dot-1 {
  top: 30%;
  left: 20%;
}

.chart-dot-2 {
  top: 15%;
  left: 50%;
}

.chart-dot-3 {
  top: 20%;
  left: 75%;
}

.chart-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(10, 22, 16, 0.95);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-bottom: 8px;
  border: 1px solid rgba(209, 162, 78, 0.6);
  /* dourado */
}

.chart-dot:hover .chart-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Mensagens de chat (pode usar para depoimentos em formato conversa) */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 22, 16, 0) 0%, rgba(10, 22, 16, 0.5) 100%);
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 90%;
  animation-fill-mode: both;
}

.chat-message.incoming {
  align-self: flex-start;
  opacity: 0;
  transform: translateX(-20px);
}

.animate-message-in {
  animation: messageIn 0.5s ease forwards;
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.message-bubble {
  background-color: rgba(15, 30, 24, 0.85);
  /* fundo verde escuro */
  padding: 8px 12px;
  border-radius: 12px;
  border-top-left-radius: 2px;
  color: #f8fafc;
  font-size: 14px;
  max-width: 100%;
  word-break: break-word;
  border: 1px solid rgba(74, 140, 42, 0.45);
  /* borda verde */
}

/* Stats flutuando */
.performance-stats,
.conversion-stats {
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: statsFloat 3s ease-in-out infinite;
}

@keyframes statsFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Animação para os containers */
@keyframes containerFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}


.performance-chart,
.chat-container {
  position: relative;
  animation: containerFloat 8s ease-in-out infinite;
  will-change: transform;
}

/* ====== Seção Laboratório de Resultados ====== */
.analytics-lab-section {
  background-color: var(--background);
  position: relative;
  z-index: 1;
}

.bg-dots-pattern {
  background-image: radial-gradient(rgba(74, 140, 42, 0.22) 1px, transparent 1px);
  /* MUDEI: azul → verde */
  background-size: 30px 30px;
  opacity: 0.35;
}

.analytics-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(74, 140, 42, 0.35);
  /* borda verde */
}

.analytics-card:hover {
  border-color: rgba(74, 140, 42, 0.7);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -20px rgba(74, 140, 42, 0.35);
}

/* Métricas e painel de análise */
.metrics-display {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 22, 16, 0) 0%, rgba(10, 22, 16, 0.7) 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  z-index: 5;
  position: relative;
}

.metric-item {
  background: rgba(15, 30, 24, 0.8);
  border: 1px solid rgba(74, 140, 42, 0.35);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(74, 140, 42, 0.3);
  border-color: rgba(74, 140, 42, 0.7);
}

.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 157, 62, 0.2);
  /* verde claro */
}

/* DNA Helix - vira um “fluxo de nutrientes/dados” */
.dna-helix {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  opacity: 0.22;
  z-index: 1;
}

.dna-strand {
  position: absolute;
  width: 100%;
  height: 200%;
  background-image: repeating-linear-gradient(0deg,
      transparent,
      rgba(74, 140, 42, 0.35) 10px,
      transparent 20px);
  animation: dnaMove 15s linear infinite;
}

.dna-strand::before,
.dna-strand::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.dna-strand::before {
  background-image: repeating-linear-gradient(90deg,
      transparent,
      rgba(107, 157, 62, 0.3) 10px,
      transparent 20px);
}

.dna-strand::after {
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      rgba(209, 162, 78, 0.25) 5px,
      transparent 10px);
  /* dourado */
}

@keyframes dnaMove {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Blueprint estratégico (pode virar “Plano de adubação”) */
.strategy-blueprint {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 22, 16, 0) 0%, rgba(10, 22, 16, 0.7) 100%);
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
}

.blueprint-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.blueprint-connection-lines {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at center, rgba(74, 140, 42, 0.16) 0, transparent 1px),
    linear-gradient(to right, rgba(74, 140, 42, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 140, 42, 0.08) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 20px 20px;
  opacity: 0.55;
}

.blueprint-node {
  position: absolute;
  background: rgba(15, 30, 24, 0.9);
  border: 1px solid rgba(209, 162, 78, 0.5);
  /* dourado */
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


.blueprint-node:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(209, 162, 78, 0.4);
  /* dourado */
  border-color: rgba(209, 162, 78, 0.7);
}

.blueprint-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B9D3E;
  /* verde da logo */
  flex-shrink: 0;
}

/* Posicionamento dos nós permanece igual */
.blueprint-node-1 {
  top: 15%;
  left: 10%;
}

.blueprint-node-2 {
  top: 30%;
  left: 40%;
  transform: translateX(-50%);
}

.blueprint-node-3 {
  top: 30%;
  right: 10%;
}

.blueprint-node-4 {
  top: 45%;
  left: 15%;
}

.blueprint-node-5 {
  top: 45%;
  right: 15%;
}

/* Especialidades (pills) no rodapé do blueprint */
.specialties-pills {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  z-index: 3;
}

.specialty-pill {
  background: rgba(74, 140, 42, 0.18);
  border: 1px solid rgba(74, 140, 42, 0.45);
  border-radius: 100px;
  padding: 3px 8px;
  font-size: 10px;
  color: #D1A24E;
  /* texto dourado */
  white-space: nowrap;
  margin-bottom: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

/* Insight tag */
.insight-tag {
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Vantagens cards */
.advantage-card {
  background: rgba(15, 30, 24, 0.55);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(74, 140, 42, 0.35);
}

.advantage-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 140, 42, 0.75);
}

/* Pulso lento */
.animate-pulse-slow {
  animation: pulseSlow 3s ease-in-out infinite;
}

@keyframes pulseSlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(0.97);
  }
}

/* Textos coloridos em títulos – agora verde/dourado */
.text-metta-cyan {
  color: #6B9D3E !important;
  text-shadow: 0 0 10px rgba(107, 157, 62, 0.4);
}

.text-metta-teal {
  color: #D1A24E !important;
  text-shadow: 0 0 10px rgba(209, 162, 78, 0.5);
}

/* Remapeando onde antes forçava cyan */
#cases .text-metta-cyan,
.text-metta-cyan.animate-shimmer,
.service-card h3.text-metta-cyan,
.service-icon .text-metta-cyan,
span.text-metta-cyan {
  color: #6B9D3E !important;
  text-shadow: 0 0 10px rgba(107, 157, 62, 0.4) !important;
}

span.font-bold.text-metta-cyan {
  color: #6B9D3E !important;
  text-shadow: 0 0 8px rgba(107, 157, 62, 0.45) !important;
}

/* Destaques em “Sobre nós” */
.text-highlight-blue {
  color: #D1A24E;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Títulos dos cards de serviço */
.service-card h3 {
  color: #6B9D3E;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Texto dos cards */
.card p {
  color: #e0e7ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Logo no header – recomendo simplificar e NÃO inverter as cores da sua logo.
   Deixa só leve brilho para não estragar o verde/azul original. */
header .logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

header img {
  height: 60px;
  /* deixa maior pra ler o texto */
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
  /* só sombra, sem inverter */
  -webkit-filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
  border: none;
  border-radius: 0;
}

/* Depoimentos */
.testimonial-slide h3 {
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ====== Cases de Sucesso – adaptar fundo para o tema agro ====== */
#cases {
  background: linear-gradient(135deg,
      #07130f 0%,
      #0f2017 25%,
      #0b1812 50%,
      #143320 75%,
      #07130f 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 6rem 1rem !important;
}

#cases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(107, 157, 62, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(209, 162, 78, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(74, 140, 42, 0.12) 0%, transparent 60%);
  z-index: 0;
  animation: backgroundPulse 8s ease-in-out infinite;
}

#cases::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(107, 157, 62, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(107, 157, 62, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(209, 162, 78, 0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(209, 162, 78, 0.04) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  z-index: 1;
  opacity: 0.4;
  animation: gridMove 20s linear infinite;
}


@keyframes backgroundPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

/* Container dos cards de cases */
#cases .flex-col.md\\:flex-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 3rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  perspective: 1000px !important;
}

/* CARD do case – tema verde/terra */
#cases .card {
  background: linear-gradient(145deg,
      rgba(7, 19, 15, 0.96) 0%,
      rgba(10, 26, 18, 0.98) 50%,
      rgba(7, 19, 15, 0.96) 100%) !important;
  border: 2px solid rgba(74, 140, 42, 0.45) !important;
  background-clip: padding-box !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(74, 140, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(16px) !important;
  transform: rotateY(3deg) rotateX(1deg) !important;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

/* Borda animada em verde + dourado */
#cases .card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
      #4A8C2A 0%,
      #D1A24E 25%,
      #6B9D3E 50%,
      #D1A24E 75%,
      #4A8C2A 100%);
  border-radius: 20px;
  z-index: -1;
  background-size: 300% 300%;
  animation: borderGlow 6s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#cases .card:hover::before {
  opacity: 1;
}

@keyframes borderGlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

#cases .card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-12px) scale(1.01) !important;
  box-shadow:
    0 35px 70px -15px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(74, 140, 42, 0.35) !important;
}

/* Faixa superior (onde fica o avatar) */
#cases .gradient-blue {
  background: linear-gradient(135deg,
      #203922 0%,
      #4A8C2A 35%,
      #6B9D3E 65%,
      #8B6F47 100%) !important;
  background-size: 180% 180% !important;
  animation: holographicShift 10s ease-in-out infinite !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
  height: 140px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@keyframes holographicShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Avatar com halo dourado */
#cases .avatar {
  border: 4px solid #ffffff !important;
  box-shadow:
    0 0 0 3px rgba(209, 162, 78, 0.7),
    0 0 25px rgba(209, 162, 78, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation: avatarPulse 4s ease-in-out infinite !important;
  width: 84px !important;
  height: 84px !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes avatarPulse {

  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(209, 162, 78, 0.7),
      0 0 25px rgba(209, 162, 78, 0.45);
  }

  50% {
    box-shadow:
      0 0 0 5px rgba(209, 162, 78, 0.9),
      0 0 40px rgba(209, 162, 78, 0.6);
  }
}

#cases .avatar:hover {
  transform: scale(1.06) !important;
}

/* Conteúdo interno */
#cases .card .p-6 {
  padding: 2rem !important;
  position: relative !important;
  z-index: 2 !important;
  background: linear-gradient(180deg,
      rgba(7, 19, 15, 0.4) 0%,
      rgba(7, 19, 15, 0.9) 100%) !important;
  border-radius: 0 0 16px 16px !important;
}

/* Título do case */
#cases .card h3 {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.7) !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  z-index: 2 !important;
}

/* “Especialidades” / tags do case */
#cases .card span.text-metta-cyan {
  background: linear-gradient(90deg, #6B9D3E, #D1A24E, #6B9D3E) !important;
  background-size: 160% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  animation: holographicText 6s linear infinite !important;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8)) !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

@keyframes holographicText {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}


/* Texto descritivo com boa leitura */
#cases .card p {
  color: #e5f2e9 !important;
  font-size: 0.925rem !important;
  line-height: 1.7 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
  position: relative !important;
  z-index: 2 !important;
  font-weight: 400 !important;
  letter-spacing: 0.015em !important;
}

/* Estatísticas (+200 ha, +100 produtores) em verde/dourado */
#cases .card span.font-bold.text-metta-cyan {
  background: linear-gradient(45deg, #6B9D3E, #D1A24E, #6B9D3E) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  animation: statisticGlowAgro 4s ease-in-out infinite !important;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8)) !important;
  position: relative !important;
  z-index: 2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

@keyframes statisticGlowAgro {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Título da seção "Cases de sucesso" */
#cases h2 {
  background: linear-gradient(135deg,
      #ffffff 0%,
      #D1A24E 40%,
      #6B9D3E 70%,
      #ffffff 100%) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 3rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  animation: titleEpicAgro 8s ease-in-out infinite !important;
  filter: drop-shadow(0 0 14px rgba(0, 0, 0, 0.6)) !important;
  position: relative !important;
  z-index: 10 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 3rem !important;
}

@keyframes titleEpicAgro {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Badge da seção (ex: “Resultados reais no campo”) */
#cases .badge-teal {
  background: linear-gradient(135deg,
      rgba(74, 140, 42, 0.35) 0%,
      rgba(209, 162, 78, 0.25) 50%,
      rgba(74, 140, 42, 0.35) 100%) !important;
  border: 2px solid rgba(209, 162, 78, 0.8) !important;
  color: #FDE68A !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 50px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  position: relative !important;
  z-index: 10 !important;
  animation: badgeFloatAgro 5s ease-in-out infinite !important;
  margin-bottom: 2rem !important;
}

@keyframes badgeFloatAgro {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.03);
  }
}

/* Partículas bem discretas (se quiser, pode até remover) */
#cases .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(74, 140, 42, 0.12) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(209, 162, 78, 0.12) 0, transparent 55%);
  z-index: 1 !important;
  animation: particleFloatAgro 18s linear infinite !important;
  opacity: 0.5 !important;
}

@keyframes particleFloatAgro {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-16px, -16px);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  #cases .flex-col.md\\:flex-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #cases h2 {
    font-size: 2rem !important;
  }

  #cases .card {
    transform: none !important;
  }
}

/* Título interno do card (nome do produtor / propriedade) */
#cases .card h3 {
  color: #e2e8f0 !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.6) !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Avatar com borda clara + halo dourado suave */
#cases .avatar {
  border: 4px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow:
    0 0 0 3px rgba(209, 162, 78, 0.7),
    0 0 22px rgba(209, 162, 78, 0.5) !important;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation: avatarPulseSoftAgro 4s ease-in-out infinite !important;
  width: 84px !important;
  height: 84px !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes avatarPulseSoftAgro {

  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(209, 162, 78, 0.7),
      0 0 22px rgba(209, 162, 78, 0.5);
  }

  50% {
    box-shadow:
      0 0 0 4px rgba(209, 162, 78, 0.9),
      0 0 32px rgba(209, 162, 78, 0.7);
  }
}


/* Hover bem sutil no avatar dos cases */
#cases .avatar:hover {
  transform: scale(1.04) !important;
}

/* Título da seção sem neon, só branco levemente dourado */
#cases h2 {
  background: linear-gradient(120deg, #ffffff, #D1A24E, #ffffff) !important;
  background-size: 160% 160% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}



/* Hover dos cards de cases - agro */
#cases .card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-12px) scale(1.01) !important;
  box-shadow:
    0 35px 70px -15px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(74, 140, 42, 0.35) !important;
  border-color: rgba(74, 140, 42, 0.7) !important;
}

/* Badge da seção (ex.: RESULTADOS NO CAMPO) */
#cases .badge-teal {
  background: linear-gradient(135deg,
      rgba(74, 140, 42, 0.35) 0%,
      rgba(209, 162, 78, 0.25) 50%,
      rgba(74, 140, 42, 0.35) 100%) !important;
  border: 2px solid rgba(209, 162, 78, 0.8) !important;
  color: #FDE68A !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 50px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  position: relative !important;
  z-index: 10 !important;
  animation: badgeFloatAgro 5s ease-in-out infinite !important;
  margin-bottom: 2rem !important;
}

@keyframes badgeFloatAgro {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.03);
  }
}

/* Texto "especialidade" do case (ex.: Soja, Milho, Café) */
#cases .card span.text-metta-cyan {
  background: linear-gradient(90deg, #6B9D3E, #D1A24E, #6B9D3E) !important;
  background-size: 160% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  animation: holographicTextAgro 6s linear infinite !important;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8)) !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

@keyframes holographicTextAgro {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Estatísticas (+200 toneladas, +100 produtores) */
#cases .card span.font-bold.text-metta-cyan {
  background: linear-gradient(45deg, #6B9D3E, #D1A24E, #6B9D3E) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  animation: statisticGlowAgro 4s ease-in-out infinite !important;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8)) !important;
  position: relative !important;
  z-index: 2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

@keyframes statisticGlowAgro {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Fundo da seção cases */
#cases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(107, 157, 62, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(209, 162, 78, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(74, 140, 42, 0.12) 0%, transparent 60%);
  z-index: 0;
  animation: backgroundPulseAgro 12s ease-in-out infinite;
}

@keyframes backgroundPulseAgro {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

/* Banner/área onde fica o avatar do produtor */
#cases .gradient-blue {
  background: linear-gradient(135deg,
      #203922 0%,
      #4A8C2A 35%,
      #6B9D3E 65%,
      #8B6F47 100%) !important;
  background-size: 180% 180% !important;
  animation: holographicShiftAgro 10s ease-in-out infinite !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
  height: 140px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@keyframes holographicShiftAgro {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Avatar do produtor */
#cases .avatar {
  border: 4px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow:
    0 0 0 3px rgba(209, 162, 78, 0.7),
    0 0 22px rgba(209, 162, 78, 0.5) !important;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation: avatarPulseSoftAgro 4s ease-in-out infinite !important;
  width: 84px !important;
  height: 84px !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes avatarPulseSoftAgro {

  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(209, 162, 78, 0.7),
      0 0 22px rgba(209, 162, 78, 0.5);
  }

  50% {
    box-shadow:
      0 0 0 4px rgba(209, 162, 78, 0.9),
      0 0 32px rgba(209, 162, 78, 0.7);
  }
}


@keyframes patternFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
    opacity: 0.8;
  }
}

/* Estilo para selects com ícone de seta */
.input-group select {
  background-image: url("5d48fc9e416f4a1f21a0fa48787eaac3c53004a5.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.input-group select:focus {
  background-image: url("73770807ffbc1374552e5df78f44a9886db2632f.svg");
}

/* ANIMAÇÃO DE PULSAÇÃO DO FORMULÁRIO */
.form-pulse-animation {
  animation: formPulse 2s ease-in-out;
}

@keyframes formPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  }

  10% {
    transform: scale(1.02);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 0 rgba(74, 140, 42, 0.4);
  }

  20% {
    transform: scale(1.05);
    box-shadow:
      0 25px 50px -10px rgba(0, 0, 0, 0.5),
      0 0 0 10px rgba(74, 140, 42, 0.3);
  }

  30% {
    transform: scale(1.03);
    box-shadow:
      0 30px 60px -10px rgba(0, 0, 0, 0.6),
      0 0 0 20px rgba(74, 140, 42, 0.2);
  }

  40% {
    transform: scale(1.01);
    box-shadow:
      0 25px 50px -10px rgba(0, 0, 0, 0.5),
      0 0 0 30px rgba(74, 140, 42, 0.1);
  }

  50% {
    transform: scale(1.02);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 40px rgba(74, 140, 42, 0.05);
  }

  60% {
    transform: scale(1.01);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 50px rgba(74, 140, 42, 0.02);
  }

  70% {
    transform: scale(1.005);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 60px rgba(74, 140, 42, 0.01);
  }

  80% {
    transform: scale(1.002);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 70px rgba(74, 140, 42, 0.005);
  }

  90% {
    transform: scale(1.001);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 80px rgba(74, 140, 42, 0.002);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  }
}


/* Efeito de brilho adicional durante a animação */
.form-pulse-animation::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg,
      rgba(74, 140, 42, 0.18),
      rgba(209, 162, 78, 0.15),
      rgba(74, 140, 42, 0.18));
  border-radius: 0.75rem;
  z-index: -1;
  animation: formGlow 2s ease-in-out;
}

@keyframes formGlow {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Responsividade para mobile (apenas tamanho) */
@media (max-width: 768px) {
  #cases .gradient-blue {
    padding: 20px 20px 0 20px !important;
  }

  #cases .gradient-blue .avatar {
    width: 70px !important;
    height: 70px !important;
  }
}

@media (max-width: 480px) {
  #cases .gradient-blue {
    padding: 16px 16px 0 16px !important;
  }

  #cases .gradient-blue .avatar {
    width: 64px !important;
    height: 64px !important;
  }
}

/* Fundo agro da seção Cases */
#cases {
  background: linear-gradient(135deg,
      #07130f 0%,
      #0b1812 40%,
      #143320 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 5rem 1rem 3rem 1rem !important;
}

/* Seção CTA logo abaixo de Cases */
.flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 {
  background: linear-gradient(135deg,
      #07130f 0%,
      #0b1812 40%,
      #143320 100%) !important;
  padding: 0 1rem 5rem 1rem !important;
  margin-top: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Card CTA */
.flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 .w-full.max-w-4xl {
  background: linear-gradient(145deg,
      rgba(7, 19, 15, 0.96) 0%,
      rgba(10, 26, 18, 0.98) 50%,
      rgba(7, 19, 15, 0.96) 100%) !important;
  border: 1px solid rgba(74, 140, 42, 0.45) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(74, 140, 42, 0.25) !important;
  border-radius: 16px !important;
  position: relative !important;
  z-index: 2 !important;
  transition: all 0.3s ease !important;
}

.flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 .w-full.max-w-4xl:hover {
  transform: translateY(-5px) !important;
}

/* Título do CTA */
.flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 h2 {
  color: #f9fafb !important;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.7) !important;
  position: relative !important;
  z-index: 2 !important;
}


/* Texto destacado no CTA (use verde+dourado) */
.flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 span.text-metta-cyan {
  background: linear-gradient(90deg, #6B9D3E, #D1A24E, #6B9D3E) !important;
  background-size: 160% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Parágrafo do CTA */
.flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 p {
  color: #e5f2e9 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Linha divisória sutil entre Cases e CTA */
#cases::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(209, 162, 78, 0.4),
      transparent);
  z-index: 1;
}

/* Espaçamento entre os cards de cases e o CTA */
#cases .flex-col.md\:flex-row {
  margin-bottom: 4rem !important;
}

/* Responsividade básica */
@media (max-width: 768px) {
  #cases {
    padding: 3rem 1rem 2rem 1rem !important;
  }

  .flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 {
    padding: 0 1rem 3rem 1rem !important;
  }

  #cases .flex-col.md\:flex-row {
    margin-bottom: 3rem !important;
  }
}


/* Cards da seção Cases (único estilo) */
#cases .card {
  background: linear-gradient(145deg,
      rgba(7, 19, 15, 0.96) 0%,
      rgba(10, 26, 18, 0.98) 50%,
      rgba(7, 19, 15, 0.96) 100%) !important;
  border: 2px solid rgba(74, 140, 42, 0.45) !important;
  background-clip: padding-box !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(74, 140, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(16px) !important;
  transform: rotateY(3deg) rotateX(1deg) !important;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

#cases .card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-12px) scale(1.01) !important;
  box-shadow:
    0 35px 70px -15px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(74, 140, 42, 0.35) !important;
  border-color: rgba(74, 140, 42, 0.7) !important;
}

/* Fundo agro da seção Cases */
#cases {
  background: linear-gradient(135deg,
      #07130f 0%,
      #0b1812 40%,
      #143320 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 5rem 1rem 3rem 1rem !important;
}

/* Seção CTA logo abaixo (mesmo fundo) */
.flex.flex-col.items-center.justify-center.px-4.sm\:px-6.py-16 {
  background: linear-gradient(135deg,
      #07130f 0%,
      #0b1812 40%,
      #143320 100%) !important;
  padding: 0 1rem 5rem 1rem !important;
  margin-top: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}


/* SOBRE NÓS – cores adaptadas para agro */
.sobre-nos-section .card,
.sobre-nos-section .faq-item {
  background: rgba(10, 26, 18, 0.9);
  border: 1px solid rgba(74, 140, 42, 0.35);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.sobre-nos-section .faq-item:hover {
  border-color: #4A8C2A;
  box-shadow: 0 8px 32px -8px rgba(74, 140, 42, 0.45);
}

.sobre-nos-section .faq-question {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.sobre-nos-section .faq-answer {
  background: transparent;
  border-top: 1px solid rgba(74, 140, 42, 0.25);
}

.sobre-nos-section img,
.sobre-nos-section .sobre-nos-image-desktop {
  object-fit: contain !important;
  max-height: 450px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.rotate-180 {
  transform: rotate(180deg);
}

#depoimentos+.sobre-nos-section {
  margin-top: -1px;
}

.sobre-nos-section {
  padding-top: 6rem;
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
  animation: revealSection 1s ease-out forwards;
  opacity: 0;
}

@keyframes revealSection {
  from {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transform: translateY(0);
    opacity: 1;
  }
}

.sobre-nos-section.animate-visible {
  animation-name: revealSection;
}

/* Mobile imagem Sobre nós */
@media (max-width: 767px) {
  .sobre-nos-section .sobre-nos-image-mobile {
    max-height: 280px;
    width: 100%;
    object-fit: contain;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* CARROSSEL DE CASES – só troca ciano por verde */
.cases-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 1rem;
}

.cases-slides-wrapper {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

@media (max-width: 767px) {
  .cases-slides-wrapper {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.cases-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.case-slide {
  flex-shrink: 0;
  box-sizing: border-box;
}

.case-slide .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cases-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 5;
}

.cases-carousel-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background-color: rgba(100, 116, 139, 0.4);
  margin: 0 0.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.cases-carousel-dot.active {
  background-color: #6B9D3E;
  /* verde da logo */
  transform: scale(1.15);
}

.cases-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 30, 24, 0.9);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 140, 42, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  opacity: 1;
  color: white;
}

.cases-carousel-arrow:hover {
  background-color: rgba(15, 30, 24, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(74, 140, 42, 0.3);
}

.cases-carousel-arrow.prev {
  left: 1rem;
}

.cases-carousel-arrow.next {
  right: 1rem;
}

@media (max-width: 768px) {
  .cases-carousel {
    margin: 0 0.5rem;
  }

  .cases-carousel-arrow {
    width: 2rem;
    height: 2rem;
  }

  .cases-carousel-arrow.prev {
    left: 0.5rem;
  }

  .cases-carousel-arrow.next {
    right: 0.5rem;
  }
}


/* ========================================
   BOTÃO VOLTAR AO TOPO
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #4A8C2A, #D1A24E);
  border: 1px solid rgba(74, 140, 42, 0.5);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.back-to-top:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #6B9D3E, #D1A24E);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

/* Animação de pulso sutil em verde */
@keyframes backToTopPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(74, 140, 42, 0.25);
  }

  50% {
    box-shadow: 0 4px 24px rgba(74, 140, 42, 0.5);
  }
}

.back-to-top.pulse {
  animation: backToTopPulse 2s infinite;
}

.footer-border-custom {
  border-color: #3f3f3f;
}

/* Validação de formulário (mantém) */
.input.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.input.success {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16) !important;
}

.field-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}