:root { color-scheme: dark; --page: #0b1019; --panel: #111827; --ink: #eee8dc; --muted: #bdb5a8; --line: rgba(213, 154, 73, .42); --accent: #d59a49; --blue: #7569c8; }
html { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
body {
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at 18% 8%, rgba(117, 105, 200, .14), transparent 30rem), var(--page);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.65;
}
seuil-navigation { display: block; width: 100%; max-width: 100vw; min-width: 0; align-self: stretch; }
body > header, body > footer { width: 100%; max-width: 100%; padding: 1.25rem 1rem; text-align: center; }
body > header { border-bottom: 1px solid var(--line); }
body > header h1 { max-width: 100%; margin: 0; overflow-wrap: anywhere; font: 500 clamp(2.3rem, 8vw, 5.5rem)/1.02 Georgia, serif; }
body > main {
    display: flex;
    min-width: 0;
    width: min(calc(100% - 2rem), 87.5rem);
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(2rem, 6vw, 5rem) 0;
}
.movement-1, .movement-2 {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 2.5rem);
    min-width: 0;
    width: 100%;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}
.movement-2.hidden { display: none; }
.movement-1 > *, .movement-2 > * { min-width: 0; }
.text-container { display: flex; align-items: center; justify-content: center; text-align: left; }
.text-container p { max-width: 38rem; overflow-wrap: anywhere; font: clamp(1.05rem, 2vw, 1.3rem)/1.65 Georgia, serif; }
.image-container { position: relative; min-width: 0; border: 1px solid var(--line); background: var(--panel); }
img { display: block; max-width: 100%; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.slider-container { position: relative; width: min(100%, 42rem); margin: 0 auto clamp(2rem, 6vw, 4rem); text-align: center; }
.slider-container h2 { margin-bottom: .25rem; font: 500 clamp(1.8rem, 4vw, 3rem)/1.1 Georgia, serif; }
.slider-container p { color: var(--muted); }
#slider { width: 100%; height: 5px; border-radius: 5px; outline: none; opacity: .85; appearance: none; background: var(--ink); }
#slider::-webkit-slider-thumb { width: 18px; height: 18px; border-radius: 50%; appearance: none; background: var(--accent); cursor: pointer; }
#slider::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; }
.lens { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; background: rgba(255,255,255,.7); }
body > footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
@media (max-width: 48rem) {
    body > main { width: min(calc(100% - 2rem), 32rem); }
    .movement-1, .movement-2 { grid-template-columns: minmax(0, 1fr); }
    .movement-2 .image-container { order: 1; }
    .movement-2 .text-container { order: 2; }
    .slider-container { width: 100%; }
}
