/* Police Exo hébergée sur le site (aucun appel à Google) */
@font-face { font-family: 'Exo'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/exo-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/exo-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/exo-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/exo-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/exo-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/exo-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/exo-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --bg: #0e2347; --bg-2: #12305a; --panel: #183a6b; --text: #eaf0f7; --muted: #a9b8d0; --accent: #e9b86a; --coral: #e07a6a; --teal: #7fc0aa;
  --radius: 14px; --gutter: clamp(16px, 4vw, 40px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.05rem/1.7 Exo, system-ui, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 .95rem/1 Exo, sans-serif; text-decoration: none; padding: 12px 22px; min-height: 44px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s; }
.btn-main { background: var(--accent); color: #1a1205; }
.btn-main:hover { transform: translateY(-2px); background: #f0c47c; }
.btn-line { color: var(--text); border-color: #eaf0f7aa; }
.btn-line:hover { background: #eaf0f71f; transform: translateY(-2px); }

/* couverture : illustration + titre + sous-titre */
.hero { padding: 0 var(--gutter) clamp(28px, 5vw, 56px); }
.cover { position: relative; width: min(1120px, 100%); margin: 0 auto; container-type: inline-size; background: var(--bg); }
.cover .art { display: block; width: 100%; height: auto; }
.cover .title { position: absolute; left: 9.33%; top: 5.5%; width: 34.58%; height: auto; filter: drop-shadow(0 2px 12px #0a183a55); }
.cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none; background: linear-gradient(to bottom, #0e234700 0%, #0e234712 14%, #0e234730 28%, #0e234760 42%, #0e234795 58%, #0e2347c4 74%, #0e2347ea 90%, #0e2347 100%); }
.cover .title, .cover .sub, .cover .quote { z-index: 1; }
.cover .quote { position: absolute; left: 4%; right: 4%; bottom: 3%; margin: 0; font-style: italic; font-size: clamp(.78rem, 1.95cqw, 1.5rem); line-height: 1.38; text-shadow: 0 1px 10px #0a183a; }
.cover .sub { position: absolute; left: 10.2%; right: 4%; top: 23%; margin: 0; color: #fff; font-size: clamp(.7rem, 1.75cqw, 1.3rem); line-height: 1.55; text-shadow: 0 1px 10px #0a183a88; }
@media (max-width: 560px) { .cover::after { display: none; } .cover .art { -webkit-mask-image: linear-gradient(#000 74%, transparent); mask-image: linear-gradient(#000 74%, transparent); } .cover .sub { position: static; padding: 4px 18px 0; font-size: .9rem; text-shadow: none; } .cover .quote { position: static; padding: 14px 18px 22px; text-shadow: none; } }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* présentation */
.pres { padding: clamp(8px, 2vw, 24px) 0 clamp(32px, 6vw, 80px); }
.pres blockquote { margin: 0 0 clamp(28px, 5vw, 52px); max-width: 34em; padding-left: clamp(16px, 3vw, 32px); border-left: 3px solid var(--accent); font-size: clamp(1.25rem, 1rem + 1.5vw, 1.85rem); line-height: 1.45; font-style: italic; font-weight: 300; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { font-size: .85rem; padding: 4px 14px; border-radius: 999px; border: 1px solid #eaf0f744; color: var(--muted); }
.pres .txt { column-gap: 40px; column-rule: 1px dotted #eaf0f755; }
@media (min-width: 900px) { .pres .txt { column-count: 2; } }
.pres p { margin: 0 0 1.1em; }
.serie { margin-top: clamp(28px, 5vw, 48px); padding-top: 24px; border-top: 1px solid #ffffff22; font-size: .95rem; color: var(--muted); }
.serie p { margin: 0 0 1em; }

/* frise */
.frise { position: sticky; top: 0; z-index: 20; background: #0e2347e8; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid #ffffff14; padding: 14px 0 10px; }
.fwrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.nodes { display: grid; grid-template-columns: repeat(var(--n), 110px); position: relative; }
.track { position: absolute; left: 55px; right: 0; top: 20px; height: 2px; background: linear-gradient(90deg, #ffffff55, #ffffff00); }
.drop { position: absolute; top: -13px; left: 55px; width: 24px; height: 28px; margin-left: -12px; transition: left .35s ease; filter: drop-shadow(0 2px 4px #0006); z-index: 2; }
.drop .d { fill: var(--teal); stroke: #eaf0f7; stroke-width: 1; }
.drop .s { fill: none; stroke: #fff; stroke-opacity: .6; stroke-width: 1.4; stroke-linecap: round; }
.node { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0 2px; display: flex; flex-direction: column; align-items: center; }
.node i { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid #ffffff66; margin-bottom: 12px; transition: all .25s; }
.node b { font-size: .9rem; font-weight: 600; }
.node.on { color: var(--text); }
.node.on i { border-color: var(--accent); background: var(--accent); transform: scale(1.3); box-shadow: 0 0 0 5px #e9b86a33; }
.more { position: absolute; right: 0; top: 14px; font-size: .78rem; color: var(--muted); font-style: italic; }
@media (max-width: 520px) { .more { display: none; } }

/* articles */
.intro { max-width: 44em; margin: 0 0 clamp(28px, 5vw, 52px); color: var(--muted); font-size: 1.05rem; }
.chap { padding: clamp(32px, 6vw, 72px) 0 clamp(8px, 2vw, 24px); }
.chap h2 { margin: 0 0 clamp(18px, 3vw, 30px); font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); color: var(--accent); font-weight: 700; line-height: 1; }
.chap h2 small { margin-left: 14px; font-size: .95rem; color: var(--teal); font-weight: 600; font-style: italic; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
.card { display: block; color: inherit; text-decoration: none; }
.imgbox { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.imgbox img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.card:hover img, .card:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }
.card h3 { margin: 12px 0 2px; font-size: 1.08rem; line-height: 1.3; }
.card p { margin: 0; font-size: .85rem; color: var(--teal); font-weight: 600; }
.nope { color: var(--muted); font-style: italic; }

.others { padding: clamp(40px, 7vw, 88px) 0 8px; }
.others h2 { margin: 0 0 clamp(18px, 3vw, 30px); font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); color: var(--accent); font-weight: 700; }
.others .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
.other { display: block; color: inherit; text-decoration: none; }
.other .imgbox { aspect-ratio: 1200 / 630; }
.other:hover img, .other:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }
.other h3 { margin: 12px 0 2px; font-size: 1.15rem; line-height: 1.3; }
.other p { margin: 0; font-size: .9rem; color: var(--muted); }
footer { text-align: center; padding: 48px var(--gutter) 56px; color: var(--muted); font-size: .9rem; line-height: 2; }
footer a { color: var(--text); }

/* article en fenêtre */
dialog { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--text); }
dialog[open] { display: grid; place-items: center; }
dialog::backdrop { background: #050d1fea; backdrop-filter: blur(4px); }
.sheet { width: min(820px, 100% - 24px); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--bg-2); border: 1px solid #ffffff1f; border-radius: var(--radius); box-shadow: 0 30px 80px #000a; padding: clamp(18px, 4vw, 40px); }
.sheet h2 { margin: 12px 0 6px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; }
.sheet .sub { margin: 0 0 20px; color: var(--teal); font-style: italic; font-weight: 600; }
.sheet h3 { margin: 1.7em 0 .15em; color: var(--accent); font-size: 1.3rem; line-height: 1.25; }
.sheet h3 + p { margin-top: 0; }
.sheet p { margin: 0 0 1em; }
.sheet ul { padding-left: 1.2em; }
.pile { display: flex; flex-wrap: wrap; justify-content: center; padding: 14px 0 26px; }
.pile img { height: clamp(150px, 27vw, 235px); width: auto; margin: 0 -9px; border-radius: 2px; box-shadow: 0 8px 22px #0007; transition: transform .3s; }
.pile img:nth-child(1) { transform: rotate(-7deg) translateY(10px); }
.pile img:nth-child(2) { transform: rotate(4deg) translateY(-12px); z-index: 1; }
.pile img:nth-child(3) { transform: rotate(-3deg) translateY(14px); }
.pile img:nth-child(4) { transform: rotate(6deg) translateY(-6px); z-index: 1; }
.pile img:nth-child(5) { transform: rotate(-5deg) translateY(8px); }
.pile img:hover { transform: rotate(0) scale(1.06); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .pile img { transition: none; } }
.sheet figure { margin: 20px 0; }
.sheet figure a { display: block; border-radius: 8px; overflow: hidden; }
.sheet figcaption { margin-top: 6px; font-size: .85rem; color: var(--muted); font-style: italic; }
.sheet blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); font-style: italic; }
.lb-close, .lb-nav { position: fixed; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #ffffff26; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.lb-close:hover, .lb-nav:hover { background: #ffffff40; }
.lb-close { top: 12px; right: 12px; font-size: 30px; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-nav[hidden] { display: none; }
@media (max-width: 900px) { .lb-nav { top: auto; bottom: 14px; translate: 0; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }
.artnav { display: flex; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 1px solid #ffffff22; }
.artnav button { flex: 1 1 0; max-width: calc(50% - 6px); min-width: 0; text-align: left; background: #ffffff0d; border: 1px solid #ffffff1f; border-radius: 10px; color: var(--text); padding: 10px 14px; cursor: pointer; font: inherit; transition: background-color .2s; }
.artnav button:hover { background: #ffffff1c; }
.artnav .newer { text-align: right; margin-left: auto; }
.artnav small { display: block; color: var(--teal); font-size: .75rem; font-weight: 600; }
.artnav span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
