/* Styles des pages secondaires (mentions légales, page introuvable) */
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --fond: #F4EFE6; --surface: #FBF8F2; --lin: #E7DFD2; --accent: #8FA37A; --profond: #1F3A2B; --texte2: #635C50;
  --trait: rgba(31, 58, 43, .14); --attention-texte: #835B14; --attention-doux: #F4E8CA;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--profond); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.conteneur { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: clamp(20px, 5vw, 32px); }
.entete { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; }
.logo { display: inline-flex; align-items: baseline; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1; letter-spacing: -.005em; text-decoration: none; color: var(--profond); }
.logo__i { position: relative; display: inline-block; }
.logo__point { position: absolute; left: 50%; top: .18em; width: .17em; height: .17em; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.entete__langue { font-size: 14px; font-weight: 500; }
main { padding-block: 20px 56px; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.3rem); line-height: 1.04; margin: 14px 0 14px; font-variant-numeric: lining-nums; }
.chapo { font-size: 1.12rem; line-height: 1.55; color: var(--texte2); margin: 0 0 26px; }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.sommaire li { margin: 0; }
.sommaire a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--trait); text-decoration: none; font-size: 14px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 1.5rem + .8vw, 2rem); line-height: 1.15; margin: 48px 0 12px; scroll-margin-top: 20px; font-variant-numeric: lining-nums; }
h2::after { content: ""; display: inline-block; width: .17em; height: .17em; margin-left: .08em; border-radius: 50%; background: var(--accent); }
h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.4; margin: 28px 0 6px; scroll-margin-top: 20px; }
p { margin: 0 0 12px; text-wrap: pretty; }
ul { margin: 0 0 12px; padding-left: 1.2em; }
li { margin-bottom: 6px; }
li::marker { color: var(--accent); }
.fiche { list-style: none; margin: 16px 0; padding: 6px 20px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--trait); }
.fiche li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 2px 16px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--trait); }
.fiche li:last-child { border-bottom: 0; }
.fiche span { color: var(--texte2); font-size: 14px; padding-top: 1px; }
@media (max-width: 560px) { .fiche li { grid-template-columns: minmax(0, 1fr); } }
.en-bref { margin: 14px 0 8px; padding: 16px 18px; border-radius: 18px; background: #DCE3CF; }
mark.a-completer { background: var(--attention-doux); color: var(--attention-texte); padding: 1px 6px; border-radius: 6px; }
.maj { margin-top: 40px; font-size: 14px; color: var(--texte2); }
.pied { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-block: 22px 40px; border-top: 1px solid var(--trait); font-size: 14px; color: var(--texte2); }
/* Page introuvable */
.introuvable { min-height: 70vh; display: grid; align-content: center; gap: 10px; }
.introuvable p { color: var(--texte2); }
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--profond); color: var(--fond); font-weight: 500; text-decoration: none; }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bouton--contour { background: transparent; color: var(--profond); box-shadow: inset 0 0 0 1.5px var(--profond); }
.nw { white-space: nowrap; }
