/* ==================================================
   Correctifs Responsive pour Villa Agency + Owl
   ================================================== */

/*.section h3 {
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid #fffb01; /* souligne le titre 
  display: inline-block;
  padding-bottom: 5px;
}
.section.properties::after {
  content: "";
  display: block;
  clear: both;
}

.item {
  position: relative;
  z-index: 1;
}

footer {
  position: relative;
  z-index: 2;
  clear: both;
}*/
/* 1) Images : toujours responsive */
img {
  max-width: 100%;
  height: auto;
}

/* 2) Carrousel Owl : éviter hauteurs fixes */
.owl-carousel .owl-item {
  height: 60vh;         /* prend 60% de la hauteur écran */
  min-height: 300px;    /* sécurité mobile */
}
.owl-carousel .owl-item .slide-bg {
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* 3) Titres du banner fluides */
.main-banner .item h2 {
  font-size: clamp(28px, 5vw, 62px); /* min 28px, max 62px */
  line-height: 1.2em;
  width: 100%;
}

/* 4) Paddings du banner adaptés */
@media (max-width: 767px) {
  .main-banner .item {
    padding: 120px 10% 150px 10%;
  }
}

/* 5) Corriger float → centrage */
.properties .item h6 {
  float: none;
  display: block;
  text-align: right;
}
@media (max-width: 992px) {
  .properties .item h6 {
    text-align: center;
    margin-bottom: 15px;
  }
}

/* 6) Section heading responsive */
.section-heading h2 {
  font-size: clamp(22px, 4vw, 40px);
  line-height: 1.3em;
}

/* 7) Espacements plus souples */
.section {
  margin-top: clamp(60px, 10vw, 70px);
}

/* Si ton logo est une image */
.header-area .main-nav .logo img {
  max-width: 80px;   /* limite taille desktop */
  height: auto;
}

@media (max-width: 767px) {
  .header-area .main-nav .logo img {
    max-width: 70px; /* version mobile */
  }
  .header-area .main-nav .nav li:last-child a {
    padding-right: 15px;
    color: #000;
  }
  .owl-carousel .owl-item {
  height: 45vh;       
  min-height: 300px;    /* sécurité mobile */
}
}

@media (max-width: 992px) {
  .sub-header {
    display: block !important;
    text-align: center;
  }
  .sub-header .info,
  .sub-header .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

}

.header-area .main-nav .nav li {
  display: block !important;
}

#map {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* ratio 16:9 pour la hauteur */
  height: 0;
  overflow: hidden;
}

#map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


