    /* Base styles */
*, *::before, *::after {
animation: fadeIn 0.5s ease-in-out;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html, body, .container {
  font-family: 'Roboto', sans-serif;
}
body {
  font-family:'Roboto', sans-serif;

  background: #121212;
  color: #eee;
  padding: 1rem;
margin: 0;
}
.container {
  max-width: 40%;
 max-width: 800px;

  margin: 2rem auto;
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 3rem;
}
h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
}
.form-section {
  display: none;
}
.form-section.active {
  display: block;
}
fieldset {
  border:none;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
legend {
  font-weight: bold;
}
label {
  display: block;
  margin-top: .75rem;
}
input, select, textarea {
  width: 100%;
  padding: .5rem;
  margin-top: .25rem;
  background: #2a2a2a;
  border: 1px solid #444;
  color: #eee;
  border-radius: 4px;
resize: none; 
}
.radio-group {
    display: block;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
  }
.checkbox-group {
    display: block;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
  }
.radio-group span,.checkbox-group span {
  display: block;
  margin-bottom: 0.5rem;      /* espace entre la question et la 1re option */
}

.radio-group label,.checkbox-group label {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 2.5rem; 
  margin-bottom: 1rem;
}
.radio-group input,.checkbox-group input {
    width: 1.2rem;
    height: 1.2rem;
  margin-right: 0.5rem;
}
textarea {
    width: 90%;
    min-height: 5rem;
    padding: 0.5rem;
    border-radius: 4px;
	  margin-bottom: 1.5rem;
  }

#nb-produits,#objectif,#fullname,#email,#budget-max,#deadline,#nb-services,#keywords-list,#objectif-autre,#client-actions_autre,#services-variants_autre,#phone {
  margin-top: 1rem;
  margin-bottom: 1rem; 
  padding: 0.6rem;
}


#form-container h2 {
  font-size: 2rem;   /* ou la taille que vous préférez */
}


/* conteneur du slider + labels */
.slider-with-labels {
  width: 100%;
  position: relative;
  margin-bottom: 1rem;
}

/* graduations en fond de la barre */
.slider-with-labels input[type="range"] {
  -webkit-appearance: none;
margin-top: 0.75rem; 
  width: 100%;
  height: 6px;
  background: #444
    /* ticks tous les 10% */
    repeating-linear-gradient(
      to right,
      #888,
      #888 1px,
      transparent 1px,
      transparent 10%
    );
  border-radius: 3px;
}

/* thumb style */
.slider-with-labels input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #3b82f6;
  border-radius: 50%;
  margin-top: -5px;
  cursor: pointer;
}
.slider-with-labels input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #3b82f6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* labels chiffrés sous le slider */
.ticks-labels {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  margin-top: 0.5rem;
}
.ticks-labels span {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}
button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
}
button:disabled {
  opacity: .5;
  cursor: default;
}

@media (max-width: 600px) {
  .radio-group,
  .checkbox-group {
    flex-direction: column;
  }
}