
    :root {
      --primary-color: #D32F2F; /* Rouge */
      --secondary-color: #ffffff; /* Blanc */
      --accent-color: #B71C1C;  /* Rouge foncé pour les accents */
      --text-color: #333;
    }
    body {
      overflow-x: hidden;
    }
    /* HERO SECTION */
.hero {
  position: relative;
  height: 50vh;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: #fff;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  color: var(--secondary-color);
  padding: 1.5rem;
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
  transition: transform 0.6s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* La div de background lazy-load */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}


/* L’image <img> à l’intérieur du <picture> doit recouvrir complètement */
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
    /* CONTENEUR PRINCIPAL */
    .legal-container {
      max-width: 800px;
      margin: 0 auto;
      padding: 2rem;
      background: var(--bg-color);
    }
    .legal-container h2 {
      margin-top: 2rem;
      margin-bottom: 1rem;
      text-align: center;
      font-size: 2rem;
      color: var(--primary-color);
    }
    .legal-container .lead {
      font-size: 1.2rem;
      font-weight: 300;
      text-align: center;
      margin-bottom: 2rem;
    }
    /* CARTES D'INFORMATION */
    .feature-card {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 1.5rem;
      padding: 1.5rem;
      margin: 2rem 0;
      text-align: left;
      line-height: 1.6;
      font-size: 0.95rem;
      color: var(--text-color);
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .feature-card h3 {
      margin-top: 0;
      font-size: 1.5rem;
      color: var(--primary-color);
    }
    .feature-card ul {
      margin-left: 1.5rem;
    }

    /* RESPONSIVE */
    @media screen and (max-width: 600px) {
      .legal-container {
        padding: 1rem;
      }
      .legal-container h2 {
        font-size: 1.75rem;
      }
      .feature-card {
        padding: 1rem;
        margin: 1.5rem 0;
      }

    }


.legal-container { color: var(--text-color, #000); }
