@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}
.night-mode {
  background-color: #1a1a2e !important;
  color: #f8f9fa !important;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.profile-pic:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

@media (max-width: 640px) {
  header nav {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding: 0.5rem 1rem; 
  }

  /* LOGO –  */
  header nav > a {
    margin: 0;
    padding: 0; 
    line-height: 1; /* garante altura enxuta */
  }

  /* ÍCONES */
  .header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  

  #mode-toggle,
  #menu-toggle {
    font-size: 1.8rem;
    margin-top: 0; /* <<< zera o top que estava 0.5rem */
    margin-bottom: 0;
  }

  header nav > .md\\:flex {
    position: static;
    transform: none;
  }

  .mobile-nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  #mobile-menu a {
    display: block;
    margin-bottom: 0.75rem;
    text-align: center;
  }
}
