/* Custom Styles for Fauno Agro Landing Page */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@100..900&display=swap');

:root {
  --color-primary: #4A5D3F;     /* Verde Oliva/Militar */
  --color-primary-dark: #37452F;
  --color-accent: #82A039;      /* Verde Vibrante da folha */
  --color-accent-light: #9CB953;
  --color-whatsapp: #25D366;    /* Verde WhatsApp */
  --color-whatsapp-hover: #1ebd52;
  --color-bg: #F9FAFB;          /* Cinza muito claro */
  --color-text-dark: #1F2937;   /* Cinza Escuro */
  --color-text-light: #4B5563;  /* Cinza Médio */
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
}

/* Custom Scrollbar for Premium Feel */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F3F4F6;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* Animate on Scroll (IntersectionObserver) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay classes */
.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; }

/* Custom Animations */
@keyframes ping-slow {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.animate-ping-slow {
  animation: ping-slow 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Glassmorphism Classes */
.glass-nav {
  background-color: rgba(249, 250, 251, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.4);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Button & interactive states */
.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: white;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.btn-primary-custom {
  background-color: var(--color-primary);
  color: white;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(74, 93, 63, 0.3);
}

.btn-secondary-custom {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}
