body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #E6EFE6;
}

/* HERO */
.hero {
    background: url("img/casa_principal.jpeg") center/cover no-repeat;
    height: 100vh;
    position: relative;
}

.overlay {
    background: rgba(0,0,0,0.55);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay h1 {
    font-size: 3rem;
    padding-bottom: 15px;
}

.secao-imovel {
    
    height: 100vh;
    background-color: #E6EFE6; /* folha biológica nova */
    
}


.secao-imovel .carousel-item img {
    height: 550px;        /* ajuste aqui */
    object-fit: cover;    /* não distorce */
    border-radius: 12px;
    
}

/* MODAL IMAGEM */
.modal-imagem {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    padding-bottom: 50px;
    align-items: center;
}

.modal-imagem img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 10px;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from { transform: scale(0.7); }
    to { transform: scale(1); }
}

.carousel-item img {
    cursor: zoom-in;
}


.modal-imagem .fechar {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 45px;
    color: white;
    cursor: pointer;
}


.btn-whatsapp-hero {
    margin-top: 20px;
    background: #25d366;
    color: white;
    padding: 15px 35px;
    font-size: 20px;
    border-radius: 40px;
    text-decoration: none;
}

.btn-whatsapp-hero:hover {
    background: #1ebe5d;
}

.info {
    background: #ffffff;
    height: 100vh;
}

.titulo-info {
    padding-top: 40px;
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #2F5D50;
    font-weight: 600;
}

.info-box {
    max-width: 900px;
    margin: auto;
    background: #f9f9f9;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.lista-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
    color: #1f2937;
}

.lista-info li span {
    flex: 1;
}

/* VALOR */
.valor-imovel {
    margin-top: 40px;
    text-align: center;
    padding: 25px;
    background: #E6EFE6;
    border-radius: 15px;
    font-size: 20px;
    color: #2F5D50;
}

.valor-imovel strong {
    display: block;
    margin-top: 10px;
    font-size: 34px;
    color: #1f2937;
}


/* BOTÃO FIXO */
.whatsapp-fixo {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    z-index: 999;
}

.whatsapp-fixo:hover {
    background: #1ebe5d;
}



/* NAVBAR */
.navbar-custom {
    padding: 20px 0;
    transition: 0.4s;
    background: transparent;
}

.navbar-custom .navbar-brand img {
    height: 70px;
}


/* Botão voltar ao topo (invisível até rolar) */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 95px; /* acima do botão whatsapp */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1f2937;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #374151;
}
/* Links */
.navbar-custom .nav-link {
    color: white;
    font-size: 17px;
    margin-left: 25px;
    font-weight: 500;
}

.navbar-escura {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.navbar-escura .nav-link {
    color: #1f2937;
}

.navbar-escura .nav-link:hover {
    color: #bfa15a;
}


/* Hover */
.navbar-custom .nav-link:hover {
    color: #bfa15a;
}

/* Botão WhatsApp no menu */
.btn-nav-whatsapp {
    background: #25d366;
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
}

/* Quando rolar a página */
.navbar-scrolled {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.navbar-scrolled .nav-link {
    color: #1f2937;
}

.navbar-scrolled .nav-link:hover {
    color: #bfa15a;
}

.footer {
    background: #2F5D50;
    color: #ffffff;
    padding: 60px 0 30px;
    
}

.footer-logo {
    height: 200px;
    margin-bottom: 20px;
}

.footer p {
    font-size: 15px;
    line-height: 1.6;
    color: #e6e6e6;
}

.footer h5 {
    margin-bottom: 20px;
    color: #E6EFE6;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

/* WhatsApp */
.footer-whatsapp {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-whatsapp:hover {
    background: #1ebe5d;
}

/* Redes sociais */
.redes a {
    color: #ffffff;
    font-size: 22px;
    margin-right: 15px;
    transition: 0.3s;
}

        .back-to-top {
            bottom: 90px; /* ajusta espaçamento em mobile */
        }

.redes a:hover {
    color: #BFA15A;
}

/* Linha */
.footer hr {
    border-color: rgba(255,255,255,0.2);
    margin: 40px 0 20px;
}

/* Copy */
.footer-copy {
    text-align: center;
    font-size: 14px;
    color: #d1d1d1;
}


/* ===============================
   AJUSTES MOBILE
================================ */
@media (max-width: 768px) {

    /* HERO */
    .hero {
        height: 85vh;
    }

    .overlay h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .overlay p {
        font-size: 16px;
        padding: 0 20px;
    }

    .btn-whatsapp-hero {
        font-size: 16px;
        padding: 12px 28px;
    }

    /* NAVBAR */
    .navbar-custom {
        background:#E6EFE6;
        padding: 10px 0;
    }

    .navbar-custom .navbar-brand img {
        height: 50px;
    }

    .navbar-custom .nav-link {
        margin-left: 0;
        padding: 12px 0;
        font-size: 16px;
    }

    /* CARROSSEL */
    .secao-imovel {
        height: 90vh;
       
    }

    .secao-imovel .carousel-item img {
        height: 400px;
        border-radius: 10px;
    }

    /* INFO */
    .info {
        height: auto;
        padding: 20px 20px;
    }

    .titulo-info {
        font-size: 26px;
    }

    .info-box {
        padding: 30px 20px;
    }

    .lista-info li {
        font-size: 16px;
        line-height: 1.5;
    }

    .valor-imovel strong {
        font-size: 28px;
    }

    /* FOOTER */
    .footer {
        text-align: center;
        padding: 50px 20px 30px;
    }

    .footer-logo {
        height: 90px;
        margin-bottom: 15px;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer ul li {
        font-size: 14px;
    }

    .redes {
        justify-content: center;
    }

    /* BOTÃO FIXO */
    .whatsapp-fixo {
        width: 55px;
        height: 55px;
        font-size: 26px;
        right: 15px;
        bottom: 15px;
    }
}

