/* RESET GERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

/* CORPO DA PÁGINA */
body {
  background-color: #000000;
  color: #ffffff;
}

/* HEADER */
.site-header {
  background-color: #000000;
  /* border-bottom: 1px solid #333; */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  text-align: center;
}

.logo img {
  height: 70px;
}

.headline {
  margin-top: 15px;
}

.headline h1 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #f1c40f;
}

/* BANNER */
.header-banner {
  width: 100%;
  overflow: hidden;
}

.header-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* GRID DE CURSOS */
.grid-cursos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Exibe 4 por linha no desktop */
  gap: 20px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background-color: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #f1c40f;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.card .preco {
  font-weight: bold;
  font-size: 1.2rem;
  color: #f1c40f;
  display: block;
  margin-bottom: 12px;
}

.card a {
  margin-top: auto;
  display: inline-block;
  padding: 10px 15px;
  background-color: #e67e22;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.card a:hover {
  background-color: #d35400;
}

/* FOOTER */
.site-footer {
  background-color: #141414;
  color: #888;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .grid-cursos {
    grid-template-columns: repeat(2, 1fr); /* 2 por linha no tablet */
  }
}

@media (max-width: 600px) {
  .grid-cursos {
    grid-template-columns: 1fr; /* 1 por linha no celular */
  }

  .headline h1 {
    font-size: 1.3rem;
  }

  .card img {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }

  main.grid-cursos {
    padding: 0 20px;
  }
}



.whatsapp-footer {
  margin-top: 30px;
  text-align: center;
}
.whatsapp-footer {
  margin-top: 30px;
  text-align: center;
}

.whatsapp-button {
  display: inline-flex;              /* Para alinhar texto e imagem */
  align-items: center;              /* Centraliza verticalmente */
  background-color: #25D366;
  color: #000000;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;                /* Aumenta o texto */
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;                  /* 👈 Faz o cursor aparecer no desktop */
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}
