/* V12 : conserver les compositions et enrichir discrètement leur toile de fond. */
:root{--body-green:#465442;--card:#dad7d0;--card-green:#cfd3c8;--card-ink:#2d402e;--content-width:1600px}
[data-page] main,[data-page=index] main{
 position:relative;isolation:isolate;
 background-color:var(--body-green);
 background-image:radial-gradient(ellipse at 0% 22%,#9b917633 0,transparent 35%),radial-gradient(ellipse at 100% 52%,#a3b29524 0,transparent 35%),linear-gradient(180deg,#3c4b3d 0%,#52604b 28%,#465442 63%,#3d4c3e 100%);
}
/* Traits abstraits, sans reproduire ni suggérer un plan réel du fort. */
[data-page] main::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url('assets/traces-v12.svg');background-size:1800px 1400px;background-position:center 600px;background-repeat:repeat-y;opacity:.55}
.shell{width:min(var(--content-width),calc(100% - 64px));max-width:var(--content-width)}
.home-museum{width:min(var(--content-width),calc(100% - 64px))}
.article-heading{max-width:var(--content-width)}
.header{background:#354637;box-shadow:0 8px 24px #17261829}
.page-heading>p:not(.eyebrow){max-width:62ch;color:#e0e3d8}
.page-heading .eyebrow,.section>.eyebrow{color:#e0dfcd}
.home-discover,.home-next,.home-prepare,.home-news,.museum-gallery,.timeline-section,.practical-advice,[data-page] .soft{background:transparent}
.home-discover .discovery-card,.home-news .news-card,.news-list .news-card{box-shadow:0 14px 35px #1f2c2426}
/* Le texte reste mesuré, même lorsque la composition est plus large. */
.history-route p,.museum-context p,.support-story p,.partners-layout>div>p{max-width:62ch}
.history-route,.museum-context,.support-story,.tank-section{column-gap:clamp(32px,4vw,70px)}
/* Contrastes des surfaces claires : ne pas hériter des textes prévus pour le fond sombre. */
#musee-pratique .shell{background:#dad7d0;color:#2d402e}
#musee-pratique h2,#musee-pratique h3,#musee-pratique .text-link,#musee-pratique article a{color:#2d402e}
#musee-pratique .practical-grid p{color:#40513b}
#musee-pratique .practical-grid article{border-color:#a5af9b}
.news-card,.news-list .news-card{background:#dad7d0;color:#2d402e;border-color:#adb6a4}
.news-card h3,.news-card h2,.news-card .text-link,.news-card a{color:#2d402e}
.news-card p,.news-card .news-meta,.news-card time,.news-card .news-meta span{color:#40513b}
.news-card .image-label{color:#f5f2e9;background:#30432e}
.filters button{background:#d7d9cd;color:#30432e;border-color:#aab49d}
.filters button.active,.filters button:hover{background:#30432e;color:#f5f2e9;border-color:#bcc6ad}
.surface-toggle{display:block;border:1px solid #aab79d;border-radius:9px;background:#30432e;color:#f5f2e9;padding:10px 15px;min-height:44px;margin:12px 9px 9px;font:inherit;font-size:13px;cursor:pointer}
.surface-toggle:hover{background:#243724}
.surface-toggle:focus-visible{outline:3px solid #f5f2e9;outline-offset:3px}
@media(min-width:1700px){.hero .shell{width:min(1600px,calc(100% - 96px))}.home-next .next-date time strong{font-size:88px}.home-next .next-details>p.next-description{max-width:40ch}}
@media(max-width:1000px){.shell,.home-museum{width:calc(100% - 48px)}}
@media(max-width:760px){.shell,.home-museum{width:calc(100% - 40px)}[data-page] main::before{background-size:1000px 1000px;opacity:.35}.header{background:#354637}.surface-toggle{margin-inline:6px}}
