/* Arquivo de animações adicionais para o site da Nomad Consultoria */

/* Animação de fade-in para elementos ao entrar na viewport */
.animate {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0) !important;
}

/* Animações específicas */
.animate.fade-in {
  transform: translateY(20px);
}

.animate.slide-left {
  transform: translateX(-50px);
}

.animate.slide-right {
  transform: translateX(50px);
}

.animate.zoom-in {
  transform: scale(0.9);
}

.animate.rotate {
  transform: rotate(-5deg);
}

/* Animações para elementos específicos */
.service-card {
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--primary-color);
}

.service-icon {
  transition: all 0.3s ease;
}

.client-logo {
  transition: all 0.4s ease;
}

.client-logo:hover {
  transform: scale(1.05);
  background-color: rgba(255, 184, 0, 0.1);
}

.btn {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::after {
  left: 100%;
}

/* Animação de digitação para a seção hero */
.typewriter-container {
  display: inline-block;
  position: relative;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--primary-color);
  margin-left: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Animação para o menu de navegação */
.nav-links a {
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::before {
  width: 100%;
}

/* Animação para cards de depoimentos */
.testimonial-card {
  transition: all 0.5s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Animação para ícones de valores */
.value-icon {
  transition: all 0.4s ease;
}

.value-item:hover .value-icon {
  transform: scale(1.2);
  color: var(--primary-color);
}

/* Animação para o formulário de contato */
.form-control {
  transition: all 0.3s ease;
}

.form-control:focus {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 184, 0, 0.1);
}

/* Animação para botões de redes sociais */
.social-link {
  transition: all 0.4s ease;
}

.social-link:hover {
  transform: translateY(-5px) rotate(10deg);
}

/* Animações responsivas */
@media screen and (max-width: 768px) {
  .animate {
    transition-delay: 0s !important;
  }
}
