/* ============================= */
/* PAGE MENTIONS LÉGALES */
/* ============================= */

main.container {
  padding: 100px 20px 80px;
  max-width: 900px;
}

main.container h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
}

main.container h2 {
  font-size: 1.5rem;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark);
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

main.container p {
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
  main.container {
    padding: 90px 15px 60px;
  }

  main.container h1 {
    font-size: 2rem;
  }

  main.container h2 {
    font-size: 1.3rem;
  }
}

/* ============================= */
/* HERO MENTIONS LÉGALES */
/* ============================= */

.hero-legal {
  height: 320px;
  background: url("images/hero-chantier.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -72px;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.65);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Décalage du contenu principal */
main.container {
  margin-top: -40px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-legal {
    height: 240px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
