body {
  overflow: hidden;
}

.background_bulle {
  width: 2050px;
  height: 1140px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 62px 30px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  margin-top: 30px;
  padding: 25px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 50px;
}

.titre1 {
  font-size: 90px;
}

.titre2 {
  font-size: 75px;
  font-style: normal;
}

h4 {
  font-size: 24px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 5px;
  margin-bottom: 30px;
  margin-left: 5px;
}

.step-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#noisy_back {
  width: 950px;
  height: 1090px;
  z-index: 10;
  transition: all 0.5s ease 0.2s;
}

form#multiStepForm label {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-left: 5px;
}

form#multiStepForm input,
select,
.continuer {
  width: 600px;
  height: 60px;
  border: solid 2.4px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 20px;
  font-size: 18px;
  margin-bottom: 30px;
  font-family: var(--Montserrat);
}

form#multiStepForm input:valid {
  border-color: rgba(0, 207, 0, 0.5);
}

input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 0, 0, 0.5);
}

form#multiStepForm .continuer {
  background-color: var(--noir);
  color: var(--background-white);
  border: none;
  font-family: var(--Montserrat);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0),
    inset 0 -4px 0 rgba(0, 0, 0, 0), inset 5px 6px 30px rgba(255, 255, 255, 0.1),
    4px 5px 14px 5px rgba(0, 0, 0, 0.05);
}

form#multiStepForm .continuer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

form#multiStepForm .continuer:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.3),
    inset 0 -4px 0 rgba(0, 0, 0, 0.5),
    inset 5px 6px 30px rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

form#multiStepForm .continuer:hover::before {
  animation: shine 0.5s forwards;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.step-form-1 {
  margin-left: 250px;
}

.step-form-2 {
  position: absolute;
  top: 213.5px;
  left: 1150px;
  transition: all 0.1s ease 0.3s;
}

.adress-sec {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

form#multiStepForm .adress-sec input {
  width: 275px;
}

.mini-input {
  display: flex;
  flex-direction: column;
}

select {
  border: 2px solid #2ecc70af; /* vert */
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;
  padding: 0 20px;
  font-family: var(--Montserrat);
  font-weight: 600;
}

/* rend un step invisible */
.step-form.hidden {
  opacity: 0;
  pointer-events: none;
}

/* on peut remettre visible un step si besoin */
.step-form.visible {
  opacity: 1;
  pointer-events: auto;
}

.radio-group {
  display: flex;
  gap: 10px;
}

.radio-group input[type="radio"] {
  display: none; /* cache les vrais boutons */
}

.radio-btn {
  padding: 10px 20px;
  border: 2px solid #aaa;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 285px;
  height: 60px;
  color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
}

/* au survol */
.radio-btn:hover {
  border-color: #666;
}

/* quand le bouton est sélectionné */
input[type="radio"]:checked + .radio-btn {
  background-color: rgba(76, 175, 79, 0.1);
  border-color: hsla(122, 39%, 49%, 0.7);
}

.step-form-3 {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  position: absolute;
  top: 20%;
  left: 35%;
}

.hidden-input {
  position: absolute;
  margin-left: 620px;
  margin-top: -50px;

  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#multiStepForm .hidden-input input {
  width: 350px;
}

/* quand l’input devient visible */
.hidden-input.visible {
  display: flex;
  opacity: 1;
}

.step-form-3 {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.step-form-3.visible {
  display: flex;
  opacity: 1;
}

#question1-form3 {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-top: 5px;
}

form#multiStepForm .step-form-3 label {
  margin-bottom: 20px;
}
