.elementor-44 .elementor-element.elementor-element-8f7e664{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-971db95 *//* ================================
   PAGE DEMANDER UN DEVIS
================================ */

.page-devis {
  background: #f8ece4; /* même ambiance que la home */
}

/* HERO */
.devis-hero {
  padding: 80px 20px 40px;
}

.devis-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.devis-hero__eyebrow {
  font-size: 0.95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b7855b;
  margin: 0 0 10px;
}

.devis-hero__title {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.25;
  color: #3c2a24;
  margin: 0 0 18px;
}

.devis-hero__accent {
  color: #b7855b;
}

.devis-hero__text {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5e514c;
  margin-bottom: 18px;
}

.devis-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #695549;
  font-size: 0.98rem;
}

.devis-hero__bullets li::before {
  content: "• ";
  color: #b7855b;
}

.devis-hero__side {
  font-size: 0.9rem;
  color: #7b6454;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 8px 24px rgba(120, 90, 70, 0.18);
}

.devis-hero__mini {
  margin: 0;
}

/* SECTION FORMULAIRE */
.devis-section {
  padding: 10px 20px 80px;
}

.devis-section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.devis-form {
  background: rgba(255,255,255,0.86);
  border-radius: 18px;
  padding: 28px 28px 32px;
  box-shadow: 0 18px 40px rgba(135,93,63,0.18);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Groupes */
.devis-group {
  border: 1px solid rgba(210,184,158,.6);
  border-radius: 14px;
  padding: 18px 18px 20px;
  margin-bottom: 18px;
}

.devis-group legend {
  padding: 0 8px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: #8a6243;
}

/* Grilles internes */
.devis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.devis-grid--2-1 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

/* Champs */
.devis-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.devis-field label {
  font-size: 0.9rem;
  color: #4c3a2f;
}

.devis-hint {
  font-size: 0.8rem;
  color: #8a7a6e;
}

.devis-field input,
.devis-field select,
.devis-field textarea {
  border-radius: 999px;
  border: 1px solid rgba(198,168,141,.9);
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fdf7f1;
  color: #3c2a24;
}

.devis-field textarea {
  border-radius: 12px;
  min-height: 90px;
  resize: vertical;
}

/* Focus */
.devis-field input:focus,
.devis-field select:focus,
.devis-field textarea:focus {
  outline: 2px solid rgba(183,133,91,0.55);
  outline-offset: 1px;
}

/* Pied du formulaire */
.devis-foot {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.devis-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #5f5148;
}

.devis-consent input[type="checkbox"] {
  margin-top: 2px;
}

.devis-submit {
  align-self: flex-start;
  border: none;
  border-radius: 999px;
  padding: 11px 28px;
  background: #b7855b;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(128,80,48,0.35);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
}

.devis-submit:hover {
  background: #9b6842;
  box-shadow: 0 14px 32px rgba(128,80,48,0.4);
}

.devis-submit:active {
  transform: translateY(1px);
}

.devis-footnote {
  font-size: 0.8rem;
  color: #8a7a6e;
}
.devis-field {
  display: flex;
  flex-direction: column;
  gap: 10px;   /* au lieu de 6px */
  margin-top: 15px;
}



/* ================================
   RESPONSIVE
================================ */

/* Tablette */
@media (max-width: 900px) {
  .devis-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .devis-hero__side {
    max-width: 520px;
    margin-top: 10px;
  }

  .devis-grid,
  .devis-grid--2-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .devis-form {
    padding: 22px 18px 26px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .devis-hero {
    padding-top: 70px;
  }

  .devis-hero__title {
    font-size: 1.9rem;
  }

  .devis-hero__text {
    font-size: 0.98rem;
  }

  .devis-group {
    padding: 14px 12px 16px;
  }

.devis-field {
  display: flex;
  flex-direction: column;
  gap: 12px;   /* au lieu de 6px */
}

/* Mobile */
@media (max-width: 600px) {

  /* On réduit les marges et le padding global de la section */
  .devis-section {
    padding: 0 10px 60px;
  }

  .devis-section__inner {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Formulaire un peu plus compact */
  .devis-form {
    padding: 18px 14px 22px;
    border-radius: 14px;
  }

  /* Groupes un peu moins “gonflés” */
  .devis-group {
    padding: 12px 10px 14px;
    margin-bottom: 14px;
  }

  /* Labels + textes plus petits */
  .devis-field label {
    font-size: 0.8rem;
  }

  .devis-hint {
    font-size: 0.75rem;
  }

  /* Champs plus compacts */
  .devis-field input,
  .devis-field select,
  .devis-field textarea {
    font-size: 0.85rem;
    padding: 7px 10px;
    border-radius: 999px;
  }

  .devis-field textarea {
    border-radius: 10px;
    min-height: 80px;
  }

  /* Grille = 1 colonne + pas trop d’espace */
  .devis-grid,
  .devis-grid--2-1 {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  /* Bouton pleine largeur pour bien rentrer */
  .devis-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .devis-consent {
    font-size: 0.75rem;
  }

  /* Sécurité anti-scroll horizontal */
  html, body {
    overflow-x: hidden;
  }
}
/* Harmoniser la largeur des champs sur mobile */
@media (max-width: 600px) {

  /* Le conteneur du formulaire occupe toute la largeur dispo */
  .devis-section__inner,
  .devis-form {
    width: 100%;
    max-width: 100%;
  }

  /* Les fieldsets ne laissent pas de marge horizontale */
  .devis-group {
    margin-left: 0;
    margin-right: 0;
  }

  /* Tous les champs (input, select, textarea) prennent 100% */
  .devis-field,
  .devis-field input,
  .devis-field select,
  .devis-field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* On enlève tout éventuel alignement inline */
  .devis-field input,
  .devis-field select,
  .devis-field textarea {
    display: block;
  }
}
.ctbl-popup{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.ctbl-popup.is-open{ display: block; }

.ctbl-popup__overlay{
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 6, 0.35);
  backdrop-filter: blur(6px);
}

.ctbl-popup__box{
  position: relative;
  max-width: 520px;
  margin: 18vh auto 0;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 22px 22px;
  box-shadow: 0 18px 50px rgba(135,93,63,0.25);
  color: #3c2a24;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  text-align: center;
}

.ctbl-popup__box h3{
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #b7855b;
}
.ctbl-popup__box p{
  margin: 0.35rem 0;
  line-height: 1.6;
  color: #5e514c;
}
.ctbl-popup__small{
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 10px;
}
@media (max-width: 600px){
  .ctbl-popup__box{
    width: calc(100% - 28px);
    margin-top: 16vh;
    padding: 18px 16px;
  }
}/* End custom CSS */