@charset "UTF-8";
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-image: url(../assets/common-bg.e0f7040b.svg);
  background-size: cover;
  background-position: bottom;
  font-family: var(--primary-font);
  padding: 50px;
  overflow: hidden;
  margin: 50px 0;
  padding-top: 150px;
}
.contact-section input:focus,
.contact-section textarea:focus {
  border: 1px solid var(--green);
}

.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(72, 103, 255, 0.3);
  border-radius: 50%;
  opacity: 0.4;
  animation: floating 6s ease-in-out infinite;
}

.contact-section::before {
  top: -150px;
  left: -150px;
}

.contact-section::after {
  bottom: -150px;
  right: -150px;
  background: rgba(142, 199, 253, 0.3);
}

@keyframes floating {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}
.container-contact {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 2;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--light-blue);
  border-radius: 5px;
  font-size: 1rem;
  color: var(--black);
  min-height: 50px;
}
form input:focus,
form textarea:focus {
  border-color: var(--dark-blue);
  outline: none;
}

.form-offres {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.label-offre,
.label-message {
  font-weight: bold;
  color: var(--green);
  margin-bottom: 5px;
}

#message {
  height: 150px;
}

.choix-offre {
  flex: 1;
  background: var(--light-blue);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.7rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

input[type=file] {
  border: none;
}

.action-button, input[type=submit] {
  background: var(--green);
  color: var(--white);
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  font-weight: bold;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .contact-section {
    padding: 10px;
  }
  .form-offres {
    flex-direction: column;
  }
  .choix-offre {
    width: 100%;
  }
}
.title-contact {
  font-size: 2.5rem;
  color: var(--dark-blue);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}
.title-contact::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--green);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Style quand un bouton est actif */
.choix-offre[data-selected=true] {
  background: var(--green);
  color: var(--white);
  border-color: var(--dark-blue);
}

.file-input {
  display: none;
}

.custom-file-label {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--light-blue);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-family: sans-serif;
  margin: 0 0 5px 0;
}
.custom-file-label i {
  margin-right: 5px;
}

.form-step {
  display: none;
}

.line-form {
  border: 3px solid var(--green);
  margin: 20px 0;
  opacity: 100%;
}

.form-step.step-active {
  display: block;
  animation: fadeIn 0.4s;
}

.form-navigation {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.custom-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 15px;
  margin-top: 50px;
}

.custom-checkbox {
  position: relative;
  padding-left: 36px;
  cursor: pointer;
  font-size: 0.8;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  min-height: 36px;
}

.custom-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: 24px;
  background-color: #f1f1f1;
  border: 2.5px solid var(--light-blue);
  border-radius: 6px;
  transition: background 0.2s, border 0.2s;
}

.custom-checkbox input[type=checkbox]:checked ~ .checkmark {
  background-color: var(--green);
  border-color: var(--green);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input[type=checkbox]:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  content: "";
  position: absolute;
}

.cgu-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
}

.cgu-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 95%;
  margin: 180px auto;
  padding: 32px 24px 24px 24px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  max-height: calc(100vh - 210px);
  display: flex;
  flex-direction: column;
  z-index: 99999;
  overflow-y: auto;
}

.cgu-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
}

.cgu-modal-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cgu-scroll-content {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #eee;
  padding: 16px;
  margin-bottom: 18px;
  background: #fafbfc;
  border-radius: 8px;
}

#cgu-accept:disabled,
.button:disabled {
  background: #bfc9d1 !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none;
}

#cgu-accept {
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.mascotte-form {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.mascotte-step-1 {
  transform: translateY(0);
}

.mascotte-step-2 {
  transform: translateY(-20px);
}

.mascotte-step-3 {
  transform: translateY(-40px);
}

.cgu-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}
.cgu-modal .cgu-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.cgu-modal .cgu-close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #666;
  transition: color 0.3s ease;
}
.cgu-modal .cgu-close:hover {
  color: #000;
}
.cgu-modal .cgu-modal-body h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.cgu-modal .cgu-modal-body h3 {
  color: #444;
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
}
.cgu-modal .cgu-modal-body h4 {
  color: #555;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}
.cgu-modal .cgu-modal-body p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cgu-modal .cgu-modal-body ol {
  list-style-type: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  counter-reset: item;
}
.cgu-modal .cgu-modal-body ol li {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}
.cgu-modal .cgu-modal-body ol li strong {
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}
.cgu-modal .cgu-modal-body ol li br {
  margin-bottom: 0.5rem;
}
.cgu-modal .cgu-modal-body ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.cgu-modal .cgu-modal-body ul li {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.cgu-modal .cgu-modal-body a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.cgu-modal .cgu-modal-body a:hover {
  color: #0056b3;
  text-decoration: underline;
}
.cgu-modal .cgu-modal-body .version {
  text-align: right;
  font-size: 0.9rem;
  color: #888;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}
.cgu-modal .cgu-scroll-content {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 1rem;
  margin-bottom: 1.5rem;
}
.cgu-modal .cgu-scroll-content::-webkit-scrollbar {
  width: 8px;
}
.cgu-modal .cgu-scroll-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.cgu-modal .cgu-scroll-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.cgu-modal .cgu-scroll-content::-webkit-scrollbar-thumb:hover {
  background: #666;
}
.cgu-modal #cgu-accept {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 1.5rem auto 0;
  padding: 0.8rem 1.5rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cgu-modal #cgu-accept:hover:not(:disabled) {
  background-color: #0056b3;
}
.cgu-modal #cgu-accept:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

@media screen and (max-width: 991px) {
  .contact-section-content {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .cgu-modal-content {
    margin: 150px auto;
    max-height: calc(100vh - 170px);
  }
}
@media screen and (max-width: 470px) {
  .form-navigation {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
}
@media screen and (max-width: 425px) {
  .container-contact {
    padding: 10px;
  }
}
/* Styles pour les erreurs de validation */
.input-error {
  border: 1px solid #ff4c4c !important;
  background-color: #fff0f0 !important;
  margin-bottom: 0 !important; /* Supprime la marge inférieure quand il y a une erreur */
}

.error-message {
  color: #ff4c4c;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  margin-bottom: 0.8rem; /* Ajoute de la marge en bas du message d'erreur */
  font-weight: 500;
  position: relative;
  top: -5px; /* Remonte légèrement le message d'erreur */
}

/* Classe pour les conteneurs de champs */
.form-group {
  margin-bottom: 1rem; /* Marge standard pour les groupes de formulaire */
}

.form-offres {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

#prix-container {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#prix-affiche {
  font-size: 1.2em;
  color: #333;
}

.engagement-text {
  color: #FF6000; /* Couleur orange */
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 5px;
  text-align: center;
}