/* Pages légales (mentions-legales.html, puis donnees-personnelles.html) : complète proposition-2.css.
   Présentation volontairement très simple (inspiration Ken Club) : une colonne de texte, sans cadre ni numéro. */

/* Bandeau du haut : burgundy à grain comme le pied de page, logo crème centré */
.legal-entete {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  padding: clamp(28px, 4.5vw, 48px) var(--pad);
  background: var(--burgundy);
}
.legal-entete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .17;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.8' intercept='-.4'/%3E%3CfeFuncG type='linear' slope='1.8' intercept='-.4'/%3E%3CfeFuncB type='linear' slope='1.8' intercept='-.4'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.legal-entete__logo img { display: block; width: clamp(130px, 14vw, 170px); height: auto; }

/* Contenu */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) var(--pad) var(--entre-blocs, 90px);
}
.legal__titre {
  margin: 0;
  color: var(--orange);
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.9vw, 3rem);
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.legal__titre::after { content: "."; color: var(--burgundy); }
.legal__maj { margin: 14px 0 0; font-family: "Marcellus", Georgia, serif; font-style: italic; font-size: .9rem; opacity: .8; }

.legal h2 {
  margin: clamp(40px, 6vw, 56px) 0 10px;
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
}
.legal p:not(.legal__maj) { margin: 0 0 12px; font-weight: 350; line-height: 1.75; }
.legal a { color: inherit; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }

/* Lien de la page en cours dans le pied de page */
.pied__col a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* Lien vers la politique de confidentialité : en italique, sans soulignement */
.legal a.legal__lien { font-style: italic; text-decoration: none; }

/* Zone de texte un peu plus large */
.legal { max-width: 900px; }

/* Lien vers la politique de confidentialité en orange (burgundy au survol) */
.legal a.legal__lien { color: var(--orange); }
.legal a.legal__lien:hover { color: var(--burgundy); }

/* Bandeau avec le titre de la page à la place du logo (mentions légales) */
.legal-entete--titre { flex-direction: column; align-items: center; text-align: center; padding: clamp(44px, 7vw, 80px) var(--pad); }
.legal-entete__titre {
  margin: 0;
  color: var(--beige);
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.legal-entete__sous-titre {
  margin: 12px 0 0;
  color: rgba(247, 242, 224, .8);
  font-family: "Stevie Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
/* Sans titre dans la page, la date ouvre directement le texte */
.legal-entete--titre + .legal .legal__maj { margin-top: 0; }
.legal-entete--titre { justify-content: center; } /* titre centré verticalement dans le bandeau */
.legal-entete__sous-titre { margin: 0 0 12px; } /* petite ligne placée au-dessus du titre */
.legal__maj { font-family: "Stevie Sans", "Helvetica Neue", Arial, sans-serif; font-weight: 300; } /* date de mise à jour en Stevie (italique conservé) */
/* Lien vers la politique de confidentialité : burgundy, souligné (italique conservé) */
.legal a.legal__lien { color: var(--burgundy); text-decoration: underline; text-decoration-color: var(--burgundy); text-underline-offset: 3px; }
.legal a.legal__lien:hover { color: var(--orange); text-decoration-color: var(--orange); }
/* Numéro de rubrique en orange devant chaque intertitre (mentions légales) */
.legal h2 .legal__num { margin-right: 14px; color: var(--orange); font-family: "Marcellus", Georgia, serif; font-size: 1em; letter-spacing: 0; }
.legal h2 .legal__num { display: inline-block; min-width: 1.6em; margin-right: 10px; } /* largeur fixe : les intitulés commencent tous au même endroit */
.legal h2 .legal__num { font-family: "Stevie Sans", "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-variant-numeric: tabular-nums; } /* numéros en Stevie */
/* Numéros : retour en Marcellus, suivis d'un point, plus proches du titre */
.legal h2 .legal__num { font-family: "Marcellus", Georgia, serif; font-variant-numeric: normal; min-width: 0; margin-right: 8px; }
.legal h2 .legal__num::after { content: "."; }
.legal h2 .legal__num { font-size: .72em; vertical-align: .08em; } /* numéros plus petits que les titres */
/* Mini monogramme orange sous le grand titre du bandeau (comme sous les titres de la page d'accueil) */
.legal-entete__titre::after {
  content: "";
  display: block;
  width: 24px;
  height: 22px;
  margin: 18px auto 0;
  background: url("../logo/monogramme-orange.svg") center / contain no-repeat;
}
.legal-entete--titre { padding-top: clamp(36px, 5.6vw, 64px); padding-bottom: clamp(36px, 5.6vw, 64px); } /* bandeau un peu moins haut */
/* Mini monogramme orange tout en haut du bandeau, au-dessus de la petite ligne */
.legal-entete__titre::after { content: none; }
.legal-entete__sous-titre::before {
  content: "";
  display: block;
  width: 24px;
  height: 22px;
  margin: 0 auto 16px;
  background: url("../logo/monogramme-orange.svg") center / contain no-repeat;
}
.legal .legal__maj + p { margin-top: 36px; } /* respiration entre la date de mise à jour et le texte d'introduction */
.legal { padding-top: clamp(32px, 5vw, 56px); } /* date de mise à jour remontée (88 → 56 px sous le bandeau) */
/* Politique de confidentialité : listes longues en tableau (intitulé à gauche, détail à droite, filets fins) */
.legal__tableau { margin: 20px 0 14px; border-top: 1px solid rgba(117, 0, 26, .2); }
.legal__tableau > div { display: grid; grid-template-columns: minmax(0, 13.5em) minmax(0, 1fr); gap: 4px 36px; padding: 16px 0; border-bottom: 1px solid rgba(117, 0, 26, .2); }
.legal__tableau dt { font-family: "Marcellus", Georgia, serif; font-size: 1.05rem; line-height: 1.5; }
.legal__tableau dd { margin: 0; font-weight: 350; line-height: 1.65; }
@media (max-width: 700px) { .legal__tableau > div { grid-template-columns: minmax(0, 1fr); padding: 14px 0; } }
/* Listes : tiret en retrait suspendu (les lignes suivantes s'alignent sur le texte, pas sous le tiret), intitulé en medium */
.legal__liste { margin: 0 0 12px; padding: 0; list-style: none; }
.legal__liste li { position: relative; padding-left: 1.1em; font-weight: 350; line-height: 1.75; }
.legal__liste li + li { margin-top: 4px; }
.legal__liste li::before { content: "–"; position: absolute; left: 0; color: var(--orange); }
.legal__liste strong { font-weight: 500; }
.legal { max-width: 950px; } /* zone de texte un peu plus large : « historique d'utilisation ; » tient sur la 1re ligne sur ordinateur */
.legal__liste strong { font-weight: inherit; } /* intitulés des listes sans gras */
.legal__liste li { padding-left: 0; } .legal__liste li::before { content: none; } /* listes sans tirets orange */
