/* ==========================================================================
   PAGE : MENTIONS LÉGALES & CHARTE (Design Éditorial)
   ========================================================================== */

:root {
  --color-accent: #c49d79;
  --color-plum: #9a1c6a;
  --color-pink: #b82b70;
  --bg-light: #fdfbf7;
  --text-dark: #1a1614;
  --text-muted: #666666;
  --border-light: rgba(0, 0, 0, 0.08);
}

.text-pink {
  color: var(--color-pink);
  font-style: italic;
  font-weight: normal;
}

/* --- HERO SECTION --- */
.legal-hero {
  padding: 160px 0 80px 0;
  background-color: var(--bg-light);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.legal-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.legal-hero p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- NAVIGATION INTERNE (ANCRES) --- */
.legal-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 10;
}
.legal-nav a {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}
.legal-nav a:hover {
  color: var(--text-dark);
  border-bottom-color: var(--color-accent);
}

/* --- CONTENU PRINCIPAL --- */
.legal-main-content {
  background-color: #ffffff;
  padding: 80px 0 120px 0;
}
.legal-container {
  max-width: 800px; /* Plus étroit pour une lecture confortable */
  margin: 0 auto;
  padding: 0 40px;
}

.legal-section {
  margin-bottom: 100px;
  padding-bottom: 100px;
  border-bottom: 1px dashed var(--border-light);
}
.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
}

/* Blocs de texte standard */
.legal-block {
  margin-bottom: 35px;
}
.legal-block h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--color-accent);
  margin-bottom: 15px;
  font-weight: 400;
}
.legal-block p {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Grille spécifique pour les mentions légales (Editeur, Hébergement...) */
.mentions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 4px;
}
.mentions-grid .legal-block {
  margin-bottom: 0;
}
.mentions-grid h3 {
  font-size: 16px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  margin-bottom: 10px;
}

/* BOUTON SCROLL TOP */
#myBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 45px;
  height: 45px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
#myBtn:hover {
  background-color: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .legal-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: static;
  }
  .legal-container {
    padding: 0 20px;
  }
  .mentions-grid {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  .legal-section-title {
    font-size: 32px;
  }
}
