:root{color-scheme:dark;--bg:#0a0c11;--panel:#11151e;--panel2:#161b26;--gold:#e4c583;--gold-muted:#b79b65;--ink:#f6f3eb;--muted:#b4bdcc;--blue:#1845b6;--line:#303747;--shell:1320px;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:92px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.55}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}a:hover{color:var(--gold)}img{display:block;max-width:100%;height:auto}button{cursor:pointer}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-weight:400}em,i{font-style:italic}h2 em{color:var(--gold)}[hidden]{display:none!important}.shell{width:min(calc(100% - 112px),var(--shell));margin-inline:auto}.section{padding-block:78px}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--gold);font-size:.72rem;font-weight:650;letter-spacing:.17em;line-height:1.5;text-transform:uppercase}.gold-line{display:inline-block;width:28px;height:1px;background:var(--gold)}.skip{position:fixed;top:8px;left:8px;z-index:99;background:var(--gold);color:#101010;padding:12px;transform:translateY(-150%)}.skip:focus{transform:translateY(0)}.topbar{position:sticky;top:0;z-index:30;background:rgba(10,12,17,.97);border-bottom:1px solid #293044;backdrop-filter:blur(16px)}.top-inner{width:min(calc(100% - 112px),var(--shell));margin:auto;min-height:79px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand svg{width:44px;height:44px;color:#e5c783}.brand b{font-size:1.03rem;font-weight:740;letter-spacing:.035em}.brand small{display:block;color:var(--gold);font-size:.62rem;font-weight:600;letter-spacing:.20em;line-height:1.5}.brand-accent{color:var(--gold)}.topbar nav{display:flex;gap:34px;align-items:center}.topbar nav a{font-size:.88rem;color:#cbd2de;font-weight:500;white-space:nowrap}.topbar nav a:hover{color:var(--gold)}.site-link{color:var(--gold);border:1px solid #5f5137;padding:10px 15px;white-space:nowrap;font-size:.81rem;font-weight:650}.site-link span{margin-left:8px}.hero{min-height:570px;position:relative;overflow:hidden;background:linear-gradient(115deg,#0b0e16 15%,#101a37 100%);isolation:isolate;border-bottom:1px solid #34405b}.hero-photo{position:absolute;inset:0 0 0 31%;z-index:-2}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 42%;filter:grayscale(100%) sepia(10%) contrast(.94) brightness(.77)}.hero-photo-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#0b0e16 0%,rgba(11,14,22,.86) 13%,rgba(11,14,22,.25) 48%,rgba(9,12,19,.08) 100%),linear-gradient(0deg,#0b0e16 0%,transparent 34%),linear-gradient(180deg,rgba(8,10,16,.22),transparent 25%)}.hero-watermark{position:absolute;z-index:-1;right:2%;bottom:-95px;line-height:1;font-family:var(--serif);font-size:clamp(170px,28vw,440px);letter-spacing:-.08em;color:rgba(255,255,255,.07);pointer-events:none}.hero-inner{width:min(calc(100% - 112px),var(--shell));margin:auto;display:flex;align-items:center;min-height:570px;position:relative;padding-block:60px 75px}.hero-copy{max-width:660px}.hero h1{font-family:var(--serif);font-size:clamp(64px,7vw,108px);line-height:.96;letter-spacing:-.057em;margin:28px 0 24px;text-shadow:0 4px 30px rgba(0,0,0,.25)}.hero h1 i{font-weight:400;color:var(--gold)}.hero-desc{font-size:1.04rem;line-height:1.7;color:#d4d7df;max-width:475px}.hero-actions{display:flex;flex-wrap:wrap;gap:15px;margin-top:30px}.primary,.secondary{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:12px 19px;font-size:.87rem;font-weight:700;transition:background .18s,color .18s}.primary{background:var(--gold);color:#13120f}.primary:hover{color:#13120f;background:#f6dca5}.secondary{border:1px solid #646c7b;background:#13182780;color:#f8f6f0}.secondary:hover{border-color:var(--gold);color:var(--gold)}.hero-credit{position:absolute;bottom:23px;right:0;font-size:.65rem;letter-spacing:.12em;color:#d4d4d4;display:flex;align-items:center;gap:8px}.hero-credit span{width:18px;height:1px;background:var(--gold)}.stats{background:linear-gradient(90deg,#101726,#0e121b);border-bottom:1px solid #303747}.stats-inner{width:min(calc(100% - 112px),var(--shell));margin:auto;display:grid;grid-template-columns:repeat(4,1fr);padding-block:23px}.stats-inner>div{border-right:1px solid #3a4150;padding-left:28px;display:flex;align-items:center;gap:15px}.stats-inner>div:first-child{padding-left:0}.stats-inner>div:last-child{border:0}.stats b{font-family:var(--serif);font-size:2.5rem;color:var(--gold);font-weight:400;line-height:1}.stats span{font-size:.62rem;letter-spacing:.095em;font-weight:700;color:#c7cfdf;max-width:110px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:32px}.section-head h2{font-family:var(--serif);font-size:clamp(36px,4.2vw,62px);letter-spacing:-.045em;line-height:1.06;margin-top:11px}.section-head>p{max-width:425px;color:var(--muted);font-size:.96rem;line-height:1.7;padding-bottom:3px}.rooms-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.room-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:280px;overflow:hidden;isolation:isolate;border:1px solid #40495a;background:#131b2b;padding:18px}.room-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.74) brightness(.82);z-index:-2;transition:transform .35s}.room-card:hover img{transform:scale(1.05)}.room-card:hover{border-color:var(--gold);color:var(--ink)}.room-card:nth-child(1){grid-column:span 2}.room-card:nth-child(7){grid-column:span 1}.room-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,12,22,.64) 0%,transparent 27%,rgba(8,11,18,.24) 45%,rgba(8,11,18,.96) 92%)}.room-number{font-size:.66rem;font-weight:650;letter-spacing:.15em;color:#fff;align-self:flex-start;border:1px solid #9a9a9a8f;background:#0a0e17aa;padding:5px 8px}.room-copy h3{font-family:var(--serif);font-size:clamp(25px,2.4vw,36px);line-height:1.04;margin:7px 0 13px}.room-copy .eyebrow{font-size:.64rem;letter-spacing:.13em}.room-link{color:#e0e5ef;font-size:.77rem;display:flex;align-items:center;justify-content:space-between}.room-link span{color:var(--gold);font-size:1.2rem}.timeline-section{background:#10141e;border-block:1px solid #2e374a}.time-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;position:relative;margin:28px 0 34px;border-top:1px solid #5c513b}.time-rail a{color:var(--muted);font-size:.73rem;letter-spacing:.035em;text-align:center;padding:20px 2px 6px;position:relative;font-variant-numeric:tabular-nums}.nav-dot{position:absolute;top:-5px;left:calc(50% - 4.5px);width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px #10141e}.time-rail a:hover{color:var(--gold)}.search-panel{display:grid;grid-template-columns:1.1fr 1fr 1.2fr auto;align-items:end;gap:14px;padding:20px;background:#171e2b;border:1px solid #344056}.search-panel label{display:block;font-size:.76rem;font-weight:600;color:#dbe0e9;margin-bottom:7px}.search-panel input,.search-panel select,.search-panel button{height:45px;padding:10px 12px;width:100%;border:1px solid #46526b;border-radius:0;color:var(--ink);background:#0b0f18;min-width:0}.search-panel input::placeholder{color:#9ba6b8}.search-panel button{background:#252f42;font-size:.8rem;color:var(--gold)}.search-panel button:hover{border-color:var(--gold)}.search-panel>*{min-width:0}.search-status{font-size:.82rem;color:var(--muted);margin:18px 0 12px}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:15px}.catalog-group{border:1px solid #30394b;background:#111723;padding:18px}.catalog-group h3{font-size:.81rem;color:var(--gold);font-weight:700;letter-spacing:.04em;margin-bottom:10px}.catalog-group h3 span{color:var(--muted);font-weight:500;margin-left:10px;letter-spacing:0}.catalog-items a{display:grid;grid-template-columns:90px 1fr 15px;gap:12px;align-items:baseline;padding:10px 0;font-size:.84rem;border-top:1px solid #2f3848;color:#e3e7ef}.catalog-items a:hover{color:var(--gold)}.catalog-date{font-variant-numeric:tabular-nums;color:var(--gold);font-weight:650}.catalog-items a span:last-child{text-align:right;color:var(--gold)}.archive-notice{margin:0 0 32px;padding:16px 20px;border:1px solid var(--line);background:#111620;color:var(--muted)}.archive-notice summary{color:var(--gold);cursor:pointer;font-size:.88rem;font-weight:650}.archive-notice p{margin-top:12px;max-width:86ch;font-size:.9rem}.archive-notice a,.chapter a{color:#9dbaff;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.archive-notice a:hover,.chapter a:hover{color:var(--gold)}.reading-layout{display:grid;grid-template-columns:228px minmax(0,1fr);gap:30px;align-items:start}.reading-nav{position:sticky;top:106px;display:flex;flex-direction:column;border-top:1px solid var(--gold-muted);padding-top:16px}.reading-nav .eyebrow{margin-bottom:14px}.reading-nav a{display:flex;gap:11px;padding:12px 8px;border-bottom:1px solid #2b3443;color:#d0d6df;font-size:.86rem;line-height:1.4}.reading-nav a:hover,.reading-nav a[aria-current]{background:#18223a;color:var(--gold)}.reading-nav small{color:var(--gold-muted);font-size:.72rem}.reading-content{min-width:0}.museum-room{margin-bottom:56px;border:1px solid #303b51;background:#111621;scroll-margin-top:12px}.room-banner{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:260px;padding:32px;overflow:hidden;background:#142039}.room-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:brightness(.7)}.room-banner::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#101621 0%,#10162180 52%,transparent 100%)}.room-banner h2{font-family:var(--serif);font-size:clamp(34px,4vw,56px);line-height:1.07;letter-spacing:-.035em;margin:10px 0}.room-banner p:last-child{color:#d8dce6;font-size:.9rem}.room-reading{padding:8px 36px 22px}.chapter{padding:28px 0;max-width:780px;margin:auto;border-bottom:1px solid #343d4c;color:#dce1ea;line-height:1.83;overflow-wrap:break-word}.chapter:last-child{border:0}.chapter-meta{display:flex;justify-content:space-between;gap:12px;color:var(--gold-muted);font-size:.65rem;letter-spacing:.10em;font-weight:650;margin-bottom:12px}.chapter h3{font-family:var(--serif);color:var(--ink);font-size:clamp(27px,3vw,39px);line-height:1.2;letter-spacing:-.02em;margin:0 0 14px}.chapter h4{font-family:var(--sans);font-size:1.06rem;font-weight:600;color:var(--gold);margin:18px 0 12px;line-height:1.45}.chapter p{margin:14px 0}.chapter p:empty{display:none}.chapter ul{padding-left:22px}.chapter li{margin:6px 0}.chapter img{margin:24px auto 8px;max-height:720px;object-fit:contain;max-width:100%}.chapter .fanion{max-width:85px;margin:20px auto 12px}.chapter .logo_inter{max-width:243px}.chapter .legende{display:block;text-align:center;color:#adb8cb;font-size:.82rem;line-height:1.5;margin:6px 0 20px}.chapter hr{height:1px;border:0;background:#384154;margin:30px 0}.chapter hr:first-of-type{margin:0 0 15px}.chapter hr:has(+h3){height:0;background:none;margin:0}.chapter .callout,.chapter .file-tree{border:1px solid #3a4964;border-left:3px solid var(--gold-muted);background:#182135;padding:16px 20px;margin:20px 0}.chapter .file-tree::before{content:'DOSSIER DOCUMENTAIRE';display:block;color:var(--gold);font-weight:700;font-size:.69rem;letter-spacing:.12em;margin-bottom:8px}.chapter .file-tree>ul{padding:0;list-style:none;margin:0}.chapter .file-tree .is-folder{list-style:none}.chapter .file-tree .is-folder>ul{margin:8px 0}.chapter .file-tree a{text-decoration:none}.chapter .file-tree a:hover{text-decoration:underline}.chapter-end{border-top:1px solid #303a4b;margin-top:26px;padding-top:12px}.chapter-end a{font-size:.8rem;color:var(--gold)}.zoomable{cursor:zoom-in}.photo-button{display:block;border:0;padding:0;max-width:100%;background:transparent;color:inherit;margin:24px auto 8px}.photo-button img{margin:0}.photo-button .zoom-label{display:block;text-align:right;font-size:.75rem;color:var(--gold);margin-top:5px}.footer{background:#0c1018;border-top:1px solid #3c465b;padding-top:52px}.footer-top{display:grid;grid-template-columns:1.3fr 1fr;gap:50px;padding-bottom:32px}.footer h2{font-family:var(--serif);font-size:44px;line-height:1.12;margin:12px 0}.footer p:not(.eyebrow){color:var(--muted);max-width:450px;font-size:.9rem}.footer nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:center;font-size:.86rem}.footer nav a{color:#d2dbe8}.footer nav a:hover{color:var(--gold)}.footer nav span{color:var(--gold)}.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-top:1px solid #303747;color:#b1bbcc;font-size:.75rem}.footer-bottom button{border:1px solid #4d596f;color:var(--muted);background:#151c2a;padding:8px 12px;font-size:.75rem}.footer-bottom a{color:var(--gold)}dialog{width:min(92vw,1000px);max-height:90vh;padding:18px;background:#101722;color:var(--ink);border:1px solid #70798b;overflow:auto}dialog::backdrop{background:#000c}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.dialog-top h2{font-size:1rem;font-weight:650}.dialog-top button{width:42px;height:42px;background:#222e42;border:1px solid #596681;color:var(--ink);font-size:1.5rem;line-height:1}#photo-full{max-height:72vh;width:auto;margin:auto}#photo-caption{text-align:center;color:var(--muted);font-size:.86rem;margin:10px 0 0}
@media(max-width:1050px){.shell,.top-inner,.hero-inner,.stats-inner{width:calc(100% - 56px)}.topbar nav{gap:20px}.rooms-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.room-card:nth-child(7){grid-column:span 1}.stats-inner>div{padding-left:16px;gap:12px}.stats b{font-size:2rem}.stats span{font-size:.58rem}.search-panel{grid-template-columns:1fr 1fr}.reading-layout{grid-template-columns:180px minmax(0,1fr);gap:20px}.room-reading{padding-inline:26px}.hero h1{font-size:clamp(68px,9vw,95px)}}
@media(max-width:720px){html{scroll-padding-top:108px}.shell,.top-inner,.hero-inner,.stats-inner{width:calc(100% - 36px)}.top-inner{min-height:0;display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0}.brand svg{width:36px;height:36px}.brand{gap:8px}.brand b{font-size:.94rem}.brand small{font-size:.55rem}.site-link{font-size:.69rem;padding:8px}.site-link span{margin-left:2px}.topbar nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:12px;border-top:1px solid #293044;padding-top:9px}.topbar nav a{font-size:.78rem}.hero{min-height:610px;background:#0b0e16}.hero-inner{min-height:610px;align-items:flex-end;padding-block:60px 64px}.hero-photo{inset:0 0 26% 0}.hero-photo img{object-position:58% 30%;filter:grayscale(100%) sepia(10%) brightness(.78)}.hero-photo-overlay{background:linear-gradient(0deg,#0b0e16 0%,#0b0e16cb 46%,transparent 86%),linear-gradient(90deg,#0b0e1640,transparent)}.hero-watermark{bottom:0;right:5%;font-size:46vw}.hero h1{font-size:clamp(58px,13vw,85px);margin:19px 0 19px}.hero-copy .eyebrow{font-size:.63rem;letter-spacing:.12em}.hero-desc{font-size:.94rem;max-width:400px}.hero-actions{gap:9px;margin-top:22px}.primary,.secondary{font-size:.76rem;padding:11px 13px;gap:9px}.hero-credit{bottom:14px;font-size:.56rem}.stats-inner{grid-template-columns:1fr 1fr;padding-block:5px}.stats-inner>div{padding:15px 8px!important;gap:10px;border-bottom:1px solid #333c4b;border-right:0}.stats-inner>div:nth-child(odd){border-right:1px solid #333c4b;padding-left:0!important}.stats-inner>div:nth-child(n+3){border-bottom:0}.stats span{font-size:.59rem}.section{padding-block:46px}.section-head{display:block;margin-bottom:23px}.section-head h2{font-size:clamp(39px,10vw,52px);margin-bottom:14px}.section-head>p{font-size:.9rem}.rooms-grid{grid-template-columns:1fr 1fr;gap:10px}.room-card{padding:12px;min-height:210px}.room-card:nth-child(1){grid-column:span 2;min-height:240px}.room-copy h3{font-size:clamp(22px,6.1vw,30px)}.room-number{font-size:.57rem}.room-copy .eyebrow{font-size:.58rem}.room-link{font-size:.71rem}.time-rail{display:flex;overflow-x:auto;border-top:0;margin:20px 0;gap:8px;padding:4px 0}.time-rail a{flex-shrink:0;padding:9px 11px;background:#192235;border:1px solid #38465e}.nav-dot{display:none}.search-panel{padding:13px;grid-template-columns:1fr;gap:12px}.catalog{grid-template-columns:1fr}.catalog-group{padding:14px}.catalog-items a{grid-template-columns:77px 1fr 12px;font-size:.81rem;gap:9px}.reading-layout{grid-template-columns:1fr}.reading-nav{position:static;display:grid;grid-template-columns:1fr 1fr;border:1px solid #33425a;padding:10px}.reading-nav .eyebrow{grid-column:1/-1;margin:4px 0 6px}.reading-nav a{font-size:.79rem;min-width:0}.room-banner{padding:20px;min-height:230px}.room-reading{padding:5px 16px 16px}.chapter{line-height:1.75;font-size:.94rem;padding:24px 0}.chapter-meta{font-size:.59rem;letter-spacing:.035em}.chapter h3{font-size:29px}.chapter h4{font-size:1rem}.chapter .file-tree,.chapter .callout{padding:12px}.footer-top{grid-template-columns:1fr;gap:20px}.footer nav{font-size:.82rem}.footer-bottom{justify-content:flex-start}.footer h2{font-size:38px}}
@media(max-width:375px){.hero-actions{flex-direction:column;align-items:flex-start}.hero h1{font-size:56px}.room-card{min-height:190px}.stats b{font-size:1.75rem}.stats span{font-size:.54rem}.room-reading{padding-inline:12px}.top-inner{width:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Thin nerazzurro architectural accent */
.stats{border-top:3px solid #163e9e}.room-card:focus-visible{outline-offset:3px}.time-rail a:focus-visible{outline-offset:-2px}

/* V2 — identité Nerazzurra. Le bleu du logo est la couleur de marque. */
:root{--bg:#060609;--panel:#0d0e13;--panel2:#12141d;--blue:#011ea1;--blue-deep:#00116e;--accent:#7d9fff;--line:#232a43;--gold:#dfc184;--gold-muted:#c6a970;--ink:#f6f7fb;--muted:#b8c0d0;--display:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--stripes:repeating-linear-gradient(90deg,rgba(1,30,161,.17) 0,rgba(1,30,161,.17) 46px,transparent 46px,transparent 92px)}
body{background:var(--bg)}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:var(--accent)}.skip{background:var(--blue);color:white}
.topbar{background:#050507f7;border-bottom:3px solid var(--blue);backdrop-filter:blur(16px)}.top-inner{min-height:84px}.brand{gap:10px}.brand-logo{width:56px;height:56px;object-fit:contain;flex:none}.brand b{font-size:1.04rem;letter-spacing:-.025em;font-weight:850}.brand small{color:#c1c9df;letter-spacing:.15em;font-weight:650}.brand-accent{color:var(--accent)}.topbar nav a{font-weight:650;color:#dce1ed}.topbar nav a:hover{color:var(--accent)}.site-link{background:var(--blue);border:1px solid #2444dc;color:#fff;border-radius:4px;padding:11px 16px}.site-link:hover{background:#1538c8;color:#fff}
.eyebrow{color:var(--accent);font-weight:800;letter-spacing:.13em}.gold-line{background:var(--blue);height:3px;width:30px}.hero{background:#060609;border-bottom:0;min-height:610px}.hero::before{content:'';position:absolute;inset:0;z-index:-3;background:var(--stripes),linear-gradient(115deg,#050507 3%,#080b1c 56%,#00116e 100%)}.hero-photo{inset:0 0 0 33%;z-index:-2}.hero-photo img{filter:grayscale(100%) contrast(1.03) brightness(.9);object-position:center 42%}.hero-photo-overlay{background:linear-gradient(90deg,#080b17 0%,rgba(5,6,12,.87) 13%,rgba(5,6,12,.18) 49%,transparent 77%),linear-gradient(0deg,#060609 0%,rgba(3,6,14,.32) 24%,transparent 57%)}.hero::after{content:'';position:absolute;left:0;top:0;bottom:0;width:8px;background:var(--blue);z-index:0}.hero-inner{min-height:610px;padding-block:60px 66px}.hero-copy{max-width:760px}.hero h1{font-family:var(--display);font-size:clamp(58px,6.7vw,100px);font-weight:900;line-height:.98;letter-spacing:-.075em;text-transform:uppercase;margin:24px 0 25px}.hero h1 i{font-style:normal;color:var(--accent);font-weight:900;display:inline-block;letter-spacing:-.07em}.hero-desc{color:#e0e5f1;font-weight:450;max-width:490px}.hero-watermark{font-family:var(--display);font-weight:900;font-size:clamp(160px,24vw,365px);color:rgba(255,255,255,.075);bottom:-67px;letter-spacing:-.09em}.hero-credit{color:#e2e5eb}.hero-credit span{background:var(--gold)}.primary,.secondary{border-radius:4px;font-weight:750}.primary{background:var(--blue);border:1px solid #2945d3;color:#fff;box-shadow:0 7px 25px #0005}.primary:hover{background:#1839c7;color:#fff}.secondary{background:#090b12b3;border-color:#51628e;color:#fff}.secondary:hover{border-color:var(--accent);color:var(--accent)}
.stats{background:linear-gradient(90deg,#050507 0%,#00116e 52%,#050507 100%);border-top:4px solid var(--blue);border-bottom:1px solid #29335a}.stats-inner{padding-block:24px}.stats-inner>div{border-color:#ffffff30}.stats b{font-family:var(--display);font-weight:850;color:white;font-size:2.4rem;letter-spacing:-.06em}.stats-inner>div:first-child b{color:var(--gold)}.stats span{color:#e0e6f4;font-weight:700}
.section-head h2,.room-banner h2,.footer h2{font-family:var(--display);font-weight:850;letter-spacing:-.055em;line-height:1.03}.section-head h2{font-size:clamp(36px,4vw,58px)}h2 em,.footer h2 em{font-style:normal;color:var(--accent)}.section-head>p{color:var(--muted)}
.room-card{border:1px solid #313d67;border-radius:6px;min-height:286px;padding:20px;box-shadow:inset 0 -4px 0 var(--blue);background:#080b16}.room-card::after{content:'';position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--blue)}.room-card img{filter:saturate(.88) brightness(.91)}.room-card:hover{border-color:var(--accent)}.room-shade{background:linear-gradient(180deg,#05060b99 0%,transparent 35%,#05060b30 52%,#050507ed 89%),linear-gradient(0deg,#011ea135,transparent 50%)}.room-number{background:var(--blue);border-color:#3552df;font-weight:800;border-radius:3px}.room-copy h3{font-family:var(--display);font-weight:850;letter-spacing:-.04em;font-size:clamp(22px,2.1vw,32px);line-height:1.06}.room-copy .eyebrow{color:var(--gold);font-weight:750}.room-link{font-weight:650}.room-link span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:var(--blue);color:#fff;border-radius:3px;flex-shrink:0}
.timeline-section{background:var(--stripes),linear-gradient(180deg,#090b15,#060609);border-color:#263777}.time-rail{border-color:#2441bf}.nav-dot{background:var(--blue);border:1px solid #7d9fff;box-shadow:0 0 0 4px #0a0d19}.time-rail a:hover{color:var(--accent)}.search-panel,.catalog-group{background:#0b0e18;border-color:#293665;border-radius:5px}.search-panel{border-top:3px solid var(--blue)}.search-panel input,.search-panel select,.search-panel button{background:#06070b;border-color:#414f79;border-radius:3px}.search-panel button{background:var(--blue);color:#fff;font-weight:700;border-color:#2948d8}.search-panel button:hover{border-color:var(--accent)}.search-panel button:disabled{opacity:.55;cursor:default}.catalog-group h3{color:var(--gold)}.catalog-items a{border-color:#242a40}.catalog-items a:hover{color:var(--accent)}.catalog-items a span:last-child{color:var(--accent)}
.archive-notice{background:#0c0f1a;border-color:#2d3961}.archive-notice summary{color:var(--accent)}.archive-notice a,.chapter a{color:var(--accent)}.archive-notice a:hover,.chapter a:hover{color:#b4c7ff}.reading-nav{border-color:var(--blue)}.reading-nav a{border-color:#252b40}.reading-nav a:hover,.reading-nav a[aria-current]{background:#011ea140;color:white;box-shadow:inset 3px 0 var(--accent)}.museum-room{background:#0b0c11;border-color:#29345a;border-radius:6px;overflow:clip}.room-banner{border-bottom:4px solid var(--blue);background:#00116e}.room-banner::after{background:linear-gradient(0deg,#050507 0%,#060609a6 43%,#011ea125 100%)}.room-banner .eyebrow{color:var(--gold)}.chapter{border-color:#262b3c;color:#e0e3ed}.chapter h3{font-family:var(--display);font-weight:820;font-size:clamp(26px,3vw,38px);letter-spacing:-.038em}.chapter h4{color:#dbe4ff;font-weight:750}.chapter hr{background:#29314a}.chapter .callout,.chapter .file-tree{border-color:#2b3c7b;border-left:3px solid var(--blue);background:#0b1124;border-radius:3px}.chapter .file-tree::before,.chapter-end a,.photo-button .zoom-label{color:var(--accent)}.chapter-end{border-color:#282f46}.footer{background:var(--stripes),#050507;border-top:4px solid var(--blue)}.footer nav a:hover,.footer nav span,.footer-bottom a{color:var(--accent)}.footer-bottom{border-color:#293052}.footer-bottom button{background:#080c17;border-color:#3b4c7a}.dialog-top button{background:var(--blue);border-color:#3654d3}dialog{background:#080b12;border-color:#3d4d83}
@media(max-width:1050px){.hero h1{font-size:clamp(56px,8.5vw,86px)}}
@media(max-width:720px){.top-inner{min-height:0;padding:9px 0;gap:8px}.brand-logo{width:42px;height:42px}.brand{gap:5px}.brand b{font-size:.88rem}.brand small{font-size:.53rem}.site-link{padding:9px 8px;font-size:.67rem}.topbar nav{border-top-color:#222b4d}.hero{min-height:590px}.hero::after{width:4px}.hero-photo{inset:0 0 22% 0}.hero-photo img{object-position:58% 28%;filter:grayscale(100%) contrast(1.02) brightness(.9)}.hero-photo-overlay{background:linear-gradient(0deg,#060609 0%,#080b16e6 42%,#080b1640 77%,transparent),linear-gradient(90deg,#00116e33,transparent)}.hero-inner{min-height:590px;padding-block:80px 55px}.hero h1{font-size:clamp(45px,11vw,74px);margin:18px 0;letter-spacing:-.065em}.hero-copy .eyebrow{font-size:.59rem;letter-spacing:.085em}.hero-watermark{font-size:40vw;bottom:0}.hero-desc{font-size:.93rem}.stats-inner{padding-block:4px}.stats b{font-size:1.85rem}.stats-inner>div{border-color:#ffffff26}.section-head h2{font-size:clamp(34px,9vw,49px)}.room-card{padding:12px;min-height:215px}.room-card:nth-child(1){min-height:240px}.room-copy h3{font-size:clamp(19px,5.5vw,28px)}.room-link span{width:25px;height:25px}.time-rail a{background:#101a37;border-color:#3d50a0;border-radius:3px}.reading-nav{background:#090c17;border-color:#293b79}.room-banner h2{font-size:clamp(29px,8vw,42px)}.chapter h3{font-size:27px}.footer h2{font-size:36px}}
@media(max-width:375px){.brand-logo{width:37px;height:37px}.hero h1{font-size:clamp(40px,11vw,51px)}.room-card{min-height:190px}.stats b{font-size:1.6rem}}
@media(max-width:720px){.hero-photo{inset:0;background:#060609}.hero-photo img{height:78%}.hero-photo-overlay{background:linear-gradient(0deg,#060609 0%,#060609 24%,#060609e6 42%,#06060955 68%,transparent 100%),linear-gradient(90deg,#00116e22,transparent)}.hero-watermark{z-index:-1}}


/* V2.1 — corrections ciblées de la chronologie et de la collection */
.archive-notice p {
  max-width: none;
}
.time-rail a:hover,
.time-rail a:focus-visible {
  color: var(--gold);
}
.time-rail a:hover .nav-dot,
.time-rail a:focus-visible .nav-dot {
  background: var(--gold);
  border-color: var(--gold);
}

/* V3 — références documentaires, sans modifier la DA V2 */
.legacy-anchor{display:block;height:0;scroll-margin-top:100px}
.source-markers{display:inline;font-size:.73em;vertical-align:super;line-height:0;white-space:normal}
.source-markers a{display:inline-block;margin-left:4px;text-decoration:none;color:var(--gold);line-height:1.3}
.source-markers a:hover,.source-markers a:focus-visible{color:var(--gold);text-decoration:underline}
.chapter-documents{margin-top:24px;padding-top:16px;border-top:1px solid #29314a}
.chapter-documents>.eyebrow{font-size:.68rem;color:var(--accent);margin-bottom:12px}
.chapter-documents figure{margin:0}
.chapter-references{margin:14px 0;border:1px solid #2b3c7b;border-radius:4px;background:#0b1124;padding:11px 15px;font-size:.86rem;line-height:1.6}
.chapter-references summary{font-weight:680;cursor:pointer;color:var(--accent)}
.chapter-references summary:hover,.chapter-references summary:focus-visible{color:var(--gold)}
.chapter-references ol,.chapter-references ul{padding-left:22px;margin:12px 0 2px}
.chapter-references p{font-size:.83rem;color:var(--muted);margin:10px 0}
.chapter-references li{overflow-wrap:anywhere}
.time-rail a:hover,.time-rail a:focus-visible{color:var(--gold)}
.time-rail a:hover .nav-dot,.time-rail a:focus-visible .nav-dot{background:var(--gold);border-color:var(--gold)}
@media(max-width:720px){.chapter-references{padding:10px 12px}.source-markers{font-size:.76em}}

/* V3.2 — accents dorés de l’accueil */
.hero h1 i,
#salles .section-head .eyebrow,
#salles .section-head h2 em {
  color: var(--gold);
}


/* V3.3 — typographie commune et finitions de l’accueil */
:root {
  --sans: InterVariable, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: var(--sans);
}

/* Accent doré sur les interactions de navigation et le repère historique. */
.topbar nav a:hover,
.topbar nav a:focus-visible {
  color: var(--gold);
}
.topbar nav a:focus-visible {
  outline-color: var(--gold);
}
.hero-copy .eyebrow,
.hero-copy .eyebrow .gold-line {
  color: var(--gold);
}
.hero-copy .eyebrow .gold-line,
#salles .section-head .eyebrow .gold-line {
  background: var(--gold);
}

/* Chiffres clés : fond uni, aucune lumière ni dégradé décoratif. */
.stats {
  background: #0d0e13;
  border-top: 1px solid #252b3e;
  border-bottom: 1px solid #252b3e;
}
.stats-inner > div {
  border-color: #292e3b;
}
.stats b {
  font-variant-numeric: tabular-nums;
}


/* V3.4 — finitions dorées de l’accueil et de la chronologie */
.hero-actions .secondary {
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.hero-actions .secondary:hover,
.hero-actions .secondary:focus-visible {
  background: rgba(223,193,132,.10);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(223,193,132,.22);
  outline-color: var(--gold);
}
.hero-actions .secondary:hover span,
.hero-actions .secondary:focus-visible span {
  color: var(--gold);
}
.room-card {
  transition: border-color .18s ease, box-shadow .18s ease;
}
.room-card::after {
  transition: background .18s ease;
}
.room-card .room-number,
.room-card .room-link span {
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.room-card:hover,
.room-card:focus-visible {
  border-color: var(--gold);
  outline-color: var(--gold);
  box-shadow: inset 0 -4px 0 var(--gold);
}
.room-card:hover::after,
.room-card:focus-visible::after {
  background: var(--gold);
}
.room-card:hover .room-number,
.room-card:focus-visible .room-number {
  background: var(--gold);
  border-color: var(--gold);
  color: #111317;
}
.room-card:hover .room-link span,
.room-card:focus-visible .room-link span {
  color: var(--gold);
}
#chronologie .section-head .eyebrow {
  color: var(--gold);
}
#chronologie .section-head .eyebrow .gold-line {
  background: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  .hero-actions .secondary, .room-card, .room-card::after,
  .room-card .room-number, .room-card .room-link span {
    transition: none;
  }
}

/* V3.4 — cohérence des accents et lisibilité de la police Inter */
/* Les titres conservent leur hiérarchie, sans lettres ni lignes écrasées. */
.hero h1, .hero h1 i {
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.06;
  word-spacing: .045em;
}
.section-head h2, .room-banner h2, .footer h2 {
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
}
.room-copy h3, .chapter h3 {
  font-weight: 750;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.stats b { letter-spacing: -.02em; }
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(35px, 10.4vw, 66px); }
}
/* Doré pour les repères historiques, bleu pour la structure. */
.eyebrow, .chapter-documents > .eyebrow { color: var(--gold); }
.gold-line { background: var(--gold); }
a:hover, a:focus-visible { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible { outline-color: var(--gold); }
/* Les boutons bleus restent bleus au repos. */
.primary:hover, .primary:focus-visible,
.site-link:hover, .site-link:focus-visible,
.search-panel button:not(:disabled):hover,
.search-panel button:not(:disabled):focus-visible,
.dialog-top button:hover, .dialog-top button:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #111317;
}
/* Cartes : contour, liseré, numéro et flèche au survol. */
.room-card:hover, .room-card:focus-visible { color: var(--ink); }
.room-card:hover .room-link span, .room-card:focus-visible .room-link span {
  background: var(--gold);
  color: #111317;
}
/* Chronologie et lecture. */
.time-rail a:hover, .time-rail a:focus-visible,
.catalog-items a:hover, .catalog-items a:focus-visible,
.catalog-items a:hover span:last-child, .catalog-items a:focus-visible span:last-child,
.archive-notice a:hover, .archive-notice a:focus-visible,
.chapter a:hover, .chapter a:focus-visible,
.archive-notice summary:hover, .archive-notice summary:focus-visible,
.chapter-references summary:hover, .chapter-references summary:focus-visible,
.photo-button:hover .zoom-label, .photo-button:focus-visible .zoom-label,
.footer nav a:hover, .footer nav a:focus-visible,
.footer nav a:hover span, .footer nav a:focus-visible span,
.footer-bottom a:hover, .footer-bottom a:focus-visible {
  color: var(--gold);
}
.reading-nav a:hover, .reading-nav a:focus-visible {
  color: var(--gold);
  background: rgba(223,193,132,.08);
  box-shadow: inset 3px 0 var(--gold);
}
.footer-bottom button:hover, .footer-bottom button:focus-visible {
  color: var(--gold); border-color: var(--gold);
}

/* V3.5 — les titres d’époque sont des en-têtes, pas des liens. */
.catalog-group > h3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  margin: 0 0 10px;
  background: #171a24;
  border-left: 3px solid var(--gold);
  border-radius: 0 3px 3px 0;
  color: var(--gold);
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .06em;
  cursor: default;
}
.catalog-group > h3 > span {
  color: var(--ink);
  margin: 0;
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .025em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}


/* V3.8 — bannière de consentement et finitions du footer */
.footer h2 em {
  color: var(--gold);
}
.footer nav a span,
.footer-bottom #up-button {
  color: var(--gold);
}
.footer-bottom #analytics-toggle {
  color: var(--gold);
  border-color: #5a4b31;
}
.footer-bottom #analytics-toggle:hover,
.footer-bottom #analytics-toggle:focus-visible {
  background: rgba(228,197,131,.10);
  color: var(--gold);
  border-color: var(--gold);
}

/* V3.9.1 — consentement, fenêtre modale Nerazzurra. */
html.cookie-dialog-open { overflow: hidden; }
.cookie-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(540px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: clamp(24px, 5vw, 36px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #0e1017;
  color: var(--ink);
  border: 1px solid #343a4b;
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 24px 80px #000b;
}
.cookie-dialog::backdrop { background: rgba(3, 4, 9, .85); }
.cookie-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #282d3c; }
.cookie-heading img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.cookie-heading span { font-size: .95rem; font-weight: 800; line-height: 1.3; }
.cookie-heading small { font-size: .65rem; color: var(--muted); letter-spacing: .12em; }
.cookie-kicker { color: var(--gold); font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.cookie-dialog h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.2; margin: 8px 0 16px; font-weight: 750; letter-spacing: -.015em; }
.cookie-dialog h2:focus { outline: none; }
.cookie-dialog p:not(.cookie-kicker) { color: #d7dce7; font-size: .9rem; line-height: 1.65; margin: 0 0 12px; }
.cookie-dialog p.cookie-current { color: var(--gold); border-top: 1px solid #282d3c; padding-top: 12px; margin-top: 16px; }
.cookie-dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.cookie-dialog-actions button {
  width: 100%; min-height: 48px; padding: 11px 12px; border-radius: 5px;
  border: 1px solid #4260dc; background: var(--blue); color: #fff;
  font-size: .95rem; font-weight: 700;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.cookie-dialog-actions button:hover, .cookie-dialog-actions button:focus-visible { background: var(--gold); border-color: var(--gold); color: #111317; }
@media (max-width: 375px) {
  .cookie-dialog { padding: 20px; }
  .cookie-dialog-actions { gap: 8px; }
  .cookie-heading { margin-bottom: 18px; padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-dialog-actions button { transition: none; } }


/* V4.2.1 - chronology heading on narrow screens, without forcing a single line. */
@media (max-width:720px) {
  #chronologie .section-head h2 {
    font-size:clamp(23px,7.7vw,42px);
    line-height:1.12;
    letter-spacing:-.02em;
  }
  html[lang="en"] #chronologie .section-head h2 {font-size:clamp(22px,7.3vw,40px);}
}

/* V4.2.3 — raccord header / hero sans liseré bleu. */
.topbar { border-bottom: 0; }
.hero { background: #050507; border: 0; box-shadow: none; }
.hero::before { background: var(--stripes), #050507; }
.hero::after { content: none; display: none; }

/* V4.2.5 - English hero: keep the longer signature comfortable. */
html[lang="en"] .hero h1 { font-size: clamp(36px, 6vw, 86px); }
@media (max-width:720px) { html[lang="en"] .hero h1 { font-size: clamp(26px, 8.5vw, 60px); } }
