/* ==========================================================================
   Christian Cailleau — galerie
   Direction : sobre, suisse. Fond papier chaud, une seule famille de caractères,
   pas de décor : les tableaux font la couleur.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #f3efee;
  --ink: #1b1a1a;
  --ink-2: #6e6967;
  --ink-3: #a9a3a0;
  --pill: #dcd7d5;
  --line: #e3dedc;
  --wall: #e9e4e1;

  --gutter: clamp(20px, 8.3vw, 136px);
  --gutter-sm: clamp(20px, 3.6vw, 44px);
  --item-w: clamp(180px, 19.5vw, 330px);
  --gap: 16px;
  --header-h: 172px;

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-glide: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 600; }

[v-cloak] { display: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.app { position: relative; min-height: 100vh; min-height: 100dvh; }
.views { position: relative; }

/* ---------- En-tête ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: clamp(24px, 7.5vh, 72px) var(--gutter) 0;
  transition: opacity 0.25s ease;
}

.app.is-detail .site-header { opacity: 0; pointer-events: none; }

/* la signature de Christian (tracé dans index.html, #sig-fill), au-dessus de la présentation */
.brand { display: grid; gap: 24px; max-width: 30em; }
.sig-mark { display: block; width: 184px; }
.sig-mark svg { display: block; width: 100%; height: auto; fill: var(--ink); }
.sig-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.bio {
  max-width: 30em;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.seg {
  position: relative;
  display: flex;
  gap: 2px;
  flex: none;
  isolation: isolate;
}

.seg a {
  position: relative;
  padding: 4px 12px 5px;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ink-2);
  background: var(--pill);
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* calque « actif » : mêmes liens en noir, découpés sur l'onglet courant */
.seg-on {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  gap: 2px;
  pointer-events: none;
  transition: clip-path 0.4s var(--ease-in-out), opacity 0.2s ease;
  will-change: clip-path;
}
.seg-on a {
  color: #fff;
  background: var(--ink);
}

/* ---------- Vues et transitions de page ---------- */

.view { position: relative; width: 100%; }

.page-enter-active { transition: opacity 0.5s ease; }
.page-leave-active {
  transition: opacity 0.26s ease;
  position: fixed !important;
  left: 0; right: 0;
  z-index: 1;
  pointer-events: none;
}
.page-enter-from, .page-leave-to { opacity: 0; }

/* ---------- Galerie ---------- */

.view-gallery {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* tri par catégorie : des boutons texte sous la présentation, un trait glisse sous la catégorie choisie */
.filters {
  position: relative;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 14px var(--gutter) 12px;
}

.filter {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.filter:hover, .filter.on { color: var(--ink); }

.filter-n {
  margin-left: 5px;
  font-size: 0.6875rem;
  color: var(--ink-3);
  vertical-align: 0.35em;
  font-variant-numeric: tabular-nums;
}

.filter-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: var(--ink);
  pointer-events: none;
  transition: left 0.45s var(--ease-in-out), top 0.45s var(--ease-in-out), width 0.45s var(--ease-in-out), opacity 0.2s ease;
}

.track {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; }
.track.is-dragging .item-link { pointer-events: none; }

.strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-left: var(--gutter);
}
.strip::after { content: ""; flex: 0 0 calc(var(--gutter) - var(--gap)); }

.item {
  flex: 0 0 var(--item-w);
  transition: opacity 0.4s ease;
}

/* le léger décalage vertical de chaque tableau est porté par le lien, pour laisser la carte libre de glisser (tri) */
.item-link {
  display: block;
  transform: translateY(var(--dy, 0px));
  transition: transform 0.6s var(--ease-out);
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* arrivée : les tableaux se posent les uns après les autres */
.view-gallery.is-fresh .item-link {
  /* fill-mode backwards : une fois posé, l'élément reprend ses styles normaux (survol, opacité) */
  animation: settle 0.9s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 45ms + 80ms);
}
@keyframes settle {
  from { opacity: 0; transform: translateY(calc(var(--dy, 0px) + 18px)); }
  to   { opacity: 1; transform: translateY(var(--dy, 0px)); }
}

/* changement de catégorie : ceux qui restent glissent vers leur place, les nouveaux se posent, les autres s'effacent sur place */
.grid-move { transition: transform 0.6s var(--ease-out); }
.grid-enter-active {
  transition: opacity 0.5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 30ms);
}
.grid-enter-active .item-link { transition: transform 0.6s var(--ease-out) calc(var(--i, 0) * 30ms); }
.grid-enter-from { opacity: 0; }
.grid-enter-from .item-link { transform: translateY(calc(var(--dy, 0px) + 18px)); }
.grid-leave-active {
  position: absolute;
  width: var(--item-w);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.grid-leave-to { opacity: 0; }

/* carte grise uniforme : même format pour tous les tableaux (voir CARD_RATIO / CARD_PAD dans app.js) */
.card {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 7%;
  background: var(--wall);
}

.sheet {
  position: relative;
  display: block;
  transform-origin: 50% 50%;
  transition: transform 0.55s var(--ease-out);
}

.painting {
  box-shadow: 0 1px 2px rgba(27, 26, 26, 0.06), 0 0 0 1px rgba(27, 26, 26, 0.04);
}
.sheet .painting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.caption {
  display: block;
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-2);
  transition: color 0.3s ease;
}

/* survol : le tableau visé s'avance, les autres s'effacent un peu */
@media (hover: hover) and (pointer: fine) {
  .item-link:hover .sheet { transform: scale(1.035); }
  .item-link:hover .caption { color: var(--ink); }
  .strip:has(.item-link:hover) .item:not(:has(.item-link:hover)) { opacity: 0.5; }
}
.item-link:active .sheet { transform: scale(1.01); transition-duration: 0.15s; }

.strip-footer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px var(--gutter) clamp(20px, 4.5vh, 44px);
}

.progress {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.progress-bar {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: 0 50%;
  will-change: transform;
}

.counter {
  flex: none;
  font-size: 0.8125rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.counter-sep { margin: 0 0.4em; color: var(--ink-3); }

/* ---------- Fiche d'un tableau ---------- */

.view-detail {
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.detail-left {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(22px, 3.6vh, 36px) var(--gutter-sm) var(--gutter-sm);
}

.detail-top { display: flex; justify-content: space-between; align-items: baseline; }

.back {
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: color 0.25s ease;
}
.back:hover { color: var(--ink); }

.detail-body {
  display: flex;
  align-items: center;
  padding: 32px 0;
}

.detail-text {
  max-width: 22em;
  font-size: 1.1875rem;
  line-height: 1.38;
  letter-spacing: -0.005em;
}

.detail-cat {
  margin-bottom: 4px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.detail-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}

.pager {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.pager a { transition: color 0.25s ease; }
.pager a:hover { color: var(--ink); }
.pager-index { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* barre de navigation fixe : petits écrans seulement (voir « Écrans étroits ») */
.detail-bar { display: none; }

.detail-right {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: 58fr 42fr;
  height: 100vh;
  height: 100dvh;
}

/* le tableau entier, centré sur le mur gris */
.piece-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vh, 64px) clamp(28px, 4.5vw, 72px);
  background: var(--wall);
}

.piece {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.piece .painting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  box-shadow: 0 2px 6px rgba(27, 26, 26, 0.08), 0 0 0 1px rgba(27, 26, 26, 0.05);
}

.insitu {
  position: relative;
  overflow: hidden;
  background: var(--wall);
}
.insitu img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* mur neutre quand il n'y a pas encore de mise en situation */
.wall {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ece7e4 0%, #e3dedb 100%);
}
.wall img {
  position: static;
  width: 42%;
  height: auto;
  object-fit: contain;
  padding: 2.5%;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.detail-empty {
  grid-column: 1 / -1;
  display: grid;
  place-content: center;
  gap: 16px;
  min-height: 100dvh;
  text-align: center;
  color: var(--ink-2);
}

/* entrée de la fiche : textes et mise en situation arrivent en léger décalé ; le tableau, lui, arrive en glissant */
.page-enter-from .detail-text,
.page-enter-from .detail-heading,
.page-enter-from .pager,
.page-enter-from .back { opacity: 0; transform: translateY(8px); }
.page-enter-from .insitu img,
.page-enter-from .wall { opacity: 0; }

.page-enter-active .back        { transition: opacity 0.5s var(--ease-out) 0.1s, transform 0.5s var(--ease-out) 0.1s; }
.page-enter-active .detail-text { transition: opacity 0.6s var(--ease-out) 0.2s, transform 0.6s var(--ease-out) 0.2s; }
.page-enter-active .detail-heading { transition: opacity 0.5s var(--ease-out) 0.45s, transform 0.5s var(--ease-out) 0.45s; }
.page-enter-active .pager       { transition: opacity 0.5s var(--ease-out) 0.55s, transform 0.5s var(--ease-out) 0.55s; }
.page-enter-active .insitu img,
.page-enter-active .wall        { transition: opacity 0.7s ease 0.4s; }

/* précédent / suivant : tout glisse dans le sens de la rangée */
.swap-next-enter-active, .swap-prev-enter-active { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.swap-next-leave-active, .swap-prev-leave-active { transition: opacity 0.22s ease, transform 0.22s ease; }
.swap-next-enter-from { opacity: 0; transform: translateX(28px); }
.swap-next-leave-to   { opacity: 0; transform: translateX(-28px); }
.swap-prev-enter-from { opacity: 0; transform: translateX(-28px); }
.swap-prev-leave-to   { opacity: 0; transform: translateX(28px); }

.fade-enter-active { transition: opacity 0.5s ease; }
.fade-leave-active { transition: opacity 0.25s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* ---------- À propos ---------- */

.view-about {
  padding: calc(var(--header-h) + clamp(40px, 8vh, 96px)) var(--gutter) 0;
}

.about-block { margin-bottom: clamp(96px, 16vh, 200px); }

.photo {
  overflow: hidden;
  background: var(--wall);
  aspect-ratio: var(--ar, 3 / 2);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  font-size: 1.1875rem;
  line-height: 1.38;
  letter-spacing: -0.005em;
}

.about-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 6vh, 56px);
}
.about-center .photo { width: min(100%, 72%); }
.about-center .about-text { max-width: 26em; }

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.about-split.reverse {
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: end;
}
.about-split .about-text { max-width: 20em; }

.about-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  padding: 0 clamp(0px, 8vw, 140px);
}

.about-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 clamp(24px, 4vh, 40px);
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.about-center .about-text.reveal { transition-delay: 0.12s; }

/* ---------- Intro : la signature s'écrit, puis le site arrive en fondu ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--bg);
  cursor: pointer;
}
.intro-sig {
  width: min(72vw, 460px);
  height: auto;
  fill: var(--ink);
}
/* chaque trait du masque se dévoile le long de son tracé (délais et durées en ligne, calculés d'après la longueur des traits) */
.intro-sig mask path {
  fill: none;
  stroke: #fff;
  stroke-width: 6.19;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sig-draw linear forwards;
}
@keyframes sig-draw { to { stroke-dashoffset: 0; } }
.intro-leave-active { transition: opacity 0.8s ease; }
.intro-leave-to { opacity: 0; }

/* ---------- Plein écran ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 5vmin;
  background: rgba(243, 239, 238, 0.97);
  cursor: zoom-out;
}
.lightbox img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  max-height: 90dvh;
  box-shadow: 0 0 0 1px rgba(27, 26, 26, 0.06);
  transition: transform 0.5s var(--ease-out);
}
.lightbox-close {
  position: absolute;
  top: clamp(16px, 3vh, 28px);
  right: var(--gutter-sm);
  padding: 4px 12px 5px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.16s ease-out;
}
.lightbox-close:active { transform: scale(0.97); }

.lb-enter-active { transition: opacity 0.3s ease; }
.lb-leave-active { transition: opacity 0.2s ease; }
.lb-enter-from, .lb-leave-to { opacity: 0; }
.lb-enter-from img { transform: scale(0.975); }

/* ---------- Ghost (le tableau qui glisse d'une page à l'autre) ---------- */

.ghost {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  will-change: transform;
}
.ghost img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  box-shadow: 0 2px 6px rgba(27, 26, 26, 0.08), 0 0 0 1px rgba(27, 26, 26, 0.05);
}

/* ---------- Erreur de chargement ---------- */

.notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  transform: translateX(-50%);
  width: min(92vw, 560px);
  padding: 18px 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, 0.3);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.notice pre {
  margin: 10px 0;
  padding: 10px 12px;
  background: var(--bg);
  font-size: 0.8125rem;
  overflow-x: auto;
}
.notice a { text-decoration: underline; }

/* ==========================================================================
   Écrans étroits
   ========================================================================== */

@media (max-width: 899px) {
  /* la fiche devient une seule colonne : titre, tableau, texte, mise en situation.
     Toute la navigation (retour, précédent / suivant) est dans une barre fixe en bas, sous le pouce. */
  .view-detail {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .detail-left, .detail-right { display: contents; }

  .detail-top, .pager { display: none; }
  .detail-meta  { order: 2; padding: 30px 20px 12px; }
  .piece-panel  { order: 3; aspect-ratio: 4 / 5; margin: 0 20px; padding: 7%; }
  .detail-body  { order: 4; padding: 28px 20px 8px; }
  .insitu       { order: 5; aspect-ratio: 3 / 2; margin-top: 24px; }

  /* barre d'app : trois boutons icône + libellé (Tableaux, Précédent, Suivant) et le compteur entre les deux flèches */
  .detail-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr;
    align-items: stretch;
    padding: 0 4px env(safe-area-inset-bottom);
    background: rgba(243, 239, 238, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 -1px 0 var(--line);
  }
  .bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 60px;
    padding: 6px 4px;
    font-size: 0.6875rem;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--ink);
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  }
  .bar-item:active { opacity: 0.5; transform: scale(0.94); }
  .bar-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: square;
    stroke-linejoin: miter;
  }
  .bar-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5ch;
    padding: 0 2px;
    font-size: 0.8125rem;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
  }
  .bar-sep { margin: 0 0.3em; color: var(--ink-3); }

  /* plein écran : bouton « Fermer » assez grand pour le pouce */
  .lightbox-close { min-height: 44px; padding: 8px 16px; right: 20px; }

  /* entrée de la fiche : la barre monte avec le reste */
  .page-enter-from .detail-bar { opacity: 0; transform: translateY(10px); }
  .page-enter-active .detail-bar { transition: opacity 0.5s var(--ease-out) 0.3s, transform 0.5s var(--ease-out) 0.3s; }
}

@media (max-width: 759px) {
  .site-header {
    flex-wrap: wrap;
    gap: 28px 24px;
    padding-top: 20px;
  }
  .seg { order: -1; width: 100%; }
  .brand { gap: 18px; }
  .sig-mark { width: 150px; }
  .bio { font-size: 1rem; }

  .view-gallery { height: auto; overflow: visible; padding-top: calc(var(--header-h) + 12px); }

  /* les catégories sur une seule ligne, qui défile au doigt, et qui reste collée en haut quand on descend dans la liste */
  .filters {
    position: sticky;
    top: 0;
    z-index: 4;
    flex-wrap: nowrap;
    gap: 22px;
    padding: 12px 20px 12px;
    background: rgba(243, 239, 238, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar { display: none; }

  .track {
    display: block;
    overflow: visible;
    padding-top: 24px;
    cursor: auto;
  }
  .strip {
    flex-direction: column;
    align-items: stretch;
    gap: 44px;
    padding: 0 20px 48px;
  }
  .strip::after { display: none; }
  .item { flex: none; width: 100%; }
  .item-link { transform: none; }
  .view-gallery.is-fresh .item-link { animation: none; }
  .grid-enter-from .item-link { transform: translateY(18px); }
  .grid-leave-active { width: calc(100% - 40px); }
  .strip-footer { display: none; }

  .view-about { padding-left: 20px; padding-right: 20px; }
  .about-center .photo { width: 100%; }
  .about-split, .about-split.reverse { grid-template-columns: 1fr; gap: 24px; }
  .about-split.reverse .about-text { order: 2; }
  .about-pair { grid-template-columns: 1fr; padding: 0; gap: 24px; }
  .about-footer { flex-direction: column; gap: 6px; }
}

/* ==========================================================================
   Mouvement réduit : on garde les fondus, on enlève les déplacements
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .item-link { transform: none !important; }
  .view-gallery.is-fresh .item-link { animation: none; }
  .grid-move, .grid-enter-active .item-link, .filter-bar { transition: none; }
  .sheet, .lightbox img { transition: none; }
  .reveal { transform: none; transition: opacity 0.4s ease; }
  .page-enter-from .detail-text,
  .page-enter-from .detail-heading,
  .page-enter-from .pager,
  .page-enter-from .detail-bar,
  .page-enter-from .back { transform: none; }
  .swap-next-enter-from, .swap-next-leave-to,
  .swap-prev-enter-from, .swap-prev-leave-to { transform: none; }
  .intro-sig mask path { animation: none; stroke-dashoffset: 0; }
}
