@font-face {
 font-family: Playfair;
 src: url('/playfair-italic.woff2') format('woff2');
 font-style: italic;
 font-display: swap;
}

@layer legacy {

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 "Segoe UI", sans-serif; color: #211823; background: #f6f1ea; }
a { color: inherit; text-underline-offset: .25em; }
header, footer {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 background: #170f1c;
 color: #fbf2f6;
 padding: 18px max(5vw, calc((100vw - 1320px) / 2));
}
header { border-bottom: 1px solid #4b394f; }
.brand, footer b { font-weight: 850; letter-spacing: -.095em; text-decoration: none; }
.brand { font-size: 30px; line-height: 1; }
.brand span { font-size: 21px; color: #d7bafa; margin-left: 5px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
nav a { font-size: 14px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.staff { border: 1px solid #66566e; border-radius: 99px; padding: 7px 15px; }
em { font-family: Playfair, Georgia, serif; font-weight: 400; letter-spacing: -.065em; }
h3 { font: italic 27px/1.15 Playfair, Georgia, serif; overflow-wrap: anywhere; }
input, textarea, select, button {
 font: inherit;
 color: inherit;
 padding: 9px 12px;
 border: 1px solid #c9bdc7;
 border-radius: 6px;
 background: #fffaf5;
}
button, summary { cursor: pointer; }
button:hover { background: #e9def0; }
input[type=checkbox] { accent-color: #663984; }
:focus-visible { outline: 2px solid #9062ae; outline-offset: 3px; }
.primary {
 display: inline-flex;
 align-items: center;
 gap: 25px;
 background: #d8b9fa;
 color: #281834;
 border: 0;
 padding: 12px 20px;
 border-radius: 99px;
 font-weight: 650;
}
.primary:hover { background: #ead7fe; }
.image-download {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 6px;
 min-height: 36px;
 padding: 5px 10px;
 border: 1px solid var(--image-action-line);
 border-radius: 7px;
 color: var(--image-action-text);
 background: var(--image-action-bg);
 font: 650 .75rem/1.2 "Segoe UI", sans-serif;
 text-decoration: none;
}
.image-download:hover { background: var(--image-action-hover); }
.image-download span { font-size: 1rem; line-height: 1; }
footer { font-size: .86rem; }
footer b { font-size: 23px; }
footer span { margin-right: auto; }

@media (max-width: 540px) {
 header, footer { padding: 14px 4%; gap: 8px; }
 nav { gap: 10px; }
 nav a { font-size: .78rem; }
 .brand { font-size: 24px; }
 .staff { padding: 6px 9px; }
 footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.skip-link {
 position: fixed; top: 8px; left: 8px; z-index: 100;
 padding: 10px 16px; border-radius: 99px;
 background: #f0c987; color: #141018; font-weight: 700; text-decoration: none;
 translate: 0 -200%; transition: translate .2s;
}
.skip-link:focus { translate: 0 0; }
}

/* Pied de page en bas de page : le contenu prend la hauteur restante. */
body { min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
