/* Accueil : Typographie et Palette uniquement. Univers conserve ses règles validées. */
.artwork-card,
.artwork-card:hover,
.artwork-card:focus-visible {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
  outline: none;
  transition: none;
  overflow: visible;
}

.artwork-card::after {
  content: none;
}

.artwork-layer {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 1;
  transform-origin: center;
  /* Aucun fondu : le calque reste opaque et couvre la carte fixe à chaque instant. */
  transition: transform 250ms ease, filter 250ms ease;
}

.artwork-focus {
  fill: none;
  stroke: #d7ac69;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 250ms ease;
}

.artwork-card:focus-visible .artwork-focus {
  opacity: 1;
  stroke: #ffe8b4;
  stroke-width: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .artwork-card:hover .artwork-focus {
    opacity: 1;
  }

  .artwork-card:hover .artwork-layer {
    transform: scale(1.08);
    filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .35));
  }
}

@media (prefers-reduced-motion: reduce) {
  .artwork-card .artwork-layer,
  .artwork-card .artwork-focus {
    transition: none;
  }

  .artwork-card:hover .artwork-layer {
    transform: none;
    filter: none;
  }
}

.artwork-type-responsive {
  left: calc(900 / 1148 * 100%); top: calc(190 / 630 * 100%);
  width: calc(215 / 1148 * 100%); height: calc(122 / 630 * 100%);
}
.artwork-palette-responsive {
  left: calc(900 / 1148 * 100%); top: calc(319 / 630 * 100%);
  width: calc(215 / 1148 * 100%); height: calc(116 / 630 * 100%);
}
@media (min-width: 1181px) {
  .artwork-type-desktop, .artwork-palette-desktop {
    left: calc(1800 / 2048 * 100%); right: auto;
    width: calc(215 / 2048 * 100%);
  }
  .artwork-type-desktop {
    top: calc(175 / 661 * 100%); height: calc(122 / 661 * 100%);
  }
  .artwork-palette-desktop {
    top: calc(304 / 661 * 100%); height: calc(116 / 661 * 100%);
  }
}
