/* === VARIÁVEIS CSS CUSTOMIZADAS === */
:root {
  --color-primary: #00bf63;
  --color-primary-dark: #00a355;
  --color-primary-darker: #008a47;
  --color-accent: #00bf63;
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === CLASSES DE COMPONENTES REUTILIZÁVEIS === */

/* Botões */
.btn-primary {
  display: inline-block;
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-all);
  transform-origin: center;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary-darker));
  transform: scale(1.05);
}

.btn-secondary {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: var(--transition-all);
  transform-origin: center;
  box-shadow: var(--shadow-xl);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

/* Seções */
.section-padding {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Cards */
.benefit-card {
  background: rgba(31, 41, 55, 0.5);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(107, 114, 128, 0.5);
  transition: var(--transition-all);
  text-align: center;
}

.benefit-card:hover {
  border-color: rgba(0, 191, 99, 0.5);
}

.testimonial-card {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  position: relative;
}

.faq-item {
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb;
}

/* Elementos de destaque */
.text-accent {
  color: var(--color-accent);
}

.icon-container {
  width: 3rem;
  height: 3rem;
  background: rgba(0, 191, 99, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Responsividade aprimorada */
@media (min-width: 640px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .benefit-card {
    padding: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .icon-container {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .section-header {
    margin-bottom: 4rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Melhorias de performance */
.lazy-load {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-all);
}

.lazy-load.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus states melhorados */
.btn-primary:focus,
.btn-secondary:focus,
button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Otimizações adicionais */
.video-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Grid de estatísticas */
.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }
}