/* =========================================================
   CASE STUDY — PAGES PROJET
   Réutilisable pour chaque projet : mêmes classes .case-*
   Couleurs, typos et curseur viennent de style.css
   ========================================================= */

.case-page {
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-mask: cubic-bezier(0.77, 0, 0.18, 1);
  --pad: 4vw;
}

.case-page main {
  overflow-x: clip;
}

.case-page img {
  display: block;
  max-width: 100%;
}

/* Même italique que .type-serif des autres pages projet */
.case-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
}


/* =========================================================
   BARRE DE PROGRESSION
   ========================================================= */

.case-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}


/* =========================================================
   HERO
   ========================================================= */

.case-hero {
  position: relative;
  min-height: 100svh;
  padding: 130px var(--pad) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: end;
}

.case-eyebrow {
  margin: 0 0 28px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-hero-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 10.5vw, 190px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.case-hero-title .case-line-shift {
  margin-left: 5vw;
}

.case-hero-title .case-serif {
  letter-spacing: -0.07em;
}

.case-pitch {
  max-width: 430px;
  margin: 40px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.case-pitch em {
  font-family: Georgia, serif;
  color: var(--accent);
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  max-width: 460px;
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.case-facts dt {
  margin-bottom: 7px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.case-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.case-hero-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0e0e0e;
}

.case-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.case-scroll {
  position: absolute;
  left: var(--pad);
  bottom: 26px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--muted);
  animation: case-bob 2.4s ease-in-out infinite;
}

@keyframes case-bob {
  50% { transform: translateY(5px); }
}


/* =========================================================
   SECTIONS
   ========================================================= */

.case-section {
  padding: 120px var(--pad) 40px;
}

.case-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-head span:last-child {
  color: var(--accent);
}

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: end;
  margin-bottom: 56px;
}

.case-split-stack {
  grid-template-columns: 1fr;
  row-gap: 40px;
}

.case-split-stack .case-text {
  justify-self: end;
}

.case-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(55px, 9vw, 140px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.case-title .case-serif {
  letter-spacing: -0.06em;
}

.case-text {
  max-width: 350px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(238, 234, 226, 0.7);
}


/* ---------- titres : glissement + bleu au survol (comme l'accueil) ---------- */

.case-title .case-serif {
  display: inline-block;
  transition:
    transform 0.65s var(--ease-out),
    color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {

  .case-title:hover .case-serif {
    transform: translateX(1.5vw);
    color: var(--accent);
  }
}


/* =========================================================
   01 — EN BREF
   ========================================================= */

.case-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-brief article {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 2.6vw 10px;
  border-left: 1px solid var(--line);
}

.case-brief article:first-child {
  padding-left: 0;
  border-left: 0;
}

/* Grand numéro en italique, comme un index d'édition */
.case-brief-num {
  margin-bottom: 46px;
  font-size: clamp(64px, 7vw, 120px);
  line-height: 0.75;
  color: var(--accent);
  transition: transform 0.65s var(--ease-out), color 0.35s ease;
}

.case-brief-label {
  margin-bottom: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.case-brief p {
  max-width: 21ch;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

@media (hover: hover) and (pointer: fine) {

  .case-brief article:hover .case-brief-num {
    transform: translateX(0.8vw);
    color: var(--fg);
  }
}


/* ---------- Slogan ---------- */

.case-quote-wrap {
  margin: 170px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.case-quote {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 11vw, 200px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-align: right;
}

/* Capsule d'affiche dans le texte : s'ouvre quand le slogan apparaît */
.case-pill {
  display: inline-block;
  width: 1.9em;
  height: 0.66em;
  margin-left: 0.12em;
  vertical-align: 0.06em;
  border-radius: 999px;
  background: var(--img) 47% 42% / 170% auto no-repeat;
  transition:
    width 1.2s var(--ease-out) 0.35s,
    background-size 1.6s var(--ease-out) 0.35s;
}

.js .case-quote[data-reveal]:not(.is-in) .case-pill {
  width: 0;
  background-size: 260% auto;
}

/* « trembler » tremble au survol */
@keyframes case-shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(-2px, 1px) rotate(-1.2deg); }
  40% { transform: translate(2px, -1px) rotate(1deg); }
  60% { transform: translate(-1px, -2px) rotate(-0.6deg); }
  80% { transform: translate(1px, 2px) rotate(0.8deg); }
}

.case-shake {
  display: inline-block;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

  .case-quote:hover .case-shake {
    color: var(--accent);
    animation: case-shake 0.32s linear infinite;
  }
}

.case-quote-long {
  font-size: clamp(46px, 8vw, 150px);
}

/* Slogan sans tremblement : le mot en italique glisse et passe en bleu */
.case-quote .case-serif:not(.case-shake) {
  display: inline-block;
  transition:
    transform 0.65s var(--ease-out),
    color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {

  .case-quote:hover .case-serif:not(.case-shake) {
    transform: translateX(1.5vw);
    color: var(--accent);
  }
}

.case-quote-caption {
  margin-top: 26px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}


/* =========================================================
   02 — PALETTE
   ========================================================= */

.case-palette {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.case-palette li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 16px;
  background: var(--c);
  color: #fff;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: min-height 0.6s var(--ease-out);
}

.case-palette li.is-light {
  color: #141313;
}

.case-palette code {
  font: inherit;
  opacity: 0.75;
}

@media (hover: hover) and (pointer: fine) {
  .case-palette li:hover {
    min-height: 240px;
  }
}


/* =========================================================
   IMAGES
   ========================================================= */

.case-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0e0e0e;
}

.case-media img {
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--ease-out);
}

.case-media-wide {
  margin-top: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .case-media:hover img:not([data-parallax]) {
    transform: scale(1.025);
  }
}


/* =========================================================
   BANDEAU DÉFILANT
   ========================================================= */

.case-marquee {
  overflow: hidden;
  margin-top: 120px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.case-marquee-track {
  display: inline-flex;
  align-items: baseline;
  gap: 3vw;
  font-family: "Inter", sans-serif;
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 700;
  letter-spacing: -0.07em;
  animation: case-marquee 28s linear infinite;
}

.case-marquee-track .case-serif {
  color: var(--accent);
  letter-spacing: -0.05em;
}

.case-marquee-track i {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

@keyframes case-marquee {
  to { transform: translateX(-50%); }
}


/* =========================================================
   03 — GALERIE HORIZONTALE
   Par défaut : défilement au doigt (mobile)
   .is-pinned : défile avec la page (ordinateur, via script.js)
   ========================================================= */

.case-web {
  padding-bottom: 0;
}

.case-hscroll-track {
  display: flex;
  gap: 2vw;
  padding: 0 var(--pad) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.case-hscroll-track::-webkit-scrollbar {
  display: none;
}

.case-slide {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}

.case-slide img {
  width: auto;
  height: min(64vh, 48vw);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0e0e0e;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
}

.case-slide figcaption {
  margin-top: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-hscroll-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 26px var(--pad) 0;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.case-hscroll-count b {
  font-weight: 400;
  color: var(--fg);
}

.case-hscroll-bar {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.case-hscroll-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.125);
  transform-origin: left;
}

/* Version épinglée (ordinateur) */

.case-hscroll.is-pinned .case-hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.case-hscroll.is-pinned .case-hscroll-track {
  overflow: visible;
  scroll-snap-type: none;
  width: max-content;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .case-slide:hover img {
    transform: scale(1.02);
  }
}


/* =========================================================
   04 — RÉSEAUX SOCIAUX
   ========================================================= */

.case-social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
}

.case-social .case-media {
  max-width: 560px;
}

.case-social-copy .case-text {
  margin-top: 36px;
}

.case-social .case-social-extra {
  max-width: 380px;
  margin-top: 48px;
}


/* =========================================================
   05 — PRINT
   ========================================================= */

.case-print {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case-print-main {
  grid-column: 1 / -1;
}

.case-print-main img[data-parallax] {
  transform: scale(1.12);
}


/* =========================================================
   06 — ÉVÉNEMENT
   ========================================================= */

.case-event {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.case-event .case-media:last-child {
  margin-top: 18vw;
}


/* =========================================================
   VIDÉO + BOUTON SON
   ========================================================= */

.case-video {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.case-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-video figcaption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.6rem;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.sound-toggle {
  position: absolute;
  z-index: 5;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.sound-toggle:hover,
.sound-toggle.is-on {
  border-color: var(--accent);
  color: var(--accent);
}

.sound-icon {
  transition: transform 0.3s ease;
}

.sound-toggle:hover .sound-icon {
  transform: translate(2px, -2px);
}

@media (max-width: 600px) {

  .case-video figcaption {
    display: none;
  }

  .sound-toggle {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}


/* =========================================================
   OUTRO — PROJET SUIVANT
   ========================================================= */

.case-outro {
  padding: 160px var(--pad) 120px;
}

.case-recap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 70px;
}

.case-recap span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--warm);
}

.case-next {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  grid-template-rows: auto 1fr;
  gap: 18px 4vw;
  padding: 36px 0;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--line);
}

.case-next-label {
  grid-column: 1 / -1;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.case-next-title {
  align-self: end;
  font-family: "Inter", sans-serif;
  font-size: clamp(60px, 9vw, 160px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.case-next-title span {
  display: block;
  transition: transform 0.7s var(--ease-out), color 0.35s ease;
}

.case-next-title .case-serif {
  margin-left: 4vw;
  letter-spacing: -0.06em;
}

.case-next-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.case-next-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.7);
  transform: scale(1.08);
  transition:
    transform 1.1s var(--ease-out),
    filter 0.6s ease;
}

.case-next:hover .case-next-title .case-serif {
  transform: translateX(1.5vw);
  color: var(--accent);
}

.case-next:hover .case-next-media img {
  filter: none;
  transform: scale(1);
}

.case-back {
  display: inline-block;
  margin-top: 40px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.3s ease;
}

.case-back:hover {
  color: var(--fg);
}


/* =========================================================
   LIGHTBOX (clic sur une image)
   ========================================================= */

.case-lightbox {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(14, 13, 13, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.case-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.case-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.6s var(--ease-out);
}

.case-lightbox.is-open img {
  transform: scale(1);
}

.case-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  border: 0;
  background: none;
  color: var(--fg);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
}


/* =========================================================
   ANIMATIONS D'APPARITION
   Seulement si JavaScript tourne (.js sur <html>)
   ========================================================= */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  transition:
    opacity 0.8s ease var(--d, 0s),
    transform 1s var(--ease-out) var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Titres : chaque ligne monte depuis un masque */

/* Masque vertical seulement (clip-path) : les mots longs ne sont jamais coupés sur les côtés,
   et les marges internes laissent passer les accents des majuscules (É, Â) */
.case-line {
  display: block;
  padding: 0.14em 0 0.1em;
  margin: -0.14em 0 -0.1em;
  clip-path: inset(0 -100vw);
}

.case-line > span {
  display: inline-block;
}

.js [data-reveal="lines"] {
  opacity: 1;
  transform: none;
}

.js [data-reveal="lines"] .case-line > span {
  transform: translate3d(0, 110%, 0);
  transition: transform 1s var(--ease-out);
}

.js [data-reveal="lines"] .case-line:nth-child(2) > span {
  transition-delay: 0.09s;
}

.js [data-reveal="lines"].is-in .case-line > span {
  transform: none;
}

/* Images : rideau qui s'ouvre du bas vers le haut */

.js [data-reveal="mask"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease-mask) var(--d, 0s);
}

.js [data-reveal="mask"].is-in {
  clip-path: inset(0 0 0 0);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

  .case-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 50px;
    padding-top: 120px;
  }

  .case-scroll {
    display: none;
  }

  .case-split,
  .case-social {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-brief {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .case-brief article,
  .case-brief article:first-child {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .case-brief-num {
    margin-bottom: 24px;
  }

  .case-palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-palette li {
    min-height: 120px;
  }

  .case-event {
    grid-template-columns: 1fr;
  }

  .case-event .case-media:last-child {
    margin-top: 0;
  }

  .case-next {
    grid-template-columns: 1fr;
  }

  .case-slide img {
    height: auto;
    width: 82vw;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .case-page {
    --pad: 5vw;
  }

  .case-section {
    padding-top: 90px;
  }

  .case-head {
    margin-bottom: 36px;
  }

  .case-quote-wrap {
    margin-top: 110px;
    align-items: flex-start;
  }

  .case-quote {
    text-align: left;
  }

  .case-hero-title .case-line-shift {
    margin-left: 8vw;
  }

  .case-hscroll-hint {
    display: none;
  }

  /* Les mots longs (« investigation. ») tiennent dans l'écran */
  .case-title {
    font-size: 11.5vw;
  }

  .case-outro {
    padding-top: 110px;
  }
}


/* =========================================================
   ACCESSIBILITÉ — MOINS D'ANIMATIONS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .js [data-reveal],
  .js [data-reveal="lines"] .case-line > span,
  .js [data-reveal="mask"] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .case-marquee-track,
  .case-scroll,
  .case-quote:hover .case-shake {
    animation: none;
  }

  .case-hero-media img,
  .case-print-main img[data-parallax] {
    transform: none;
  }
}

/* Images en parallaxe : bougent au scroll (script.js), sans transition parasite */

.case-page img[data-parallax] {
  transition: none;
  will-change: transform;
}


/* =========================================================
   GRAND TITRE — MÊME SURVOL QUE « LILAS TRAVERS » (accueil)
   ========================================================= */

.js .case-hero-title[data-reveal].is-in .case-line > span {
  transition:
    color 0.45s ease,
    transform 0.7s var(--ease-out);
}

.js .case-hero-title[data-reveal].is-in .case-line-shift > span {
  transition-delay: 0.06s;
}

@media (hover: hover) and (pointer: fine) {

  .case-hero-title.is-in:hover .case-line:first-child > span {
    transform: translateX(-0.8vw);
  }

  .case-hero-title.is-in:hover .case-line-shift > span {
    transform: translateX(0.8vw);
  }

  .case-hero-title.is-in:hover .case-line > span {
    color: #f5f2ec;
  }
}


/* #########################################################
   MURDER PARTY — DISPOSITION « DOSSIER D'ENQUÊTE »
   Propre à room107.html (classes .mp-*)
   ######################################################### */


/* ---------- Hero : titre pleine largeur, infos à gauche, image à droite ---------- */

.mp-hero {
  padding: 130px var(--pad) 40px;
}

.mp-hero-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(72px, 15vw, 270px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.mp-hero-title-right {
  text-align: right;
}

.mp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 4vw;
  align-items: end;
  margin-top: 60px;
}

.mp-hero-pitch {
  max-width: 340px;
  margin: 0 0 40px;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

/* Infos en liste, façon fiche */
.mp-file {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mp-file div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mp-file dt {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.mp-file dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.mp-hero-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e0e0e;
}

.mp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}


/* ---------- Le dossier : fiches en lignes ---------- */

.mp-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--fg);
}

.mp-index li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 4vw;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease-out);
}

.mp-index-tag {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.mp-index p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 3.4vw, 54px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.mp-index p .case-serif {
  display: inline-block;
  transition: transform 0.65s var(--ease-out), color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {

  .mp-index li:hover {
    padding-left: 1.2vw;
  }

  .mp-index li:hover .case-serif {
    transform: translateX(0.8vw);
    color: var(--accent);
  }
}

/* Accroche centrée */
.mp-quote {
  align-items: center;
}

.mp-quote .case-quote {
  text-align: center;
}


/* ---------- L'histoire : texte fixe, images qui défilent ---------- */

.mp-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 6vw;
  align-items: start;
}

.mp-story-copy {
  position: sticky;
  top: 130px;
}

.mp-story-copy .case-text {
  margin-top: 36px;
}

.mp-story-stack {
  display: grid;
  gap: 10px;
}

/* Image détourée (PNG transparent) : pas de fond, même largeur que les autres */
.case-media.mp-story-cutout {
  background: transparent;
}

/* Palette en pastilles */
.mp-palette {
  display: flex;
  gap: 8px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.mp-palette li {
  display: flex;
  align-items: flex-end;
  width: 92px;
  height: 128px;
  padding: 10px;
  background: var(--c);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: height 0.5s var(--ease-out);
}

.mp-palette li.is-light {
  color: #141313;
}

@media (hover: hover) and (pointer: fine) {
  .mp-palette li:hover {
    height: 160px;
  }
}


/* ---------- Site web : tableau des preuves ---------- */

.mp-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5vw 2vw;
  padding-top: 20px;
}

.mp-evidence figure {
  margin: 0;
  overflow: hidden;
  background: #0e0e0e;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.8s var(--ease-out), box-shadow 0.5s ease;
}

.mp-evidence img {
  width: 100%;
}

.mp-ev-1 { grid-column: 1 / span 7; --r: -1.6deg; }
.mp-ev-2 { grid-column: 8 / span 5; --r: 2deg; margin-top: 14vw; }
.mp-ev-3 { grid-column: 2 / span 5; --r: 1.4deg; }
.mp-ev-4 { grid-column: 7 / span 6; --r: -1.2deg; margin-top: 6vw; }

@media (hover: hover) and (pointer: fine) {

  .mp-evidence:hover figure {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  }
}

/* Étiquette « pièce à conviction » */
.mp-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--warm);
}


/* ---------- Bande-annonce plein écran ---------- */

.mp-film {
  padding-top: 120px;
}

.mp-film-head {
  margin: 0 var(--pad) 40px;
}

.mp-film-video video {
  aspect-ratio: 21 / 9;
}

.mp-film-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
  pointer-events: none;
}

.mp-film-title {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", sans-serif;
  font-size: clamp(54px, 9vw, 160px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  pointer-events: none;
}

.mp-film-title span {
  display: block;
}

.mp-film-video figcaption {
  z-index: 2;
  left: var(--pad);
}


/* ---------- Print & objets ---------- */

.mp-objects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.mp-objects-copy {
  padding: 0 4vw 6vw 0;
}

.mp-objects-copy .case-text {
  margin-top: 36px;
}

.mp-objects-main {
  grid-row: span 2;
}

.mp-objects .mp-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  background: rgba(20, 19, 19, 0.75);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, 0.18);
}


/* ---------- Outro : affaire classée ---------- */

.mp-closed {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 16vw, 280px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.mp-closed .case-line:last-child {
  text-align: right;
  color: var(--accent);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .mp-hero-grid {
    grid-template-columns: 1fr;
  }

  .mp-index li {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mp-story,
  .mp-objects {
    grid-template-columns: 1fr;
  }

  .mp-story-copy {
    position: static;
  }

  .mp-objects-main {
    grid-row: auto;
  }

  .mp-board {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mp-board .mp-evidence {
    grid-column: 1;
    margin-top: 0;
  }

  .mp-film-video video {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {

  .mp-hero-media img {
    transform: none;
  }
}


/* #########################################################
   THÉÂTRE DU THABOR — DISPOSITION « PROGRAMME DE THÉÂTRE »
   Propre à theatre-thabor.html (classes .th-*)
   ######################################################### */

.th-page {
  --th-pink: #e12c6c;
  --th-red: #c21b2f;
  --th-green: #1fa34a;
}


/* ---------- Apparition « rideau » : s'ouvre depuis le centre ---------- */

.js [data-reveal="curtain"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 1.3s var(--ease-mask) var(--d, 0s);
}

.js [data-reveal="curtain"].is-in {
  clip-path: inset(0 0 0 0);
}


/* ---------- Hero ---------- */

.th-hero {
  padding: 130px var(--pad) 0;
}

.th-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4vw;
}

.th-hero-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 11.5vw, 210px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.th-hero-title .case-line:last-child {
  padding-left: 7vw;
}

/* Saison en chiffres détourés */
.th-season {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(56px, 8vw, 150px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}

.th-season span:last-child {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.th-hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 4vw;
  align-items: end;
  margin: 56px 0 40px;
}

.th-hero-pitch {
  max-width: 380px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.th-hero-pitch em {
  font-family: Georgia, serif;
  color: var(--accent);
}

/* Infos en pastilles, sur une ligne */
.th-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-facts li {
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.th-facts li span {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.th-hero-media {
  margin: 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #0e0e0e;
}

.th-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}


/* ---------- Trois actes en zigzag ---------- */

.th-acts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-acts li {
  display: flex;
  align-items: center;
  gap: 4vw;
  padding: 3vw 0;
}

.th-acts li:nth-child(2) {
  flex-direction: row-reverse;
  text-align: right;
}

.th-acts li:nth-child(2) p {
  margin-left: auto;
}

.th-act-num {
  flex: 0 0 auto;
  min-width: 2.2ch;
  font-size: clamp(110px, 15vw, 260px);
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  transition: color 0.5s ease;
}

.th-act-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.th-acts p {
  max-width: 20ch;
  margin: 14px 0 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

@media (hover: hover) and (pointer: fine) {
  .th-acts li:hover .th-act-num {
    color: var(--accent);
  }
}


/* ---------- Dégradé de la saison ---------- */

.th-gradient {
  position: relative;
  height: clamp(180px, 22vw, 320px);
  background: linear-gradient(90deg, var(--th-pink), var(--th-red) 50%, var(--th-green));
}

.th-gradient span {
  position: absolute;
  bottom: 16px;
  left: clamp(16px, var(--x), calc(100% - 140px));
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #fff;
}

.th-gradient span[style*="100%"] {
  left: auto;
  right: 16px;
  text-align: right;
}

.th-gradient span[style*="50%"] {
  transform: translateX(-50%);
  text-align: center;
}

.th-gradient code {
  font: inherit;
  opacity: 0.8;
}


/* ---------- La brochure : pages qui s'empilent ---------- */

.th-stack {
  max-width: 1150px;
  margin: 0 auto;
  padding-bottom: 8vh;
}

.th-card {
  position: sticky;
  top: calc(100px + var(--i) * 18px);
  margin: 0 0 12vh;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.45);
}

.th-card:last-child {
  margin-bottom: 0;
}

.th-card figcaption {
  display: flex;
  gap: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.th-card figcaption span {
  color: var(--accent);
}

.th-card img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
}


/* ---------- Pourquoi rouge et vert ---------- */

.th-colors-why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4vw;
  margin-top: 56px;
}

.th-colors-why article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.th-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--c);
}

.th-colors-why h3 {
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 3.4vw, 56px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.th-colors-why p {
  max-width: 380px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(238, 234, 226, 0.7);
}


/* ---------- Outro : rideau ---------- */

.th-curtain {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(90px, 21vw, 380px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.09em;
  text-align: center;
}

/* Le dégradé de la saison remplit les lettres */
.th-curtain .case-line > span {
  background: linear-gradient(90deg, var(--th-pink), var(--th-red) 50%, var(--th-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.th-curtain .case-serif {
  color: transparent;
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .th-hero-top {
    align-items: flex-start;
  }

  .th-hero-bottom,
  .th-colors-why {
    grid-template-columns: 1fr;
  }

  .th-facts {
    justify-content: flex-start;
  }

  .th-hero-media {
    aspect-ratio: 4 / 3;
  }

  .th-acts li,
  .th-acts li:nth-child(2) {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }

  .th-acts li:nth-child(2) p {
    margin-left: 0;
  }

  .th-card {
    position: static;
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {

  .th-season {
    font-size: 15vw;
  }

  .th-hero-title .case-line:last-child {
    padding-left: 0;
  }

  .th-gradient span[style*="50%"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js [data-reveal="curtain"] {
    clip-path: none;
    transition: none;
  }

  .th-hero-media img {
    transform: none;
  }
}


/* #########################################################
   SCARA — DISPOSITION « CARNET DE TERRAIN »
   Propre à scara.html (classes .sc-*)
   ######################################################### */


/* ---------- Hero : le titre s'inverse sur la photo ---------- */

.sc-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  column-gap: 2vw;
  padding: 110px var(--pad) 40px;
}

.sc-hero-media {
  grid-column: 7 / 12;
  grid-row: 1;
  margin: 0;
  aspect-ratio: 3 / 4;
  max-height: calc(100svh - 330px);
  justify-self: end;
  overflow: hidden;
  background: #0e0e0e;
}

.sc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.sc-hero-copy {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.sc-hero-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(90px, min(17vw, 26svh), 330px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  mix-blend-mode: difference;
}

.sc-hero-title .case-line:last-child {
  padding-left: 9vw;
}

.sc-hero-bottom {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 4vw;
  align-items: end;
  margin-top: 40px;
}

.sc-hero-pitch {
  max-width: 380px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.sc-hero-pitch em {
  font-family: Georgia, serif;
  color: var(--accent);
}

/* Fiche de stage en 4 colonnes */
.sc-sheet {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sc-sheet div {
  padding-top: 14px;
}

.sc-sheet dt {
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.sc-sheet dd {
  margin: 0;
  padding-right: 12px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}


/* ---------- Carnet : ligne de croissance + étapes ---------- */

.sc-journal {
  --grow: 0;
  position: relative;
  padding: 60px var(--pad) 0 calc(var(--pad) + 9vw);
}

.sc-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pad) + 3vw);
  width: 1px;
  background: var(--line);
}

.sc-line i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(var(--grow));
  transform-origin: top;
}

.sc-step {
  position: relative;
  padding: 90px 0 60px;
}

/* Repère de l'étape, posé sur la ligne */
.sc-node {
  position: absolute;
  top: 92px;
  left: calc(-6vw - 6px);
  width: 13px;
  height: 13px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
}

.sc-step-label {
  margin: 0 0 40px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* Terrain */
.sc-field {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

/* Images transparentes (PNG / WebP détourés) : aucun fond ajouté derrière */
.sc-page .case-media {
  background: transparent;
}

/* Grille 2 x 2 : les images restent à une taille où elles sont nettes */
.sc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 1180px;
  align-items: center;
}

.sc-app-video {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.sc-app-video video {
  display: block;
  width: 100%;
  height: auto;
}

.sc-app-video figcaption,
.sc-print figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(20, 19, 19, 0.75);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Terrain : photos limitées à leur taille réelle */
.sc-field {
  max-width: 1180px;
}

/* Vidéo pédagogique : pas plus large que nécessaire */
.sc-video {
  max-width: 1180px;
}


/* Outro */
.sc-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 11vw, 200px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.sc-end .case-line:last-child {
  text-align: right;
  color: var(--accent);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .sc-hero {
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  .sc-hero-copy {
    grid-row: 1;
  }

  .sc-hero-media {
    grid-column: 3 / -1;
    grid-row: 2;
    margin-top: -12vw;
    max-height: none;
  }

  .sc-hero-title {
    font-size: 19vw;
  }

  .sc-hero-bottom {
    grid-row: 3;
    grid-template-columns: 1fr;
  }

  .sc-sheet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .sc-field,
  .sc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .sc-journal {
    padding-left: calc(var(--pad) + 8vw);
  }

  .sc-line {
    left: calc(var(--pad) + 1vw);
  }

  .sc-node {
    left: calc(-7vw - 6px);
  }

  .sc-hero-title .case-line:last-child {
    padding-left: 6vw;
  }
}

@media (prefers-reduced-motion: reduce) {

  .sc-hero-media img {
    transform: none;
  }

  .sc-line i {
    transform: none;
  }
}


/* #########################################################
   OPUS — DISPOSITION « PLATEFORME DE MARQUE » EN BENTO
   Propre à opus.html (classes .op-*)
   ######################################################### */


/* ---------- Cases du bento ---------- */

.op-bento {
  display: grid;
  gap: 10px;
}

.op-cell {
  position: relative;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

.op-cell.case-media {
  padding: 0;
  border: 0;
}

.op-cell.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Case couleur : le bleu du site, texte noir */
.op-cell-accent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  background: var(--accent);
  color: #141313;
}

.op-cell-accent span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.op-cell-accent p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 4.6vw, 84px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}


/* ---------- Hero ---------- */

.op-hero {
  padding: 110px var(--pad) 0;
}

.op-bento-hero {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: calc(100svh - 150px);
}

.op-cell-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.op-cell-title .case-eyebrow {
  margin: 0;
}

.op-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.op-title .case-line:last-child {
  padding-left: 6vw;
}

.op-pitch {
  max-width: 400px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.op-pitch em {
  font-family: Georgia, serif;
  color: var(--accent);
}

/* La photo occupe toute la hauteur à droite, sans dépasser sa taille réelle */
.op-cell-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.op-cell-photo img {
  transform: scale(1.12);
}

.op-cell-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.op-cell-facts dt {
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.op-cell-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.op-bento-hero .op-cell-accent {
  grid-column: 1;
  grid-row: 3;
  min-height: 170px;
}

.op-bento-hero {
  grid-template-rows: 1fr auto auto;
}

.op-bento-hero .op-cell-photo {
  grid-row: 1 / span 3;
}


/* ---------- Plateforme de marque ---------- */

.op-bento-strategy {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
}

.op-cell-big {
  grid-column: span 2;
}

.op-cell-img {
  grid-row: span 2;
  max-width: 600px;
}

.op-cell-num {
  display: block;
  margin-bottom: 24px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.op-bento-strategy p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.op-cell-big p {
  max-width: 22ch;
  font-size: clamp(28px, 3vw, 50px);
}

.op-cell-promise {
  grid-column: span 2;
}

.op-cell-promise .case-serif {
  color: var(--accent);
}

.op-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.op-chips li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

  .op-chips li:hover {
    background: var(--accent);
    color: #141313;
  }

  .op-cell:not(.case-media):not(.op-cell-accent) {
    transition: border-color 0.3s ease;
  }

  .op-cell:not(.case-media):not(.op-cell-accent):hover {
    border-color: var(--accent);
  }

  /* Cases de la plateforme de marque : elles se remplissent de bleu,
     le texte passe en noir pour rester lisible */
  .op-bento-strategy article.op-cell {
    transition:
      background-color 0.45s var(--ease-out),
      border-color 0.3s ease,
      color 0.35s ease;
  }

  .op-bento-strategy article.op-cell:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #141313;
  }

  .op-bento-strategy article.op-cell:hover .op-cell-num,
  .op-bento-strategy article.op-cell:hover .case-serif {
    color: #141313;
  }

  .op-bento-strategy article.op-cell:hover .op-chips li {
    border-color: rgba(20, 19, 19, 0.35);
    color: #141313;
  }

  .op-bento-strategy article.op-cell:hover .op-chips li:hover {
    background: #141313;
    color: var(--accent);
  }

  /* Petite flèche qui apparaît dans le coin */
  .op-bento-strategy article.op-cell::after {
    content: "↗";
    position: absolute;
    right: 24px;
    bottom: 20px;
    font-size: 22px;
    line-height: 1;
    color: #141313;
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
  }

  .op-bento-strategy article.op-cell:hover::after {
    opacity: 1;
    transform: none;
  }
}


/* ---------- Matières ---------- */

.op-materials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 5vw;
  align-items: center;
}

/* Titre dans une demi-colonne : plus petit pour que « different. » tienne */
.op-materials .case-title {
  font-size: clamp(48px, 6vw, 110px);
}

.op-material-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.op-material-list li {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.05em;
  transition: padding-left 0.5s var(--ease-out), color 0.3s ease;
}

.op-material-list span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .op-material-list li:hover {
    padding-left: 1vw;
    color: var(--accent);
  }
}


/* ---------- Campagne : mosaïque ---------- */

.op-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.op-mosaic > * {
  grid-column: span 3;
}

.op-mosaic img {
  width: 100%;
}

/* Ligne 1 : la campagne (large) et l'affiche verticale, à la même hauteur */
.op-m-wide {
  grid-column: span 4;
}

.op-m-tall {
  grid-column: span 2;
}

.op-m-tall img {
  height: 100%;
  object-fit: cover;
}

/* Dernière ligne : le gros plan produit sur toute la largeur */
.op-m-full {
  grid-column: 1 / -1;
}


/* ---------- Boutique & social ---------- */

.op-street {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.op-street .case-media {
  max-width: 450px;
}

.op-street-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.op-street-2 .case-media {
  max-width: none;
}

.op-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(20, 19, 19, 0.75);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}


/* ---------- Outro ---------- */

.op-bento-end {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  margin-bottom: 70px;
}

.op-end {
  min-height: 300px;
  justify-content: flex-end;
  font-family: "Inter", sans-serif;
  font-size: clamp(56px, 8vw, 150px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.op-bento-end .case-recap {
  align-content: flex-end;
  margin: 0;
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .op-bento-hero,
  .op-bento-strategy,
  .op-bento-end,
  .op-materials,
  .op-mosaic,
  .op-street,
  .op-street-2 {
    grid-template-columns: 1fr;
  }

  .op-bento-hero {
    grid-template-rows: none;
    min-height: 0;
  }

  .op-bento-hero > *,
  .op-bento-hero .op-cell-photo,
  .op-bento-hero .op-cell-accent,
  .op-cell-big,
  .op-cell-img,
  .op-cell-promise,
  .op-m-wide,
  .op-m-tall,
  .op-m-full,
  .op-mosaic > * {
    grid-column: auto;
    grid-row: auto;
  }

  .op-cell-photo {
    justify-self: start;
    aspect-ratio: 3 / 4;
  }

  .op-cell-facts {
    grid-template-columns: 1fr;
  }

  /* Sur une colonne, les images gardent une taille où elles restent nettes */
  .op-mosaic .case-media:not(.op-m-wide),
  .op-street .case-media {
    max-width: 450px;
  }

  .op-street-2 .case-media {
    max-width: none;
  }
}

@media (max-width: 600px) {

  .op-cell {
    padding: 22px;
  }

  .op-title .case-line:last-child {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-cell-photo img {
    transform: none;
  }
}


/* #########################################################
   CAGIBY — DISPOSITION « FIL INSTAGRAM »
   Propre à cagiby.html (classes .cg-*)
   ######################################################### */

.cg-page {
  --cg-red: #e2231a;
  --cg-blue: #3a6dff;
}


/* ---------- Profil ---------- */

.cg-profile {
  padding: 130px var(--pad) 40px;
}

.cg-profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
}

/* Avatar rond avec l'anneau dégradé des stories */
.cg-avatar {
  width: clamp(150px, 20vw, 300px);
  aspect-ratio: 1;
  margin: 0;
  padding: 6px;
  border-radius: 50%;
  background: conic-gradient(var(--cg-red), var(--accent), var(--cg-blue), var(--cg-red));
}

.cg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid var(--bg);
  border-radius: 50%;
}

.cg-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 10vw, 190px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.cg-title .case-line:last-child {
  font-size: 0.42em;
  line-height: 1;
  margin-top: 0.2em;
  color: var(--accent);
}

/* Chiffres du profil */
.cg-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(238, 234, 226, 0.75);
}

.cg-stats b {
  margin-right: 8px;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.cg-bio {
  max-width: 520px;
  margin: 24px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(238, 234, 226, 0.75);
}

.cg-bio em {
  font-family: Georgia, serif;
  color: var(--fg);
}


/* ---------- Stories ---------- */

.cg-stories {
  display: flex;
  gap: 26px;
  margin: 56px 0 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.cg-stories::-webkit-scrollbar {
  display: none;
}

.cg-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.cg-story img {
  width: 84px;
  height: 84px;
  padding: 3px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  transition: transform 0.5s var(--ease-out);
}

.cg-story-red img { border-color: var(--cg-red); }
.cg-story-blue img { border-color: var(--cg-blue); }

@media (hover: hover) and (pointer: fine) {
  .cg-story:hover img {
    transform: scale(1.08) rotate(-4deg);
  }
}


/* ---------- Onglets ---------- */

.cg-feed-section {
  padding-top: 40px;
}

.cg-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 26px;
  border-top: 1px solid var(--line);
}

.cg-tabs button {
  margin-top: -1px;
  padding: 16px 18px 0;
  border: 0;
  border-top: 1px solid transparent;
  background: none;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cg-tabs button:hover,
.cg-tabs button.is-active {
  color: var(--fg);
}

.cg-tabs button.is-active {
  border-top-color: var(--accent);
}


/* ---------- Feed ---------- */

.cg-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  /* Largeur limitée : chaque publication reste nette sur grand écran */
  max-width: 1320px;
}

.cg-post {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0e0e0e;
  animation: cg-pop 0.5s var(--ease-out);
}

.cg-post.is-hidden {
  display: none;
}

@keyframes cg-pop {
  from { opacity: 0; transform: scale(0.97); }
}

.cg-post img,
.cg-post video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
}

/* Légende au survol, comme sur Instagram */
.cg-post figcaption,
.cg-post-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px;
  background: linear-gradient(to top, rgba(14, 13, 13, 0.85), transparent 60%);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.cg-post figcaption b,
.cg-post-caption b {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {

  .cg-post:hover img,
  .cg-post:hover video {
    transform: scale(1.04);
  }

  .cg-post:hover figcaption,
  .cg-post:hover .cg-post-caption {
    opacity: 1;
  }
}

/* Sur écran tactile, la légende reste visible */
@media (hover: none), (pointer: coarse) {

  .cg-post figcaption,
  .cg-post-caption {
    opacity: 1;
  }
}

.cg-reel-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 14px;
  color: #fff;
}

/* Publication texte, dans la grille */
.cg-post-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--accent);
  color: #141313;
}

.cg-post-text p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 4.4vw, 80px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.cg-post-text span {
  max-width: 30ch;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
}


/* ---------- Reel ---------- */

.cg-reel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: 5vw;
  align-items: center;
}

.cg-reel .case-text {
  margin-top: 36px;
}

/* Titre dans une colonne étroite : plus petit pour que « the Cagiby. » tienne */
.cg-reel .case-title {
  font-size: clamp(48px, 5.4vw, 100px);
}


/* ---------- Outro ---------- */

.cg-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 15vw, 280px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.cg-end .case-line:last-child {
  padding-left: 14vw;
  color: var(--accent);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .cg-profile-head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cg-reel {
    grid-template-columns: 1fr;
  }

  .cg-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-tabs {
    overflow-x: auto;
  }

  .cg-tabs button {
    white-space: nowrap;
  }
}

@media (max-width: 600px) {

  .cg-feed {
    gap: 3px;
  }

  .cg-post figcaption,
  .cg-post-caption {
    padding: 12px;
  }

  .cg-post figcaption b,
  .cg-post-caption b {
    font-size: 16px;
  }

  .cg-post-text {
    padding: 16px;
  }

  .cg-end .case-line:last-child {
    padding-left: 0;
  }
}


/* #########################################################
   EFET CRÉA — DISPOSITION « CHARTE INTERACTIVE »
   Propre à efet-crea.html (classes .ef-*)
   ######################################################### */


/* ---------- Hero ---------- */

.ef-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: end;
  min-height: 100svh;
  padding: 120px var(--pad) 50px;
}

.ef-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.ef-title .case-line:last-child {
  padding-left: 6vw;
}

/* Trois barres de couleur, comme dans la charte */
.ef-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-width: 520px;
  margin: 40px 0 0;
}

.ef-bars span {
  height: 14px;
  background: var(--c);
}

.ef-pitch {
  max-width: 420px;
  margin: 34px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.ef-pitch em {
  font-family: Georgia, serif;
  color: var(--fg);
}

.ef-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
  margin: 36px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ef-facts dt {
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.ef-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.ef-hero-media {
  aspect-ratio: 4 / 5;
  max-width: 600px;
  justify-self: end;
  width: 100%;
}

.ef-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}


/* ---------- Charte : sommaire fixe + chapitres ---------- */

.ef-manual {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 5vw;
  padding: 80px var(--pad) 0;
}

.ef-toc {
  position: sticky;
  top: 120px;
  align-self: start;
}

.ef-toc p {
  margin: 0 0 18px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.ef-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.ef-toc a {
  display: block;
  margin-left: -1px;
  padding: 9px 0 9px 16px;
  border-left: 1px solid transparent;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease, padding-left 0.4s var(--ease-out);
}

.ef-toc a:hover {
  color: var(--fg);
}

.ef-toc a.is-current {
  padding-left: 22px;
  border-left-color: var(--accent);
  color: var(--fg);
}

.ef-chapter {
  padding: 40px 0 120px;
  scroll-margin-top: 100px;
}

.ef-chapter-num {
  margin: 0 0 22px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}

.ef-chapter > .case-text {
  margin: 30px 0 44px;
}

/* Pages de la charte, côte à côte */
.ef-pages {
  display: grid;
  gap: 10px;
}

.ef-pages-2,
.ef-pages-apps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ef-chapter .case-media {
  background: #fff;
}

.ef-pages-apps .case-media {
  background: #0e0e0e;
}

/* Nuancier : un clic copie le code */
.ef-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.ef-swatches button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 200px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--c);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: left;
  transition: min-height 0.5s var(--ease-out);
}

.ef-swatches button.is-light {
  color: #141313;
}

.ef-swatches code {
  font: inherit;
  opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
  .ef-swatches button:hover {
    min-height: 240px;
  }
}

/* Toutes les pages en vignettes */
.ef-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ef-thumbs img {
  width: 100%;
  aspect-ratio: 1800 / 1272;
  object-fit: cover;
  background: #fff;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-thumbs img:hover {
    position: relative;
    z-index: 2;
    transform: scale(1.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }
}

.ef-download {
  display: inline-flex;
  gap: 14px;
  margin-top: 40px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}


/* ---------- Outro ---------- */

.ef-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(90px, 18vw, 330px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.ef-end .case-line:last-child {
  padding-left: 16vw;
  color: var(--accent);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .ef-hero,
  .ef-manual {
    grid-template-columns: 1fr;
  }

  .ef-hero {
    min-height: 0;
  }

  .ef-hero-media {
    justify-self: start;
    max-width: 450px;
  }

  /* Le sommaire devient une barre qui reste en haut, à faire défiler */
  .ef-toc {
    top: 70px;
    z-index: 5;
    margin: 0 calc(var(--pad) * -1);
    padding: 12px var(--pad);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .ef-toc p {
    display: none;
  }

  .ef-toc ol {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border: 0;
    scrollbar-width: none;
  }

  .ef-toc a,
  .ef-toc a.is-current {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
    font-size: 11px;
  }

  .ef-toc a.is-current {
    border-color: var(--accent);
  }

  .ef-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ef-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {

  .ef-pages-2,
  .ef-pages-apps {
    grid-template-columns: 1fr;
  }

  .ef-swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ef-swatches button {
    min-height: 120px;
  }

  .ef-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ef-facts {
    grid-template-columns: 1fr;
  }

  .ef-title .case-line:last-child,
  .ef-end .case-line:last-child {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ef-hero-media img {
    transform: none;
  }
}

/* EFET — corrections : largeur des colonnes, image de couleurs limitée, titre final sur mobile */
.ef-manual > * {
  min-width: 0;
}

.ef-chapter > .case-media {
  max-width: 1000px;
}

@media (max-width: 600px) {
  .ef-end {
    font-size: 21vw;
  }

  .ef-toc {
    margin: 0;
    padding: 12px 0;
  }
}


/* #########################################################
   JAZZ & BELLE PLAISANCE — DISPOSITION « LA BUÉE QUI SE DISSIPE »
   Propre à jazz-belle-plaisance.html (classes .jz-*)
   ######################################################### */


/* ---------- Apparition « buée » : flou puis net ---------- */

.js [data-reveal="mist"] {
  opacity: 1;
  transform: none;
}

.js [data-reveal="mist"] img {
  filter: blur(28px) saturate(0.6);
  transform: scale(1.06);
  transition:
    filter 1.8s var(--ease-out) 0.2s,
    transform 1.8s var(--ease-out) 0.2s;
}

.js [data-reveal="mist"].is-in img {
  filter: none;
  transform: none;
}


/* ---------- Hero ---------- */

.jz-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 4vw;
  align-items: center;
  min-height: 100svh;
  padding: 120px var(--pad) 60px;
}

.jz-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(56px, 6.6vw, 130px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.jz-festival {
  margin: 30px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.jz-text {
  max-width: 380px;
  margin: 18px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.jz-text em {
  font-family: Georgia, serif;
  color: var(--fg);
}

/* Infos en lignes, comme sur l'ancien portfolio */
.jz-facts {
  max-width: 420px;
  margin: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.jz-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.jz-facts dt {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.jz-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.jz-poster {
  margin: 0;
  aspect-ratio: 4 / 3;
}

.jz-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------- Trois loupes ---------- */

.jz-lenses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4vw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jz-lenses li {
  position: relative;
}

/* Cercle qui zoome dans l'affiche */
.jz-lens {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("assets/jazz/jz-affiche.jpg") var(--x) var(--y) / 500% auto no-repeat;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, 0.45);
  transition: background-size 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .jz-lenses li:hover .jz-lens {
    background-size: 640% auto;
    transform: rotate(-4deg);
  }
}

.jz-lens-num {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 22px;
  color: var(--accent);
}

.jz-lenses h3 {
  margin: 28px 0 10px;
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.jz-lenses p {
  max-width: 30ch;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(238, 234, 226, 0.7);
}

/* Couleurs primaires */
.jz-colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.jz-colors span {
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.jz-colors span.is-light {
  color: #141313;
}

.jz-colors p {
  margin: 0 0 0 16px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: rgba(238, 234, 226, 0.7);
}


/* ---------- Outro ---------- */

.jz-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 11vw, 200px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.jz-end .case-line:last-child {
  text-align: right;
  color: var(--accent);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .jz-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .jz-lenses {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 600px) {

  .jz-colors p {
    margin: 12px 0 0;
  }

  .jz-end .case-line:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js [data-reveal="mist"] img {
    filter: none;
    transform: none;
    transition: none;
  }
}


/* #########################################################
   BIENNALE DE CHAUMONT — DISPOSITION « LE SYSTÈME ET LE BUG »
   Propre à biennale-chaumont.html (classes .bn-*)
   ######################################################### */


/* ---------- Hero : grille de 12 colonnes visible ---------- */

.bn-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px var(--pad) 50px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.06) 0 1px,
    transparent 1px calc((100% - 1px) / 12)
  );
  background-origin: content-box;
  background-clip: content-box;
}

.bn-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.bn-title .case-line:last-child {
  padding-left: 8.33%;
}

.bn-hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 4vw;
  align-items: end;
  margin-top: 60px;
}

.bn-question {
  max-width: 460px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.bn-question em {
  font-family: Georgia, serif;
  color: var(--accent);
}

.bn-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.bn-facts dt {
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.bn-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}


/* ---------- Le système : affiches recréées en code ---------- */

.bn-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.bn-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 4;
  padding: 7% 7% 6%;
  overflow: hidden;
  background: #efebe3;
  color: #111;
  container-type: inline-size;
  transition: transform 0.5s var(--ease-out);
}

.bn-p-year {
  align-self: flex-end;
  font-family: "Inter", sans-serif;
  font-size: 11cqw;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--c);
}

.bn-p-title {
  margin-top: 2cqw;
  font-family: "Inter", sans-serif;
  font-size: 14cqw;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.bn-p-meta {
  margin-top: 5cqw;
  font-family: "DM Mono", monospace;
  font-size: 3.4cqw;
  letter-spacing: 0.04em;
}

/* Grille de pastilles, comme sur les affiches */
.bn-p-dots {
  margin-top: auto;
  height: 30cqw;
  background:
    radial-gradient(circle, var(--c) 0 32%, transparent 34%) 0 0 / 20% 33.33%;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

/* L'affiche « buggée » : bandes noires et texte d'erreur */
.bn-glitch::after {
  content: "";
  position: absolute;
  right: 0;
  top: 46%;
  width: 26%;
  height: 34%;
  background: repeating-linear-gradient(
    to bottom,
    #111 0 2px,
    transparent 2px 5px
  );
  mix-blend-mode: multiply;
}

.bn-p-error {
  position: absolute;
  left: 8%;
  top: 52%;
  padding: 1cqw 2cqw;
  background: #111;
  color: var(--c);
  font-family: "DM Mono", monospace;
  font-size: 4cqw;
}

@keyframes bn-glitch {
  0%, 100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  20% { transform: translate(-3px, 1px); clip-path: inset(10% 0 60% 0); }
  40% { transform: translate(3px, -1px); clip-path: inset(50% 0 20% 0); }
  60% { transform: translate(-2px, 2px); clip-path: inset(0 0 0 0); }
  80% { transform: translate(2px, 0); clip-path: inset(30% 0 40% 0); }
}

@media (hover: hover) and (pointer: fine) {

  .bn-poster:hover {
    transform: translateY(-8px);
  }

  /* Au survol, chaque affiche « bugue » un instant */
  .bn-poster:hover .bn-p-title {
    animation: bn-glitch 0.4s steps(2) 2;
    color: var(--c);
  }
}

.bn-final {
  max-width: 1200px;
}

.bn-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(20, 19, 19, 0.8);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}


/* ---------- Deux pistes ---------- */

.bn-axes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bn-axis {
  padding: 28px;
  border: 1px solid var(--line);
  opacity: 0.6;
  transition: opacity 0.4s ease, border-color 0.4s ease;
}

.bn-axis.is-chosen {
  border-color: var(--accent);
  opacity: 1;
}

.bn-axis:hover {
  opacity: 1;
}

.bn-axis-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.bn-axis h3 {
  margin: 18px 0 12px;
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 2.8vw, 46px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.bn-axis p {
  max-width: 38ch;
  margin: 0 0 24px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(238, 234, 226, 0.7);
}

.bn-axis .case-media {
  background: #fff;
}


/* ---------- Recherches ---------- */

.bn-tests {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.bn-tests li {
  padding: 16px 12px 16px 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--muted);
}

.bn-tests li span {
  display: block;
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
}

.bn-tests li.is-chosen {
  color: var(--fg);
  border-top: 2px solid var(--accent);
  margin-top: -1px;
}

.bn-pages-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bn-pages-2 .case-media {
  background: #fff;
}


/* ---------- Références ---------- */

.bn-quote {
  margin: 0 0 40px;
}

.bn-quote p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 6vw, 110px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.bn-quote .case-serif {
  color: var(--accent);
}

.bn-quote cite {
  display: block;
  margin-top: 20px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.bn-refs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-refs li {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bn-refs li:hover {
  background: var(--accent);
  color: #141313;
}


/* ---------- Dossier complet ---------- */

.bn-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bn-thumbs img {
  width: 100%;
  aspect-ratio: 1190 / 842;
  object-fit: cover;
  background: #fff;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .bn-thumbs img:hover {
    position: relative;
    z-index: 2;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }
}


/* ---------- Outro ---------- */

.bn-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 16vw, 300px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.bn-end .case-line:last-child {
  padding-left: 18vw;
  color: var(--accent);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .bn-hero {
    min-height: 0;
  }

  .bn-hero-bottom,
  .bn-axes,
  .bn-pages-2 {
    grid-template-columns: 1fr;
  }

  .bn-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bn-row .bn-poster:nth-child(n + 4) {
    display: none;
  }

  .bn-tests {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {

  .bn-facts {
    grid-template-columns: 1fr;
  }

  .bn-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bn-row .bn-poster:nth-child(n + 3):not(.bn-glitch) {
    display: none;
  }

  .bn-row .bn-glitch {
    display: flex;
  }

  .bn-tests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bn-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bn-title .case-line:last-child,
  .bn-end .case-line:last-child {
    padding-left: 0;
  }

  .bn-title {
    font-size: 13vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bn-poster:hover .bn-p-title {
    animation: none;
  }
}


/* #########################################################
   ROLLIN'LOVE (CINNAMON ROLLS) — DISPOSITION « ROULÉ AVEC AMOUR »
   Propre à cinnamon-rolls.html (classes .cr-*)
   ######################################################### */

.cr-page {
  --cr-raspberry: #9a2f58;
  --cr-pistachio: #a8cc4f;
  --cr-cream: #f2ecd8;
}


/* ---------- Hero : enseigne ronde ---------- */

.cr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 5vw;
  align-items: center;
  min-height: 100svh;
  padding: 120px var(--pad) 60px;
}

.cr-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 11vw, 210px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.cr-title .case-line:last-child {
  padding-left: 6vw;
  color: var(--cr-pistachio);
}

.cr-pitch {
  max-width: 420px;
  margin: 34px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.cr-facts {
  max-width: 460px;
  margin: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cr-facts div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.cr-facts dt {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.cr-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.cr-sign {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  justify-self: center;
}

/* Texte circulaire qui tourne lentement */
.cr-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: cr-spin 30s linear infinite;
}

.cr-ring text {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 3px;
  fill: var(--cr-pistachio);
}

@keyframes cr-spin {
  to { transform: rotate(360deg); }
}

.cr-sign-img {
  position: absolute;
  inset: 12%;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #0e0e0e;
}

.cr-sign-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 50%;
  transform: scale(1.35);
  transition: transform 1.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .cr-sign:hover .cr-sign-img img {
    transform: scale(1.45) rotate(-6deg);
  }
}


/* ---------- Images aux coins arrondis (comme les boîtes) ---------- */

.cr-round-corners {
  border-radius: 28px;
}

.cr-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cr-raspberry);
  color: var(--cr-cream);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}


/* ---------- Mascotte ---------- */

.cr-mascot {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 5vw;
  align-items: center;
}

.cr-mascot .case-text {
  margin-top: 36px;
}


/* ---------- Packaging ---------- */

.cr-pack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cr-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.cr-colors li {
  display: flex;
  align-items: flex-end;
  width: 150px;
  height: 150px;
  padding: 16px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  justify-content: center;
  transition: transform 0.6s var(--ease-out);
}

.cr-colors li.is-light {
  color: #141313;
}

@media (hover: hover) and (pointer: fine) {
  .cr-colors li:hover {
    transform: rotate(-12deg) scale(1.06);
  }
}


/* ---------- Fidélité : carte recréée ---------- */

.cr-loyalty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 5vw;
  align-items: center;
}

.cr-loyalty .case-text {
  margin-top: 36px;
}

.cr-card {
  max-width: 480px;
  margin-top: 40px;
  padding: 22px;
  border-radius: 14px;
  background: var(--cr-cream);
  color: var(--cr-raspberry);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.cr-card-head {
  display: flex;
  justify-content: space-between;
  margin: -22px -22px 20px;
  padding: 12px 22px;
  border-radius: 14px 14px 0 0;
  background: var(--cr-raspberry);
  color: var(--cr-cream);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.cr-stamps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cr-stamps li {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px solid var(--cr-raspberry);
  border-radius: 50%;
}

/* Tampon : une petite spirale pistache qui se pose */
.cr-stamps li::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, var(--cr-pistachio) 0 3px, transparent 3px 6px);
  transform: scale(0) rotate(-90deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.5s + var(--i) * 0.14s);
}

.cr-card.is-in .cr-stamps li::after,
html:not(.js) .cr-stamps li::after {
  transform: none;
}

.cr-stamps li.is-free {
  background: var(--cr-raspberry);
}

.cr-stamps li.is-free::after {
  display: none;
}

.cr-stamps li.is-free span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr-cream);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease 2s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2s;
}

.cr-card.is-in .cr-stamps li.is-free span,
html:not(.js) .cr-stamps li.is-free span {
  opacity: 1;
  transform: none;
}


/* ---------- Outro ---------- */

.cr-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.cr-end .case-line:last-child {
  padding-left: 12vw;
  color: var(--cr-pistachio);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .cr-hero,
  .cr-mascot,
  .cr-loyalty {
    grid-template-columns: 1fr;
  }

  .cr-hero {
    min-height: 0;
  }

  .cr-sign {
    width: min(100%, 460px);
  }
}

@media (max-width: 600px) {

  .cr-pack {
    grid-template-columns: 1fr;
  }

  .cr-colors li {
    width: calc(50% - 5px);
    height: auto;
    aspect-ratio: 1;
  }

  .cr-title .case-line:last-child,
  .cr-end .case-line:last-child {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cr-ring {
    animation: none;
  }

  .cr-stamps li::after,
  .cr-stamps li.is-free span {
    transition: none;
  }
}


/* #########################################################
   OFFSET (MAGAZINE) — DISPOSITION « MAGAZINE EN DOUBLES PAGES »
   Propre à magazine.html (classes .of-*)
   L'écriture manuscrite (Reenie Beanie) n'est chargée que sur cette page
   ######################################################### */

.of-page {
  --of-red: #e3261c;
  --of-hand: "Reenie Beanie", "Segoe Print", cursive;
}

.of-mag {
  padding: 120px var(--pad) 0;
}

.of-eyebrow {
  margin-bottom: 26px;
}


/* ---------- Double page ---------- */

.of-spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  aspect-ratio: 16 / 10;
  max-height: 86vh;
  margin: 0 auto 60px;
  background: #efebe3;
  color: #141313;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

/* Pliure centrale */
.of-spread::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 60px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0.18) 52%, transparent);
  pointer-events: none;
}

.of-leaf {
  position: relative;
  margin: 0;
  padding: 4% 5%;
  overflow: hidden;
}

/* En-tête courant et numéro de page */
.of-runner {
  position: relative;
  z-index: 2;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.of-folio {
  position: absolute;
  z-index: 2;
  bottom: 3.5%;
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.of-leaf-left .of-folio { left: 5%; }
.of-leaf-right .of-folio { right: 5%; }
.of-photo .of-folio { color: #fff; }

/* Page photo : l'image remplit toute la page */
.of-photo {
  padding: 0;
}

.of-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .of-photo:hover img {
    transform: scale(1.03);
  }
}


/* ---------- Couverture ---------- */

.of-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.of-masthead {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 14vw, 260px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.of-masthead span {
  display: block;
}


/* ---------- Écriture manuscrite rouge ---------- */

.of-scribble {
  position: absolute;
  z-index: 4;
  margin: 0;
  font-family: var(--of-hand);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 86px);
  line-height: 1;
  color: var(--of-red);
  white-space: nowrap;
  pointer-events: none;
}

.of-scribble svg,
.of-circled svg {
  position: absolute;
  overflow: visible;
}

.of-page svg path {
  fill: none;
  stroke: var(--of-red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* Les traits se dessinent quand la double page apparaît */
.js .of-page [data-reveal] svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease-out) 0.9s;
}

.js .of-page [data-reveal].is-in svg path {
  stroke-dashoffset: 0;
}

/* L'écriture « s'écrit » de gauche à droite */
.js .of-page [data-reveal] .of-scribble {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out) 0.4s;
}

.js .of-page [data-reveal].is-in .of-scribble {
  clip-path: inset(-40% -60% -60% -10%);
}

.of-scribble-cover {
  left: 36%;
  bottom: 14%;
  transform: rotate(-8deg);
}

.of-scribble-cover svg {
  left: -3%;
  bottom: -16px;
  width: 106%;
  height: 24px;
}

.of-scribble-edito {
  left: 41%;
  top: 12%;
  transform: rotate(6deg);
}

.of-scribble-edito svg {
  left: 102%;
  top: 30%;
  width: 110px;
  height: 80px;
}


/* ---------- Édito ---------- */

.of-edito {
  display: flex;
  flex-direction: column;
}

.of-page-title {
  margin: 8% 0 6%;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 6vw, 110px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.of-columns {
  columns: 2;
  column-gap: 8%;
  font-family: "Inter", sans-serif;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.5;
}

.of-columns p {
  margin: 0 0 1em;
}

.of-dropcap::first-letter {
  float: left;
  margin: 0.04em 0.08em 0 0;
  font-size: 3.4em;
  font-weight: 700;
  line-height: 0.8;
  color: var(--of-red);
}


/* ---------- Structure / liberté ---------- */

.of-spread-type .of-leaf {
  display: flex;
  flex-direction: column;
}

.of-big {
  margin: auto 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(44px, 6.4vw, 120px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.08em;
}

.of-free {
  background: #f6f2ea;
}

.of-hand-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4%;
  margin: auto 0;
  font-family: var(--of-hand);
  font-weight: 400;
  color: var(--of-red);
  text-align: center;
}

.of-circled {
  position: relative;
  display: inline-block;
  padding: 0.1em 0.3em;
  font-size: clamp(72px, 8.4vw, 150px);
  line-height: 0.9;
  transform: rotate(-4deg);
}

.of-circled svg {
  inset: -12% -8%;
  width: 116%;
  height: 124%;
}

.of-hand-small {
  font-size: clamp(32px, 3vw, 56px);
  transform: rotate(3deg);
}


/* ---------- En couverture : Theodora ---------- */

.of-story {
  display: flex;
  flex-direction: column;
}

.of-story-text {
  max-width: 34ch;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.5;
}

/* Les valeurs, griffonnées en rouge */
.of-values {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: auto 0 6%;
  padding: 0;
  list-style: none;
  font-family: var(--of-hand);
  font-size: clamp(40px, 4.4vw, 80px);
  line-height: 0.95;
  color: var(--of-red);
}

.of-values li:nth-child(1) { transform: rotate(-3deg); }
.of-values li:nth-child(2) { transform: rotate(2deg); margin-left: 8%; }
.of-values li:nth-child(3) { transform: rotate(-2deg); margin-left: 3%; }

/* Recadrage serré sur la couverture du magazine */
.of-photo-zoom img {
  object-position: 62% 48%;
  transform: scale(1.7);
}

@media (hover: hover) and (pointer: fine) {
  .of-photo-zoom:hover img {
    transform: scale(1.78);
  }
}

.of-scribble-story {
  left: 44%;
  top: 18%;
  transform: rotate(-6deg);
}

.of-scribble-story svg {
  left: 90%;
  top: 40%;
  width: 90px;
  height: 90px;
}


/* ---------- Légendes entre les doubles pages ---------- */

.of-caption {
  max-width: 520px;
  margin: 0 auto 120px;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  color: rgba(238, 234, 226, 0.75);
}


/* ---------- À plat : couverture et 4e (images de 595 px : affichées petit pour rester nettes) ---------- */

.of-flat {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-width: 640px;
  margin: 0 auto 30px;
}

.of-flat figure {
  margin: 0;
}

.of-flat img {
  display: block;
  width: 100%;
  aspect-ratio: 595 / 794;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease-out);
}

.of-flat figure:first-child img {
  transform-origin: right center;
}

.of-flat figure:last-child img {
  transform-origin: left center;
}

@media (hover: hover) and (pointer: fine) {

  .of-flat figure:first-child:hover img {
    transform: rotate(-2deg) translateX(-6px);
  }

  .of-flat figure:last-child:hover img {
    transform: rotate(2deg) translateX(6px);
  }
}

.of-flat figcaption {
  margin-top: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.of-scribble-flat {
  right: -16%;
  top: -36px;
  transform: rotate(-7deg);
  font-size: clamp(34px, 3.2vw, 54px);
}


/* ---------- Crédits (« l'ours ») ---------- */

.of-ours-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.of-ours .of-ours-label + h2 {
  margin-top: 10px;
}

.of-ours {
  position: relative;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 36px 40px;
  border: 2px solid var(--fg);
}

.of-ours h2 {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.of-ours dl {
  margin: 0;
}

.of-ours dl div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.of-ours dt {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.of-ours dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.of-scribble-ours {
  right: -20px;
  bottom: -28px;
  transform: rotate(-6deg);
  font-size: clamp(36px, 3.4vw, 58px);
}


/* ---------- Outro ---------- */

.of-end {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 2vw;
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(90px, 17vw, 320px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.of-end-hand {
  font-family: var(--of-hand);
  font-weight: 400;
  font-size: 1.25em;
  letter-spacing: 0;
  color: var(--of-red);
  transform: rotate(-6deg);
}


/* ---------- Tablette / mobile : les pages s'empilent ---------- */

@media (max-width: 900px) {

  .of-spread {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    max-height: none;
  }

  .of-spread::after {
    display: none;
  }

  .of-leaf {
    aspect-ratio: 4 / 3;
  }

  .of-edito,
  .of-spread-type .of-leaf {
    aspect-ratio: auto;
    min-height: 60vw;
    padding: 7% 7% 12%;
  }

  .of-columns {
    columns: 1;
  }

  .of-scribble-cover {
    left: 8%;
    bottom: auto;
    top: 44%;
  }

  .of-scribble-edito {
    left: auto;
    right: 6%;
    top: 47%;
  }

  .of-scribble-edito svg,
  .of-scribble-story svg {
    display: none;
  }

  .of-story {
    aspect-ratio: auto;
    min-height: 70vw;
    padding: 7% 7% 12%;
  }

  .of-scribble-story {
    left: auto;
    right: 8%;
    top: 52%;
  }
}

@media (max-width: 600px) {

  .of-ours {
    padding: 26px 22px;
  }

  .of-ours dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .of-scribble-ours {
    right: 0;
  }

  .of-scribble-flat {
    right: 0;
    top: -44px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js .of-page [data-reveal] svg path {
    stroke-dashoffset: 0;
    transition: none;
  }

  .js .of-page [data-reveal] .of-scribble {
    clip-path: none;
    transition: none;
  }
}

/* OFFSET — tablette : l'annotation « à plat » reste dans l'écran */
@media (max-width: 1000px) {
  .of-scribble-flat {
    right: 0;
    top: -44px;
  }
}


/* EFET — fichiers bruts (sans mockup) : déclinaisons du logo, carnets et affiche à plat */

.ef-sub {
  margin: 44px 0 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* Grille des déclinaisons horizontales */
.ef-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ef-logo-tile {
  margin: 0;
  overflow: hidden;
  /* Fond Parchment : les versions transparentes restent visibles */
  background: #f4f1ea;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}

.ef-logo-tile img {
  display: block;
  width: 100%;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .ef-logo-tile:hover {
    position: relative;
    z-index: 2;
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  }
}

/* Versions verticales (fichiers de 438 px : affichées petit pour rester nettes) */
.ef-logos-v {
  display: grid;
  grid-template-columns: 200px 200px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.ef-logo-rules {
  max-width: 520px;
  background: #fff;
}

.ef-logo-rules figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  background: rgba(20, 19, 19, 0.8);
  color: var(--fg);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Carnets et affiche à plat */
.ef-flat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.72fr);
  gap: 12px;
  align-items: end;
  max-width: 1100px;
  margin-bottom: 10px;
}

.ef-flat figure {
  margin: 0;
}

.ef-flat img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .ef-flat figure:hover img {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

.ef-flat figcaption {
  margin-top: 12px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (max-width: 900px) {

  .ef-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ef-logos-v {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ef-logos-v .ef-logo-tile {
    max-width: 220px;
  }

  .ef-logo-rules {
    grid-column: 1 / -1;
  }

  .ef-flat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {

  .ef-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* #########################################################
   MONOGRAMME — DISPOSITION « PLANCHE DE SPÉCIMEN »
   Propre à monogramme.html (classes .mn-*)
   Le signe est un SVG partagé (<symbol id="mn-glyph">), recoloré en CSS.
   ######################################################### */


/* ---------- Hero : le titre encadre le monogramme ---------- */

.mn-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: 2vw;
  min-height: 100svh;
  padding: 110px var(--pad) 48px;
}

.mn-eyebrow {
  grid-column: 1 / 7;
  grid-row: 1;
}

/* Le titre et le signe partagent la même cellule */
.mn-title,
.mn-mark {
  grid-column: 1 / -1;
  grid-row: 2;
}

.mn-title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(84px, 15vw, 290px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  mix-blend-mode: difference; /* le titre s'inverse quand il passe sur le signe */
  pointer-events: none;
}

.mn-title-bottom {
  text-align: right;
}

.mn-title .case-serif {
  letter-spacing: -0.06em;
}

.mn-mark {
  align-self: center;
  justify-self: center;
  width: min(48vw, 68svh);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.9s var(--ease-out);
}

.mn-mark svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: var(--fg);
  stroke: transparent;
  stroke-width: 2.5;
  transition: fill 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mn-mark:hover svg {
    fill: var(--accent);
  }
}

/* Apparition : le contour se trace, puis la forme se remplit */
.js [data-reveal="draw"] {
  opacity: 1;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.js [data-reveal="draw"] svg {
  fill: transparent;
  stroke: var(--accent);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition:
    stroke-dashoffset 2.4s cubic-bezier(.45, 0, .2, 1) .2s,
    fill 1s ease 1.9s,
    stroke 0.8s ease 2.5s;
}

.js [data-reveal="draw"].is-in svg {
  fill: var(--fg);
  stroke: transparent;
  stroke-dashoffset: 0;
}

@media (hover: hover) and (pointer: fine) {
  .js [data-reveal="draw"].is-in:hover svg {
    fill: var(--accent);
    transition: fill 0.5s ease;
  }
}

.mn-pitch {
  grid-column: 1 / 6;
  grid-row: 3;
  align-self: end;
  max-width: 380px;
  margin: 28px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.mn-pitch strong {
  color: var(--accent);
  font-weight: 500;
}

.mn-pitch em {
  font-family: Georgia, serif;
  color: var(--fg);
}

.mn-facts {
  grid-column: 7 / -1;
  grid-row: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mn-facts dt {
  margin-bottom: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.mn-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm);
}


/* ---------- 01 : l'équation T + L = signature ---------- */

.mn-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr);
  align-items: start;
  gap: 2vw;
  max-width: 1400px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Sous-grille : images, titres et textes s'alignent d'une colonne à l'autre,
   et les signes + / = restent centrés sur les images */
@media (min-width: 901px) {
  .mn-equation {
    grid-template-rows: auto auto auto;
    row-gap: 0;
  }

  .mn-equation > li {
    display: grid;
    grid-row: 1 / span 3;
    grid-template-rows: subgrid;
  }

  .mn-equation > .mn-op {
    display: block;
    grid-row: 1;
  }
}

.mn-equation figure {
  aspect-ratio: 1 / 1;
  margin: 0 0 22px;
  overflow: hidden;
}

/* Dessins noirs sur blanc → traits clairs sur le fond du site (pas de fond ajouté) */
.mn-equation img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.92;
  transition: transform 0.9s var(--ease-out), opacity 0.4s ease;
}

.mn-equation li:hover img {
  transform: scale(1.05) rotate(-2deg);
  opacity: 1;
}

.mn-equation h3 {
  margin: 0 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.mn-equation p {
  max-width: 260px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.7);
}

.mn-op {
  align-self: center;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 5vw, 90px);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}

.mn-result h3 {
  border-top-color: var(--accent);
  color: var(--accent);
}

.mn-uses {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 70px;
}

.mn-uses span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--warm);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.mn-uses span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mn-uses .mn-uses-label {
  padding-left: 0;
  border: 0;
  color: var(--accent);
}


/* ---------- 02 : nuancier interactif ---------- */

.mn-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3vw;
  align-items: stretch;
}

.mn-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); /* la scène reste lisible quand son fond est noir */
  transition: background-color 0.7s var(--ease-out);
}

.mn-stage svg {
  width: 56%;
  height: auto;
  fill: var(--ink);
  transition: fill 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}

.mn-stage:hover svg {
  transform: scale(1.04) rotate(-2deg);
}

.mn-stage-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.7s ease;
}

.mn-stage-note.is-new {
  animation: mn-note 0.6s var(--ease-out);
}

@keyframes mn-note {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.mn-moods {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mn-moods button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease, padding 0.4s var(--ease-out);
}

.mn-moods button:hover {
  color: var(--fg);
  padding-left: 8px;
}

.mn-moods button[aria-pressed="true"] {
  color: var(--accent);
  padding-left: 8px;
}

/* Pastille : couleur du signe / couleur du fond */
.mn-moods i {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.4s var(--ease-out);
}

.mn-moods button[aria-pressed="true"] i {
  transform: scale(1.15);
  box-shadow: 0 0 0 1px var(--accent);
}


/* ---------- 03 : carte de visite qui se retourne ---------- */

.mn-card-zone {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: center;
}

.mn-card {
  display: block;
  width: 100%;
  max-width: 820px;
  padding: 0;
  border: 0;
  background: none;
  perspective: 1600px;
  cursor: pointer;
}

.mn-card-inner {
  position: relative;
  display: block;
  aspect-ratio: 4911.76 / 2640.06;
  transform-style: preserve-3d;
  transform: rotateY(0deg) rotateX(4deg);
  transition: transform 1s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .mn-card:hover .mn-card-inner {
    transform: rotateY(-10deg) rotateX(6deg);
  }

  .mn-card.is-flipped:hover .mn-card-inner {
    transform: rotateY(170deg) rotateX(6deg);
  }
}

.mn-card.is-flipped .mn-card-inner {
  transform: rotateY(180deg) rotateX(4deg);
}

.mn-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 6px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.mn-card-back {
  transform: rotateY(180deg);
}

.mn-card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mn-card-face img[hidden] {
  display: none;
}

.mn-card-switch {
  display: flex;
  gap: 6px;
  margin-bottom: 34px;
}

.mn-card-switch button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.mn-card-switch button:hover {
  color: var(--fg);
  border-color: var(--muted);
}

.mn-card-switch button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.mn-card-notes {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mn-card-notes div {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mn-card-notes dt {
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.mn-card-notes dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}


/* ---------- 04 : en situation ---------- */

.mn-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  max-width: 1500px;
  margin: 0 auto;
}

.mn-shot {
  margin: 0;
  overflow: hidden;
}

.mn-shot img {
  width: 100%;
}

.mn-shot-a { grid-column: 1 / 8; }
.mn-shot-b { grid-column: 8 / -1; }
.mn-shot-c { grid-column: 1 / 6; }
.mn-shot-d { grid-column: 6 / -1; }
.mn-shot-e { grid-column: 6 / -1; }

/* Les images verticales suivent la hauteur de leur voisine */
.mn-shot-b,
.mn-shot-c {
  position: relative;
}

.mn-shot-b img,
.mn-shot-c img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.mn-quote {
  grid-column: 1 / 6;
  align-self: center;
  margin: 0;
  padding: 0 2vw 0 0;
}

.mn-quote p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(30px, 3.4vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.mn-quote em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}



/* ---------- Outro ---------- */

.mn-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.mn-end .case-line:last-child {
  padding-left: 12vw;
  color: var(--accent);
}


/* ---------- Tablette ---------- */

@media (max-width: 900px) {

  .mn-hero {
    grid-template-rows: auto auto auto auto;
    min-height: 0;
    padding-top: 100px;
  }

  .mn-title {
    font-size: 20vw;
    min-height: 92vw;
  }

  .mn-mark {
    width: 78vw;
  }

  .mn-pitch,
  .mn-facts {
    grid-column: 1 / -1;
  }

  .mn-facts {
    grid-row: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mn-equation {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    row-gap: 40px;
  }

  .mn-equation .mn-op:nth-of-type(4) {
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0;
  }

  .mn-result {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
  }

  .mn-studio,
  .mn-card-zone {
    grid-template-columns: 1fr;
  }

  .mn-shot-a,
  .mn-shot-b,
  .mn-shot-c,
  .mn-shot-d,
  .mn-shot-e,
  .mn-quote {
    grid-column: 1 / -1;
  }

  .mn-shot-b,
  .mn-shot-c {
    aspect-ratio: 4 / 5;
  }

  .mn-quote {
    padding: 30px 0;
  }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

  .mn-equation {
    column-gap: 10px;
  }

  .mn-equation h3 {
    font-size: 16px;
  }

  .mn-result {
    max-width: 280px;
  }

  .mn-equation p {
    font-size: 11px;
  }

  .mn-stage-note {
    font-size: 11px;
  }

  .mn-end .case-line:last-child {
    padding-left: 0;
    text-align: right;
  }
}


/* ---------- Moins d'animations ---------- */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal="draw"] svg {
    fill: var(--fg);
    stroke: transparent;
    stroke-dashoffset: 0;
    transition: none;
  }

  .mn-card-inner,
  .mn-stage,
  .mn-stage svg {
    transition: none;
  }
}


/* #########################################################
   UPROAR NIGHTS — DISPOSITION « AFFICHE COLLÉE »
   Propre à uproar-nights.html (classes .up-*)
   Couleurs de la charte : bleu #0015FA, orange #FA5800, noir #272525
   ######################################################### */

.up-page {
  --up-orange: #fa5800;
  --up-blue: #0015fa;
}

.up-sub {
  margin: 0 0 18px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--up-orange);
}


/* ---------- Autocollants à déplacer ---------- */

.up-sticker {
  position: absolute;
  z-index: 4;
  height: auto;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r, -8deg));
  transition: transform 0.5s var(--ease-out), filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .up-sticker:hover {
    transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(calc(var(--r, -8deg) + 6deg)) scale(1.06);
  }
}

.up-sticker.is-dragging {
  cursor: grabbing;
  transition: filter 0.3s ease;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(calc(var(--r, -8deg) + 10deg)) scale(1.12);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
}

.up-sticker-hero {
  --r: -10deg;
  left: calc(50% - 4vw);
  bottom: 40px;
  width: clamp(110px, 11vw, 200px);
}

.up-poster-wrap {
  position: relative;
  max-width: 1400px;
}

.up-sticker-grill {
  --r: 9deg;
  top: -46px;
  right: 6%;
  width: clamp(120px, 14vw, 240px);
}

.up-sticker-hint {
  position: absolute;
  top: -28px;
  right: calc(6% + clamp(130px, 15vw, 250px));
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--up-orange);
  transition: opacity 0.5s ease;
}

.up-sticker-hint.is-done {
  opacity: 0;
}


/* ---------- Le billet : infos clés + compte à rebours ---------- */

.up-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 2.2fr);
  margin: 70px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.up-ticket > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-left: 1px dashed rgba(255, 255, 255, 0.22);
}

.up-ticket > div:first-child {
  border-left: 0;
}

.up-ticket span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.up-ticket b {
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.up-ticket-count span {
  color: var(--up-orange);
}

.up-ticket-count b {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(30px, 3.4vw, 60px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.up-ticket-count i {
  font-style: normal;
}

.up-ticket-count small {
  margin-right: 10px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--up-orange);
}


/* ---------- Curseurs « univers » ---------- */

.up-univers {
  margin: 0 0 70px;
  padding: 26px 28px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.up-univers-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.up-univers-head p {
  margin: 0;
  color: var(--up-orange);
}

.up-univers-head button {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.up-univers-head button:hover {
  color: var(--fg);
  border-color: var(--muted);
}

.up-univers label {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 130px;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--warm);
}

.up-univers label span:last-child {
  text-align: right;
}

.up-univers input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  background: linear-gradient(var(--up-orange), var(--up-orange)) 0 50% / var(--v, 50%) 2px no-repeat,
              linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)) 0 50% / 100% 1px no-repeat;
  cursor: ew-resize;
}

.up-univers input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 4px;
  height: 22px;
  border: 0;
  border-radius: 2px;
  background: var(--up-orange);
}

.up-univers input[type=range]::-moz-range-thumb {
  width: 4px;
  height: 22px;
  border: 0;
  border-radius: 2px;
  background: var(--up-orange);
}

.up-univers input[type=range]:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}


/* ---------- Billetterie ---------- */

.up-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 5vw;
  align-items: center;
  padding-top: 60px;
}

.up-flow-title {
  margin: 0 0 30px;
  font-family: "Inter", sans-serif;
  font-size: clamp(46px, 6vw, 104px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.up-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
}

.up-steps button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.up-steps button b {
  margin-right: 6px;
  font-weight: 500;
}

.up-steps button:hover {
  color: var(--fg);
  border-color: var(--muted);
}

.up-steps button[aria-selected="true"] {
  background: var(--up-orange);
  border-color: var(--up-orange);
  color: #000;
}

.up-screen {
  justify-self: end;
  width: 100%;
  max-width: 640px;
  margin: 0;
  cursor: pointer;
}

.up-screen img {
  width: 100%;
}

.up-screen img[hidden],
.up-stories img[hidden] {
  display: none;
}

.up-screen.is-swapping img {
  animation: up-swap 0.6s var(--ease-out);
}

@keyframes up-swap {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}


/* ---------- Soirée Cypher ---------- */

.up-cypher {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  max-width: 1500px;
}

.up-cypher figure {
  margin: 0;
}

.up-cypher img {
  width: 100%;
}

.up-cypher-main { grid-column: 1 / 8; }
.up-cypher-side { grid-column: 8 / -1; }

/* La capture verticale prend la hauteur de sa voisine */
.up-cypher-side {
  position: relative;
}

.up-cypher .up-cypher-side img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.up-cypher-wide { grid-column: 6 / -1; }

.up-goals {
  grid-column: 1 / 6;
  align-self: center;
  margin: 0;
  padding: 0 2vw 0 0;
  list-style: none;
  counter-reset: none;
}

.up-goals li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  transition: color 0.3s ease, padding 0.4s var(--ease-out);
}

.up-goals li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.up-goals b {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--up-orange);
}

.up-goals li:hover {
  padding-left: 10px;
  color: var(--up-orange);
}


/* ---------- Stories à plat ---------- */

.up-stories {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 750 / 1334;
  margin-top: 48px;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.up-stories img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.up-stories-bars {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
}

.up-stories-bars i {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.up-stories-bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.up-stories-bars i.is-done::after {
  transform: scaleX(1);
}

.up-stories-bars i.is-active::after {
  animation: up-story 5s linear forwards;
}

@keyframes up-story {
  to { transform: scaleX(1); }
}

.up-stories-handle {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 12px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.up-stories:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}


/* La photo d'ambiance est petite : on la garde à une taille où elle reste nette */
.up-page .case-event .case-media:last-child {
  max-width: 360px;
}


/* ---------- Tablette ---------- */

@media (max-width: 900px) {

  .up-ticket {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .up-ticket-count {
    grid-column: 1 / -1;
    border-left: 0 !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.22);
  }

  .up-flow {
    grid-template-columns: 1fr;
  }

  .up-screen {
    justify-self: start;
  }

  .up-cypher-main,
  .up-cypher-side,
  .up-cypher-wide,
  .up-goals {
    grid-column: 1 / -1;
  }

  .up-goals {
    padding: 20px 0;
  }

  .up-cypher-side {
    aspect-ratio: 1338 / 1418;
  }

  .up-sticker-hero {
    left: auto;
    right: calc(var(--pad) + 6px);
    bottom: 40px;
    width: 96px;
  }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

  .up-ticket {
    grid-template-columns: 1fr 1fr;
  }

  .up-ticket > div:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.22);
  }

  .up-ticket-count b {
    font-size: 30px;
  }

  .up-univers {
    padding: 20px 16px 8px;
  }

  .up-univers-head {
    flex-wrap: wrap;
  }

  .up-univers label {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    font-size: 11px;
  }

  .up-univers input[type=range] {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .up-sticker-grill {
    top: -30px;
  }

  .up-sticker-hint {
    display: none;
  }
}


/* ---------- Moins d'animations ---------- */

@media (prefers-reduced-motion: reduce) {
  .up-sticker,
  .up-screen.is-swapping img {
    transition: none;
    animation: none;
  }

  .up-stories-bars i.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
}


/* #########################################################
   PACKSHOT NIKE SHOX — DISPOSITION « LE STUDIO DANS LE NOIR »
   Propre à photographie-objet.html (classes .ps-*)
   La photo s'éclaire autour du curseur, comme une softbox.
   ######################################################### */

.ps-page {
  /* Bleu poudré, repris des pages éditées du projet */
  --ps-tone: #a9bde6;
}


/* ---------- Hero ---------- */

.ps-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 5vw;
  align-items: center;
  min-height: 100svh;
  padding: 110px var(--pad) 50px;
}

.ps-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 12vw, 230px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.ps-title .case-line:last-child {
  padding-left: 9vw;
}

.ps-title .case-serif {
  letter-spacing: -0.06em;
  color: var(--ps-tone);
}

.ps-pitch {
  max-width: 400px;
  margin: 36px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.ps-pitch strong {
  font-weight: 500;
  color: var(--fg);
}

.ps-pitch em {
  font-family: Georgia, serif;
  color: var(--ps-tone);
}

.ps-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  max-width: 460px;
  margin: 36px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ps-facts dt {
  margin-bottom: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.ps-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm);
}

/* La photo « dans le noir » + sa version éclairée, masquée autour du curseur */
.ps-light {
  --lx: 52%;
  --ly: 48%;
  position: relative;
  justify-self: end;
  width: min(100%, calc((100svh - 160px) * 2 / 3));
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.ps-light img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-light-base {
  filter: brightness(0.38) saturate(0.8);
}

.ps-light-lit {
  filter: brightness(1.35) contrast(1.05);
  -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, rgba(0, 0, 0, 0.55) 13vmax, transparent 24vmax);
  mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, rgba(0, 0, 0, 0.55) 13vmax, transparent 24vmax);
  pointer-events: none;
}

.ps-light-hint {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ps-tone);
  transition: opacity 0.6s ease;
}

.ps-light.is-touched .ps-light-hint {
  opacity: 0;
}


/* ---------- 01 : le décor, point par point ---------- */

.ps-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
}

.ps-scene-photo {
  position: relative;
  max-width: 620px;
  margin: 0;
}

.ps-scene-photo img {
  width: 100%;
}

.ps-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--ps-tone);
  border-radius: 50%;
  background: rgba(20, 19, 19, 0.6);
  color: var(--ps-tone);
  font: 11px "DM Mono", monospace;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s var(--ease-out);
}

/* Petite onde autour de chaque point */
.ps-pin::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--ps-tone);
  border-radius: 50%;
  animation: ps-ping 2.4s ease-out infinite;
}

@keyframes ps-ping {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(2.2); opacity: 0; }
}

.ps-pin.is-on,
.ps-pin:hover {
  background: var(--ps-tone);
  color: #141313;
  transform: translate(-50%, -50%) scale(1.15);
}

.ps-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ps-notes li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: padding 0.4s var(--ease-out);
}

.ps-notes b {
  grid-row: span 2;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--ps-tone);
}

.ps-notes h3 {
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.ps-notes p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.7);
}

.ps-notes li.is-on {
  padding-left: 10px;
}

.ps-notes li.is-on h3 {
  color: var(--ps-tone);
}


/* ---------- 02 : en studio ---------- */

.ps-studio {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
}

.ps-bts {
  max-width: 560px;
  margin: 0;
}

.ps-bts img {
  width: 100%;
}

.ps-studio-copy .case-text {
  margin-top: 30px;
}

/* Fiche technique façon écran d'appareil photo */
.ps-exif {
  max-width: 460px;
  margin: 40px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ps-exif div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
}

.ps-exif dt {
  color: var(--muted);
}

.ps-exif dd {
  margin: 0;
  color: var(--fg);
}

.ps-exif-rec {
  margin-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}

.ps-exif-rec dt {
  color: #ff3b30;
  animation: ps-rec 1.4s steps(2, start) infinite;
}

.ps-exif-rec dd {
  color: var(--muted);
}

@keyframes ps-rec {
  to { visibility: hidden; }
}


/* ---------- 03 : l'édition ---------- */

.ps-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 330px)) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.ps-pages figure {
  margin: 0;
}

.ps-pages img {
  width: 100%;
}

.ps-pages figure:nth-child(2) {
  margin-bottom: 40px;
}


/* ---------- Outro ---------- */

.ps-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.ps-end .case-line:last-child {
  padding-left: 12vw;
  color: var(--ps-tone);
}


/* ---------- Tablette ---------- */

@media (max-width: 900px) {

  .ps-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ps-light {
    justify-self: stretch;
    width: 100%;
    max-width: 560px;
  }

  .ps-scene,
  .ps-studio {
    grid-template-columns: 1fr;
  }

  .ps-pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-pages-mockup {
    grid-column: 1 / -1;
  }

  .ps-pages figure:nth-child(2) {
    margin-bottom: 0;
  }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

  .ps-title .case-line:last-child,
  .ps-end .case-line:last-child {
    padding-left: 0;
    text-align: right;
  }

  .ps-facts {
    gap: 14px;
  }
}


/* ---------- Moins d'animations ---------- */

@media (prefers-reduced-motion: reduce) {
  .ps-pin::after,
  .ps-exif-rec dt {
    animation: none;
  }
}


/* #########################################################
   FLIOO — DISPOSITION « LA CAMPAGNE, MOIS PAR MOIS »
   Propre à flioo.html (classes .fl-*)
   ######################################################### */

.fl-page {
  --fl-tone: #f27a2e; /* l'orange chaud de la nappe, sur l'affiche orange */
}


/* ---------- Hero ---------- */

.fl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 5vw;
  align-items: center;
  min-height: 100svh;
  padding: 110px var(--pad) 50px;
}

.fl-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(54px, 7.4vw, 140px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.fl-title .case-serif {
  letter-spacing: -0.05em;
  color: var(--fl-tone);
}

.fl-pitch {
  max-width: 420px;
  margin: 34px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.fl-pitch strong {
  font-weight: 500;
  color: var(--fg);
}

.fl-pitch em {
  font-family: Georgia, serif;
  color: var(--fl-tone);
}

.fl-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  max-width: 480px;
  margin: 34px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fl-facts dt {
  margin-bottom: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.fl-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm);
}

.fl-poster {
  justify-self: end;
  width: min(100%, calc((100svh - 220px) * 1587 / 2245));
}

.fl-poster-frame {
  margin: 0;
  overflow: hidden;
}

.fl-poster-frame img {
  width: 100%;
}

.fl-poster-frame img[hidden],
.fl-month-panels [hidden] {
  display: none;
}

.fl-poster-frame.is-swapping img {
  animation: fl-swap 0.7s var(--ease-out);
}

@keyframes fl-swap {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}

.fl-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.fl-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.fl-switch i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.fl-switch button:hover {
  color: var(--fg);
}

.fl-switch button[aria-pressed="true"] {
  border-color: var(--fl-tone);
  color: var(--fl-tone);
}


/* ---------- 01 : la cible ---------- */

.fl-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fl-targets li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.3s ease, transform 0.5s var(--ease-out);
}

.fl-targets li:hover {
  border-color: var(--fl-tone);
  transform: translateY(-6px);
}

.fl-targets span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fl-tone);
}

.fl-targets b {
  margin-top: auto;
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.fl-targets p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(238, 234, 226, 0.7);
}


/* ---------- 02 : le calendrier ---------- */

.fl-plan {
  --step: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
}

/* Les mois sur une ligne ; la ligne orange avance jusqu'au mois choisi */
.fl-months {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.fl-months::before,
.fl-months::after {
  content: "";
  position: absolute;
  left: 10%;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.fl-months::before {
  right: 10%;
}

.fl-months::after {
  width: calc(var(--step) * 20%);
  background: var(--fl-tone);
  transition: width 0.6s var(--ease-out);
}

.fl-months li {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.fl-months button {
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 92px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-out);
}

.fl-months button:hover {
  color: var(--fg);
  border-color: var(--fl-tone);
}

.fl-months button[aria-selected="true"] {
  background: var(--fl-tone);
  border-color: var(--fl-tone);
  color: #141313;
  transform: scale(1.12);
}

.fl-month-panels article {
  min-height: 180px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  animation: fl-panel 0.5s var(--ease-out);
}

@keyframes fl-panel {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.fl-chip {
  display: inline-block;
  margin: 0 6px 14px 0;
  padding: 5px 10px;
  border: 1px solid var(--fl-tone);
  border-radius: 999px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--fl-tone);
}

.fl-chip-print {
  border-color: var(--accent);
  color: var(--accent);
}

.fl-month-panels h3 {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.fl-month-panels p {
  max-width: 380px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}


/* ---------- 03 : les supports ---------- */

.fl-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  max-width: 1400px;
}

.fl-shot {
  margin: 0;
}

.fl-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fl-shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(20, 19, 19, 0.72);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.fl-shot-wall     { grid-column: 1 / 9;  aspect-ratio: 3 / 2; }
.fl-shot-stand    { grid-column: 9 / -1; }
.fl-shot-carousel { grid-column: 1 / 8;  aspect-ratio: 2245 / 1587; }
.fl-shot-flyer    { grid-column: 8 / -1; }
.fl-shot-oranges  { grid-column: 1 / 8;  aspect-ratio: 3 / 2; }

.fl-note {
  grid-column: 8 / -1;
  align-self: center;
  margin: 0;
  padding: 0 1vw;
  font-family: "Inter", sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.fl-note em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--fl-tone);
}


/* ---------- Outro ---------- */

.fl-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.fl-end .case-line:last-child {
  padding-left: 12vw;
  color: var(--fl-tone);
}


/* ---------- Tablette ---------- */

@media (max-width: 900px) {

  .fl-hero,
  .fl-plan {
    grid-template-columns: 1fr;
  }

  .fl-hero {
    min-height: 0;
  }

  .fl-poster {
    justify-self: start;
    width: min(100%, 420px);
  }

  .fl-targets {
    grid-template-columns: 1fr;
  }

  .fl-targets li {
    min-height: 0;
  }

  .fl-shot-wall,
  .fl-shot-stand,
  .fl-shot-carousel,
  .fl-shot-flyer,
  .fl-shot-oranges,
  .fl-note {
    grid-column: 1 / -1;
  }

  .fl-shot-stand,
  .fl-shot-flyer {
    aspect-ratio: 4 / 3;
  }

  .fl-note {
    padding: 20px 0;
  }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

  .fl-end .case-line:last-child {
    padding-left: 0;
    text-align: right;
  }

}


/* ---------- CAGIBY : affiches à plat (sans mockup) ---------- */

.cg-flat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  gap: 4vw;
  align-items: start;
}

.cg-flat-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1257 / 1400;
  margin: 0;
  overflow: hidden;
}

.cg-flat-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cg-flat-frame img[hidden] {
  display: none;
}

/* Le dessin seul, en blanc sur le fond du site (aucun fond ajouté) */
.cg-flat-frame .cg-flat-drawing {
  width: 88%;
  height: auto;
}

.cg-flat-frame.is-swapping img {
  animation: cg-swap 0.6s var(--ease-out);
}

@keyframes cg-swap {
  from { opacity: 0; transform: scale(0.97) rotate(-1deg); }
  to   { opacity: 1; transform: none; }
}

.cg-flat-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cg-flat-bar > span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.cg-flat-bar div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cg-flat-bar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cg-flat-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.cg-flat-bar button:hover {
  color: var(--fg);
}

.cg-flat-bar button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 700px) {
  .cg-flat {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }
}


/* #########################################################
   PAIN(TE) — DISPOSITION « LA CANETTE QUI TOURNE »
   Propre à painte.html (classes .pt-*)
   ######################################################### */

.pt-page {
  --pt-tone: #ec6523; /* change avec la saveur choisie (script.js) */
  --can-h: min(56svh, 470px);
}


/* ---------- Hero ---------- */

.pt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: center;
  min-height: 100svh;
  padding: 110px var(--pad) 50px;
}

.pt-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(84px, 13vw, 250px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.pt-title .case-line:last-child {
  padding-left: 8vw;
}

.pt-title .case-serif {
  letter-spacing: -0.05em;
  color: var(--pt-tone);
  transition: color 0.5s ease;
}

.pt-pitch {
  max-width: 420px;
  margin: 32px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.pt-pitch strong {
  font-weight: 500;
  color: var(--fg);
}

.pt-pitch em {
  font-family: Georgia, serif;
  color: var(--pt-tone);
  transition: color 0.5s ease;
}

.pt-flavours {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}

.pt-flavours button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.pt-flavours i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c);
}

.pt-flavours button:hover {
  color: var(--fg);
  border-color: var(--muted);
}

.pt-flavours button[aria-pressed="true"] {
  background: var(--pt-tone);
  border-color: var(--pt-tone);
  color: #141313;
}

.pt-flavours button[aria-pressed="true"] i {
  box-shadow: 0 0 0 1px #141313;
}

.pt-flavour-note {
  max-width: 420px;
  min-height: 64px;
  margin: 18px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.7);
}

.pt-flavour-note b {
  display: block;
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--pt-tone);
  text-transform: uppercase;
  transition: color 0.5s ease;
}

.pt-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  max-width: 460px;
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pt-facts dt {
  margin-bottom: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.pt-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm);
}


/* ---------- La canette en 3D ---------- */

.pt-stage {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.pt-can-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: calc(var(--can-h) * 1.25);
  perspective: 1400px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.pt-can-wrap.is-dragging {
  cursor: grabbing;
}

/* Halo de couleur derrière la canette, à la couleur de la saveur */
.pt-can-wrap::before {
  content: "";
  position: absolute;
  width: calc(var(--can-h) * 0.9);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pt-tone) 40%, transparent), transparent 70%);
  filter: blur(30px);
  transition: background 0.5s ease;
  pointer-events: none;
}

/* Reflet fixe (la lumière ne tourne pas avec la canette) : donne le volume du cylindre */
.pt-can-wrap::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: var(--w, 200px);
  height: var(--can-h);
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.08) 18%,
    rgba(255, 255, 255, 0.28) 32%,
    rgba(255, 255, 255, 0) 46%,
    rgba(0, 0, 0, 0.05) 70%,
    rgba(0, 0, 0, 0.5) 100%);
  border-radius: 6px;
  pointer-events: none;
}

.pt-can {
  position: relative;
  width: var(--w, 200px);
  height: var(--can-h);
  transform-style: preserve-3d;
}

.pt-can-face {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  background-image: var(--label);
  background-repeat: no-repeat;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Dessus et dessous de la canette : aluminium */
.pt-can-top,
.pt-can-bottom {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #9a9a9a 0 34%, #d9d9d9 35% 55%, #8c8c8c 56% 60%, #e8e8e8 61% 86%, #b3b3b3 87%);
}

.pt-can-top {
  top: 0;
  transform: rotateX(90deg);
}

.pt-can-bottom {
  top: 100%;
  transform: rotateX(-90deg);
  background: #6e6e6e;
}

.pt-stage-hint {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}


/* ---------- 01 : le logo ---------- */

.pt-logo {
  max-width: 1100px;
  margin: 0 0 12px;
}

.pt-logo img {
  width: 100%;
}

.pt-logo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  max-width: 1100px;
}

.pt-logo-grid > figure {
  margin: 0;
}

.pt-logo-grid img {
  width: 100%;
}

.pt-logo-grid > figure:first-child {
  grid-row: 1;
}

/* La vidéo prend toute la largeur, à son format d'origine (rien n'est coupé) */
.pt-video {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
}

.pt-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 592; /* format d'origine de la vidéo */
  object-fit: contain;
}

.pt-video figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  color: #fff;
}

.pt-type {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pt-type div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
}

.pt-type dt {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.pt-type dd {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 500;
}

/* Évoque le titrage très large de la charte */
.pt-type .pt-type-wide {
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: scaleX(1.35);
  transform-origin: right;
}


/* ---------- 02 : les saveurs ---------- */

.pt-range {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-range figure {
  margin: 0;
  overflow: hidden;
}

.pt-range img {
  width: 100%;
}

.pt-swatch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  border: 0;
  background: var(--c);
  color: #141313;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: padding 0.4s var(--ease-out);
}

.pt-swatch span {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pt-swatch:hover {
  padding-top: 26px;
  padding-bottom: 26px;
}

.pt-range p {
  margin: 12px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: rgba(238, 234, 226, 0.7);
}


/* ---------- 03 : les étiquettes à plat ---------- */

.pt-labels {
  display: grid;
  gap: 12px;
  max-width: 1100px;
}

.pt-labels figure {
  margin: 0;
  transition: transform 0.6s var(--ease-out);
}

.pt-labels img {
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .pt-labels figure:hover {
    transform: translateX(2vw);
  }
}


/* ---------- 04 : en situation ---------- */

.pt-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1500px;
}

.pt-shots figure {
  margin: 0;
}

.pt-shots img {
  width: 100%;
}


/* ---------- Outro ---------- */

.pt-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 11vw, 210px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.pt-end .case-line:last-child {
  padding-left: 10vw;
  color: var(--pt-tone);
}


/* ---------- Tablette ---------- */

@media (max-width: 900px) {

  .pt-page {
    --can-h: 340px;
  }

  .pt-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pt-logo-grid,
  .pt-range,
  .pt-shots {
    grid-template-columns: 1fr;
  }

  .pt-logo-grid > figure:first-child,
  .pt-video,
  .pt-type {
    grid-column: auto;
    grid-row: auto;
  }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

  .pt-page {
    --can-h: 280px;
  }

  .pt-title .case-line:last-child,
  .pt-end .case-line:last-child {
    padding-left: 0;
    text-align: right;
  }
}


/* #########################################################
   KARMA & KIRA — DISPOSITION « L'ATELIER DE SÉRIGRAPHIE »
   Propre à karma-kira.html (classes .sr-*)
   Les typons (noir sur blanc) sont superposés en « multiply »,
   comme de vraies encres sur le papier.
   ######################################################### */

.sr-page {
  --sr-red: #e03a2e;
}


/* ---------- Hero ---------- */

.sr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: center;
  min-height: 100svh;
  padding: 110px var(--pad) 50px;
}

.sr-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(76px, 11.5vw, 220px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.sr-title .case-line:last-child {
  padding-left: 6vw;
}

.sr-title .case-serif {
  letter-spacing: -0.05em;
  color: var(--sr-red);
}

.sr-pitch {
  max-width: 420px;
  margin: 32px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.sr-pitch em {
  font-family: Georgia, serif;
  color: var(--fg);
}

.sr-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  max-width: 460px;
  margin: 32px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sr-facts dt {
  margin-bottom: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.sr-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm);
}


/* ---------- La presse ---------- */

.sr-press-zone {
  justify-self: end;
  width: min(100%, calc((100svh - 260px) * 2000 / 2827));
  min-width: 260px;
}

.sr-press {
  position: relative;
  aspect-ratio: 2000 / 2827;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transition: background-color 0.6s ease;
}

.sr-ink {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(.6, 0, .25, 1);
}

.sr-ink.is-printed {
  clip-path: inset(0 0 0 0);
}

.sr-ink img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Passe rouge : le typon noir devient rouge (fond rouge + image en « screen »),
   et peut être décalée pour montrer le repérage */
.sr-ink-red {
  background: var(--sr-red);
  transform: translate(var(--offset, 0px), calc(var(--offset, 0px) * 0.6));
}

.sr-ink-red img {
  mix-blend-mode: screen;
}

/* La raclette qui descend à chaque passage */
.sr-squeegee {
  position: absolute;
  z-index: 3;
  left: -4%;
  right: -4%;
  top: -14px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(#5a5755, #2b2928);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
}

.sr-press.is-pulling .sr-squeegee {
  animation: sr-pull 1s cubic-bezier(.6, 0, .25, 1);
}

@keyframes sr-pull {
  0%   { top: -14px; opacity: 1; }
  92%  { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.sr-controls {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.sr-control-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.sr-control-row > span {
  width: 84px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sr-control-row button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.sr-control-row i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.sr-control-row button:hover {
  color: var(--fg);
}

.sr-control-row button[aria-pressed="true"] {
  border-color: var(--sr-red);
  color: var(--fg);
}

.sr-register input {
  flex: 1;
  min-width: 120px;
  accent-color: var(--sr-red);
}


/* ---------- 01 : les typons ---------- */

.sr-films {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2vw;
  max-width: 1300px;
}

.sr-film {
  margin: 0;
}

.sr-film img {
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s var(--ease-out);
}

.sr-film:hover img {
  transform: translateY(-8px) rotate(-1deg);
}

.sr-film figcaption {
  margin-top: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sr-film figcaption b {
  margin-right: 6px;
  font-weight: 400;
  color: var(--sr-red);
}

.sr-plus {
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 4vw, 70px);
  font-weight: 300;
  color: var(--sr-red);
}


/* ---------- 02 : en situation ---------- */

.sr-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1500px;
}

.sr-shots figure {
  margin: 0;
}

.sr-shots img {
  width: 100%;
}


/* ---------- Outro ---------- */

.sr-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.sr-end .case-line:last-child {
  padding-left: 12vw;
  color: var(--sr-red);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .sr-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sr-press-zone {
    justify-self: start;
    width: min(100%, 440px);
  }

  .sr-films {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    row-gap: 30px;
  }

  .sr-films .sr-plus:nth-of-type(2) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .sr-film-final {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 360px;
  }

  .sr-shots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .sr-title .case-line:last-child,
  .sr-end .case-line:last-child {
    padding-left: 0;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-ink,
  .sr-press.is-pulling .sr-squeegee {
    transition: none;
    animation: none;
  }
}


/* #########################################################
   THÉ — DISPOSITION « LE VISEUR DE LA CAMÉRA »
   Propre à the.html (classes .tv-*)
   ######################################################### */

.tv-page {
  --tv-tone: #c97a4a; /* la terre cuite de la théière */
  --tv-rec: #ff3b30;
}


/* ---------- Hero ---------- */

.tv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 5vw;
  align-items: center;
  min-height: 100svh;
  padding: 110px var(--pad) 50px;
}

.tv-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(90px, 15vw, 280px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.tv-title .case-line:last-child {
  padding-left: 8vw;
}

.tv-title .case-serif {
  letter-spacing: -0.05em;
  color: var(--tv-tone);
}

.tv-pitch {
  max-width: 420px;
  margin: 32px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.tv-pitch em {
  font-family: Georgia, serif;
  color: var(--tv-tone);
}

.tv-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  max-width: 460px;
  margin: 30px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tv-facts dt {
  margin-bottom: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.tv-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm);
}

.tv-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 18px;
  border: 1px solid var(--tv-tone);
  border-radius: 999px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  color: var(--tv-tone);
  transition: background 0.3s ease, color 0.3s ease;
}

.tv-cta:hover {
  background: var(--tv-tone);
  color: #141313;
}


/* ---------- Le viseur ---------- */

.tv-viewfinder {
  position: relative;
  justify-self: end;
  width: min(100%, calc((100svh - 170px) * 9 / 16));
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.tv-viewfinder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coins de cadrage */
.tv-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid rgba(255, 255, 255, 0.85);
}

.tv-corner-tl { top: 14px;    left: 14px;  border-top-width: 2px;    border-left-width: 2px; }
.tv-corner-tr { top: 14px;    right: 14px; border-top-width: 2px;    border-right-width: 2px; }
.tv-corner-bl { bottom: 14px; left: 14px;  border-bottom-width: 2px; border-left-width: 2px; }
.tv-corner-br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }

.tv-rec,
.tv-timecode,
.tv-meta {
  position: absolute;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.tv-rec {
  top: 20px;
  left: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tv-rec i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tv-rec);
  animation: tv-blink 1.2s steps(2, start) infinite;
}

@keyframes tv-blink {
  to { visibility: hidden; }
}

.tv-timecode {
  top: 20px;
  right: 50px;
  font-variant-numeric: tabular-nums;
}

.tv-meta {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0.8;
}


/* ---------- 01 : le plateau (tirages posés) ---------- */

.tv-set {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px 200px;
  gap: 3vw;
  align-items: center;
  max-width: 1300px;
}

.tv-print {
  margin: 0;
  padding: 10px 10px 34px;
  background: #f1ece3;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s var(--ease-out);
}

/* Le tirage « blanc photo » est un cadre papier, pas un fond derrière une image transparente */
.tv-print img {
  width: 100%;
}

.tv-print figcaption {
  margin-top: 10px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #3a3533;
}

.tv-print:hover {
  transform: rotate(0deg) scale(1.03);
}

.tv-print-wide {
  max-width: 900px;
}


/* ---------- 02 : l'interview ---------- */

.tv-player {
  position: relative;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.tv-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
}

.tv-player:hover img {
  transform: scale(1.03);
  filter: brightness(0.8);
}

.tv-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(70px, 8vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tv-tone);
  color: #141313;
  font-size: clamp(22px, 2.4vw, 34px);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out);
}

.tv-player:hover .tv-play {
  transform: translate(-50%, -50%) scale(1.1);
}

.tv-player:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.tv-player .youtube-player {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------- Outro ---------- */

.tv-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(64px, 11vw, 210px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.tv-end .case-line:last-child {
  padding-left: 10vw;
  color: var(--tv-tone);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .tv-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tv-viewfinder {
    justify-self: start;
    width: min(100%, 340px);
  }

  .tv-set {
    grid-template-columns: repeat(2, minmax(0, 200px));
    justify-content: start;
  }

  .tv-print-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {

  .tv-title .case-line:last-child,
  .tv-end .case-line:last-child {
    padding-left: 0;
    text-align: right;
  }

  .tv-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-rec i {
    animation: none;
  }
}


/* ---------- THÉ : le générique ---------- */

.tv-credits {
  max-width: 1200px;
  margin-top: 60px;
  padding: 40px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.tv-credits-label {
  margin: 0 0 24px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--tv-tone);
}

.tv-credits ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-credits li {
  font-family: "Inter", sans-serif;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--warm);
  transition: color 0.3s ease;
}

.tv-credits li:hover,
.tv-credits li.is-me {
  color: var(--fg);
}

.tv-credits li span {
  display: block;
  margin-top: 4px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--tv-tone);
  text-transform: uppercase;
}



/* ---------- JAZZ : l'affiche à plat, commentée ---------- */

@property --sx  { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --sy  { syntax: "<percentage>"; inherits: true; initial-value: 13%; }
@property --rad { syntax: "<length>";     inherits: true; initial-value: 200px; }

.jz-anatomy {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 6vw;
  align-items: center;
  margin-bottom: 80px;
}

.jz-anatomy-poster {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transition: --sx 0.9s var(--ease-out), --sy 0.9s var(--ease-out), --rad 0.9s var(--ease-out);
}

.jz-anatomy-poster img {
  display: block;
  width: 100%;
}

/* Le reste de l'affiche : en gris, un peu en retrait */
.jz-base {
  filter: grayscale(1) brightness(0.55) contrast(1.05);
  transition: filter 0.6s ease;
}

/* La zone du choix : l'affiche en couleur, visible dans un cercle aux bords doux */
.jz-lit {
  position: absolute;
  inset: 0;
  height: 100%;
  -webkit-mask-image: radial-gradient(circle var(--rad) at var(--sx) var(--sy), #000 78%, transparent 100%);
  mask-image: radial-gradient(circle var(--rad) at var(--sx) var(--sy), #000 78%, transparent 100%);
  pointer-events: none;
}

/* Fin cercle autour de la zone */
.jz-ring {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  width: calc(var(--rad) * 2);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Étiquette accrochée au cercle */
.jz-tag {
  position: absolute;
  left: clamp(11px, calc(var(--sx) + var(--rad) * 0.62), calc(100% - 130px));
  top: clamp(11px, calc(var(--sy) - var(--rad) * 0.78), calc(100% - 34px));
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #141313;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.jz-tag.is-new {
  animation: jz-tag 0.5s var(--ease-out);
}

@keyframes jz-tag {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* La liste : un seul texte ouvert à la fois */
.jz-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jz-notes li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.jz-notes button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: baseline;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.jz-notes b {
  grid-row: span 2;
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.4s ease;
}

.jz-notes strong {
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: rgba(238, 234, 226, 0.38);
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.jz-note-text {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}

.jz-note-text > span {
  overflow: hidden;
  max-width: 380px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.jz-notes button:hover strong {
  color: rgba(238, 234, 226, 0.7);
}

.jz-notes button.is-on b {
  color: var(--accent);
}

.jz-notes button.is-on strong {
  color: var(--fg);
}

.jz-notes button.is-on .jz-note-text {
  grid-template-rows: 1fr;
}

.jz-notes button.is-on .jz-note-text > span {
  padding-top: 8px;
}

/* Barre de défilement automatique */
.jz-progress {
  display: block;
  height: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.jz-progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.jz-anatomy.is-playing .jz-progress i {
  animation: jz-progress 4.5s linear forwards;
}

.jz-anatomy.is-paused .jz-progress {
  opacity: 0;
}

@keyframes jz-progress {
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .jz-anatomy {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jz-anatomy-poster {
    max-width: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jz-anatomy-poster,
  .jz-note-text {
    transition: none;
  }

  .jz-progress {
    display: none;
  }
}


/* #########################################################
   ACROSS THE WORLD — DISPOSITION « LIVRE PHOTO »
   Propre à photographie-voyage.html (classes .ph-*)
   Les photos gardent toujours leur cadrage d'origine (aucun recadrage).
   ######################################################### */


/* ---------- Hero : traînée d'images au passage de la souris ---------- */

.ph-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 120px var(--pad) 50px;
  overflow: hidden;
  isolation: isolate;
}

.ph-eyebrow,
.ph-title,
.ph-intro,
.ph-trail-hint {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.ph-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(80px, 15vw, 290px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  mix-blend-mode: difference; /* le titre s'inverse au-dessus des photos */
}

.ph-title .case-line:last-child {
  padding-left: 14vw;
}

.ph-title .case-serif {
  letter-spacing: -0.05em;
}

/* Une photo de la traînée */
.ph-trail-img {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: clamp(150px, 17vw, 270px);
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.6) rotate(var(--r, 0deg));
  opacity: 0;
  animation: ph-trail 1.6s var(--ease-out) forwards;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

@keyframes ph-trail {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.6) rotate(var(--r, 0deg)); }
  15%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--r, 0deg)); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -40%) scale(0.92) rotate(var(--r, 0deg)); }
}

.ph-trail-hint {
  margin: 34px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  transition: opacity 0.6s ease;
}

.ph-hero.is-trailing .ph-trail-hint {
  opacity: 0;
}

.ph-hint-touch {
  display: none;
}

@media (hover: none) {
  .ph-hint-mouse { display: none; }
  .ph-hint-touch { display: inline; }
}

.ph-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-top: 46px;
}

.ph-pitch {
  max-width: 460px;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.75);
}

.ph-pitch em {
  font-family: Georgia, serif;
  color: var(--fg);
}

.ph-facts {
  display: flex;
  gap: 40px;
  margin: 0;
}

.ph-facts dt {
  margin-bottom: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.ph-facts dd {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--warm);
}


/* ---------- Le propos ---------- */

.ph-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: end;
  padding: 40px var(--pad) 120px;
}

.ph-manifesto-text {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.ph-manifesto-text em {
  color: var(--accent);
}

.ph-manifesto .ph-facts {
  display: grid;
  gap: 18px;
}


/* ---------- Barre : où on en est + façon de regarder ---------- */

.ph-series {
  padding: 0 var(--pad) 40px;
}

.ph-bar {
  position: sticky;
  z-index: 5;
  top: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 70px;
  background: linear-gradient(var(--bg) 70%, transparent);
}

.ph-count {
  margin: 0;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ph-count span {
  color: var(--accent);
}

.ph-views {
  display: flex;
  gap: 4px;
}

.ph-views button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.ph-views button[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: #141313;
}


/* ---------- Vue LIVRE : rimes et planches ---------- */

.ph-book {
  max-width: 1500px;
  margin: 0 auto;
}

.ph-book[hidden] {
  display: none;
}

.ph-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.ph-open img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.4s var(--ease-out), filter 0.6s ease;
}

.ph-open:hover img {
  transform: scale(1.02);
}

.ph-open:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

/* Une rime : deux images qui se répondent, un mot entre elles */
.ph-spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2vw;
  align-items: end;
  margin: 0 0 16vw;
}

.ph-half {
  margin: 0;
}

.ph-half figcaption,
.ph-plate figcaption {
  padding-top: 10px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Trois mises en page qui alternent */
.ph-spread.is-a .ph-half:nth-of-type(1) { grid-column: 1 / span 6; }
.ph-spread.is-a .ph-half:nth-of-type(2) { grid-column: 7 / span 6; }

.ph-spread.is-b .ph-half:nth-of-type(1) { grid-column: 1 / span 7; }
.ph-spread.is-b .ph-half:nth-of-type(2) { grid-column: 9 / span 4; align-self: start; }

.ph-spread.is-c .ph-half:nth-of-type(1) { grid-column: 2 / span 4; align-self: start; }
.ph-spread.is-c .ph-half:nth-of-type(2) { grid-column: 6 / span 7; }

/* Une image verticale ne prend pas toute sa colonne : elle reste à une taille de tirage */
.ph-half.is-portrait {
  max-width: 520px;
  justify-self: center;
  width: 100%;
}

/* Le mot de la rime, posé au-dessus des deux images */
.ph-rime {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  margin: 0;
  transform: translate(-50%, -55%);
  display: grid;
  justify-items: center;
  gap: 6px;
  pointer-events: none;
  white-space: nowrap;
}

.ph-rime span {
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.ph-rime em {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(46px, 7vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
  mix-blend-mode: difference;
}

/* Une planche : une image seule, comme une pleine page */
.ph-plate {
  margin: 0 0 16vw;
  width: min(100%, 1100px);
}

.ph-plate.is-portrait {
  width: min(100%, 640px);
}

.ph-plate.is-left { margin-right: auto; }
.ph-plate.is-right { margin-left: auto; }

.ph-plate figcaption {
  display: flex;
  justify-content: space-between;
}

.ph-plate figcaption b {
  font-weight: 400;
  color: var(--accent);
}

/* Apparition : les deux images d'une rime montent l'une après l'autre, le mot se dessine */
.js [data-reveal-ph] .ph-open img {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1.3s var(--ease-out);
}

.js [data-reveal-ph] .ph-half:nth-of-type(2) .ph-open img {
  transition-delay: 0.15s;
}

.js [data-reveal-ph] .ph-rime em {
  opacity: 0;
  filter: blur(14px);
  letter-spacing: 0.1em;
  transition: opacity 1.2s ease 0.2s, filter 1.2s ease 0.2s, letter-spacing 1.4s var(--ease-out) 0.2s;
}

.js [data-reveal-ph].is-in .ph-open img {
  opacity: 1;
  transform: none;
}

.js [data-reveal-ph].is-in .ph-rime em {
  opacity: 1;
  filter: none;
  letter-spacing: -0.04em;
}

.js [data-reveal-ph].is-in .ph-open:hover img {
  transform: scale(1.02);
}


/* ---------- Vue INDEX : la liste, l'image flotte au survol ---------- */

.ph-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ph-index[hidden],
.ph-index li[hidden],
.ph-book[hidden] {
  display: none;
}

.ph-index li {
  border-bottom: 1px solid var(--line);
}

.ph-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.6fr);
  align-items: baseline;
  gap: 20px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease, padding 0.5s var(--ease-out);
}

.ph-row b {
  font: 400 11px "DM Mono", monospace;
  color: var(--accent);
}

.ph-row strong {
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(238, 234, 226, 0.45);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.ph-row span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
}

.ph-row i {
  justify-self: end;
  font: normal 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
}

.ph-row img {
  display: none;
}

.ph-row:hover,
.ph-row:focus-visible {
  padding-left: 14px;
  color: var(--fg);
}

.ph-row:hover strong,
.ph-row:focus-visible strong {
  color: var(--fg);
}

/* L'image qui suit le curseur (souris uniquement) */
.ph-float {
  position: fixed;
  z-index: 6;
  left: 0;
  top: 0;
  width: clamp(220px, 24vw, 360px);
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--fx, 0px), var(--fy, 0px)) translate(-50%, -50%) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.ph-float.is-on {
  opacity: 1;
  transform: translate(var(--fx, 0px), var(--fy, 0px)) translate(-50%, -50%) scale(1);
}

/* Au doigt : une petite vignette dans chaque ligne, pas d'image flottante */
@media (hover: none) {
  .ph-float {
    display: none;
  }

  .ph-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .ph-row img {
    display: block;
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    object-fit: cover;
  }

  .ph-row b {
    grid-column: 2;
  }

  .ph-row strong {
    grid-column: 2;
  }

  .ph-row span {
    display: none;
  }

}


/* ---------- Visionneuse ---------- */

.ph-viewer {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  padding: 50px 2vw;
  background: rgba(10, 9, 9, 0.97);
}

.ph-viewer[hidden] {
  display: none;
}

.ph-viewer-open body {
  overflow: hidden;
}

.ph-viewer-frame {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
}

.ph-viewer-frame img {
  max-width: 100%;
  max-height: calc(100svh - 150px);
  object-fit: contain;
  animation: ph-in 0.45s var(--ease-out);
}

@keyframes ph-in {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.ph-viewer-frame figcaption {
  display: flex;
  gap: 24px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ph-viewer-frame figcaption span:first-child {
  color: var(--accent);
}

.ph-viewer-nav,
.ph-viewer-close {
  border: 0;
  background: none;
  color: var(--fg);
  cursor: pointer;
}

.ph-viewer-nav {
  justify-self: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.ph-viewer-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ph-viewer-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
}


/* ---------- Outro ---------- */

.ph-end {
  margin: 0 0 70px;
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 13vw, 240px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.ph-end .case-line:last-child {
  padding-left: 12vw;
  color: var(--accent);
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 900px) {

  .ph-manifesto {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }

  .ph-spread {
    row-gap: 14px;
    margin-bottom: 120px;
  }

  .ph-spread .ph-half:nth-of-type(1) { grid-column: 1 / span 9 !important; align-self: auto !important; }
  .ph-spread .ph-half:nth-of-type(2) { grid-column: 4 / span 9 !important; align-self: auto !important; }

  .ph-plate {
    margin-bottom: 120px;
  }

  .ph-rime em {
    font-size: clamp(40px, 11vw, 80px);
  }

  .ph-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .ph-row span {
    display: none;
  }

  .ph-series {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
}

@media (max-width: 700px) {

  .ph-title .case-line:last-child,
  .ph-end .case-line:last-child {
    padding-left: 0;
    text-align: right;
  }

  .ph-bar {
    top: 62px;
  }

  .ph-viewer {
    grid-template-columns: 1fr;
    padding: 60px 10px 90px;
  }

  .ph-viewer-nav {
    position: absolute;
    bottom: 22px;
  }

  .ph-viewer-prev { left: 24px; }
  .ph-viewer-next { right: 24px; }

  .ph-viewer-frame img {
    max-height: calc(100svh - 190px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal-ph] .ph-open img,
  .js [data-reveal-ph] .ph-rime em {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .ph-trail-img {
    display: none;
  }
}


/* ---------- ACROSS THE WORLD : le champ de tirages éparpillés ----------
   Chaque tirage est placé par la page générée (--t haut, --l gauche, --w largeur, --r rotation)
   et flotte au défilement (--py, script.js). */

.ph-field {
  --wk: 1;   /* multiplicateur de largeur (agrandi sur mobile) */
  --tk: 1;   /* multiplicateur d'espacement vertical */
  position: relative;
  height: calc(var(--h) * 1vw * var(--tk));
  margin: 0 var(--pad);
  isolation: isolate;
}

.ph-print {
  position: absolute;
  z-index: 1;
  top: calc(var(--t) * 1vw * var(--tk));
  left: min(calc(var(--l) * 1%), calc(100% - var(--w) * 1vw * var(--wk)));
  width: calc(var(--w) * 1vw * var(--wk));
  margin: 0;
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r, 0deg));
}

.ph-print .ph-open img {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.7s var(--ease-out), filter 0.5s ease, opacity 1s ease;
}

/* Au survol : le tirage se redresse et passe devant, les autres s'effacent un peu */
.ph-print:hover {
  z-index: 3;
}

.ph-print:hover .ph-open img {
  transform: rotate(calc(var(--r, 0deg) * -1)) scale(1.06);
}

@media (hover: hover) and (pointer: fine) {
  .ph-field:has(.ph-print:hover) .ph-print:not(:hover) .ph-open img {
    filter: brightness(0.45) grayscale(0.4);
  }
}

.ph-print figcaption {
  padding-top: 8px;
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ph-print:hover figcaption,
.ph-open:focus-visible + figcaption {
  opacity: 1;
}

/* Apparition : le tirage se pose, comme dans l'ouverture */
.js .ph-print .ph-open img {
  opacity: 0;
  transform: scale(0.82);
}

.js .ph-print.is-in .ph-open img {
  opacity: 1;
  transform: none;
}

.js .ph-print.is-in:hover .ph-open img {
  transform: rotate(calc(var(--r, 0deg) * -1)) scale(1.06);
}

/* Les mots : en italique, ils s'inversent au-dessus des photos comme le titre */
.ph-word {
  position: absolute;
  z-index: 4;
  top: calc(var(--t) * 1vw * var(--tk));
  left: calc(var(--l) * 1%);
  margin: 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(56px, 10vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--fg);
  white-space: nowrap;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 1.4s ease, filter 1.4s ease;
}

.ph-word.is-in {
  opacity: 1;
  filter: none;
}

@media (max-width: 700px) {
  .ph-field {
    --wk: 2.3;
    --tk: 2.2;
    margin: 0 12px;
  }

  .ph-word {
    left: 4%;
    font-size: 15vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .ph-print .ph-open img,
  .ph-word {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Bouton pause des vidéos en boucle (ajouté par script.js) : même style que le bouton son, à gauche */
.video-pause {
  position: absolute;
  z-index: 5;
  left: 1.5rem;
  bottom: 1.5rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}
.video-pause:hover,
.video-pause[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 700px) {
  .video-pause { left: .8rem; bottom: .8rem; padding: .6rem .8rem; }
}

/* Uproar : « experience. » et « halloween. » débordaient jusqu'au texte voisin — colonne titre plus large */
@media (min-width: 901px) {
  .up-page .case-split { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
}
/* Thé : dans le viseur, le bouton pause se place au-dessus de l'angle bas-droit */
.tv-viewfinder .video-pause { left: auto; right: 1.4rem; bottom: 3.4rem; }
