/* ============================
   ESTILO GERAL
============================ */
body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #0f0f1b;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================
   HEADER
============================ */
.curso-header {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, #741b55, #9f2176, #f7941d);
  color: white;
}

.curso-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.curso-header h1 span {
  color: #f7941d;
}

.curso-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ============================
   PROGRESSO
============================ */
.curso-progresso {
  text-align: center;
  padding: 40px 20px;
  background-color: #1b1b2f;
}

.curso-progresso h2 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #f7941d;
}

.barra-container {
  width: 80%;
  margin: 0 auto 10px;
  background-color: #333;
  border-radius: 20px;
  overflow: hidden;
  height: 20px;
}

.barra {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #9f2176, #f7941d);
  border-radius: 20px;
  transition: width 0.4s ease;
}

#percentual {
  font-size: 1rem;
  color: #aaa;
}

/* ============================
   MÓDULOS E AULAS
============================ */
.curso-modulos {
  background-color: #161628;
  padding: 60px 20px;
  text-align: center;
}

.curso-modulos h2 {
  font-size: 1.6rem;
  color: #f7941d;
  margin-bottom: 25px;
}

#lista-aulas {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}

#lista-aulas li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e1e30;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 14px 18px;
  transition: transform 0.2s ease, background 0.3s ease;
}

#lista-aulas li:hover {
  transform: scale(1.02);
  background: rgba(255,255,255,0.05);
}

#lista-aulas a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#lista-aulas a:hover {
  color: #f7941d;
}

#lista-aulas button {
  background-color: #9f2176;
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

#lista-aulas button:hover {
  background-color: #f7941d;
}

.done a {
  text-decoration: line-through;
  color: #777 !important;
}

.done button {
  background-color: #28a745 !important;
  color: white !important;
  cursor: default;
}

/* ============================
   FINALIZAÇÃO
============================ */
.curso-finalizacao {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #741b55, #9f2176);
}

.curso-finalizacao button {
  background-color: #f7941d;
  border: none;
  color: white;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.curso-finalizacao button:hover {
  transform: scale(1.05);
  background-color: #9f2176;
}

/* ============================
   RESPONSIVO
============================ */
@media (max-width: 768px) {
  .curso-header h1 {
    font-size: 2rem;
  }

  #lista-aulas li {
    flex-direction: column;
    gap: 10px;
  }

  #lista-aulas button {
    width: 100%;
  }

  .curso-finalizacao button {
    width: 90%;
  }
}
