/* Protection contre le défilement horizontal */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Adaptation du thème */
.bg-light {
  background-color: var(--light-card, #f8f9fa) !important;
  color: var(--text-dark, #212529) !important;
}

/* Styles typographiques pour document juridique */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color, rgba(0,0,0,0.1));
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p, li {
  line-height: 1.8;
  color: var(--text-secondary, #6c757d);
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-section {
  margin-bottom: 3rem;
}

.last-updated {
  font-style: italic;
  color: var(--text-secondary, #6c757d);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-info {
  background: var(--light-card, #f8f9fa);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary, #007bff);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}