*{
        font-family: 'Mulish', sans-serif;

}

body {
    font-family: 'Mulish', sans-serif;
    padding: 0; /* Supprimer les marges internes */
    font-family: "Playfair Display", serif !important;
    background-color: rgb(255, 255, 255);
}


/* Logo principal */
.logo {
  height: 126px;
  width: auto;
  margin: 7px;
}

/* Menu toujours centré */
.menu-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Burger fixé à droite */
.burger-fixed {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Logo secondaire (Ma Maison en France) plus grand */
.menu-logo {
  max-width: 505px;
  width: 100%;
  height: auto;
  margin-top: 15px;
}

.navbar.navbar-expand-lg.navbar-light.bg-white.border-bottom {
  padding-top: 11px;
  padding-bottom: 20px;
}

/* Liens rouges forcés */
.navbar-nav .nav-link {
  color: rgb(119, 13, 13) !important;
  font-weight: 500;
  font-size: 27px;
}

/* Survol */
.navbar-nav .nav-link:hover {
  color: rgb(0, 0, 0) !important;
}

/* Mobile : Bootstrap reprend la main */
@media (max-width: 991px) {
  .menu-center {
    position: static;
    transform: none;
  }

  .burger-fixed {
    position: static;
    transform: none;
  }
}

.navbar-nav {
  flex-wrap: nowrap;
  white-space: nowrap;
}

@media (max-width: 1348px) and (min-width: 1171px) {
  .menu-center {
    margin-left: -40px; /* ajuste la valeur */
  }

  .menu-logo { 
    margin-left: 135px;
  }

  .navbar-nav {
    margin-left: 145px;
  }
}

@media (max-width: 1170px) and (min-width: 992px) {
  .menu-center {
    margin-left: -20px; /* ajuste selon ce qui semble centré */
  }

  .menu-logo {
    margin-left: 200px; /* ajuste pour rester centré */
  }

  .navbar-nav {
    margin-left: 230px; /* ajuste pour que les liens restent alignés */
  }
}





/* Drapeaux


.flag {
  width: 30px;
  cursor: pointer;
  transition: transform 0.2s;
}

.flag:hover {
  transform: scale(1.1);
}
 */



/* ====== CAROUSEL HEADER ====== */
#headerCarousel {
    width: 100%;
    height: 460px; 
    overflow: hidden;
}

#headerCarousel .carousel-inner,
#headerCarousel .carousel-item {
    height: 100%;
}

#headerCarousel img {
    width: 100%;
    height: 450px;
    object-fit: cover; /* remplit sans déformer */
}


/* ====== DRAPEAUX LANGUES ====== */
.flag {
    width: 22px;      /* taille du drapeau */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.flag:hover {
    transform: scale(1.1); /* effet zoom au survol */
}




/* ====== BARRE DE RECHERCHE ====== */
.search-bar {
    background-color: #1E3A8A;
    position: absolute;
    bottom: 1px; /* au-dessus des liens rouges */
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    z-index: 10;
    padding: 15px 20px;
    border-radius: 10px;
}

.search-bar .form-control,
.search-bar .form-select {
    background-color: #fff;
    border: 1px solid #ccc;
}

.search-bar .btn-danger {
    background-color: #ff0000;
    border-color: #ff0000;
}

.hr-rouge-centre {
  width: 100px;
  height: 3px;
  margin: 15px auto;
  border: none;
  background-color: #c40000;
  border-radius: 2px;
  opacity: 1;
}
/* Mobile */
@media (max-width: 767px) {
    .search-bar {
        width: 95%;
        padding: 10px 15px;
        bottom: 100px; /* si besoin, ajuste pour mobile */
    }

    .links-under-title {
        display: none; /* liens desktop cachés sur mobile */
    }
}


/*--------- NOUVEAUTE ----------*/ 

.section-title{
    color: #1E3A8A;
}

.section-hr {
  width: 153px;
  height: 2px;
  background-color: #c72525;
  border: none;
  margin: 10px auto 0;
  border-radius: 2px;
  opacity: 1;
}
/* Cartes biens agrandies */
.bien-card {
    border: 2px solid #1E3A8A; /* bordure bleue */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    height: 350px; /* augmente la hauteur globale de la carte */
    
}

.bien-card:hover {
    transform: scale(1.03);
}

/* Image plus grande */
.bien-card img {
    width: 100%;
    height: 100%; /* remplit toute la carte */
    object-fit: cover;
}

/* Overlay infos (nom, ville, prix) */
.bien-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 1); /* fond blanc opaque */
    padding: 15px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bien-info h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: bold;
  color: #8F0E0E;
}



.bien-prix {
    font-weight: 700;
    color: #ff0000;
    font-size: 1.1rem;
}

.presentation-text {
    color:#02048d;
    font-size: 19px;
}
/* Responsive */
@media (max-width: 767px) {
    .bien-card {
        height: 300px; /* un peu plus petit sur mobile */
    }
    .bien-info h3 {
        font-size: 1rem;
    }
    .bien-prix {
        font-size: 1rem;
    }
}




  

/* Footer */
.site-footer {
    background-color: #0f1085; /* Fond gris foncé */
    color: #fff; /* Texte blanc */
    padding: 40px 20px;
    font-size: 0.9rem;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.site-footer .footer-section {
  flex: 1;
  min-width: 200px;
  font-size: 18px;
}

.site-footer h4 {
  font-size: 25px;
  margin-bottom: 15px;
  color: #ce1e1e;
  font-weight: bold;
}

.site-footer p,
.site-footer ul {
    margin: 0;
    line-height: 1.5;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s, transform 0.2s;
}

.site-footer ul li a:hover {
    color: #bb9058; /* doré au survol */
    transform: translateY(-2px);
}

.site-footer .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    border-top: 1px solid #555;
    padding-top: 10px;
}

.site-footer .footer-bottom p {
    margin: 0;
    color: #aaa;
}

/* Icônes */
.site-footer i,
.site-footer .fab {
    margin-right: 10px;
    color: #ffffff; /* Couleur par défaut */
    transition: color 0.3s, transform 0.2s;
}

.site-footer i:hover,
.site-footer .fab:hover {
    color: #bb9058; /* doré au survol */
    transform: scale(1.2); /* zoom léger */
}

/* RESPONSIVE DESIGN POUR MOBILE */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Empile les éléments sur mobile */
        text-align: center;
    }

    header .logo img {
        max-height: 40px;
    }

    header nav ul {
        flex-direction: column; /* Le menu devient une colonne */
        gap: 15px;
    }

    footer .footer-content {
        padding: 15px;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

.estimation-logo {
    width: 15%;
}


/* ===== BREAKPOINT 990px ===== */
@media (max-width: 990px) {

    .title-image {
        display: none;
    }

    header .row:first-child {
        justify-content: center;
        text-align: center;
    }

    header .col-4.text-start {
        width: 100%;
        text-align: center;
    }

    .flag {
        display: none;
    }


    .logo {
        margin: 0 auto;
        display: block;
        margin-left: 36px;
    }

    .nav-links {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }
}
