/* ═══════════════════════════════════════════════════════════
   FAVORITOS PAGE
   ═══════════════════════════════════════════════════════════ */

.card-imovel__favorito {
    background-color: var(--cor-site-3) !important;
    color: var(--cor-site-1);
    font-size: 17px;
    height: 35px;
    width: 35px;
    border-radius: 8px !important;
    border: 1px solid var(--cor-site-1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    padding: 0;
}

.btn-imoveis-home {
    padding: 14px;
    background: var(--cor-site-1);
    border: 1px solid var(--cor-site-1);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.btn-imoveis-home:hover, .btn-imoveis-home:focus {
    padding: 14px;
    background: #fff;
    color: var(--cor-site-1);
    transform: translateY(-3px) !important;
}

button.card-imovel__favorito > i {
    font-size: 19px;
}

.card-imovel__favorito.active {
    color: var(--cor-site-1);
    border: 1px solid #dedede;
}

.property-card__image-container .card-imovel__favorito {
    position: absolute;
    top: 12px;
    right: 12px;
}

.card-imovel__favorito.detalhes {
    position: static;
    flex-shrink: 0;
}

/* ── Hero ─────────────────────────────────────────────────── */
.fav-hero {
    position: relative;
    padding: 40px 0;
    background: #07080a;
    overflow: hidden;
}

.fav-hero__inner {
    position: relative;
    z-index: 1;
}

.fav-hero__panel {
    position: relative;
    min-height: 363px;
    padding: 34px 48px 38px;
    overflow: hidden;
    border: 1px solid rgba(195, 153, 55, .72);
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 32%),
        linear-gradient(180deg, rgba(195, 153, 55, .075), rgba(195, 153, 55, 0) 38%),
        #0a0b0c;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 24px 80px rgba(0, 0, 0, .46);
    text-align: center;
}

.fav-hero__panel::before,
.fav-hero__panel::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(195, 153, 55, .86), transparent);
}

.fav-hero__panel::before { top: 0; }
.fav-hero__panel::after { bottom: 0; }

.fav-hero__topmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
    color: #efc146;
}

.fav-hero__topmark span {
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(195, 153, 55, .78), transparent);
}

.fav-lucide {
    width: 25px;
    height: 25px;
    color: #efc146;
    stroke-width: 1.75;
    flex-shrink: 0;
}

.fav-lucide--top {
    width: 27px;
    height: 27px;
    filter: drop-shadow(0 0 12px rgba(239, 193, 70, .32));
}

.fav-hero__titulo {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.fav-hero__titulo span {
    color: #d5a52e;
}

.fav-hero__sub {
    max-width: 610px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.fav-hero__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(142px, 1fr));
    gap: 12px;
    justify-content: center;
    max-width: 670px;
    margin: 28px auto 0;
}

.fav-hero__benefit {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border: 1px solid rgba(195, 153, 55, .48);
    border-radius: 8px;
    background: rgba(8, 9, 10, .68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    text-align: left;
}

.fav-hero__benefit-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(195, 153, 55, .32);
    padding-right: 16px;
    flex-shrink: 0;
}

.fav-hero__benefit-icon .fav-lucide {
    width: 32px;
    height: 32px;
    stroke-width: 1.55;
}

.fav-hero__benefit-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fav-hero__benefit-text strong {
    color: #f4f4f4;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.fav-hero__benefit-text small {
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.fav-hero__cta {
    min-width: 365px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
    padding: 14px 28px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #e8b73a, #c89521);
    box-shadow: 0 14px 34px rgba(195, 153, 55, .26);
    color: #050505;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}

.fav-hero__cta:hover,
.fav-hero__cta:focus {
    color: #050505;
    filter: brightness(1.05);
    text-decoration: none;
    transform: translateY(-1px);
}

.fav-lucide--cta {
    width: 22px;
    height: 22px;
    color: #050505;
    stroke-width: 1.9;
}

/* ── Seções ───────────────────────────────────────────────── */
.fav-section {
    padding-bottom: 0;
    background: #101010;
    scroll-margin-top: 80px;
}

.fav-section:last-child { border-bottom: none; }

.fav-section .sb-property-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 60px 0 !important;
    background: #101010;
    color: var(--sb-white, #fff);
}

.fav-section .sb-property-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.fav-section .sb-property-showcase .container {
    position: relative;
    z-index: 1;
}

.fav-section .sb-property-showcase .properties-header {
    margin: 0;
}

.fav-section .sb-property-showcase .properties-header--premium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: 0 0 clamp(30px, 3.8vw, 44px);
}

.fav-section .sb-property-showcase .properties-header__content {
    max-width: 680px;
}

.fav-section .sb-property-showcase .properties-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    color: var(--sb-gold, #c39937);
    font-size: clamp(11px, .9vw, 13px);
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.2;
}

.fav-section .sb-property-showcase .properties-header__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    flex: 0 0 28px;
    background: currentColor;
}

.fav-section .sb-property-showcase .properties-header__title {
    display: block;
    margin: 0 0 12px;
    color: var(--sb-white, #fff);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    text-decoration: none;
}

.fav-section .sb-property-showcase .properties-header__title-highlight,
.fav-section .sb-property-showcase .typewriter-text {
    color: var(--sb-white, #fff) !important;
    text-decoration: none !important;
}

.fav-section .sb-property-showcase .properties-header__title-accent {
    color: var(--sb-gold, #c39937);
}

.fav-section .sb-property-showcase .properties-header__subtitle {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(14px, 1.18vw, 16px);
    font-weight: 400;
    line-height: 1.72;
}

.fav-section .sb-property-showcase .properties-header__curadoria {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 118px;
    padding: 22px 24px;
    overflow: hidden;
    border: 1px solid var(--sb-border-gold, rgba(195, 153, 55, .45));
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .045) 0%, rgba(255, 255, 255, .015) 100%),
        rgba(10, 10, 10, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.fav-section .sb-property-showcase .properties-header__curadoria::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 42%;
    height: 62%;
    pointer-events: none;
    background:
        radial-gradient(ellipse at top left,
            rgba(246, 236, 156, .34) 0%,
            rgba(195, 153, 55, .22) 22%,
            rgba(195, 153, 55, .08) 44%,
            transparent 72%);
    opacity: .92;
}

.fav-section .sb-property-showcase .properties-header__curadoria-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 2px solid var(--sb-gold, #c39937);
    border-radius: 50%;
    color: var(--sb-gold-light, #f6ec9c);
    background: rgba(0, 0, 0, .14);
}

.fav-section .sb-property-showcase .properties-header__curadoria-icon i {
    color: rgb(255 194 62);
    font-size: 34px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(195, 153, 55, .24);
}

.fav-section .sb-property-showcase .properties-header__curadoria-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fav-section .sb-property-showcase .properties-header__curadoria-copy strong {
    color: var(--sb-gold, #c39937);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.fav-section .sb-property-showcase .properties-header__curadoria-copy small {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.fav-section .sb-property-showcase .property-card-container {
    padding: 10px;
}

.fav-section .sb-property-showcase .property-card--premium .property-card__image-container {
    height: clamp(270px, 24vw, 310px);
}

.fav-section .sb-property-showcase .property-card--premium .bagde-card {
    z-index: 7;
    gap: 7px;
}

.fav-section .sb-property-showcase .property-card--premium .card-imovel__etiqueta-finalidade,
.fav-section .sb-property-showcase .property-card--premium .card-imovel__etiqueta-oferta,
.fav-section .sb-property-showcase .property-card--premium .card-imovel__etiqueta-exclusivo,
.fav-section .sb-property-showcase .property-card--premium .card-imovel__etiqueta-embreve {
    background: var(--cor-site-1);
    color: #101010;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.fav-section .sb-property-showcase .property-card--premium .card-imovel__etiqueta-oferta,
.fav-section .sb-property-showcase .property-card--premium .card-imovel__etiqueta-exclusivo,
.fav-section .sb-property-showcase .property-card--premium .card-imovel__etiqueta-embreve {
    background:
        linear-gradient(135deg, rgba(195, 153, 55, .18) 0%, transparent 46%),
        rgba(10, 10, 10, .9) !important;
    color: var(--cor-site-5, #c39937);
}

.fav-section .sb-property-showcase .property-card--premium .property-card__id {
    z-index: 5;
}

.fav-section .sb-property-showcase .property-card--premium .card-carousel__btn {
    z-index: 6;
}

.fav-section .sb-property-showcase .property-card--premium .property-card__price-value,
.fav-section .sb-property-showcase .property-card--premium .property-card__location i {
    color: var(--sb-gold, #c39937);
}

.fav-section .sb-property-showcase .properties-footer {
    margin-top: 28px !important;
}

.fav-section .sb-property-showcase .btn-imoveis-home {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: min(315px, 100%);
    min-height: 52px;
    padding: 0 32px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--cor-site-5-borda, var(--sb-border-gold, rgba(195, 153, 55, .45)));
    border-radius: 8px;
    background: var(--cor-site-5) !important;
    color: var(--cor-site-3, #111) !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease, color .32s ease;
}

.fav-section .sb-property-showcase .btn-imoveis-home::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -115%;
    z-index: 1;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .08) 22%, rgba(255, 255, 255, .42) 48%, rgba(255, 255, 255, .1) 70%, transparent 100%);
    transition: left .7s ease;
}

.fav-section .sb-property-showcase .btn-imoveis-home span {
    position: relative;
    z-index: 2;
}

.fav-section .sb-property-showcase .btn-imoveis-home::after {
    content: "";
    position: relative;
    z-index: 2;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .32s ease;
}

.fav-section .sb-property-showcase .btn-imoveis-home:hover,
.fav-section .sb-property-showcase .btn-imoveis-home:focus {
    border-color: var(--cor-site-5-borda, rgba(246, 236, 156, .72));
    background: var(--cor-site-5) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 18px 40px rgba(0, 0, 0, .34),
        0 0 34px var(--cor-site-5-sombra, rgba(195, 153, 55, .28));
    color: var(--cor-site-3, #111) !important;
    transform: translateY(-2px) !important;
}

.fav-section .sb-property-showcase .btn-imoveis-home:hover::before,
.fav-section .sb-property-showcase .btn-imoveis-home:focus::before {
    left: 115%;
}

.fav-section .sb-property-showcase .btn-imoveis-home:hover::after,
.fav-section .sb-property-showcase .btn-imoveis-home:focus::after {
    transform: rotate(45deg) translate(3px, -3px);
}

.fav-section .sb-property-showcase .slick-arrow-1 .slick-arrow.slick-disabled,
.fav-section .sb-property-showcase .slick-arrow-1 .slick-arrow.slick-disabled:hover,
.fav-section .sb-property-showcase .slick-arrow-1 .slick-arrow.slick-disabled:focus {
    border: 1px solid #454545;
    background-color: #4b4b4b;
    color: #1c1c1c !important;
    box-shadow: none !important;
    cursor: default;
}

.fav-section__header {
    margin-bottom: 32px;
}

.fav-section__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cor-site-1);
    margin-bottom: 6px;
}

.fav-section__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px;
}

.fav-section__subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* ── Estado vazio ─────────────────────────────────────────── */
.fav-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #ebebeb;
    width: 100%;
}

.fav-empty__icon {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.fav-empty__titulo {
    font-size: 17px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 6px;
}

.fav-empty__texto {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 0 20px;
}

.fav-empty__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cor-site-1);
    text-decoration: none;
    border: 1.5px solid var(--cor-site-1);
    padding: 8px 18px;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

.fav-empty__link:hover {
    background: var(--cor-site-1);
    color: #fff;
    text-decoration: none;
}

/* ── Loading ──────────────────────────────────────────────── */
.fav-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: #9ca3af;
    font-size: 14px;
    width: 100%;
}

.fav-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: var(--cor-site-1);
    border-radius: 50%;
    animation: fav-spin .7s linear infinite;
}

@keyframes fav-spin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .fav-hero { padding: 28px 0 32px; }
    .fav-hero__panel { padding: 30px 18px; border-radius: 14px; }
    .fav-hero__benefits { grid-template-columns: 1fr 1fr; }
    .fav-hero__cta { min-width: 0; width: 100%; }
    .fav-section { padding: 0; }
}

@media (max-width: 991px) {
    .fav-section .sb-property-showcase {
        padding: 56px 0 72px !important;
    }

    .fav-section .sb-property-showcase .properties-header--premium {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fav-section .sb-property-showcase .properties-header__curadoria {
        max-width: 520px;
    }

    .fav-section .sb-property-showcase .property-card--premium .property-card__image-container {
        height: clamp(230px, 44vw, 300px);
    }
}

@media (max-width: 575px) {
    .fav-section .sb-property-showcase {
        padding: 46px 0 62px !important;
    }

    .fav-section .sb-property-showcase .properties-header__eyebrow {
        gap: 10px;
        letter-spacing: .12em;
    }

    .fav-section .sb-property-showcase .properties-header__eyebrow::before {
        width: 22px;
        flex-basis: 22px;
    }

    .fav-section .sb-property-showcase .properties-header__title {
        font-size: clamp(30px, 9vw, 38px);
    }

    .fav-section .sb-property-showcase .properties-header__curadoria {
        align-items: flex-start;
        gap: 16px;
        padding: 18px;
    }

    .fav-section .sb-property-showcase .properties-header__curadoria-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .fav-section .sb-property-showcase .properties-header__curadoria-icon i {
        font-size: 27px;
    }

    .fav-section .sb-property-showcase .property-card-container {
        padding: 10px 4px;
    }

    .fav-section .sb-property-showcase .property-card--premium .property-card__image-container {
        height: clamp(220px, 66vw, 280px);
    }

    .fav-section .sb-property-showcase .property-card--premium .property-card__body {
        padding: 17px 18px 18px;
    }

    .fav-section .sb-property-showcase .property-card--premium .property-card__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 16px;
    }

    .fav-section .sb-property-showcase .property-card--premium .property-card__feature:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .fav-section .sb-property-showcase .property-card--premium .property-card__feature:nth-child(even) {
        padding-right: 0;
    }

    .fav-section .sb-property-showcase .btn-imoveis-home {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .fav-hero__benefits { grid-template-columns: 1fr; }

    .fav-hero__sub br { display: none; }
}
