/* ORFEU V2.1 — vitrail contemporain : 8 pièces × 3 lignes, avec des joints ouverts.
   Contour vert issu du thème Orfeu (#28a65f). Les 24 tuiles restent cliquables. */
.orfeu-page .inspiration-collage.orfeu-mosaic {
  --orfeu-gap: clamp(8px, .8vw, 12px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: stretch;
  gap: var(--orfeu-gap);
  height: auto;
  min-height: 0;
  width: 100%;
  max-width: 1500px;
  margin: 22px auto 0;
  padding: 8px 0;
  background: transparent;
  isolation: isolate;
}
.orfeu-page .orfeu-mosaic .inspiration-slot {
  position: relative;
  inset: auto;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  width: 100%;
  height: clamp(118px, 10vw, 172px);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  transform: none;
  cursor: zoom-in;
  transition: filter .24s ease;
}
.orfeu-page .orfeu-mosaic .inspiration-slot:before {display:none;content:none}
.orfeu-page .orfeu-mosaic .inspiration-slot:hover,
.orfeu-page .orfeu-mosaic .inspiration-slot:focus-visible {filter: brightness(1.12) drop-shadow(0 0 9px var(--orfeu-green-glow));}
.orfeu-page .orfeu-mosaic .orfeu-shape {
  position: relative;
  display: block;
  width: 100%;
  height: 78%;
  overflow: hidden;
  background: var(--orfeu-green, #28a65f);
  border: 0;
  border-radius: 3px;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.35));
}
.orfeu-page .orfeu-mosaic .shape-square .orfeu-shape {
  width: min(100%, 84%);
  height: 84%;
  aspect-ratio: 1;
}
.orfeu-page .orfeu-mosaic .shape-landscape .orfeu-shape {
  width: 100%;
  height: 73%;
}
.orfeu-page .orfeu-mosaic .shape-diamond .orfeu-shape {
  width: min(100%, 88%);
  height: 89%;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  border-radius: 0;
}
.orfeu-page .orfeu-mosaic .inspiration-slot img {
  display: block;
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  border: 0;
  border-radius: 1px;
  filter: saturate(.9) contrast(1.06);
  transform: none;
  transition: opacity .42s ease, filter .3s ease;
}
.orfeu-page .orfeu-mosaic .shape-diamond img {
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  border-radius: 0;
}
.orfeu-page .orfeu-mosaic .inspiration-slot.is-changing img {opacity:0}
.orfeu-page .orfeu-mosaic .inspiration-slot:hover img {filter:saturate(1.07) contrast(1.05) brightness(1.04);transform:none}
.orfeu-page .orfeu-mosaic .inspiration-slot i {
  position:absolute;z-index:3;right:8px;bottom:10px;
  display:grid;place-items:center;
  width:25px;height:25px;border-radius:50%;
  color:#d7ffe4;background:rgba(0,15,9,.85);border:1px solid var(--orfeu-green);
  opacity:0;transform:scale(.82);font:normal 16px sans-serif;
  transition:opacity .2s,transform .2s;
}
.orfeu-page .orfeu-mosaic .inspiration-slot:hover i,
.orfeu-page .orfeu-mosaic .inspiration-slot:focus-visible i {opacity:1;transform:scale(1)}
.orfeu-page .krank-lightbox>img{max-width:min(92vw,1400px);width:auto;max-height:90vh;height:auto;object-fit:contain}
.orfeu-page .krank-lightbox .orfeu-gallery-nav{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:48px;height:60px;display:grid;place-items:center;cursor:pointer;font-size:48px;line-height:1;font-weight:200;color:#fff;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.25);border-radius:4px}
.orfeu-page .krank-lightbox .orfeu-gallery-nav[hidden],.orfeu-page .krank-lightbox .orfeu-gallery-counter[hidden]{display:none}
.orfeu-page .krank-lightbox .orfeu-gallery-prev{left:clamp(8px,2vw,35px)}
.orfeu-page .krank-lightbox .orfeu-gallery-next{right:clamp(8px,2vw,35px)}
.orfeu-page .krank-lightbox .orfeu-gallery-nav:hover,.orfeu-page .krank-lightbox .orfeu-gallery-nav:focus-visible{border-color:var(--orfeu-green);color:var(--orfeu-green-soft)}
.orfeu-page .krank-lightbox .orfeu-gallery-counter{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);font:500 13px/1.4 sans-serif;letter-spacing:.14em;color:var(--orfeu-green-soft);background:rgba(0,0,0,.65);padding:7px 12px;border-radius:4px}
@media(max-width:620px){
  .orfeu-page .krank-lightbox .orfeu-gallery-nav{width:36px;height:48px;font-size:35px}
  .orfeu-page .krank-lightbox>img{max-width:calc(100vw - 78px);max-height:82vh}
}

/* Tablette/mobile : la même collection de 24 images, repliée sans débordement. */
@media(max-width:1199px){
  .orfeu-page .inspiration-collage.orfeu-mosaic{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;gap:10px}
  .orfeu-page .orfeu-mosaic .inspiration-slot{height:clamp(112px,17vw,170px)}
}
@media(max-width:620px){
  .orfeu-page .inspiration-collage.orfeu-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .orfeu-page .orfeu-mosaic .inspiration-slot{height:clamp(120px,35vw,190px)}
}

/* ORFEU V2.2 — les losanges passent AU-DESSUS des voisins, comme dans la maquette.
   La grille reste 8 x 3 ; seul le plan visuel change. */
@media (min-width:1200px) {
  .orfeu-page .inspiration-collage.orfeu-mosaic { overflow: visible; }
  .orfeu-page .orfeu-mosaic .shape-diamond {
    z-index: 5;
    overflow: visible;
  }
  .orfeu-page .orfeu-mosaic .shape-diamond .orfeu-shape {
    transform: scale(1.72);
    transform-origin: center center;
    filter: drop-shadow(0 8px 10px rgba(0,0,0,.68));
  }
  /* Un rythme non mécanique : les losanges franchissent aussi les joints verticaux. */
  .orfeu-page .orfeu-mosaic .shape-diamond:nth-child(3) .orfeu-shape,
  .orfeu-page .orfeu-mosaic .shape-diamond:nth-child(15) .orfeu-shape {
    transform: translateY(10px) scale(1.72);
  }
  .orfeu-page .orfeu-mosaic .shape-diamond:nth-child(6) .orfeu-shape,
  .orfeu-page .orfeu-mosaic .shape-diamond:nth-child(18) .orfeu-shape {
    transform: translateY(-10px) scale(1.72);
  }
  .orfeu-page .orfeu-mosaic .shape-diamond:nth-child(12) .orfeu-shape,
  .orfeu-page .orfeu-mosaic .shape-diamond:nth-child(22) .orfeu-shape {
    transform: translateY(4px) scale(1.72);
  }
  .orfeu-page .orfeu-mosaic .inspiration-slot:hover,
  .orfeu-page .orfeu-mosaic .inspiration-slot:focus-visible { z-index: 12; }
}
/* Sur tablette et mobile, ne pas recouvrir les petites vignettes ni leur zone tactile. */

/* ORFEU V2.3 — footer : préserver la composition vitrail, dégager T.Boon.
   Base krank.css : -270 px ; Full +40 px, UltraWide +90 px. */
@media (min-width: 761px) {
  .orfeu-page .orfeu-footer { margin-top: -230px; }
}
@media (min-width: 1800px) and (min-aspect-ratio: 2/1) {
  .orfeu-page .orfeu-footer { margin-top: -180px; }
}
