/* ==========================================================================
   PAGES DU SITE — VERSION ORDINATEUR (au-dessus de 768 px)
   idf-immobilier.com — v1.1 — 22/11/2026 (nouveau bandeau : ville, tour Eiffel, carte des départements)
   --------------------------------------------------------------------------
   Même style que la nouvelle page d'accueil (css/index_pc.css) :
     - bandeau bleu nuit avec la silhouette de Paris en haut de chaque page
     - cartes blanches arrondies, ombres douces
     - bleu = location, vert = vente, violet = Espace Pro
   Chargée en DERNIER dans le <head> (après les styles propres à chaque page)
   avec media="(min-width: 769px)" : le téléphone et l'application ne changent pas.
   Pages : recherche, annonces_locations, annonces_ventes, lire_annonce,
   annonces_ville, annonces_departement, annuaire_pro, regles_publication,
   PRO/accueil_pro, recherche_avancee, cartes_annonces, carte_paris
   ========================================================================== */

:root {
  --pc-nuit: #1a3c5e; --pc-nuit-fonce: #0e3358; --pc-ciel: #25537e;
  --pc-bleu: #0064E0; --pc-vert: #059669; --pc-violet: #7c3aed;
  --pc-rayon: 18px;
  --pc-ombre: 0 1px 2px rgba(16,24,40,.04), 0 6px 22px rgba(16,24,40,.07);
  --pc-ombre-hover: 0 16px 36px rgba(16,24,40,.13);
  --pc-ville: url('../assets/img/bandeau_idf.jpg');   /* ancienne image (gardée pour l'Espace Pro et les règles) */
  /* Bandeau des pages (22/11/2026) : même univers que l'accueil, tout en vectoriel (net, léger) :
     ville de Paris la nuit au premier plan, tour Eiffel et carte lumineuse des 8 départements
     derrière les toits, ciel étoilé, dégradé bleu nuit. */
  /* Bandeau des pages (Locations, Ventes, Recherche) : le sol de la ville est en bas du bandeau */
  --pc-bandeau:
    url('../assets/img/hero_ville.svg') center top / auto 150% no-repeat,
    url('../assets/img/bandeau_idf.svg') right max(2%, calc(50% - 700px)) top / auto 100% no-repeat,
    url('../assets/img/hero_ciel.svg') center top / auto 150% no-repeat,
    linear-gradient(180deg, #0c2a4a 0%, #173f6c 55%, #2f629a 100%);
  /* Bandeaux plus hauts (villes, départements, annuaire) : le contenu remonte dessus, le sol est aux 5/6 */
  --pc-bandeau-haut:
    url('../assets/img/hero_ville.svg') center top / auto 125% no-repeat,
    url('../assets/img/bandeau_idf.svg') right max(2%, calc(50% - 700px)) top / auto 83.3% no-repeat,
    url('../assets/img/hero_ciel.svg') center top / auto 125% no-repeat,
    linear-gradient(180deg, #0c2a4a 0%, #173f6c 55%, #2f629a 83%, #12345a 84%, #0e2c4b 100%);
}
body { background: #f5f7fb !important; }

/* ======================= PIED DE PAGE (même bleu nuit que l'accueil) ======================= */
.footer-dark, footer.footer-dark, .site-footer { background: var(--pc-nuit-fonce) !important; }

/* ======================= BANDEAU DE PAGE ======================= */
/* Locations, ventes, recherche : fil d'Ariane + titre deviennent un bandeau pleine largeur */
main:has(> nav + .page-header-block), .container:has(> nav + .page-header-block) { margin-top: 0 !important; }
nav:has(> .breadcrumb-custom):has(+ .page-header-block) {
  margin: 0 calc(50% - 50vw) !important; padding: 18px calc(50vw - 50% + 12px) 0 !important;
  background: #0c2a4a;
}
.breadcrumb-custom { margin: 0 !important; padding: 0 !important; background: none !important; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 13.5px; }
nav:has(+ .page-header-block) .breadcrumb-custom li, nav:has(+ .page-header-block) .breadcrumb-custom a { color: rgba(255,255,255,.75) !important; }
nav:has(+ .page-header-block) .breadcrumb-custom li.active { color: #fff !important; font-weight: 600; }
nav:has(+ .page-header-block) .breadcrumb-custom li + li::before { color: rgba(255,255,255,.45) !important; }
.page-header-block {
  margin: 0 calc(50% - 50vw) 28px !important; padding: 18px calc(50vw - 50% + 12px) 74px !important;
  background: var(--pc-bandeau) !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: #fff; position: relative;
}
.page-header-block h1 {
  color: #fff !important; font-family: var(--font-display, 'Outfit', sans-serif) !important; font-weight: 800 !important;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem) !important; letter-spacing: -.02em; margin: 0 0 6px !important; max-width: 900px;
  text-shadow: 0 2px 14px rgba(0,0,0,.18); -webkit-text-fill-color: #fff !important; background: none !important;
}
.page-header-block p, .page-header-block .text-muted, .page-header-block span { color: rgba(255,255,255,.85) !important; font-size: 16px; }
.page-header-block p strong, .page-header-block strong { color: #fff !important; }
.section-title:has(.section-title-icon) { display: none !important; }       /* « Toutes les locations » : déjà dit dans le bandeau */

/* Villes, départements, annuaire : leurs bandeaux violets passent au bleu nuit */
.bc { background: #0c2a4a !important; color: rgba(255,255,255,.7) !important; border: 0 !important; padding: 16px 24px 0 !important; text-align: center; }
.bc a { color: rgba(255,255,255,.8) !important; }
.bc strong { color: #fff !important; }
section.hero:not(:has(.hero-left)), .dep-hero, .ann-hero {
  background: var(--pc-bandeau-haut) !important;
  border: 0 !important; padding: 34px 0 96px !important; color: #fff;
}
section.hero:not(:has(.hero-left)) h1, .dep-hero h1, .ann-hero h1 {
  color: #fff !important; font-weight: 800 !important; font-size: clamp(1.8rem, 2.6vw, 2.5rem) !important; letter-spacing: -.02em; line-height: 1.15 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
}
section.hero:not(:has(.hero-left)) h1 span, .dep-hero h1 span, .ann-hero h1 span { color: #8fbdf0 !important; }
.hero-desc, .dep-hero-desc, .ann-hero-desc { color: rgba(255,255,255,.85) !important; font-size: 16px !important; }
.hero-tag, .dep-hero-tag, .ann-hero-tag {
  background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-tag i, .dep-hero-tag i, .ann-hero-tag i { color: #fff !important; }
.hero-stat, .dep-hero-stat, .ann-hero-stat, .hero-back, .dep-back {
  background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; box-shadow: none !important;
}
.hero-stat i, .dep-hero-stat i, .ann-hero-stat i { color: #8fbdf0 !important; }
.hero-stat strong, .dep-hero-stat strong, .ann-hero-stat strong { color: #fff !important; }
.hero-back:hover, .dep-back:hover { background: rgba(255,255,255,.22) !important; color: #fff !important; }
/* Le contenu qui suit remonte un peu sur le bandeau */
section.hero:not(:has(.hero-left)) + main, .dep-hero + main, .ann-hero + main { position: relative; z-index: 2; margin-top: -58px !important; }

/* Espace Pro (accueil) : même bandeau, teinté violet */
section.hero:has(.hero-left) {
  background: linear-gradient(115deg, rgba(76,29,149,.94) 0%, rgba(124,58,237,.86) 55%, rgba(124,58,237,.55) 100%), var(--pc-ville) center bottom / cover no-repeat !important;
  border: 0 !important; color: #fff;
}
section.hero:has(.hero-left) h1 { color: #fff !important; }
section.hero:has(.hero-left) h1 span { color: #d8c8ff !important; }
section.hero:has(.hero-left) .hero-desc { color: rgba(255,255,255,.88) !important; }
section.hero:has(.hero-left) .btn-h-outline { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.5) !important; }
section.hero:has(.hero-left) .btn-h-outline:hover { background: rgba(255,255,255,.22) !important; }
section.hero:has(.hero-left) .btn-h-primary { background: #fff !important; color: var(--pc-violet) !important; box-shadow: 0 8px 22px rgba(0,0,0,.18) !important; }
section.hero:has(.hero-left) .hero-card { box-shadow: 0 18px 44px rgba(0,0,0,.22) !important; border: 0 !important; border-radius: 20px !important; }

/* ======================= CARTES BLANCHES COMMUNES ======================= */
.filters-box, .results-header, .seo-section, .stats .stat-card, .dep-filters, .filters, .ann-bar, .rech-bar, .rech-topbar,
.ville-intro, .intro-box, .related, .rel-box, .seo-box {
  border-radius: var(--pc-rayon) !important;
}
.filters-box {
  background: #fff !important; border: 1px solid #e5e7eb !important; box-shadow: var(--pc-ombre) !important; padding: 18px 22px !important; margin-bottom: 18px !important;
}
.filters-header h5 { font-family: var(--font-display, 'Outfit', sans-serif); font-weight: 800 !important; color: #1a1a2e !important; font-size: 1.05rem !important; }
/* Filtres : chaque page garde sa couleur (bleu = location, vert = vente) */
body { --acc: var(--pc-bleu); --acc-fond: #e8f1fd; --acc-ombre: rgba(0,100,224,.25); --acc-boite: #f0f6ff; --acc-bord: #bfdbfe; }
body.page-ventes { --acc: #00A86B; --acc-fond: #e0f8ed; --acc-ombre: rgba(0,168,107,.25); --acc-boite: #ecfdf5; --acc-bord: #a7f3d0; }
/* Fond du bloc de filtres : même bleu clair / vert clair que les boutons Locations / Ventes du menu */
.filters-box { background: var(--acc-boite) !important; border-color: var(--acc-bord) !important; }
.filters-header, .filters-body { border-color: var(--acc-bord) !important; }
.filters-header h5 i { color: var(--acc) !important; }
.filter-label { font-size: 12px !important; letter-spacing: .5px; color: #6b7280 !important; font-weight: 700 !important; }
.filter-chips a, .filter-chip, .chip {
  border-radius: 20px !important; border: 1.5px solid #e5e7eb !important; background: #fff !important; color: #374151 !important;
  font-weight: 600 !important; padding: 6px 13px !important; transition: border-color .15s, background .15s, color .15s, box-shadow .15s !important;
}
.filter-chips a:hover, .filter-chip:hover { border-color: var(--acc) !important; background: var(--acc-fond) !important; color: var(--acc) !important; }
.filter-chips a.active, .filter-chips a.is-active, .filter-chips a[aria-pressed="true"], .filter-chip.active {
  background: var(--acc) !important; border-color: var(--acc) !important; color: #fff !important; box-shadow: 0 2px 8px var(--acc-ombre) !important;
}
.filter-chips a.active:hover, .filter-chip.active:hover { filter: brightness(1.08); }
.btn-reset { border-radius: 10px !important; background: #fff !important; color: #374151 !important; border: 1.5px solid #d1d5db !important; box-shadow: none !important; }
.btn-reset:hover { border-color: var(--acc) !important; color: var(--acc) !important; background: var(--acc-fond) !important; }
.results-header {
  background: #fff !important; color: #1a1a2e !important; border: 1px solid #e5e7eb !important; box-shadow: none !important;
  padding: 14px 20px !important; margin-bottom: 16px !important; font-family: var(--font-display, 'Outfit', sans-serif);
}
.results-header i { color: #6b7280 !important; }
.results-sort-info { color: #6b7280 !important; }
.seo-section {
  background: #fff !important; border: 1px solid #e5e7eb !important; border-left: 0 !important; box-shadow: none !important; padding: 26px 30px !important;
}
.seo-section h2 { font-size: 1.3rem !important; font-weight: 800 !important; color: #1a1a2e !important; }
.seo-section h2 i { color: var(--pc-bleu); }

/* ======================= LISTES LOCATIONS / VENTES : cartes avec photo ======================= */
.table-card { display: none !important; }
.liste-annonces-mobile.d-md-none { display: block !important; }
.m-list-page { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.m-list-page > li { margin: 0; border: 0 !important; }
.m-list-page .m-list-item {
  display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--pc-rayon);
  overflow: hidden; box-shadow: var(--pc-ombre); color: inherit !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s;
  border-bottom: 3px solid var(--pc-bleu);
}
.m-list-page .m-list-item:hover { transform: translateY(-4px); box-shadow: var(--pc-ombre-hover); }
.m-list-page .m-list-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; width: 100%; background: #f3f4f6; color: #9ca3af; font-size: 30px; overflow: hidden; }
.m-list-page .m-list-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.m-list-page .m-list-item:hover .m-list-photo img { transform: scale(1.05); }
.m-list-page .m-list-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.m-list-page .m-list-price { font-family: var(--font-display, 'Outfit', sans-serif); font-weight: 800; font-size: 1.3rem; color: var(--pc-bleu); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.m-list-page .m-list-price small { font-size: .7em; font-weight: 600; color: #6b7280; }
.m-list-page .m-list-title { font-weight: 600; color: #2d2d3f; font-size: 15px; }
.m-list-page .m-list-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #6b7280; font-size: 14px; margin-top: auto; padding-top: 6px; }
.m-list-page .m-list-chev { display: none; }
.m-list-page .m-list-new { font-size: 11px; font-weight: 700; color: #fff; background: #FF8C00; border-radius: 6px; padding: 2px 7px; }
.m-list-page .m-list-visited { display: none; font-size: 12px; font-weight: 700; color: var(--pc-vert); margin-left: 6px; }
.m-list-page .visited-row .m-list-visited { display: inline; }
/* Ventes : vert */
main[aria-label="Annonces de vente"] .m-list-page .m-list-item { border-bottom-color: var(--pc-vert); }
main[aria-label="Annonces de vente"] .m-list-page .m-list-price { color: var(--pc-vert); }
@media (max-width: 1100px) { .m-list-page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pagination */
.pagination-custom, .pagination-wrapper, .pag, .ann-pag, .res-pag { gap: 6px; }
.pagination-custom a, .pagination-custom span, .btn-page, .page-btn {
  border-radius: 10px !important; border: 1px solid #e5e7eb !important; background: #fff !important; color: #374151 !important; box-shadow: none !important;
}
.pagination-custom .active a, .pagination-custom .active span, .btn-page.active, .page-btn.active { background: #1a1a2e !important; border-color: #1a1a2e !important; color: #fff !important; }

/* ======================= RECHERCHE (résultats) ======================= */
.annonce-card {
  border-radius: var(--pc-rayon) !important; border: 1px solid #e5e7eb !important; box-shadow: var(--pc-ombre) !important; overflow: hidden; background: #fff !important;
  transition: transform .2s, box-shadow .2s !important;
}
.annonce-card:hover { transform: translateY(-4px) !important; box-shadow: var(--pc-ombre-hover) !important; }
.annonce-card.card-location { border-bottom: 3px solid var(--pc-bleu) !important; }
.annonce-card.card-vente { border-bottom: 3px solid var(--pc-vert) !important; }
.annonce-card .photo-slider { height: 210px !important; }
.annonce-card-body h3 { font-family: var(--font-display, 'Outfit', sans-serif) !important; font-size: 15px !important; font-weight: 700 !important; color: #2d2d3f !important; }
.annonce-card .annonce-prix { font-family: var(--font-display, 'Outfit', sans-serif) !important; font-weight: 800 !important; font-size: 1.35rem !important; }
.annonce-card.card-location .annonce-prix { color: var(--pc-bleu) !important; }
.annonce-card.card-vente .annonce-prix { color: var(--pc-vert) !important; }
.annonce-cta { background: #fff !important; color: #374151 !important; border: 1.5px solid #d1d5db !important; border-radius: 10px !important; box-shadow: none !important; }
.annonce-card:hover .annonce-cta { border-color: #6b7280 !important; }
.btn-toggle-main { background: #fff !important; color: #1a1a2e !important; border: 1px solid #e5e7eb !important; border-radius: 14px !important; box-shadow: var(--pc-ombre) !important; }
.btn-toggle-main i { color: #6b7280 !important; }

/* ======================= VILLES / DÉPARTEMENTS / RECHERCHE AVANCÉE : cartes d'annonce ======================= */
.ann-card, .res-card {
  border-radius: var(--pc-rayon) !important; border: 1px solid #e5e7eb !important; box-shadow: var(--pc-ombre) !important; background: #fff !important;
}
.ann-card:hover, .res-card:hover { transform: translateY(-4px) !important; box-shadow: var(--pc-ombre-hover) !important; border-color: #d1d5db !important; }
.ann-card:has(.ann-tag-loc), .res-card:has(.res-tag-loc) { border-bottom: 3px solid var(--pc-bleu) !important; }
.ann-card:has(.ann-tag-ven), .res-card:has(.res-tag-ven) { border-bottom: 3px solid var(--pc-vert) !important; }
.ann-tag, .res-tag { border-radius: 8px !important; }
.ann-card-body, .res-card-body { padding: 14px 16px 16px !important; }
.ann-card-title, .res-card-title { font-size: 15px !important; }

/* Cartes chiffres (page ville), filtres, blocs d'information */
.stats .stat-card { background: #fff !important; border: 1px solid #e5e7eb !important; box-shadow: var(--pc-ombre) !important; }
.dep-card, .vcard, .ville-card {
  border-radius: 16px !important; border: 1px solid #e5e7eb !important; border-left-width: 1px !important; box-shadow: var(--pc-ombre) !important; background: #fff !important;
}
.dep-card:hover, .vcard:hover, .ville-card:hover { transform: translateY(-3px) !important; box-shadow: var(--pc-ombre-hover) !important; border-color: var(--pc-bleu) !important; }
.dep-card-icon, .vcard-icon { border-radius: 12px !important; }

/* ======================= ANNUAIRE DES AGENCES ======================= */
.ann-bar { background: #fff !important; border: 1px solid #e5e7eb !important; box-shadow: var(--pc-ombre) !important; }
.ag-card { border-radius: var(--pc-rayon) !important; border: 1px solid #e5e7eb !important; box-shadow: var(--pc-ombre) !important; overflow: hidden; }
.ag-card:hover { transform: translateY(-4px) !important; box-shadow: var(--pc-ombre-hover) !important; }

/* ======================= RÈGLES DE PUBLICATION ======================= */
.page-wrapper:has(.regles-container) {
  background: var(--pc-ville) center bottom / cover no-repeat, #f5f7fb !important;
  background-size: 100% 360px, auto !important; background-position: center top, 0 0 !important; padding-top: 40px !important;
}
.regles-container { border-radius: 22px !important; box-shadow: 0 18px 50px rgba(14,51,88,.18) !important; border: 0 !important; }

/* ======================= FICHE ANNONCE (lire_annonce) ======================= */
main[aria-label="Détail de l'annonce"] {
  display: grid !important; grid-template-columns: minmax(0, 1fr) 370px; column-gap: 26px; align-items: start; max-width: 1240px;
}
main[aria-label="Détail de l'annonce"] > * { grid-column: 1; min-width: 0; }
main[aria-label="Détail de l'annonce"] > .m-order-alert,
main[aria-label="Détail de l'annonce"] > .m-order-h1 { grid-column: 1 / -1; }
main[aria-label="Détail de l'annonce"] > .m-order-row { display: contents !important; }
main[aria-label="Détail de l'annonce"] .m-order-row > .m-map-col { grid-column: 1; width: auto !important; max-width: none !important; padding: 0 !important; }
main[aria-label="Détail de l'annonce"] > .m-order-alert { grid-row: 1; }
main[aria-label="Détail de l'annonce"] > .m-order-h1 { grid-row: 2; }
main[aria-label="Détail de l'annonce"] > .m-order-photos { grid-row: 3; }
main[aria-label="Détail de l'annonce"] > .m-order-principal { grid-column: 2; grid-row: 3; align-self: stretch; }
main[aria-label="Détail de l'annonce"] > .m-order-video { grid-row: 4; }
main[aria-label="Détail de l'annonce"] > .m-order-desc { grid-row: 5; }
main[aria-label="Détail de l'annonce"] > .m-order-carac { grid-row: 6; }
main[aria-label="Détail de l'annonce"] > .m-order-dpe { grid-row: 7; }
main[aria-label="Détail de l'annonce"] .m-order-row > .m-map-col { grid-row: 8; }
main[aria-label="Détail de l'annonce"] .m-order-row > .m-contact-col {
  grid-column: 2; grid-row: 4 / span 5; align-self: start; position: sticky; top: 16px; width: auto !important; max-width: none !important; padding: 0 !important;
}
.annonce-h1 { font-size: clamp(1.5rem, 2.1vw, 2rem) !important; font-weight: 800 !important; color: #1a1a2e !important; letter-spacing: -.02em; margin: 6px 0 16px !important; }
main[aria-label="Détail de l'annonce"] .bloc-section, main[aria-label="Détail de l'annonce"] .bloc-principal {
  background: #fff !important; border: 1px solid #e5e7eb !important; border-left: 1px solid #e5e7eb !important; border-radius: var(--pc-rayon) !important;
  box-shadow: var(--pc-ombre) !important; margin-bottom: 20px !important;
}
.bloc-principal { display: flex; flex-direction: column; }
.bloc-title { font-family: var(--font-display, 'Outfit', sans-serif) !important; font-weight: 800 !important; font-size: 1.1rem !important; color: #1a1a2e !important; }
.bloc-title i { color: #6b7280 !important; }
/* Galerie : une grande photo et quatre petites */
.m-order-photos { padding: 10px !important; position: relative; }
.m-order-photos > .bloc-title { display: none !important; }
.m-order-photos .gallery-grid {
  display: grid !important; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px !important; border-radius: 14px; overflow: hidden;
}
.m-order-photos .gallery-item { border-radius: 0 !important; margin: 0 !important; height: 100% !important; overflow: hidden; position: relative; cursor: zoom-in; }
.m-order-photos .gallery-item:first-child { grid-row: span 2; }
.m-order-photos .gallery-item:nth-child(n+6) { display: none !important; }
.m-order-photos .gallery-item:only-child { grid-column: 1 / -1; }
.m-order-photos .gallery-grid:has(.gallery-item:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; grid-template-rows: 420px; }
.m-order-photos .gallery-grid:has(.gallery-item:nth-child(2):last-child) .gallery-item:first-child { grid-row: auto; }
.m-order-photos .gallery-grid:has(.gallery-item:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
.m-order-photos .gallery-item img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .35s; }
.m-order-photos .gallery-item:hover img { transform: scale(1.04); }
.m-order-photos .m-gal-count {
  display: inline-flex !important; position: absolute; right: 22px; bottom: 22px; z-index: 2; align-items: center; gap: 6px;
  background: rgba(255,255,255,.95); color: #1a1a2e; border-radius: 10px; padding: 7px 12px; font-size: 0; box-shadow: 0 4px 14px rgba(0,0,0,.18); pointer-events: none;
}
.m-order-photos .m-gal-count i { font-size: 15px; }
.m-order-photos .m-gal-count::after { content: 'Cliquez pour agrandir'; font-size: 13.5px; font-weight: 700; }
.m-order-photos .gallery-grid { grid-template-rows: 245px 245px; }
/* Échelles DPE / GES plus larges (les étiquettes ne se chevauchent plus) */
.dpe-ges-scales > [class*="col-"] { flex: 0 0 50% !important; max-width: 50% !important; }
/* Annonce d'agence : violet, la couleur de l'Espace Pro (au lieu du rouge) */
.contact-pro, #contact-form:has(.btn-submit.pro) { --border-color: var(--pc-violet) !important; }
.contact-pro .bloc-title, .contact-pro .bloc-title i, .contact-pro .pro-enseigne { color: var(--pc-violet) !important; }
.btn-site-agence { color: var(--pc-violet) !important; border-color: var(--pc-violet) !important; background: #fff !important; border-radius: 12px !important; }
.btn-site-agence:hover { background: #f5f3ff !important; }
.btn-submit { border-radius: 12px !important; min-height: 48px; font-family: var(--font-display, 'Outfit', sans-serif) !important; font-weight: 700 !important; border: 0 !important; }
.btn-submit.pro { background: var(--pc-violet) !important; color: #fff !important; }
/* Bloc prix (à droite de la galerie) */
.bloc-principal { padding: 22px !important; }
.bloc-principal .prix-box, .bloc-principal [class*="prix"] { border-radius: 14px !important; }

/* ======================= CARTES INTERACTIVES (pleine page) ======================= */
.map-header { border-bottom: 2px solid var(--pc-bleu) !important; box-shadow: 0 2px 10px rgba(0,0,0,.04) !important; }
.map-header .logo-title { font-family: var(--font-display, 'Outfit', sans-serif); font-weight: 900; letter-spacing: -1px; color: #1a1a2e !important; text-decoration: none; }
.map-header .logo-title .text-accent { color: #FF8C00 !important; }

/* Contenu plus large que 1240 px : on recentre */
@media (min-width: 1400px) { main.container, .main-content > .container { max-width: 1240px; } }

/* Recherche avancée : le panneau de filtres fermé ne dépasse plus de la page */
.drawer:not(.open) { visibility: hidden; transition: right .35s cubic-bezier(.4,0,.2,1), visibility 0s linear .35s; }
.drawer.open { visibility: visible; transition: right .35s cubic-bezier(.4,0,.2,1); }
html, body { overflow-x: hidden; }

/* ======================= EN-TÊTE : identique sur toutes les pages =======================
   (certaines pages avaient leurs propres couleurs : bouton Publier rouge, tailles différentes) */
.main-header { position: sticky !important; top: 0 !important; z-index: 2000 !important; background: #fff !important; border-bottom: 2px solid var(--pc-bleu) !important; box-shadow: 0 1px 3px rgba(0,0,0,.05) !important; }
.main-header .navbar { padding: .75rem 0 !important; }
.main-header .logo-title { font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif !important; font-weight: 900 !important; font-size: 1.6rem !important; letter-spacing: -1px !important; color: #1a1a2e !important; line-height: 1.2 !important; }
.main-header .logo-title .text-accent { color: #FF8C00 !important; }
.main-header .logo-slogan { font-size: 10px !important; color: #6b7280 !important; text-transform: uppercase; font-weight: 600 !important; letter-spacing: .3px; white-space: nowrap; }
.main-header .hdr-btn {
  display: inline-flex !important; align-items: center !important; gap: 7px !important; padding: 10px 18px !important; border-radius: 8px !important;
  font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif !important; font-weight: 600 !important; font-size: 14px !important; white-space: nowrap !important;
  background: #fff !important; color: #4a4a5a !important; border: 1px solid #d1d5db !important; box-shadow: 0 1px 3px rgba(0,0,0,.05) !important;
  text-decoration: none !important; transform: none !important; transition: background .2s, color .2s, border-color .2s !important;
}
.main-header .hdr-btn i { font-size: 15px !important; color: #9ca3af !important; }
.main-header .hdr-count { background: #f3f4f6 !important; color: #6b7280 !important; padding: 1px 8px !important; border-radius: 12px !important; font-size: 11px !important; font-weight: 700 !important; min-width: 22px; text-align: center; }
.main-header .hdr-loc:hover { border-color: var(--pc-bleu) !important; color: var(--pc-bleu) !important; background: #f0f6ff !important; }
.main-header .hdr-loc:hover i { color: var(--pc-bleu) !important; }
.main-header .hdr-ven:hover { border-color: var(--pc-vert) !important; color: var(--pc-vert) !important; background: #ecfdf5 !important; }
.main-header .hdr-ven:hover i { color: var(--pc-vert) !important; }
/* v2 (19/11/2026) : chaque bouton porte discrètement sa couleur (icône + pastille),
   le fond ne se colore qu'au survol. « Publier » passe en bleu nuit, la couleur
   de la marque : le bleu reste réservé aux locations. */
.main-header .hdr-loc i { color: var(--pc-bleu) !important; }
.main-header .hdr-loc .hdr-count { background: #e8f1fd !important; color: var(--pc-bleu) !important; }
.main-header .hdr-ven i { color: var(--pc-vert) !important; }
.main-header .hdr-ven .hdr-count { background: #e0f8ed !important; color: #047857 !important; }
.main-header .hdr-loc:hover .hdr-count { background: #fff !important; }
.main-header .hdr-ven:hover .hdr-count { background: #fff !important; }
.main-header .hdr-publier { color: #fff !important; border-color: #1a3c5e !important; background: #1a3c5e !important; box-shadow: 0 2px 8px rgba(26,60,94,.22) !important; }
.main-header .hdr-publier i { color: #fff !important; }
.main-header .hdr-publier:hover { background: #0f2a45 !important; border-color: #0f2a45 !important; color: #fff !important; }
.main-header .hdr-publier:hover i { color: #fff !important; }
.main-header .hdr-pro i, .main-header .hdr-annuaire i { color: var(--pc-violet) !important; }
.main-header .hdr-pro:hover, .main-header .hdr-annuaire:hover { border-color: var(--pc-violet) !important; color: var(--pc-violet) !important; background: #f5f3ff !important; }
@media (min-width: 992px) {
  .main-header .navbar-nav { display: flex !important; width: 100%; }
  .main-header .nav-group-right { margin-left: auto !important; }
}

/* Cartes interactives : boutons de l'en-tête comme sur le reste du site */
.hd-btn, .mh-btn {
  display: inline-flex !important; align-items: center !important; gap: 7px !important; padding: 8px 15px !important; border-radius: 8px !important;
  font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif !important; font-weight: 600 !important; font-size: 13.5px !important;
  background: #fff !important; color: #4a4a5a !important; border: 1px solid #d1d5db !important; box-shadow: 0 1px 3px rgba(0,0,0,.05) !important; text-decoration: none !important;
}
.hd-btn i, .mh-btn i { color: #9ca3af !important; }
.hd-btn:hover, .mh-btn:hover { border-color: var(--pc-bleu) !important; color: var(--pc-bleu) !important; background: #f0f6ff !important; }
.hd-btn.on, .mh-btn.active { border-color: var(--pc-bleu) !important; color: var(--pc-bleu) !important; background: #f0f6ff !important; }
.hd-btn.on i, .mh-btn.active i, .hd-publier i { color: var(--pc-bleu) !important; }
.hd-publier { color: var(--pc-bleu) !important; border-color: var(--pc-bleu) !important; background: #f0f6ff !important; }
.hd-count { background: #f3f4f6 !important; color: #6b7280 !important; border-radius: 12px !important; padding: 1px 7px !important; font-size: 11px !important; font-weight: 700 !important; }
