/* Général */
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #ccc;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ccc;
  z-index: 1000;
}
.logo {
  max-height: 50px;
  width: auto;
}
.menu-btn {
  padding: 10px 20px;
  background-color: black;
  text-decoration: none;
  font-weight: bold;
  color: #ccc;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  margin-top: 70px;
  background-image: url("batiment.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-title {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 48px;
  text-align: center;
}

/* Sticky Menu */
.chapters {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.chapters-menu {
  position: sticky;
  top: 60px;
  width: 200px;
  padding: 20px;
}
.chapters-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapters-menu a {
  color: #8e8c8c;
  text-decoration: none;
  font-weight: bold;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  transition: none;
}
.chapters-menu a.active {
  color: #333;
  text-decoration: none;
}
.chapter {
  min-height: 100vh;
}

/* CHAPTERS */
.chapters-content {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}
.chapter {
  min-height: 100vh;
}
.rectangle {
  width: 750px;
  height: 500px;
  background: #6f6f6f;
  border-radius: 8px;
}
/* Architecture */
#architecture {
  display: flex;
  gap: 20px;
}
.chapter-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
#rectangle-1 {
  width: 300px;
  margin-top: 20px;
  align-self: flex-start;
}
/* Médiation */
.mediation-rectangles {
  display: flex;
  gap: 20px; /* espace horizontal entre les deux rectangles */
  margin-top: 20px;
  flex-wrap: nowrap; /* empêche les rectangles de passer sur une nouvelle ligne */
}
.mediation-rectangle {
  flex: 1; /* chaque rectangle prend la moitié de l’espace disponible */
  min-width: 200px; /* largeur minimale pour éviter qu’ils deviennent trop petits */
  background: #6f6f6f;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centre le petit rectangle et le texte horizontalement */
  gap: 30px; /* espace vertical entre petit rectangle et texte */
  border-radius: 8px;
}
.mediation-rectangle-small {
  width: 500px;
  height: 300px;
  background: #999;
  border-radius: 8px;
}
.mediation-rectangle p {
  text-align: center;
  margin: 0;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  background-color: #ccc;
  color: white;
  gap: 20px;
}
.footer-socials,
.footer-newsletter {
  flex: 1;
  min-width: 300px;
  background-color: #6f6f6f;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 8px;
}
.footer-socials h3,
.footer-newsletter h3 {
  margin-bottom: 20px;
}
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.social-icons img {
  width: 32px;
  height: 32;
}
