/* === CONTAINERS === */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* === HERO === */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("../images/meeting-01.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
}

/* === REVUES === */
.recent-revues {
  padding: 4rem 0;
  background: #fff;
}

.revues-grid {
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 30px;
}

.revue-card {
  min-width: 300px;
  max-width: 300px;
}

.revue-title {
  color: #1f2937;
}

.revue-card .revue-title {
  font-size: 1.45rem;
}

.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-img > * {
  max-width: 100%;
  height: auto;
}

.revue-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.revue-content .revue-paragraphe {
  text-align: justify;
}

.revue-content.truncate::after {
  content: "...";
  display: inline;
  margin-left: 0.5rem;
}

.upload {
  color: #e63946;
  font-weight: bold;
}

/* === NEWSLETTER === */
.newsletter {
  background: #f3f4f6;
  padding: 3rem 1rem;
  text-align: center;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  width: 300px;
  max-width: 100%;
}

/* === CONTACT === */
.contact {
  padding: 3rem 1rem;
  background: #ffffff;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}
