/* ============================================
   MENTIONS-LEGALES.CSS
   Styles spécifiques à la page mentions_legales.php
   Chargé en complément de style.css.
   ============================================
   Sommaire :
   1. En-tête de page
   2. Conteneur principal
   3. Sections
   4. Cartes de contenu
   5. Listes de données (dl/dt/dd)
   6. Texte courant
   7. Liens de navigation en bas de page
   8. Responsive
   ============================================ */


/* ============================================
   1. EN-TÊTE DE PAGE
   ============================================ */
.ml-header {
  background: var(--color-green-tint);
  border-bottom: 1px solid var(--color-border);
}

.ml-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--container-padding) 36px;
  max-width: 760px;
}

.ml-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-green-darker);
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 12px;
}

.ml-subtitle {
  font-size: 14px;
  color: #41603A;
  line-height: 1.65;
  max-width: 580px;
}


/* ============================================
   2. CONTENEUR PRINCIPAL
   ============================================ */
.ml-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px var(--container-padding) 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}


/* ============================================
   3. SECTIONS
   ============================================ */
.ml-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ml-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ml-section-title i {
  font-size: 16px;
  color: var(--color-green-accent);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}


/* ============================================
   4. CARTES DE CONTENU
   ============================================ */
.ml-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}


/* ============================================
   5. LISTES DE DONNÉES (dl/dt/dd)
   ============================================ */
.ml-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ml-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  align-items: baseline;
}

.ml-row:first-child {
  padding-top: 0;
}

.ml-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ml-row dt {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 13px;
}

.ml-row dd {
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.55;
}

.ml-row dd a {
  color: var(--color-green-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
.ml-row dd a:hover {
  color: var(--color-green-dark);
  text-decoration: underline;
}


/* ============================================
   6. TEXTE COURANT
   ============================================ */
.ml-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.ml-text + .ml-text {
  margin-top: 10px;
}

.ml-text a {
  color: var(--color-green-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
.ml-text a:hover {
  color: var(--color-green-dark);
  text-decoration: underline;
}


/* ============================================
   7. LIENS DE NAVIGATION EN BAS DE PAGE
   ============================================ */
.ml-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.ml-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.ml-link:hover {
  color: var(--color-green-accent);
}
.ml-link i {
  font-size: 14px;
}


/* ============================================
   8. RESPONSIVE
   ============================================ */

/* -- Tablette (≤ 1024px) -- */
@media (max-width: 1024px) {
  .ml-row {
    grid-template-columns: 160px 1fr;
  }
}

/* -- Mobile (≤ 640px) -- */
@media (max-width: 640px) {
  .ml-title {
    font-size: 24px;
  }

  /* Labels et valeurs passent en colonne */
  .ml-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ml-row dt {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-green-accent);
  }

  .ml-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================
   Éléments supplémentaires utilisés dans
   politique_confidentialite.php.
   ============================================ */

/* Date de mise à jour affichée sous le sous-titre */
.ml-date {
  font-size: 12px;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 10px;
}

/* Listes à puces dans les cartes */
.ml-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.ml-liste li {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.ml-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-accent);
}

.ml-liste li strong {
  color: var(--color-text);
  font-weight: 500;
}

/* Sous-titres h3 dans les cartes */
.ml-sous-titre {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-top: 16px;
  margin-bottom: 4px;
}
