/* Empêche toute animation/transition au 1er paint (anti "modale qui se rétracte") */
html:not(.is-ready) .locatif-modal-dialog,
html:not(.is-ready) .locatif-modal-backdrop {
  transition: none !important;
}




/***************************************************
 * VARIABLES
 ***************************************************/
:root {
  --bg-main: #faf6f0;
  --color-dark: #31282a;
  --color-accent: #80a894;

  --filter-bg: #faf6f0;
  --filter-border: #d8d2c7;
  --filter-text: #31282a;
  --filter-primary: #80a894;

  --card-bg: #ffffff;
  --card-border: #e0ddd6;
  --card-shadow: rgba(0,0,0,0.08);
}

/***************************************************
 * GLOBAL
 ***************************************************/

h1, h2, h3, h4 {
  font-family: "Cinzel", serif;
  color: var(--color-dark);
  letter-spacing: 0.5px;
}

/***************************************************
 * FILTRES – BAR
 ***************************************************/
.filters {
      display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2rem;
    padding: 20px;
    max-width: 1415px;
    margin: 2rem auto;
    justify-content: space-around;
    align-items: stretch;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: 0 4px 12px var(--card-shadow);
    padding-bottom: 20px;
}

.filter-group {
      display: flex;
    flex-direction: column;
    min-width: 180px;
    justify-content: flex-start;
	padding:0;
	gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group h3 {
  font-size: 1.1em;
    color: black;
    font-family: "Cinzel", serif;
    padding: 10px;
    border-bottom: 1px solid black;
}

.filter-group h3 i{
	color:#80a894;
}

.filter-group-buttons {
  display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: stretch;
    justify-content: stretch;
}

/***************************************************
 * FILTRE – BOUTONS
 ***************************************************/
.filter-btn {
	display: flex;
    align-items: center;
	gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 0px solid black;
    background: white;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: black;
    transition: all 0.25s ease;
    align-items: center;
    padding: 5px 10px !important;
}

.filter-btn .fa-hot-tub, 
.locatifs-grid .fa-hot-tub, 
.locatif-modal-dialog .fa-hot-tub{
    padding-top: 0px;
}

.filter-btn:hover {
  border-color: var(--filter-primary);
  color: var(--filter-primary);
}

.filter-btn.is-active {
  background: var(--filter-primary);
  color: #ffffff;
  border-color: var(--filter-primary);
  box-shadow: 0 4px 14px rgba(128, 168, 148, 0.35);
}

.filter-group-select {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--filter-border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.filter-group-select i {
  color: var(--color-accent);
  font-size: 1.1em;
}

.filter-select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 1em;
  color: var(--color-dark);
}







/***************************************************
 * GRILLE DES LOCATIFS
 ***************************************************/
.locatifs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 15px;
  max-width: 1500px;
  margin: 1.5rem auto;
  gap: 1.8rem;
}

/***************************************************
 * CARTE LOCATIF
 ***************************************************/
.locatif-card {
  position: relative;
     width: 460px;

  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 4px 12px var(--card-shadow);

  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  opacity: 1;
  transform: translateY(0) scale(1);
}

.locatif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}


.locatifs-bedroom-group{
  width: 100%;
}

.locatifs-bedroom-title{
     font-family: "Cinzel", serif;
    color: black;
    font-size: 30px;
    margin: 1.6rem 0 0.8rem;
    text-align: center;
    background: white;
    font-weight: 600;
}

.locatifs-bedroom-cards{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
}

/***************************************************
 * ANIMATIONS PREMIUM FLUIDES — APPARITION/DISPARITION
 ***************************************************/
.locatif-card {
  transition:
    opacity 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Apparition = état initial */
.locatif-card.is-appearing {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}

/* Disparition = état final animé */
.locatif-card.is-disappearing {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}

/* Après disparition : sortie du flux */
.locatif-card.is-hidden {
  display: none !important;
}

/***************************************************
 * MEDIA DE LA CARTE
 ***************************************************/
.locatif-media {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.locatif-media-img img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.locatif-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 12px;
  color: #fff;
  border-radius: 6px;
  z-index: 10;
background:#80a894;
}

.locatif-ribbon-eco {
  background: #4c8c6d;
}

.locatif-ribbon-confort {
  background: var(--color-accent);
}

.locatif-age-badge {
  position: absolute;
  top: 12px;
  right: 12px;

  background: rgba(0,0,0,0.7);
  color: #fff;

  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/***************************************************
 * CONTENU DE LA CARTE
 ***************************************************/
.locatif-content {
  padding: 1rem 1.1rem 1.3rem;

}

.locatif-header {
  margin-bottom: 0.6rem;
position: relative;
}

.locatif-category {
       font-size: 12px;
    color: white;
    font-weight: 400;
    position: absolute;
    top: -45px;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 7px;
    border-radius: 5px;
    left: 0;
}

.locatif-title {
  font-size: 18px;
    font-weight: 700;
    margin: 0.2rem 0;
    font-family: "Cinzel", serif;
    padding: 10px;
}

.locatif-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    font-size: 12px;
    margin-bottom: 0.8rem;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
    margin-bottom: 20px;
    justify-content: center;
}

.locatif-highlights span {
    background: #4c8c6d;
    color: #fff;
    border-radius: 10px;
    padding: 5px 10px;
}

.locatif-highlights span i {
  color: white;
}

/***************************************************
 * CARACTÉRISTIQUES LISTE
 ***************************************************/
.locatif-features {
margin: 0;
    padding-left: 1rem;
    margin-bottom: 1rem;
    font-size: 14px;
    display: flex;
    line-height: 1.45;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.locatif-footer p{
width:auto;
}

.locatif-features li i {
  color: var(--color-accent);
}

/***************************************************
 * FOOTER
 ***************************************************/
.locatif-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.locatif-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: #eee;
  color: var(--color-dark);
}

.badge-eco {
  background: #4c8c6d;
  color: #fff;
}

.badge-confort {
  background: var(--color-accent);
  color: #fff;
}

.locatif-cta-inline {
  display: flex;
  align-items: center;
}

.locatif-cta-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.locatif-cta-text i {
  margin-left: 4px;
}
@media (max-width: 500px){
.locatif-card {
width:100%;
}
}


/***************************************************
 * LOCATIF MODAL – CSS COMPLET (FINAL)
 * - Fond modale : blanc
 * - Header NON sticky
 * - Onglets mobile sticky
 * - Description : blocs premium en flex row, 2 par ligne, stretch
 * - min font-size = 14px
 ***************************************************/

/* ================= BASE MODALE ================= */
.locatif-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  pointer-events: none;
  font-size: 16px;
  color: #31282a;
}

.locatif-modal[aria-hidden="false"]{ pointer-events: auto; }

.locatif-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(49,40,42,0.6);
  opacity: 0;
  transition: opacity .35s ease;
}

.locatif-modal[aria-hidden="false"] .locatif-modal-backdrop{ opacity: 1; }

/* ================= DIALOG (scroll global) ================= */
.locatif-modal-dialog{
  position: relative;
  margin-left: auto;
  width: min(100%, 1400px);
  height: 100%;
  background: #ffffff;
	    overflow-x: hidden;
  display: flex;
  flex-direction: column;

  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.locatif-modal[aria-hidden="false"] .locatif-modal-dialog{
  transform: translateX(0);
}

/* ================= CLOSE ================= */
.locatif-modal-close{
  position: sticky;
  top: 12px;
  margin: 12px 12px 0 auto;
  z-index: 90;

  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #31282a;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .2s ease, background .2s ease;
}

.locatif-modal-close i{ font-size: 18px; }
.locatif-modal-close:hover{ transform: scale(1.05); }

/* ================= MEDIA / CARROUSEL ================= */
.locatif-modal-media{
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: 450px;
  overflow: visible;
  flex: 0 0 auto;
max-width:800px;
margin:0 auto
}

@media (max-width: 980px){
  .locatif-modal-media{
    aspect-ratio: 4 / 3;
   height: 450px;
  }
}


.locatif-modal-media .bloc-carroussel,
.locatif-modal-media .owl-carousel,
.locatif-modal-media .owl-stage-outer,
.locatif-modal-media .owl-stage,
.locatif-modal-media .owl-item{
  width: 100%;
  height: 100%;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
	    overflow: visible;
margin: 0;
    background: white;
}
.locatif-modal-media .bloc-carroussel .owl-dots{
    display: flex;
    position: relative;
    background: transparent;
    z-index: 100;
    bottom: 0px;
    overflow: visible;
    width: 100%;
    padding-top: 10px;
    text-align: center !important;
    justify-content: center;
 left:0; 
}

.locatif-modal-media .bloc-carroussel .owl-theme .owl-nav {
top: auto;
    bottom: 0;
}


.locatif-modal-media .bloc-carroussel .owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
    font-family: 'Quicksand';
    font-size: 3em;
    text-transform: uppercase;
    color: white;
    background-color: #000000;
    padding: 10px !important;
    margin: 0px;
    transition: all 0.3s;
    font-weight: 600;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px !important;
text-shadow:none;
}

.locatif-modal-media .owl-carousel .owl-nav button.owl-prev, .locatif-modal-media .owl-carousel .owl-nav button.owl-next {
    top: auto;
    bottom: 0;
}

.locatif-modal-media .owl-carousel .owl-nav button.owl-prev {
    left: 0px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.locatif-modal-media .owl-carousel .owl-nav button.owl-next {
    right: 0px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.locatif-modal-media .owl-carousel .owl-item:nth-child(odd) img {
    padding: 0;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background: #80a894;
color:black;
}

.locatif-modal-media img{
  width: 100% !important;
  height: 450px !important;
  object-fit: cover;
  display: block !important;
border-radius:15px;
}

/* ================= HEADER (NON STICKY) ================= */
.locatif-modal-header{
  position: static;              /* ✅ plus sticky */
  background: #ffffff;
  border-bottom: 1px solid rgba(49,40,42,.12);
  padding: 16px 18px 50px;
max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 700px){
  .locatif-modal-header{ padding: 14px 14px 12px; }
}

.locatif-modal-titlewrap{
display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.locatif-modal-title{
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: .2px;
background: white;
font-weight:600;
    padding-bottom: 10px;
}

/* ================= PILLS ================= */
.locatif-modal-subtitle{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 16px;              /* ✅ min */
  font-weight: 800;
  background: rgba(128,168,148,.18);
  border: 1px solid rgba(128,168,148,.35);
  line-height: 1.1;
}

.pill i{ font-size: 14px; color: #80a894; }

/* ================= BODY ================= */
.locatif-modal-body{
  padding: 18px;
	max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 700px){
  .locatif-modal-body{ padding: 14px; }
}

/* ================= ONGLET MOBILE UNIQUEMENT (STICKY) ================= */
.locatif-tabs{ display: none; }

@media (max-width: 740px){
  .locatif-modal.is-mobile-tabs .locatif-tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    position: sticky;           /* ✅ sticky uniquement sur mobile */
    top: 0;                     /* sticky dans le scroll de .locatif-modal-dialog */
    z-index: 80;

    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(49,40,42,.10);

    padding: 10px 0 12px;
    margin: 0 0 14px;
  }

  .locatif-modal.is-mobile-tabs .locatif-tab{
    font-size: 14px;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(49,40,42,.14);
    background: #ffffff;
    color: #31282a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
  }

  .locatif-modal.is-mobile-tabs .locatif-tab i{
    font-size: 14px;
    color: #80a894;
  }

  .locatif-modal.is-mobile-tabs .locatif-tab.is-active{
    background: #80a894;
    color: #ffffff;
    border-color: rgba(128,168,148,.55);
  }

  .locatif-modal.is-mobile-tabs .locatif-tab.is-active i{
    color: #ffffff;
  }

  .locatif-modal.is-mobile-tabs .locatif-modal-section{ display: none; }
  .locatif-modal.is-mobile-tabs .locatif-modal-section.is-active{
    display: block;
    animation: locFade .2s ease;
  }
}

@keyframes locFade{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ================= CONTENT (sections) ================= */
.locatif-modal-content{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

/* ================= SECTIONS ================= */
.locatif-modal-section{
  background: #ffffff;
  padding: 16px;
  flex: 1 1 100%;
  text-align: left;             /* ✅ */
}

@media (max-width: 700px){
  .locatif-modal-section{
    border-radius: 18px;
    padding: 14px;
  }
}

/* ================= TITRES SECTION ================= */
.locatif-modal-h3{
  font-family: 'Cinzel', serif;
  font-size: 30px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
font-weight:600;
}

.locatif-modal-h3 i{
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 30px;
}

/* ================= TEXT ================= */
.locatif-modal-section p,
.locatif-modal-section li,
.locatif-modal-section span,
.locatif-modal-section a{
  font-size: 16px;
  line-height: 1.55;
}

.locatif-modal-section .muted{
font-size: 16px;
    color: black;
}

/* =====================================================
 * DESCRIPTION – BLOCS PREMIUM “DESC-ITEM” (RECOMMANDÉ)
 * ===================================================== */

.description-section .desc-items{
      display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    align-items: stretch;
}

.description-section .desc-item{
  min-width: 320px;
  background: white;
  padding: 14px 14px;
  text-align: left;             /* ✅ */
  display: flex;
  flex-direction: column;       /* contenu vertical */
  gap: 8px;
}


#modal-vipspa-section7 .description-section .desc-item{
max-width: 100%;
align-items: flex-start;
}

.desc-intro strong{
color:black;
}

.locatif-modal-notes{
margin-top: 20px;
}

.locatif-modal-notes span{
background: #80a894;
    padding: 6px 12px;
    border-radius: 15px;
    color: white;
    font-weight: 600;
}

@media (max-width: 980px){
  .description-section .desc-item{
    min-width: 260px;
  }
}

@media (max-width: 740px){
  .description-section .desc-item{
    flex: 1 1 100%;
    min-width: 0;
  }
}

.description-section .desc-item h4{
	margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 0;
    border-bottom: 2px solid #80a894;
    width: 100%;
}

.description-section .desc-item h4 i{
  color: #80a894;
  font-size: 20px;
}

.description-section .desc-item ul{
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.description-section .desc-item li{
  font-size: 16px;
  line-height: 1.55;
  text-align: left;             /* ✅ */
      list-style-type: disc;
    font-weight: 600;
}

/* Uniformisation visuelle (sans JS) : hauteur mini + étirement */
@media (min-width: 741px){
  .description-section .desc-item{
   min-height: 150px;
        max-width: 355px;
        align-items: flex-start;
  }
}

/* =====================================================
 * FALLBACK – si tu utilises encore .locatif-modal-list li
 * (donne le même rendu “desc-item 2 colonnes”)
 * ===================================================== */
.description-section .locatif-modal-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;         /* ✅ */
}

.description-section .locatif-modal-list li{
  flex: 1 1 calc(50% - 6px);
  min-width: 320px;
  background: #f7f7f7;
  border-radius: 16px;
  padding: 14px;
  text-align: left;             /* ✅ */
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(49,40,42,.08);
}

@media (max-width: 980px){
  .description-section .locatif-modal-list li{ min-width: 260px; }
}

@media (max-width: 740px){
  .description-section .locatif-modal-list li{
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (min-width: 741px){
  .description-section .locatif-modal-list li{
    min-height: 150px;
  }
}

.description-section .locatif-modal-list li > i{
  color: #80a894;
  font-size: 16px;
}

.description-section .locatif-modal-list li strong{
  display: block;
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 2px;
}

/* ================= ACTIONS ================= */
.locatif-modal-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.modal-btn, 
.modal-btn:visited,
.modal-btn:focus,
.modal-btn:active{
  padding: 12px 14px;
  border-radius: 16px;
  background: #80a894 !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 16px !important;    
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
}

.modal-btn:hover{
  color: #80a894 !important;
  background: #ffffff !important;
}

.modal-btn i{ font-size: 16px; }

.modal-btn.is-secondary,
.modal-btn.is-secondary:visited,
.modal-btn.is-secondary:focus,
.modal-btn.is-secondary:active{
  background: rgba(49,40,42,.10) !important;
  color: #31282a !important;
}

.modal-btn.is-secondary:hover{
 color: white !important;
  background: black !important;
}

/* ================= BOOKING ================= */
.locatif-modal-booking{
  border-radius: 16px;
  background: #f7f7f7;
  padding: 14px;
  border: 1px solid rgba(49,40,42,.08);
}

/* ================= BODY LOCK ================= */
body.no-scroll{ overflow: hidden; }

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce){
  *{
    transition: none !important;
    animation: none !important;
  }
}
