/* Melhorias profissionais incrementais para GualdiTech */

/* 1. Correção de scroll suave */
html {
  scroll-behavior: smooth;
}

/* 2. Navbar melhorada */
nav {
  background: rgba(7, 10, 18, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* 3. Método section - arrumar z-index */
section[data-section] {
  position: relative;
  z-index: 1;
}

/* 4. Animações suaves para cards */
h3 {
  transition: all 0.3s ease;
}

h3:hover {
  color: #4F46E5;
  transform: translateY(-2px);
}

/* 5. Formulário melhorado */
input:focus, textarea:focus {
  outline: none;
  border-color: #4F46E5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* 6. Botões melhorados */
button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

button:hover::before {
  left: 100%;
}

/* 7. WhatsApp funcional */
.whatsapp-link {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 1000 !important;
  background: #25d366 !important;
  color: white !important;
  padding: 15px !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.3s ease !important;
}

.whatsapp-link:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4) !important;
}

/* 8. Seção metodologia - melhorar visual */
section:nth-child(7) {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0 !important;
}

/* 9. Títulos melhorados */
h2 {
  position: relative;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #070A12, #4F46E5);
  border-radius: 2px;
}

/* 10. Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section > * {
  animation: fadeInUp 0.6s ease forwards;
}

/* 11. Mobile responsive */
@media (max-width: 768px) {
  nav {
    padding: 10px;
  }
  
  section {
    padding: 40px 20px;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .whatsapp-link {
    bottom: 10px;
    right: 10px;
    padding: 10px;
  }
}

/* 12. Performance */
img {
  max-width: 100%;
  height: auto;
}

/* 13. Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}