/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme for Promo Midi
 Author:       Digital Rhapsody
 Author URI:   https://webosity.fr
 Template:     generatepress
 Version:      0.1
*/

/* GENERAL */
p:empty {
  display: none !important;
  /*margin:0;*/
}
.no-deco-link a {
  text-decoration: none;
}
/* .fixed-bar-mobile{
  display: none;
} */
/* BOUTONS */
.classic-btn {
  transition: border-radius 0.3s ease-in-out;
}
.classic-btn:hover {
  border-radius: 30px;
}

.outline-btn {
  transition: border-radius 0.3s ease-in-out, border 0.3s ease-in-out;
}
.outline-btn:hover {
  border-radius: 30px;
  border: 1px solid var(--champagne-dark-967d3f);
}

.open-modal-menu,
.num-black-menu,
.open-modal-projet,
#modal_connexion_content > div {
  transition: border-radius 0.3s ease-in-out;
}

.open-modal-menu:hover,
#modal_connexion_content > div:hover {
  border-radius: 12px;
  background-color: var(--champagne-dark-967d3f);
  color: #fff;
}
.num-black-menu:hover {
  color: #000000;
  border-radius: 20px;
}
.open-modal-projet:hover {
  border-radius: 20px;
  background-color: var(--champagne-dark-967d3f);
}

/* PAGE D'ACCUEIL */
.background-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.5;
}
.background-video-content {
  position: relative;
  z-index: 1;
}
video[poster] {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.form-home {
  box-shadow: 2px 10px 20px 0px rgba(0, 0, 0, 0.4);
}
.bloc-link-logement-home a,
.bloc-link-categ-home a {
  text-decoration: none;
}
.bloc-link-logement-home {
  transition: all 0.3s ease-in-out;
}
.bloc-link-logement-home:hover #acheter_title,
.bloc-link-logement-home:hover #investir_title,
.bloc-link-logement-home:hover #terrain_title,
.bloc-link-logement-home:hover #vendre_title {
  background-color: #fff !important;
  color: var(--champagne-b99b53);
}
.bloc-link-categ-home:hover #img_appart,
.bloc-link-categ-home:hover #img_maison,
.bloc-link-categ-home:hover #img_terrain {
  transform: scale(1.2) perspective(1000px);
}

.bloc-link-categ-home:hover .link-categ {
  background-color: #967d3f;
}
.bloc-link-categ-home .link-categ {
  transition: background-color 0.3s ease-in-out;
}
.status-opportunites {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}
.pieces-card-home p {
  margin: 0;
}
.pieces-card-home p::first-letter {
  text-transform: uppercase;
}
.min-price {
  display: flex;
  align-items: flex-start;
  font-family: Manrope;
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-title-3e454a);
  margin: 0;
}
.min-price-devise {
  font-size: 16px !important;
  font-family: Manrope;
  font-weight: 700;
  line-height: 44px;
  align-self: flex-start;
}

.min-price-card {
  display: flex !important;
  align-items: flex-start !important;
  font-family: Manrope !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  line-height: 22px !important;
  color: var(--dark-title-3e454a) !important;
  margin: 0 !important;
}
.min-price-devise-card {
  font-size: 12px !important;
  font-family: Manrope !important;
  font-weight: 700 !important;
  line-height: 15px !important;
  align-self: flex-start !important;
}
/*carte
font-family: Manrope;
font-weight: 800;
font-size: 24px;
line-height: 22px;
letter-spacing: 0px;
text-align: right;
 */
/* slider 
 font-family: Manrope;
font-weight: 800;
font-size: 24px;
line-height: 22px;
letter-spacing: 0px;
text-align: right;

 */

/* BLOC BESOIN CONSEILS */
/* .bloc-besoin-conseils {
  background: linear-gradient(90deg, #3e454a 0%, rgba(147, 164, 176, 0) 100%),
    url(https://promomidi.devosity.fr/wp-content/uploads/2024/12/conseil-background-min.jpg);
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
} */
.bloc-besoin-conseils::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-image: linear-gradient(90deg, #000 0%, rgba(62, 69, 74, 0) 100%);
  z-index: 1; /* S'assurer qu'il reste en arrière-plan */
}

/* PAGE PROGRAMME */
/* .infos-sections{
  background-attachment:fixed;
} */
.modal-id-post-crm {
  display: none;
}
.savoir-plus-link:hover svg path {
  fill: #000 !important;
  fill-opacity: 1 !important;
}
/* Slider real */
.back-white-real-prog {
  position: absolute;
  top: 0;
  left: 0;
}
/* Tableau des lots */
.lot {
  width: 739px;
  height: 55px;
  padding: 0px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  background: #b99b5326;
  margin-bottom: 1px;
  position: relative;
}
.lot-terrain {
  width: 739px;
  height: 55px;
  padding: 0px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #b99b5326;
  margin-bottom: 1px;
  position: relative;
}
.lot-terrain p {
  margin: 0;
}
.soldout {
  background: #e9e3d3;

  position: relative;
}

.soldout .barre {
  text-decoration: line-through;
  color: #00000066 !important;
}
.soldout .barre .min-price-lot,
.soldout .barre .titre-lot {
  text-decoration: line-through;
  color: #00000066 !important;
}
.soldout-icon {
  position: absolute;
  top: -11px;
  left: -8px;
  z-index: 999;
  opacity: 1 !important;
}

.lot p {
  margin: 0;
}
.titre-lot {
  width: 220px;
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
  font-family: var(--gp-font--br-sonoma);
  color: var(--dark-title-3e454a);
}
.surface-lot {
  width: 123px;
  padding: 0px 20px;
}
.options-lot {
  width: 162px;
}
.a-partir-lot {
  width: 78px;
}
.min-price-lot {
  width: 116px;
  font-family: Akrobat;
  font-size: 27px;
  font-weight: 700;
  line-height: 22px;
  text-align: right;
  color: var(--dark-title-3e454a);
}
/* .titre-lot,
.options-lot {
  text-transform: capitalize;
} */
.titre-lot::first-letter {
  text-transform: uppercase;
}
.titre-lot-terrain {
  text-transform: none;
}
.surface-lot,
.options-lot,
.a-partir-lot {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
/* Offres */
.offres {
  margin-top: 30px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/* Points forts du programme et labels */
.points-forts,
.labels-prog {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.point-fort,
.label-item {
  width: 230px;
  padding: 5px 10px 14px 10px;
  border-radius: 0px 0px 0px 20px;
  background-color: #b99b5326;
}
.label-item {
  display: flex;
  gap: 20px;
  padding: 0px 10px 14px 10px;
  justify-content: space-between;
}
.label-img {
  max-width: 73px;
}
.label-item .label-title {
  padding-top: 15px;
}
.point-fort .point-title,
.label-item .label-title {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--champagne-b99b53);
  margin-bottom: 2px;
}
.point-fort .point-text,
.label-item .label-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  margin: 0;
}
/* Description du programme */
.read-more,
.close-desc,
.read-more:hover,
.close-desc:hover {
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
  letter-spacing: 2px;
  text-decoration-line: underline;
  color: var(--champagne-b99b53);
  text-transform: uppercase;
}
/* Galerie d'images */
.main-gallery {
  display: flex;
  gap: 20px;
}
.gallery-title {
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
  letter-spacing: 2px;
  text-align: left;
  text-transform: uppercase;
  color: var(--dark-title-3e454a);
}

.images-gallery {
  display: flex;
  gap: 5px;
  height: 370px;
  width: 835px;
  margin-bottom: 12px;
}

.first-image-gallery-box {
  width: 654px;
}

.first-image-gallery-box img {
  height: 370px;
  width: 645px;
  cursor: pointer;
}

.other-images-gallery-box {
  max-width: 185px;
  height: 370px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.other-images-gallery-box img {
  height: 120px;
  width: 185px;
  cursor: pointer;
}

.first-image-gallery-box img,
.other-images-gallery-box img {
  border-radius: 2px;
}

.side-gallery-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-gallery-content .logo-residence-gallery-box img {
  width: 265px;
  height: 237px;
  border-radius: 2px 60px 2px 2px;
}

.showroom-gallery-box {
  width: 265px;
  height: 237px;
  border-radius: 2px 2px 60px 2px;
  border: 1px solid #b99b5399;
  padding: 0px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showroom-gallery-box .new {
  font-size: 11px;
  line-height: 22px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--champagne-b99b53);
}
.showroom-gallery-box .personalize {
  margin-bottom: 10px;
}
.showroom-gallery-box .personalize span {
  color: var(--dark-title-3e454a);
  font-size: 22px;
  font-weight: 800;
  line-height: 25px;
}
.showroom-gallery-box .open-modal-contact {
  font-size: 13px;
  line-height: 22px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--champagne-b99b53);
  margin: 0;
}

.options-gallery {
  display: flex;
}

.options-gallery .option-link {
  width: 316px;
  height: 120px;
  gap: 15px;
  border-radius: 2px;
  background: #b99b5326;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 11px 20px;
  justify-content: space-between;
}

.option-content {
  max-width: 139px;
}

.options-gallery .option-title {
  font-family: Manrope;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--champagne-b99b53);
  margin-bottom: 7px;
}

.options-gallery .option-text {
  font-family: var(--gp-font--br-sonoma);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  text-align: left;
  color: #000000b2;
  margin: 0;
}
.option-img-box {
  position: relative;
  width: 109px;
}
.option-img-box img {
  position: relative;
  width: 109px;
  height: 98px;
  border-radius: 80px;
}
.option-img-box .option-arrow {
  width: 36px;
  height: 36px;
  top: 50%; /* Place l'élément au milieu verticalement */
  left: -15px;
  transform: translateY(-50%); /* Centre l'élément autour du milieu */
  border-radius: 50px;
  background: var(--champagne-b99b53);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 20;
}

.brochure-min {
  width: 185px;
  height: 120px;
  gap: 15px;
  border-radius: 2px;
  background: #b99b5326;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 11px 20px;
  justify-content: space-between;
  margin-left: 5px;
}

.options-gallery-box {
  display: flex;
  gap: 13px;
}

.image-overlay-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.image-overlay-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  visibility: visible;
}

.image-overlay-container .overlay svg {
  margin-top: 20px;
}

.image-overlay-container .overlay-text {
  display: block;
  font-family: Manrope;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
}

.image-overlay-container img {
  display: block;
  cursor: pointer;
}

/* Modale Galerie d'images */
/* Style pour la modale */
.gallery-modal {
  display: none; /* Devenir un conteneur flex */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; /* Assurez-vous que la hauteur de .gallery-modal occupe toute la hauteur */
  overflow: auto;
  background-color: rgba(0, 7, 0, 0.7);
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
}

.modal-content {
  text-align: center;
  max-width: 100%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image de la modale */
.modalImage,
.box-media,
.box-media img,
.box-media iframe {
  max-width: 990px;
  max-height: 500px;
  object-fit: contain;
}

.gallery-modal .close {
  cursor: pointer;
  position: absolute;
  right: 50px;
  top: 110px;
}

/* Flèches de navigation */
.prev,
.next {
  position: absolute;
  top: 50%;
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 1px solid var(--champagne-b99b53);
  background-color: white;
  color: var(--champagne-b99b53);
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev {
  left: 50px;
}

.next {
  right: 50px;
}

/* Barre de navigation avec miniatures collée en bas */
.thumbnail-navigation-wrapper {
  background-color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  height: 100px;
}

.thumbnail-navigation {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.thumbnail-navigation img {
  width: 80px;
  height: 80px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.thumbnail-navigation img.active {
  /* border: 2px solid #000; */
  opacity: 1;
  border-radius: 50%;
}

.thumbnail-navigation img:hover {
  opacity: 1;
}

#modalImage {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#modalImage.moving-left {
  transform: translateX(-50px);
  opacity: 0;
}

#modalImage.moving-right {
  transform: translateX(50px);
  opacity: 0;
}

/* Carte Page Post Programme */
#carte-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carte-prog {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#zoom_carte_btn {
  cursor: pointer;
}

#carte-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
}

#carte-overlay img {
  object-fit: contain;
}

#close_carte_btn {
  position: absolute;
  top: 18px;
  right: 16px;
  font-size: 36px;
  color: #000;
  cursor: pointer;
  z-index: 10;
}

#close_carte_btn:hover {
  color: #ccc;
}

.interactive-carte-link,
.interactive-carte-link:hover,
.interactive-carte-link:visited {
  font-family: Manrope;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration-line: underline;
  color: var(--champagne-b99b53);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Modal Contact */
.modal-programme-infos {
  display: flex;
  gap: 13px;
  background-color: #b99b5326;
  align-items: center;
  padding-right: 19px;
}
.modal-programme-image {
  width: 76px;
  height: 50px;
  border-radius: 4px 0px 20px 0px;
  object-fit: cover;
}
.modal-programme-title {
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--champagne-b99b53);
  margin: 0;
}

#modal_contact,
#modal_projet,
#modal_connexion {
  display: none; /* Masqué par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000080; /* Fond semi-transparent */
}
#modal_contact {
  z-index: 9999;
}
#modal_projet,
#modal_connexion {
  z-index: 9998;
}

#modal_contact_content {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0px 2px 8px 0px #00000040;
  /* max-height: 80vh; */
}

#modal_contact_content .gb-icon svg {
  width: 1em;
  height: 1em;
  fill: #b99b53 !important;
}

#modal_projet_content,
#modal_connexion_content {
  position: absolute;
  top: 70px;
  right: 30px;
  background: #fff;
  box-shadow: 0px 2px 8px 0px #00000040;
}

.open-modal-contact,
#close_modal_contact,
.open-modal-projet,
.open-modal-connexion {
  cursor: pointer;
}
/* CARTE INTERACTIVE */
.wpgb-marker-icon {
  transition: opacity 0.3s ease; /* Transition fluide (optionnel) */
}
.wpgb-marker-icon:hover,
.wpgb-marker-icon:focus {
  content: url("https://promomidi.devosity.fr/wp-content/uploads/2025/01/icon-map-project-focus-min.png");
}
/* GRILLE DES PROGRAMMES */
.ville-intro {
  text-transform: capitalize;
}
.wp-grid-builder.wpgb-marker-content:not(.wpgb-template) {
  margin: 0;
  opacity: 1 !important;
  width: max-content !important;
}
.gm-ui-hover-effect {
  display: none !important;
}
.map-programmes-fixed {
  /*position: fixed;*/
position: sticky;
  top: 92px;
  left: 0;
  /*width: 50%;*/
width:100%;
  height: 100vh;
  transition: width 0.2s ease-in-out;
}

.map-programmes-absolute {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100% !important;
  height: 100vh;
  transition: width 0.2s ease-in-out;
}

.wpgb-area.wpgb-area-top-1 {
  display: none !important;
}

/* Boutons tailles map */
.size-map-buttons {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.size-map-buttons-mini-map {
  display: none;
  cursor: pointer;
}
.size-map-buttons-full-map {
  /* position: absolute;
  top: 10px;
  right: 0; */
  display: none;
  cursor: pointer;
}
/* .wpgb-map-facet {
  background: #e5e3df;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  pointer-events: auto;
  position: relative;
  width: 100vw;
  height: 100vh;
} */

.size-map-buttons p:hover {
  background-color: var(--champagne-b99b53);
  color: #fff;
  cursor: pointer;
}
.size-map-buttons p:hover svg {
  fill: white;
  stroke: white;
}

.size-map-buttons p:hover {
  background-color: var(--champagne-b99b53);
  color: #fff;
  cursor: pointer;
}
.size-map-buttons p:hover svg {
  fill: white;
  stroke: white;
}
.wpgb-no-result {
  display: none;
}
.box-offres-card {
  position: absolute !important;
  text-align: right !important;
  right: 7px !important;
  top: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: flex-end;
}
.box-offres-card p {
  box-shadow: 0px 0px 2px 0px #00000040 !important;
  background-color: #fff !important;
  height: 25px !important;
  padding: 6px 10px !important;
  /* gap: 8px !important; */
  border-radius: 20px !important;
  font-family: Manrope !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 13px !important;
  color: var(--champagne-b99b53) !important;
  width: max-content !important;
  margin: 0;
}
.offres-custom {
  box-shadow: 0px 0px 2px 0px #00000040 !important;
  background-color: #fff !important;
  /* height: 21px !important; */
  padding: 4px 6px !important;
  gap: 8px !important;
  border-radius: 20px !important;
  font-family: Manrope !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 13px !important;
  color: var(--champagne-b99b53) !important;
  width: max-content !important;
  margin-bottom: 6px !important;
  border: 1px solid #b99b53 !important;
}
/* Cartouche sur map */
.wp-grid-builder .wpgb-card-1 .wpgb-card-body {
  padding: 14px 14px 14px 20px;
  border-bottom-right-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-grid-builder .wpgb-card-1 .wpgb-block-4::first-letter {
  text-transform: uppercase;
}
.wpgb-facet-1 .leaflet-popup {
  width: 357px !important;
}
.wpgb-facet-1 .wp-grid-builder .wpgb-card-1 .wpgb-card-media {
  width: 100px;
}
.wpgb-facet-1 .leaflet-popup-close-button {
  display: none;
}
.intro-grid-program {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.type-count-items {
  font-family: var(--gp-font--br-sonoma);
  font-size: 13px;
  line-height: 24px;
  color: var(--dark-title-3e454a);
}
.type-count-items span {
  font-weight: 700;
}
.intro-grid-program p {
  margin: 0;
}
.wp-grid-builder .wpgb-card-2 .wpgb-block-3::first-letter {
  text-transform: uppercase;
}
.wpgb-viewport {
  height: auto !important;
}
.wpgb-masonry {
  display: flex;
  flex-wrap: wrap; /* Les éléments reviennent automatiquement à la ligne */
  gap: 16px;
  justify-content: flex-start; /* Alignement des éléments */
  row-gap: 16px;
}
.wpgb-masonry .wpgb-card {
  width: 280px !important;
  box-sizing: border-box;
  border: 1px solid #e3dfd5 !important;
  border-radius: 20px 20px 20px 20px !important;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out !important;
}
.wpgb-masonry .wpgb-card h3:hover {
  color: var(--champagne-b99b53) !important;
}
.wpgb-masonry .wpgb-card-body {
  border-radius: 20px 0px 20px 20px !important;
}
.wp-grid-builder.wpgb-enabled .wpgb-card {
  position: static !important;
}
.wpgb-masonry .wpgb-card:hover {
  box-shadow: 0px 12px 24px 6px rgba(0, 0, 0, 0.18);
  transform: scale(1.04);
}
.investissement-loop .gb-query-loop-item > .gb-container,
.habitation-loop .gb-query-loop-item > .gb-container,
.opportunites-loop .gb-query-loop-item > .gb-container {
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out !important;
}
.investissement-loop .gb-query-loop-item > .gb-container:hover,
.habitation-loop .gb-query-loop-item > .gb-container:hover,
.opportunites-loop .gb-query-loop-item > .gb-container:hover {
  box-shadow: 0px 12px 24px 6px rgba(0, 0, 0, 0.18);
  transform: scale(1.04);
}

/* AGRÉDICATIONS */
.colonne-map-programme {
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
  position: relative; /* Évite les problèmes d'affichage */
}

.colonne-map-programme.agrandie {
  width: 100% !important;
  height: 100vh !important;
}

.colonne-map-programme.agrandie .wpgb-map-facet {
  padding-bottom: 0 !important;
  height: 100vh !important;
}

/* FORMULAIRES */
/* FORMULAIRE FILTRES PAGE D'ACCUEIL */
#homeForm {
  display: flex;
  height: 100%;
  justify-content: space-between;
}
#homeForm .content-wrapper {
  padding: 27px 50px 15px 38px;
  width: 688px;
}
#homeForm .selects-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 13px;
}
#homeForm select,
#homeForm input[type="number"] {
  border: 1px solid #d5d1c3;
  border-radius: 4px;
  font-family: Manrope;
  font-weight: 400;
  font-size: 15px;
  line-height: 19px;
  padding-right: 20px;
}
#homeForm select#ville {
  min-width: 240px;
}
#homeForm input[type="number"] {
  max-width: 140px;
}
#homeForm .selects-wrapper p {
  margin-bottom: 4px;
}
#homeForm .submit-wrapper {
  background-color: var(--champagne-b99b53);
  width: 206px;
  border-radius: 0px 20px 20px 0px;
}
.title-form-home {
  font-family: Manrope;
  font-weight: 800;
  font-size: 11px;
  line-height: 22px;
  letter-spacing: 2px;
  color: #000000;
  margin-bottom: 4px;
}
#homeForm .submit-wrapper button {
  background-color: var(--champagne-b99b53);
  width: 206px;
  height: 100%;
  border-radius: 0px 20px 20px 0px;
  font-family: Akrobat;
  font-weight: 800;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 2px;
}
.criteres-wrapper {
  display: flex;
  justify-content: space-between;
}
.criteres-wrapper .more-criteres {
  font-family: Manrope;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  text-decoration: underline;
  color: #000000;
}
/* .bandeau-reussite{
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
} */
.overlay-reussite {
  height: 100%;
  position: absolute;
  top: 0;
  left: 367px;
  z-index: 1;
  width: calc(100% - 367px);
  object-fit: cover; /* S'assure que l'image est bien redimensionnée */
}

.overlay-reussite::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

/* FORMULAIRE FILTRES PAGE GRILLE */
.open-form-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 129px;
  height: 42px;
  padding: 9px 20px 9px 20px;
  gap: 8px;
  border-radius: 25px;
  background-color: #b99b53;
  color: #fff;
}
.open-form-filters .title {
  font-family: Akrobat;
  font-size: 14px;
  font-weight: 800;
  line-height: 19px;
}
.open-form-filters .nb-filters {
  padding: 2px;
  border-radius: 20px;
  background-color: #000000;
  font-family: Roboto;
  font-size: 13px;
  font-weight: 600;
  /* line-height: 24px; */
}
.open-form-filters p {
  margin: 0;
}
.box-form-filters {
  max-width: 540px;
  height: 100%;
  background-color: #fff;
  margin-left: auto;
  position: fixed;
  z-index: 9000;
  right: -540px; /* Cache l'élément hors de l'écran */
  top: 30px;
  transition: right 0.3s ease-in-out; /* Animation fluide */
  display: block; /* Important pour gérer l'animation */
  overflow: auto;
}
.close-form,
#homeForm select {
  cursor: pointer;
}
.header-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #e3dfd5;
  height: 51px;
  margin-bottom: 24px;
}
.header-form p,
.checkbox-logement p {
  margin: 0;
}
.title-form {
  font-family: Manrope;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  color: #000000;
}
.mini-title-form {
  font-family: Manrope;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: #000000;
  margin-bottom: 18px;
}
.content-form {
  padding: 24px 60px 0 35px;
}
.type-logement {
  margin-bottom: 30px;
}

.checkbox-container-logement {
  display: flex;
  gap: 12px;
}

.checkbox-logement {
  display: inline-block;
  cursor: pointer;
  border: 1px solid #e9e3d3;
  width: 139px;
  padding: 13px 14px 13px 9px;
  border-radius: 10px;
  position: relative;
}

/* Caché mais toujours fonctionnel */
.checkbox-logement input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Styles normaux */
.checkbox-logement p {
  font-family: Manrope;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: #000000;
  margin-top: 3px;
}

.checkbox-logement svg {
  margin-left: 3px;
}

/* Quand coché */
.checkbox-logement:has(input:checked) {
  background-color: #b99b5326;
  border: 1px solid #b99b53;
}

.checkbox-logement:has(input:checked) p {
  color: #b99b53;
}
.select-ville-budget {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.select-wrapper-ville {
  position: relative;
  display: inline-block;
  width: 214px;
}

.label-ville {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  padding: 0 5px;
  z-index: 1;
  margin: 0;
  font-family: Manrope;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.select-wrapper-ville select {
  width: 214px;
  padding: 17px 35px 0px 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  border: 1px solid #e9e3d3;
  border-radius: 10px;
  background-color: white;
  height: 58px;
  font-family: Manrope;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  font-weight: bold;
  cursor: pointer;
}
.euros {
  font-family: Manrope;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  font-weight: bold;
}

select:focus {
  /* outline: none; */
}
.select-wrapper-budget {
  width: 214px;
  border: 1px solid #e9e3d3;
  border-radius: 10px;
  padding: 5px 9px 6px 9px;
}
.select-wrapper-budget label {
  font-family: Manrope;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.select-wrapper-budget input {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: #000000;
  border: none;
  height: auto;
  padding: 0px;
  max-width: 56px;
  margin-right: 5px;
}
#budget_max::-webkit-outer-spin-button,
#budget_max::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Pour Firefox */
#budget_max {
  -moz-appearance: textfield;
}
.input-wrapper-budget {
  display: flex;
  margin-top: -2px;
}

.nombre-pieces label,
.surface-terrain label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #e9e3d380;
  border-radius: 10px;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 48px;
  height: 26px;
}
.surface-terrain label {
  width: max-content;
  padding: 0px 6px;
}

.nombre-pieces {
  margin-bottom: 22px;
}

.nombre-pieces input[type="checkbox"],
.surface-terrain input[type="checkbox"] {
  display: none;
}

.nombre-pieces input[type="checkbox"]:checked + label,
.surface-terrain input[type="checkbox"]:checked + label {
  background-color: #b99b53;
  color: #ffffff;
}

.type-invest label {
  display: inline-block;
  background-color: #e9e3d380;
  border-radius: 10px;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  color: #000000;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Cacher les checkboxes */
.type-invest input[type="checkbox"] {
  display: none;
}

/* Style actif lorsque la case est cochée */
.type-invest input[type="checkbox"]:checked + label {
  background-color: #b99b53;
  color: #ffffff;
}
.wrapper-check-piece,
.wrapper-check-surface {
  display: flex;
  gap: 12px;
  margin-bottom: 21px;
  flex-wrap: wrap;
}
.select-wrapper-ville select option:disabled {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #3e454a80 !important;
}
.select-wrapper-residence {
  width: 100%;
  margin-bottom: 28px;
}
.select-wrapper-residence select {
  width: 100%;
}
.footer-form {
  border-top: 1px solid #e3dfd5;
  padding: 24px 60px 0 35px;
  min-height: 190px;
}
.form-submits {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}
.form-submits #reset_filters {
  padding: 14px 20px 14px 24px;
  gap: 8px;
  border-radius: 2px;
  border: 1px solid #b99b53;
  font-family: Akrobat;
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 2px;
  background-color: #ffffff;
  color: #b99b53;
  text-transform: uppercase;
}

.form-submits #submit_filters {
  padding: 14px 20px 14px 20px;
  gap: 8px;
  border-radius: 2px;
  background-color: #b99b53;
  font-family: Akrobat;
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

.help-form {
  text-align: center;
}

.help-form p {
  text-align: center;
  font-family: Manrope;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  color: #000000;
  margin: 0;
}

.help-form a {
  text-align: center;
  font-family: Manrope;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: #b99b53;
  text-decoration: none;
}
.content-form {
  padding: 0 60px 0 35px;
}

/* PAGE REALISATIONS */
.infos-real {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}

.container-slider-reals {
  margin-left: calc((100vw - 1120px) / 2) !important;
}

.count-imgs-real {
  font-family: Manrope;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #3e454ab2;
  margin: 0;
}

.image-survol-real {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.item-slider-real {
  cursor: pointer;
}

/* MENUS */
#mobile-header button.menu-toggle {
  order: -1 !important;
}
.header-home {
  position: fixed;
  z-index: 999;
  backdrop-filter: blur(4px);
  /* background: rgba(0, 0, 0, 0.01)!important; */
  /* background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.25) 100%
  ); */
}
.overlay-header {
  position: fixed;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
  top: 32px;
  box-shadow: 0 0 50px 50px rgba(0, 0, 0, 0.56);
  background-color: #0000008f;
  z-index: 999;
}
.header-home .wp-block-navigation {
  font-family: Manrope;
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 1px;
  color: #fff;
}
.header-home .wp-block-navigation .wp-block-navigation-item {
  margin-right: 35px;
}
.header-white {
  position: fixed;
  z-index: 9000;
}

.header-white .main-navigation .main-nav ul li a {
  color: var(--dark-title-3e454a);
}

/* BREADCRUMBS */
.custom-breadcrumbs {
  margin: 0;
}
.breadcrumb-link,
.breadcrumb-link:hover,
.breadcrumb-active,
.breadcrumb-separator {
  font-family: Manrope;
  font-weight: 400;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: center;
  color: #3e454a80;
  text-decoration: none;
}
.breadcrumb-link,
.breadcrumb-link:hover,
.readcrumb-separator {
  color: #3e454a80;
}

.breadcrumb-active {
  color: var(--champagne-b99b53);
}

/* MENU */
/* Menu custom */
.box-svg-typo {
  min-width: 46px !important;
  height: 46px !important;
  border-radius: 4px;
  background: #f1efe8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.typo-nav-custom a,
.simple-nav-custom a {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
  color: #000000b2 !important;
}
.sub-title-nav-custom > a {
  font-family: Manrope !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  line-height: 22px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--champagne-b99b53) !important;
}
.desc-custom-nav {
  margin: 0;
  font-family: var(--gp-font--br-sonoma);
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0px;
  color: #000000b2;
}
.title-typo-sub {
  font-family: var(--gp-font--br-sonoma);
  font-weight: 700;
  font-size: 15px;
  line-height: 14px;
  letter-spacing: 0px;
  color: #000000b2;
}
/* #menu-item-3365-sub-menu {
  padding: 20px 0px;
} */
#menu-item-3365-sub-menu {
  width: 317px;
}
.custom-nav-box > p {
  margin: 0;
}

.simple-nav-custom a {
  font-size: 12px !important;
  line-height: 17px !important;
  padding: 10px 34px !important;
}
.simple-nav-custom:hover {
  background-color: #e3dfd599 !important;
  color: #b99b53 !important;
}
.typo-nav-custom:hover {
  background-color: #e3dfd599 !important;
}
.typo-nav-custom:hover .box-svg-typo {
  background-color: #b99b53 !important;
}
.typo-nav-custom:hover svg path {
  stroke: #fff !important;
}
.menu-main-menu > li {
  font-family: Manrope;
  font-weight: 600;
  font-size: 12px !important;
  line-height: 14px;
  letter-spacing: 1px;
}

/* RESPONSIVE TABLETTE ET TELEPHONE */
@media (max-width: 1000px) {
  /* ACCUEIL */
  p.gb-headline-20a03940 {
    width: auto !important;
  }
  /* .form-home {
    position: absolute;
    bottom: -132px;
  } */
  /* PAGE PROGRAMME */
  .infos-sections {
    background-image: none !important;
    background-color: #fff;
  }

  .bloc-infos-programme {
    background-color: #fff !important;
  }

  .bloc-infos-programme p {
    color: var(--dark-title-3e454a) !important;
  }

  .images-gallery {
    display: flex;
    gap: 5px;
    height: 370px;
    width: 100%;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .offres {
    margin-top: 34px;
  }
  .offres p {
    color: var(--champagne-b99b53) !important;
  }

  .savoir-plus-link {
    background-color: #b99b5333 !important;
  }
  .titre-prix-log {
    font-weight: normal !important;
  }
  .lot {
    width: 100%;
  }
  .lots {
    padding: 0 3px;
    max-width: 663px !important;
    margin: 0 auto;
  }

  .program-description-short {
    font-family: Manrope;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0px;
  }

  .other-images-gallery-box {
    display: none;
  }

  .side-gallery-content {
    display: none;
  }
  .first-image-gallery-box,
  .first-image-gallery-box img {
    width: 408px;
  }
  .first-image-gallery-box img {
    object-fit: cover;
    height: 100%;
    cursor: pointer;
  }
  .side-gallery-content-mobile {
    width: 238px;
  }
  .showroom-gallery-box {
    width: 238px;
    border-radius: 0px;
    height: 224px;
  }

  .images-gallery {
    display: flex;
    gap: 17px;
    height: 441px;
    width: 100%;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .label-item {
    width: 100%;
  }
  .new,
  .personalize {
    margin-bottom: 20px !important;
  }
  .open-modal-contact.gallery {
    font-size: 11px !important;
  }
  .personalize,
  .personalize span {
    font-size: 11px;
    line-height: 19px;
  }
  .showroom-gallery-box {
    font-size: 11px !important;
  }
  .showroom-gallery-box .personalize span {
    font-weight: 800;
    font-size: 11px;
    line-height: 19px;
  }
  #carte-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 40px;
  }
  .program-description-full {
    font-size: 13px;
  }
  .gallery-title {
    margin: 0;
  }
  /* MENU */
  #generate-slideout-menu {
    background-color: #fff;
    width: 80%;
  }
  #generate-slideout-menu a {
    font-size: 14px !important;
  }
  #generate-slideout-menu .main-nav ul li a {
    color: var(--dark-title-3e454a);
  }

  #generate-slideout-menu .gp-icon svg {
    fill: var(--champagne-b99b53);
    height: 14px;
    width: 14px;
  }
  .menu-item-object-custom a {
    padding-left: 30px !important;
  }
  .typo-nav-custom a,
  .simple-nav-custom a {
    padding-left: 40px !important;
  }
  /* #generate-slideout-menu .menu-item-has-children .gp-icon svg {
    fill: var(--champagne-b99b53);
    height: 22px;
    width: 22px;
    /* top: 0.55em; 
  } */

  #generate-slideout-menu .current_page_item {
    background-color: #e3dfd599;
  }
  #generate-slideout-menu .current_page_item a {
    color: var(--champagne-b99b53) !important;
  }

  /* PAGE GRILLE PROGRAMMES */
  .min-price-card {
    display: flex !important ;
    align-items: flex-start !important;
    font-family: Manrope !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    line-height: 22px !important;
    color: var(--dark-title-3e454a) !important;
    margin: 0 !important;
  }
  .wp-grid-builder .wpgb-card-1 .wpgb-card-body {
    padding: 7px 9px 7px 9px;
    border-bottom-right-radius: 20px;
  }
  .card-content-map {
    height: auto !important;
    width: auto !important;
  }
  .wp-grid-builder .wpgb-card-1 .wpgb-card-media + .wpgb-card-content {
    width: 168px !important;
  }

  .wp-grid-builder .wpgb-card-2 .wpgb-block-5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }
  .wp-grid-builder .wpgb-card-2 .wpgb-block-3,
  .wp-grid-builder .wpgb-card-2 .wpgb-block-6 {
    color: #3e454ab2;
  }

  .wp-grid-builder .wpgb-card-2 .wpgb-block-2 {
    margin-bottom: 4px !important;
  }

  /* .wp-grid-builder .wpgb-card .wpgb-card-inner {
    display: flex;
    flex-direction: row!important;
    height: 100%;
    position: relative;
    width: 100%;
  } */

  .cart-or-list-buttons {
    display: flex;
    border: 1px solid #b99b5399;
    width: 136px;
    height: 42px;
    padding: 4px;
    border-radius: 60px;
    gap: 2px;
    align-items: center;
  }
  .cart-or-list-buttons p {
    margin: 0;
    font-family: Akrobat;
    font-weight: 800;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0px;
    text-align: center;
    color: var(--champagne-b99b53);
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .cart-or-list-buttons .active {
    box-shadow: -1px 1px 2px 0px #00000073;
    background-color: #000;
    color: white;
    border-radius: 60px;
  }
  .map-programmes-fixed {
    display: block;
    position: static;
    width: 100%;
  }
  .wpgb-masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    row-gap: 16px;
  }
  .type-count-items {
    font-family: Manrope;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    max-width: 324px;
  }
  .intro-grid-program {
    align-items: center;
    margin: 0;
  }
  .size-map-buttons {
    display: none !important;
    /* position: static; */
  }
  .wpgb-facet.wpgb-facet-1 {
    display: none;
  }
  .bloc-intro-grid {
    background-color: #b99b5326;
  }
  /* .wp-grid-builder.wpgb-grid-1.wpgb-enabled{

  } */
  /* .intro-grid-program */
  #id_programme,
  #ville {
    height: 70px;
  }
}

/* RESPONSIVE TABLETTE */
@media (min-width: 700px) and (max-width: 1024px) {
  .bloc-count-mobile {
    display: none;
  }
  /* TEMPLATE PROGRAMME */
  .main-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  /* ACCUEIL */
  #homeForm {
    flex-wrap: wrap;
    padding-bottom: 28px;
  }
  #homeForm .submit-wrapper {
    background-color: var(--champagne-b99b53);
    width: 206px;
    border-radius: 0px;
    margin: 0 auto;
  }
  #submit_filters {
    width: 158px;
    height: 48px;
    left: 295px;
    gap: 8px;
    padding-top: 14px;
    padding-right: 20px;
    padding-bottom: 14px;
    padding-left: 20px;
    font-family: Akrobat;
    font-weight: 800;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 2px;
    margin: 0 auto;
  }
  .min-price {
    font-size: 32px;
  }
  .box-offres-card p {
    box-shadow: 0px 0px 2px 0px #00000040 !important;
    background-color: #fff !important;
    height: 18px !important;
    padding: 4px 6px !important;
    /* gap: 8px !important; */
    border-radius: 20px !important;
    font-family: Manrope !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 10px !important;
    color: var(--champagne-b99b53) !important;
    width: max-content !important;
    margin: 0;
  }
  .bloc-services-decale {
    display: none;
  }
  .section-services-home {
    background-color: #b99b5333;
  }
}
/* RESPONSIVE TELEPHONE */
@media (max-width: 700px) {
  .surface-lot {
    width: auto;
    padding: 0px 20px 0px 0px;
  }
  .options-lot,
  .options-lot.barre {
    width: 60%;
  }
  /* GENERAL */
  .fixed-bar-mobile {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }
  a.gb-button-30b80136 .gb-icon svg {
    width: 1em;
    height: 1em;
    fill: #000 !important;
  }

  .investissement-loop .gb-query-loop-item > .gb-container:hover,
  .habitation-loop .gb-query-loop-item > .gb-container:hover,
  .opportunites-loop .gb-query-loop-item > .gb-container:hover {
    box-shadow: none;
    transform: none;
  }

  .rdv-box {
    flex-direction: column;
    align-items: baseline !important;
  }

  /* ACCUEIL */
  #homeForm {
    flex-wrap: wrap;
    padding-bottom: 28px;
  }
  #homeForm .selects-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 13px;
    width: 100%;
  }
  .localisation-wrapper,
  #homeForm select#ville {
    width: 100%;
  }
  /* #homeForm .selects-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 13px;
  } */
  #homeForm .submit-wrapper {
    background-color: var(--champagne-b99b53);
    width: 206px;
    border-radius: 0px;
    margin: 0 auto;
  }
  #submit_filters {
    width: 158px;
    height: 48px;
    left: 295px;
    gap: 8px;
    padding-top: 14px;
    padding-right: 20px;
    padding-bottom: 14px;
    padding-left: 20px;
    font-family: Akrobat;
    font-weight: 800;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 2px;
    margin: 0 auto;
  }
  .min-price {
    font-size: 32px;
  }
  .box-offres-card p {
    box-shadow: 0px 0px 2px 0px #00000040 !important;
    background-color: #fff !important;
    height: 18px !important;
    padding: 4px 6px !important;
    border-radius: 20px !important;
    font-family: Manrope !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 10px !important;
    color: var(--champagne-b99b53) !important;
    width: max-content !important;
    margin: 0;
  }
  .bloc-services-decale {
    display: none;
  }
  .section-services-home {
    background-color: #b99b5333;
  }
  .gb-grid-wrapper-1c44d2b2 {
    flex-wrap: nowrap !important;
  }
  .overlay-reussite {
    display: block;
    height: 271px;
    object-fit: cover;
    position: static;
    width: 100%;
  }

  .overlay-reussite::after {
    content: none;
    display: none;
  }
  /* PAGE PROGRAMME */
  .point-fort {
    width: 100%;
    padding: 12px 12px 12px 12px;
    border-radius: 0px 0px 0px 20px;
    background-color: #b99b5326;
  }
  .options-gallery {
    flex-direction: column;
  }
  .options-gallery-box {
    flex-direction: column;
  }
  .brochure-min {
    margin-left: 0px;
    margin-top: 13px;
    width: 100%;
  }
  .bloc-count-mobile {
    margin-top: 15px;
  }
  .first-image-gallery-box,
  .first-image-gallery-box img {
    width: 100%;
    height: 270px;
  }
  .opportunites-loop,
  .habitation-loop,
  .investissement-loop {
    flex-wrap: nowrap !important;
  }
  .opportunites-loop .gb-query-loop-item,
  .habitation-loop .gb-query-loop-item,
  .investissement-loop .gb-query-loop-item {
    min-width: 280px;
  }
  .lot {
    width: 100%;
    height: auto;
    padding: 10px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    background: #b99b5326;
    margin-bottom: 6px;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
  }
  .titre-lot {
    width: 100%;
  }

  .min-price-lot {
    text-align: left;
  }

  .side-gallery-content-mobile {
    width: 100%;
    display: flex;
    gap: 15px;
  }
  .logo-residence-gallery-box,
  .showroom-gallery-box {
    width: 50%;
    height: 180px;
  }

  .logo-residence-gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .new,
  .personalize {
    margin-bottom: 10px !important;
  }

  .images-gallery {
    height: auto;
  }

  .options-gallery .option-link {
    width: 100%;
  }
  .gb-container-d1793d55 p {
    margin: 0;
  }

  .i2wp_program .inside-article {
    padding: 0px;
  }
  /* PAGE GRILLE PROGRAMME */
  .bloc-count-tablette {
    display: none;
  }
  .wpgb-masonry .wpgb-card {
    width: 178px !important;
  }
  /* FORMULAIRE */
  .header-form {
    padding: 0 25px 0 16px;
  }
  .box-form-filters {
    max-width: 540px;
    height: 100vh;
    max-height: 100vh;
    background-color: #fff;
    margin-left: auto;
    position: fixed;
    z-index: 9999;
    right: -540px;
    top: 0px;
    transition: right 0.3sease-in-out;
    display: block;
    overflow: auto;
  }
  .select-ville-budget {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
  }

  .form-submits {
    display: flex;
    justify-content: space-between;
    margin-bottom: 34px;
    flex-direction: column-reverse;
    gap: 20px;
  }
  #submit_filters {
    width: 100%;
    height: auto;
  }
  /* 25/09 */
  .box-media,
  .box-media img,
  .box-media iframe {
    max-width: 100% !important;
    max-height: 300px !important;
  }
  .thumbnail-navigation {
    max-width: 100% !important;
    max-height: 50px !important;
  }
  .modalImage,
  .box-media,
  .box-media iframe {
    max-width: 100%;
  }
  .modal-content {
    text-align: center;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .thumbnail-navigation-wrapper {
    max-width: 100%;
    overflow-x: auto;
  }
  .prev{
    left: 10px;
  }
  .next{
    right: 10px;
  }
  /* 25/09 */
}
/* ECRAN LARGE */
@media (min-width: 1000px) {
  .cart-or-list-buttons,
  .side-gallery-content-mobile {
    display: none;
  }
  /* Mega Menu */
  nav .main-nav .mega-menu {
    position: static;
  }

  nav .main-nav .mega-menu > ul {
    position: absolute;
    width: 100%;
    left: 0 !important;
    display: flex;
    flex-wrap: wrap;
  }

  nav .main-nav .mega-menu > ul > li > a {
    font-weight: bold;
  }

  nav .main-nav .mega-menu > ul > li {
    display: inline-block;
    width: 25%;
    vertical-align: top;
  }

  nav .main-nav .mega-menu.mega-menu-col-2 > ul > li {
    width: 50%;
  }

  nav .main-nav .mega-menu.mega-menu-col-3 > ul > li {
    width: 33.3333%;
  }

  nav .main-nav .mega-menu.mega-menu-col-5 > ul > li {
    width: 20%;
  }

  nav .main-nav .mega-menu > ul > li:hover > a,
  nav .main-nav .mega-menu > ul > li:focus > a,
  nav .main-nav .mega-menu > ul > li[class*="current-"] > a,
  nav .main-nav .mega-menu ul ul {
    background-color: transparent !important;
    color: inherit;
  }

  nav .main-nav .mega-menu ul .sub-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: 0 0 0;
    left: 0;
    height: auto;
    pointer-events: auto;
    transform: scale(1);
  }

  nav .main-nav .mega-menu ul.toggled-on .sub-menu {
    pointer-events: auto;
  }
  nav
    .main-nav
    .mega-menu
    .sub-menu
    .menu-item-has-children
    .dropdown-menu-toggle {
    display: none;
  }
  .bloc-count-mobile {
    display: none;
  }
}

/* TEST CARTE */
.colonne-map-programme .wpgb-map-facet.wpgb-map-loaded {
  padding-bottom: 90vh !important;
}