/* BOTÃO FLUTUANTE DO TEMA */
#theme-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: #555; /* Cinza padrão para modo claro */
  color: #fff; /* Ícone branco */
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 9999;
}

#theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* ÍCONE do botão */
#theme-icon {
  transition: transform 0.4s ease, color 0.3s ease;
}

/* MODO ESCURO */
body.dark-mode #theme-toggle {
  background-color: #2b2b2b; /* Cinza escuro fosco */
  color: #ffa726; /* Sol laranja */
  box-shadow: 0 4px 10px rgba(255, 167, 38, 0.3);
}

body.dark-mode #theme-toggle:hover {
  background-color: #3a3a3a;
  box-shadow: 0 6px 15px rgba(255, 167, 38, 0.4);
  transform: scale(1.1);
}

/* Animação de brilho suave (opcional, fica bonito) */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 8px rgba(255, 167, 38, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 167, 38, 0.5);
  }
  100% {
    box-shadow: 0 0 8px rgba(255, 167, 38, 0.2);
  }
}

body.dark-mode #theme-toggle.active-glow {
  animation: pulse-glow 1.5s infinite;
}
/* Transição suave entre páginas */
.fade-in {
  animation: fadeIn 0.3s ease forwards;
}
.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

