.page-conditions {
  background-image: url("/images/BodyAccueil.png");
  background-color: #000;
  background-size: auto 100vh;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 0;
  overflow-x: hidden;
}

.legal-page {
  width: min(950px, calc(100% - 32px));
  margin: 32px auto 80px;
  padding: 28px;
  line-height: 1.65;
  font-size: 1.08rem;

  background-color: rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(255, 255, 255, 0.45);
}

.legal-page h1 {
  text-align: center;
  margin-top: 0;
}

.legal-page h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin-top: 30px;
}

.legal-page p {
  text-align: justify;
}

.legal-page ul {
  padding-left: 28px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #6c2500;
  font-weight: bold;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

#classif {
  scroll-margin-top: 250px;
}

@media (max-width: 640px) {
  .legal-page {
    width: min(100% - 20px, 950px);
    padding: 18px;
    font-size: 1rem;
  }

  .legal-page h2 {
    flex-direction: column;
  }
}
