* { box-sizing: border-box; }
body { margin: 0; background: #fcfaf6; color: #222625; font: 1rem/1.65 var(--font-body); }
.info-header, .info-layout main { max-width: 51rem; margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2.5rem); }
.info-header { padding-block: 1.25rem; border-bottom: 1px solid #d8cabb; }
header p { margin: 0 0 .5rem; font-weight: 750; }
:where(.info-header,.info-layout) nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; padding: 0; margin: 0; }
:where(.info-header,.info-layout) nav a { display: inline-flex; min-height: 44px; align-items: center; }
:where(.info-header,.info-layout) nav [aria-current] { font-weight: 750; text-decoration-thickness: 2px; }
.info-layout main { padding-block: 2rem 4rem; overflow-wrap: anywhere; }
.info-layout h1, .info-layout h2 { font-family: var(--font-heading); line-height: 1.15; }
.info-layout h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin: .3rem 0 1.8rem; }
.info-layout h2 { font-size: 1.6rem; margin: 0 0 .5rem; }
.info-layout section + section { margin-top: 2rem; }
.info-layout p { margin: .6rem 0; }
.info-header a, .info-layout a { color: #633d21; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid #794d2b; outline-offset: 3px; }
.status { color: #514840; font-size: .9rem; }
.note { background: #eee7dd; padding: .8rem 1rem; border-inline-start: 3px solid #794d2b; }
.info-layout dt { font-weight: 700; margin-top: .6rem; }
.info-layout dd { margin: 0; }


/* Navigation des annexes et sommaires */
body { background: #f2eee7; }
.info-header {
 position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
 gap: .8rem; max-width: 70rem; margin: 1.25rem auto 0; padding: .65rem .85rem;
 border: 1px solid #ded4c6; border-radius: 1.1rem; background: #fcfaf6;
 box-shadow: 0 6px 24px #32281d0c;
}
.info-tools { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.info-header .brand img { display: block; width: 12rem; height: auto; }
.back, summary {
 display: flex; align-items: center; gap: .55rem; min-height: 44px;
 padding: .45rem .85rem; border-radius: .7rem; font-size: .88rem; font-weight: 700;
}
.back { background: #222625; color: #fcfaf6; text-decoration: none; white-space: nowrap; }
details { min-width: 0; }
summary { cursor: pointer; list-style: none; justify-content: space-between; background: #e9e3da; }
summary::-webkit-details-marker { display: none; }
.chevron { width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); flex: none; margin-inline: .15rem; }
details[open] > summary .chevron { transform: rotate(225deg); }
.page-picker { position: relative; }
.page-picker nav {
 position: absolute; top: calc(100% + .55rem); inset-inline-start: 0;
 width: min(17rem, 75vw); padding: .4rem; border-radius: .9rem;
 background: #222625; box-shadow: 0 12px 28px #22262530;
}
.page-picker ul, .desktop-toc ul, .mobile-toc ul { display: grid; gap: .1rem; }
.page-picker a, .desktop-toc a, .mobile-toc a { display: flex; padding: .4rem .7rem; border-radius: .55rem; }
.page-picker a { color: #fcfaf6; text-decoration: none; }
.page-picker a:is(:hover,[aria-current]) { background: #414745; }
.page-picker a:focus-visible { outline-color: #fcfaf6; outline-offset: -3px; }
.info-layout { display: grid; grid-template-columns: minmax(13rem, 16rem) minmax(0,1fr); gap: 1.5rem; max-width: 70rem; margin: 2.4rem auto 4rem; }
.desktop-toc { align-self: start; position: sticky; top: 1rem; padding: 1rem; background: #e9e3da; border: 1px solid #dcd2c4; border-radius: 1rem; }
.desktop-toc p { margin: .25rem .7rem .4rem; font-weight: 750; }
.desktop-toc a, .mobile-toc a { color: #222625; text-decoration: none; }
.desktop-toc a:hover, .mobile-toc a:hover { background: #fcfaf6; }
.info-layout main { width: 100%; max-width: none; padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid #ded4c6; border-radius: 1.2rem; background: #fcfaf6; }
.page-heading { border-bottom: 1px solid #ded4c6; margin-bottom: 1.8rem; }
.info-layout h1 { font-size: clamp(2.35rem, 5vw, 4rem); letter-spacing: -.035em; }
h2[id] { scroll-margin-top: 1.25rem; }
.mobile-toc { display: none; }
@media (max-width: 74rem) {
 .info-header, .info-layout { margin-inline: clamp(.75rem, 3vw, 2rem); }
}
@media (max-width: 760px) {
 .info-header { flex-direction: column-reverse; align-items: stretch; gap: .55rem; }
 .info-header .brand { align-self: flex-start; padding: .25rem; }
 .info-header .brand img { width: 10rem; }
 .info-tools { align-items: stretch; }
 .page-picker { flex: 1; }
 .page-picker nav { inset-inline: auto 0; }
 .info-layout { display: block; margin-top: 1rem; }
 .desktop-toc { display: none; }
 .mobile-toc { display: block; margin-bottom: 1.5rem; padding: .25rem; border-radius: .85rem; background: #f2eee7; }
 .mobile-toc a { margin-inline: .25rem; }
}
@media (min-width: 761px) {
 .page-picker nav { inset-inline-start: -6.6rem; }
}

/* Integration: the compact annex header is independent of the five-page header. */
.info-layout main{position:static}
.info-header .back{color:#fcfaf6}
.info-header .page-picker summary{overflow-wrap:anywhere}
.info-header .page-picker summary,.mobile-toc summary{white-space:normal}

.info-layout nav a:focus-visible{outline:2px solid #794d2b;outline-offset:-2px;box-shadow:none}
@media(max-width:360px){.info-tools{gap:.45rem}.info-header summary{font-size:.82rem;padding-inline:.65rem}.info-header .back{padding-inline:.65rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
