/* =========================================================
   Reportage Nautilus XPLOAD : direction « magazine de collection »
   Fond noir, métal, cuivre de la charte, grandes respirations.
   ========================================================= */
.page-xpload { background: #050505; }
.xp-page { --xp-ink: #050505; --xp-paper: #ece6d9; --xp-muted: #a99f8e; --xp-gold: #e8a86a; --xp-copper: #c8803c; --xp-line: rgba(232, 168, 106, .22); color: var(--xp-paper); padding-top: 72px; }
.xp { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* ---------- Héros ---------- */
.xp-hero { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; overflow: hidden; background: radial-gradient(80% 60% at 50% 40%, #1a1510 0%, #050505 70%); }
.xp-hero .xp-slot { position: absolute; inset: 0; margin: 0; }
.xp-hero__txt { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 0 0 clamp(2.5rem, 7vw, 5rem); }
.xp-hero__eyebrow { margin: 0 0 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--xp-gold); }
.xp-hero h1 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(4.2rem, 17vw, 14rem); line-height: .82; letter-spacing: .01em; color: #f6efe2; text-transform: uppercase; }
.xp-hero h1 span { display: block; font-size: .42em; letter-spacing: .32em; color: var(--xp-gold); line-height: 1.2; }
.xp-hero__sub { margin: 1.4rem 0 0; font-family: var(--f-wide); font-stretch: 125%; font-weight: 600; font-size: clamp(.8rem, 1.6vw, 1.05rem); letter-spacing: .3em; text-transform: uppercase; color: var(--xp-paper); }

/* ---------- Introduction et frise ---------- */
.xp-intro { max-width: 46rem; margin: clamp(3rem, 8vw, 6rem) auto 0; }
.xp-lede { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.25; color: #f6efe2; margin: 0 0 1.6rem; }
.xp-text p, .xp-intro p:not(.xp-lede) { font-size: 1.1rem; line-height: 1.8; color: #d6cab5; margin: 0 0 1rem; }
.xp-frise { list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 1.6rem 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 1fr); gap: 0; overflow-x: auto; border-top: 1px solid var(--xp-line); border-bottom: 1px solid var(--xp-line); scrollbar-width: thin; }
.xp-frise li { position: relative; padding: 1.4rem 1rem 0 0; }
.xp-frise li::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--xp-copper); box-shadow: 0 0 0 4px rgba(200, 128, 60, .18); }
.xp-frise__y { display: block; font-family: var(--f-display); font-size: 1.7rem; line-height: 1; color: var(--xp-gold); }
.xp-frise__t { display: block; margin-top: .4rem; font-size: .86rem; line-height: 1.45; color: var(--xp-muted); }

/* ---------- Ouvertures de chapitre ---------- */
.xp-chap { position: relative; margin: clamp(5rem, 12vw, 9rem) 0 clamp(2rem, 4vw, 3rem); padding-top: 2rem; border-top: 1px solid var(--xp-line); }
.xp-chap__num { position: absolute; right: 0; top: .1em; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(5rem, 16vw, 12rem); line-height: 1; color: rgba(232, 168, 106, .16); pointer-events: none; }
.xp-chap__kicker { margin: 0 0 .8rem; font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--xp-gold); }
.xp-chap h2 { position: relative; max-width: 18ch; margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: .95; text-transform: uppercase; color: #f6efe2; }
.xp-text { max-width: 46rem; margin: 0 auto; }
.xp-text h3 { margin: 2.6rem 0 .8rem; font-family: var(--f-display); font-weight: 400; font-size: 2rem; letter-spacing: .03em; text-transform: uppercase; color: #f3ece0; }
.xp-stamp { display: inline-block; margin: 0 0 1.2rem !important; padding: .35rem .8rem; border: 1px solid var(--xp-copper); font-family: var(--f-wide); font-stretch: 125%; font-size: .72rem !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--xp-gold) !important; }

/* ---------- Mises en page ---------- */
.xp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-bottom: 1.5rem; }
.xp-split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.xp-split .xp-text { margin: 0; }
.xp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0; }
.xp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; }
.xp-gallery--four { grid-template-columns: repeat(4, 1fr); }

/* ---------- Emplacements d'images ---------- */
.xp-slot { margin: 2.5rem 0; }
.xp-split .xp-slot, .xp-pair .xp-slot, .xp-gallery .xp-slot { margin: 0; }
.xp-slot__box { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .55rem; aspect-ratio: 4 / 3; padding: 1.4rem; text-align: center; border: 1px dashed rgba(232, 168, 106, .45); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 14px, transparent 14px 28px), #0e0c0a; }
.xp-slot__kind { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--xp-gold); }
.xp-slot strong { max-width: 26ch; font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.05; letter-spacing: .02em; color: #f3ece0; }
.xp-slot__note { font-size: .8rem; color: var(--xp-muted); }
.xp-slot__link { font-size: .82rem; font-weight: 600; color: var(--xp-gold); text-decoration: none; border-bottom: 1px solid currentColor; }
.xp-slot--archive .xp-slot__box { background: #ebe3d4; border-color: #b8a27f; }
.xp-slot--archive .xp-slot__kind { color: #8a5424; }
.xp-slot--archive strong { color: #1a140c; }
.xp-slot--archive .xp-slot__link { color: #6b3f16; }
.xp-slot--doc .xp-slot__box { aspect-ratio: 3 / 4; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); transform: rotate(-1deg); }
.xp-slot--portrait .xp-slot__box { aspect-ratio: 4 / 5; filter: grayscale(1); }
.xp-slot--wide .xp-slot__box { aspect-ratio: 16 / 9; }
.xp-slot--hero .xp-slot__box { height: 100%; aspect-ratio: auto; border: 0; border-bottom: 1px dashed rgba(232, 168, 106, .35); background: transparent; justify-content: flex-start; padding-top: 18vh; }
.xp-slot figcaption { margin-top: .7rem; font-size: .85rem; line-height: 1.5; color: var(--xp-muted); }
.xp-credit { display: inline-block; font-size: .74rem; letter-spacing: .04em; color: #7f7667; }

/* ---------- Citations ---------- */
.xp-quote { max-width: 58rem; margin: clamp(3rem, 7vw, 5rem) auto; padding: 0; text-align: center; }
.xp-quote p { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.2; color: #f6efe2; }
.xp-quote::before { content: "◆ ✦ ◆"; display: block; margin-bottom: 1.4rem; font-size: .8rem; letter-spacing: .6em; color: var(--xp-copper); }

/* ---------- Carte ---------- */
.xp-map { max-width: 60rem; margin: 3rem auto; }
.xp-map svg { display: block; width: 100%; height: auto; }
.xp-map__land { fill: #15120e; stroke: rgba(232, 168, 106, .55); stroke-width: 1.4; stroke-linejoin: round; }
.xp-map__pin circle { fill: var(--xp-gold); }
.xp-map__pin .xp-map__halo { fill: rgba(232, 168, 106, .22); }
.xp-map__city { font-family: var(--f-display); font-size: 24px; letter-spacing: .04em; fill: #f6efe2; }
.xp-map__sub { font-family: var(--f-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; fill: var(--xp-muted); }
.xp-map figcaption, .xp-schema figcaption { margin-top: 1rem; font-size: .9rem; line-height: 1.6; color: var(--xp-muted); }
.xp-map figcaption strong, .xp-schema figcaption strong { color: var(--xp-paper); }

/* ---------- Schéma ---------- */
.xp-schema { max-width: 46rem; margin: 2.5rem auto; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--xp-line); background: linear-gradient(rgba(232, 168, 106, .05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(232, 168, 106, .05) 1px, transparent 1px) 0 0 / 24px 24px, #0b0a08; }
.xp-schema svg { display: block; width: 100%; height: auto; }
.xp-schema__ground { stroke: #8f8676; stroke-width: 2; }
.xp-schema__hatch { stroke: rgba(143, 134, 118, .5); stroke-width: 2; }
.xp-schema__bar { stroke: #e6ddcc; stroke-width: 7; stroke-linecap: round; }
.xp-schema__bar--coupler { stroke: var(--xp-copper); }
.xp-schema__path { fill: none; stroke: var(--xp-gold); stroke-width: 2; stroke-dasharray: 6 7; }
.xp-schema__handle { fill: #050505; stroke: var(--xp-gold); stroke-width: 4; }
.xp-schema__joint circle { fill: #050505; stroke: #e6ddcc; stroke-width: 3; }
.xp-schema__tag circle { fill: var(--xp-copper); }
.xp-schema__tag text { font: 700 14px var(--f-body); fill: #120e06; text-anchor: middle; }
.xp-schema__label { font: 600 15px var(--f-body); fill: #f6efe2; letter-spacing: .06em; text-transform: uppercase; }
.xp-schema__label--muted { fill: var(--xp-gold); font-weight: 500; text-transform: none; font-style: italic; }

/* ---------- Points clés et critères ---------- */
.xp-keys { list-style: none; margin: 2.2rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1px; background: var(--xp-line); border: 1px solid var(--xp-line); }
.xp-keys li { padding: 1.1rem 1.2rem; background: #0b0a08; }
.xp-keys strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; color: var(--xp-gold); letter-spacing: .03em; }
.xp-keys span { font-size: .92rem; line-height: 1.5; color: #cfc4b0; }
.xp-criteria { list-style: none; margin: 1.6rem 0; padding: 0 0 0 1.2rem; border-left: 2px solid var(--xp-copper); }
.xp-criteria li { font-family: var(--f-serif); font-style: italic; font-size: 1.45rem; line-height: 1.45; color: #f3ece0; }

/* ---------- Signature ---------- */
.xp-signature { position: relative; margin-top: clamp(4rem, 10vw, 7rem); background: #000; }
.xp-signature .xp-slot { margin: 0; }
.xp-signature .xp-slot__box { min-height: min(80vh, 760px); }
.xp-signature__txt { margin: 0; padding: clamp(2.5rem, 7vw, 5rem) 16px clamp(3rem, 8vw, 6rem); text-align: center; font-family: var(--f-display); font-size: clamp(2.8rem, 9vw, 6.5rem); line-height: .95; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.xp-signature__txt span { color: var(--xp-gold); }
.xp-sign { text-align: center; font-family: var(--f-wide); font-stretch: 125%; font-weight: 600; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--xp-muted); }

/* ---------- Fiche d'identité ---------- */
.xp-fiche { max-width: 52rem; margin: clamp(4rem, 9vw, 6rem) auto 0; padding: clamp(1.4rem, 4vw, 2.6rem); border: 1px solid rgba(232, 168, 106, .45); background: linear-gradient(180deg, #12100c, #0a0907); }
.xp-fiche h2 { margin: 0 0 1.6rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; color: #f6efe2; text-transform: uppercase; }
.xp-fiche h2 span { display: block; margin-bottom: .5rem; font-family: var(--f-body); font-size: .72rem; font-weight: 600; letter-spacing: .24em; color: var(--xp-gold); }
.xp-fiche dl { margin: 0; }
.xp-fiche dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(232, 168, 106, .15); }
.xp-fiche dt { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--xp-muted); }
.xp-fiche dd { margin: 0; font-weight: 500; color: #f3ece0; }
.xp-fiche dd.xp-tbd { font-style: italic; color: var(--xp-gold); font-weight: 400; }

/* ---------- Sources ---------- */
.xp-sources { max-width: 52rem; margin: 4rem auto 0; }
.xp-sources h2 { margin: 0 0 1rem; font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; letter-spacing: .04em; text-transform: uppercase; color: #f3ece0; }
.xp-sources ul { margin: 0 0 1.2rem; padding-left: 1.1rem; display: grid; gap: .45rem; }
.xp-sources li { color: #cfc4b0; }
.xp-sources a { color: var(--xp-gold); }
.xp-sources p { font-size: .9rem; line-height: 1.6; color: var(--xp-muted); }
.xp-page .article__cta { max-width: 52rem; margin: 3rem auto 0; }
.xp-back { max-width: 52rem; margin: 2rem auto 4rem; }
.xp-back a { color: var(--xp-gold); text-decoration: none; font-weight: 600; }

/* ---------- Téléphone ---------- */
@media (max-width: 860px) {
  .xp-split, .xp-split--rev, .xp-pair { grid-template-columns: 1fr; }
  .xp-gallery, .xp-gallery--four { grid-template-columns: 1fr 1fr; }
  .xp-gallery > :nth-child(3):last-child { grid-column: 1 / -1; }
  .xp-slot--doc .xp-slot__box { transform: none; }
  .xp-slot--hero .xp-slot__box { padding-top: 16vh; }
}
@media (max-width: 520px) {
  .xp-text p, .xp-intro p:not(.xp-lede) { font-size: 1.04rem; }
  .xp-slot strong { font-size: 1.2rem; }
  .xp-gallery, .xp-gallery--four { grid-template-columns: 1fr; }
  .xp-fiche dl div { grid-template-columns: 1fr; gap: .15rem; }
  .xp-criteria li { font-size: 1.25rem; }
  .xp-map__city { font-size: 30px; }
  .xp-map__sub { font-size: 17px; }
}

/* ---------- Images réelles ---------- */
.xp-hero__img { position: absolute; inset: 0; display: flex; justify-content: flex-end; align-items: center; padding: 90px 4vw 0 0; }
.xp-hero__img .xp-mach { height: min(86vh, 820px); width: auto; max-width: 62vw; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0,0,0,.8)) drop-shadow(-30px 0 60px rgba(232,168,106,.08)); }
.xp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.85) 0%, rgba(5,5,5,.2) 45%, transparent 70%), linear-gradient(0deg, #050505 0%, transparent 30%); pointer-events: none; }
.xp-hero__txt { z-index: 3; }
.xp-mach { display: block; }
.xp-photo { margin: 0; }
.xp-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #050505; border: 1px solid rgba(232,168,106,.18); }
.xp-photo figcaption { margin-top: .6rem; font-size: .85rem; color: var(--xp-muted); }
.xp-photo--cut img { aspect-ratio: 3 / 4; object-fit: contain; padding: 1rem; background: radial-gradient(70% 60% at 50% 55%, #17130e, #050505); }
.xp-pair .xp-photo img { aspect-ratio: 4 / 3; }
.xp-note { max-width: 46rem; margin: 0 auto 1.4rem; font-size: .95rem; color: var(--xp-muted); }
.xp-arch { margin: 2.5rem auto; max-width: 46rem; }
.xp-arch--wide { max-width: 52rem; }
.xp-arch__paper { padding: 12px; background: #e9e1d1; box-shadow: 0 24px 50px rgba(0,0,0,.6); transform: rotate(-.6deg); }
.xp-gallery .xp-arch:nth-child(2) .xp-arch__paper { transform: rotate(.8deg); }
.xp-arch__paper img { display: block; width: 100%; height: auto; filter: sepia(.18) contrast(1.04); }
.xp-arch figcaption { margin-top: 1rem; font-size: .88rem; line-height: 1.55; color: var(--xp-muted); }
.xp-arch__tag { display: block; margin-bottom: .25rem; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--xp-gold); }
.xp-gallery .xp-arch { margin: 0; }
.xp-split .xp-arch { margin: 0; }
.xp-arch--portrait { max-width: 22rem; }
.xp-studio { margin: 3rem calc(50% - 50vw); padding: clamp(2rem, 6vw, 5rem) 16px; background: radial-gradient(55% 70% at 35% 50%, #1b1610, #000 75%); }
.xp-studio .xp-mach { width: min(980px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 50px 50px rgba(0,0,0,.9)); }
.xp-signature__img { padding: clamp(3rem, 8vw, 6rem) 16px 0; background: radial-gradient(45% 60% at 50% 55%, #18130d, #000 75%); }
.xp-signature__img .xp-mach { width: min(560px, 90vw); height: auto; margin: 0 auto; filter: drop-shadow(0 40px 40px rgba(0,0,0,.9)); }
@media (max-width: 860px) {
  .xp-hero { min-height: 100svh; align-items: end; }
  .xp-hero__img { padding: 80px 0 34vh; justify-content: center; }
  .xp-hero__img .xp-mach { height: auto; max-height: 58vh; max-width: 92vw; }
  .xp-hero::after { background: linear-gradient(0deg, #050505 0%, rgba(5,5,5,.6) 35%, transparent 60%); }
  .xp-arch--portrait { max-width: 18rem; margin: 0 auto; }
}
.xp-legend { list-style: none; margin: 1.4rem 0 2rem; padding: 0; display: grid; gap: 1px; background: var(--xp-line); border: 1px solid var(--xp-line); }
.xp-legend li { display: grid; grid-template-columns: 11rem 1fr; gap: 1.2rem; padding: 1rem 1.2rem; background: #0b0a08; }
.xp-legend strong { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; letter-spacing: .03em; color: var(--xp-gold); line-height: 1.1; }
.xp-legend span { font-size: .98rem; line-height: 1.6; color: #cfc4b0; }
@media (max-width: 600px) { .xp-legend li { grid-template-columns: 1fr; gap: .3rem; } }
/* Archives en basse définition : affichées petit pour rester nettes */
.xp-arch--wide { max-width: 42rem; }
.xp-arch--small { max-width: 17rem; }
.xp-arch--portrait { max-width: 15rem; }
.xp-split .xp-arch--portrait { margin: 0 auto; }
@media (max-width: 860px) { .xp-arch--portrait { max-width: 13rem; } .xp-arch--small { max-width: 15rem; } }
.xp-photo--wide { max-width: 46rem; margin: 2.5rem auto; }
.xp-photo--wide img { aspect-ratio: auto; }
.xp-criteria li::first-letter { text-transform: uppercase; }
.xp-photo--wide { max-width: 38rem; }
.xp-imgnote { margin: 1rem auto 0; text-align: center; font-size: .78rem; letter-spacing: .04em; color: #7f7667; }
.xp-partner { margin: -.2rem 0 1.4rem; }
.xp-partner a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border: 1px solid var(--xp-copper); border-radius: 999px; color: var(--xp-gold); font-size: .9rem; font-weight: 600; text-decoration: none; }
.xp-partner a:hover { background: rgba(200,128,60,.12); }
.xp-gallery--two { grid-template-columns: 1fr 1fr; max-width: 52rem; margin-left: auto; margin-right: auto; }
@media (max-width: 520px) { .xp-gallery--two { grid-template-columns: 1fr 1fr; } }
