        :root {
            --mz-red: #b40020;
            --mz-red-dark: #870018;
            --mz-cream: #fff9f1;
            --mz-text: #222222;
            --mz-muted: #6c757d;
        }

        body {
            background-color: var(--mz-cream);
            color: var(--mz-text);
            font-family: Arial, sans-serif;
        }

        .topbar {
            background: #ffffff;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            position: sticky;
            top: 0;
            z-index: 900;
        }

        .brand-logo { height: 50px; width: auto; }
        .brand-title { font-size: 1.65rem; line-height: 1; }
        .bolt { font-weight: 700; }

        .btn-mapizy { background: var(--mz-red); border-color: var(--mz-red); color: #ffffff; }
        .btn-mapizy:hover { background: var(--mz-red-dark); border-color: var(--mz-red-dark); color: #ffffff; }

        .btn-outline-mapizy { border-color: var(--mz-red); color: var(--mz-red); }
        .btn-outline-mapizy:hover { background: var(--mz-red); color: #ffffff; }

        .small-muted { color: var(--mz-muted); font-size: 0.92rem; }

        footer.site-footer {
            background: #ffffff;
            border-top: 1px solid rgba(0,0,0,0.08);
        }

.leaflet-container a {
  color: #ffffff !important;
}

    .fiche-hero {
        background:
            linear-gradient(120deg, rgba(180,0,32,0.95), rgba(135,0,24,0.88)),
            url('images/bg.svg');
        background-size: cover;
        background-position: center;
        color: #ffffff;
        padding: 34px 0;
    }

    .fiche-title { font-weight: 800; letter-spacing: -0.03em; }

    .main-photo {
        width: 100%;
        height: 430px;
        object-fit: cover;
        border-radius: 24px;
        box-shadow: 0 14px 34px rgba(0,0,0,0.15);
        background: #f1f1f1;
    }

    .thumb-photo {
        width: 100%;
        height: 92px;
        object-fit: cover;
        border-radius: 14px;
        cursor: pointer;
        border: 3px solid transparent;
        background: #f1f1f1;
    }

    .thumb-photo.active { border-color: var(--mz-red); }

    .info-card {
        background: #ffffff;
        border: 0;
        border-radius: 22px;
        box-shadow: 0 10px 26px rgba(0,0,0,0.08);
        overflow: hidden;
    }

    .info-line {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 13px 0;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    .info-line:last-child { border-bottom: 0; }
    .info-line strong { color: #444444; }

    .content-section {
        background: #ffffff;
        border-radius: 22px;
        box-shadow: 0 10px 26px rgba(0,0,0,0.08);
        padding: 24px;
    }

    #ficheMap {
        height: 330px;
        border-radius: 18px;
        overflow: hidden;
    }

    @media (max-width: 767px) {
        .main-photo { height: 280px; }
    }
	
	
	
	    .hero-mapizy {
        position: relative;
        overflow: hidden;
        background:
            radial-gradient(circle at 82% 18%, rgba(255,255,255,0.25), transparent 28%),
            linear-gradient(135deg, rgba(180,0,32,0.97), rgba(95,0,17,0.96)),
            url('images/bg.svg');
        background-size: cover;
        background-position: center;
        color: #ffffff;
        padding: 54px 0 76px 0;
    }

    .hero-mapizy:after {
        content: "";
        position: absolute;
        left: -8%;
        bottom: -70px;
        width: 116%;
        height: 130px;
        background: var(--mz-cream);
        border-radius: 50% 50% 0 0;
        opacity: 1;
    }

    .hero-mapizy .container { position: relative; z-index: 2; }
    .hero-mapizy h1 { font-weight: 800; letter-spacing: -0.035em; }
    .hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 860px; }

    .hero-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.14);
        border: 1px solid rgba(255,255,255,0.22);
        border-radius: 999px;
        padding: 7px 12px;
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .search-card {
        margin-top: -54px;
        position: relative;
        z-index: 20;
        border: 0;
        border-radius: 24px;
        box-shadow: 0 18px 44px rgba(0,0,0,0.16);
        overflow: hidden;
    }

    .search-card .card-header {
        background: #ffffff;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding: 18px 22px;
    }

    .form-label { font-weight: 600; color: #343434; }
    .form-control, .form-select { border-radius: 12px; min-height: 44px; }

    .filter-chip {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: #ffffff;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 999px;
        padding: 8px 12px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.05);
        font-size: 0.92rem;
    }

    .stat-card {
        border: 0;
        border-radius: 22px;
        box-shadow: 0 10px 26px rgba(0,0,0,0.07);
        height: 100%;
        overflow: hidden;
        background: #ffffff;
    }

    .stat-number { font-size: 1.85rem; font-weight: 800; color: var(--mz-red); line-height: 1; }

    .map-shell {
        background: #ffffff;
        border-radius: 26px;
        box-shadow: 0 16px 40px rgba(0,0,0,0.09);
        overflow: hidden;
        border: 1px solid rgba(0,0,0,0.08);
    }

    .map-header {
        padding: 18px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        background: linear-gradient(180deg, #ffffff, #fffaf4);
    }

    #map {
        height: calc(100vh - 335px);
        min-height: 560px;
        width: 100%;
    }

    .map-legend {
        background: #ffffff;
        border-left: 1px solid rgba(0,0,0,0.08);
        padding: 16px;
        height: 100%;
    }

    .legend-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 11px;
        font-size: 0.92rem;
    }

    .legend-dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: inline-block;
        flex: 0 0 auto;
        border: 2px solid rgba(0,0,0,0.18);
    }

    .legend-line {
        width: 28px;
        height: 16px;
        border-radius: 50%;
        display: inline-block;
        flex: 0 0 auto;
        border: 2px solid #198754;
        background: rgba(25,135,84,0.10);
    }

    .legend-line-red {
        border-color: #b40020;
        background: rgba(180,0,32,0.14);
    }

    .results-strip {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .result-badge-lg {
        background: rgba(180,0,32,0.08);
        color: var(--mz-red);
        border: 1px solid rgba(180,0,32,0.15);
        font-weight: 700;
        border-radius: 999px;
        padding: 10px 14px;
    }

    #side-panel {
        background-color: #ffffff;
        color: var(--mz-text);
        position: fixed;
        top: 0;
        right: -450px;
        width: 450px;
        max-width: 92vw;
        height: 100%;
        box-shadow: -8px 0 28px rgba(0,0,0,0.22);
        transition: right 0.25s ease;
        z-index: 1100;
        overflow-y: auto;
    }

    #side-panel.open { right: 0; }

    .panel-cover {
        width: 100%;
        height: 255px;
        object-fit: cover;
        background: #f1f1f1;
    }

    .panel-content { padding: 22px; }

    .panel-close {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,0.95);
        border: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
        cursor: pointer;
    }

    .panel-line {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 0;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    .panel-line strong { color: #444444; }

    .owner-section {
        background:
            linear-gradient(135deg, rgba(31,31,31,0.98), rgba(64,20,20,0.98));
        color: #ffffff;
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 18px 42px rgba(0,0,0,0.14);
    }

    .owner-box {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 20px;
        height: 100%;
    }

    .legal-note {
        background: rgba(255,255,255,0.82);
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 18px;
        padding: 14px 16px;
    }

    .leaflet-popup-content-wrapper { border-radius: 14px; }

    @media (max-width: 991px) {
        .map-legend { border-left: 0; border-top: 1px solid rgba(0,0,0,0.08); }
    }

    @media (max-width: 767px) {
        .hero-mapizy { padding: 36px 0 66px 0; }
        .hero-mapizy h1 { font-size: 2rem; }
        #map { min-height: 470px; height: 65vh; }
    }