/* Rétablit les dimensions des trois sections validées par capture d'écran. */
.slider,
.slides,
.slide {
  height: clamp(480px, 70vh, 700px);
  min-height: 0;
}

.slide {
  position: absolute;
}

.slide img {
  transform: none;
}

.stats-section {
  padding: 15px 5%;
}

.stats-title {
  margin-bottom: 12px;
  font-size: 1.6rem;
  line-height: normal;
}

.stats-card {
  padding: 8px 12px;
}

.stats-number {
  font-size: 1.8rem;
}

.about-section {
  min-height: 280px;
  padding: 30px 5%;
  background:
    linear-gradient(to right, rgba(20, 20, 20, 0.85), rgba(248, 228, 162, 0.607)),
    url("../../images/content/about-background.jpg") no-repeat left center;
  background-size: cover;
}

.inner-container {
  max-width: 69%;
  min-height: 280px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  text-align: center;
}

.titleab {
  padding-bottom: 8px;
  color: #ffffff;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: normal;
  letter-spacing: 1.2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.inner-container p {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(16px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.membership-container {
  padding: 40px 0;
  background: rgba(248, 228, 162, 0.397);
}

.membership-section {
  max-width: 820px;
  padding: 40px;
  background: #efeff0;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.membership-section:hover {
  transform: scale(1.02);
  box-shadow: none;
}

.membership-title {
  margin-bottom: 12px;
  color: #1e3a8a;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.membership-text {
  margin: 0;
  color: #1e3a8a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .inner-container {
    max-width: 90%;
    min-height: auto;
    padding: 20px;
  }

  .membership-section {
    max-width: 90%;
    padding: 35px;
  }

  .membership-title {
    font-size: 20px;
  }

  .membership-text {
    font-size: 17px;
  }
}

@media (max-width: 650px) {
  .slider,
  .slides,
  .slide {
    height: 52vh;
    min-height: 360px;
  }

  .about-section {
    padding: 20px 5%;
    background-position: center;
  }

  .inner-container {
    width: 100%;
    padding: 15px;
  }

  .membership-container {
    padding: 30px 0;
  }

  .membership-section {
    max-width: 95%;
    padding: 30px;
  }

  .membership-title {
    font-size: 18px;
  }

  .membership-text {
    font-size: 16px;
  }
}
