/* Mentions légales et page 404 — déc. 2026. Charte actuelle : #476E7D, #708997, #C7B483, Cardenio. */

/* ---------- Mentions légales ---------- */
.page-legal { padding: 3rem 0 4rem; color: #33424a; }
.pl-entete { text-align: center; margin-bottom: 2rem; }
.pl-surtitre { margin: 0 0 .5rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #708997; }
.pl-titre { font-family: "Cardenio Modern Std", Georgia, serif; font-size: 2.4rem; color: #476E7D; margin: 0; }
.pl-titre::after { content: ""; display: block; width: 3.5rem; height: 2px; margin: 1rem auto 0; background: #C7B483; }
.pl-contenu { max-width: 52rem; margin: 0 auto; font-size: 1rem; line-height: 1.7; }
.pl-contenu .ml-maj { text-align: center; color: #708997; margin-bottom: 1.5rem; }
.pl-contenu .ml-sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.pl-contenu .ml-sommaire a { padding: .45rem 1rem; border-radius: 999px; background: #EEF1F4; color: #476E7D; font-size: .9rem; text-decoration: none; }
.pl-contenu .ml-sommaire a:hover, .pl-contenu .ml-sommaire a:focus { background: #476E7D; color: #fff; }
.pl-contenu .ml-bloc { background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(71, 110, 125, .10); padding: 1.8rem 2rem; margin-bottom: 1.2rem; scroll-margin-top: 6rem; }
.pl-contenu .ml-bloc h2 { font-family: "Cardenio Modern Std", Georgia, serif; font-size: 1.7rem; color: #476E7D; margin: 0 0 .9rem; }
.pl-contenu .ml-bloc p { margin: 0 0 .8rem; }
.pl-contenu .ml-bloc p:last-child { margin-bottom: 0; }
.pl-contenu .ml-bloc ul { padding-left: 1.2rem; margin: 0 0 .8rem; }
.pl-contenu .ml-bloc li { margin-bottom: .35rem; }
.pl-contenu .ml-bloc a { color: #476E7D; text-decoration: underline; }
.pl-contenu dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .4rem 1.5rem; margin: 0; }
.pl-contenu dt { font-weight: 600; }
.pl-contenu dd { margin: 0; }
.pl-contenu .ml-table { overflow-x: auto; margin-bottom: .8rem; }
.pl-contenu table { width: 100%; min-width: 30rem; border-collapse: collapse; }
.pl-contenu th { text-align: left; border-bottom: 2px solid #D4DAE0; padding: .5rem .75rem .5rem 0; }
.pl-contenu td { border-bottom: 1px solid #D4DAE0; padding: .6rem .75rem .6rem 0; vertical-align: top; }
.pl-contenu .ml-bloc-sombre { background: #476E7D; color: #fff; }
.pl-contenu .ml-bloc-sombre h2 { color: #fff; }
@media (max-width: 575px) {
  .pl-titre { font-size: 1.9rem; }
  .pl-contenu .ml-bloc { padding: 1.4rem 1.2rem; }
  .pl-contenu dl { grid-template-columns: 1fr; }
  .pl-contenu dt { margin-top: .4rem; }
}

/* ---------- Page 404 ---------- */
.page-404 { color: #33424a; }
.p404-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 26rem; padding: 4rem 1rem; text-align: center; color: #fff; background: #476E7D center / cover no-repeat; }
.p404-hero::before { content: ""; position: absolute; inset: 0; background: rgba(36, 58, 66, .62); }
.p404-hero-inner { position: relative; max-width: 40rem; }
.p404-code { display: block; font-family: "Cardenio Modern Std", Georgia, serif; font-size: 7rem; line-height: .9; color: #E2CFA2; }
.p404-titre { font-family: "Cardenio Modern Std", Georgia, serif; font-size: 2.3rem; margin: .6rem 0 .8rem; color: #fff; }
.p404-texte { font-size: 1.15rem; line-height: 1.6; margin: 0 0 1.6rem; color: #EEF1F4; }
.p404-boutons { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.p404-bouton { display: inline-block; padding: .85rem 1.7rem; border-radius: 999px; font-weight: 600; text-decoration: none !important; border: 2px solid #fff; transition: background-color .2s ease, color .2s ease; }
.p404-bouton-plein { background: #fff; color: #476E7D !important; }
.p404-bouton-plein:hover, .p404-bouton-plein:focus { background: #EEF1F4; }
.p404-bouton-contour { color: #fff !important; }
.p404-bouton-contour:hover, .p404-bouton-contour:focus { background: #fff; color: #476E7D !important; }
.p404-suggestions { padding: 3rem 0 3.5rem; }
.p404-suggestions h2 { font-family: "Cardenio Modern Std", Georgia, serif; font-size: 1.9rem; color: #476E7D; text-align: center; margin: 0 0 1.5rem; }
.p404-liens { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.p404-lien { display: block; padding: 1.3rem 1.4rem; border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgba(71, 110, 125, .12); border-top: 3px solid #C7B483; color: #33424a !important; text-decoration: none !important; transition: transform .2s ease; }
.p404-lien:hover, .p404-lien:focus { transform: translateY(-2px); }
.p404-lien strong { display: block; font-size: 1.1rem; color: #476E7D; }
.p404-lien span { font-size: .95rem; color: #708997; }
@media (prefers-reduced-motion: reduce) { .p404-lien, .p404-bouton { transition: none; } .p404-lien:hover { transform: none; } }
