/* ==========================================================================
   CSS CUSTOM PARA A VERSÃO 4 - KIMTEL IMOBILIÁRIA
   ========================================================================== */


/* --- 1. CABEÇALHO (NAVBAR) TRANSLÚCIDO E SÓLIDO --- */

@media (max-width: 767px) {
    H2 {
        line-height: 1.3 !important;
    }
}

#page-top {
    background: var(--hex_site) !important;
}

.menu {
    height: 80px !important;
}

.icone_menu {
    margin: 0 !important;
    font-size: 2.3rem !important;
}

.icone_menu.fa-facebook-f {
    font-size: 2rem !important;
}

.navbar {
    height: 80px !important;
    padding: 1rem 3rem !important;
    display: flex !important;
    align-items: center !important;
}

/* Translucidez Inicial no Topo - Barra Translúcida */
.navbar.navbar-translucent {
    background: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
    transition: background-color 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

.navbar.navbar-translucent-imovel {
    background: black !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

.navbar.navbar-translucent .nav-link,
.navbar.navbar-translucent-imovel .nav-link {
    display: flex;
    font-family: Montserrat !important;
    font-weight: 400 !important; /* Sem negrito */
    font-size: 1.4rem !important; /* Tamanho original */
    text-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

.navbar.navbar-translucent .nav-link:hover,
.navbar.navbar-translucent-imovel .nav-link:hover {
    color: var(--hex_menu) !important; /* Cor laranja da marca */
}

.navbar.navbar-translucent .divider,
.navbar.navbar-translucent-imovel .divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    background-color: transparent !important;
}

/* Solidificação ao Rolar a Tela - Barra Preta Sólida */
.navbar.navbar-solid {
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3) !important;
    transition: background-color 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

.navbar.navbar-solid .nav-link {
    display: flex;
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: Montserrat !important;
    font-weight: 400 !important; /* Sem negrito */
    font-size: 1.4rem !important; /* Tamanho original */
    text-shadow: none;
    transition: color 0.3s ease;
}

.navbar.navbar-solid .nav-link:hover {
    color: var(--hex_menu) !important;
}

.navbar.navbar-solid .divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Ajustes Gerais do Menu */
.navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.navbar.navbar-solid .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Customização dos Dropdowns para manter a consistência com o tema escuro/translúcido */
.navbar .dropdown-menu {
    background: rgba(18, 18, 18, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

.navbar .dropdown-item-menu {
    display: block;
    clear: both;
    width: 100%;
    padding: 8px 20px !important;
    border: 0;
    font-family: Montserrat !important;
    font-weight: 400 !important;
    font-size: 1.3rem !important;
    text-align: inherit;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent;
    transition: all 0.3s ease;
}
.navbar .dropdown-item-menu:hover {
    background-color: rgba(255, 123, 12, 0.2) !important;
    color: var(--hex_menu) !important;
    padding-left: 25px !important;
}

.navbar-expand-md .navbar-nav {
    align-items: center;
}

.nav-item.nav-link  {
    width: auto;
    text-align: center;
}

.navbar .divider {
    width: auto;
    height: 30px;
    margin: 0 10px 0 15px;
    border-top: none;
    border-left: 2px solid white;
    opacity: 1;
}

.navbar.navbar-expand-md .navbar-nav {
    z-index: 100000;
    position: inherit;
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: auto;
    margin: 0 -10px 0 0;
    list-style: none;
    box-shadow: none !important;
}

@media (max-width: 880px) {
    .navbar {
        padding: 1rem 2.5rem !important;
    }

    .navbar-brand img {
        width: 70px !important;
        margin-top: -1px;
    }

    .navbar.navbar-solid .nav-link {
        font-size: 1.2rem !important;
    }

    /* MENU HOTIZONTAL ABAIXO DO LOGOTIPO (Não apagar)
    .navbar.navbar-expand-md .navbar-nav {
        z-index: 100000;
        position: absolute;
        display: flex;
        flex-direction: row;
        justify-content: end;
        top: 83px;
        right: 0;
        width: 100%;
        margin: 0;
        padding-left: 10px;
        padding-right: 10px;
        list-style: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 5px 0 0 5px;
        box-shadow: none !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        background: rgba(0, 0, 0, 0.35) !important;
    }
    */

    .navbar.navbar-translucent .nav-link,
    .navbar.navbar-translucent-imovel .nav-link {
        font-size: 1.2rem !important;
    }
}

.icone_menu:hover {
    color: var(--hex_menu) !important;
}

.bl {
    z-index: 99999;
    position: fixed;
    top: 79px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid black;
    box-shadow: rgba(0, 0, 0, 0.5) 0 4px 4px;
    /*
    background-color: #FFEECD;
    background-color: white;
    */
    background-color: black;
}

.pc {
    width: 100%;
    height: 3px;
    background: transparent;
}

.pb {
    width: 0%;
    height: 3px;
    background-color: var(--hex-detalhes) !important;
}

/* --- 2. CARROSSEL CHEIO (PRIMEIRA DOBRA - 100VH) --- */

#hero.hero-v4 {
    height: 100vh !important;
    min-height: 100vh !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.hero-slider-v4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #111;
}

.hero-slider-v4 .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

/* Slide anterior (outgoing) que vai se contrair ao centro, revelando o slide ativo por baixo */
.hero-slider-v4 .slide.previous {
    z-index: 2 !important;
    -webkit-animation: laserShrink 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation: laserShrink 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 1 !important;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    will-change: clip-path, -webkit-clip-path;
}

.hero-slider-v4 .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s linear;
}

.hero-slider-v4 .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

/* Slide Ativo (Animação de Entrada e Ken Burns) */
.hero-slider-v4 .slide.active {
    opacity: 1;
    z-index: 1; /* Fica por baixo aguardando a revelação do anterior */
    pointer-events: auto;
}

.hero-slider-v4 .slide.active img {
    transform: scale(1.1); /* Efeito Ken Burns zoom-in lento */
}

/* Elementos de varredura a laser duplo no slide anterior */
.hero-slider-v4 .slide.previous::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(82, 82, 91, 0.2), #52525b 30%, #000000 50%, #52525b 70%, rgba(82, 82, 91, 0.2));
    box-shadow: 0 0 15px rgba(82, 82, 91, 0.8), 
                0 0 30px rgba(82, 82, 91, 0.6), 
                0 0 50px rgba(0, 0, 0, 0.9);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    -webkit-animation: laserLeftSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation: laserLeftSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slider-v4 .slide.previous::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(82, 82, 91, 0.2), #52525b 30%, #000000 50%, #52525b 70%, rgba(82, 82, 91, 0.2));
    box-shadow: 0 0 15px rgba(82, 82, 91, 0.8), 
                0 0 30px rgba(82, 82, 91, 0.6), 
                0 0 50px rgba(0, 0, 0, 0.9);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    -webkit-animation: laserRightSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation: laserRightSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@-webkit-keyframes laserShrink {
    0% {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        -webkit-clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%);
    }
}

@keyframes laserShrink {
    0% {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        -webkit-clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%);
        clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%);
    }
}

@-webkit-keyframes laserLeftSweep {
    0% {
        left: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 50%;
        opacity: 0;
    }
}

@keyframes laserLeftSweep {
    0% {
        left: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 50%;
        opacity: 0;
    }
}

@-webkit-keyframes laserRightSweep {
    0% {
        right: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        right: 50%;
        opacity: 0;
    }
}

@keyframes laserRightSweep {
    0% {
        right: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        right: 50%;
        opacity: 0;
    }
}

#imoveis .imoveis_listagem_bloco {
    justify-content: flex-start;
}

#imoveis .block__title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 20px 0 20px;
}

#imoveis .block__title H2 {
    margin: 0 !important;
    padding: 0 !important;
}

#imoveis .block__title I {
    width: auto !important;
    margin: 1px 0 0 5px !important;
    font-size: clamp(1.5rem, 1vw + .8rem, 2rem) !important;
    color: black;
}

.block.imoveis .container {
    width: 99.5%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.block.imoveis .coluna_imagem {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 2500px) {
    .block.imoveis .coluna_imagem {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1800px) {
    .block.imoveis .coluna_imagem {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 1300px) {
    .block.imoveis .coluna_imagem {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 798px) {
    .block.imoveis .coluna_imagem {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Pesquisa */

.filtro {
    z-index: 100 !important;
    position: absolute !important;
    bottom: 15px !important; /* Mantém a mesma posição vertical da versão 4 */
    left: 50% !important;
    width: calc(100% - 40px) !important; /* Mais próximo das bordas laterais */
    max-width: 1200px !important;
    margin: 0 !important;
    padding: 15px 30px !important;
    border-radius: 5px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    background-color: rgba(0, 0, 0, 0.35) !important; /* Fundo escuro semi-transparente do index2 */
    transform: translateX(-50%) !important;
    pointer-events: auto;
}

.filtro_codigo {
    display: block;
    position: relative;
    flex: 1 1 100% !important;
    bottom: 0;
    width: 120px;
    max-width: 100% !important;
    height: 26px;
    min-height: 26px;
    margin: 1px 10px 0 10px;
    padding: 0 5px;
    border: 0;
    border-radius: 3px;
    font-size: 12px;
    background-color: -moz-Combobox;
}
.filtro_codigo:active,
.filtro_codigo:focus,
.filtro_item:active,
.filtro_item:focus {
    outline: 2px solid var(--hex_menu);
}

#filtros.container-fluid {
    padding: 0 !important;
}

.filtro_container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-width: 100% !important;
    width: 100% !important;
}

.filtro_container .form-group {
    margin: 0;
}

.filtro_container .form-group DIV {
    line-height: 2.5rem;
}

.filtro_botoes {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important; /* Diminui um pouco a distância entre os 3 botões */
}

.filtro_botoes .icone_menu {
    margin: 0 !important;
    font-size: 2.3rem !important;
}

/* Estilização dos Botões de Pesquisa no estilo do index2 (ícones inline brancos com hover laranja) */
.pesquisar {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: auto !important;
    margin: 0 !important; /* Centralizado verticalmente com os demais elementos */
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    transition: none !important;
    cursor: pointer !important;
}

.pesquisar:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.pesquisar i {
    color: #ffffff !important;
    font-size: 2rem !important;
    opacity: 1 !important;
    transition: color 0.3s ease;
}

.pesquisar i:hover {
    color: var(--hex_menu) !important;
}

/* Fixa o ícone de interrogação no canto inferior direito do container de valores (sempre a 7px à direita e à cima da borda inferior) */

.form-group.valor {
    position: relative;
    bottom: 0;
    max-width: 283px !important;
    margin-bottom: 12px !important;
    margin-right: 20px !important;
}

.form-group.valor .fa-question-circle {
    position: absolute !important;
    top: auto !important;
    bottom: 7px !important;
    right: 7px !important;
    margin: 0 !important;
}

.form-group.valor .fa-question-circle {
    position: absolute !important;
    top: auto !important;
    bottom: -4px !important;
    right: -13px !important;
    margin: 0 !important;
}

.contact-box {
    margin-bottom: 0 !important;
    padding: 0;
}

.contact-box i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
    border: solid 1px white;
    border-radius: 50%;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    color: white;
    background: transparent !important;
}

/* Força o alinhamento horizontal e estilo do círculo e ícone */
.contact-tile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    color: #ffffff !important;
}

.contato .container.bloco_texto {
    margin-bottom: 50px;
    padding: 30px 2.5rem 50px !important;
    background-color: rgba(0, 0, 0, 0.5);
}

.empresa {
    z-index: 1000;
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: center !important;
    bottom: 0;
    margin-bottom: 20px;
    padding-bottom: 0;
    font-size: 16px;
    text-align: center;
    color: white;
}

.empresa .priv {
    border-bottom: 1px solid white;
    cursor: pointer;
}

/* --- 4. RESPONSIVIDADE (MOBILE ADAPTATION) --- */

.mobile-bottom-bar,
.mobile-menu-panel,
.mobile-menu-overlay {
    display: none;
}

/* Botão toggler superior: mesmo estilo visual do botão de menu da barra inferior */
/* Desktop button – appears where the mobile toggler was hidden */
@media (min-width: 768px) {
    #menu_s {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
        background: transparent !important;
        border: none !important;
        padding: 0;
        margin: 0;
        cursor: pointer;
        z-index: 10000 !important;
        color: #000000 !important; /* matches black icons */
    }

    #menu_s .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
        width: 1.8em !important;
        height: 1.8em !important;
        display: inline-block !important;
    }
}

@media (max-width: 768px) {
    .navbar.navbar-translucent, .navbar.navbar-solid,
    .navbar.navbar-translucent-imovel, .navbar.navbar-solid {
        padding: 1rem 1.5rem !important;
    }

    .navbar.navbar-translucent,
    .navbar.navbar-translucent-imovel {
        background: rgba(0, 0, 0, 0.35) !important;
    }

    .navbar.navbar-solid {
        background: #000000 !important;
    }

    .navbar {
        justify-content: center !important;
        height: 60px !important;
    }

    .logotipo_usuario {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .navbar-brand img {
        width: 70px !important;
        margin-top: -1px;
    }

    #menu_s {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        right: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: transparent !important;
        border: none !important;
        color: #000000 !important;
        font-size: 2.2rem !important;
        padding: 4px 8px !important;
        z-index: 10000 !important;
        cursor: pointer !important;
    }

    #menu_s .navbar-toggler-icon {
        display: none !important;
    }

    /* Dropdown do Bootstrap: slide de cima para baixo via posição */
    #navbarNavAltMarkup {
        position: fixed !important;
        top: -100% !important;           /* começa fora da tela acima */
        left: 0 !important;
        min-width: 200px !important;
        width: auto !important;
        max-width: 260px !important;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 0 0 7px 0;
        z-index: 9997;
        visibility: hidden;
        transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    #navbarNavAltMarkup.show {
        top: 60px !important;             /* posição final: logo abaixo da navbar */
        visibility: visible;
    }

    #navbarNavAltMarkup .navbar-nav {
        padding: 10px 0 15px !important;
    }

    #navbarNavAltMarkup .nav-link {
        padding: 12px 20px !important;
        font-size: 1.6rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Painel de menu mobile inferior (acionado pela barra inferior): slide de baixo para cima baseado no transform */
    .mobile-menu-panel {
        z-index: 9999 !important;
        overflow-y: auto !important;
        display: block;
        position: fixed !important;
        bottom: 35px !important;               /* posicionado logo acima da barra inferior de 35px */
        left: 0 !important;
        top: auto !important;
        min-width: 200px !important;
        max-width: 260px !important;
        background: #000000 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 0 7px 0 0;
        height: auto !important;
        max-height: calc(100vh - 80px) !important;
        transform: translateY(100%) !important; /* começa deslocado para baixo */
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
    }

    .mobile-menu-panel.show-mobile-menu {
        border-top: 1px solid var(--hex_menu);
        border-right: 1px solid var(--hex_menu);
        box-shadow: 1px -1px 10px rgba(var(--rgb_menu), 0.5), 4px -4px 12px rgba(var(--rgb_menu), 0.5) !important;
        transform: translateY(0) !important;   /* sobe de baixo para a sua posição normal */
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .mobile-menu-panel-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 8px 25px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-family: Montserrat !important;
        font-size: 1.5rem !important;
        font-weight: 400;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: color 0.3s ease, background-color 0.3s ease;
    }

    .mobile-menu-panel-item:hover,
    .mobile-menu-panel-item:active {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--hex_menu) !important;
        text-decoration: none;
    }

    .mobile-menu-panel-item:hover i,
    .mobile-menu-panel-item:active i {
        color: var(--hex_menu) !important;
    }

    .mobile-menu-panel-close {
        display: flex;
        justify-content: flex-end;
        padding: 2px 7px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-panel-close button {
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 2rem;
        cursor: pointer;
        padding: 0;
        transition: color 0.3s ease;
    }

    .mobile-menu-panel-close button:hover {
        color: var(--hex_menu);
    }

    /* Overlay escuro para fechar o menu ao clicar fora */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
    }

    .mobile-menu-overlay.show-overlay {
        display: block;
    }

    .menu {
        height: 60px !important;
    }

    .bl {
        top: 59px;
    }

    #whatsapp {
        display: none !important;
    }

    .mobile-bottom-bar {
        z-index: 10000;
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        height: 35px;
        border-top: 1px solid #000000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
    }

    .bottom-bar-item {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: auto;
        height: 100%;
        color: #000000 !important;
        transition: color 0.3s ease;
        cursor: pointer;
    }

    .bottom-bar-item i {
        margin: 0 6px 0 0;
        font-size: 20px;
        transition: color 0.3s ease;
    }

    .bottom-bar-item span {
        font-family: 'Poppins', sans-serif;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .bottom-bar-item:hover,
    .bottom-bar-item:active {
        color: var(--hex-detalhes) !important;
    }

    .bottom-bar-item:hover i,
    .bottom-bar-item:hover span,
    .bottom-bar-item:active i,
    .bottom-bar-item:active span {
        color: var(--hex-detalhes) !important;
    }

    .filtro {
        display: block !important;
        position: fixed !important;
        bottom: 30px !important;
        left: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
        padding: 25px 10px 30px !important;
        z-index: 9998 !important;
        transform: translateY(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, background-color 0.4s ease !important;
    }

    .filtro.show-filtro {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .filtro.filtro-solid {
        border-top: 1px solid var(--hex-detalhes) !important;
        background-color: #000000 !important;
    }
    
    /* Afasta a listagem de imóveis do topo para compensar a barra móvel */
    .block.imoveis {
        margin-top: 20px !important;
    }

    /* Centralização de todos os elementos do rodapé no mobile */
    #contato {
        text-align: center !important;
    }

    #contato h3 {
        text-align: center !important;
    }

    #contato .contact-tile {
        justify-content: center !important;
        padding: 0;
    }

    #contato .contact-box .descricao1,
    #contato .contact-box .descricao2 {
        text-align: center !important;
    }

    #contato .link_texto {
        display: inline-block !important;
        text-align: center !important;
    }

    #contato .footer-links-group {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: auto !important;
        max-width: 100% !important;
    }

    #contato .footer-links-group .descricao2,
    #contato .footer-links-group .link_texto {
        text-align: left !important;
    }

    #contato iframe {
        display: block !important;
        margin: 0 auto 30px auto !important;
        max-width: 100% !important;
    }

    #contato .contact-box {
        margin-bottom: 30px !important;
    }

    #contato .contact-box:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 460px) {
    .bottom-bar-item span {
        display: none;
    }
}


/* --- 5. BOTÃO SUSPENSO WHATSAPP CUSTOMIZADO --- */

.whatsapp:not(#imoveis .whatsapp) {
    z-index: 10000 !important;
    position: fixed !important;
    bottom: 90px !important;
    right: 10px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid black;
    border-radius: 50% !important;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
    background-color: #25D366 !important; /* Verde neon mais forte */
    transition: transform 0.3s ease, background-color 0.3s ease !important;
    animation: whatsapp-pulse 2s infinite !important;
    cursor: pointer !important;
}

.whatsapp:not(#imoveis .whatsapp):hover,
.whatsapp:not(#imoveis .whatsapp):focus {
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    background-color: #00cc52 !important;
    transform: scale(1.2) !important; /* Cresce até 60px (50px * 1.2 = 60px) */
}

.whatsapp:not(#imoveis .whatsapp) i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 26px !important;
    color: #ffffff !important;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7), 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 255, 102, 0), 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 102, 0), 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 1250px) {
    .whatsapp:not(#imoveis .whatsapp) {
        right: 20px !important;
    }
}

/* --- BOTÃO SUSPENSO INÍCIO --- */

.inicio {
    z-index: 10000 !important;
    position: fixed !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    bottom: -5px !important; /* Mantém o ícone na posição original (20px do bottom) */
    right: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 5px 5px 0 0;
    font-size: 22px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
}

.inicio i {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease !important;
}

.inicio:hover i,
.inicio:focus i {
    color: white !important;
    animation: inicio-bounce 2s infinite ease-in-out !important;
}

@keyframes inicio-bounce {
    0%, 100% {
        transform: translateY(0) scale(1.2);
    }
    20% {
        transform: translateY(-8px) scale(1.2);
    }
    40% {
        transform: translateY(0) scale(1.2);
    }
    60% {
        transform: translateY(-4px) scale(1.2);
    }
    80% {
        transform: translateY(0) scale(1.2);
    }
}

@media (max-width: 768px) {
    .inicio {
        display: none !important;
        width: 35px !important;
        height: 35px !important;
        bottom: 30px !important; /* Mantém o ícone na posição original do mobile (55px do bottom) */
        font-size: 20px !important;
    }
}

/* --- 6. PAINEL DE FRASES (SLIDER OVERLAY PANEL) --- */

.hero-title-panel {
    z-index: 5;
    position: absolute;
    top: 110px;
    left: 50%;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
    /*
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    */
}

/* Botão Tour Virtual / Detalhes do Imóvel abaixo da frase (mesma aparência da barra de pesquisa) */
.hero_botao {
    visibility:       hidden;
    display:          inline-block;
    margin-top:       25px;
    padding:          5px 20px;
    border-radius:    5px;
    box-shadow:       0 4px 15px rgba(0, 0, 0, 0.4);
    font-family:      Montserrat, sans-serif;
    font-size:        1.6rem;
    font-weight:      500;
    text-decoration:  none;
    color:            #ffffff;
    background-color: rgba(0, 0, 0, 0.35);
    opacity:          0;
    transform:        translateY(20px);
    transition:       opacity .6s ease, transform .6s ease, visibility .6s, color .3s ease;
    pointer-events:   auto;
}

/* Exibe o botão com animação (classe controlada pelo custom-ag.js) */
.hero_botao.visivel {
    visibility:       visible;
    opacity:          1;
    transform:        translateY(0);
}

/* Mesma cor de HOVER dos botões da Barra de Pesquisa (.pesquisar i:hover) */
.hero_botao:hover,
.hero_botao:focus {
    text-decoration:  none;
    color:            var(--hex_menu) !important;
}

.phrase-line-wrapper {
    overflow: hidden;
    display: block;
}

.phrase-line {
    font-family: Montserrat !important;
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(5rem, 1vw + 1.5rem, 5.5rem) !important;
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
    opacity: 0;
}

.phrase-line.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.phrase-line.instant-reset {
    transform: translateY(100%) !important;
    transition: none !important;
    opacity: 0 !important;
}

/*
@media (min-width: 769px) and (max-width: 880px) {
    .hero-title-panel {
        top: 170px !important;
    }
}
*/

@media (max-width: 768px) {
    header {
        margin-bottom: 2.5rem;
    }

    .hero-title-panel {
        top: 90px;
        width: 85%;
        padding: 15px;
        border-radius: 12px;
    }

    .phrase-line {
        font-size: 4rem !important;
    }

    /* Custom vertical transition for slide previous */
    .hero-slider-v4 .slide.previous {
        -webkit-animation: laserShrinkVertical 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
        animation: laserShrinkVertical 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    /* Top sweep laser line */
    .hero-slider-v4 .slide.previous::before {
        top: 0%;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        height: 2px !important;
        background: linear-gradient(to right, rgba(82, 82, 91, 0.2), #52525b 30%, #000000 50%, #52525b 70%, rgba(82, 82, 91, 0.2)) !important;
        box-shadow: 0 0 15px rgba(82, 82, 91, 0.8), 
                    0 0 30px rgba(82, 82, 91, 0.6), 
                    0 0 50px rgba(0, 0, 0, 0.9) !important;
        -webkit-animation: laserTopSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
        animation: laserTopSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    /* Bottom sweep laser line */
    .hero-slider-v4 .slide.previous::after {
        top: auto !important;
        bottom: 0%;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        height: 2px !important;
        background: linear-gradient(to right, rgba(82, 82, 91, 0.2), #52525b 30%, #000000 50%, #52525b 70%, rgba(82, 82, 91, 0.2)) !important;
        box-shadow: 0 0 15px rgba(82, 82, 91, 0.8), 
                    0 0 30px rgba(82, 82, 91, 0.6), 
                    0 0 50px rgba(0, 0, 0, 0.9) !important;
        -webkit-animation: laserBottomSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
        animation: laserBottomSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }
}

/* --- 7. KEYFRAMES ADICIONAIS PARA TRANSIÇÃO VERTICAL (MOBILE) --- */

@-webkit-keyframes laserShrinkVertical {
    0% {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        -webkit-clip-path: polygon(0% 50%, 100% 50%, 100% 50%, 0% 50%);
    }
}

@keyframes laserShrinkVertical {
    0% {
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        -webkit-clip-path: polygon(0% 50%, 100% 50%, 100% 50%, 0% 50%);
        clip-path: polygon(0% 50%, 100% 50%, 100% 50%, 0% 50%);
    }
}

@-webkit-keyframes laserTopSweep {
    0% {
        top: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 50%;
        opacity: 0;
    }
}

@keyframes laserTopSweep {
    0% {
        top: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 50%;
        opacity: 0;
    }
}

@-webkit-keyframes laserBottomSweep {
    0% {
        bottom: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 50%;
        opacity: 0;
    }
}

@keyframes laserBottomSweep {
    0% {
        bottom: 0%;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 50%;
        opacity: 0;
    }
}

/* --- 8. AJUSTES PARA DISPOSITIVOS COM RESOLUÇÃO DE 345PX OU MENOR --- */
@media (max-width: 345px) {
    .filtro_container select.filtro_item,
    .filtro_container input.filtro_codigo {
        width: 125px !important;
        max-width: 125px !important;
        min-width: 125px !important;
    }
}


/* --- 10. REMODELAÇÃO DO RODAPÉ (EFFECTS & PARALLAX REVEAL) --- */

/* Estilos de Background */
.footer-bg-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    background: #111 !important;
}

.footer-bg-slide {
    width: 100% !important;
    height: 100% !important;
}

.footer-bg-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scale(1);
    animation: footerZoom 20s ease-in-out infinite !important;
    will-change: transform;
}

.footer-bg-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    z-index: 2 !important;
}

#contato {
    position: relative !important;
    z-index: 3 !important;
    background: transparent !important; /* Remove o fundo anterior */
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Animação Contínua de Zoom */
@keyframes footerZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.overlay-elements {
    z-index: 1100 !important;
}

.page-wrapper {
    background-color: white !important;
}

.block.imoveis {
    margin-top: 10px !important;
}

.block .block__wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

.block .block__title {
    margin-bottom: 0;
}

.block .block__title h2,
#imoveis_visitados .titulo,
#semelhantes .titulo {
    display: block;
    margin: 20px 0 20px;
    font-family: Montserrat;
    font-size: clamp(1.5rem, 1vw + .8rem, 2rem) !important;
    font-weight: normal;
    text-align: center;
    color: black;
}

#imoveis_visitados .titulo,
#semelhantes .titulo {
    margin-bottom: 0 !important;
}

#imoveis_visitados .subtitulo {
    margin: 5px 0 0 !important;
}

#imoveis_visitados .subtitulo H4 {
    margin: 0 !important;
    font-family: Montserrat !important;
    font-size: clamp(1.3rem, 1vw + 0.7rem, 1.6rem) !important;
}

#imoveis_visitados .subtitulo I {
    width: auto !important;
    margin: 1px 0 0 5px !important;
    font-size: clamp(1.5rem, 1vw + 0.8rem, 2rem) !important;
    color: black !important;
}

#imoveis .imovel {
    border-radius: 5px !important;
    cursor: pointer;
}

#imoveis .gerenciar {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 10px;
    right: 13px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 18px;
    /* text-shadow: -1px -1px 0 black,1px -1px 0 black,-1px 1px 0 black,1px 1px 0 black,-1px 0 0 black,1px 0 0 black,0 -1px 0 black,0 1px 0 black; */
    color: white;
    background-color: rgba(255, 255, 255, 0.3);
}

#imoveis .botoes_imovel {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    top: 10px;
    left: unset;
    right: 10px;
    width: auto;
    padding: 0 5px;
    border: unset;
    border-radius: 19px;
    font-size: 18px;
    /* text-shadow: -1px -1px 0 black,1px -1px 0 black,-1px 1px 0 black,1px 1px 0 black,-1px 0 0 black,1px 0 0 black,0 -1px 0 black,0 1px 0 black; */
    color: white;
    background-color: rgba(255, 255, 255, 0.7);
}
#imoveis .botoes_imovel:hover {
    background-color: rgba(255, 255, 255, 1);
}

#imoveis .seta_esq,
#imoveis .seta_dir {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 27px;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    padding-top: 2px;
    border-radius: 50%;
    font-size: 17px;
    font-weight: bold;
    text-shadow: unset;
    color: black;
    background-color: unset;
}
#imoveis .seta_esq:hover,
#imoveis .seta_dir:hover {
    color: darkorange !important;
}

#imoveis .seta_esq {
    margin-right: -3px !important;
}

#imoveis .favoritos {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 27px;
    margin-left: 0;
    padding-top: 2px;
    font-size: 18px;
    color: black;
}
#imoveis .favoritos:hover {
    color: red !important;
    background-color: unset !important;
}

#imoveis .whatsapp {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 27px;
    margin-left: 12px;
    padding-top: 0;
    font-size: 21px;
    color: black;
}
#imoveis .whatsapp:hover {
    color: green !important;
    background-color: unset !important;
}

#imoveis .cadastro {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 27px;
    margin-left: 3px;
    padding-top: 0;
    font-size: 15px;
    color: black;
}
#imoveis .cadastro:hover {
    color: #1E90FF !important;
    background-color: unset !important;
}

#imoveis .historico {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 27px;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    padding-top: 2px;
    border-radius: 50%;
    font-size: 23px;
    font-weight: bold;
    text-shadow: unset;
    color: black;
    background-color: unset;
}
#imoveis .historico:hover {
    color: darkviolet !important;
}

#imoveis_visitados #imoveis {
    margin: 30px 0 20px !important;
}

#imoveis_visitados #imoveis .row {
    scrollbar-color: var(--hex-detalhes) rgba(0, 0, 0, 0.3) !important;
    border-radius: 5px !important;
    box-shadow: unset !important;
}

#imoveis_visitados #imoveis .row::-webkit-scrollbar-track {
    /* Define uma borda para o trilho */
    border: 1px solid var(--hex-detalhes) !important;;
    /* Você também pode mudar a cor de fundo do trilho */
    /* background: rgba(0, 191, 255, 0.2); !important;; */
}

#imoveis_visitados #imoveis .row::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3) !important;;
}


#imoveis_visitados #imoveis .row .imovel_visitado {
    overflow: hidden;     /* Impede que a imagem sobrescreva as margem do pai */
    border-right: 2px solid white !important;
    box-sizing: unset;
}

#imoveis_visitados #imoveis .row #cards {
    width: 299px;
    border: unset;
}

#imoveis_visitados #imoveis .row #cards h4 {
    font-weight: normal;
}

.carrossel-imoveis .seta-esquerda,
.carrossel-imoveis .seta-direita {
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33px !important;
    height: 33px !important;
    margin: 0 !important;
    padding: 10px;
    border: 1px solid black;
    border-radius: 50%;
    font-size: 23px;
    color: black;
    background-color: white;
    cursor: pointer;
}
.carrossel-imoveis .seta-esquerda:hover,
.carrossel-imoveis .seta-direita:hover {
    color: white;
    background: var(--hex-detalhes);
}

.carrossel-imoveis .seta-esquerda {
    margin-right: 10px !important;
}

.carrossel-imoveis .seta-direita {
    margin-left: 10px !important;
}

@media (max-width: 768px) {
    .carrossel-imoveis .seta-esquerda,
    .carrossel-imoveis .seta-direita {
        position: absolute;
        display: none;
        top: 40px;
        width: 25px !important;
        height: 25px !important;
        margin: 0 !important;
        font-size: 18px;
        background-color: rgba(255, 255, 255, 0.7);
    }
}

.box.box--pricing .box__wrapper {
    box-shadow: 0 0.1rem 0.51rem rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5);
}

.box.box--pricing .box__wrapper .codigo_imovel,
#imoveis_visitados .codigo_imovel {
    position: absolute;
    bottom: 0;
    left: 10px;
    padding: 3px 10px;
    border-radius: 19px;
    font-family: Montserrat !important;
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.5rem) !important;
    font-weight: normal;
    color: black;
    background-color: rgba(255, 255, 255, 0.7);;
    opacity: 1;
    pointer-events: all;
}

.box.box--pricing .box__wrapper .valor_imovel,
#imoveis_visitados .valor_imovel {
    position: absolute;
    bottom: 0;
    right: 10px;
    padding: 3px 10px;
    border-radius: 19px;
    font-family: Montserrat !important;
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.5rem) !important;
    font-weight: normal;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
    pointer-events: all;
}

#imoveis_visitados .baloes {
    position: relative;
    height: auto;
}

#imoveis .box__content {
    padding: 5px 0 !important;
}

.box__content .descricao_linear {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 !important;
}

.box__content .descricao_dividida {
    z-index: 100;
    display: flex;
    flex-direction: row;            /* Coloca as divs em linha */
    justify-content: space-between; /* Empurra uma para cada lado */
    align-items: center;            /* Centraliza verticalmente se as alturas forem diferentes */
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    padding: 0 15px !important;
    pointer-events: all;
}

.box__content .descricao_dividida div:first-child {
    min-width: 0;
    text-align: left;
}

.box__content .descricao_dividida div:last-child {
    align-self: start;
    width: auto;
    /* min-width: 80px; */
    text-align: right;
    white-space: nowrap;
}

#imoveis .box__content H3,
.box__content .descricao_dividida H3,
.box__content .descricao_dividida H4 {
    margin: 0 !important;
    font-family: Montserrat !important;
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.75rem) !important;
    line-height: 1.5;
}

#imoveis .box__content H3 {
    overflow: hidden;
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.5rem) !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.box__content .descricao_dividida UL {
    margin: 0 !important;
    text-align: right !important;
}

.box.box--pricing ul,
#imoveis_visitados #imoveis .row #cards ul {
    opacity: 1 !important;
}

.box__content .descricao_dividida LI {
    font-family: Montserrat !important;
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.5rem) !important;
    line-height: 1.5;
    color: black;
    opacity: 1;
}

/* Detalhamento do Imóvel */

#imovel .container {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

#imovel .favoritos {
    background-color: transparent;
}

#detalhes-img {
    margin: 0 !important;
}

#detalhes-img .titulo {
    font-family: Montserrat;
    font-size: clamp(1.5rem, calc(3vw + 1rem), 2.3rem) !important;
    color: black;
}

#valores .valores_linha {
    font-family: Montserrat;
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.75rem) !important;
}

#detalhes-img .titulo_v {
    font-family: Montserrat;
    text-align: left !important;
}

#caracteristicas,
#caracteristicas P {
    font-family: Montserrat;
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.75rem) !important;
    opacity: 1 !important;
}

.img-fluid.detalhe {
    margin: 0 0 5px 0 !important;
    border: none !important;
    border-radius: 5px !important;
}

.row.imagens_row DIV {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.row.imagens_row DIV .valores_item {
    width: 130px !important;
}

/* Efeito Parallax Reveal (Telas Grandes) */
@media (min-width: 769px) {
    html, body {
        height: auto !important;
    }

    .page-wrapper {
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 100vh !important;       /* Abre o espaço para revelar o footer */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    }
    
    footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        z-index: 1 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

/* Adaptação Mobile (Normal Scroll) */
@media (max-width: 768px) {
    .page-wrapper {
        margin-bottom: 0 !important;
        box-shadow: none !important;
    }
    
    footer {
        position: relative !important;
        z-index: 1 !important;
        height: auto !important;
        min-height: 100vh !important;
        display: block !important;
    }

    #contato {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding: 60px 0 10px 0 !important;
        height: auto !important;
        min-height: 100vh !important;
        position: absolute !important;
        bottom: 0;
    }
}


/* ==========================================
   ESTRUTURA PRINCIPAL DO RODAPÉ (FLEX-GRID)
   ========================================== */

/* Garante que o rodapé e todos os seus filhos recebam cliques */
footer, #contato, .footer-container-wrapper {
    pointer-events: auto !important;
}

/* Garante que o parallax não bloqueie links da página principal */
.page-wrapper {
    position: relative !important;
    z-index: 2 !important;
}

.footer-container-wrapper {
    container-type: inline-size !important;
    container-name: footer-container !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(5px);          /* Intensidade do desfoque */
    -webkit-backdrop-filter: blur(5px);  /* Compatibilidade com Safari */
}

@media (max-width: 768px) {
    #contato {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
        padding: 0 0 30px !important;
    }

    footer {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        display: block !important;
    }

    #contato H3 {
        margin-bottom: 20px;
    }

    .contact-box I {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    #contato .footer-divider {
        margin: 10px auto !important;
    }


    .contact-box .descricao2, .contact-box .descricao2 A {
        margin-bottom: 2px;
    }


    .contact-box {
        margin-bottom: 20px !important;
    }

    #contato IFRAME {
        height: 100px;
        max-height: 100px;
        border: 0;
    }
}

/* --- Estilizações Customizadas e Efeitos Visuais Premium do Novo Rodapé --- */

#contato h3,
#contato .descricao1,
#contato .descricao2,
#contato .link_texto,
#contato .empresa,
#contato .empresa figure,
#contato .empresa span {
    color: #ffffff !important;
    font-family: Montserrat !important;
}

/* Garante a cor branca e opacidade total (1) para todos os links e textos mesmo sob hover/focus/active */
#contato a,
#contato a:hover,
#contato a:focus,
#contato a:active,
#contato .link_texto,
#contato .link_texto:hover,
#contato .cursor_hand,
#contato .cursor_hand:hover,
#contato .cursor_arrow,
#contato .cursor_arrow:hover,
#contato .descricao2,
#contato .descricao2 a {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Reset do ícone fa-chevron-right para não herdar de .contact-box i */
#contato .contact-box i.fa-chevron-right,
#contato .contact-box i.footer-chevron {
    width: auto !important;
    height: auto !important;
    margin: 0 8px 0 0 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 0.75em !important;
    line-height: inherit !important;
    text-align: inherit !important;
    background: transparent !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease !important;
    transform: none;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Garante que o hover de elevação do contact-box i não afete o chevron */
#contato .contact-box i.fa-chevron-right:hover,
#contato .contact-box i.footer-chevron:hover {
    transform: none;
    background: transparent !important;
    border: none !important;
}

#contato .footer-chevron {
    display: inline-block !important;
    font-size: 0.75em !important;
    margin-right: 8px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease !important;
    vertical-align: middle !important;
}

/* Monochromatic link hover transition */
#contato .link_texto,
#contato .empresa .cursor_hand {
    transition: color 0.3s ease, transform 0.3s ease !important;
    display: inline-block !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

#contato .link_texto:hover {
    color: #ffffff !important;
    transform: translateX(6px) !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

#contato .link_texto:hover .footer-chevron {
    animation: chevron-wiggle 0.6s ease-in-out infinite !important;
    color: #ffffff !important;
}

@keyframes chevron-wiggle {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

/* Linha divisória cinza no rodapé */
#contato .footer-divider {
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.3) !important;
    margin: 20px auto;
    width: 90% !important;
    max-width: 1200px !important;
    display: block !important;
}

@media (max-width: 990px) {
    #contato .footer-divider {
        visibility: hidden !important;
        margin: 5px !important;
    }
}

#contato iframe {
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

#contato iframe:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Desativa os efeitos visuais de hover nos ícones circulares reais (não-chevrons) */
#contato .contact-box i:not(.fa-chevron-right):not(.footer-chevron):hover {
    transform: none !important;
    background-color: transparent !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

#contato .empresa img.cursor_hand {
    transition: transform 0.3s ease !important;
}

#contato .empresa img.cursor_hand:hover {
    transform: scale(1.2) !important;
}

/* Tamanho de fontes responsivo utilizando CLAMP() */
#contato h3 {
    margin-top: 30px;
    padding-bottom: 5px;
    font-size: clamp(2rem, calc(3vw + 1rem), 2.3rem) !important;   /* Adicionar calc() pode forçar a preservação do cálculo */
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
}

.contact-box .descricao1 {
    font-size: clamp(1.3rem, calc(1.2vw + 0.8rem), 1.75rem) !important;
}

.contact-box .descricao2,
#contato .link_texto {
    font-size: clamp(1.3rem, calc(1.2vw + 0.8rem), 1.75rem) !important;
}

@media (min-width: 992px) and (max-width: 1130px) {
    .contact-box .descricao1,
    .contact-box .descricao2,
    #contato .link_texto {
        font-size: clamp(1.3rem, calc(1.2vw + 0.8rem), 1.5rem) !important;
    }
}

#contato .empresa,
#contato .empresa figure {
    font-size: clamp(1.1rem, calc(1vw + 0.8rem), 1.5rem) !important;
}

#contato .empresa,
#contato .empresa figure {
    font-size: clamp(1.1rem, calc(1vw + 0.8rem), 1.5rem) !important;
}

#contato h3,
#contato .contact-box,
#contato iframe,
#contato .empresa figure,
.contact-box .descricao2,
.contact-box .descricao2 A {
    opacity: 1 !important;
}

/* ==========================================================================
   6. SEÇÃO SOBRE REMODELADA (ESTILO CORPORATIVO PREMIUM E IMERSIVO)
   ========================================================================== */

#sobre {
    position: relative;
    padding: 100px 0 !important;
    background: radial-gradient(circle at 10% 20%, rgba(18, 18, 18, 0.98) 0%, rgba(0, 0, 0, 0.99) 90%) !important;
    overflow: hidden;
    color: #ffffff !important;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    #sobre {
        padding: 50px 0 !important;
    }
}

#sobre.sobre-visible {
    opacity: 1;
    transform: translateY(0);
}

#sobre::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 123, 12, 0.15) 0%, rgba(255, 123, 12, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
    animation: orbFloat 10s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(1.1); }
}

/* Coluna de Imagem / Efeito 3D */
#sobre .sobre-visual-container {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

#sobre.sobre-visible .sobre-visual-container {
    opacity: 1;
    transform: translateX(0);
}

.sobre-image-card {
    overflow: visible;
    position: relative;
    width: 90%;
    margin-left: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

.sobre-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
    box-shadow: 0 30px 60px rgba(var(--rgb-detalhes), 0.5);
}

.sobre-img-showcase {
    width: 100%;
    height: auto;
    border-radius: 7px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sobre-card-overlay {
    position: absolute;
    inset: 0;
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

.sobre-glow-border {
    position: absolute;
    inset: -2px;
    border-radius: 7px;
    background: var(--deg-detalhes);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.sobre-image-card:hover .sobre-glow-border {
    opacity: 1;
}

/* Badge Flutuante */
.sobre-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--hex-detalhes);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px var(--hex-detalhes);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: badgeFloat 2s ease-in-out infinite alternate;
    z-index: 3;
}

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-16px); }
}

.badge-years {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: lowercase;
}

/* Coluna de Texto */
#sobre .sobre-text-container {
    z-index: 2;
    padding-left: 40px !important;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

#sobre.sobre-visible .sobre-text-container {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 992px) {
    #sobre .sobre-text-container {
        padding-left: 15px !important;
        margin-top: 50px;
    }
}

#sobre h2,
.sobre-title-wrapper h2 {
    margin: 0 0 15px !important;
    padding: 2rem 30px 0 20px !important;
    font-family: Montserrat !important;
    font-size: clamp(2rem, 1vw + 1rem, 3rem) !important;
    font-weight: normal !important;
    text-shadow: none !important;
    color: #ffffff !important;
}

.sobre-subtitle {
    display: block;
    margin-bottom: 8px;
    padding: 0 20px;
    font-family: Montserrat;
    font-size: clamp(1.3rem, 1vw + 0.8rem, 1.7rem) !important;;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hex_menu);
}

.sobre-title-line {
    display: none !important;
}

#sobre #sobre_quadro {
    width: 100% !important;
}

.sobre-content-box {
    font-family: Montserrat !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.sobre-lead {
    font-family: Montserrat !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.sobre-paragraph {
    margin-bottom: 18px !important;
    padding: 0 20px;;
    text-align: justify;
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

/* Lista de Itens (Bullets com Checkmark) */
.sobre-bullets-list {
    list-style: none;
    padding: 0 20px;;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sobre-bullets-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#sobre.sobre-visible .sobre-bullets-list li {
    opacity: 1;
    transform: translateY(0);
}

#sobre.sobre-visible .sobre-bullets-list li:nth-child(1) { transition-delay: 0.5s; }
#sobre.sobre-visible .sobre-bullets-list li:nth-child(2) { transition-delay: 0.6s; }
#sobre.sobre-visible .sobre-bullets-list li:nth-child(3) { transition-delay: 0.7s; }
#sobre.sobre-visible .sobre-bullets-list li:nth-child(4) { transition-delay: 0.8s; }
#sobre.sobre-visible .sobre-bullets-list li:nth-child(5) { transition-delay: 0.9s; }
#sobre.sobre-visible .sobre-bullets-list li:nth-child(6) { transition-delay: 1.0s; }

.bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    margin-top: 4px;
    border-radius: 50%;
    font-size: 1.1rem;
    font-size: 1.5rem;
    color: white;
    background-color: var(--hex-detalhes);
}

.bullet-text {
    font-family: Montserrat !important;
    font-weight: 500;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.6);
}

.sobre-footer-quote {
    margin-top: 35px;
    margin-left: 20px;
    padding: 0 20px;;
    border-left: 4px solid var(--hex-detalhes);
    font-style: italic;
    font-family: Montserrat !important;
    text-align: justify;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.95);
}

.sobre-content-box,
.sobre-lead,
.bullet-text,
.sobre-footer-quote,
.equipe-lead {
    font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.75rem) !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    p {
        font-size: clamp(1.4rem, calc(1.2vw + .8rem), 1.75rem) !important;
        line-height: 2.4rem;
    }
}

@media (max-width: 768px) {
    .sobre-image-card {
        width: 87%;
        margin-left: 10px;
    }

    .bullet-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }
}

/* 7. SEÇÃO EQUIPO */

#equipe {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(18, 18, 18, 0.98) 0%, rgba(0, 0, 0, 0.99) 90%) !important;
    overflow: hidden;
    color: #fff !important;
}

/* Efeito de flutuação orb de fundo similar ao do Sobre */
#equipe::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    /* background: radial-gradient(circle, rgba(255, 123, 12, 0.12) 0%, rgba(255, 123, 12, 0) 70%); */
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
    animation: orbFloatEquipe 12s ease-in-out infinite alternate;
}

@keyframes orbFloatEquipe {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.15); }
}

#equipe .container {
    z-index: 2;
    position: relative;
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 0 100px !important;
}

@media (max-width: 768px) {
    #equipe .container {
        padding: 50px 0 !important;
    }
}

/* Cabeçalho da seção */
.equipe-header {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 55px;
}

#equipe.equipe-visible .equipe-header {
    opacity: 1;
    transform: translateY(0);
}

.equipe-subtitle {
    font-family: Montserrat;
    font-size: clamp(1.3rem, 1vw + 0.8rem, 1.7rem) !important;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--hex_menu);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

#equipe h2 {
    margin: 0 0 15px 0 !important;
    padding: 2rem 20px 0 20px !important;
    font-family: Montserrat !important;
    font-size: clamp(2.5rem, 1vw + 1rem, 3rem) !important;
    font-weight: normal !important;
    text-shadow: none !important;
    color: #fff !important;
}

.equipe-lead {
    margin-bottom: 18px !important;
    font-family: Montserrat;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

/* Container do Slider */
.equipe-slider-container {
    position: relative;
    margin-top: 40px;
    padding: 0 50px;
}

/* Swiper styling padding trick para permitir hover translateY sem clipping */
.specialists-swiper {
    padding: 40px 0 !important;
    margin: -40px 0 !important;
    overflow: hidden;
}

/* Força transição linear contínua sem aceleração/desaceleração no wrapper do Swiper */
.specialists-swiper .swiper-wrapper {
    height: auto;
    background-color: transparent;
    transition-timing-function: linear !important;
}

/* Slides / Cards */
.especialista-card {
    position: relative;
    height: 480px;
    padding: 0 !important;
    box-sizing: border-box;
    z-index: 1;
    opacity: 1 !important;
    transform: scale(0.95); /* Tamanho padrão levemente menor para os cards laterais */
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.25s ease;
}

/* O card que está no centro (ativo) ganha destaque de escala ampliada */
.specialists-swiper .swiper-slide-active {
    transform: scale(1.08) !important;
    z-index: 5 !important;
}

/* Corpo interno do Card: sem sombra, sem borda e com fundo transparente por padrão */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: none !important;
    border: none !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Borda branca de 1px e sombra exclusiva no card que está no centro (maior) */
.specialists-swiper .swiper-slide-active .card-inner {
    border: 1px solid #ffffff !important;
    /* box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.2) !important; */
}

/* Imagem e efeito Zoom-In */
.card-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    z-index: 1;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.especialista-card:hover .card-img {
    transform: scale(1.1);
}

/* Gradiente escuro para legibilidade */

.card-img {
    border-radius: unset;
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.5) 45%,
        rgba(0, 0, 0, 0) 80%
    );
    z-index: 2;
    pointer-events: none;
}

/* Textos do card */
.card-info {
    position: absolute;
    bottom: 30px;
    left: 25px;
    right: 25px;
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.especialista-card:hover .card-info {
    transform: translateY(-5px);
}

.card-name {
    font-family: Montserrat !important;
    font-size: clamp(1.8rem, 1.2vw + 1rem, 2.2rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
}

.card-role {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 0.8vw + 0.8rem, 1.3rem) !important;
    font-weight: 500;
    color: var(--hex_menu) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* Setas de navegação Swiper */
.spec-prev,
.spec-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 12;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease !important;
}

.spec-prev::after,
.spec-next::after {
    display: none !important;
}

.spec-prev i,
.spec-next i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.spec-prev {
    left: -10px;
}

.spec-next {
    right: -10px;
}

.spec-prev:hover,
.spec-next:hover {
    background: var(--hex-detalhes) !important;
    border-color: var(--hex-detalhes) !important;
    color: #fff !important;
}

.spec-prev:hover i {
    transform: translateX(-2px);
}

.spec-next:hover i {
    transform: translateX(2px);
}

.spec-prev:active,
.spec-next:active {
    transform: translateY(-50%) scale(0.92) !important;
}

/* Responsividade de padding lateral da seção */
@media (max-width: 768px) {
    .equipe-slider-container {
        padding: 0 10px;
    }
    .spec-prev {
        left: -5px;
    }
    .spec-next {
        right: -5px;
    }
    .spec-prev,
    .spec-next {
        width: 40px;
        height: 40px;
    }
    .spec-prev i,
    .spec-next i {
        font-size: 1.2rem;
    }
}

/* Modo Estático / Centralizado para Menos de 4 Cards */
.specialists-swiper.swiper-no-init {
    overflow: visible !important;
}

.specialists-swiper.swiper-no-init .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    transform: none !important;
    width: 100% !important;
}

.specialists-swiper.swiper-no-init .especialista-card {
    flex: 0 0 280px !important;
    max-width: 100% !important;
    margin: 15px !important;
    height: 480px !important;
    transform: scale(1) !important;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.25s ease !important;
}

.specialists-swiper.swiper-no-init .especialista-card:hover {
    transform: scale(1.08) !important;
    z-index: 5 !important;
}

.specialists-swiper.swiper-no-init .especialista-card:hover .card-inner {
    border: 1px solid #ffffff !important;
}

@media (max-width: 576px) {
    .specialists-swiper.swiper-no-init .swiper-wrapper {
        gap: 15px !important;
    }
    .specialists-swiper.swiper-no-init .especialista-card {
        flex: 0 0 100% !important;
        max-width: 290px !important;
        margin: 10px auto !important;
    }
}

/* Linha divisória entre as seções Sobre e Equipe */
DIV.equipe-divider {
    display: block !important;
    width: 70% !important;
    max-width: 70% !important;
    height: 1px !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.fundo_sem_imagem,
#semelhantes.fundo_sem_imagem,
.footer-bg-container.fundo_sem_imagem {
    /* background: radial-gradient(circle at 10% 20%, rgba(18, 18, 18, 0.98) 0%, rgba(0, 0, 0, 0.99) 90%) !important; */
    background: var(--deg_semelhantes) !important;
}

#semelhantes {
    position: relative;
    padding-bottom: 60px;
}

#detalhes-img .coluna_fixa_info {
    position: sticky !important;
    height: auto !important;
    margin-bottom: 10px !important;
}

@media (min-width: 991px) {
    #imovel {
        overflow: visible !important;
    }
    #detalhes-img .coluna_fixa_info {
        position: sticky !important;
        overflow-y: auto !important;
        top: 105px !important;
        height: calc(100vh - 120px) !important;
        padding-left: 2rem !important;
        padding-right: 1rem !important;
    }
}

/* Alinhamento global de fontes do Menu e do Rodapé (baseado na Tela Inicial) */
.navbar .nav-link,
.navbar .nav-link.active,
.navbar .dropdown-item-menu {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.4rem !important;
    text-shadow: none !important;
}

@media (max-width: 880px) {
    .navbar .nav-link,
    .navbar .nav-link.active {
        font-size: 1.2rem !important;
    }
}

#contato,
.footer-container-wrapper,
#contato .descricao1,
#contato .descricao2,
#contato .link_texto,
#contato .empresa,
#contato .empresa figure,
#contato .empresa span,
#contato h3 {
    font-family: 'Montserrat', sans-serif !important;
}

/* Restaurador universal de ícones FontAwesome */
#contato i,
.navbar i,
#contato [class*="fa-"],
.navbar [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome" !important;
}

#contato h3 {
    font-size: clamp(2rem, calc(3vw + 1rem), 2.3rem) !important;
}

.contact-box .descricao1,
.contact-box .descricao2,
#contato .link_texto {
    font-size: clamp(1.3rem, calc(1.2vw + 0.8rem), 1.75rem) !important;
}

@media (min-width: 992px) and (max-width: 1130px) {
    .contact-box .descricao1,
    .contact-box .descricao2,
    #contato .link_texto {
        font-size: clamp(1.3rem, calc(1.2vw + 0.8rem), 1.5rem) !important;
    }
}

#contato .empresa,
#contato .empresa figure {
    font-size: clamp(1.1rem, calc(1vw + 0.8rem), 1.5rem) !important;
}

/* ==========================================================================
   RODAPÉ EM CELULARES NA HORIZONTAL (PAISAGEM)
   Aplicado apenas quando a tela está deitada e com altura de celular (até 500px).
   Compacta os Contatos, a Localização (mapa pequeno) e a linha da empresa para caberem em uma única tela,
   mantendo o mesmo layout das telas maiores (Contatos 3/4 + Localização 1/4) com elementos menores.
   ========================================================================== */
@media (orientation: landscape) and (max-height: 500px) {
    /* Conteúdo do rodapé alinhado à base da tela, sem espaços extras */
    #contato {
        justify-content:        flex-end !important;
        min-height:             100vh !important;
        padding:                0 0 6px 0 !important;
    }

    FOOTER {
        justify-content:        flex-end !important;
    }

    #contato .footer-container-wrapper .container {
        max-width:              100% !important;
        padding-left:           20px !important;
        padding-right:          20px !important;
    }

    /* Contatos e Localização lado a lado, na mesma proporção das telas maiores (col-lg-9 / col-lg-3) */
    #contato .rodape_contatos {
        flex:                   0 0 75% !important;
        max-width:              75% !important;
        padding-right:          12px !important;
    }

    #contato .rodape_localizacao {
        display:                block !important;
        flex:                   0 0 25% !important;
        max-width:              25% !important;
        padding-left:           12px !important;
    }

    /* Mapa pequeno, alinhado à linha dos ícones dos Contatos */
    #contato .rodape_localizacao IFRAME {
        display:                block !important;
        width:                  100% !important;
        height:                 125px !important;
        min-height:             0 !important;
        max-height:             125px !important;
        margin:                 0 !important;
    }

    /* Título e colunas empilhados como blocos: o flex em coluna do style-aux.css calculava a altura das colunas
       com larguras provisórias, deixando ~33px vazios abaixo dos contatos */
    #contato .rodape_colunas {
        display:                block !important;
    }

    /* Título "Contatos" (alinhado à esquerda, como no layout original) */
    #contato H3 {
        margin-top:             8px !important;
        margin-bottom:          8px !important;
        padding-bottom:         3px !important;
        font-size:              15px !important;
        line-height:            1.3 !important;
        text-align:             left !important;
    }

    /* Anula a centralização das regras de celular em pé (max-width: 768px), mantendo o alinhamento à esquerda */
    #contato .contact-box,
    #contato .contact-box .descricao1,
    #contato .contact-box .descricao2 {
        text-align:             left !important;
    }

    #contato .contact-tile {
        justify-content:        flex-start !important;
    }

    /* Mantém as 3 colunas lado a lado (28% / 28% / 44%: próximo do layout original e sem quebrar "9h às 18h (seg. a sex.)")
       Altura definida apenas pelo conteúdo (anula alturas mínimas herdadas) */
    #contato .rodape_colunas .contact-box {
        flex:                   0 0 28% !important;
        height:                 auto !important;
        min-height:             0 !important;
        max-width:              28% !important;
        margin-bottom:          0 !important;
    }

    #contato .rodape_colunas .contact-box.email {
        flex:                   0 0 44% !important;
        max-width:              44% !important;
    }

    /* Ícones circulares menores. O contêiner tem a mesma altura dos ícones (22px) em todas as colunas:
       os "&nbsp;" entre os ícones da 2ª coluna herdavam line-height de 24px e a deixavam 2px mais alta */
    #contato .contact-box .contact-tile {
        height:                 22px !important;
        margin-bottom:          4px !important;
        line-height:            22px !important;
    }

    #contato .contact-box I:not(.footer-chevron) {
        width:                  22px !important;
        height:                 22px !important;
        margin-bottom:          0 !important;
        font-size:              11px !important;
        line-height:            22px !important;
    }

    /* Textos e links dos contatos */
    #contato .contact-box .descricao1,
    #contato .contact-box .descricao2,
    #contato .contact-box .descricao2 A,
    #contato .link_texto {
        margin-bottom:          0 !important;
        font-size:              11px !important;
        line-height:            1.5 !important;
    }

    /* Espaçamento vertical entre as linhas (títulos um pouco mais afastados que os links) */
    #contato .contact-box .descricao1 {
        padding:                3px 0 !important;
    }

    #contato .contact-box .descricao2 {
        padding:                2px 0 !important;
    }

    /* Linha divisória e linha da empresa (nome, CRECI, CNPJ, etc.) */
    #contato .footer-divider {
        margin:                 4px auto !important;
    }

    #contato .empresa,
    #contato .empresa FIGURE {
        margin-top:             0 !important;
        margin-bottom:          0 !important;
        font-size:              11px !important;
        line-height:            1.6 !important;
    }

    /* Itens alinhados pela linha de base do texto (o "®" possui fonte maior definida no próprio HTML) */
    #contato .empresa {
        align-items:            baseline !important;
        padding-left:           10px !important;
        padding-right:          10px !important;
    }

    #contato .empresa FIGURE {
        margin-left:            0 !important;
        margin-right:           0 !important;
        padding:                0 5px !important;
    }

    #contato .empresa IMG {
        width:                  14px !important;
    }
}

/* Celulares na horizontal com mais de 768px de largura: reserva espaço à direita para os botões fixos
   (WhatsApp: 60px; navegação do Tour: 64px), evitando que fiquem sobre o mapa da Localização */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 769px) {
    #contato .footer-container-wrapper .container {
        padding-right:          72px !important;
    }
}

/* Celulares na horizontal com até 768px de largura: reserva espaço para a barra fixa inferior (35px) das páginas que a possuem */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 768px) {
    BODY:has(.mobile-bottom-bar) #contato {
        padding-bottom:         41px !important;
    }
}


