/* Style général */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #f8f8f5;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: #4e3b36;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo-small {
  height: 55px;
  width: auto;
}

main h1 + h1 {
  margin-top: 4rem;
  text-align: center;
  color: #5a7f7b;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #f4e2d8;
}

/* Contenu principal */
.mentions-legales {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 2rem 120px; /* top = header, bottom = footer */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}

.mentions-legales h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #5a7f7b;
}

.mentions-legales h2 {
  font-size: 1.5rem;
  color: #5a7f7b;
  margin-top: 2rem;
}

.mentions-legales p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* Animation douce */
.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive renforcé */

/* Petit écran tablette et mobiles moyens */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 15px;
  }

  .main-nav a {
    margin-left: 1rem;
    font-size: 1rem;
  }

  .mentions-legales {
    max-width: 90%;
    padding: 2rem 1.5rem 3rem;
  }

  .mentions-legales h1 {
    font-size: 2.2rem;
  }

  .mentions-legales h2 {
    font-size: 1.3rem;
  }

  .mentions-legales p {
    font-size: 0.95rem;
  }
}

/* Mobiles petits (téléphones) */
@media (max-width: 480px) {
  .site-header {
    height: 60px;
  }

  .header-container {
    padding: 0 10px;
  }

  .logo-small {
    height: 40px;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    margin: 0 0.5rem 0.5rem 0.5rem;
    font-size: 0.85rem;
  }

  .mentions-legales {
    padding: 1rem 1rem 2rem;
    border-radius: 8px;
  }

  .mentions-legales h1 {
    font-size: 1.8rem;
  }

  .mentions-legales h2 {
    font-size: 1.1rem;
  }

  .mentions-legales p {
    font-size: 0.9rem;
  }

  main h1 + h1 {
    margin-top: 2rem;
  }
}

/* Très petits écrans (portrait téléphones étroits) */
@media (max-width: 360px) {
  .main-nav a {
    font-size: 0.8rem;
    margin: 0 0.3rem 0.3rem 0.3rem;
  }

  .mentions-legales {
    padding: 0.8rem 1rem 1.5rem;
  }

  .mentions-legales h1 {
    font-size: 1.6rem;
  }

  .mentions-legales h2 {
    font-size: 1rem;
  }

  .mentions-legales p {
    font-size: 0.85rem;
  }
}
