/* /css/style_mentions_legales.css */

/* Styles de base pour la section 'mentions-legales' */
.mentions-legales {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    color: #111111;
    line-height: 1.6;
    border-radius: 8px;
}

/* Style pour le titre principal */
.mentions-legales h1 {
    font-size: clamp(2.75rem, 2rem + 2vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Tiempos Headline', Georgia, serif;
    line-height: 1.2;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 10px;
}

/* Ligne séparatrice sous le titre principal */
.separator-line {
    width: 50px;
    height: 3px;
    background-color: #111111;
    border: none;
    margin: 15px auto;
}

/* Style pour les sous-titres (h2) */
.mentions-legales h2 {
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
    font-weight: 500;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #111111;
    border-left: 4px solid #d1d1d1;
    padding-left: 15px;
}

/* Style pour les paragraphes */
.mentions-legales p {
    font-size: clamp(1rem, 0.96rem + 0.15vw, 1.125rem);
    font-weight: 400;
    margin-bottom: 20px;
    text-align: justify;
}

/* Style pour les listes non ordonnées */
.mentions-legales ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.mentions-legales ul li {
    margin-bottom: 10px;
    font-size: clamp(1rem, 0.96rem + 0.15vw, 1.125rem);
}

/* Style pour le texte en gras */
.mentions-legales strong {
    font-weight: bold;
    color: #111111;
}

/* Style pour les liens */
.mentions-legales a {
    color: #0073e6;
    text-decoration: underline;
}

.mentions-legales a:hover {
    color: #005bb5;
    text-decoration: none;
}

/* Styles responsives */
@media (max-width: 768px) {
    .mentions-legales {
        padding: 40px 15px;
    }

    .mentions-legales h1 {
        font-size: 2.25rem;
    }

    .mentions-legales h2 {
        font-size: 1.5rem;
    }

    .mentions-legales p,
    .mentions-legales ul li {
        font-size: 0.95rem;
    }
}

/* === Ajouts pour pages type "Cookies", tableaux & éléments annexes === */

/* Sous-sous-titres */
.mentions-legales h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #111111;
}
.mentions-legales h4 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 8px;
  color: #111111;
}

/* Wrapper tableau (scroll horizontal propre sur mobile) */
.mentions-legales .table-wrapper {
  margin: 10px 0 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;          /* coins arrondis appliqués au tableau */
  overflow-x: auto;          /* scroll horizontal si table large */
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17,17,17,0.04);
}

/* Tableau */
.mentions-legales table {
  width: 100%;
  min-width: 620px;          /* évite les colonnes écrasées, scroll si écran < 620px */
  border-collapse: collapse;
  font-size: clamp(0.95rem, 0.93rem + 0.1vw, 1rem);
}
.mentions-legales thead th {
  text-align: left;
  padding: 12px 14px;
  background: #f9fafb;
  color: #111111;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}
.mentions-legales tbody td {
  padding: 12px 14px;
  border-top: 1px solid #f1f5f9;
  vertical-align: top;
}
.mentions-legales tbody tr:nth-child(even) td {
  background: #fcfcfc;
}
.mentions-legales tbody tr:hover td {
  background: #f7f9fb;
}

/* Bouton d’action dans le contenu (ex: "Paramétrer mes cookies") */
.mentions-legales .btn-custom {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 36px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Texte atténué (remplace les styles inline) */
.mentions-legales .muted {
  color: #6b7280;
  font-size: 0.95em;
}

/* Petits éléments techniques */
.mentions-legales code,
.mentions-legales kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
  background: #f6f8fa;
  color: #111111;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 0 .3em;
}

/* --- Responsif --- */
@media (max-width: 768px) {
  .mentions-legales table {
    min-width: 520px;
  }
}
