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

body {
  font-family: Arial, sans-serif;
  background-color: #f9fafb;
  color: #333;
}

/* MENU TOGGLE (Hamburguer) */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 30px;
  height: 4px;
  background: black; /* ícone hambúrguer preto */
  border-radius: 3px;
  transition: 0.3s;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background-color: #111827;
  color: white;
  padding: 2rem 1rem;
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar.active {
  left: 0;
}

.sidebar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.sidebar .menu a {
  display: block;
  padding: 1rem;
  color: white;
  text-decoration: none;
  border-radius: 0.4rem;
  transition: background-color 0.2s;
}

.sidebar .menu a:hover {
  background-color: #1f2937;
}

/* CONTEÚDO PRINCIPAL */
.main-content {
  padding: 2rem;
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

.sidebar.active ~ .main-content {
  margin-left: 240px;
}

.hero {
  background: linear-gradient(to right, #3b82f6, #2563eb);
  color: white;
  padding: 4rem 2rem;
  border-radius: 1rem;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: #2563eb;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.feature-box {
  background-color: #f1f5f9;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.feature-box h3 {
  margin-bottom: 0.5rem;
  color: #2563eb;
}

.stats {
  text-align: center;
  margin-bottom: 3rem;
}

.stats h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.stat-box {
  background-color: #f1f5f9;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.stat-box h3 {
  font-size: 1rem;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat-box p {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer {
  text-align: center;
  padding: 2rem;
  background-color: #111827;
  color: white;
  margin-top: 2rem;
  border-radius: 0.5rem;
}