/* ==========================================================================
   realisations.css
   Page "Nos réalisations" séparée. Classes préfixées rz- pour ne
   collisionner avec aucune autre feuille de style du site.
   ========================================================================== */

.rz-section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.rz-etiquette {
  font-family: var(--chiffre, ui-monospace, monospace);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--feria, #C1272D);
  display: block;
  margin-bottom: .8rem;
}

.rz-titre {
  font-family: var(--display, "Bricolage Grotesque", Georgia, serif);
  font-weight: 800;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  letter-spacing: -.02em;
  margin: 0 0 2.5rem;
}

.rz-grille {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

.rz-grille { overflow: visible; }
.rz-carte {
  margin: 0;
  background: var(--papier-vif, #fff);
  border: 1px solid var(--sable, #D3C7AB);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
  position: relative;
  z-index: 1;
}
.rz-section, .rz-section .nv-enveloppe { overflow: visible; }
.rz-carte:hover {
  transform: scale(1.45) !important;
  z-index: 20;
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
  outline: 3px solid var(--feria, #C9B36B);
}

.rz-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--sable, #D3C7AB);

}

.rz-legende {
  padding: .9rem 1rem;
  font-size: .9rem;
  color: var(--encre-doux, #5A6960);
}

.rz-vide {
  color: var(--encre-doux, #5A6960);
  font-style: italic;
}
