/* Section globale */
.contente-section {
  padding: 2rem 1rem;
  background-color: #f5f5f5;
}

/* Carte principale */
.faculted-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Contenu haut : texte + image */
.faculted-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

/* Colonne texte */
.lefts-column {
  flex: 2;
  min-width: 280px;
}

.lefts-column h1 {
  font-size: 2rem;
  color: #b30000;
  margin-bottom: 1rem;
}

.lefts-column .intro-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* Colonne image */
.image-sections {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-sections img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  border-radius: 12px;
}

.image-sections:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Texte principal */
.full-text h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.full-text h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #333;
}

.full-text p,
.full-text li {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

.full-text ul {
  padding-left: 1.5rem;
}

.full-text li {
  list-style: disc;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .faculted-content {
    flex-direction: column;
  }

  .image-sections {
    max-width: 100%;
    order: -1; /* L'image passe au-dessus du texte */
  }

  .lefts-column h1 {
    font-size: 1.6rem;
  }

  .full-text h2 {
    font-size: 1.3rem;
  }

  .full-text h3 {
    font-size: 1.1rem;
  }
}
/* Toutes les sections sont masquées par défaut */
.content-section {
  display: none;
}

/* Sauf celle qui a la classe active */
.content-section.active {
  display: block;
}
