/* mentions-legales-ecologie.css */

/* Corps de page */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2e3d27; /* vert foncé naturel */
  background-color: #e6f0d4; /* vert très clair, pastel */
  margin: 0;
  padding: 0;
}

/* Conteneur principal */
.container {
  max-width: 720px;
  background: #f9fdf4; /* blanc cassé très doux */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(46, 61, 39, 0.15);
  padding: 3rem 2.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  border: 2px solid #a3c293; /* vert doux */
}

/* Bouton retour */
a.btn-outline-primary {
  font-weight: 600;
  font-size: 1rem;
  color: #4a6a2a; /* vert olive */
  border-color: #4a6a2a;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

a.btn-outline-primary:hover {
  background-color: #4a6a2a;
  color: #f9fdf4;
  border-color: #3e5922;
}

/* Titres principaux */
h1 {
  font-weight: 700;
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #3e5922; /* vert foncé */
  font-family: 'Georgia', serif;
}

/* Titres de sections */
h2.h5 {
  font-weight: 700;
  border-left: 5px solid #7cae4a; /* vert moyen */
  padding-left: 1rem;
  margin-bottom: 1.2rem;
  color: #5a7a32;
  font-family: 'Georgia', serif;
}

/* Paragraphes */
p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.3rem;
  color: #4a5a2a;
}

/* Liens mailto */
a[href^="mailto:"] {
  color: #7cae4a; /* vert clair */
  text-decoration: underline;
  transition: color 0.3s ease;
}

a[href^="mailto:"]:hover {
  color: #5a7a32;
  text-decoration: none;
}

/* Icônes Bootstrap dans les titres et boutons */
h1 i, a.btn i {
  font-size: 1.6rem;
  vertical-align: middle;
  color: inherit;
}

/* Responsive : réduire padding sur petits écrans */
@media (max-width: 576px) {
  .container {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  a.btn-outline-primary {
    font-size: 0.95rem;
  }
}
