/* Estilos adicionais para responsividade e animações */

/* Estilos para o menu mobile */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Animações para elementos */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
}

/* Melhorias para o formulário */
.form-submit {
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.form-submit:active::after {
  width: 300px;
  height: 300px;
}

/* Feedback visual para campos de formulário */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
  outline: none;
}

.form-group input.valid,
.form-group textarea.valid {
  border-color: var(--accent-color-1);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ff3b30;
}

/* Melhorias de responsividade */
@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  
  .mobile-menu-button {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  
  nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }
  
  nav ul li {
    margin: 10px 0;
    text-align: center;
  }
  
  .cta-button {
    display: block;
    text-align: center;
    margin-top: 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links, .footer-contact {
    margin-top: 30px;
  }
  
  .contact-info {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-stat {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
  
  section {
    padding: 50px 0;
  }
  
  .benefit-card, .feature {
    padding: 20px;
  }
  
  .contact-form {
    padding: 20px;
  }
}
