/* ===========================================================
   legal.css – MCinspir
   Styles pour mentions légales, politique cookies, confidentialité
=========================================================== */

/* Cadre doré uniquement pour les pages légales */
.legal-page,
.mentions-container,
.confidentialite-container,
.legal-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border: 2px solid #b58e4f;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* En-tête avec logo */
.page-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.page-header img.page-logo {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}
.page-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #b58e4f;
}

/* Titres secondaires */
h2 {
  color: #b58e4f;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}

/* Liens email */
a[href^="mailto:"] {
  color: #b58e4f;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
a[href^="mailto:"]:hover {
  color: #a47c3f;
  text-decoration: underline;
}

/* Boutons type CNIL */
.cnil-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #b58e4f;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(181,142,79,0.6);
  transition: background 0.3s ease;
}
.cnil-btn:hover {
  background: #a47c3f;
}

/* Responsive */
@media (max-width: 600px) {
  .legal-page,
  .mentions-container,
  .confidentialite-container,
  .legal-container {
    margin: 1rem;         /* espace autour du cadre sur mobile */
    padding: 1.2rem;      /* réduit un peu le padding interne */
  }
  .page-header {
    flex-direction: column;
    text-align: center;
  }
  .page-header img.page-logo {
    width: 50px;
    margin-bottom: 0.5rem;
  }
  .page-header h1 {
    font-size: 1.5rem;
  }
}

/* Lien discret CNIL */
.cnil-link {
  text-align: center;
  margin: 1.2rem 0;
}

.cnil-link a {
  color: #666;              /* gris élégant */
  font-size: 0.95rem;
  text-decoration: underline;
  transition: color 0.3s;
}

.cnil-link a:hover {
  color: var(--gold);       /* reprend ton doré */
  text-decoration: none;
}
