/* Estilos para o sistema de notificações */
.notifications-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
}

.notification {
  background: #fff;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s ease;
  border-left: 5px solid #3a14f5;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.notification.success {
  border-color: #20bf6b;
}

.notification.success .notification-icon {
  background: #20bf6b;
  color: #fff;
}

.notification.error {
  border-color: #eb3b5a;
}

.notification.error .notification-icon {
  background: #eb3b5a;
  color: #fff;
}

.notification.warning {
  border-color: #f7b731;
}

.notification.warning .notification-icon {
  background: #f7b731;
  color: #fff;
}

.notification.info {
  border-color: #1e8973;
}

.notification.info .notification-icon {
  background: #1e8973;
  color: #fff;
}

.notification-text {
  font-size: 14px;
  color: #333;
}

/* Botão de voltar ao topo */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #156e59, #1e8973);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #1e8973, #27a48c);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Animações para elementos */
.feature-card,
.benefit-card,
.course-card,
.certificate-benefits li {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate,
.benefit-card.animate,
.course-card.animate,
.certificate-benefits li.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Delay para animações em sequência */
.feature-card:nth-child(1),
.benefit-card:nth-child(1),
.course-card:nth-child(1),
.certificate-benefits li:nth-child(1) {
  transition-delay: 0.1s;
}

.feature-card:nth-child(2),
.benefit-card:nth-child(2),
.course-card:nth-child(2),
.certificate-benefits li:nth-child(2) {
  transition-delay: 0.2s;
}

.feature-card:nth-child(3),
.benefit-card:nth-child(3),
.course-card:nth-child(3),
.certificate-benefits li:nth-child(3) {
  transition-delay: 0.3s;
}

.feature-card:nth-child(4),
.benefit-card:nth-child(4),
.course-card:nth-child(4),
.certificate-benefits li:nth-child(4) {
  transition-delay: 0.4s;
}

.feature-card:nth-child(5),
.benefit-card:nth-child(5),
.course-card:nth-child(5),
.certificate-benefits li:nth-child(5) {
  transition-delay: 0.5s;
}
