/* xwé — thème clair, palette drapeau du Bénin (vert · jaune · rouge) */

:root {
    /* Couleurs officielles du drapeau béninois */
    --benin-green: #008751;
    --benin-yellow: #fcd116;
    --benin-red: #e8112d;
    --bg-deep: #ffffff;
    --bg-elevated: #f4f5f7;
    --bg-card: rgba(255, 255, 255, 0.92);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1d24;
    --text-muted: #5c6169;
    --accent: var(--benin-green);
    --accent-soft: rgba(0, 135, 81, 0.12);
    --accent-glow: rgba(0, 135, 81, 0.28);
    --ivory: #006341;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Outfit", system-ui, sans-serif;
    --navbar-height: 4.5rem;
    --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.09);
    --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.08);
    --benin-grad: linear-gradient(
        90deg,
        var(--benin-green),
        var(--benin-yellow),
        var(--benin-red)
    );
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.z-index-2 {
    z-index: 2 !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    padding-top: var(--navbar-height);
}

.text-heading {
    color: var(--text-primary);
}

.hero-title-line {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.hero-stat-strong {
    color: var(--text-primary);
}

/* Ambient mesh + grain (léger, fond clair — teintes drapeau béninois) */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(
            ellipse 80% 50% at 20% -10%,
            rgba(0, 135, 81, 0.07),
            transparent 50%
        ),
        radial-gradient(
            ellipse 60% 40% at 90% 20%,
            rgba(252, 209, 22, 0.08),
            transparent 45%
        ),
        radial-gradient(
            ellipse 50% 60% at 50% 100%,
            rgba(232, 17, 45, 0.05),
            transparent 50%
        ),
        var(--bg-deep);
}

.bg-grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Carrousel publicitaire (hero) — hauteur / ratio responsive */
.hero-ad-carousel {
    background: #eceef2;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-ad-carousel__root {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ad-carousel .carousel-inner {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero-ad-carousel .carousel-inner {
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }
}

.ad-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ad-slide-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 32 / 11;
    min-height: clamp(140px, 28vw, 200px);
    max-height: min(42vh, 360px);
    background: #dfe3ea;
}

@media (min-width: 576px) {
    .ad-slide-frame {
        aspect-ratio: 21 / 8;
        min-height: clamp(160px, 22vw, 240px);
    }
}

@media (min-width: 992px) {
    .ad-slide-frame {
        aspect-ratio: 21 / 7;
        max-height: 320px;
    }
}

.ad-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ad-slide-frame--embed {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border: 1px dashed rgba(0, 0, 0, 0.12);
}

.ad-embed-slot {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.ad-embed-placeholder {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

.ad-slide-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    backdrop-filter: blur(6px);
}

.hero-ad-carousel__indicators {
    margin-bottom: 0.5rem;
}

.hero-ad-carousel__indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-ad-carousel__indicators [data-bs-target].active {
    background-color: var(--accent);
}

.hero-ad-carousel__control {
    width: 2.75rem;
    opacity: 0.85;
}

.hero-ad-carousel__control .carousel-control-prev-icon,
.hero-ad-carousel__control .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.ad-carousel-legal {
    padding-top: 0.35rem;
}

.display-serif {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(
        135deg,
        var(--benin-green) 0%,
        var(--benin-yellow) 48%,
        var(--benin-red) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar glass - Premium Update */
.navbar-glass {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    height: var(--navbar-height);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-glass .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1.25rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-glass .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--benin-grad);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-glass .nav-link:hover::after,
.navbar-glass .nav-link.active::after {
    width: 20px;
}

.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
    color: var(--benin-green) !important;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--benin-green), #006341);
    border-radius: 12px;
    font-size: 1.25rem;
}

.nav-icon-link {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-icon-link:hover {
    background: var(--accent-soft);
    color: var(--benin-green);
}

.user-profile-btn {
    background: #fff;
    border: 1px solid var(--border-subtle);
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.user-profile-btn:hover {
    background: var(--bg-elevated);
    border-color: rgba(0, 135, 81, 0.3);
}

.user-profile-btn::after {
    display: none;
}

.shadow-premium {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-item {
    font-size: 0.875rem;
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--accent-soft);
    color: var(--benin-green);
    transform: translateX(4px);
}

.x-small {
    font-size: 0.7rem;
}

.fw-600 {
    font-weight: 600;
}

/* Custom Mobile Toggle - Pro Animation */
.navbar-toggler-custom {
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    z-index: 1100;
}

.navbar-toggler-custom span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler-custom.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler-custom.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler-custom.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 1050;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 80px 24px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: block !important;
        visibility: hidden;
    }

    .navbar-collapse.show {
        right: 0;
        visibility: visible;
    }

    .navbar-nav {
        margin-top: 2rem;
    }

    .navbar-nav .nav-link {
        font-size: 1.25rem !important;
        padding: 1rem 0 !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-collapse .dropdown-menu {
        position: static;
        float: none;
        background: #f9f9f9;
        box-shadow: none !important;
        margin-top: 0.5rem;
        border-radius: 12px;
        padding: 0.5rem;
    }

    .navbar-collapse .user-profile-btn {
        width: 100%;
        justify-content: flex-start;
        margin-top: 1.5rem;
        padding: 8px 16px;
    }

    .navbar-collapse .btn-accent {
        width: 100%;
        margin-top: 1.5rem;
        padding: 12px;
        border-radius: 12px;
    }
}

.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--benin-green);
    --bs-btn-border-color: var(--benin-green);
    --bs-btn-hover-bg: #006b41;
    --bs-btn-hover-border-color: #006b41;
    --bs-btn-font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
}

.btn-outline-light-custom {
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    font-weight: 500;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.btn-outline-light-custom:hover {
    border-color: rgba(0, 135, 81, 0.45);
    background: var(--accent-soft);
    color: var(--text-primary);
}

/* Intro sous le carrousel pub */
.hero-intro {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

@media (min-width: 992px) {
    .hero-intro {
        padding-top: 2.75rem;
        padding-bottom: 4rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.03);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.search-panel {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
}

.hero-media {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-media__frame {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #e6eaef;
}

.hero-media__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.hero-media__overlay {
    position: absolute;
    inset: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.22) 0%,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.hero-media__pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-media__pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.hero-media__mini {
    border-radius: 1rem;
    padding: 0.85rem 0.95rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.hero-media__mini-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.hero-media__mini-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-media__features {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid var(--border-subtle);
    background: #fff;
}

.hero-feature__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    flex-shrink: 0;
}

.hero-feature__title {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-feature__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.search-panel .form-control,
.search-panel .form-select {
    background: #f8f9fa;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.search-panel .form-control::placeholder {
    color: var(--text-muted);
}

/* .search-panel .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235c6169' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
} */

.search-panel label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

/* Section titles */
.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    background: linear-gradient(
        90deg,
        var(--benin-green),
        var(--benin-yellow) 50%,
        var(--benin-red)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.py-lg-6 {
    padding-top: 5.25rem !important;
    padding-bottom: 5.25rem !important;
}

.feature-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(
        165deg,
        rgba(0, 135, 81, 0.05) 0%,
        rgba(252, 209, 22, 0.03) 35%,
        #fff 60%
    );
    padding: 1.75rem 1.6rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s,
        box-shadow 0.35s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 135, 81, 0.28);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.1);
}

.feature-card__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.feature-card__text {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Bento listings - Premium Redesign (Abidjan Style) */
.bento-card {
    border: none;
    background: #fff;
    overflow: visible;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 16px;
}

.bento-card:hover {
    transform: translateY(-4px);
}

.bento-img {
    aspect-ratio: 3 / 3;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #e8edf2;
}

.bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-price {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    top: auto;
    right: auto;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: #064e3b;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    line-height: 1.2;
    z-index: 3;
}

.bento-price small {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1px;
}

.bento-body {
    padding: 0.25rem 0;
}

.bento-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.4rem;
}

.rating-badge {
    background: #003580;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.rating-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
}

.bento-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: #003580;
    line-height: 1.3;
}

.bento-loc {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.3rem;
}

.bento-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #198754;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #198754;
    border-radius: 50%;
}

.fav-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.fav-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.fav-btn i.bi-heart-fill {
    color: #ff385c;
}

@media (max-width: 575.98px) {
    .bento-body {
        padding: 0.85rem !important;
    }
    .bento-title {
        font-size: 0.95rem !important;
    }
    .bento-loc {
        font-size: 0.75rem !important;
    }
    .bento-price {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.75rem !important;
        bottom: 0.65rem !important;
        left: 0.65rem !important;
        top: auto !important;
        right: auto !important;
    }
    .bento-tag {
        top: 0.65rem !important;
        left: 0.65rem !important;
        padding: 0.15rem 0.5rem !important;
        font-size: 0.55rem !important;
    }
}
.commune-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        border-color 0.25s,
        background 0.25s;
    margin-bottom: 0.75rem;
}

.commune-pill:hover {
    border-color: rgba(0, 135, 81, 0.38);
    background: var(--accent-soft);
    color: var(--text-primary);
}

.commune-pill .cp-name {
    font-weight: 600;
}

.commune-pill .cp-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* How it works — timeline */
.step-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 2rem 1.75rem;
    height: 100%;
    background: linear-gradient(
        165deg,
        rgba(0, 135, 81, 0.06) 0%,
        rgba(252, 209, 22, 0.04) 40%,
        #fff 55%
    );
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(0, 135, 81, 0.14);
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* CTA band */
.cta-band {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 135, 81, 0.22);
    background: linear-gradient(
        135deg,
        rgba(0, 135, 81, 0.08) 0%,
        rgba(252, 209, 22, 0.06) 35%,
        #fff 55%,
        rgba(232, 17, 45, 0.04) 100%
    );
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -100px;
    right: -80px;
    background: radial-gradient(
        circle,
        rgba(252, 209, 22, 0.18),
        transparent 70%
    );
    pointer-events: none;
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: var(--benin-grad);
}

.site-footer__top {
    padding: 3.25rem 0 2.25rem;
}

.site-footer__bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.35rem 0;
    background: #fff;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.trust-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--benin-green);
    box-shadow: 0 0 14px rgba(0, 135, 81, 0.35);
}

.footer-social {
    margin-top: 0.15rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 135, 81, 0.3);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
    color: var(--accent);
}

.footer-links-title {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    font-weight: 700;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.35rem 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-newsletter {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 135, 81, 0.22);
    background: linear-gradient(
        135deg,
        rgba(0, 135, 81, 0.08) 0%,
        rgba(252, 209, 22, 0.06) 40%,
        rgba(232, 17, 45, 0.04) 100%
    );
    padding: 1.4rem 1.5rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.footer-input {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
}

.footer-newsletter__fine {
    margin-top: 0.65rem;
    font-size: 0.85rem;
}

.footer-bottom-links {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-bottom-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: var(--accent);
}

.footer-bottom-link--top {
    position: relative;
}

.footer-bottom-link--top::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.2rem;
    height: 2px;
    background: var(--benin-grad);
    opacity: 0;
    transform: translateY(2px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.footer-bottom-link--top:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* ——— Admin dashboard ——— */
.page-admin {
    padding-top: 0;
}

.page-admin .navbar,
.page-admin .mobile-dock {
    display: none !important;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1.25rem;
    border-right: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.admin-sidebar__brand {
    padding: 0.5rem 0.5rem 1rem;
}

.admin-brand {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.admin-brand__sub {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.admin-nav {
    display: grid;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
}

.admin-nav__link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.admin-nav__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
}

.admin-nav__link:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    transform: translateX(2px);
}

.admin-nav__link.is-active {
    background: linear-gradient(
        135deg,
        rgba(0, 135, 81, 0.1) 0%,
        rgba(252, 209, 22, 0.07) 45%,
        rgba(232, 17, 45, 0.06) 100%
    );
    border-color: rgba(0, 135, 81, 0.22);
    color: var(--text-primary);
}

.admin-nav__link.is-active .admin-nav__dot {
    background: var(--benin-green);
    box-shadow: 0 0 18px rgba(0, 135, 81, 0.35);
}

.admin-sidebar__footer {
    margin-top: 1.25rem;
    padding: 1rem 0.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.admin-user__avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--benin-green),
        var(--benin-yellow)
    );
}

.admin-user__name {
    font-weight: 700;
}

.admin-user__role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.25rem 0;
}

.admin-h1 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.admin-content {
    padding: 1.25rem 0 2.25rem;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.9);
}

.admin-pill__label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.admin-select {
    border: none;
    background: transparent;
    padding: 0.25rem 1.75rem 0.25rem 0.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 7.5rem;
}

.admin-input {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.95);
}

.admin-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.35rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

.admin-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-card__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
}

.admin-card__title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    letter-spacing: -0.02em;
}

.admin-kpi {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 135, 81, 0.18);
    background: linear-gradient(165deg, #fff 0%, rgba(0, 135, 81, 0.05) 100%);
    padding: 1.25rem 1.3rem;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

.admin-kpi::before {
    content: "";
    position: absolute;
    inset: -60px -80px auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(
        circle,
        rgba(0, 135, 81, 0.18),
        transparent 65%
    );
    pointer-events: none;
}

.admin-kpi--yellow {
    border-color: rgba(252, 209, 22, 0.35);
    background: linear-gradient(165deg, #fff 0%, rgba(252, 209, 22, 0.08) 100%);
}

.admin-kpi--yellow::before {
    background: radial-gradient(
        circle,
        rgba(252, 209, 22, 0.25),
        transparent 65%
    );
}

.admin-kpi--red {
    border-color: rgba(232, 17, 45, 0.22);
    background: linear-gradient(165deg, #fff 0%, rgba(232, 17, 45, 0.06) 100%);
}

.admin-kpi--red::before {
    background: radial-gradient(
        circle,
        rgba(232, 17, 45, 0.22),
        transparent 65%
    );
}

.admin-kpi__label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
}

.admin-kpi__value {
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text-primary);
}

.admin-kpi__hint {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    align-items: center;
}

.admin-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.admin-legend__swatch {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.admin-legend__swatch--g {
    background: var(--benin-green);
}

.admin-legend__swatch--y {
    background: var(--benin-yellow);
}

.admin-legend__swatch--r {
    background: var(--benin-red);
}

.admin-chart {
    border-radius: 1.25rem;
    border: 1px solid var(--border-subtle);
    background: linear-gradient(
        165deg,
        rgba(0, 135, 81, 0.05) 0%,
        rgba(252, 209, 22, 0.03) 45%,
        rgba(232, 17, 45, 0.02) 100%
    );
    padding: 1rem;
    height: 220px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.admin-chart__bars {
    height: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    align-items: end;
}

.admin-bar {
    border-radius: 999px 999px 10px 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.06);
}

.admin-bar--g {
    background: rgba(0, 135, 81, 0.35);
    border-color: rgba(0, 135, 81, 0.25);
}

.admin-bar--y {
    background: rgba(252, 209, 22, 0.5);
    border-color: rgba(252, 209, 22, 0.35);
}

.admin-bar--r {
    background: rgba(232, 17, 45, 0.32);
    border-color: rgba(232, 17, 45, 0.22);
}

.admin-commune-list {
    display: grid;
    gap: 0.6rem;
}

.admin-commune {
    width: 100%;
    text-align: left;
    border-radius: 1.25rem;
    border: 1px solid var(--border-subtle);
    background: #fff;
    padding: 0.85rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.admin-commune:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 135, 81, 0.28);
    background: rgba(0, 135, 81, 0.04);
}

.admin-commune.is-active {
    border-color: rgba(0, 135, 81, 0.35);
    background: linear-gradient(165deg, rgba(0, 135, 81, 0.07), #fff 55%);
}

.admin-commune__name {
    font-weight: 800;
    color: var(--text-primary);
}

.admin-commune__meta {
    display: inline-flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-commune__chip {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 135, 81, 0.12);
    color: var(--accent);
}

.admin-commune__chip--muted {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
}

.admin-table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.admin-table tbody td {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-muted);
}

.admin-badge--active {
    background: rgba(0, 135, 81, 0.12);
    border-color: rgba(0, 135, 81, 0.18);
    color: var(--accent);
}

.admin-badge--paused {
    background: rgba(252, 209, 22, 0.18);
    border-color: rgba(252, 209, 22, 0.25);
    color: #8a6a00;
}

.admin-badge--draft {
    background: rgba(232, 17, 45, 0.09);
    border-color: rgba(232, 17, 45, 0.15);
    color: #a10f20;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.82rem;
}

.admin-metric {
    font-weight: 800;
    color: var(--text-primary);
}

.admin-rating__star {
    color: var(--benin-yellow);
}

.admin-feed {
    display: grid;
    gap: 0.75rem;
}

.admin-feed-item {
    border-radius: 1.25rem;
    border: 1px solid var(--border-subtle);
    background: #fff;
    padding: 0.95rem 1rem;
}

.admin-feed-item__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.admin-feed-item__from {
    font-weight: 800;
}

.admin-feed-item__time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-feed-item__subject {
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.admin-feed-item--good {
    border-color: rgba(0, 135, 81, 0.2);
    background: linear-gradient(165deg, rgba(0, 135, 81, 0.05), #fff 55%);
}

.admin-feed-item--neutral {
    border-color: rgba(252, 209, 22, 0.24);
    background: linear-gradient(165deg, rgba(252, 209, 22, 0.05), #fff 55%);
}

.admin-feed-item--bad {
    border-color: rgba(232, 17, 45, 0.18);
    background: linear-gradient(165deg, rgba(232, 17, 45, 0.05), #fff 55%);
}

.admin-settings {
    display: grid;
    gap: 0.75rem;
}

.admin-switch {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border-subtle);
    background: #fff;
    padding: 1rem;
    cursor: pointer;
    user-select: none;
}

.admin-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-switch__ui {
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.admin-switch__ui::after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 3px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.admin-switch input:checked + .admin-switch__ui {
    background: rgba(0, 135, 81, 0.45);
}

.admin-switch input:checked + .admin-switch__ui::after {
    transform: translateX(18px);
}

.admin-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 0 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
}

.admin-modal {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991.98px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
}

/* Mobile nav bottom bar (innovation) */
.mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    justify-content: space-around;
    align-items: center;
}

.mobile-dock a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.mobile-dock a:hover,
.mobile-dock a.active {
    color: var(--accent);
}

.mobile-dock svg {
    width: 22px;
    height: 22px;
}

.section-y {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 992px) {
    .section-y {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.letter-spacing {
    letter-spacing: 0.12em;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-intro {
        padding-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .mobile-dock {
        display: flex;
    }

    body {
        padding-bottom: 5rem;
    }

    .cta-band {
        padding: 2rem 1.5rem;
    }

    .display-serif.display-3 {
        font-size: 2.35rem;
    }

    .hero-media__frame {
        aspect-ratio: 16 / 11;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .carousel .carousel-item {
        transition: none;
    }

    .bento-card {
        transition: none;
    }
}

/* ——— Page détail logement (style marketplace type lewa.ci) ——— */

.page-detail .detail-hero-wrap {
    padding-top: calc(var(--navbar-height) + 1rem);
    padding-bottom: 2rem;
}

@media (min-width: 992px) {
    .page-detail .detail-hero-wrap {
        padding-bottom: 2.5rem;
    }
}

.detail-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.detail-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.detail-breadcrumb a:hover {
    color: var(--accent);
}

.detail-breadcrumb__sep {
    margin: 0 0.4rem;
    opacity: 0.45;
}

.detail-breadcrumb__current {
    color: var(--text-primary);
    font-weight: 500;
}

.detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-h1 {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    margin-bottom: 0.85rem;
    line-height: 1.15;
    color: var(--text-primary);
}

.detail-h1 sup {
    font-size: 0.55em;
    top: -0.35em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.25rem;
    font-size: 0.9rem;
}

.detail-meta-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
}

.detail-meta-loc svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.detail-meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.detail-stars {
    color: var(--benin-yellow);
    letter-spacing: -0.05em;
    font-size: 1rem;
}

.detail-star-half {
    display: inline-block;
    width: 0.55em;
    overflow: hidden;
    color: var(--benin-yellow);
    margin-left: -0.12em;
    opacity: 0.85;
}

.detail-meta-tag {
    margin-top: 0 !important;
}

.btn-detail-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: #fff;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.btn-detail-ghost:hover {
    border-color: rgba(0, 135, 81, 0.35);
    background: var(--accent-soft);
}

/* Grille galerie type Airbnb / Lewa */
.detail-gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 280px;
    max-height: min(62vh, 520px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-subtle);
}

.detail-gallery__cell {
    position: relative;
    padding: 0;
    border: none;
    background: #e8eaed;
    cursor: pointer;
    overflow: hidden;
    display: block;
    transition: filter 0.25s ease;
}

.detail-gallery__cell:hover {
    filter: brightness(1.04);
}

.detail-gallery__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-gallery__cell--main {
    grid-row: 1 / -1;
    border-radius: 0;
}

.detail-gallery__zoom-hint {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.detail-gallery__cell--more::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

.detail-gallery__more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767.98px) {
    .detail-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: minmax(140px, 32vw) minmax(100px, 22vw);
        max-height: none;
        min-height: 0;
    }

    .detail-gallery__cell--main {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 200px;
    }

    .detail-gallery__zoom-hint {
        font-size: 0.65rem;
        padding: 0.35rem 0.65rem;
    }
}

.detail-main {
    padding-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .page-detail .detail-main .row > .col-lg-5 {
        margin-bottom: 0.5rem;
    }
}

.detail-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 1.5rem 1.65rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.detail-card--flat {
    box-shadow: none;
    background: #fafbfc;
}

.detail-card--muted {
    background: linear-gradient(165deg, rgba(0, 135, 81, 0.04) 0%, #fafbfc 45%);
}

.detail-card--host {
    background: linear-gradient(
        135deg,
        rgba(252, 209, 22, 0.07) 0%,
        #fff 40%,
        rgba(0, 135, 81, 0.05) 100%
    );
    border-color: rgba(0, 135, 81, 0.18);
}

.detail-h2 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.detail-lead {
    font-size: 1.05rem;
    line-height: 1.6;
}

.detail-divider {
    border-color: var(--border-subtle);
    opacity: 1;
    margin: 1rem 0;
}

.detail-host-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-host-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.detail-host-avatar--lg {
    width: 96px;
    height: 96px;
}

.detail-host-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.detail-host-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.detail-host-badge {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: var(--accent-soft);
    color: var(--accent);
    vertical-align: middle;
}

.detail-host-stat {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.35;
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-facts li strong {
    color: var(--text-primary);
}

.detail-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem 1.25rem;
}

.detail-amenity-grid li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.detail-amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
}

.detail-rules {
    display: grid;
    gap: 1.25rem;
}

.detail-rules dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.detail-rules dd {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

.detail-map-placeholder {
    border-radius: var(--radius-lg);
    min-height: 200px;
    background:
        linear-gradient(
            135deg,
            rgba(0, 135, 81, 0.06) 0%,
            rgba(252, 209, 22, 0.08) 100%
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 8px,
            rgba(0, 0, 0, 0.02) 8px,
            rgba(0, 0, 0, 0.02) 16px
        );
    border: 1px dashed rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 1.5rem;
}

/* Encart réservation sticky */
.detail-booking {
    position: sticky;
    top: calc(var(--navbar-height) + 1rem);
    z-index: 2;
}

.detail-booking__inner {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 135, 81, 0.22);
    background: linear-gradient(165deg, #fff 0%, rgba(0, 135, 81, 0.04) 100%);
    padding: 1.5rem 1.65rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.detail-price-block {
    margin-bottom: 1.25rem;
}

.detail-price-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.detail-price-amount {
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--accent);
}

.detail-price-currency {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.15rem;
}

.detail-field-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.detail-input {
    border-radius: 0.75rem !important;
    border: 1px solid var(--border-subtle) !important;
    background: #f8f9fa !important;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem !important;
}

.detail-price-estimate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.03);
    font-size: 0.9rem;
}

.detail-micro-copy {
    line-height: 1.45;
}

.detail-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 135, 81, 0.1);
    color: var(--accent);
    font-weight: 600;
}

.detail-related {
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.detail-modal-gallery .modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.detail-modal-gallery .carousel-item img {
    max-height: min(75vh, 640px);
    object-fit: contain;
    background: #111;
}

/* Barre mobile prix + CTA */
.detail-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1025;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.page-detail .detail-mobile-cta {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

@media (min-width: 992px) {
    .detail-mobile-cta {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    body.page-detail {
        padding-bottom: 5.5rem;
    }
}

.detail-mobile-cta__amount {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.detail-mobile-cta__price {
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    .detail-gallery__cell:hover {
        filter: none;
    }
}

/* Step Cards - Parcours Update */
.step-card-premium {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.step-card-premium:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(0, 135, 81, 0.4) !important;
}

.step-card-premium h3,
.step-card-premium p {
    color: white !important;
}

.step-card-premium p {
    opacity: 0.7;
}

.step-number-big {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    font-weight: 900;
    font-family: var(--font-sans);
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    transition: all 0.4s ease;
}

.step-card-premium:hover .step-number-big {
    color: rgba(0, 135, 81, 0.1);
    transform: scale(1.1);
}

.step-card-premium .stat-icon-wrapper {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
}

/* ——— Pagination ImmoTrack ——— */
.immo-pagination {
    margin-top: 2.5rem;
}

.immo-pagination .pagination {
    gap: 6px;
    flex-wrap: wrap;
}

/* Boutons précédent / suivant */
.immo-pagination .page-nav-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--border-subtle) !important;
    background: #fff !important;
    color: var(--text-primary) !important;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.immo-pagination .page-nav-btn:hover {
    border-color: var(--benin-green) !important;
    color: var(--benin-green) !important;
    box-shadow: 0 4px 16px rgba(0, 135, 81, 0.15);
    transform: translateY(-1px);
}

.immo-pagination .page-item.disabled .page-nav-btn {
    opacity: 0.35;
    pointer-events: none;
    box-shadow: none;
}

/* Numéros de pages */
.immo-pagination .page-num {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid transparent !important;
    background: #fff !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.immo-pagination .page-num:hover {
    border-color: var(--benin-green) !important;
    color: var(--benin-green) !important;
    background: var(--accent-soft) !important;
}

/* Page active */
.immo-pagination .page-item.active .page-num,
.immo-pagination .active-page {
    background: var(--benin-green) !important;
    color: #fff !important;
    border-color: var(--benin-green) !important;
    box-shadow: 0 4px 18px rgba(0, 135, 81, 0.35) !important;
    transform: scale(1.08);
}

/* Points de suspension */
.immo-pagination .page-ellipsis {
    border: none !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    font-weight: 700;
    padding: 0 4px !important;
    width: auto !important;
    box-shadow: none !important;
}

/* Compteur de résultats */
.immo-pagination .pagination-info {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.immo-pagination .pagination-info strong {
    color: var(--text-primary);
}

@media (max-width: 575px) {
    .immo-pagination .page-num,
    .immo-pagination .page-nav-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.8rem;
    }
}
