/* ---------------------------------------------------------------------
   AFACOM – Maquette (Bootstrap 5) 
   Fichiers : assets/css/styles.css
   --------------------------------------------------------------------- */

:root{
  --brand-blue: #0b3d69;
  --brand-blue-2: #0a4d7c;
  --brand-sky: #1aa6d9;
  --brand-bg: #ffffff;
  --brand-bg-soft: #f2fbff;
  --brand-muted: #6c7a89;

  --brand-accent: #d89a00;       /* bouton jaune */
  --brand-success: #35b66a;      /* bouton vert */

  --card-radius: 18px;

  /* Ombres proches des captures (soft, assez diffus) */
  --shadow-soft: 0 26px 60px rgba(11, 61, 105, 0.10);
  --shadow-card: 0 12px 30px rgba(11, 61, 105, 0.08);

  --font-sans: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;


/* -----------------------------------------------------------------
   SPACING MAP (px) – calée pour le "pixel match"
   ----------------------------------------------------------------- */
--grid-unit: 8px;

/* Paddings des sections (Accueil) */
--home-features-pt: 72px;
--home-features-pb: 56px;

--home-favs-pt: 72px;
--home-favs-pb: 72px;

--home-reviews-pt: 64px;
--home-reviews-pb: 84px;

--home-about-pt: 80px;
--home-about-pb: 80px;

--home-partners-pt: 64px;
--home-partners-pb: 56px;

--home-contact-pt: 52px;
--home-contact-pb: 76px;

/* Listing */
--listing-hero-mt: 24px;
--listing-hero-mb: 32px;

--listing-most-pt: 64px;
--listing-most-pb: 72px;

--listing-contact-pt: 44px;
--listing-contact-pb: 76px;

/* Fiche */
--fiche-hero-mt: 24px;
--fiche-hero-mb: 28px;

--fiche-content-pb: 56px;

--fiche-most-pt: 64px;
--fiche-most-pb: 72px;

--fiche-contact-pt: 44px;
--fiche-contact-pb: 76px;

/* Titres de section */
--section-title-mb: 32px;
}


html, body{
  height: 100%;
}

body{
  font-family: var(--font-sans);
  background: var(--brand-bg);
  color: #223240;
}


/* Typographie (proche des maquettes) */
h1, h2, h3, .display-6, .page-hero .hero-content h1, .contact-block .left h3{
  font-family: var(--font-serif);
}
.section-title h2{
  font-family: var(--font-serif);
}

a{ color: var(--brand-blue); }
a:hover{ color: var(--brand-blue-2); }

.bg-brand{ background: var(--brand-blue) !important; }
.bg-brand-light{ background: #eaf6ff !important; }
.text-brand{ color: var(--brand-blue) !important; }
.text-muted-2{ color: var(--brand-muted) !important; }

.btn-brand{
  background: var(--brand-blue);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11, 61, 105, 0.18);
}
.btn-brand:hover{ background: var(--brand-blue-2); color: #fff; }

.btn-accent{
  background: var(--brand-accent);
  color: #111;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(216, 154, 0, 0.18);
}
.btn-accent:hover{ filter: brightness(0.98); color: #111; }

.btn-success-brand{
  background: var(--brand-success);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(53, 182, 106, 0.25);
}
.btn-success-brand:hover{ filter: brightness(0.95); color: #fff; }

.btn-rounded{ border-radius: 12px !important; }

.btn-hero-nav{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(11,61,105,0.14);
  color: #314556;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(11,61,105,0.14);
}
.btn-hero-nav:hover{ background: #ffffff; color: #233444; }

.badge-soft{
  background: rgba(26, 166, 217, 0.10);
  color: var(--brand-blue);
  border: 1px solid rgba(26, 166, 217, 0.16);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.card{
  border: 0;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
}

.card-lite{
  border: 1px solid rgba(11,61,105,0.10);
  box-shadow: 0 12px 30px rgba(11,61,105,0.06);
}

.card-flat{
  border: 1px solid rgba(11,61,105,0.10);
  box-shadow: none;
}


.section{
  padding-top: var(--section-pt, 64px);
  padding-bottom: var(--section-pb, 64px);
}

.section-title{
  text-align: center;
  margin-bottom: var(--section-title-mb);
}
.section-title .mark{
  width: 34px;
  height: auto;
  display: block;
  margin: 0 auto 6px auto;
  opacity: 0.95;
}

.section-title h2{
  font-weight: 800;
  color: #314556;
  margin: 10px 0 0 0;
}
.section-title .kicker{
  color: var(--brand-muted);
  font-weight: 600;
  letter-spacing: .02em;
}

/* Top bar (listing + fiche) */
.topbar{
  background: var(--brand-blue);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}
.topbar a{ color: rgba(255,255,255,0.95); text-decoration: none; }
.topbar a:hover{ color: #fff; }
.topbar .bi{ vertical-align: -2px; }

/* Navbar */
.navbar{
  background: #ffffff;
  border-bottom: 1px solid rgba(11,61,105,0.08);
}
.navbar .nav-link{
  color: #1d2f3f;
  font-weight: 600;
  padding: 14px 12px;
}
.navbar .nav-link:hover{ color: var(--brand-blue); }

.navbar-brand img{
  height: 51px;
}

/* Hero (accueil) */
.home-hero{
  position: relative;
  padding: 46px 0 0 0;
  background: linear-gradient(180deg, #f2fbff 0%, #ffffff 70%);
  overflow: hidden;
}
.home-hero .hero-kicker{
  color: var(--brand-muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
}

.home-hero .hero-lead{
  color: var(--brand-muted);
  max-width: 662px;
}
.home-hero h1{
  font-weight: 900;
  color: #273a4c;
  letter-spacing: -0.02em;
}
.hero-collage{
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.hero-collage .row > div{
  padding: 0;
}
.hero-collage .row img{
  width: 100%;
  height: 244px; /* proche des screenshots */
  object-fit: cover;
  padding: 0;
  display: block;
}
.hero-collage .wave-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  width: 100%;
  height: 88px;
  object-fit: fill;
  padding: 0;
  pointer-events: none;
}


.search-card{
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(11,61,105,0.10);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  position: relative;
  z-index: 3;
  left: -18px;
   height: 68vh;
}
.search-card .form-control,
.search-card .form-select{
  background: #f3f6f9;
  border: 1px solid rgba(11,61,105,0.12);
  border-radius: 12px;
  padding: 12px 12px;
  font-weight: 600;
  color: #223240;
}
.search-card .form-control::placeholder{
  color: #8b98a6;
  font-weight: 600;
}

.search-tabs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
  border: 1px solid rgba(11,61,105,0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #f6f8fb;
}
.search-tabs .tab-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border: 0;
  background: transparent;
  color: #5b6b79;
  font-weight: 900;
  line-height: 1.05;
  cursor: pointer;
}
.search-tabs .tab-btn i{
  font-size: 20px;
}
/* .search-tabs .tab-btn.active{
  background: #ffffff;
  color: #1e2f3f;
  box-shadow: inset 0 -3px 0 rgba(26,166,217,0.95);
}
.search-tabs .tab-btn.disabled{
  opacity: 0.55;
  cursor: not-allowed;
} */

/* Floating side contact (accueil) */
.side-contact{
  position: fixed;
  left: 18px;
  top: 180px;
  z-index: 50;
  display: grid;
  gap: 10px;
}
.side-contact a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
  transform: rotate(360deg);
  padding: 12px 10px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--brand-blue);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  font-weight: 700;
}
.side-contact a .bi{ transform: rotate(180deg); }

/* Feature cards */
.feature-card{
  padding: 22px;
  background: #fff;
  height: 100%;
}
.feature-card .icon{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(26,166,217,0.12);
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.feature-card h5{ 
  font-weight: 800; 
  margin-bottom: 8px; 
  margin-top: 9px;
}
.feature-card p{ 
  color: var(--brand-muted);
   margin: 0; 
  }

.feature-card.emphasis{
  box-shadow: 0 18px 50px rgba(11, 61, 105, 0.16);
}

/* Property cards (home + listing + most consulted) */
.property-card{
  background: #fff;
  overflow: hidden;
}
.property-card .thumb{
  height: 170px;
  background: #f2fbff;
  border-bottom: 1px solid rgba(11,61,105,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.property-card .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}
.property-card .card-body{ 
  padding: 18px 18px 16px 18px; 
}

.property-card .title{
  font-weight: 900;
  color: var(--brand-blue);
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card .title a{
  text-decoration: none;
      font-size: 20px;
}
.property-card .meta{
  color: var(--brand-muted);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-card .meta .bi-geo-alt-fill{ 
  color: var(--brand-success); 
}

.property-card .desc{
  color: var(--brand-muted);
  margin: 8px 0 12px 0;
  font-size: 15px;
  line-height: 1.35;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-y: scroll;
}
.property-card .price{
  font-weight: 900;
  font-size: 20px;
  color: #111;
}
.property-card .ref{
  color: var(--brand-muted);
  font-weight: 700;
  font-size: 13px;
}

/* Référence (pill) – proche des maquettes */
.ref-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid rgba(11,61,105,0.18);
  background: #ffffff;
  font-weight: 900;
  font-size: 12px;
  color: #314556;
  min-width: 92px;
}

/* Liens d'actions (listing) */
.link-accent{ color: var(--brand-accent) !important; }
.link-accent:hover{ color: #c88f00 !important; }
.link-muted{ color: var(--brand-muted) !important; }
.link-muted:hover{ color: var(--brand-blue) !important; }

/* Bas de carte en vue grille */
.grid-bottom{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.grid-ref{
  text-align: right;
  padding-left: 12px;
  border-left: 1px solid rgba(11,61,105,0.10);
}
.grid-ref .label{
  font-size: 12px;
  color: var(--brand-muted);
  font-weight: 800;
  line-height: 1.1;
}
.grid-ref .code{
  font-size: 13px;
  font-weight: 900;
  color: #314556;
  margin-top: 2px;
}

.property-card.horizontal{
  display: grid;
  grid-template-columns: 185px 1fr;
  /* grid-template-columns: 236px 1fr 185px; */
  align-items: stretch;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.property-card.horizontal .thumb{
  height: 100%;
  border-right: 1px solid rgba(11,61,105,0.06);
  border-bottom: none;
}
.property-card.horizontal .actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top: 8px;
}
.property-card.horizontal .actions a{
  font-weight: 900;
  font-size: 13.5px;
  text-decoration: none;
}
.property-card .flag{
  position: absolute;
  left: 16px;
  top: 16px;
  background: #ffffff;
  border: 1px solid rgba(11,61,105,0.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.property-card .mini-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(11,61,105,0.12);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(11,61,105,0.08);
}
.property-card .mini-icon:hover{
  background: #f2fbff;
}

/* Listing hero */
.page-hero{
  position: relative;
  border-radius: 22px;
  /* overflow: hidden; */
  min-height: 240px;
  background: linear-gradient(115deg, rgba(11,61,105,0.88), rgba(26,166,217,0.65));
}
.page-hero .hero-bg{
  position:absolute; 
  inset:0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  opacity: 0.35;
  border-radius: 19px;
}
.page-hero .hero-content{
  position: relative;
  padding: 48px 30px 70px 30px;
  text-align: center;
  color: #fff;
}
.page-hero .hero-content h1{
  font-weight: 900;
  font-size: clamp(28px, 4vw, 46px);
  margin: 0;
}
.page-hero .hero-content p{
  margin: 6px 0 0 0;
  opacity: 0.9;
  font-weight: 700;
}
.filter-bar{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -39px;
  width: min(980px, 92%);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.filter-bar .form-control{
  border-radius: 10px;
  border: 1px solid rgba(11,61,105,0.12);
  background: #ffffff;
  padding: 12px 12px;
  font-weight: 600;
}
.filter-bar .btn{
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 800;
}

/* View toggle */
.view-toggle-margin{
  margin: 84px 0 33px;
}
.view-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand-muted);
  font-weight: 700;
}
.view-toggle .toggle-btn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(11,61,105,0.14);
  background: #fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow: 0 10px 18px rgba(11,61,105,0.06);
}
.view-toggle .toggle-btn.active{
  background: rgba(26,166,217,0.22);
  border-color: rgba(26,166,217,0.50);
  color: var(--brand-blue);
}

/* Sidebar filters */
.filter-card{
  padding: 18px;
}

.card-liste{
  height: 300px;
  overflow-y: scroll;
}
.filter-card h6{
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}
.filter-card h6:after{
  content:"";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--brand-accent);
  border-radius: 999px;
}
.form-check-input{
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(11,61,105,0.18);
}
.form-check-input:checked{
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.form-check-label{ color: #314556; font-weight: 600; }

/* Pagination */
.pagination .page-link{
  border: 0;
  border-radius: 10px !important;
  margin: 0 4px;
  box-shadow: 0 8px 18px rgba(11,61,105,0.06);
  color: var(--brand-blue);
  font-weight: 800;
}
.pagination .page-item.active .page-link{
  background: rgba(26,166,217,0.18);
  color: var(--brand-blue);
}

/* Reviews */
.review-card{
  position: relative;
  padding: 18px;
  height: 100%;
}
.review-card .google-icon{
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: 0.55;
}
.stars{
  color: #f2b01e;
  letter-spacing: 2px;
}
.review-card p{
  color: var(--brand-muted);
  font-size: 13px;
    height: 3em;       
    line-height: 1.5em;    
    overflow-y: auto;
}
.review-card .avatar{
  width: 44px; height: 44px;
  border-radius: 999px;
  background: #eaf6ff;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--brand-blue);
}

/* About mosaic */
.mosaic{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 196px;
  gap: 18px;
}
.mosaic .big{
  grid-column: 2;
  grid-row: 1 / span 2;
}
.mosaic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

/* Partners */
.partner-logos{
  display: flex;
  gap: 71px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.partner-logos img{
  height: 70px;
  filter: drop-shadow(0 10px 16px rgba(11,61,105,0.08));
}

/* Contact block */
.contact-block{
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
      max-width: 949px;
    position: relative;
    left: 12.5%;
}
.contact-block .left{
  padding: 34px 34px;
}
.contact-block .left .small-title{
  color: var(--brand-muted);
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 12px;
}
.contact-block .left h3{
  font-weight: 900;
  margin: 4px 0 18px 0;
}
.contact-block .left .info{
  color: var(--brand-muted);
  font-weight: 700;
}
.contact-block .right{
  background: #f2fbff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}
.contact-block .right img{ 
    width: 100%;
    max-width: 298px; 
}


/* ACTUALITE */
.news-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 4px solid #0a4d7c;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 247px;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0a4d7c;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.1;
}

.news-date span {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.news-date small {
    font-size: 12px;
}

/* .news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
} */

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px 18px;
    /* background-color: #0a4d7c; */
    color: #0a4d7c;
    border-radius: 6px;
    transition: 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.news-btn:hover {
    color: #0a4d7c;
}

.news-btn i {
    transition: transform 0.3s ease;
}

.news-btn:hover i {
    transform: translateX(5px);
}

.news-desc{
  max-height: 4.5em;
  line-height: 1.5em;
  overflow-y: auto;
}

/* Pagination */
.pagination-actualites {
    margin-top: 40px;
    text-align: center;
}

.pagination-actualites .page {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    border-radius: 5px;
    background: #fff;
    color: #333;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.pagination-actualites .active {
    background: #0a4d7c;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer{
  color: var(--brand-muted);
  font-weight: 600;
  font-size: 13px;
  padding: 20px 0 40px;
}
.footer a{ color: var(--brand-muted); text-decoration: none; }
.footer a:hover{ color: var(--brand-blue); }

/* Fiche descriptive specifics */
.detail-actions{
  display:flex;
  gap: 10px;
  justify-content: flex-end;
}
.detail-actions .action{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(11,61,105,0.14);
  background: #fff;
  display:grid;
  place-items:center;
  box-shadow: 0 10px 20px rgba(11,61,105,0.08);
}
.detail-actions .action:hover{
  background: #f2fbff;
}

/* Bloc commentaire conseiller (fiche) */
.advisor-comment .comment-title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #314556;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(11,61,105,0.12);
}
.advisor-comment p{
  color: var(--brand-muted);
  margin-bottom: 14px;
}
.media-card{
  border: 1px solid rgba(11,61,105,0.10);
  overflow: hidden;
  box-shadow: none;
}


.contact-form-dark{
  position: relative;
  background: var(--brand-blue);
  color: #fff;
  padding: 20px 20px 16px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.contact-form-dark:before{
  content:"";
  position: absolute;
  left: 0;
  top: 22px;
  width: 5px;
  height: 44px;
  background: var(--brand-accent);
  border-radius: 0 10px 10px 0;
  opacity: 0.95;
}
.contact-form-dark .form-control, .contact-form-dark .form-select{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.0);
  background: #ffffff;
  padding: 12px;
  font-weight: 600;
}
.contact-form-dark label{
  font-weight: 800;
  font-size: 13px;
  opacity: 0.9;
}
.contact-form-dark .small{
  color: rgba(255,255,255,0.75);
}
.contact-form-dark .btn{
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 900;
}

.synthese{
  padding: 18px;
  background: #f2fbff;
  border: 1px solid rgba(11,61,105,0.08);
  box-shadow: none;
}
.synthese .title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.synthese .title .bi{
  width: 34px; height: 34px;
  border-radius: 999px;
  background: rgba(26,166,217,0.18);
  display:grid;
  place-items:center;
}

.tabs-like{
  border-bottom: 1px solid rgba(11,61,105,0.12);
  margin-top: 18px;
}
.tabs-like .nav-link{
  border: 0;
  color: var(--brand-muted);
  font-weight: 900;
  padding: 14px 14px;
}
.tabs-like .nav-link.active{
  color: var(--brand-blue);
  border-bottom: 3px solid var(--brand-sky);
  background: transparent;
}

/* Petits points de carousel (maquette visuelle) */
.carousel-dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dots span{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(26,166,217,0.22);
}
.carousel-dots span.active{
  width: 13px;
  background: rgba(26,166,217,0.65);
}

/* Indicateurs Bootstrap (carousel "Les plus consultées") */
.carousel-indicators [data-bs-target]{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background-color: rgba(26,166,217,0.22);
  opacity: 1;
}
.carousel-indicators [data-bs-target].active{
  width: 13px;
  background-color: rgba(26,166,217,0.65);
}


@media (max-width: 992px){
  .property-card.horizontal{ grid-template-columns: 1fr; }
  .filter-bar{ position: static; transform: none; width: 100%; margin-top: 16px; }
  .page-hero{ padding-bottom: 0; }
  .side-contact{ display:none; }
}


/* -----------------------------------------------------------------
   Section-specific spacing (px)
   ----------------------------------------------------------------- */
.home-features{ 
  --section-pt: var(--home-features-pt); 
  --section-pb: var(--home-features-pb); 
}
.home-favs{ --section-pt: var(--home-favs-pt); --section-pb: var(--home-favs-pb); }
.home-reviews{ 
  --section-pt: var(--home-reviews-pt);
  --section-pb: var(--home-reviews-pb); 
}
.home-about{ 
  --section-pt: var(--home-about-pt);
   --section-pb: var(--home-about-pb); 
   height: 97vh;
  }
.home-partners{ --section-pt: var(--home-partners-pt); --section-pb: var(--home-partners-pb); }
.home-contact{ --section-pt: var(--home-contact-pt); --section-pb: var(--home-contact-pb); }

.listing-most{ --section-pt: var(--listing-most-pt); --section-pb: var(--listing-most-pb); }
.listing-contact{ --section-pt: var(--listing-contact-pt); --section-pb: var(--listing-contact-pb); }

.fiche-most{ --section-pt: var(--fiche-most-pt); --section-pb: var(--fiche-most-pb); }
.fiche-contact{ --section-pt: var(--fiche-contact-pt); --section-pb: var(--fiche-contact-pb); }

/* Containers hero (listing / fiche) */
.listing-hero{ margin-top: var(--listing-hero-mt); margin-bottom: var(--listing-hero-mb); }
.fiche-hero{ margin-top: var(--fiche-hero-mt); margin-bottom: var(--fiche-hero-mb); }

.fiche-content{ padding-bottom: var(--fiche-content-pb); }

/* -----------------------------------------------------------------
   DEBUG GRID (toggle) – aide au pixel-match
   - Ctrl+G : grille colonnes
   - Ctrl+Shift+G : baseline (lignes horizontales)
   ----------------------------------------------------------------- */
.debug-grid{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .12s ease-out;
}
body.show-debug-grid .debug-grid{ opacity: 1; }

.debug-grid__container{
  height: 100%;
}
.debug-grid__col{
  height: 100vh;
  border-radius: 6px;
  background: rgba(26, 166, 217, 0.085);
  border-left: 1px solid rgba(11, 61, 105, 0.10);
  border-right: 1px solid rgba(11, 61, 105, 0.10);
}

.debug-grid__baseline{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease-out;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(216, 154, 0, 0.18),
    rgba(216, 154, 0, 0.18) 1px,
    transparent 1px,
    transparent var(--grid-unit)
  );
}
body.show-baseline .debug-grid__baseline{ opacity: .28; }

.debug-grid-toggle{
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 10000;
  pointer-events: auto;
  border: 1px solid rgba(11,61,105,0.18);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(11,61,105,0.12);
}
.debug-grid-toggle:hover{ background:#fff; }
.debug-grid-toggle .hint{
  display:block;
  font-weight:700;
  color: var(--brand-muted);
  font-size: 11px;
  line-height: 1.1;
  margin-top: 2px;
}

@media (max-width: 991.98px){
  .debug-grid-toggle{ display:none; }
}



.bg-brand {
  background: linear-gradient(135deg, #0b3c5d, #1f6fb2);
}

.form-control-lg,
.form-select-lg {
  border-radius: 0.75rem;
}

/* Animation apparition douce */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.fade-delay-1 { animation-delay: 0.2s; }
.fade-delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CSS AJOUTES */
.main-navbar {
    position: relative;
    z-index: 1000;
    /* transition: opacity 0.3s ease, transform 0.3s ease; */
}
/* Navbar fixe cachée par défaut */
.navbar-fixe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    /* transition: opacity 0.3s ease, transform 0.3s ease; */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* États actifs */
.nav-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.nav-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.img-illustration img{
    max-width: 121%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 24px;
  }

     .img-illustration .svgWrap .editorial {
        display: block;
        width: 68.1%;
        height: 78px;
        max-height: 60px;
        margin: 0;
        /* z-index: 5; */
        bottom: 48px;
        position: absolute;
        left: 113px;
        float: left;
        border-radius: 8px;
    }

  .img-illustration .svgWrap .parallax1>use {
    -webkit-animation:10s linear infinite move-forever1;
    animation:10s linear infinite move-forever1
}
 .img-illustration .svgWrap .parallax1>use:first-child,.img-illustration .svgWrap .parallax2>use:first-child,.img-illustration .svgWrap .parallax3>use:first-child,.img-illustration .svgWrap .parallax4>use:first-child {
    -webkit-animation-delay:-2s;
    animation-delay:-2s
}
.img-illustration .svgWrap .parallax2>use {
    -webkit-animation:8s linear infinite move-forever2;
    animation:8s linear infinite move-forever2
}
.img-illustration .svgWrap .parallax3>use {
    -webkit-animation:6s linear infinite move-forever3;
    animation:6s linear infinite move-forever3
}
.img-illustration .svgWrap .parallax4>use {
    -webkit-animation:4s linear infinite move-forever4;
    animation:4s linear infinite move-forever4
}
@-webkit-keyframes move-forever1 {
    0% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
    100% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
}
@keyframes move-forever1 {
    0% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
    100% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
}
@-webkit-keyframes move-forever2 {
    0% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
    100% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
}
@keyframes move-forever2 {
    0% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
    100% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
}
@-webkit-keyframes move-forever3 {
    0% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
    100% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
}
@keyframes move-forever3 {
    0% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
    100% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
}
@-webkit-keyframes move-forever4 {
    0% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
    100% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
}
@keyframes move-forever4 {
    0% {
        -webkit-transform:translate(-90px,0);
        transform:translate(-90px,0)
    }
    100% {
        -webkit-transform:translate(85px,0);
        transform:translate(85px,0)
    }
}

/* gestion tab */
.search-tabs {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
    
}
.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent-color);
}

    /* Effet de surligne */
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #EAB701;
    border-radius: 2px 2px 0 0;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

    @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card img{
    width: 50px;
    height: 50px;
}

.home-about-left{
  margin-top: -251px;
}

.home-about-right{
  margin-top: 12px;
}

.page-contact{
  height: 81vh;
}

.card-home-features a{
  text-decoration: none;
}

.carousel-inner-listing{
  padding: 11px;
}

.bloc-btn-hero-nav{
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-filter{
  background: var(--brand-blue);
    color: #fff;
}

.btn-filter:hover{
  background: var(--brand-blue-2);
    color: #fff;
}

.list-bloc-gauche i{
  color: #d89a00;
}

/* .modal-dialog-section{
    margin-left: 15.5%;
}
.section-modal{
  width: 204%;
} */

/* form input  */

.custom-input .input-group-text {
  background-color: #f5f7fa;
  border: 1px solid #dbe3ee;
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 0 18px;
  color: #0d3b66;
}

.custom-input .form-control {
  border: 1px solid #dbe3ee;
  border-left: none;
  border-radius: 0 14px 14px 0;
  padding: 14px;
  font-size: 16px;
}

.custom-input .form-control:focus {
  box-shadow: none;
  border-color: #0d3b66;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
}

.form-check-input:checked {
  background-color: #0d3b66;
  border-color: #0d3b66;
}

/* Bouton principal */
.btn-login {
  background-color: #0d3b66;
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(13, 59, 102, 0.25);
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #092c4a;
  color: #fff;
  transform: translateY(-2px);
}

/* Lien créer un compte */
a.text-primary {
  color: #0d3b66 !important;
}

a.text-primary:hover {
  text-decoration: none;
}

/* Séparateur */
hr {
  border-top: 1px dashed #dbe3ee;
}

.text-connexion{
  margin-top: -11px;
}

/* page contact */

.form-contact{
  max-width: 720px;
  margin: auto;
}

.form-check-label-text{
  text-decoration: underline;
  font-size: 15px;
}
.text-contact{
  font-size: 13px;
}

.section-contact-map{
  margin-top: 82px;
}

.list-bloc-gauche a{
  color: #fff;
  text-decoration: none;
}

.list-bloc-gauche .phone-info{
  margin-left: 26px;
}
/* .content-contact-infos {
  position: relative;
  top: 150px;
  padding: 21px;
}
.contact-info .location i{
  color: #0d3b66;
}

.contact-info .email a{
  text-decoration: none;
  color: #000;
}

.contact-info .email i{
  color: #0d3b66;
}

.contact-info .phone i{
  color: #0d3b66;
}

.phone-info{
    margin-left: 24px;
    font-size: 14px;
} */

/* Page mention légales */
.text-content {
  width: 100%;
}
/* MEDIA QUERIES SMARTPHONE */
  /* SMARTPHONE */
@media only screen and (min-width: 375px) and (max-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  .img-illustration img {
      max-width: 96%;
  }

  .img-illustration .svgWrap .editorial {
      display: none;
  }
}

/* choices style */
/* Conteneur principal */
.choices__inner {
  border-radius: 12px !important;
  min-height: 52px;
  border: 1px solid #ced4da;
  padding: 6px 12px;
  background-color: #fff;
}

/* Focus */
.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  border-color: #0d6efd; /* Bootstrap primary */
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.choices__input {
    display: inline-block;
    vertical-align: baseline;
    background-color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 4px 0 4px 2px;
}

/* fiche descriptive */
.listing-hero .save_alert{
    margin-top: 82px;
    text-align: right;
}

/* Ajouté par Ousmane 22/01/2026 */

.notification {
    position: fixed;
    top: 25px;
    right: 25px;
    min-width: 280px;
    max-width: 420px;
    padding: 16px 48px 20px 18px;

    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);

    background: linear-gradient(135deg, #fff3cd, #ffe8a1);
    color: #856404;

    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);

    overflow: hidden;
    z-index: 9999;
}

/* Bande latérale */
.notification::before {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 100%;
    background: #ffc107;
}

/* SHOW = animation relancée */
.notification.show {
    pointer-events: auto;
    animation:
        slideIn 0.4s ease forwards,
        stay 3s linear 0.4s forwards,
        fadeOut 0.4s ease 3.4s forwards;
}

/* Barre progression */
.notification .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(0,0,0,.15);
}

.notification.show .progress {
    animation: progress 3.4s linear forwards;
}

/* Pause au hover */
.notification.show:hover,
.notification.show:hover .progress {
    animation-play-state: paused;
}

/* Bouton fermer */
.notification .close {
    position: absolute;
    top: 10px;
    right: 14px;
    cursor: pointer;
    font-size: 20px;
}

/* SUCCESS */
.notification.success {
    background: linear-gradient(135deg, #e6f9f0, #c9f1e2);
    color: #0f5132;
}
.notification.success::before {
    background-color: #198754;
}

/* ERROR */
.notification.error {
    background: linear-gradient(135deg, #fdecea, #f8c9c4);
    color: #842029;
}
.notification.error::before {
    background-color: #dc3545;
}

/* WARNING */
.notification.warning {
    background: linear-gradient(135deg, #fff8e1, #ffecb5);
    color: #664d03;
}
.notification.warning::before {
    background-color: #ffc107;
}


/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes stay {
    from { opacity: 1; }
    to   { opacity: 1; }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

@keyframes progress {
    from { width: 100%; }
    to   { width: 0%; }
}

/* =====================================================
   FORMULAIRE – VALIDATION CSS ONLY
   Compatible Bootstrap 5
   Aucune bordure verte (erreur uniquement)
===================================================== */

/* ---------------------------
   BASE
---------------------------- */
#formID .form-control,
#formID .form-select,
#formID .SelectBox {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ---------------------------
   INPUT / TEXTAREA
---------------------------- */
#formID .form-control:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
    animation: shake 0.3s;
}

#formID .form-control:invalid:not(:focus):not(:placeholder-shown)
+ .invalid-feedback-css {
    display: block;
}

/* ---------------------------
   SELECT & MULTI SELECT
---------------------------- */
#formID select:invalid:not(:focus) {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
    animation: shake 0.3s;
}

#formID select:invalid:not(:focus)
+ .invalid-feedback-css {
    display: block;
}

/* ---------------------------
   RADIO (groupé)
---------------------------- */
#formID input[type="radio"]:required:invalid {
    outline: 2px solid #dc3545;
    outline-offset: 3px;
}

/* Message radio sous le groupe */
#formID .form-check:has(input[type="radio"]:required:invalid)
~ .invalid-feedback-css {
    display: block;
}

/* ---------------------------
   CHECKBOX
---------------------------- */
#formID input[type="checkbox"]:required:invalid {
    outline: 2px solid #dc3545;
    outline-offset: 3px;
}

#formID input[type="checkbox"]:required:invalid
+ .invalid-feedback-css {
    display: block;
}

/* ---------------------------
   MESSAGE ERREUR
---------------------------- */
#formID .invalid-feedback-css {
    display: none;
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 4px;
}

/* ---------------------------
   BOUTON SUBMIT BLOQUÉ
---------------------------- */
#formID:has(:invalid) button[type="submit"] {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.4);
}

/* ---------------------------
   SHAKE ANIMATION
---------------------------- */
@keyframes shake {
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
}

/* Fin ajout */

/*  CODE AJOUTE */
.multi-select-container{
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.select-box-biens{
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.select-box-departement{
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.check-condition{
  font-size: 13px;
}

.check-condition-texte{
  margin-top: 5px; 
  font-size: 12px;
}

/* .form-select-change{
  font-size: 14px !important;
} */

.form-select-change option{
  font-size: 14px !important;
}

/* swiper avis */
.mark-avis{
  width: 21px;
}

.bi-eye::before{
      color: #0b3d69;
}

.swiper {
    width: 100%;
    padding-bottom: 20px;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.review-card {
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    position: relative !important;
    margin-top: 30px !important;
    
}

.swiper-pagination-bullet {
    width: 13px !important;
    height: 13px !important;
    background-color: #0b3d69 !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #0b3d69 !important;
}

/* MEDIA QUERIES SMARTPHONE */
/* Mobile */
@media (max-width: 768px) {
    .home-about-left {
      margin-top: 0;
  }

  .home-about-right img{
    width: 100%;
  }

  .home-about {
    height: 110vh;
  }
  .contact-block {
      left: 0;
  }

  .multi-select-container {
      display: flex;
      flex-direction: column;
  }
}