* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

section.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 80px;
    background: url(assets/banner.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 90px;
}

section.banner .container {
    display: flex;
    flex-direction: column;
    max-width: 1120px;
    width: 100%;
}

section.banner .container .tabs {
    display: flex;
}

section.banner .container .tabs .opt {
    background: #0C223A;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px 4px 0 0;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
}

section.banner .container .tabs .opt.select {
    background: #fff;
    color: #0C223A;
}

section.banner .container .content-tabs .form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

section.banner .container .content-tabs {
    padding: 20px 30px 50px;
    background: #fff;
    border-radius: 0 5px 5px 5px;
}


section.banner .container .content-tabs .form-container .search-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section.banner .container .content-tabs .form-container .search-form .form-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

section.banner .container .content-tabs .form-container .search-form .form-row .form-group {
    max-width: 245px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.banner .container .content-tabs .form-container .search-form .form-row .form-group select, section.banner .container .content-tabs .form-container .search-form .form-row .form-group input {
    width: 100%;
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #5A5B5B;
    font-size: 14px;
    line-height: 24px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #CED4DA;
}

section.banner .container .content-tabs .form-container .search-form .form-row .form-group select:focus, section.banner .container .content-tabs .form-container .search-form .form-row .form-group input {
    border: 1px solid #CED4DA;
    outline: none;
}

section.banner .container .content-tabs .form-container .search-form .form-row .form-group select option {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #5A5B5B;
    font-size: 14px;
    line-height: 24px;
}


section.banner .container .content-tabs .form-container .search-form .form-row .form-group label {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 18px;
    color: #0C223A;
}

section.banner .container .content-tabs .form-container .search-form .form-bottom-row {
    display: flex;
    justify-content: space-between;
}

section.banner .container .content-tabs .form-container .search-form .form-bottom-row .buttons-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

section.banner .container .content-tabs .form-container .search-form .form-bottom-row .buttons-group .search-button {
    background: #F4750E;
    border-radius: 100px;
    padding: 14px 36px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}

section.banner .container .content-tabs .form-container .search-form .form-bottom-row .buttons-group .clear-button {
    border: none;
    background: transparent;
    color: #0C223A;
    text-decoration: underline;
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
}

section.banner .container .content-tabs .form-container .search-form .form-bottom-row .checkbox-group {
    display: flex;
    align-items: start;
    gap: 8px;
    justify-content: center;
}

section.banner .container .content-tabs .form-container .search-form .form-bottom-row .checkbox-group label {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #0C223A;

}

section.banner .container .content-tabs .container-tabs .tab-codigo form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.banner .container .content-tabs .container-tabs .tab-codigo form label {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 18px;
    color: #0C223A;}

section.banner .container .content-tabs .container-tabs .tab-codigo form input {
    width: 100%;
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #5A5B5B;
    font-size: 14px;
    line-height: 24px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #CED4DA;
}

section.banner .container .content-tabs .container-tabs .tab-codigo form input:focus {
    border: 1px solid #CED4DA;
    outline: none;
}

#tab-codigo {
    display: none;
}

section.resultados {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 80px 100px;
}

section.resultados .container {
    display: flex;
    gap: 30px;
    justify-content: start;
    flex-wrap: wrap;
    max-width: 1120px;
    width: 100%;
}

section.resultados .container .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 30px 0 20px;
    flex: 0 0 30%;
    max-width: 350px;
    width: 100%;
}

.section.resultados .container .card .fotos img{
    width: 100%;
}

section.resultados .container .card .localizacao .endereco {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #6D6E70;
    font-size: 14px;
    line-height: 24px;
}

section.resultados .container .card .localizacao .rua {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    color: #0C223A;
    font-size: 20px;
    line-height: 20px;
}

section.resultados .container .card .codigo {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #6D6E70;
    font-size: 16px;
    line-height: 16px;
}

section.resultados .container .card .codigo span {
    color: #0C223A;
}

section.resultados .container .card .finalidade {
    font-family: 'arquivo', sans-serif;
    font-weight: 600;
    color: #13314E;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 8px;
}

section.resultados .container .card .preco {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #44494D;
    font-size: 16px;
    line-height: 16px;
}

section.resultados .container .card .caracteristicas {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding: 35px 15px 0;
}

.dormitorios,
.tamanho {
    padding-right: 15px;
}

.vagas img {
    padding-top: 4px;
}

.tamanho img {
    padding-top: 8px;
}

section.resultados .container .card .caracteristicas .dormitorios {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    
}


section.resultados .container .card .caracteristicas .dormitorios p {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #0C223A;
    font-size: 16px;
    line-height: 16px;
    margin-top: 5px;
}

section.resultados .container .card .caracteristicas .dormitorios span {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #6D6E70;
    font-size: 16px;
    line-height: 16px;
}

section.resultados .container .card .caracteristicas .tamanho p {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #0C223A;
    font-size: 16px;
    line-height: 16px;
    margin-top: 8px;
}

section.resultados .container .card .caracteristicas .vagas p {
    font-family: 'arquivo', sans-serif;
    font-weight: 400;
    color: #0C223A;
    font-size: 16px;
    line-height: 16px;
    margin-top: 2px;
}

section.banner .container .content-tabs .tab-codigo .buttons-group .search-button-codigo {
    background: #F4750E;
    border-radius: 100px;
    padding: 14px 36px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}

section.ordenar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

section.ordenar .container {
    max-width: 1120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
}

.sort-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-section label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.custom-select-wrapper {
    position: relative;
    min-width: 200px;
}

.select-trigger {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
    user-select: none;
}

.select-trigger:hover {
    border-color: #bbb;
}

.select-trigger.active {
    border-color: #F4750E;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select-text {
    font-size: 14px;
    color: #333;
    flex: 1;
}

.select-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.2s ease;
}

.select-trigger.active .select-arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #F4750E;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.select-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
}

.select-option:last-child {
    border-bottom: none;
}

.select-option:hover {
    background-color: #f8f9fa;
}

.select-option.selected {
    background-color: #F4750E;
    color: white;
}

.select-option.selected:hover {
    background-color: #F4750E;
}




@media (max-width:1024px) {

    section.resultados {
        padding: 40px 20px 40px;
    }


    section.resultados .container {
        justify-content: center;
    }
}

@media (max-width:767px) {
    section.banner {
        padding: 160px 20px;
    }

    section.banner .container .content-tabs .form-container .search-form .form-row {
        flex-direction: column;
    }

    section.banner .container .content-tabs .form-container .search-form .form-row .form-group {
        max-width: 100%;
    }

        section.resultados .container {
        flex-direction: column;
        align-items: center;
    }
    
    section.resultados .container .card {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}

/* CSS para carrossel - 1 IMAGEM POR VEZ */
.fotos .container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.fotos .content-banner {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
}

.fotos .content-banner img {
    flex: 0 0 100%; /* 1 imagem por vez - 100% da largura */
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.fotos .prev,
.fotos .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    width: 30px;
    height: 30px;
}

.fotos .prev:hover,
.fotos .next:hover {
    opacity: 1;
}

.fotos .prev {
    left: 10px;
}

.fotos .next {
    right: 10px;
}

/* Esconde botões quando há apenas uma imagem */
.fotos .prev[style*="display: none"],
.fotos .next[style*="display: none"] {
    display: none !important;
}


section.pagina {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 60px;
}

section.pagina ul {
    display: flex;
    gap: 20px;
}

section.pagina ul li {
    list-style: none;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 18px;
}

section.pagina ul li a {
    text-decoration: none;
    color: #000;
    border: 1px solid #fff;
    padding: 4px 8px;
    border-radius: 100px;
}

section.pagina ul .active span {
    border: 1px solid #000;
    padding: 4px 8px;
    border-radius: 100px;
}

.hide-filter {
  display: none;
}

.select2-container .select2-results__option--disabled {
  display: none !important;
}

.detalhesImovel {
    text-decoration: none;
}

#imagens {
    background: transparent url('assets/loading.gif') no-repeat 50% 50%;
    min-width: 150px;
    min-height: 150px;
}