/* =========================
   BASE
========================= */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f6f6f6;
  color: #111;
}

a {
  text-decoration: none;
}

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

/* =========================
   HEADER
========================= */
.header {
  background: #111;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #ff7a00;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.menu li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s;
}

.menu li a:hover {
  color: #ff7a00;
}

.btn-menu {
  background: #ff7a00;
  padding: 8px 18px;
  border-radius: 6px;
}

.btn-menu:hover {
  background: #e66f00;
}

/* =========================
   HERO
========================= */
.hero {
  background: url('../assets/images/impacto-comunidade.jpg') center/cover no-repeat;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
}

.hero-overlay {
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn-primary {
  background: #ff7a00;
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #e66f00;
  transform: translateY(-2px);
}

/* =========================
   CARDS
========================= */
.cards-section {
  padding: 70px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.card-highlight {
  border: 2px solid #ff7a00;
  background: #fffbe6;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

.footer-content p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    flex-direction: column;
    display: none;
    gap: 0.8rem;
  }

  .menu.active {
    display: flex;
  }
}
