/* =======================================================
   HERO EMPRESA
======================================================= */

.empresaHero{

    position:relative;

    width:100%;

    height:360px;

    overflow:hidden;

    margin-bottom:50px;

}
/* ------------------------------ */

.empresaHero__bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

/* ------------------------------ */

.empresaHero__overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.72) 35%,
        rgba(0,0,0,.45) 70%,
        rgba(0,0,0,.20) 100%
    );

}

/* ------------------------------ */

.empresaHero__content{

    position:relative;

    z-index:10;

    max-width:1300px;

    height:100%;

    margin:0 auto;

    display:flex;

    align-items:center;

    padding:40px;
}

/* ------------------------------ */

.empresaHero__logo{

    width:250px;
    height:250px;

    flex-shrink:0;

    border-radius:50%;

    overflow:hidden;

    margin-right:35px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.35);

}

.empresaHero__logo img{

    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:50%;

    display:block;

}

/* ------------------------------ */

.empresaHero__info{

    margin-left:35px;

    color:#fff;

}

.empresaHero__badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 16px;

    border-radius:30px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(10px);

    margin-bottom:18px;

}

.empresaHero__badge i{

    color:#ffd43b;

}

/* ------------------------------ */

.empresaHero__info h1{

    font-size:42px;

    font-weight:700;

    margin-bottom:18px;

    color:#fff;

}

/* ------------------------------ */

.empresaHero__dados{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    margin-bottom:28px;

}

.empresaHero__dados div{

    display:flex;

    align-items:center;

    gap:8px;

    color:#f4f4f4;

    font-size:17px;

}

.empresaHero__dados i{

    color:#ff5b5b;

}

/* ------------------------------ */

.empresaHero__acoes{

    display:flex;
    flex-wrap:wrap;
    gap:14px;

}

.btnHero{

    display:flex;
    align-items:center;
    gap:10px;

    padding:13px 22px;

    border-radius:10px;

    text-decoration:none;

    font-size:15px;
    font-weight:600;

    color:#fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease,
        border-color .25s ease;

}
.btnHero:hover{

    transform:translateY(-3px);

    box-shadow:
        0 12px 28px rgba(0,0,0,.25);

}
.btnHero i{

    transition:transform .25s ease;

}

.btnHero:hover i{

    transform:translateX(3px);

}
/* WhatsApp */

.btnHero.whatsapp{

    background:rgba(255,255,255,.18);

    border:1px solid rgba(255,255,255,.25);

}
.btnHero.whatsapp:hover{

    background:#2edb6d;

}
/* Telefone */

.btnHero.telefone{

    background:rgba(255,255,255,.18);

    border:1px solid rgba(255,255,255,.25);

}
.btnHero.telefone:hover{

    background:rgba(255,255,255,.28);

    border-color:rgba(255,255,255,.45);

}
/* Email */

.btnHero.email{

    background:rgba(255,255,255,.18);

    border:1px solid rgba(255,255,255,.25);

}
.btnHero.email:hover{

    background:rgba(255,255,255,.28);

    border-color:rgba(255,255,255,.45);

}
/* Site */

.btnHero.site{

    background:rgba(255,255,255,.18);

    border:1px solid rgba(255,255,255,.25);

}
.btnHero.site:hover{

    background:#f02b2b;

}
/* ------------------------------ */
/* ==========================================
   Animação do banner do Hero
========================================== */

.empresaHero__bg{

    opacity:.85;

    transform:scale(1.08);

    animation:heroZoom 2.5s ease-out forwards;

}

@keyframes heroZoom{

    from{
        transform:scale(1.08);
        opacity:.85;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}


/* ------------------------------ */

@media(max-width:900px){

    .empresaHero{

        height:auto;

    }

    .empresaHero__content{

        flex-direction:column;

        text-align:center;

        padding:30px;

    }

    .empresaHero__logo{

        width:120px;

        height:120px;

    }

    .empresaHero__info{

        margin:25px 0 0;

    }

    .empresaHero__info h1{

        font-size:30px;

    }

    .empresaHero__dados{

        justify-content:center;

    }

    /* Hero */

    .empresaHero__acoes{

        display:flex;

        flex-direction:column;

        width:100%;

        gap:12px;

    }

    .empresaHero__acoes .btnHero{

        width:100%;

        justify-content:center;

        box-sizing:border-box;

    }

}
/* =====================================================
   FORMULÁRIO DE E-MAIL DA IMOBILIÁRIA
===================================================== */

#formEmailEmpresa {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

#formEmailEmpresa input,
#formEmailEmpresa textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* INPUTS */

#formEmailEmpresa input {
    height: 54px;
    padding: 0 16px;
}


/* MENSAGEM */

#formEmailEmpresa textarea {
    min-height: 140px;
    padding: 15px 16px;

    resize: vertical;
}


/* FOCO */

#formEmailEmpresa input:focus,
#formEmailEmpresa textarea:focus {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.10);
}


/* PLACEHOLDER */

#formEmailEmpresa input::placeholder,
#formEmailEmpresa textarea::placeholder {
    color: #888;
}


/* BOTÃO */

#formEmailEmpresa .btn-enviar-lead {
    width: 100%;
    min-height: 54px;

    margin-top: 4px;

    border: 0;
    border-radius: 12px;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#formEmailEmpresa .btn-enviar-lead:hover {
    transform: translateY(-2px);
}
/* ===========================================================
   FILTROS DA IMOBILIÁRIA
=========================================================== */

.empresa-filtro{

    background:#fff;

    border-radius:20px;

    padding:28px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    margin-bottom:35px;

}

.empresa-filtro-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

    align-items:end;

}

.campo-filtro label{

    display:flex;

    align-items:center;

    gap:8px;

    margin-bottom:10px;

    font-weight:600;

    color:#555;

}

.campo-filtro label i{

    color:#ff4b4b;

}

.campo-filtro select{

    width:100%;

    height:56px;

    border:1px solid #ddd;

    border-radius:14px;

    padding:0 18px;

    font-size:16px;

    background:#fff;

}

.btn-filtrar{

    height:56px;

    border:none;

    border-radius:14px;

    background:#ff4b4b;

    color:#fff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.btn-filtrar:hover{

    background:#e43c3c;

}

.empresa-filtros-avancados-link{

    display:flex;

    justify-content:center;

    margin-top:18px;

}

#toggleFiltros{

    border:none;

    background:none;

    color:#666;

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

    font-weight:600;

    font-size:15px;

}

.empresa-painel-filtros{
    display:none;
    width:100%;
    margin-top:25px;
}

.empresa-painel-filtros.aberto{
    display:block;
}

.empresa-filtros-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

}

.empresa-filtros-grid input{

    width:100%;

    height:56px;

    border:1px solid #ddd;

    border-radius:14px;

    padding:0 18px;

    font-size:16px;

    box-sizing:border-box;

}

.bloco-preco{

    margin-top:28px;

}

.bloco-preco h4{

    margin-bottom:15px;

    font-size:18px;

    font-weight:600;

    color:#444;

}

/* Accordion dos filtros */

.empresa-filtros-avancados {
    display: none;
}

.empresa-filtros-avancados.ativo {
    display: block;
}

/* Espaço entre os valores e Área / Código */
.empresa-filtros-linha-final {
    margin-top: 30px;
}

/* =====================================================
   AÇÕES DOS FILTROS
===================================================== */

.empresa-filtros-acoes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;

    margin-top: 30px;
    padding-bottom: 35px;
}

.btn-filtrar-rodape {
    width: auto;
    min-width: 140px;
    height: 52px;
    padding: 0 28px;
}

.btn-limpar-filtros {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 52px;
    padding: 0 24px;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
}

.btn-limpar-filtros svg {
    width: 18px;
    height: 18px;
}
.btn-limpar-filtros {
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.btn-limpar-filtros:hover {
    background: #fff5f5;
    border-color: #ff4d4d;
    color: #ff4d4d;

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(255, 77, 77, 0.15);
}

.btn-limpar-filtros:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 77, 77, 0.12);
}

@media (max-width:768px){

    .empresa-filtro-grid,
    .empresa-filtros-grid{

        grid-template-columns:1fr;

        gap:16px;

    }

    .btn-filtrar{

        width:100%;

    }

}

/* =====================================================
   VALORES VENDA / LOCAÇÃO
===================================================== */

.empresa-valores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    width: 100%;
    margin-top: 25px;
}

.empresa-valores-campos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.empresa-valores-grid .bloco-preco {
    width: 100%;
}

.empresa-valores-grid .campo-filtro {
    width: 100%;
}

.empresa-valores-grid .campo-filtro input {
    width: 100%;
    height: 64px;
    padding: 0 20px;

    border: 1px solid #ddd;
    border-radius: 16px;

    background: #fff;

    font-family: 'Poppins', sans-serif;
    font-size: 16px;

    box-sizing: border-box;
    outline: none;
}

.empresa-valores-grid .campo-filtro input:focus {
    border-color: #999;
}


@media (max-width: 768px) {

    .empresa-valores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .empresa-valores-campos {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

}

@media (max-width: 768px) {

    .empresa-filtros-acoes {
        justify-content: stretch;
        gap: 10px;
        margin-top: 22px;
        padding-bottom: 25px;
    }

    .empresa-filtros-acoes .btn-filtrar,
    .empresa-filtros-acoes .btn-limpar-filtros {
        flex: 1;
        min-width: 0;
    }

}

/* =====================================================
   CORREÇÃO DOS FORMULÁRIOS NOS MODAIS
   MOBILE / RESPONSIVO
===================================================== */

.modal-content,
.modal-content *,
.modal-conteudo,
.modal-conteudo * {
    box-sizing: border-box;
}

.modal-content form,
.modal-conteudo form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.modal-content input,
.modal-content textarea,
.modal-content select,
.modal-conteudo input,
.modal-conteudo textarea,
.modal-conteudo select {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;
}


/* MOBILE */

@media (max-width: 768px) {

    .modal-content,
    .modal-conteudo {
        width: calc(100% - 30px);
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

}

/* =====================================================
   LOADING DOS RESULTADOS
===================================================== */

#resultadoImoveis {
    position: relative;
    transition: opacity 0.25s ease;
}

#resultadoImoveis.carregando {
    opacity: 0.45;
    pointer-events: none;
}

/* Loading */

#resultadoImoveis.carregando::after {
    content: "";

    position: absolute;
    top: 80px;
    left: 50%;

    width: 38px;
    height: 38px;

    margin-left: -19px;

    border: 4px solid rgba(0, 0, 0, 0.10);
    border-top-color: #ff4d4d;
    border-radius: 50%;

    animation: loadingImoveis 0.7s linear infinite;

    z-index: 20;
}

@keyframes loadingImoveis {

    to {
        transform: rotate(360deg);
    }

}