.elementor-361 .elementor-element.elementor-element-0e20759{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-25e2d89 *//* ================= GLOBAL ================= */
body {
    font-family: "Inter", "Roboto", sans-serif;
    color: #1b1f2a;
    background: #f4f6fb;
    -webkit-font-smoothing: antialiased;
}



/* =========================
   TOP BAR ALIGNÉ (BACK + BREADCRUMB)
========================= */

.annonce-topbar {
    display: flex;
    align-items: center;
}

/* breadcrumb sur une seule ligne */
.annonce-topbar .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 6;
}

/* enlève puces / numéros */
.breadcrumb-item {
    list-style: none !important;
}

/* séparateur propre */
.annonce-topbar .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #9ca3af;
    padding: 0 6px;
}

/* bouton retour fixe */
.annonce-topbar .btn {
    flex-shrink: 0;
}

/* éviter retour ligne breadcrumb */
.annonce-topbar .col {
    display: flex;
    align-items: center;
}

/* ================= GRID ANNONCES ================= */
#annonces #item-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ================= IMAGE WRAPPER ================= */
#annonces .col-img {
    position: relative;
    overflow: hidden;
}

#annonces .col-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

#annonces .card:hover .col-img img {
    transform: scale(1.06);
}

/* ================= CARROUSEL BASE (INCHANGÉ) ================= */
#carousel-images {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

#carousel-images .carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

#carousel-images .carousel-inner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

#carousel-images .carousel-inner:active {
    cursor: grabbing;
}

#carousel-images .carousel-item {
    min-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
}

#carousel-images .carousel-control-prev,
#carousel-images .carousel-control-next,
#carousel-images .carousel-indicators {
    display: none !important;
}

#carousel-images::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
    height: 100%;
    background: linear-gradient(to left, rgba(22, 44, 114, 0.25), transparent);
    pointer-events: none;
}

#carousel-images::before {
    content: "← glisser pour voir plus →";
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 44, 114, 0.85);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 5;
    pointer-events: none;
}

/* ================= SCROLLBAR ================= */
#carousel-images .carousel-inner::-webkit-scrollbar {
    height: 12px;
}

#carousel-images .carousel-inner::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #162C72, #5EC2E2);
    border-radius: 999px;
}

/* ================= FILTER CLEAN ================= */
#accordion-search .accordion-item,
#accordion-search .accordion-body,
#accordion-search .accordion-collapse {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

#accordion-search .accordion-button {
    display: none !important;
}

/* ================= RESPONSIVE ANNONCES ================= */
@media (max-width: 1024px) {
    #annonces #item-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #annonces #item-layout {
        grid-template-columns: 1fr;
    }

    #annonces .col-img img {
        height: 200px;
    }

    #carousel-images .carousel-item img {
        height: 320px;
    }
}

/* ================= PAGE ANNONCE ================= */
#annonce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Inter", "Roboto", sans-serif;
    color: #1b1f2a;
}

/* ================= BOUTON RETOUR ================= */
.btn-secondary {
    background: #162C76 !important;
    border: none !important;
    border-radius: 12px;
    padding: 10px 14px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: white;
    font-weight: 500;

    box-shadow: 0 6px 18px rgba(22, 44, 114, 0.25);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(22, 44, 114, 0.35);
}

.white {
    display: flex;
    align-items: center;
}

.white svg {
    width: 14px;
    height: 14px;
    fill: white;
}



/* ================= TITRE ================= */
#annonce .card-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

/* ================= BADGES ================= */
#annonce i {
    font-style: normal;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #374151;
    display: inline-flex;
}

/* ================= CRITÈRES ================= */
#annonce .list-group-item .row > div {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 14px;
    margin: 6px 0;

    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef0f5;
}

#annonce .row strong {
    font-weight: 600;
}


#annonce .row span {
    font-weight: 500;
    color: #4b5563;
}

/* ================= TITRES ================= */
#annonce h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 30px 0 16px;
    position: relative;
    padding-left: 14px;
}

#annonce h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #162C76;
    border-radius: 4px;
}

/* ================= BLOCS TARIF / PERF ================= */
#annonce .tarif-perf-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

#annonce .tarif-block,
#annonce .perf-block {
    flex: 1 1 420px;

    background: #ffffff;
    border: 1px solid #eef0f5;
    border-radius: 16px;

    padding: 24px;

    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    transition: all 0.25s ease;
}

#annonce .tarif-block:hover,
#annonce .perf-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}
#annonce iframe {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

#annonce iframe {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* =========================
   FIX ETIQUETTES DPE / GES
   version stable (sans dépendre du HTML)
========================= */

#annonce .d-flex img {
    max-width: 320px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* sécurité spécifique DPE/GES */
#annonce img[src*="etiquette-dpe"] {
    max-width: 320px !important;
    height: auto !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    #annonce .card-title {
        font-size: 1.8rem;
    }

    #annonce .tarif-block,
    #annonce .perf-block {
        flex: 1 1 100%;
    }

    #annonce .list-group-item .row > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ===== FIX PUCES DEFINITIF ===== */
#annonce ul,
#annonce ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#annonce li {
    list-style: none !important;
}

#annonce li::marker {
    content: "" !important;
}/* End custom CSS */