* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  color: #1f2937;
  line-height: 1.6;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.navbar {
  max-width: 1100px;
  margin: 20px auto 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: #1f2937;
  font-weight: bold;
  transition: 0.3s;
}

.navbar a:hover {
  color: #2563eb;
}

.hero {
  text-align: center;
  padding: 70px 0 40px;
}

.tag {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 12px;
  color: #111827;
}

.subtitle,
.descricao {
  max-width: 750px;
  margin: 0 auto;
  font-size: 18px;
  color: #4b5563;
}

.top-buttons,
.hero-botoes {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-buttons a,
.botao,
.btn {
  display: inline-block;
  text-decoration: none;
  background: #2563eb;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
  border: none;
}

.top-buttons a:hover,
.botao:hover,
.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 20px 0 60px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
  color: #111827;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  min-height: 220px;
}

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

.card h3 {
  margin-bottom: 12px;
  color: #111827;
  font-size: 22px;
}

.card p {
  color: #4b5563;
  margin-bottom: 20px;
}

.sobre {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.sobre h2 {
  font-size: 32px;
  margin-bottom: 14px;
  color: #111827;
}

.sobre p {
  color: #4b5563;
  font-size: 18px;
}

code {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.95em;
}

.rodape {
  text-align: center;
  color: #6b7280;
  padding: 30px 0 40px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .subtitle,
  .descricao,
  .sobre p {
    font-size: 16px;
  }

  .sobre {
    padding: 24px 20px;
  }
}