﻿/* ============================================
   IMOBILIÁRIA - CSS FINAL CORRIGIDO
============================================ */

/* ===============================
   BASE
=============================== */
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #f5f7fb;
    color: #2d3748;
    margin: 0;
    padding: 0;
}

/* ===============================
   LOGO
=============================== */
.logo-navbar {
    height: 60px;
    width: auto;
}
/* ===============================
   LOGO QUEM SOMOS
=============================== */
.logo-suave {
    max-width: 250px;
    opacity: 0.5;
    filter: grayscale(100%) brightness(1.2);
}
/* ===============================
   NAVBAR
=============================== */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar-brand {
    color: #2b6cb0 !important;
}

.nav-link {
    font-weight: 500;
    color: #2d3748;
    position: relative;
    transition: 0.3s;
    text-decoration: none;
}

    .nav-link:hover {
        color: #2b6cb0;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: #2b6cb0;
        transition: 0.3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* ===============================
   HERO
=============================== */
.hero {
    height: 450px;
    background: url('../img/Hero02.jpg') center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.60), rgba(0,0,0,0.15));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 0;
}

/* ===============================
   BOTÕES
=============================== */
.btn-primary {
    background: #2b6cb0;
    border: none;
}

    .btn-primary:hover {
        background: #1e4e86;
    }

.btn-light:hover {
    background: #f8fafc;
}

/* ===============================
   SERVIÇOS
=============================== */
.servicos {
    background: #ffffff;
    padding: 60px 0;
}

.titulo-servicos {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 10px;
}

    .titulo-servicos::before,
    .titulo-servicos::after {
        content: '';
        flex: 1;
        border-bottom: 2px solid #e2e8f0;
        margin: 0 15px;
    }

/* 🔥 CARD COMO LINK (CORRIGIDO) */
.servico-item {
    background: #fff;
    text-align: center;
    padding: 18px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #1e293b !important;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    border: 1px solid #eef2f7;
    height: 100%;
    display: block;
}

    /* 🔥 REMOVE QUALQUER LINHA EM TODOS OS ESTADOS */
    .servico-item,
    .servico-item:hover,
    .servico-item:focus,
    .servico-item:active,
    .servico-item:visited {
        text-decoration: none !important;
        color: #1e293b !important;
    }

        /* 🔥 BLOQUEIA HERANÇA DE LINK (::after) */
        .servico-item::after {
            display: none !important;
        }

        /* ÍCONE */
        .servico-item i {
            color: #2b6cb0;
            margin-bottom: 10px;
            display: block;
            transition: 0.3s;
            font-size: 26px;
        }

        /* HOVER */
        .servico-item:hover {
            background: #2b6cb0;
            color: #fff !important;
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(43,108,176,0.20);
        }

            .servico-item:hover i {
                color: #fff !important;
            }

        /* TEXTO */
        .servico-item div {
            font-weight: 500;
            font-size: 14px;
        }

/* 🔥 GARANTE 4 NA MESMA LINHA */
@media (min-width: 768px) {
    .servicos .row {
        flex-wrap: nowrap;
    }
}

/* ===============================
   DIFERENCIAL
=============================== */
.bg-diferencial {
    background: url('../img/Hero01.jpg') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
}

    .bg-diferencial::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 38%, rgba(255,255,255,0.30) 70%, rgba(255,255,255,0.00) 100% );
    }

.diferencial-content {
    position: relative;
    z-index: 2;
}

.bg-diferencial h3 {
    color: #2b6cb0;
    font-weight: 700;
    margin-bottom: 15px;
}

.bg-diferencial ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.bg-diferencial li {
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 15px;
}

    .bg-diferencial li::before {
        content: "✔ ";
        color: #2b6cb0;
        font-weight: bold;
    }

/* ===============================
   IMÓVEIS
=============================== */
.card-imovel {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
    position: relative;
    height: 100%;
}

    .card-imovel::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient(to bottom, #2b6cb0, #1e4e86);
        z-index: 3;
    }

.img-box {
    position: relative;
    overflow: hidden;
}

    .img-box img {
        height: 180px;
        width: 100%;
        object-fit: cover;
        transition: 0.4s;
        display: block;
    }

.card-imovel:hover img {
    transform: scale(1.05);
}

.card-imovel:hover {
    transform: translateY(-6px);
}

.preco {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
}

/*========================================
FINALIDADE
========================================*/



/* ===============================
   CTA
=============================== */
.cta {
    background: linear-gradient(#eaf4ff, #dbeafe);
    padding: 50px;
    text-align: center;
}

    .cta h3 {
        color: #2b6cb0;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .cta p {
        margin-bottom: 20px;
        color: #475569;
    }

/* ===============================
   QUEM SOMOS
=============================== */
.quem-somos {
    background: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
}

.titulo-secao {
    color: #2b6cb0;
    font-weight: 700;
    margin-bottom: 12px;
}

.texto-secao {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.card-depoimento {
    background: #fff;
    padding: 20px 18px 20px 22px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-weight: 500;
    transition: 0.3s;
    color: #1e293b;
    height: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
}

    .card-depoimento::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, #2b6cb0, #1e4e86);
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .card-depoimento:hover {
        transform: translateY(-5px);
    }

/* ===============================
   CONTATO
=============================== */
.contato {
    background: linear-gradient(135deg, #eaf4ff, #f8fafc);
    padding: 60px 0;
}

.titulo-contato {
    color: #2b6cb0;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-contato {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
    color: #1e293b;
    height: 100%;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .card-contato i {
        font-size: 32px;
        display: block;
        margin-bottom: 10px;
    }

    .card-contato.whatsapp i {
        color: #25d366;
    }

    .card-contato.email i {
        color: #2b6cb0;
    }


    .card-contato.instagram i {
        color: #E1306C;
    }


.card-contato:hover {
    transform: translateY(-5px);
}

    .card-contato.whatsapp:hover {
        background: #25d366;
        color: #fff;
    }

        .card-contato.whatsapp:hover i {
            color: #fff;
        }

    .card-contato.email:hover {
        background: #2b6cb0;
        color: #fff;
    }

        .card-contato.email:hover i {
            color: #fff;
        }

    .card-contato.instagram:hover {
        background: #dc2626;
        color: #fff;
        transform: translateY(-5px);
    }

        .card-contato.instagram:hover i {
            color: #fff;
        }
/* ===============================
   FOOTER
=============================== */


.footer {
    padding: 15px 10px;
    background: #f8f9fa;
    font-size: 12px;
    color: #6c757d;
    position: relative;
}

.footer-dev {
    position: absolute;
    left: 10px;
    bottom: 15px;
    font-size: 11px;
    color: #adb5bd;
    white-space: nowrap; /* 🔹 garante que não quebre linha */
}

    .footer-dev a {
        color: #adb5bd;
        text-decoration: none; /* 🔹 sem linha */
        transition: color 0.3s ease;
    }

        .footer-dev a:hover {
            color: #0d6efd; /* 🔹 muda só a cor */
            text-decoration: none; /* 🔹 garante sem linha no hover */
        }
        

/* ===============================
   RESPONSIVO
=============================== */
@media (max-width: 991px) {
    .hero {
        height: 380px;
    }

        .hero h1 {
            font-size: 34px;
        }

    .navbar .ms-auto {
        gap: 12px !important;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 320px;
    }

        .hero h1 {
            font-size: 28px;
        }

        .hero p {
            font-size: 16px;
        }

    .titulo-servicos::before,
    .titulo-servicos::after {
        margin: 0 8px;
    }

    .card-depoimento,
    .card-contato,
    .servico-item {
        margin-bottom: 15px;
    }
}
/* ===============================
   TÍTULO IMÓVEIS PADRÃO
=============================== */
.titulo-imoveis {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #2b6cb0; /* mesma cor do Quem Somos */
}

    /* linhas laterais */
    .titulo-imoveis::before,
    .titulo-imoveis::after {
        content: '';
        flex: 1;
        border-bottom: 2px solid #e2e8f0;
        margin: 0 15px;
    }

/* ===============================
   BOTAO FLUTUANTE WHATSAPP
=============================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .whatsapp-float:hover {
        background-color: #1ebe5d;
        transform: scale(1.1);
        color: #fff;
    }

.tooltip-inner {
    background-color: #0d6efd;
    font-size: 13px;
    padding: 6px 10px;
}

.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #0d6efd !important;
}

/* ===============================
   VOLTAR AO TOPO
=============================== */
.btn-topo {
    position: fixed;
    bottom: 100px; /* acima do WhatsApp */
    right: 25px;
    width: 50px;
    height: 50px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

    .btn-topo:hover {
        background: #0b5ed7;
        transform: scale(1.1);
        color: #fff;
    }

    .btn-topo.show {
        opacity: 1;
        visibility: visible;
    }

/* ===============================
   HERO SERVIÇOS - WEB_COMPRASVENDAS.ASPX
=============================== */
.hero-servico {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/Hero02.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

    .hero-servico h1 {
        font-size: 36px;
        font-weight: 700;
    }

    .hero-servico p {
        font-size: 18px;
    }
/* ===============================
   BENEFÍCIOS SERVIÇO
=============================== */
.beneficios-servico {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beneficio-item {
    background: #fff;
    padding: 14px 16px 14px 20px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    font-weight: 500;
    color: #1e293b;
    transition: 0.3s;
}

    .beneficio-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        border-radius: 8px 0 0 8px;
    }

/* 🔥 CORES DIFERENTES */
.b1::before {
    background: #2b6cb0;
}
/* azul */
.b2::before {
    background: #38a169;
}
/* verde */
.b3::before {
    background: #d69e2e;
}
/* amarelo */
.b4::before {
    background: #e53e3e;
}
/* vermelho */

.beneficio-item:hover {
    transform: translateX(5px);
}

/* ===============================
   PROCESSO SERVIÇO
=============================== */
.processo-item {
    background: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: 0.3s;
    height: 100%;
}

    /* 🔥 TARJA LATERAL */
    .processo-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        border-radius: 10px 0 0 10px;
    }

/* 🔥 CORES */
.p1::before {
    background: #2b6cb0;
}

.p2::before {
    background: #38a169;
}

.p3::before {
    background: #d69e2e;
}

.p4::before {
    background: #e53e3e;
}

/* NÚMERO */
.processo-item h5 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2b6cb0;
}

/* TEXTO */
.processo-item p {
    margin: 0;
    font-weight: 500;
    color: #1e293b;
}

/* HOVER */
.processo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* MODAL DE ANUNCIO WEB_ANUNCIOIMOVEL */
.modal-body iframe {
    min-height: 650px;
}
.valor-direita {
    text-align: right;
}

/* ===============================
   MENU SERVIÇOS
=============================== */
.menu-servicos {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.menu-servicos-box {
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.menu-servico-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    transition: 0.3s;
    border-right: 1px solid #eef2f7;
}

    .menu-servico-item:last-child {
        border-right: none;
    }

    .menu-servico-item:hover {
        background: #f1f5f9;
        color: #2b6cb0;
    }

    /* 🔥 ATIVO */
    .menu-servico-item.active {
        background: #2b6cb0;
        color: #fff !important;
    }

/* =========================================================
   MODAL LOGIN ADMIN
========================================================= */

.modal-admin-login {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
}

    .modal-admin-login .modal-header {
        padding: 25px 25px 0 25px;
    }

    .modal-admin-login .modal-title {
        font-weight: 700;
        color: #0f3d73;
    }

.form-admin-login {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #dbe3ec;
    font-size: 14px;
}

    .form-admin-login:focus {
        border-color: #0f3d73;
        box-shadow: 0 0 0 .2rem rgba(15,61,115,.12);
    }

.btn-admin-login {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    background: linear-gradient(180deg,#0f3d73,#0c2f58);
    border: none;
}

