/* Commun aux 7 maquettes : décalage des apparitions et effets au survol.
   Chargé avant le style du site : le site garde la main en cas d'égalité. */
.rv .pages [data-r]:nth-child(2){transition-delay:.07s}
.rv .pages [data-r]:nth-child(3){transition-delay:.13s}
.rv .pages [data-r]:nth-child(4){transition-delay:.17s}

.pages .note figure,.pages .x-mosaique figure,.pages .grande,.pages .huile figure,
.pages .x-case,.pages .avantapres figure,.pages .trio figure{overflow:hidden}

.pages form button:not(:disabled){transition:transform .16s cubic-bezier(.23,1,.32,1),translate .2s cubic-bezier(.23,1,.32,1),background .2s ease,box-shadow .12s ease}

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  /* la photo zoome un peu dans son cadre */
  .pages .note img,.pages .x-mosaique img,.pages .grande img,.pages .huile img,
  .pages .x-case img,.pages .avantapres img,.pages .trio img{transition:transform .7s cubic-bezier(.23,1,.32,1)}
  .pages .note figure:hover img,.pages .x-mosaique figure:hover img,.pages .grande:hover img,
  .pages .huile figure:hover img,.pages .x-case:hover img,.pages .avantapres figure:hover img,.pages .trio figure:hover img{transform:scale(1.03)}
  /* le bouton monte d'un cran */
  .pages form button:not(:disabled):hover{translate:0 -2px}
  /* le soulignement se dessine */
  .pages nav a,.pages footer a{text-decoration:none;background-image:linear-gradient(currentColor,currentColor);
    background-repeat:no-repeat;background-position:0 100%;background-size:0 1px;transition:background-size .25s cubic-bezier(.23,1,.32,1)}
  .pages nav a:hover,.pages footer a:hover{background-size:100% 1px}
}

/* la hauteur suit la largeur (le site peut la fixer lui-même) */
.pages img{height:auto}
