*{
        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;
    }
}
.background-image {
    width: 100%;
    height: 455px;
    object-fit: cover;      
    object-position: center; 
    display: block;
}

/* ================= SECTION CONTACT ================= */
.contact-agency {
    padding: 30px 0;
    background-color: #f5f6fa;
    font-family: 'Mulish', sans-serif;
}

.contact-agency h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 10px;
}

.contact-description {
    text-align: center;
    font-size: 18px;
    color: #1b1da2;
    margin-bottom: 60px;
}

/* ================= CONTENU ================= */
.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* ================= INFOS CONTACT ================= */
.contact-info {
    flex: 1;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 22px;
    color: #1E3A8A;
    margin-right: 15px;
    margin-top: 4px;
}

.contact-item p {
    margin: 0;
    color: #1b1da2;
    font-size: 16px;
}

/* ================= FORMULAIRE ================= */
.contact-form {
    flex: 1.3;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #3f2281;
}

.contact-form .form-control:focus {
    border-color: #1E3A8A;
    box-shadow: 0 0 0 0.2rem rgba(30,58,138,0.15);
}

.contact-form label {
    color: #666;
    font-size: 14px;
}

/* ================= BOUTON ================= */
.contact-form .btn-primary {
    background-color: #ff0000;
    border-color: #ff0000;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-form .btn-primary:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-agency h2 {
        font-size: 28px;
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-form {
        padding: 25px;
    }
}
/* Page de confirmation */
.confirmation-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px; /* Espacement horizontal */
    margin-bottom: 60px;
}

.confirmation-container {
    background-color: #fafafa;;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    max-width: 500px;
    width: 100%; /* Prend toute la largeur disponible jusqu'à max-width */
    text-align: center;
    box-sizing: border-box;    
}


.confirmation-container h2 {
    color: #148f0a;
    font-size: 24px;
    margin-bottom: 10px;
}

.confirmation-container p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
}

.button {
    padding: 10px 20px;
    background-color: #161c66;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.button:hover {
    background-color: #50361f;
}


h1, h2, h3, h4, h5 {
    font-weight: 700;
}

.page-header {
    text-align: center;
    padding: 60px 20px 20px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header hr {
    width: 80px;
    border: 2px solid #ff1b1b;
    margin: 0 auto;
    margin-bottom: 40px;
}

.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 1.8rem;
    color: #02048d;
    margin-top: 30px;
    margin-bottom: 15px;
}

.section-content p, 
.section-content li {
    font-size: 16px;
    margin-bottom: 10px;
}

.section-content ul {
    padding-left: 20px;
}

.honoraires-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.honoraires-table th,
.honoraires-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.honoraires-table th {
    background-color: #02048d;
    color: #fff;
}

a {
    color: #02048d;
    text-decoration: underline;
}

a:hover {
    color: #ff1b1b;
}

.btn-bareme {
    background-color: #d42020;
    color: #ffffff;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-bareme:hover {
    background-color: #02048d;
    color: #ffffff;
}


@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
}
/* ===== PAGE BIENS ===== */
body {
    font-family: "Mulish", sans-serif;
    color: #222;
}

.page-title {
    text-align: center !important;
    margin: -19px 0 30px 0 !important
}

.page-title h1 {
  font-size: 2.3rem !important;
  color: #02048d !important;
  font-weight: 100;
}

.page-title p {
    font-size: 1.2rem !important;
}

/* Conteneur des biens */
.bien-container {
    max-width: 1400px !important;
    margin: 0 auto 50px auto !important;
    padding: 0 15px !important;
}

.bien-item {
    border: 2px solid #2a2ba3 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    position: relative !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    height: 457px !important;
    width: 100% !important; /* Force largeur */
}

.bien-item:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
}

/* Carousel images */
.bien-carousel img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
}

/* Détails en dessous de l'image */
.bien-details {
    padding: 20px !important;
    background: #f9f9f9 !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px;
}

.bien-details h5 {
    font-size: 19pxs !important;
    color: #160e6b   !important;
    margin-bottom: 10px !important;
}

.bien-details p {
    margin: 0 !important;
    font-size: 1rem !important;
}

.bien-details .price {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #160e6b !important;
    margin-top: 10px !important;
}

/* Hover overlay */
.hover-details {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.8) !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease-in-out !important;
}

.bien-item:hover .hover-details,
.hover-details:hover {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.hover-details button {
    background-color: #15326b !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 6px !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.hover-details button:hover {
    background-color: #181d7b !important;
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(2,4,141,0.8) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .bien-item {
        height: 480px !important;
    }
}

@media (max-width: 992px) {
    .bien-item {
        height: 460px !important;
    }
}

@media (max-width: 768px) {
    .bien-item {
        height: auto !important;
    }
    .bien-details h5 {
        font-size: 1.2rem !important;
    }
    .bien-details .price {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 576px) {
    .bien-details h5 {
        font-size: 1.1rem !important;
    }
    .bien-details .price {
        font-size: 1.2rem !important;
    }
}
body {
    font-family: Arial, sans-serif;
    color: #02048d !important;
    
}

.bien-container {
    margin: 50px auto;
    max-width: 1200px;
}

.bien-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 450px; /* Fixer une hauteur fixe pour chaque bien */
    display: flex;
    flex-direction: column; /* Permet au contenu de s'ajuster à la taille */
    color: #0a2c71 !important;
}


.bien-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hover-details {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}



.hover-details p {
    margin: 5px 0;
    text-align: center;
    font-size: 0.9rem;
}

.hover-details button {
    background-color: #bb9058;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hover-details button:hover {
    background-color: #a6784d;
}

/* Carrousel */
.bien-carousel img {
    width: 100%;
    height: 250px; /* Hauteur fixe pour les images du carrousel */
    object-fit: cover; /* Assure que l'image couvre l'espace sans se déformer */
}


/* Zone inférieure avec les détails */
.bien-details {
    padding: 15px;
    background: #f9f9f9;
    flex-grow: 1; /* Permet à cette section de prendre l'espace restant */
}

.bien-details .detail-item {
    font-size: 1rem;
    margin-bottom: 15px; /* Espace entre chaque ligne */
    line-height: 1.6; /* Augmenter l'espace entre les lignes de texte */
}
.bien-details h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;

}

.bien-details p {
    margin: 0;
    font-size: 0.9rem;
}

.bien-details .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #cc811f;
    margin-top: 10px;
}

/* Détails supplémentaires affichés uniquement au hover */


.bien-details:hover ~ .hover-details,
.hover-details:hover {
    opacity: 1;
    pointer-events: auto; /* Active l'interaction */
}



.hover-details h6 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}

/* Section titre */
.page-title {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}
 
.page-title h1 {
    font-size: 2.5rem;
    color: #333;
    margin-top: 40px;

}

.page-title p {
    font-size: 1.1rem;
}



.carousel-inner .carousel-item img {
    display: block;
    opacity: 0; /* Cache l'image par défaut */
    transition: opacity 0.3s ease-in-out; /* Transition fluide */
}

.carousel-inner .carousel-item.active img {
    opacity: 1; /* Affiche l'image active avec fluidité */
}

.bien-info {
    margin-top: 20px;
}

.bien-info span {
    font-size: 1rem;
    color: 02048d ;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-item {
  border: 2px solid #0d4ecc !important;
  border-radius: 5px;
  padding: 10px 15px;
  background-color: #fff;
  transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
  list-style: none;
}

.titre {
    text-align: center; /* Centre le texte */
    font-weight: bold;  /* Optionnel : met en gras */
}

/* Section des informations supplémentaires */
.info-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: calc(33.33% - 10px);
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s ease; /* Transition pour le changement de couleur et de taille */
}

.info-item:hover {
    background-color: #bb9058; /* Changer la couleur de fond au survol */
    color: white; /* Changer la couleur du texte */
}

/* Si vous souhaitez que le changement de couleur s'applique également au titre, par exemple */
.info-item h6:hover {
    color: white;
    text-decoration: underline; /* Ajouter un soulignement si nécessaire */
}



footer {
    margin-top: 15px;
}

.btn-container {
    text-align: center; /* Centre le contenu horizontalement */
    margin-top: 20px;   /* Espace au-dessus du bouton, ajustez selon vos besoins */
}

.btn {
    display: inline-block; /* Par défaut, le bouton est en ligne avec un conteneur */
}

.page-title {
    text-align: center; /* Centrer le titre */
    margin-bottom: 20px; /* Marge en bas du titre, ajustez selon vos besoins */
}

.custom-hr {
    width: 50%;           /* Définir la largeur de la ligne */
    margin: 10px auto;    /* Centrer la ligne horizontalement */
    border: 3px solid #bbb; /* Couleur et épaisseur de la ligne */
    border-top: none;     /* Retirer la bordure du haut pour un effet plus simple */

}

.dpe-ges-image {
    max-height: 260px;
    object-fit: contain;
}


.dpe-images {
  width: 222px;
  margin-bottom: 61px;
}

@media (max-width: 768px) {
    .info-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .info-item {
        width: 100%;
    }
}

/* Style de la section des informations */
.bien-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Conteneur des informations */
.info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Style des éléments d'information */
.info-item {
    border: 2px solid #e17c23; /* Couleur orange */
    border-radius: 5px;
    padding: 10px 15px;
    background-color: #fff;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Effet hover */
.info-item:hover {
    background-color: #e17c23;
    color: #fff;
    transform: scale(1.05);
    cursor: pointer;
}
*{
        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;
    }
}
