/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #FAF9F6;
  color: #333333;
  line-height: 1.6;
}

/* Header e Navegação (consistente com o index) */
header {
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: #5C7AEA;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: #FF87AB;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #5C7AEA;
  cursor: pointer;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Seção Blog Header */
.blog-header {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(92, 122, 234, 0.1), rgba(255, 135, 171, 0.1));
}

.blog-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #5C7AEA;
  margin-bottom: 1.5rem;
}

.blog-header p {
  font-size: 1.4rem;
  color: #333333;
  max-width: 800px;
  margin: 0 auto;
}

/* Seção Blog Articles com Cards Animados */
.blog-articles {
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
.blog-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.blog-card h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #5C7AEA;
  margin: 1rem 1.5rem 0.5rem;
}

.blog-card p {
  font-size: 1.1rem;
  color: #333333;
  margin: 0 1.5rem 1.5rem;
}

.blog-card .btn {
  display: inline-block;
  background-color: #FF87AB;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  margin: 0 1.5rem 1.5rem;
  transition: all 0.3s ease;
}

.blog-card .btn:hover {
  background-color: #FFD700;
  color: #333333;
  transform: scale(1.05);
}

/* Footer (consistente com o index) */
footer {
  background-color: #333333;
  color: #FAF9F6;
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .blog-header {
    padding: 3rem 1rem;
  }

  .blog-header h1 {
    font-size: 2.2rem;
  }

  .blog-header p {
    font-size: 1.2rem;
  }

  .blog-articles {
    padding: 3rem 1rem;
    grid-template-columns: 1fr;
  }

  .blog-card img {
    height: 180px;
  }
}

 


