:root{
  --img-altura: 160px;
  --hover-escala: 1.04;
  --tempo-trans: 0.35s;
  --cor-borda-hover: #6f42c1;
}

body {
  background: #121212;
  color: #fff;
  font-family: Arial, sans-serif;
}

h1 {
    color: #6f42c1
}

h2 {
    color: #a584e2
}

img {
  max-width: 100%;
  display: block;
}

.topo {
  background: #1c1c1c;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.logo-img {
  width: 48px;
}

.nav-principal ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
}

.nav-principal a {
  text-decoration: none;
  color: #eee;
  padding: 6px 12px;
  border-radius: 6px;
}

.nav-principal a:hover {
  background: rgba(248, 247, 247, 0.08);
}

.btn-menu {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
}

@media (max-width: 900px) {
  .nav-principal {
    display: none;
    position: absolute;
    top: 70px;
    right: 10px;
    background: #1c1c1c;
    padding: 16px;
    border-radius: 10px;
  }

  .nav-principal.open {
    display: block;
  }

  .nav-principal ul {
    flex-direction: column;
  }

  .btn-menu {
    display: block;
  }
}

.hero {
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 40px;
}

.hero-img {
  width: 100%;          
  height: auto;         
  border-radius: 12px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.card.curso {
  background: #1f1f1f;
  color: white;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--tempo-trans), border-color var(--tempo-trans), box-shadow var(--tempo-trans);
}

.card.curso h3 {
    color: #6f42c1;
    text-align: center;
}

.card.curso .thumb {
  overflow: hidden;
  height: var(--img-altura);
}

.card.curso .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform var(--tempo-trans);
}

.card.curso:hover .thumb-img {
  transform: scale(1.1);
}

.card.curso:hover {
  transform: scale(var(--hover-escala));
  border-color: var(--cor-borda-hover);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.card-body {
  padding: 18px;
}

.card-actions {
  margin-top: 12px;
}

.detalhe-card {
  margin-bottom: 24px;
}

.contato-info button{
    align-items: center;
    background-color:#a584e2;
    border-radius: 5px;
}

.contato-info p {
  display: flex;
  text-align: left;
  gap: 8px;
}

.contato-info p img {
  flex-shrink: 0;
}

.contato-info img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
}

.contato-info h3 {
    color: #6f42c1
}

@media (max-width: 900px) {
  .cards-grid .col-sm-6,
  .cards-grid .col-md-4 {
    width: 100%;
  }
}

.form-contato {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.caixa-form {
  margin-bottom: 14px;
}

.btn-primario {
  background: #6f42c1;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  text-decoration: none;
  display: inline-block;
}

.btn-primario:hover {
  background: #8a5afc;
}

.btn-secundario {
  border: 2px solid #6f42c1;
  padding: 10px 18px;
  color: #6f42c1;
  border-radius: 8px;
  text-decoration: none;
}

.btn-secundario:hover {
  background: #6f42c1;
  color: #fff;
}

.btn-pequeno {
  padding: 6px 12px;
  font-size: 14px;
}

.rodape {
  padding: 20px 0;
  text-align: center;
  background: #1c1c1c;
  margin-top: 40px;
}
