/* Contenu légal */
.legal-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Titre principal */
.title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  margin-top: 0px !important;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

/* Titres des sections */
.name-article {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
  line-height: 1.3;
  text-decoration: underline;
}

.name-article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

/* Texte de contenu */
.text-conf {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: justify;
}

/* Listes */
.text-conf ul {
  padding-left: 0;
  margin: 20px 0;
}

.text-conf li {
  background: var(--background-color);
  margin-bottom: 12px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  list-style: none;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.text-conf li:hover {
  background: rgba(255, 140, 0, 0.05);
  transform: translateX(5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-conf li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 10px;
}

/* Liens */
.text-conf a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.text-conf a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.text-conf a:hover::after {
  width: 100%;
}

.text-conf a:hover {
  color: var(--secondary-color);
}

/* Sections */
section {
  margin-bottom: 35px;
  padding: 0 0 30px 0;
  border-bottom: 2px solid rgba(255, 140, 0, 0.1);
}

section:last-of-type {
  border-bottom: none;
}

/* Texte de mise à jour */
.legal-content > p:last-child {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--background-color);
  font-size: 1.1rem;
  margin-bottom: 0px !important;
}

/* Texte en gras */
strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-content {
    padding: 25px 20px;
    margin: 0 10px 40px 10px;
  }

  .title {
    font-size: 2rem;
  }

  .name-article {
    font-size: 1.2rem;
    padding-left: 15px;
  }

  .text-conf {
    font-size: 1rem;
    text-align: left;
  }

  .text-conf li {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .container-rgpd {
    padding: 0;
  }

  .legal-content {
    padding: 20px 15px;
    margin: 0 5px 30px 5px;
  }

  .title {
    font-size: 1.8rem;
  }

  .name-article {
    font-size: 1.1rem;
  }

  .text-conf li:hover {
    transform: none;
  }
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-content {
  animation: fadeInUp 0.6s ease-out;
}

section {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

section:nth-child(1) {
  animation-delay: 0.1s;
  animation: none;
}
section:nth-child(2) {
  animation-delay: 0.2s;
}
section:nth-child(3) {
  animation-delay: 0.3s;
}
section:nth-child(4) {
  animation-delay: 0.4s;
}
section:nth-child(5) {
  animation-delay: 0.5s;
}
section:nth-child(6) {
  animation-delay: 0.6s;
}
section:nth-child(7) {
  animation-delay: 0.7s;
}
section:nth-child(8) {
  animation-delay: 0.8s;
}
section:nth-child(9) {
  animation-delay: 0.9s;
}
