/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonte e cores base */
body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background-color: #f9fafb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container centralizado */
main, .banner-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Banner */
.banner {
  background: linear-gradient(135deg, #3a6ffb 0%, #1a4ed8 100%);
  color: white;
  padding: 5rem 1rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 60px 60px;
  box-shadow: 0 8px 20px rgba(26, 78, 216, 0.3);
}

.banner .logo img {
  width: 140px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.banner h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;

  /* Texto com gradiente azul */
  background: linear-gradient(90deg, #6ec1ff, #1a73e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  user-select: none;
}

.banner p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.banner button {
  background: #1a73e8;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(26, 115, 232, 0.5);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.banner button:hover {
  background: #155ab6;
  box-shadow: 0 8px 20px rgba(21, 90, 182, 0.7);
  transform: scale(1.05);
}

/* Main */
main {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* Seção O que vou aprender */
#course-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1a73e8;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
}

#course-content p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #444;
  font-weight: 500;
  text-align: center;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.module {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1.15rem;
  color: #333;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  user-select: none;
}

.module:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.3);
}

.module span {
  color: #1a73e8;
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Seção Transforme o mundo */
#transform-world {
  background-color: #1a4ed8;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;

  /* Texto com gradiente azul */
  background: linear-gradient(90deg, #6ec1ff, #1a73e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Seção desafios profissionais */
#professional-challenges {
  margin-top: 4rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#professional-challenges h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1a73e8;
  font-weight: 700;
  letter-spacing: 0.05em;
}

#professional-challenges img {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.2);
  transition: transform 0.3s ease;
  cursor: default;
}

#professional-challenges img:hover {
  transform: scale(1.03);
}

#professional-challenges p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
  font-weight: 500;
  line-height: 1.7;
}

/* Footer */
footer {
  background-color: #f0f4ff;
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 5rem;
  border-top: 1px solid #ddd;
}

footer .dio-logo {
  width: 160px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

footer p {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

footer a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #155ab6;
  text-decoration: underline;
}

/* Responsividade */
@media (min-width: 768px) {
  .modules-list {
    flex-direction: row;
    justify-content: space-between;
  }

  .module {
    flex: 1;
    margin: 0 0.75rem;
  }
}

@media (min-width: 1024px) {
  .banner h1 {
    font-size: 4rem;
  }

  #course-content h2,
  #professional-challenges h2 {
    font-size: 3rem;
  }

  #transform-world {
    font-size: 2.5rem;
  }
}
