/* === 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;
}

/* === ARTICLES === */
.recent-articles {
  padding: 4rem 0;
  background: #fff;
}

.articles-grid {
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 30px;
}

.article-card {
  min-width: 300px;
  max-width: 300px;
}

.article-title,
.article-subtitle-1,
.article-subtitle-2,
.article-subtitle-3,
.article-subtitle-4,
.article-subtitle-5 {
  color: #1f2937;
}

.article-card .article-title,
.article-card .article-subtitle-1,
.article-card .article-subtitle-2,
.article-card .article-subtitle-3,
.article-card .article-subtitle-4,
.article-card .article-subtitle-5 {
  color: #1f2937;
  font-size: 1.45rem;
}

.article-card .article-subtitle-2 {
  font-size: 1.38rem;
}
.article-card .article-subtitle-3 {
  font-size: 1.31rem;
}
.article-card .article-subtitle-4 {
  font-size: 1.24rem;
}
.article-card .article-subtitle-5 {
  font-size: 1.17rem;
}

.article-img {
  position: relative;
  max-width: 100%;
  min-height: 12.5rem;
  max-height: 25vh;
  overflow: hidden;
}

.article-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-card .article-img {
  max-height: 12.5rem;
}
.article-card .article-img img {
  height: 12.5rem;
}

.article-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.article-content .article-paragraphe {
  text-align: justify;
}

.article-content.truncate::after {
  content: "...";
  display: inline;
  margin-left: 0.5rem;
}

.read-more {
  color: #e63946;
  font-weight: bold;
}

/* === ABOUT === */
.about {
  background: #f3f4f6;
  padding: 3rem 0;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
}

/* === DOMAINES === */
.domains {
  padding: 3rem 0;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: center;
}

.domain-item {
  background: #e5e7eb;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.domain-item:hover {
  background: #d1d5db;
}

/* === TEMOIGNAGES === */
.testimonials {
  background: #ffffff;
  padding: 3rem 0;
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial {
  background: #f9fafb;
  padding: 1rem 1.5rem;
  border-left: 4px solid #e63946;
  font-style: italic;
}

.testimonial span {
  display: block;
  margin-top: 0.5rem;
  color: #374151;
}

.testimonial .author {
  text-transform: uppercase;
  font-weight: bold;
}

.testimonial .date {
  margin-top: 0.25rem;
  font-size: 0.9em;
}

.testimonial .date {
  color: #6b7280;
}

.testimonial .message {
  text-align: justify;
}

/* === 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;
  }
}
