* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: radial-gradient(circle at top left, #1e3c72, #2a5298, #000);
  color: #fff;
  line-height: 1.6;
  background-attachment: fixed;
  background-size: cover;
}

/* Cabeçalho */
header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 30px;
  position: relative;
}

.menu-toggle {
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
}

nav ul {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.8);
  position: absolute;
  top: 60px;
  right: 20px;
  padding: 15px;
  border-radius: 10px;
  list-style: none;
}

nav ul.active {
  display: flex;
}

nav ul li {
  margin: 10px 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #ffeb3b;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px;
}

/* Home layout */
.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-text {
  flex: 1;
}

.logo-card img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* Botão abaixo do texto */
.cta {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-3px);
}

/* Blocos */
.bloco {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bloco h2, 
.bloco p {
  color: #fff;
}

/* Banner */
.banner img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Grid dos módulos */
.modulos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Cartões dos módulos */
.modulo {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.modulo:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.modulo h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

/* Excel (verde) */
#curso-excel .modulo {
  border-left: 6px solid #21a366;
  background: rgba(33, 163, 102, 0.15);
}
#curso-excel .modulo h3 { color: #8BE0B5; }
.btn-excel { background:#21a366; color:#fff; }
.btn-excel:hover { background:#1b8a59; }

/* Power BI (amarelo) */
#curso-powerbi .modulo {
  border-left: 6px solid #F2C811;
  background: rgba(242, 200, 17, 0.15);
}
#curso-powerbi .modulo h3 { color: #F7E27A; }
.btn-powerbi { background:#F2C811; color:#1b1f23; }
.btn-powerbi:hover { background:#d9b30f; color:#111; }

/* Formulário */
form {
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 10px;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

form button {
  background: #F2C811;
  border: none;
  padding: 15px;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

form button:hover {
  background: #d9b30f;
  transform: translateY(-2px);
}

/* Botão WhatsApp */
#contato .btn {
  background: #F2C811;
  color: #1b1f23;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.2s;
}

#contato .btn:hover {
  background: #d9b30f;
  color: #111;
  transform: translateY(-3px);
}

/* Rodapé */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  margin-top: 40px;
}

/* Responsividade */
@media (max-width: 768px) {
  .home-content {
    flex-direction: column;
    text-align: center;
  }

  .logo-card {
    margin-top: 20px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .cta {
    justify-content: center;
  }
}
