/* Socle partagé : polices, couleurs, éléments, accessibilité, boutons et titres. */
@font-face { font-family: "Lilita One"; src: url("/images/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; font-style: normal; font-weight: 400; }
@font-face { font-family: "Nunito"; src: url("/images/Nunito.ttf") format("truetype"); font-display: swap; font-style: normal; font-weight: 200 1000; }
:root { color-scheme: dark; --cream: #fff1ce; --gold: #ffd576; --cyan: #8beaff; --deep: #071729; --display: "Lilita One", "Trebuchet MS", sans-serif; --body: "Nunito", "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { scroll-padding-top: 12px; }
body { margin: 0; background: var(--deep); color: var(--cream); font-family: var(--body); }
body, a, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
a:focus-visible { outline: 3px solid #bcf5ff; outline-offset: 5px; }
::selection { background: #ffd576; color: #102447; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 30; top: 10px; left: 10px; padding: 14px 20px; background: var(--gold); color: #112b4b; font-weight: 900; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.stone-button { display: inline-flex; min-height: 81px; width: 258px; padding: 20px 32px 23px; align-items: center; justify-content: center; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; font-family: var(--display); font-size: 20px; line-height: 1.1; text-align: center; }
.stone-button:hover { filter: brightness(1.13); }
.gold-button { background-image: url("/images/bouton-or.png"); color: #fff0bf; -webkit-text-stroke: 2px #512411; paint-order: stroke fill; text-shadow: 0 3px 0 #713414; }
.blue-button { background-image: url("/images/bouton-bleu.png"); color: #fff1d1; -webkit-text-stroke: 2px #05152d; paint-order: stroke fill; text-shadow: 0 3px 0 #03152b; }
.scene-heading { position: relative; z-index: 3; text-align: center; padding: 14px 22px 0; }
.rune-title { display: flex; width: min(650px, 95%); min-height: 174px; margin-inline: auto; align-items: center; justify-content: center; padding: 32px 90px 38px; background: url("/images/bandeau-pierre.png") center / 100% 100% no-repeat; color: var(--gold); font-size: 48px; line-height: 1.05; -webkit-text-stroke: 3px #071426; paint-order: stroke fill; text-shadow: 0 4px 0 #061527; }
.scene-heading > p { max-width: 660px; margin: -4px auto 0; color: #fff4dc; font-size: 17px; font-weight: 850; line-height: 1.65; text-shadow: 0 2px 4px #081022; }
@media (max-width: 1100px) {
    .rune-title { width: 570px; min-height: 155px; font-size: 43px; }
    .scene-heading > p { font-size: 15px; }
}
@media (max-width: 760px) {
    .scene-heading { padding-inline: 16px; }
    .rune-title { width: 100%; max-width: 570px; min-height: 143px; font-size: 39px; padding-inline: 75px; }
    .scene-heading > p { max-width: 460px; font-size: 14px; line-height: 1.6; }
}
@media (max-width: 440px) {
    .rune-title { min-height: 110px; font-size: 30px; padding: 25px 56px 29px; }
    .scene-heading > p { max-width: 340px; margin-top: 4px; font-size: 12px; }
}
@media (max-width: 360px) {
    .rune-title { min-height: 102px; font-size: 27px; padding-inline: 45px; }
}
@media (prefers-contrast: more) {
    .scene-heading > p { background: #071729d0; padding: 8px; }
}
@media print {
    :root { color-scheme: light; }
    body { background: white; color: #102447; }
}

/* La navigation entre sections reste instantanée si le mouvement est réduit. */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
