.how-it-works {
  text-align: left;
  max-width: 100%;
  margin: auto;
}

.how-it-works h3 {
  font-weight: 900;
  font-size: 28px;
  color: #5A597A;
  font-family: "Avenir Next", sans-serif;
}

.how-it-works p {
  font-weight: 700;
  font-size: 18px;
  color: #5A597A;
  font-family: Helvetica, sans-serif;
  line-height: 1.3em;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.steps {
  display: flex;
  gap: 30px;
  transition: all 0.5s ease;
}

.step {
  flex: 1;
  opacity: 0.4;
  transition: all 0.7s ease;
  cursor: pointer;
  position: relative;
}

.step.active {
  opacity: 1;
  flex: 2.5;
}

.step img {
  width: 100%;
  border-radius: 12px;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.progress {
  height: 4px;
  background: #e0e0e8;
  border-radius: 2px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
	.how-it-works h3 {
		font-size: 18px;
	}
	.how-it-works p {
		font-size: 14px;
	}
	.step {
		width: 0;
		overflow:hidden;
		flex:0
	}
	.step.active {
		width: 100%;
	}
	.steps {
	  gap: 0;
	  height: 335px;
	}
}

/* --- Flèches de navigation --- */
.nav-arrow {
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 54, 255, 0.8);
    color: #fff;
    border: none;
    font-size: 22px;
    line-height: 1;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: none;
    width: 50px;
}

.nav-arrow:hover {
  background: #0036ff;
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}

