body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  margin: 56px 0;
  position: relative;
  overflow: hidden;
}

main {
  padding: 60px 0;
}

.simulator-container {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  filter: drop-shadow(0px 4px 16px rgba(25, 40, 90, 0.14));
  border-radius: 20px;
  padding: 34px 32px 25px;
  margin-bottom: 18px;
}

h3 {
  color: #19285a;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}
.title_presta {
  margin-bottom: 10px;
}
.text_presta {
  margin-bottom: 20px; 
}
p {
  margin-bottom: 0;
}
.progress-bar-container {
  width: 100%;
  margin: 10px 0 40px 0;
}

.progress-bar-bg {
  background: #eee;
  border-radius: 20px;
  height: 10px;
  width: 100%;
  overflow: hidden;
}

.progress-bar-fill {
  background: linear-gradient(90deg, #1C3997, #0033cc); 
  height: 100%;
  width: 0%;
  border-radius: 20px;
  transition: width 0.4s cubic-bezier(.4,2.3,.3,1);
}
.title_bloc {
  color: #19285a;
  font-size: 17px;
  margin-bottom: 4px;
}
.text_bloc {
  color: #565656;
  margin-bottom: 3px;
}
.price {
  color: #dd446b;
  font-weight: 600;
  font-size: 17px;
}

.info_presta {
  background-color: #fbdbe0;
  border-radius: 16px;
  padding: 30px;
  margin-top: 30px;
}

.info_presta .titre_info {
  margin-bottom: 10px;
}

.info_presta ul {
  padding: 0 0 0 35px;
  margin: 0;
  list-style: none;
}

.info_presta ul li {
  line-height: 1.6;
}

.info_presta ul li strong {
  font-size: 18px;
  color: #19285a; 
  vertical-align: bottom;
}

.info_presta svg {
  fill: #19285a;
  width: 25px;
  height: 25px;
  vertical-align: text-bottom;
  margin-right: 15px;
}

.info_presta p {
  display: flex;
}

.info_garde {
  background-color: #f1f5fb;
  border-radius: 16px;
  padding: 30px;
  margin-top: 30px;
}

.info_garde .titre_info {
  margin-bottom: 10px;
  font-weight: 700;
  color: #0033cc;
}

.info_garde ul {
  padding: 0 0 0 35px; 
  margin: 0;
  list-style: none;
}

.info_garde ul li {
  line-height: 1.6;
}

.info_garde ul li span {
  color: #0033cc;
  font-weight: 700;
}

.info_garde svg {
  fill: #0033cc;
  width: 20px;
  height: 20px;
  vertical-align: text-bottom;
  margin-right: 10px;
}

.hidden_garde {
   display: none !important;
}

.step { display: none; }
.step.active { display: block; }
input[type="radio"] {
    display: none;
}
.radio-group label {
  display: block;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border 0.3s, background 0.3s;
}
.radio-group input[type="radio"]:hover + span,
.radio-group label:has(input[type="radio"]:hover) {
  border-color: #D4DDEA;
  background: #edf2f9; 
}
.radio-group input[type="radio"]:checked + span,
.radio-group label:has(input[type="radio"]:checked) {
  border-color: #D4DDEA;
  background: #edf2f9;
}
#frequencyOptions {
  margin-top: 30px;
}
.hour-options label {
  display: inline-block;
  margin: 0.25em 0.5em 0.25em 0;
  padding: 0.5em 1em;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
}
.hidden { display: none; }
.btn-primary, .btn-secondary {
  padding: 0.7em 2em;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  margin: 1em 0.2em 0 0;
  cursor: pointer;
  transition: all 0.3s;
}
.buttons_bloc {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 0;
}

#showContactForm {
  background-color: #f2527a;
}

#showContactForm:hover {
  background-color: #0033cc;
}

.btn-primary {
  display: block;
  background-color: #0033cc;
  color: #fff;
  font-weight: 700;
  line-height: 1em;
  font-size: 1rem;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
  padding-top: 18px;
  padding-right: 26px;
  padding-bottom: 18px;
  padding-left: 26px;
  line-height: 1.3;
}
.btn-primaryStep1 {
  margin: 30px 0 0 auto;
}
.btn-primary:hover {
  background-color: #f2527a;
}
.btn-secondary {
  background: #f1f5fb;
  color: #19285a;
  font-weight: 700;
  line-height: 1em;
  font-size: 1rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  padding-top: 20px;
  padding-right: 26px;
  padding-bottom: 20px;
  padding-left: 26px;
}
.btn-secondary:hover {
  background: #0033cc;
  color: #fff;
}
#tarifTotal {
  font-weight: bold;
  color: #4f46e5;
  margin-top: 1.5em;
  font-size: 1.2em;
  background: #eef2ff;
  padding: 1em;
  border-radius: 8px;
  text-align: center;
}

.flex_between .deux_prix {
  display: flex;
}

.flex_between .deux_prix span {
  font-size: 16px!important;
  color: #19285a;
}

.flex_between {
  display: flex;
  justify-content: space-between; 
  align-items: center;
}

.flex_between .barre {
  color: #19285a!important;
  position: relative;
  margin-left: 10px;
  padding-left: 0!important;
  font-weight: 400;
}

.flex_between .barre:before {
  content: "";
  background-color: #19285a;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  left: 0;
  right: 0;
}

.summary {
  background: #f1f5fb;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
}
.summary .flex_between {
  line-height: 2;
}

.summary .flex_tarif {
  line-height: 1.6;
  overflow: hidden;
  will-change: transform;
}

.summary .flex_tarif p {
  font-size: 16px;
  position: relative;
  padding-right: 10px;
  color: #19285a!important;
  margin-bottom: 0!important;
  z-index: 1;
}

.summary .flex_tarif p:before {
  content: "";
  border-bottom: 1px dashed #565656;
  opacity: .4;
  position: absolute;
  height: 1px;
  width: 450px;
  left: 100%;
  top: 50%;
  z-index: -1;
}

.summary .flex_tarif.nobefore p:before {
  display: none;
}

.summary .flex_tarif span {
  background-color: #f1f5fb;
  z-index: 1;
  padding-left: 10px;
  font-size: 19px;
}

.summary .flex_tarif.apresC p {
  font-size: 15px;
}

.summary span {
  font-weight: 700;
  color: #19285a;
}
.summary p {
  color: #19285a;
}

.total_price {
  margin-top: 30px;
}

.total_price span {
  background-color: #f1f5fb!important;
}

.total_price p {
  font-size: 18px;
  margin-bottom: 6px;
}

.mensuel_price {
  background-color: #dce6f4;
  border-radius: 16px;
  padding: 30px 20px;
  margin: 30px -20px -20px;
}

.mensuel_price p {
  font-size: 22px;
  color: #0033cc;
  margin-bottom: 6px;
}

.mensuel_price > p {
  text-decoration: underline;
  color: #19285a!important;
}

.mensuel_price span {
  background-color: #dce6f4!important;
  color: #0033cc;
  font-size: 22px!important;
}

.horaire_tarif {
  overflow: hidden;
}

.horaire_tarif p {
  font-size: 18px;
  margin-bottom: 6px;
}

hr {
  color: #565656;
  margin: 1.3rem 0;
}
.note {
  font-size: 14px;
  color: #565656;
  margin-top: 0.5em;
}
.demande_devis {
  background: #fbdbe0;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}
.demande_devis .title_devis {
  font-size: 20px;
  text-align: center;
  color: #19285a;
  font-weight: 700;
  margin-bottom: 10px;
}

.demande_devis .text_devis {
  text-align: center;
  color: #565656;
  margin-bottom: 0;
}

.demande_devis .btn-primary {
  background-color: #f2527a;
  margin: auto;
}

.demande_devis .btn-primary:hover {
  background-color: #0033cc;
}

.modal {
  position: absolute;
  width: auto;
  inset: 0;
  top: 0;
  left: 70px;
  right: 70px;
  bottom: 0;
  background: #f1f5fb;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

@media (max-width: 998.98px) {
  .modal {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 767.98px) {
  .modal {
    left: 0;
    right: 0;
  }
}

.modal.hidden { display: none; }
.modal-content {
  max-width: 600px;
  width: 100%;
  position: relative;
  filter: drop-shadow(0px 4px 16px rgba(25, 40, 90, 0.14));
  border-radius: 20px;
  padding: 34px 32px 25px;
  background: #fff;
  border: 0;
}
.modal-close {
  position: absolute;
  right: 25px;
  top: 25px;
  background: none;
  border: none;
  font-size: 50px;
  color: #aaa;
  cursor: pointer;
  line-height: .4;
}

.modal h3 {
  font-size: 26px;
  color: #f2527a;
  margin-bottom: 14px;
}

.modal p {
  margin-bottom: 24px;
}

.modal input[type=text],
.modal input[type=email],
.modal input[type=tel] {
  border-radius: 4px;
  border: solid 1px #E2E8F0;
  background: #F9FAFB;
  font-weight: 500;
  font-size: 16px!important;
  color: #808285;
  height: 50px;
  font-family: 'Raleway', sans-serif;
  width: 100%;
  padding: .75em;
  margin-bottom: 12px;
}

.modal textarea {
  height: 162px!important;
  border-radius: 4px;
  border: solid 1px #E2E8F0;
  background: #F9FAFB;
  font-weight: 500;
  font-size: 16px!important;
  color: #808285;
  font-family: 'Raleway', sans-serif;
  width: 100%;
  padding: .75em;
  margin-bottom: 12px;
}

.modal input:not([type=submit]):focus, .modal textarea:focus{
  border-color: #82c0cf;
}

.modal label input[type=checkbox] {
  font-size: 15px;
  font-weight: 500!important;
  color: #565656;
  line-height: 1.3;
}

.modal .rgpd {
  font-size: 12px;
}

.modal .rgpd a {
  color: #f2527a;
}

.modal .rgpd a:hover {
  color: #19285a;
}

.modal button[type=submit] {
  background-color: #f2527a;
}

.modal button[type=submit]:hover {
  background-color: #0033cc;
}

@media (max-width: 600px) {
  .simulator-container { padding: 1em; }
}

.error-message {
  color: #f2527a;
  font-size: 16px;
  margin: 6px 0 10px 0;
}

#hourOptionsRadio label {
  color: #19285a;
  font-weight: 500;
}

#childcareHours {
  background-color: #f1f5fb;
  color: #19285a;
  border: 0;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  width: 50px!important;
  padding: 4px 0 4px 10px;
}

.confirmation_mail {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  margin: 100px auto;
}

.confirmation_mail img {
  max-width: 118px;
  width: 100%;
  margin: 0 auto 32px;
}

.confirmation_mail h2 {
  font-size: 2.6em;
  color: #19285a;
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
}

.confirmation_mail p {
  font-size: 24px;
  color: #f2527a;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 998.98px) {
  body {
    margin: 36px 0;
  }
}

@media (max-width: 767.98px) {
  body {
    margin: 60px 0;
    padding: 0 20px;
  }

  main {
    padding: 20px 0;
  }

  .info_presta {
    padding: 30px 20px;
  }

  .info_presta p {
    display: block;
  }

  .info_presta svg {
    vertical-align: bottom;
    margin-right: 4px;
  }

  .info_presta ul {
    padding: 0;
  }

  .info_garde {
    padding: 30px 20px;
  }

  .info_garde ul {
    padding: 0;
  }

  .info_garde svg {
    width: 25px;
    height: 25px;
    vertical-align: sub;
    margin-right: 4px;
  }

  .summary {
    margin-bottom: 20px;
  }

  .summary .flex_between {
    display: block;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .summary .flex_tarif {
    display: block!important;
    margin-bottom: 4px!important;
  }

  .summary .flex_tarif span {
    padding-left: 0;
  }

  #step3 .buttons_bloc {
    flex-wrap: wrap-reverse;
  }

  .buttons_bloc {
    margin-top: 20px;
  }

  .modal-close {
    right: 8px;
    top: 14px;
  }
}