.zipblock-evolution-section {
  padding: 6rem 2rem;
  background: linear-gradient(to bottom right, #e3f2fd, #90caf9, #06367e);
  overflow: hidden;
}

.evolution-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1300px;
  margin: auto;
  flex-wrap: nowrap; /* <- for desktop & tablet */
}

.evolution-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-clip-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 28px;
  overflow: hidden; /* ✅ coupe tout ce qui dépasse */
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* optionnel */
}

.transform-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.transform-image.active {
  opacity: 1;
}



.evolution-text-wrapper {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  transition: padding 0.4s ease, font-size 0.4s ease;
}


.evolution-title {
  font-size: clamp(2rem, 4vw, 3rem); /* ⇦ responsive automatiquement */
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.evolution-step-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.evolution-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.evolution-benefits li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #f1f9ff;
}


.zipblock-evolution-section {
  padding: 4rem 2rem;
  overflow: hidden;
}

.evolution-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.evolution-image-wrapper {
  flex: 1 1 45%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.evolution-text-wrapper {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: #ffffff;
  padding: 0;
}

.image-clip-container {
  width: 100%;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 400px;
}

.evolution-image-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #e0f7ff;
  text-align: center;
  font-style: italic;
}

.transform-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.transform-image.active {
  opacity: 1;
  z-index: 1;
}

.zipblock-label-transition {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(135deg, #00c3ff, #005bea);
  color: white;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.zipblock-label-transition.visible {
  opacity: 1;
}

.evolution-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.highlight {
  background: linear-gradient(90deg, #00e1ff, #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.evolution-step-text {
  position: relative;
  min-height: 7rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.step-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.step-content.active {
  opacity: 1;
  position: relative;
}

.subline {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: #c9ebff;
}

.evolution-impact {
  background: rgba(0, 195, 255, 0.1);
  padding: 1.2rem 1.4rem;
  border-left: 5px solid #00c3ff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.impact-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  color: #00eaff;
}

.impact-title {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.btn-transition {
  background: linear-gradient(to right, #00c3ff, #005bea);
  color: white;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  margin-top: 1rem;
}

.btn-transition:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 195, 255, 0.4);
}

@media screen and (max-width: 768px) {
  .evolution-columns {
    flex-direction: column;
    gap: 2rem;
  }
  .evolution-image-wrapper,
  .evolution-text-wrapper {
    width: 100%;
  }
  .image-clip-container {
    max-height: 300px;
  }
  .transform-image {
    position: absolute;
  }
}
/* 📐 Transitions intermédiaires fluides */
@media screen and (max-width: 1024px) {
  .evolution-image-wrapper {
    max-width: 420px;
  }

  .evolution-text-wrapper {
    padding: 1.8rem;
  }
}

@media screen and (max-width: 900px) {
  .evolution-image-wrapper {
    max-width: 360px;
  }

  .evolution-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

@media screen and (max-width: 768px) {
  .evolution-image-wrapper {
    max-width: 320px;
  }

  .evolution-text-wrapper {
    padding: 1.5rem;
  }

  .evolution-step-text {
    font-size: 1rem;
  }
}
@media screen and (max-width: 680px) {
  .evolution-columns {
    flex-direction: column;
  }

  .evolution-image-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .transform-image {
    position: relative;
  }
}
