/* Conteneur global de la page CGV */
.cgv {
  max-width: 90%;
  margin: 80px auto 120px;  /* haut | auto (centré) | bas */
  padding: 0 16px;
  text-align: justify;
}

/* Titre principal */
.cgv h1 {
  margin-bottom: 32px;
  font-size: 2.6rem;
  line-height: 1.3;
  color: #0e4d82 !important;
  font-weight: bold;
}

/* Titres d’articles (1., 2., 3., ...) */
.cgv h2 {
  margin-top: 32px;    /* espace avant chaque article */
  margin-bottom: 16px; /* espace sous le titre */
  line-height: 1.4;
  color: #0e4d82 !important;
}

/* Paragraphes standards */
.cgv p {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Sous-articles 5.1, 5.2, etc. */
.cgv p.sub-article {
  margin-left: 3rem;   /* léger retrait */
  margin-bottom: 6px;
}

/* Sous-sous articles 5.1.1, 5.2.1, etc. */
.cgv p.sub-article2 {
  margin-left: 6rem;    /* espace avant le premier sous-article */
  margin-bottom: 6px;
}

/* Sous-sous-sous articles 5.1.1.1, 5.2.1.1, etc. */
.cgv p.sub-article3 {
  margin-left: 9rem;    /* espace avant le premier sous-article */
  margin-bottom: 6px;
}

/* Sous-sous-sous-sous articles, uniquement présents dans la liste de 19.5.5 */
.cgv p.sub-article4 {
  margin-left: 12rem;    /* espace avant le premier sous-article */
  margin-bottom: 6px;
}

/* Évite un trou entre un h2 et le premier paragraphe juste après */
.cgv h2 + p {
  margin-top: 0;
}

/* Pas de gros blanc final à la fin du bloc */
.cgv p:last-child {
  margin-bottom: 0;
}

/* Petit ajustement mobile */
@media (max-width: 768px) {
  .cgv {
    margin: 40px 12px 80px;
    padding: 0;
  }
}
