/* ======== ESTILO GLOBAL ======== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ======== NAVBAR ======== */
header {
  background: #741b55;
  color: white;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #f7941d;
}

/* ======== HERO ======== */
.curso-hero {
  background: linear-gradient(135deg, #741b55, #9f2176);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.curso-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.curso-hero .icon {
  font-size: 4rem;
  margin-bottom: 15px;
  color: #f7941d;
}

.curso-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.curso-hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: #f7941d;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: white;
  color: #741b55;
}

/* ======== SEÇÃO SOBRE ======== */
.curso-sobre {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.curso-sobre .container {
  max-width: 800px;
  margin: 0 auto;
}

.curso-sobre h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #741b55;
}

/* ======== CONTEÚDO PROGRAMÁTICO ======== */
.curso-conteudo {
  padding: 60px 20px;
  background: #f3f3f3;
}

.curso-conteudo .container {
  max-width: 900px;
  margin: 0 auto;
}

.curso-conteudo h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #741b55;
  text-align: center;
}

.conteudo-lista {
  list-style: none;
  padding: 0;
}

.conteudo-lista li {
  background: #fff;
  margin: 10px 0;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.conteudo-lista i {
  color: #28a745;
}

/* ======== CTA ======== */
.curso-cta {
  background: linear-gradient(135deg, #741b55, #9f2176);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.curso-cta .container {
  max-width: 700px;
  margin: 0 auto;
}

.curso-cta h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.curso-cta .btn {
  background: #f7941d;
  color: white;
}

.curso-cta .btn:hover {
  background: white;
  color: #741b55;
}

/* ======== FOOTER ======== */
footer {
  background: #222;
  color: #bbb;
  padding: 20px;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.socials a {
  margin: 0 10px;
  color: #bbb;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #f7941d;
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .curso-hero h1 {
    font-size: 2rem;
  }
  .curso-hero p {
    font-size: 1rem;
  }
}

    /* SPINNER */
/* ============================== */
/* SPINNER CODEX - ESTILO GLOBAL */
/* ============================== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #9f2176;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body.loaded #loader {
  opacity: 0;
  visibility: hidden;
}