/* =========================================================
   LABELLE IMÓVEIS
   IMÓVEIS EM DESTAQUE
========================================================= */


/* =========================================================
   SEÇÃO
========================================================= */

.properties {
    position: relative;

    width: 100%;

    padding: 32px 0 58px;

    background:
        linear-gradient(
            180deg,
            #fbfaf7 0%,
            #ffffff 100%
        );

    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.properties .container {
    max-width: 1360px;
}


/* =========================================================
   DECORAÇÃO
========================================================= */

.properties::before {
    content: "";

    position: absolute;

    top: -180px;
    right: -130px;

    width: 300px;
    height: 300px;

    border:
        1px solid
        rgba(177, 139, 69, 0.08);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.properties-heading {
    position: relative;

    z-index: 5;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 0 26px;

    text-align: center;
}


/* =========================================================
   CONTEÚDO CABEÇALHO
========================================================= */

.properties-heading-content {
    width: 100%;

    max-width: 1000px;

    margin: 0 auto;
}


/* =========================================================
   EYEBROW
========================================================= */

.properties-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0 0 8px;

    font-family: var(--font-primary);

    font-size: 9px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 1.6px;

    text-transform: uppercase;

    color: #a77c35;
}


.properties-eyebrow::before,
.properties-eyebrow::after {
    content: "";

    width: 18px;
    height: 1px;

    background-color: #c49b4f;
}


/* =========================================================
   TÍTULO
========================================================= */

.properties-title {
    margin: 0;

    font-family: var(--font-title);

    font-size:
        clamp(
            28px,
            2.9vw,
            44px
        );

    font-weight: 500;

    line-height: 1.06;

    letter-spacing: -0.8px;

    color: #171917;

    white-space: nowrap;
}


.properties-title span {
    color: #c49b4f;
}


/* =========================================================
   WRAPPER DO CARROSSEL
========================================================= */

.properties-carousel-wrapper {
    position: relative;

    z-index: 5;

    width: 100%;

    padding: 0 28px;
}


/* =========================================================
   CARROSSEL
========================================================= */

.properties-carousel {
    position: relative;

    width: 100%;

    display: flex;

    align-items: stretch;

    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;

    -ms-overflow-style: none;

    cursor: grab;
}


.properties-carousel::-webkit-scrollbar {
    display: none;
}


.properties-carousel.is-dragging {
    cursor: grabbing;

    scroll-behavior: auto;

    user-select: none;
}


/* =========================================================
   SETAS
========================================================= */

.properties .carousel-button {
    position: absolute;

    z-index: 30;

    top: 45%;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(177, 139, 69, 0.34);

    border-radius: 50%;

    background-color: #ffffff;

    color: #a67d38;

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.08);

    transform: translateY(-50%);

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}


.properties .carousel-button svg {
    width: 15px;
    height: 15px;

    stroke-width: 1.7;

    pointer-events: none;
}


.properties-prev {
    left: 0;
}


.properties-next {
    right: 0;
}


.properties .carousel-button:hover {
    color: #ffffff;

    background-color: #062f25;

    border-color: #062f25;

    transform:
        translateY(-50%)
        scale(1.05);
}


.properties .carousel-button.is-disabled {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


/* =========================================================
   CARD
========================================================= */

.property-card {
    flex:
        0 0
        calc((100% - 48px) / 4);

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        #e7e3dc;

    border-radius: 8px;

    background-color: #ffffff;

    box-shadow:
        0 6px 18px
        rgba(20, 38, 31, 0.045);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.property-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(177, 139, 69, 0.36);

    box-shadow:
        0 14px 28px
        rgba(20, 38, 31, 0.08);
}


/* =========================================================
   FOTO
========================================================= */

.property-card-media {
    position: relative;

    width: 100%;
    height: 205px;

    overflow: hidden;

    background-color: #e7e4dd;

    background-repeat: no-repeat;

    background-size: cover;
}


.property-card-media::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 42%,
            rgba(0, 0, 0, 0.14) 100%
        );

    pointer-events: none;
}


/* =========================================================
   FOTOS TEMPORÁRIAS
========================================================= */

.property-image-01 {
    background-image:
        url("../assets/images/hero/hero-labelle.png");

    background-position: 55% center;
}


.property-image-02 {
    background-image:
        url("../assets/images/hero/hero-labelle.png");

    background-position: 70% center;
}


.property-image-03 {
    background-image:
        url("../assets/images/hero/hero-labelle.png");

    background-position: 42% center;
}


.property-image-04 {
    background-image:
        url("../assets/images/hero/hero-labelle.png");

    background-position: 82% center;
}


.property-image-05 {
    background-image:
        url("../assets/images/hero/hero-labelle.png");

    background-position: 60% center;
}


/* =========================================================
   STATUS
========================================================= */

.property-status {
    position: absolute;

    z-index: 4;

    top: 12px;
    left: 12px;

    min-height: 22px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border-radius: 4px;

    background-color: #06382c;

    color: #ffffff;

    font-family: var(--font-primary);

    font-size: 8px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.6px;

    text-transform: uppercase;

    box-shadow:
        0 3px 10px
        rgba(0, 0, 0, 0.15);
}


/* =========================================================
   FAVORITO
========================================================= */

.property-favorite {
    position: absolute;

    z-index: 5;

    top: 11px;
    right: 11px;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background-color:
        rgba(
            255,
            255,
            255,
            0.96
        );

    color: #b18b45;

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.12);

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.property-favorite svg {
    width: 15px;
    height: 15px;

    stroke-width: 1.7;
}


.property-favorite:hover,
.property-favorite.is-favorite {
    color: #ffffff;

    background-color: #b18b45;

    transform: scale(1.05);
}


/* =========================================================
   CONTEÚDO
========================================================= */

.property-card-content {
    display: flex;

    flex-direction: column;

    padding:
        12px
        13px
        13px;
}


/* =========================================================
   TIPO
========================================================= */

.property-card-content h3 {
    order: 1;

    margin: 0 0 5px;

    font-family: var(--font-primary);

    font-size: 8px;

    font-weight: 600;

    line-height: 1.3;

    letter-spacing: 0.7px;

    text-transform: uppercase;

    color: #515751;
}


/* =========================================================
   PREÇO
========================================================= */

.property-card-footer {
    order: 2;

    display: flex;

    align-items: center;

    margin: 0 0 6px;

    padding: 0;
}


.property-card-footer strong {
    font-family: var(--font-primary);

    font-size: 14px;

    font-weight: 700;

    line-height: 1.2;

    color: #171917;
}


/* =========================================================
   LOCALIZAÇÃO
========================================================= */

.property-location {
    order: 3;

    display: block;

    margin: 0 0 10px;

    font-family: var(--font-primary);

    font-size: 8px;

    font-weight: 400;

    line-height: 1.4;

    color: #717771;
}


/* =========================================================
   DETALHES
========================================================= */

.property-details {
    order: 4;

    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: nowrap;

    gap: 4px;

    margin: 0;

    padding: 10px 0 0;

    border-top:
        1px solid
        #efede8;
}


.property-details span {
    display: inline-flex;

    align-items: center;

    gap: 3px;

    font-family: var(--font-primary);

    font-size: 7px;

    font-weight: 400;

    line-height: 1;

    white-space: nowrap;

    color: #656b67;
}


.property-details svg {
    width: 10px;
    height: 10px;

    flex-shrink: 0;

    color: #173d32;

    stroke-width: 1.5;
}


/* =========================================================
   VER TODOS OS IMÓVEIS
========================================================= */

.properties-all {
    position: relative;

    z-index: 5;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 30px;
}


/* =========================================================
   LINHAS LATERAIS
========================================================= */

.properties-all::before,
.properties-all::after {
    content: "";

    width: 70px;
    height: 1px;

    margin: 0 18px;
}


.properties-all::before {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(177, 139, 69, 0.42)
        );
}


.properties-all::after {
    background:
        linear-gradient(
            90deg,
            rgba(177, 139, 69, 0.42),
            transparent
        );
}


/* =========================================================
   BOTÃO VER TODOS
   VERDE PRINCIPAL
========================================================= */

.properties-all-button {
    min-width: 250px;
    min-height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 0 26px;

    border:
        1px solid
        #06382c;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #0a4a3a 0%,
            #06382c 100%
        );

    color: #ffffff;

    font-family: var(--font-primary);

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.55px;

    text-transform: uppercase;

    box-shadow:
        0 8px 22px
        rgba(6, 47, 37, 0.16);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.properties-all-button svg {
    width: 15px;
    height: 15px;

    stroke-width: 1.8;

    transition:
        transform 0.25s ease;
}


/* =========================================================
   HOVER DOURADO
========================================================= */

.properties-all-button:hover {
    background:
        linear-gradient(
            135deg,
            #d3ad62 0%,
            #b98d3e 100%
        );

    border-color: #c49b4f;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(177, 139, 69, 0.20);
}


.properties-all-button:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (max-width: 1200px) {

    .properties .container {
        max-width: 1180px;
    }


    .properties-title {
        font-size: 36px;
    }


    .property-card {
        flex-basis:
            calc((100% - 32px) / 3);
    }


    .property-card-media {
        height: 210px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .properties {
        padding:
            28px
            0
            52px;
    }


    .properties-heading {
        margin-bottom: 22px;
    }


    .properties-title {
        font-size: 30px;

        white-space: normal;
    }


    .properties-carousel-wrapper {
        padding: 0 16px;
    }


    .property-card {
        flex-basis:
            calc((100% - 16px) / 2);
    }


    .property-card-media {
        height: 220px;
    }


    .properties-all {
        margin-top: 26px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .properties {
        padding:
            24px
            0
            46px;
    }


    .properties-heading {
        margin-bottom: 20px;
    }


    .properties-eyebrow {
        font-size: 8px;
    }


    .properties-title {
        font-size: 27px;

        white-space: normal;
    }


    .properties-carousel-wrapper {
        padding: 0 12px;
    }


    .properties .carousel-button {
        width: 36px;
        height: 36px;
    }


    .property-card {
        flex-basis: 100%;
    }


    .property-card-media {
        height: 230px;
    }


    .property-card-footer strong {
        font-size: 15px;
    }


    .property-details span {
        font-size: 8px;
    }


    .properties-all {
        margin-top: 24px;
    }


    .properties-all::before,
    .properties-all::after {
        width: 30px;

        margin: 0 10px;
    }


    .properties-all-button {
        min-width: 210px;
        min-height: 44px;

        padding: 0 18px;

        font-size: 9px;
    }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 390px) {

    .properties-title {
        font-size: 24px;
    }


    .property-card-media {
        height: 210px;
    }


    .properties-all::before,
    .properties-all::after {
        display: none;
    }

}