/* Correction navigation sur fond clair */
nav {
  background-color: #0047FF;
  color: white;
}

.nav-links a {
  color: white;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Footer cohérent */
footer {
  background: #0047FF;
  color: white;
}

.footer-column h3,
.footer-column a {
  color: white;
}

.footer-bottom {
  background: #003399;
  color: white;
}
.footer-bottom a {
  color: #FFCC00;
}


/* === Style spécifique : Conditions Générales de Vente === */
.legal-content {
  padding: 3rem 1rem;
  max-width: 960px;
  margin: auto;
  background-color: #ffffff;
  color: #003399;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: #0047FF;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #FFCC00;
  color: #003399;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0047FF;
}

.legal-content p {
  margin-bottom: 1rem;
  color: #333;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: #333;
}

.legal-content a {
  color: #0047FF;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #0033cc;
}

/* Pour long texte : support des blocs préformatés si tu en as laissé */
.legal-text pre {
  background: #f9f9fc;
  padding: 2rem;
  font-size: 1rem;
  border-radius: 10px;
  overflow-x: auto;
  white-space: pre-wrap;
  line-height: 1.8;
  color: #003399;
  border: 1px solid #e1e4f0;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-content {
    padding: 2rem 1rem;
    font-size: 0.95rem;
  }

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

  .legal-content h2 {
    font-size: 1.25rem;
  }

  .legal-text pre {
    padding: 1rem;
    font-size: 0.95rem;
  }
}
