.elementor-36416 .elementor-element.elementor-element-752fe05{--display:flex;overflow:visible;}#elementor-popup-modal-36416 .dialog-widget-content{background-color:#FE696500;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-36416{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-36416 .dialog-message{width:756px;height:auto;}#elementor-popup-modal-36416 .dialog-close-button{display:flex;}@media(min-width:768px){.elementor-36416 .elementor-element.elementor-element-752fe05{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-69e38b2 *//* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
  --font-main: "Segoe UI", sans-serif;
  --font-mono: monospace;

  /* Couleurs */
  --clr-bg: #ffffff;
  --clr-text: #333333;
  --clr-primary: #2590f2;
  --clr-primary-dark: #1c6ad1;
  --clr-gradient-immediat: linear-gradient(180deg, #2590f2f5, #162653)!important;;
  --clr-gradient-programme: linear-gradient(180deg, #8c3f9e, #f2295b)!important;
  --clr-info: #f1c232;

  /* UI */
  --radius: 0.75rem;
  --radius-sm: 0.375rem;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  --transition-base: 0.3s ease;
}

/* ============================================================
   BOÎTE DE SÉLECTION DES CRÉNEAUX
   ============================================================ */
.elementor-popup-modal .horaire-box {
  max-width: 100rem;important!;
  margin: auto;
  padding: 1.25rem;
  background: var(--clr-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-main);
}

.horaire-box h2 {
  margin-bottom: 0.5rem;
  font: 700 1.375rem/1.2 var(--font-main);
  text-align: center;
  color: var(--clr-text);
}

/* ------------------------------------------------------------
   Cartes créneau
   ------------------------------------------------------------ */
.option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.625rem;
  padding: 0.75rem;
  border: 2px solid #ccc;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-base);
}

.option-card:first-of-type {
  margin-top: 0.3125rem;
}

.option-card:hover {
  border-color: var(--clr-primary);
}

.option-card input[type="radio"] {
  transform: scale(1.3);
  accent-color: #2d66f7;
}

.option-card input:checked + * {
  font-weight: 700;
}

/* ============================================================
   FACTURE
   ============================================================ */
.facture-box {
  margin-top: 2.5rem;
  padding: 1rem;
  background: var(--clr-primary);
  border: 2px dashed #ccc;
  border-radius: 0.5rem;
  font: 0.875rem/1.4 var(--font-mono);
  color: #fff;
}

.facture-box h3 {
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 700;
}

.facture-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.3125rem 0;
}

.facture-box td {
  vertical-align: top;
}

.facture-box td:first-child {
  width: 70%;
  text-align: left;
  padding-right: 0.625rem;
}

.facture-box td:last-child {
  width: 30%;
  text-align: right;
  white-space: nowrap;
}

.total-ttc-line {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  text-align: center;
}

.total-ttc {
  font-size: 2rem;
  font-weight: 700;
}

.facture-box .merci {
  color: #000;
}

/* ============================================================
   BOUTONS RDV
   ============================================================ */
.rdv-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rdv-buttons.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-rdv-immediat-tel,
.btn-rdv-programme {
  width: 100%;
  padding: 0.8125rem 1.5625rem;
  border: none;
  border-radius: var(--radius-sm);
  font: 0.9375rem/1.2 var(--font-main)!important;;
  color: #fff;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-rdv-immediat-tel {
  background: var(--clr-gradient-immediat);
}

.btn-rdv-programme {
  background: var(--clr-gradient-programme)!important;;
  margin-bottom: 1.25rem;
}

.btn-rdv-immediat-tel:hover,
.btn-rdv-programme:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15)!important;;
}

/* ============================================================
   FORMULAIRE RDV
   ============================================================ */
#formulaire-rdv {
  display: none;
  margin-top: 0.625rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

#formulaire-rdv * {
  box-sizing: border-box;
}

#formulaire-rdv :where(input, textarea) {
  width: 100%;
  margin: 0.25rem 0;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  font: 0.875rem/1.4 var(--font-main);
}

#form-rdv-36214 button[type="submit"] {
  display: block; /* Nécessaire pour que margin auto fonctionne */
  margin: 1.25rem auto 0.625rem !important; /* haut auto bas */
  background: linear-gradient(to right, #AFABF0, #300C92) !important;
  color: #fff !important;
  font: bold 1rem var(--font-main);
  padding: 0.875rem 1.5rem !important;
  border: none !important;
  border-radius: 20px !important;
  max-width: 15rem !important;
  width: 100% !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}


#formulaire-rdv button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2)!important;
}

/* ============================================================
   CHAMPS PHOTOS
   ============================================================ */
.photo-field-container {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.photo-field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 9.375rem;
}

.photo-field label {
  padding: 0.5rem 0.9375rem;
  background: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-base);
  user-select: none;
}

.photo-field label:hover {
  background: var(--clr-primary-dark);
}

.photo-field input[type="file"] {
  display: none;
}

.preview-img {
  display: none;
  width: 100%;
  max-height: 8.75rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.photo-exemple {
  margin-top: auto;
}

.photo-exemple-label {
  margin: 0.25rem 0;
  font-size: 0.8rem;
  font-style: italic;
  color: #555;
}

.photo-exemple-img {
  width: 100%;
  max-width: 250px;
  height: 140px;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   LAYOUT DES FORMULAIRES
   ============================================================ */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
}

.form-group {
  flex: 1 1 9.375rem;
  margin-bottom: 0.2rem;
}

/* ============================================================
   EFFET CLIGNOTANT
   ============================================================ */
.clignote {
  color: var(--clr-info);
  font-weight: 700;
  animation: clignoter 1s infinite;
}

@keyframes clignoter {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 48rem) {
  .photo-field-container {
    flex-direction: column;
  }
  .photo-field,
  .photo-field label {
    max-width: none;
  }
}

@media (max-width: 30rem) {
  .horaire-box {
    padding: 0.9375rem;
  }
  .option-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.5rem 0.3125rem;
  }
  .rdv-buttons {
    gap: 0.9375rem;
  }
  .facture-box {
    font-size: 0.8125rem;
    padding: 0.625rem;
  }
  .total-ttc {
    font-size: 1.5rem;
  }
  .form-row {
    flex-direction: column;
  }
}

/* ============================================================
   GLOBAUX / DÉBORDEMENT
   ============================================================ */
body,
html {
  overflow-x: hidden;
}

.popup-content,
.elementor-widget-container,
.horaire-box,
.facture-box,
#formulaire-rdv {
  max-width: 100%;
  overflow-x: hidden;
}
.btn-rdv-programme:focus {
  outline: 2px solid var(--clr-info);
  outline-offset: 2px;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-93f59cb *//* ----- STYLE POUR LA BOÎTE DE SÉLECTION DES CRÉNEAUX HORAIRE ----- */
.horaire-box {
  max-width: 450px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
}

.horaire-box h2 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px; /* Réduit l’espace sous le titre */
  color: #333;
}

/* Réduction spécifique de l’espace entre le titre et le premier créneau */
.option-card:first-of-type {
  margin-top: 5px !important;
}

/* ----- CARTE DES OPTIONS HORAIRES ----- */
.option-card {
  display: flex;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 12px;
  margin: 10px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.option-card input[type="radio"] {
  margin-right: 15px;
  transform: scale(1.3);
  accent-color: #2d66f7;
}

.option-card input[type="radio"]:checked + div {
  font-weight: bold;
}

.option-card:hover {
  border-color: #2590f2;
}

/* ----- STYLE POUR LA FACTURE ----- */
.facture-box {
  margin-top: 40px;
  padding: 15px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: #2590F2 !important;
  font-family: monospace;
  font-size: 14px;
  color: #fff;
}

.facture-box h3 {
  text-align: center;
  margin-bottom: 5px;
}

.facture-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 5px 0;
}

.facture-box td {
  vertical-align: top;
}

.facture-box tr td:first-child {
  width: 70%;
  text-align: left;
  padding-right: 10px;
}

.facture-box tr td:last-child {
  width: 30%;
  text-align: right;
  white-space: nowrap;
}

#total-ttc-label {
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}

/* ----- BOUTONS RDV ----- */
.rdv-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

.btn-rdv-immediat-tel, .btn-rdv-programme {
  width: 100%;
  padding: 13px 25px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  color: white;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-rdv-immediat-tel {
  background: linear-gradient(135deg, #213537, #2A966F);
}

.btn-rdv-programme {
  background: linear-gradient(135deg, #F84F39, #AD746D);
}

.btn-rdv-immediat-tel:hover, .btn-rdv-programme:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* ----- FORMULAIRE RDV CACHÉ ----- */
#formulaire-rdv {
  display: none;
  margin-top: 20px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#formulaire-rdv input,
#formulaire-rdv textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#formulaire-rdv button[type="submit"] {
  background: #162653;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

#formulaire-rdv button[type="submit"]:hover {
  background: #0f2041;
}

/* ----- TEXTE MERCI ----- */
.facture-box .merci {
  color: #000000 !important;
}

/* ----- RESPONSIVE ----- */
@media screen and (max-width: 480px) {
  .horaire-box {
    padding: 15px;
  }

  .option-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 5px;
  }

  .rdv-buttons {
    gap: 15px;
  }

  #total-ttc-label {
    font-size: 20px;
  }

  .facture-box {
    font-size: 13px;
    padding: 10px;
  }
}/* End custom CSS */