
:root {
    --bg: #ffffff;
    --fg: #000000;
    --muted: #6b6b6b;
    --border: #e5e5e5;
    --hover-bg: #000000;
    --hover-fg: #ffffff;
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

a {
    color: var(--fg);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Override Bootstrap primário e focus ring para neutro */
:root {
    --bs-primary: #000000;
    --bs-primary-rgb: 0, 0, 0;
    --bs-link-color: #000000;
    --bs-link-hover-color: #000000;
    --bs-focus-ring-color: rgba(0, 0, 0, 0.25);
    --bs-focus-ring-width: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
    box-shadow: none !important;
}

/* Navbar */
.navbar-brand {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--fg);
}
.navbar-brand img {
    display: block;
}
.navbar-nav .nav-link {
    color: var(--fg) !important;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0.25rem;
    margin: 0 0.6rem;
    transition: color 0.2s ease;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.25rem;
    height: 2px;
    background: var(--fg);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd !important;
    text-decoration: none;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    background: #0d6efd;
    transform: scaleX(1);
}
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.hero .hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}
.hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

/* Search form */
.search-form-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.search-form .form-control,
.search-form .form-select {
    border-color: var(--border);
    border-radius: 10px;
    color: var(--fg);
    height: 46px;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    background-color: #fff;
}
.search-form .form-control:focus,
.search-form .form-select:focus {
    border-color: var(--fg);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.search-form .form-control:disabled,
.search-form .form-select:disabled {
    background-color: #f8f8f8;
    color: #9a9a9a;
    border-color: #d8d8d8;
    cursor: not-allowed;
    opacity: 1;
}
.search-tabs .btn-check:checked + .btn-outline-dark {
    background-color: var(--fg);
    color: var(--bg);
}
.search-tabs .btn-outline-dark {
    border-radius: 999px;
    padding: 0.35rem 1rem;
}
.btn-search {
    background: var(--fg);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    height: 46px;
    padding: 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.15s ease,
        transform 0.05s ease;
}
.btn-search:hover {
    background: var(--muted);
    color: var(--bg);
}
.btn-search:active {
    transform: translateY(1px);
}

/* Section titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.section-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0 0 2rem 0;
}

/* Property card */
.property-card {
    display: block;
    border: 1px solid var(--border);
    color: var(--fg);
    text-decoration: none;
    transition: border-color 0.15s;
    height: 100%;
    background: var(--bg);
}
.property-card:hover {
    border-color: var(--fg);
    text-decoration: none;
    color: var(--fg);
}
.property-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.property-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.property-card:hover .card-img-wrapper img {
    transform: scale(1.03);
}
.property-card .badge-purpose {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--fg);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
}
.property-card .badge-featured {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--fg);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
}
.property-card .card-body {
    padding: 0.9rem 1rem;
}
.property-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.property-card .card-location {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.property-card .card-price {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.property-card .card-specs {
    display: flex;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--muted);
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}
.property-card .card-specs span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Diferenciais section */
.differentials-section {
    position: relative;
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 0, 0, 0.04), transparent 45%),
        radial-gradient(
            circle at 80% 100%,
            rgba(0, 0, 0, 0.04),
            transparent 45%
        ),
        #fafafa;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.differentials-section .section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}
.differentials-section .section-accent {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--fg);
    margin: 1.25rem auto 0;
}
.differential-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    overflow: hidden;
}
.differential-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1e40af;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}
.differential-card:hover {
    transform: translateY(-4px);
    border-color: #1e40af;
    box-shadow: 0 12px 28px -16px rgba(30, 64, 175, 0.35);
}
.differential-card:hover::before {
    transform: scaleX(1);
}
.differential-number {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(0, 0, 0, 0.06);
    pointer-events: none;
    transition: color 0.25s ease;
}
.differential-card:hover .differential-number {
    color: rgba(0, 0, 0, 0.1);
}
.differential-item .icon-wrap {
    width: 64px;
    height: 64px;
    border: 1px solid var(--fg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: var(--bg);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}
.differential-item .icon-wrap i {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.25s ease;
}
.differential-card:hover .icon-wrap {
    background: #1e40af;
    border-color: #1e40af;
    color: var(--bg);
    transform: rotate(-6deg);
}
.differential-card:hover .icon-wrap i {
    transform: rotate(6deg);
}
.differential-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.differential-item p {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* Footer */
.site-footer {
    background: #222222;
    color: var(--bg);
    font-size: 0.875rem;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}
.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}
.site-footer .footer-heading {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li {
    margin-bottom: 0.4rem;
}

/* Section carousel */
.section-carousel {
    padding: 2rem 0 2.2rem 0;
    border-top: 1px solid var(--border);
}
.section-carousel:first-of-type {
    border-top: none;
}
.carousel-see-all {
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.carousel-see-all:hover {
    text-decoration: underline;
}
.carousel-swiper {
    position: relative;
    overflow: hidden;
}
.swiper-slide {
    height: auto;
}
.swiper-slide .property-card {
    height: 100%;
}

/* Swiper navigation buttons — monocromático */
.section-carousel .swiper-button-prev,
.section-carousel .swiper-button-next {
    width: 38px;
    height: 38px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--fg);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}
.section-carousel .swiper-button-prev {
    left: -8px;
}
.section-carousel .swiper-button-next {
    right: -8px;
}
.section-carousel .swiper-button-prev::after,
.section-carousel .swiper-button-next::after {
    content: "" !important;
    display: none !important;
}
.section-carousel .swiper-button-prev .swiper-navigation-icon,
.section-carousel .swiper-button-next .swiper-navigation-icon {
    display: none !important;
}
.section-carousel .swiper-button-prev .bi,
.section-carousel .swiper-button-next .bi {
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
}
.section-carousel .swiper-button-prev:hover,
.section-carousel .swiper-button-next:hover {
    background: var(--bg);
    color: var(--fg);
    border-color: var(--fg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.section-carousel .swiper-button-prev.swiper-button-disabled,
.section-carousel .swiper-button-next.swiper-button-disabled,
.section-carousel .swiper-button-prev.swiper-button-lock,
.section-carousel .swiper-button-next.swiper-button-lock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 767px) {
    .section-carousel .swiper-button-prev,
    .section-carousel .swiper-button-next {
        display: none;
    }
    .section-carousel {
        padding: 2.5rem 0;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 380px;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .search-form-wrapper {
        padding: 1rem;
    }
}

/* ==========================================
   Property detail — galeria
   ========================================== */
.property-gallery-section {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}
.gallery-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 520px;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}
.gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumbs {
    height: 92px;
    background: #fff;
    padding: 0;
    margin-top: 12px;
}
.gallery-thumbs .swiper-slide {
    position: relative;
    height: 100%;
    opacity: 0.65;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: opacity 0.2s ease;
}
.gallery-thumbs .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    pointer-events: none;
    transition: border-color 0.2s ease;
}
.gallery-thumbs .swiper-slide:hover {
    opacity: 0.85;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}
.gallery-thumbs .swiper-slide-thumb-active::after {
    border-color: #2563eb;
}
.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botões de navegação da galeria */
.gallery-main .swiper-button-prev,
.gallery-main .swiper-button-next {
    width: 38px;
    height: 38px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--fg);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}
.gallery-main .swiper-button-prev {
    left: 12px;
}
.gallery-main .swiper-button-next {
    right: 12px;
}
.gallery-main .swiper-button-prev::after,
.gallery-main .swiper-button-next::after {
    content: "" !important;
    display: none !important;
}
.gallery-main .swiper-button-prev .swiper-navigation-icon,
.gallery-main .swiper-button-next .swiper-navigation-icon {
    display: none !important;
}
.gallery-main .swiper-button-prev .bi,
.gallery-main .swiper-button-next .bi {
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
}
.gallery-main .swiper-button-prev:hover,
.gallery-main .swiper-button-next:hover {
    background: var(--bg);
    color: var(--fg);
    border-color: var(--fg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.gallery-main .swiper-button-prev.swiper-button-disabled,
.gallery-main .swiper-button-next.swiper-button-disabled {
    opacity: 0.35;
}

/* ==========================================
   Property detail — cabeçalho
   ========================================== */
.badge-property-purpose {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--fg);
    color: var(--bg);
    padding: 0.2rem 0.55rem;
}
.badge-property-launch {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--fg);
    color: var(--fg);
    padding: 0.15rem 0.5rem;
}
.badge-property-furnished {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--muted);
    color: var(--muted);
    padding: 0.15rem 0.5rem;
}
.property-code {
    font-size: 0.8rem;
    color: var(--muted);
}
.property-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}
.property-address {
    font-size: 0.9rem;
    color: var(--muted);
}
.property-price {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.property-fees {
    font-size: 0.83rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* Specs row */
.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
}
.property-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    min-width: 64px;
}
.property-spec-item i {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary, var(--fg));
    margin-bottom: 0.15rem;
}
.property-spec-item strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
}

/* ==========================================
   Property detail — seções de conteúdo
   ========================================== */
.detail-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.property-description {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #333;
}
.property-description img {
    max-width: 100%;
}

/* Comodidades */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}
@media (min-width: 576px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--border);
}

/* Mapa */
.map-wrapper {
    position: relative;
    border: 1px solid var(--border);
}
.map-wrapper iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}
.map-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    font-size: 0.85rem;
}

/* ==========================================
   Property detail — sidebar
   ========================================== */
.property-sidebar {
    position: sticky;
    top: 20px;
}
.sidebar-card {
    border: 1px solid var(--border);
    padding: 1.5rem;
}
.btn-contact {
    display: block;
    width: 100%;
    background: #1e40af;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
    text-decoration: none;
}
.btn-contact:hover {
    background: #1a3795;
    color: #fff;
    text-decoration: none;
}
.btn-wpp {
    display: block;
    width: 100%;
    background: #128c4a;
    color: #fff;
    border: 1px solid #128c4a;
    border-radius: 0;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.btn-wpp:hover {
    background: #0f7a40;
    border-color: #0f7a40;
    color: #fff;
    text-decoration: none;
}
.btn-phone {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition:
        background 0.15s,
        border-color 0.15s,
        color 0.15s;
}
.btn-phone:hover {
    background: #f2f2f2;
    border-color: #e5e5e5;
    color: var(--fg);
    text-decoration: none;
}

/* Proposal form (sidebar) */
.proposal-title {
    font-size: 0.95rem;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.proposal-form .proposal-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.25rem;
    display: block;
}
.proposal-form .form-control {
    border-color: var(--border);
    border-radius: 0;
    font-size: 0.85rem;
}
.proposal-form .form-control:focus {
    border-color: var(--fg);
    box-shadow: none;
}

/* ==========================================
   Search page
   ========================================== */
.search-sidebar {
    background-color: #fff;
    border: 1px solid var(--border);
    box-shadow: none;
    padding: 1.25rem;
    top: 76px;
}
.search-sidebar-form .filter-label {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}
.search-sidebar-form .form-select,
.search-sidebar-form .form-control {
    width: 100%;
    border-color: var(--border);
    border-radius: 0;
    font-size: 0.875rem;
}
.search-sidebar-form .form-select:focus,
.search-sidebar-form .form-control:focus {
    border-color: var(--fg);
    box-shadow: none;
}
.sidebar-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}
.filter-label {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}
.search-sidebar .form-select,
.search-sidebar .form-control {
    border-color: var(--border);
    border-radius: 0;
    font-size: 0.875rem;
}
.search-sidebar .form-select:focus,
.search-sidebar .form-control:focus {
    border-color: var(--fg);
    box-shadow: none;
}
.search-sidebar .btn-check:checked + .btn-outline-dark {
    background-color: var(--fg);
    color: var(--bg);
}
.search-count {
    font-size: 0.9rem;
    color: var(--muted);
}
.search-count strong {
    color: var(--fg);
    font-size: 1rem;
}

/* Pagination monocromática */
.pagination .page-link {
    color: var(--fg);
    border-color: var(--border);
    border-radius: 0 !important;
    font-size: 0.875rem;
    padding: 0.4rem 0.7rem;
}
.pagination .page-link:hover {
    background-color: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}
.pagination .page-item.active .page-link {
    background-color: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
}
.pagination .page-item.disabled .page-link {
    color: var(--muted);
    border-color: var(--border);
}

/* Empty state */
.empty-state {
    border: 1px solid var(--border);
    padding: 3rem 1.5rem;
    text-align: center;
}
.empty-state-icon {
    font-size: 2.5rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.empty-state-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .search-sidebar {
        position: static;
    }
    .property-sidebar {
        position: static;
    }
    .gallery-main {
        max-height: 320px;
    }
    .gallery-thumbs {
        height: 64px;
        margin-top: 8px;
    }
    .gallery-main .swiper-button-prev,
    .gallery-main .swiper-button-next {
        display: none;
    }
}

@media (max-width: 575px) {
    .property-specs {
        gap: 0.75rem 1rem;
    }
    .property-price {
        font-size: 1.5rem;
    }
    .sidebar-card {
        padding: 1rem;
    }
    .search-sidebar {
        padding: 1rem;
    }
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-carousel {
        padding: 2rem 0;
    }
    .differentials-section .row {
        gap: 1.5rem 0;
    }
}

@media (max-width: 767px) {
    .property-title {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .search-form-wrapper .row {
        row-gap: 0.5rem;
    }
}

/* Hover/focus — cards e botões */
.property-card:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}
.btn-search:focus-visible,
.btn-contact:focus-visible,
.btn-wpp:focus-visible,
.btn-phone:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
    box-shadow: none;
}
.pagination .page-link:focus-visible {
    outline: 2px solid #000;
    outline-offset: -2px;
    box-shadow: none;
}
