/* Sous le titre (Lezieu, refait le 08/11 d'après Reform Collective) : la bande noire du haut, les deux formes qui flottent, la photo qui s'ouvre et le nom géant,
   la bande crème, « Nos dossiers » en cartes, la phrase et son bouton, le pied, le menu noir (la photo glisse sous les titres), l'écran rouge, la page d'un dossier,
   la visionneuse. Couleurs : --fond (le crème), --texte (le noir), --accent (le rouge). Typo : --serif (Instrument Serif, à la place d'Editorial New) pour les grands titres,
   --sans (Archivo, à la place de Founders Grotesk) pour le gras, IBM Plex Mono pour les petites étiquettes. */

.m-reform { --st-orange: #E68E1C; --st-mono: "IBM Plex Mono", ui-monospace, monospace; --st-m: clamp(16px, 2.1cqw, 30px);
  background: var(--fond); color: var(--texte); font-family: var(--sans); user-select: none; -webkit-user-select: none; }
.m-reform button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: inherit; letter-spacing: inherit; text-transform: inherit; }
.m-reform [hidden] { display: none !important; }
.st-page { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.st-page::-webkit-scrollbar { display: none; }
.st-carre, .m-reform .st-carre { display: block; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 4px; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* la bande noire du haut */
.st-tete { position: absolute; z-index: 7; top: 0; left: 0; right: 0; height: 52px; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--st-m); background: #000; color: #F9F8EE; }
.m-reform .st-carre { justify-self: start; }
.st-phrase-h { margin: 0; display: flex; align-items: baseline; gap: .35em; white-space: nowrap; overflow: hidden; max-width: 66cqw; }
.st-serif { font: 400 clamp(20px, 2.2cqw, 32px)/1 var(--serif); letter-spacing: -.03em; }
.st-mono { font: 400 clamp(15px, 1.8cqw, 26px)/1 var(--st-mono); letter-spacing: .07em; }
.m-reform .st-menu-b { justify-self: end; display: flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); text-transform: uppercase; letter-spacing: -.03em; }
.st-menu-b i { width: 12px; height: 8px; box-sizing: border-box; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: rotate .3s; }
.st-tete.ouvert .st-menu-b i { border-bottom: 0; height: 2px; }

/* l'accueil : les deux formes, la photo qui s'ouvre, le nom géant, la bande crème */
.st-hero { height: calc(var(--H) * 2.4); background: #000; }
.st-colle { position: sticky; top: 0; height: var(--H); overflow: hidden; background: #000; }
.st-duo { position: absolute; inset: 52px 0 46px; display: flex; align-items: center; justify-content: center; gap: calc(2cqw + var(--ec, 0) * 1cqw); perspective: 900px; }
.st-forme { position: relative; display: block; width: clamp(110px, 13.5cqw, 200px); aspect-ratio: .93; overflow: hidden; transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)); transition: transform .7s cubic-bezier(.16, 1, .3, 1); animation: st-flotte 6s ease-in-out infinite; box-shadow: 0 30px 70px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.st-forme::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35), inset 12px 12px 30px rgba(255, 255, 255, .12); pointer-events: none; }
.st-forme.g { border-radius: 50% 10px 10px 50% / 50% 10px 10px 50%; }
.st-forme.d { border-radius: 16px; animation-delay: -3s; }
.st-forme img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes st-flotte { 50% { translate: 0 -12px; } }
.st-plein { position: absolute; inset: 52px 0 46px; clip-path: inset(42% 46% round 40px); }
.st-plein img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-geant { position: absolute; left: var(--st-m); right: var(--st-m); bottom: 56px; margin: 0; overflow: hidden; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.st-geant span { display: inline-block; font: 700 20cqw/.86 var(--sans); font-stretch: 92%; letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; translate: 0 100%; }
.st-bandeau { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 var(--st-m); background: var(--fond); color: var(--texte); font: 400 11px/1 var(--st-mono); letter-spacing: .07em; text-transform: uppercase; }
.st-bandeau > span:last-child { justify-self: end; }

/* « Nos dossiers » en cartes */
.st-sel { padding: clamp(50px, 6cqw, 90px) var(--st-m) clamp(60px, 7cqw, 110px); }
.st-h2 { margin: 0; font: 400 clamp(44px, 5.6cqw, 80px)/1 var(--serif); letter-spacing: -.04em; }
.st-h2 em { font-style: italic; }
.st-sous { margin: 8px 0 30px; font: 400 11px/1 var(--st-mono); letter-spacing: .07em; text-transform: uppercase; }
.st-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2cqw, 30px) clamp(14px, 1.6cqw, 24px); }
.st-carte { margin: 0; min-width: 0; }
.st-carte.une { grid-column: 1 / -1; }
.m-reform .st-c-ph { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #000; }
.st-carte.une .st-c-ph { aspect-ratio: 16 / 7; }
.st-c-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale 1.2s cubic-bezier(.16, 1, .3, 1); }
.st-c-ph:hover img { scale: 1.04; }
.st-c-t { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-top: 10px; font: 400 13px/1.1 var(--sans); text-transform: uppercase; letter-spacing: -.01em; }
.st-c-t b { font-weight: 700; }
.st-c-t > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.m-reform, .lb.peau-reform) .st-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
:is(.m-reform, .lb.peau-reform) .st-tags i { font-style: normal; border: 1px solid currentColor; border-radius: 99px; padding: 3px 8px 2px; font: 400 9.5px/1 var(--st-mono, "IBM Plex Mono", monospace); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.m-reform:not(.calme) :is(.st-carte, .st-f, .st-h2, .st-phrase p, .st-pied-h) { opacity: 0; translate: 0 50px; transition: opacity 1s cubic-bezier(.16, 1, .3, 1), translate 1.1s cubic-bezier(.16, 1, .3, 1); }
.m-reform:not(.calme) :is(.st-carte, .st-f, .st-h2, .st-phrase p, .st-pied-h).vu { opacity: 1; translate: 0 0; }

/* la phrase et son bouton ; les pilules */
.st-phrase { padding: clamp(50px, 7cqw, 110px) var(--st-m); }
.st-phrase p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3em; text-align: center; font: 400 clamp(34px, 4.4cqw, 64px)/1.1 var(--serif); letter-spacing: -.035em; }
:is(.m-reform, .lb.peau-reform) .st-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px 11px; border-radius: 99px; border: 1px solid transparent; background: #000; color: #F9F8EE; font: 500 12px/1 var(--sans); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s; }
:is(.m-reform, .lb.peau-reform) .st-pill:hover { background: var(--accent, #FE3712); color: #F9F8EE; }
.m-reform .st-pill.rouge { background: var(--accent); }
.m-reform .st-pill.rouge:hover { background: #F9F8EE; color: #000; }
.m-reform .st-pill.clair { background: transparent; color: var(--texte); border-color: currentColor; }
.m-reform .st-pill.clair:hover { background: var(--texte); color: var(--fond); }

/* le pied */
.st-pied { padding: clamp(50px, 6cqw, 100px) var(--st-m) 0; border-top: 1px solid color-mix(in srgb, var(--texte) 14%, transparent); overflow: hidden; }
.st-pied-h { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.st-pied-h nav { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font: 500 11px/1.2 var(--sans); text-transform: uppercase; }
.st-pied-h nav button:hover { color: var(--accent); }
.st-pied-t { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.st-pied-t small { font: 400 13px/1 var(--sans); }
.m-reform .st-pied-t button { font: 400 clamp(38px, 4.6cqw, 66px)/1 var(--serif); letter-spacing: -.04em; }
.st-pied-t sup { font-size: .4em; }
.st-pied-g { display: flex; align-items: flex-start; margin: 14px 0 0; }
.st-pied-g span { display: inline-block; font: 700 20cqw/.84 var(--sans); font-stretch: 92%; letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap; }
.st-pied-g sup { font: 400 clamp(14px, 2cqw, 28px)/1 var(--sans); }

/* la page d'un dossier : à gauche, fixe ; à droite, les photos */
.st-d { display: grid; grid-template-columns: minmax(0, 26%) minmax(0, 1fr); gap: clamp(16px, 2cqw, 30px); padding: calc(52px + var(--st-m)) var(--st-m) clamp(60px, 7cqw, 110px); }
.st-d-c { position: sticky; top: calc(52px + var(--st-m)); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.st-d-n { font: 700 13px/1.1 var(--sans); text-transform: uppercase; }
.st-d-desc { margin: 0; font: 500 clamp(15px, 1.25cqw, 18px)/1.15 var(--sans); text-transform: uppercase; letter-spacing: -.02em; }
.st-d-c .st-tags { justify-content: flex-start; }
.st-d-txt { margin: 18px 0 0; font: 400 11px/1.4 var(--st-mono); letter-spacing: .07em; text-transform: uppercase; }
.st-d-b { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; max-width: 100%; }
.st-d-b .st-pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.st-d-ph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.st-f { position: relative; margin: 0; }
.st-f.large { grid-column: 1 / -1; }
.m-reform .st-f-ph { display: block; width: 100%; overflow: hidden; border-radius: 8px; background: #000; }
.st-f-ph img { width: 100%; height: auto; display: block; transition: scale 1.2s cubic-bezier(.16, 1, .3, 1); }
.st-f:not(.large) .st-f-ph img { aspect-ratio: 4 / 5; object-fit: cover; }
.st-f-ph:hover img { scale: 1.03; }
.st-f .st-x { top: 10px; right: 10px; z-index: 2; }

/* le menu : le panneau noir, les titres en très grand, la photo qui glisse dessous */
.st-menu { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: calc(var(--H) * .8); box-sizing: border-box; padding: 52px var(--st-m) 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; background: #000; color: #fff; overflow: hidden; }
.st-menu-l { position: relative; z-index: 2; align-self: start; display: flex; flex-direction: column; gap: clamp(10px, 1.3cqw, 20px); max-height: calc(var(--H) * .8 - 52px - 28%); overflow-y: auto; scrollbar-width: none; padding: clamp(24px, 5cqw, 80px) 0 20px clamp(0px, 10cqw, 160px); }
.m-reform .st-menu-l button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; transition: opacity .3s; }
.st-menu-t { font: 400 clamp(40px, 7.4cqw, 106px)/.84 var(--serif); letter-spacing: -.03em; }
.st-menu-t sup { font-size: .3em; margin-left: .1em; }
.st-menu-l small { font: 400 11px/1.2 var(--st-mono); letter-spacing: .07em; color: var(--st-orange); }
.st-menu-l:hover button:not(:hover) { opacity: .4; }
.st-menu > .st-pill { position: relative; z-index: 2; align-self: center; margin-bottom: 14%; }
.st-menu-ph { position: absolute; z-index: 1; left: var(--st-m); right: var(--st-m); bottom: 0; height: 28%; border-radius: 10px 10px 0 0; overflow: hidden; background: #111; }
.st-menu-im { position: absolute; inset: 0; }
.st-menu-im img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* l'écran rouge entre deux pages, l'arrivée */
.st-rouge { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; background: var(--accent); clip-path: inset(100% 0 0 0); pointer-events: none; }
.st-rouge b { max-width: 90%; text-align: center; color: #000; font: 700 clamp(40px, 7cqw, 110px)/.9 var(--sans); font-stretch: 92%; letter-spacing: -.05em; text-transform: uppercase; }
.st-debut { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: var(--accent); color: #000; cursor: pointer; overflow: hidden; }
.st-ini { position: absolute; top: 50%; translate: 0 -50%; font: 700 clamp(40px, 5cqw, 72px)/1 var(--sans); }
.st-ini.g { left: 40%; } .st-ini.d { right: 40%; }
.st-debut-n { font-family: var(--sans); font-weight: 700; font-stretch: 92%; letter-spacing: -.05em; line-height: .9; text-transform: uppercase; white-space: nowrap; }
.m-reform.en-debut .st-tete { visibility: hidden; }

/* sur téléphone (et dans l'aperçu téléphone) */
@container (max-width: 620px) {
  .st-phrase-h .st-serif { display: none; }
  .st-forme { width: 34cqw; }
  .st-bandeau { grid-template-columns: auto 1fr; }
  .st-bandeau > span:first-child { display: none; }
  .st-cartes { grid-template-columns: 1fr; }
  .st-carte.une .st-c-ph { aspect-ratio: 4 / 3; }
  .st-c-t { grid-template-columns: 1fr auto; }
  .st-c-t > span:nth-child(2) { display: none; }
  .st-pied-h { grid-template-columns: 1fr; }
  .st-d { grid-template-columns: 1fr; }
  .st-d-c { position: static; }
  .st-menu { grid-template-columns: 1fr; }
  .st-menu-l { padding-left: 0; }
  .st-menu > .st-pill { justify-self: start; margin: 0 0 calc(var(--H) * .8 * .3); }
}

/* la visionneuse : sur crème, la bande noire en haut, la photo qui monte, Préc. / Suiv. */
.lb.peau-reform { --stl-f: #F9F8EE; --stl-t: #000; background: var(--stl-f); color: var(--stl-t); font-family: var(--stl-s); padding-top: 52px; }
.st-lb-h { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 52px; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 20px; background: #000; color: #F9F8EE; }
.st-lb-h p { margin: 0; display: flex; align-items: baseline; gap: .35em; white-space: nowrap; overflow: hidden; max-width: 60vw; }
.st-lb-s { font: 400 24px/1 var(--stl-d); letter-spacing: -.03em; }
.st-lb-m { font: 400 17px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .07em; }
.st-lb-x { justify-self: end; background: none; border: 0; padding: 0; color: inherit; font: 500 13px/1 var(--stl-s); text-transform: uppercase; letter-spacing: -.02em; cursor: pointer; transition: color .25s; }
.st-lb-x:hover { color: #FE3712; }
.lb.peau-reform :is(.lb-top, .lb-bot) { color: var(--stl-t); font: 400 11px/1.2 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; }
.lb.peau-reform :is(.lb-top, .lb-bot) button { background: transparent; color: var(--stl-t); border: 1px solid color-mix(in srgb, var(--stl-t) 30%, transparent); border-radius: 99px; font: inherit; transition: background .25s, color .25s; }
.lb.peau-reform :is(.lb-top, .lb-bot) button:hover { background: var(--stl-t); color: var(--stl-f); }
.lb.peau-reform :is(.lb-top, .lb-bot) :is(button[aria-pressed=true], button.on) { background: var(--stl-t); color: var(--stl-f); }
.lb.peau-reform .lb-zoom { background: transparent; }
.lb.peau-reform :is(.lb-name, .lb-pct, .lb-info .lb-name) { font: inherit; color: var(--stl-t); }
.lb.peau-reform .lb-exif { color: color-mix(in srgb, var(--stl-t) 55%, transparent); }
.lb.peau-reform .lb-k { color: var(--stl-t); border-color: color-mix(in srgb, var(--stl-t) 30%, transparent); opacity: .6; }
.lb.peau-reform .lb-x[data-x] { display: none; }
.lb.peau-reform .lb-x.lb-plein { border-radius: 99px !important; }
.lb.peau-reform .lb-fant { display: none; }
.lb.peau-reform .lb-nav { display: none; }
.lb.peau-reform .lb-im { border-radius: 8px; }
.lb.peau-reform .lb-bot { border-top: 0; }
.lb.peau-reform .lb-bot .lb-tiroir { background: transparent; color: var(--stl-t); border: 0; }
.lb.peau-reform .lb-bot :is(.lba, .lbd).on { background: var(--stl-t); border-color: var(--stl-t); color: var(--stl-f); opacity: 1; }
.st-lb-bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 20px 16px; }
.st-lb-t { display: flex; align-items: center; gap: 12px; min-width: 0; }
.st-lb-t b { min-width: 0; font: 700 13px/1.1 var(--stl-s); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-lb-b { display: flex; gap: 6px; flex: none; }
.lb.lb-noir.peau-reform { --stl-f: #000000; --stl-t: #F9F8EE; }
.lb.lb-noir.peau-reform .st-pill { background: #F9F8EE; color: #000; }
.lb-dans.peau-reform .lb-exif { display: none; }
@media (max-width: 1200px) { .lb.peau-reform .lb-exif { display: none; } }
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) { .st-lb-s { display: none; } .st-lb-h { grid-template-columns: auto 1fr auto; padding: 0 14px; } .lb.peau-reform .st-lb-t .st-tags { display: none; } .st-lb-bas { padding: 8px 14px 12px; } .lb.peau-reform .st-lb-b .st-pill { padding: 10px 14px 9px; } }
/* l'aperçu téléphone de la Mise en page (.device.mobile) : les mêmes règles qu'un vrai téléphone (15/11) */
.device.mobile .st-lb-s { display: none; }
.device.mobile .st-lb-h { grid-template-columns: auto 1fr auto; padding: 0 14px; }
.device.mobile .lb.peau-reform .st-lb-t .st-tags { display: none; }
.device.mobile .st-lb-bas { padding: 8px 14px 12px; }
.device.mobile .lb.peau-reform .st-lb-b .st-pill { padding: 10px 14px 9px; }

.device.mobile .st-lb-s { display: none; }
.device.mobile .st-lb-h { grid-template-columns: auto 1fr auto; padding: 0 14px; }
.device.mobile .lb.peau-reform .st-lb-t .st-tags { display: none; }
.device.mobile .lb.peau-reform .st-lb-b .st-pill { padding: 10px 14px 9px; }
