@font-face { font-family: "Source Serif 4"; src: url("polices/SourceSerif4-variable-latin.c1df45.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("polices/SourceSerif4-variable-italic-latin.663e7e.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("polices/SourceSans3-variable-latin.7a19a7.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
:root {
    color-scheme: light dark;
    --fond: light-dark(#FBF8F4, #15110E);
    --surface: light-dark(#FFFFFF, #1D1814);
    --surface2: light-dark(#F3ECE3, #28211B);
    --bordure: light-dark(#E4D8C9, #3B3129);
    --texte: light-dark(#1F1A16, #F2EAE1);
    --texte2: light-dark(#4F4339, #CDBFB0);
    --texte3: light-dark(#6B5D50, #A8988A);
    --accent: light-dark(#D9661A, #E8803A);
    --lien: light-dark(#A3460C, #F2A066);
    --corps: "Source Serif 4", Georgia, serif;
    --titre: "Source Serif 4", Georgia, serif;
    --etiquette: "Source Sans 3", system-ui, sans-serif;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: var(--graisse, 300) 1rem / 1.6 var(--corps); -webkit-font-smoothing: antialiased; }
/* le pied se tient en bas de la fenêtre quand la page est plus courte qu'elle, et suit le contenu sinon :
   le corps est une colonne d'au moins la hauteur de la fenêtre, le contenu s'étire, le pied ne recouvre rien */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1 0 auto; }
.pied { flex-shrink: 0; }
a { color: var(--lien); text-underline-offset: .18em; }
a:hover { color: var(--texte); }
:focus-visible { outline: 2px solid var(--lien); outline-offset: 2px; }
.wrap { max-width: 65rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.evitement { position: absolute; left: -999rem; }
.evitement:focus { left: 1rem; top: 1rem; z-index: 1; padding: .5rem .75rem; background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sep { color: var(--texte3); margin: 0 .25rem; }

/* barre */
.barre { border-bottom: 1px solid var(--bordure); }
.barre .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding-top: 1.5rem; padding-bottom: 1.125rem; }
.marque { color: var(--texte); font-size: .9375rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; }
.barre__liens { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: .875rem; }
#theme { display: inline-grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--bordure); border-radius: 50%; background: transparent; color: var(--texte3); cursor: pointer; }
#theme:hover { color: var(--lien); border-color: var(--lien); background: var(--surface2); }
#theme svg { width: 1rem; height: 1rem; }
#theme .soleil, :root[data-theme="dark"] #theme .lune { display: none; }
:root[data-theme="dark"] #theme .soleil { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) #theme .soleil { display: block; }
    :root:not([data-theme="light"]) #theme .lune { display: none; }
}

/* page de texte : mentions légales, 404 */
.texte { max-width: 46rem; padding: clamp(2.5rem, 6vw, 4rem) 0 3rem; }
.texte h1 { margin: 0 0 1.5rem; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.texte h2 { margin: 2.5rem 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--bordure); font-size: 1.125rem; font-weight: 500; }
.texte p, .texte li { color: var(--texte2); }
.texte strong { color: var(--texte); font-weight: 500; }
.texte dl { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: .375rem 1.5rem; margin: 0; }
.texte dt { color: var(--texte3); font-size: .9375rem; }
.texte dd { margin: 0; color: var(--texte2); }
.a-fournir { padding: 0 .25rem; background: #FFD84D; color: #131A28; font-weight: 600; }
@media (max-width: 38rem) {
    .texte dl { grid-template-columns: 1fr; gap: 0; }
    .texte dd { margin-bottom: .625rem; }
}

/* pied */
.pied { border-top: 1px solid var(--bordure); }
.pied .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.5rem; padding-bottom: 2rem; color: var(--texte3); font-size: .875rem; }
.pied a { color: var(--texte3); }
.pied a:hover { color: var(--lien); }

:root { --graisse: 400; }
.marque, .barre__liens { font-family: var(--etiquette); }
.marque { font-size: 1rem; }
.barre__liens { font-size: .9375rem; }
/* l'en-tête : un trait orange en tête de page, comme un filet de papier à lettres */
.ma-hero { padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2rem, 5vw, 3rem); }
.ma-hero h1 { margin: 0 0 .875rem; font-size: clamp(2.875rem, 8.5vw, 6rem); font-weight: 300; letter-spacing: -.03em; line-height: .95; }
.role { margin: 0 0 2.25rem; color: var(--texte2); font: 400 clamp(1.0625rem, 2.2vw, 1.25rem) / 1.4 var(--etiquette); letter-spacing: .005em; }
.pivot { position: relative; max-width: 30ch; margin: 0; padding-left: 1.5rem; font-size: clamp(1.375rem, 3vw, 1.875rem); font-style: italic; font-weight: 300; line-height: 1.35; }
.pivot::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; background: var(--accent); }
.reperes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 1.5rem; padding: 0; list-style: none; background: var(--bordure); border-top: 1px solid var(--bordure); }
.reperes li { display: grid; align-content: start; gap: .25rem; padding: 1.25rem 1.25rem 1.375rem 0; background: var(--fond); }
.reperes li + li { padding-left: 1.5rem; }
.reperes strong { color: var(--lien); font-size: 1.625rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.reperes span { color: var(--texte2); font: 400 .9375rem / 1.45 var(--etiquette); }
/* la marge : le titre de section à gauche, le texte à droite, sur un même filet */
.ma-bloc { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 4rem); padding: 2rem 0 1.5rem; border-top: 1px solid var(--bordure); }
.ma-bloc h2 { margin: .25rem 0 0; color: var(--lien); font: 600 .75rem / 1.5 var(--etiquette); letter-spacing: .2em; text-transform: uppercase; }
.ma-bloc > div { max-width: 60ch; }
.ma-bloc p { margin: 0 0 .875rem; color: var(--texte2); font-size: 1.125rem; line-height: 1.65; }
.ma-bloc p:last-child { margin-bottom: 0; }
.ma-joindre { padding-bottom: 4.5rem; }
.ma-joindre .courriel { margin-bottom: .625rem; font-size: 1.5rem; }
.ma-joindre .ailleurs { font-family: var(--etiquette); font-size: 1rem; }
@media (max-width: 44rem) {
    .reperes, .ma-bloc { grid-template-columns: 1fr; }
    .reperes li, .reperes li + li { padding: 1rem 0; }
    .ma-bloc { gap: .75rem; }
}
