/* Styles spécifiques pour la page Mentions Légales */

body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.8;
  color: #2c3e50;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
}

/* Header avec fond opaque */
#header {
  background-color: #122f47 !important;
  padding: 15px 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Bouton CTA en couleur dorée avec texte bleu foncé */
#header .cta-button {
  color: #122f47 !important;
}

/* Liens du menu dropdown */
.dropdown-link-dark {
  color: #122f47 !important;
  font-weight: 600;
}

.dropdown-link-dark:hover {
  color: #d7c5a3 !important;
}

/* Main Content */
main {
  margin-top: 120px;
  padding: 80px 20px;
}

.title-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #d7c5a3;
  color: #122f47;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.back-button:hover {
  background: #c9b589;
  transform: translateX(-5px);
  box-shadow: 0 4px 12px rgba(215, 197, 163, 0.4);
}

.back-button::before {
  content: "←";
  font-size: 1.2rem;
  font-weight: bold;
}

.legal-notices {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.legal-notices h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #122f47;
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: 3px solid #d7c5a3;
  font-family: 'DM Serif Display', serif;
}

.legal-notices h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #122f47;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #d7c5a3;
}

.legal-notices h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 25px;
  margin-bottom: 15px;
}

.legal-notices p {
  margin-bottom: 16px;
  color: #4a5568;
  text-align: justify;
  line-height: 1.8;
}

.legal-notices p strong {
  color: #122f47;
  font-weight: 600;
}

.legal-notices ul {
  margin: 20px 0;
  padding-left: 20px;
}

.legal-notices li {
  margin-bottom: 12px;
  color: #4a5568;
  line-height: 1.7;
}

.legal-notices li strong {
  color: #122f47;
  font-weight: 600;
}

.legal-notices a {
  color: #122f47;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.legal-notices a:hover {
  color: #d7c5a3;
  text-decoration: underline;
}

.info-block {
  background: #d7c5a3;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid #d7c5a3;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    margin-top: 100px;
    padding: 40px 20px;
  }

  .title-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .back-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .legal-notices {
    padding: 40px 25px;
  }

  .legal-notices h1 {
    font-size: 2rem;
  }

  .legal-notices h2 {
    font-size: 1.3rem;
  }

  .legal-notices h3 {
    font-size: 1.1rem;
  }

  .info-block {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .back-button {
    font-size: 0.85rem;
    padding: 8px 15px;
  }

  .legal-notices {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .legal-notices h1 {
    font-size: 1.7rem;
  }

  .legal-notices h2 {
    font-size: 1.2rem;
    margin-top: 30px;
  }
}