/* =====================================================
   RELEASE
===================================================== */

.release {
  background: linear-gradient(
    135deg,
    rgba(15, 40, 17, 0.95) 0%,
    rgba(30, 65, 32, 0.9) 35%,
    rgba(50, 90, 52, 0.85) 65%,
    rgba(30, 65, 32, 0.9) 100%
  );

  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;

  /* État initial : MASQUE COLLÉ À DROITE */
  --clip1: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
  --clip2: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
}

/* Pseudo-elements */
.release::before,
.release::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Couche 1 */
.release::before {
  clip-path: var(--clip1);
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* Couche 2 */
.release::after {
  clip-path: var(--clip2);
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

/* Contenu au-dessus */
.release .container {
  position: relative;
  z-index: 2;
}

/* =====================================================
   GRID IMAGES
===================================================== */

.modern-image-grid {
  display: flex;
  gap: 1rem;
  width: 80%;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 24%;
  height: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .4s ease;
}

.image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.image-wrapper:hover img {
  transform: scale(1.08);
}
.image-tall-left
{
    transform: translateY(-30px);
}
.image-tall-right
{
    transform: translateY(30px);
}

/* =====================================================
   TEXT CARD
===================================================== */
.dynamic-card {
  padding: 3rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255,255,255,.15);
  color: white;
}