
#rzStage > .an-mapbar, #rzStage > .recherche-map-wrap{position:relative;z-index:1;}
}}

.anres-date{font-family:var(--font-body);font-size:.74rem;color:#8792a2;}
#hmTrendGrid .anres-ph{height:var(--trph,220px) !important;min-height:var(--trph,220px) !important;flex:0 0 var(--trph,220px) !important;}
#hmTrendGrid .anres-body{padding:.8rem .95rem .95rem;gap:5px;}
#hmTrendGrid .anres-title{font-size:.9rem;}
#hmTrendGrid .anres-pricebig{font-size:1.05rem;}
#hmTrendGrid .anres-chip{font-size:.68rem;padding:2px 7px;}
#hmTrendGrid .anres-date,#hmTrendGrid .anres-loc{font-size:.72rem;}
.hmtr-flame{position:absolute;top:10px;left:10px;background:rgba(10,37,64,0.85);color:#fff;font-family:var(--font-body);font-weight:800;font-size:.7rem;padding:5px 10px;border-radius:999px;backdrop-filter:blur(6px);}

/* ═══ Suggestions de ville au premier plan ═══ */
#villeSuggest{z-index:7000 !important;position:absolute;}
.an-footbar{position:relative;z-index:1;}
/* ═══ Bouton Déposer une annonce : bleu, détaché ═══ */
#page-recherche.active:not(.an-results-active) .an-footbar{padding-top:1.4rem;}
.an-cta-tile{min-height:315px;width:100%;box-sizing:border-box;transition:none !important;animation:none !important;}
.an-cta-tile:hover{transform:none !important;box-shadow:inherit;}
.an-cta-tile:hover::after{display:none;}
.an-cta-tile .hm-sub, .an-cta-tile .hm-title, .an-cta-tile > img{transition:none !important;animation:none !important;}
.an-cta-tile:hover .hm-sub{transform:none !important;}
.an-cta-tile:hover > img, .an-cta-tile:hover video, .an-cta-tile:hover > svg{transform:none !important;}
.an-cta{background:#2563eb !important;color:#fff !important;border:none !important;font-weight:800;box-shadow:0 1px 2px rgba(10,37,64,0.15), 0 8px 20px -10px rgba(37,99,235,0.5) !important;}
.an-cta:hover{background:#1d4ed8 !important;border:none !important;}

/* ═══ Résultats en liste : infos à gauche, photo à droite ═══ */
.anres-card{flex-direction:column-reverse;align-items:stretch;min-height:0;height:auto;max-height:none;overflow:hidden;border:1px solid #e6ebf1;box-shadow:0 1px 2px rgba(10,37,64,0.05);transition:transform .18s, box-shadow .18s, border-color .18s;}
.anres-card:hover{transform:translateY(-2px);border-color:#c9d6ea;box-shadow:0 1px 2px rgba(10,37,64,0.05), 0 12px 28px -16px rgba(10,37,64,0.18);}
.anres-ph{width:100%;min-width:0;max-width:none;aspect-ratio:auto;height:240px;min-height:240px;flex:0 0 240px;border-radius:0;border-left:none;border-bottom:1px solid #e6ebf1;overflow:hidden;}
.anres-body{flex:1;padding:1rem 1.1rem 1.2rem;justify-content:flex-start;gap:7px;min-width:0;}
/* ═══ Remise à plat totale du rendu des résultats ═══ */
/* ═══ Rangement en flux insécable : aucune superposition possible ═══ */
#anResGrid{display:flex !important;flex-wrap:wrap !important;flex-direction:row !important;gap:.7rem !important;align-items:flex-start !important;align-content:flex-start !important;columns:auto !important;position:static !important;height:auto !important;}
#anResGrid > .anres-card{position:relative !important;top:auto !important;left:auto !important;right:auto !important;bottom:auto !important;display:flex !important;flex-direction:column-reverse !important;flex:0 0 calc(25% - .525rem) !important;max-width:calc(25% - .525rem) !important;height:auto !important;min-height:0 !important;margin:0 !important;float:none !important;transform:none !important;animation:anresIn .4s both !important;animation-delay:calc(var(--i,0)*30ms) !important;}
@media(max-width:1100px){ #anResGrid > .anres-card{flex:0 0 calc(50% - .35rem) !important;max-width:calc(50% - .35rem) !important;} }
@media(max-width:640px){ #anResGrid > .anres-card{flex:0 0 100% !important;max-width:100% !important;} }
.anres-card-hero .anres-ph,.anres-ph{aspect-ratio:auto !important;height:240px !important;min-height:240px !important;flex:0 0 240px !important;}
/* ═══ Vignettes : photos centrées et recadrées pour remplir les cases ═══ */
.anres-ph{position:relative;overflow:hidden;}
.anres-ph::before{display:none;}
.anres-ph::after{content:'';position:absolute;inset:0;background:inherit;background-size:cover;background-repeat:no-repeat;background-position:center;}
.anres-ph > *{position:absolute;z-index:2;}
.anres-ph-empty::before,.anres-ph-empty::after{display:none;}
.anres-new,.anres-phn,.anres-fav{display:none !important;}
.anres-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:1rem !important;}
@media(max-width:1100px){ .anres-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;} }
@media(max-width:640px){ .anres-grid{grid-template-columns:1fr !important;} }
.anres-title{font-size:.95rem;font-weight:800;color:#0a2540;white-space:normal;line-height:1.3;letter-spacing:-0.015em;}
.anres-pricebig{font-size:1.2rem;color:#2563eb;}
.anres-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px;}
.anres-chip{display:inline-flex;align-items:center;background:#f6f8fb;border:1px solid #e6ebf1;border-radius:6px;padding:3px 9px;font-family:var(--font-body);font-size:.74rem;font-weight:600;color:#425466;}
.anres-loc{margin-top:4px;color:#697386;font-size:.78rem;}
.anres-card .anres-go{background:none !important;box-shadow:none !important;border:none !important;width:auto !important;height:auto !important;border-radius:0 !important;}
.anres-card .anres-go img{height:20px !important;}
.anres-loc .anres-go{transition:transform .18s;}
.anres-card:hover .anres-go{transform:translateX(4px);color:#2563eb;}
.anres-pricebig{font-family:var(--font-head);font-weight:900;font-size:1.3rem;letter-spacing:-0.01em;color:#2563eb;line-height:1;}
.anres-price{display:none;}
.anres-scrim{display:none;}
#page-recherche.an-results-active .an-searchwrap,
#page-recherche.an-results-active .an-hero{display:none !important;}
.anres-bar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;background:#0a2540;border:1px solid rgba(125,211,252,0.18);border-radius:6px;padding:10px 12px;box-shadow:0 1px 2px rgba(10,37,64,0.2), 0 12px 28px -18px rgba(10,37,64,0.5);position:sticky;top:74px;z-index:60;margin-bottom:1.4rem;}
.anres-locbar{background:#fff !important;border-color:transparent !important;}
.anres-sort,.anres-pricechip{background:#fff;border:1px solid #e6ebf1;border-radius:6px;}
.anres-pricechip{display:inline-flex;align-items:center;gap:.4rem;padding:0 .6rem;height:36px;}
.anres-pricechip span{font-family:var(--font-mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:#8792a2;}
.anres-pricechip input{border:none;outline:none;width:74px;height:100%;font-family:var(--font-body);font-weight:700;font-size:.85rem;color:#0a2540;background:transparent;}
.anres-sort{height:36px;padding:0 .7rem;font-family:var(--font-body);font-weight:600;font-size:.82rem;color:#0a2540;cursor:pointer;}

.anres-cta{display:flex;align-items:center;justify-content:space-between;gap:1.4rem;flex-wrap:wrap;background:linear-gradient(160deg,#0a2540 0%,#0d2b4d 100%);border:1px solid rgba(125,211,252,0.18);border-radius:6px;padding:1.5rem 1.8rem;margin:2rem 0 2.6rem;box-shadow:0 1px 2px rgba(10,37,64,0.2), 0 24px 60px -30px rgba(10,37,64,0.55);}
.anres-cta-txt b{display:block;font-family:var(--font-head);font-weight:900;font-size:1.15rem;letter-spacing:-0.01em;color:#fff;}
.anres-cta-txt span{display:block;margin-top:.3rem;font-family:var(--font-body);font-size:.88rem;color:rgba(246,249,252,0.6);max-width:60ch;}
.anres-cta-btn{flex-shrink:0;background:#fff;color:#0a2540;border:none;border-radius:6px;padding:12px 20px;font-family:var(--font-body);font-weight:800;font-size:.9rem;cursor:pointer;box-shadow:0 1px 2px rgba(10,37,64,0.2);transition:transform .15s, background .15s;}
.anres-cta-btn:hover{background:#eef2f7;transform:translateY(-1px);}
#anResPager{display:none;align-items:center;justify-content:center;gap:1rem;padding:1.6rem 0 .6rem;flex-wrap:wrap;}
.anres-pglbl{font-family:var(--font-body);font-size:.82rem;color:#697386;}
.anres-pgbtns{display:inline-flex;gap:.4rem;}
.anres-pgbtn{min-width:36px;height:36px;border-radius:6px;border:1px solid #e6ebf1;background:#fff;color:#0a2540;font-family:var(--font-body);font-weight:700;font-size:.85rem;cursor:pointer;transition:border-color .15s;}
.anres-pgbtn:hover{border-color:#1e3a8a;}
.anres-pgbtn-on{background:#1e3a8a;color:#fff;border-color:#1e3a8a;}
.anres-locbar{display:inline-flex;align-items:center;gap:.55rem;background:#fff;border:1px solid #e6ebf1;border-radius:6px;padding:9px 14px;cursor:pointer;font-family:var(--font-body);font-weight:700;font-size:.84rem;color:#0a2540;box-shadow:0 1px 2px rgba(10,37,64,0.05);transition:border-color .15s;}
.anres-locbar:hover{border-color:#1e3a8a;}
.anres-locbar b{color:#1e3a8a;font-size:1rem;line-height:1;}
.anres-locbar .anres-where{margin:0;background:none;border:none;padding:0;color:#0a2540;font-weight:700;}
.anres-tools{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex-wrap:wrap;}
.anres-cats{background:#fff;border:1px solid #e6ebf1;border-radius:6px;padding:3px;display:inline-flex;}
.anres-cats .rz-cat{border-radius:6px;padding:7px 14px;font-size:.82rem;font-weight:700;color:#425466;background:none;box-shadow:none;}
.anres-cats .rz-cat:hover{color:#0a2540;}
.anres-cats .rz-cat.rz-cat-active{background:#1e3a8a !important;color:#fff !important;box-shadow:0 1px 2px rgba(10,37,64,0.3);}
#page-recherche.an-results-active .an-h1,
#page-recherche.an-results-active .an-sub{display:none;}


.mt-card,.anres-card,.ana-case,.ma-card,.tr-check,.tb-card,.ter-gate,.stat-card,.clairval-card,.inbox-item,.an-card,.hm-tile{position:relative;}
.mt-card:hover::after,.anres-card:hover::after,.ana-case:hover::after,.ma-card:hover::after,.tr-check:hover::after,.tb-card:hover::after,.ter-gate:hover::after,.stat-card:hover::after,.clairval-card:hover::after,.inbox-item:hover::after,.an-card:hover::after,.hm-tile:hover::after{content:'';position:absolute;inset:0;border:2px solid #1e3a8a;border-radius:inherit;pointer-events:none;z-index:999;}
/* la tuile à coin coupé : anneau dessiné dans sa propre découpe (règle pair-impair) */
.hm-tile[style*="clip-path"]:hover::after{border:none;background:#1e3a8a;clip-path:polygon(evenodd, 0 0, calc(100% - 74px) 0, 100% 74px, 100% 100%, 0 100%, 0 0, 2px 2px, 2px calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) calc(74px + 0.83px), calc(100% - 74px - 0.83px) 2px, 2px 2px);}
