/*
Theme Name: Metodologia Maule - Drone Agrícola
Description: Tema WordPress para curso de piloto de drone agrícola - Metodologia Maule
Author: Metodologia Maule
Version: 1.0
Text Domain: metodologia-maule
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: 0 0% 100%;
  --foreground: 30 20% 15%;
  --card: 0 0% 100%;
  --card-foreground: 30 20% 15%;
  --popover: 0 0% 100%;
  --popover-foreground: 30 20% 15%;
  --primary: 100 45% 35%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 100 55% 45%;
  --secondary: 35 25% 85%;
  --secondary-foreground: 30 20% 15%;
  --muted: 35 15% 92%;
  --muted-foreground: 30 15% 45%;
  --accent: 45 85% 60%;
  --accent-foreground: 30 20% 15%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 35 15% 88%;
  --input: 35 15% 88%;
  --ring: 100 45% 35%;
  --agro-green: 100 45% 35%;
  --agro-green-light: 100 55% 45%;
  --agro-earth: 35 25% 20%;
  --agro-earth-light: 35 15% 85%;
  --agro-gold: 45 85% 60%;
  --gradient-agro: linear-gradient(135deg, hsl(var(--agro-green)), hsl(var(--agro-green-light)));
  --gradient-earth: linear-gradient(135deg, hsl(var(--agro-earth)), hsl(var(--agro-earth-light)));
  --gradient-hero: linear-gradient(135deg, hsl(var(--agro-green) / 0.95), hsl(var(--agro-earth) / 0.9));
  --gradient-hero-enhanced: linear-gradient(135deg, hsl(var(--agro-earth) / 0.7) 0%, hsl(var(--agro-green) / 0.4) 60%, transparent 100%);
  --shadow-agro: 0 10px 30px -10px hsl(var(--agro-green) / 0.3);
  --shadow-soft: 0 4px 20px -4px hsl(var(--agro-earth) / 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility Classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-hero {
  background: hsl(var(--agro-gold));
  color: hsl(var(--agro-earth));
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-agro);
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px hsl(var(--agro-gold) / 0.4);
}

.btn-agro {
  background: hsl(var(--agro-green));
  color: white;
  font-size: 18px;
  padding: 16px 32px;
}

.btn-agro:hover {
  background: hsl(var(--agro-green-light));
  transform: translateY(-2px);
}

.section {
  padding: 96px 24px;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  max-width: 768px;
  margin: 0 auto 64px;
}

.divider {
  width: 96px;
  height: 4px;
  background: hsl(var(--agro-green));
  margin: 24px auto;
  border-radius: 2px;
}

.card {
  background: hsl(var(--card));
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-agro);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-enhanced);
}

.spray-particles {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: floating-particles 20s linear infinite;
}

.technology-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 12px 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    animation: fade-in 1s ease-out;
}

.badge-dot {
    color: hsl(var(--agro-gold));
}

.hero-text {
    max-width: 768px;
    animation: fade-in-up 1s ease-out;
}

.scroll-text {
    font-size: 12px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.scroll-wheel {
    width: 4px;
    height: 12px;
    background: white;
    border-radius: 2px;
    margin-top: 8px;
    animation: scroll-indicator 2s ease-in-out infinite;
}

.mentores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 48px;
}

.mentor-card {
    background: hsl(var(--card));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid hsl(var(--border));
    transition: var(--transition-smooth);
}

.mentor-card:hover {
    box-shadow: var(--shadow-agro);
}

.mentor-image-wrapper {
    height: 384px;
    overflow: hidden;
}

.mentor-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(180deg, hsl(var(--agro-earth-light)), hsl(var(--background)));
}

.mentor-content {
    padding: 32px;
}

.mentor-nome {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.mentor-cargo {
    margin-bottom: 16px;
}

.mentor-descricao {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.localizacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  max-width: 768px;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-in-up 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 512px;
  animation: fade-in-up 1s ease-out 0.2s both;
}

.tech-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 24px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  animation: fade-in 1s ease-out;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  animation: float 3s ease-in-out infinite;
  text-align: center;
}

.scroll-indicator .scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(5px);
  margin-bottom: 8px;
}

.scroll-indicator .scroll-dot {
  width: 4px;
  height: 12px;
  background: white;
  border-radius: 2px;
  margin-top: 8px;
  animation: scroll-indicator 2s ease-in-out infinite;
}

/* Video Section */
.video-section {
    background: hsl(var(--background));
}

.video-container {
    background: hsl(var(--agro-earth-light));
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    background: hsl(var(--agro-earth));
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.video-player {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.text-center {
    text-align: center;
}

/* Diferenciais Section */
.diferenciais-section {
  background: hsl(var(--agro-earth-light));
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diferencial-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.diferencial-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: hsl(var(--agro-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  margin-top: 4px;
}

.diferencial-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--agro-earth));
  margin-bottom: 8px;
}

.diferencial-content p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.diferencial-image {
  border-radius: 16px;
  box-shadow: var(--shadow-agro);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Depoimentos Section */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.depoimento-card {
  background: hsl(var(--card));
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.depoimento-card:hover {
  box-shadow: var(--shadow-agro);
}

.depoimento-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.depoimento-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsl(var(--agro-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  margin-right: 16px;
}

.depoimento-info h4 {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.depoimento-info p {
  font-size: 14px;
  color: hsl(var(--agro-green));
  font-weight: 600;
}

.depoimento-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.depoimento-stars {
  color: hsl(var(--agro-gold));
  font-size: 1.125rem;
}

/* Para Quem Section */
.para-quem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.publico-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.publico-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid hsl(var(--agro-green));
}

.publico-item h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: hsl(var(--agro-earth));
  margin-bottom: 12px;
}

.publico-item p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.publico-image {
  border-radius: 16px;
  box-shadow: var(--shadow-agro);
  width: 100%;
}

/* Compra Section */
.compra-section {
  background: var(--gradient-agro);
  color: white;
  text-align: center;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.beneficio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.beneficio-check {
  width: 24px;
  height: 24px;
  background: hsl(var(--agro-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beneficio-check::before {
  content: "✓";
  color: hsl(var(--agro-earth));
  font-weight: bold;
  font-size: 12px;
}

.price-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  color: hsl(var(--agro-earth));
  box-shadow: var(--shadow-agro);
  max-width: 500px;
  margin: 0 auto;
}

.price-label {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.price-main {
  font-size: 4rem;
  font-weight: bold;
  color: hsl(var(--agro-green));
  margin-bottom: 8px;
}

.price-sub {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 32px;
}

.price-note {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  margin-top: 16px;
}

/* Mentores Section */
.mentores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 48px;
}

.mentor-card {
  background: hsl(var(--card));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.mentor-card:hover {
  box-shadow: var(--shadow-agro);
}

.mentor-image {
  height: 384px;
  overflow: hidden;
}

.mentor-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(to bottom, hsl(var(--agro-earth-light)), hsl(var(--background)));
}

.mentor-content {
  padding: 32px;
}

.mentor-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
}

.mentor-cargo {
  color: hsl(var(--agro-green));
  font-weight: 600;
  margin-bottom: 16px;
}

.mentor-content p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Patrocinadores Section */
.patrocinadores-section {
  background: hsl(var(--muted) / 0.3);
}

.patrocinadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.patrocinador-card {
  background: hsl(var(--card));
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.patrocinador-card:hover {
  box-shadow: var(--shadow-agro);
}

.patrocinador-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.patrocinador-card:hover img {
  filter: grayscale(0%);
}

/* Localização Section */
.localizacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.localizacao-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.local-card {
  background: hsl(var(--card));
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
}

.local-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
}

.local-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.local-item .emoji {
  color: hsl(var(--agro-green));
  font-weight: 600;
  margin-right: 8px;
}

.local-highlight {
  background: hsl(var(--agro-green));
  border-radius: 16px;
  padding: 24px;
  color: white;
}

.local-highlight h4 {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.local-highlight p {
  font-size: 14px;
  opacity: 0.9;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border));
  height: 384px;
}

.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  background: #25d366;
  color: white;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Animations */
@keyframes floating-particles {
  0% { transform: translateY(0px) translateX(0px); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-10px) translateX(-5px); }
  75% { transform: translateY(-30px) translateX(15px); }
  100% { transform: translateY(0px) translateX(0px); }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(var(--agro-gold) / 0.5); }
  50% { box-shadow: 0 0 40px hsl(var(--agro-gold) / 0.8), 0 0 60px hsl(var(--agro-gold) / 0.3); }
}

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

@keyframes scroll-indicator {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .diferenciais-grid,
  .para-quem-grid,
  .localizacao-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .mentores-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .tech-badge {
    position: static;
    margin-bottom: 32px;
    display: inline-block;
  }
  
  .beneficios-grid {
    grid-template-columns: 1fr;
  }
  
  .price-main {
    font-size: 3rem;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 64px 16px;
  }
}