/* ===============================
   PAGE À PROPOS - SLOWRIENTATION
   =============================== */

.section1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Contrainte de largeur pour le texte */
.section1 p {
  max-width: 800px;   /* largeur idéale pour lecture */
  margin: 0 auto 2rem; /* centré + espacement bas */
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.section1 h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #4a2c82; /* Violet comme sur l'accueil */
  margin-bottom: 3rem;
}

.section1 .intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
}

.ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.ligne.inverse {
  flex-direction: row-reverse;
}

.image-alternee {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.image-alternee img {
  max-width: 100%;
  height: 300px;
  border-radius: 1.5rem;
  box-shadow: 0 0 30px 12px rgba(74, 44, 130, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-alternee img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px 18px rgba(74, 44, 130, 0.35);
}

.bloc-texte {
  flex: 1 1 55%;
  background: #d2faeb7c;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 0px 20px black;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 700px;    /* 👈 limite largeur bloc */
  margin: 0 auto;      /* 👈 centré */
}

.bloc-texte:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px black;
}

.bloc-texte h2 {
  font-size: 1.8rem;
  color: #4a2c82;
  margin-bottom: 1rem;
}

.bloc-texte p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

/* Liste à puces */
.bloc-texte ul {
  margin: 1rem 0 0 1.2rem;
  padding: 0;
}

.bloc-texte ul li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  color: #444;
  position: relative;
}

.bloc-texte ul li::before {
  content: "✔";
  color: #4a2c82;
  margin-right: 0.6rem;
}

/* Responsive */
@media (max-width: 900px) {
  .ligne,
  .ligne.inverse {
    flex-direction: column;
  }

  .image-alternee,
  .bloc-texte {
    flex: 1 1 100%;
    max-width: 100%; /* 👈 sur mobile on autorise plein écran */
  }
}
