/*////////////////////////////////////////////////////////////////////////////////////////////////////

    Themes Bootstrap - Real Estate Template v1.0.0 (https://themesbootstrap.com.mx/templates/real-estate-template.html)
    Copyright 2019 Themes Bootstrap
    Licensed under MIT (https://github.com/diegovr7/real-estate/blob/master/LICENSE)

////////////////////////////////////////////////////////////////////////////////////////////////////*/

html {
    scroll-behavior: smooth;
    
}

body {
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .05em;
    background-color: #ffffff;
    color: #ffffff;
     margin: 0;
    padding: 0;
}
#hero {
    padding: 0 !important;
    margin: 0 !important;
}
/* container-fluid deve ocupar 100% sem padding */
.container-fluid {
    padding: 0 !important;
    margin: 0 !important;
}

/* garante que a imagem realmente encoste */
.hero-container-desktop img {
    display: block;
    width: 100%;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    margin-bottom: 0px;
}

a {
    color: #ffffff;
}

a:hover {
    color: #030000;
    text-decoration: none;
    opacity: .9;
}

section {
    padding: 80px 0;
}

.block-title {
    max-width: 700px;
    margin: 0 auto;
}

.topmargin-sm {
    margin-top: 30px !important; 
}

.topmargin-lg {
    margin-top: 60px !important;
}

.primary-btn {
    background: #ffffff;
    color: #222729;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    display: inline-block;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
}

.primary-btn:hover {
    color: #222729;
    opacity: .9;
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    display: inline-block;
    margin: 20px 5px 0 5px;
}

.secondary-btn:hover {
    background-color: #ffffff;
    color: #2d3234;
}

/*/////////////////////////////////////////
Navbar
////////////////////////////////////////*/

.navbar {
    background-color: #ffffff;
    z-index: 9999;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #222729;
    text-transform: uppercase;
    -webkit-text-stroke: 0.4px #222729; /* deixa mais grosso */
}

.nav-link:hover {
    color: #222729;
    opacity: .9;
}

.nav-item i {
    font-size: 20px;
    margin-left: 20px;
    color: #222729;
}

.navbar-toggler {
    font-size: 30px;
    color: #000000;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.header-logo {
    max-width: 180px;
    min-width: 180px;
}

/*/////////////////////////////////////////
Hero
////////////////////////////////////////*/
.hero-details {
    position: absolute;
    top: 30%;
    left: 10%;
    transform: none;
    max-width: 650px;
    color: #fff;
    z-index: 2;
}

.hero-details h1 {
    font-size: 46px;
    font-weight: 600;
}

.hero-details p {
    font-size: 22px;
}


/* ===================================
   HERO – MOBILE
=================================== */
.mobile-hero-wrapper {
    position: relative;
    display: none; /* escondido no desktop */
}

.hero-mobile {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-hero-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* Título no mobile */
.hero-title-mobile {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}


/* ===================================
   MEDIA QUERIES
=================================== */

/* MOBILE */
@media (max-width: 767px) {
    .hero-container-desktop {
        display: none;
    }

    .mobile-hero-wrapper {
        display: block;
    }
}

/* DESKTOP */
@media (min-width: 768px) {
    .mobile-hero-wrapper {
        display: none;
    }
}
/*/////////////////////////////////////////
Properties
////////////////////////////////////////*/
/* CORRIGIDO → Troque para #propriedades se preferir manter seu HTML */
#properties {
    color: #222729;
    padding-bottom: 60px;
}

#properties h2 {
    font-size: 46px;
    font-weight: 400;
    letter-spacing: .1em;
}

#properties p {
    font-size: 20px;
    font-weight: 200;
    line-height: 1.8;
}

/* Container dos cards */
.property-container {
    position: relative;
    overflow: hidden;
    margin: 18px 0;
    border-radius: 10px;
}

/* Imagens com zoom suave */
.property-container img {
    width: 100%;
    transition: transform 0.8s ease;
}

.property-container:hover img {
    transform: scale(1.2);
}

/* Títulos (padrão e pequeno) */
.property-title,
.property-title-sm {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    z-index: 10;
}

.property-title h3 {
    font-size: 32px;
    line-height: 1.2;
}

.property-title-sm h3 {
    font-size: 20px;
    line-height: 1.2;
}

.property-title span,
.property-title-sm span {
    font-size: 12px;
    opacity: 0.9;
}

/* Botão "Read more" */
.property-button,
.property-button-sm {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.property-button a,
.property-button-sm a {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    text-decoration: underline;
}

/* Ícone de seta */
.property-icon {
    position: absolute;
    bottom: 20px;
    right: 30px;
    z-index: 10;
}

.property-icon i {
    font-size: 22px;
    color: #ffffff;
}

/* Overlay suave para melhorar a leitura dos textos */
.property-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 10%,
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 5;
}

/*/////////////////////////////////////////
Call to Action
////////////////////////////////////////*/

#call-to-action {
    background-color: #2d3234;
    border-bottom: 1px solid hsla(0,0%,100%,.05);
    font-size: 200;
    text-align: center;
}

#call-to-action h3 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

#call-to-action p {
    font-size: 20px;
    font-weight: 200;
    line-height: 1.8;
}

/*/////////////////////////////////////////
Footer
////////////////////////////////////////*/

#footer {
    background-color: #2d3234;
    color: #ffffff;
    padding: 20px 0;
}

#footer ul {
    margin-bottom: 0px;
}

#footer li {
    margin: 0 15px;
}

/*/////////////////////////////////////////
Copyright
////////////////////////////////////////*/

#copyright {
    background-color: #222729;
    color: #919394;
    padding: 15px 0;
    letter-spacing: .1em;
    text-align: center;
}

#copyright small {
    font-weight: 200;
}

#copyright a {
    color: #ffffff;
}

/*/////////////////////////////////////////
Media Queries
////////////////////////////////////////*/
/*=========================================
  NAVBAR – até 768px
=========================================*/
@media (max-width: 768px) {

    .navbar-nav.ml-auto {
        display: flex;
        flex-direction: row !important;
        gap: 20px;
        margin-top: 15px;
        
    }

    .navbar-nav.ml-auto li a {
        font-size: 22px;
        color: #000;
        transition: 0.2s ease;
    }

    .navbar-nav.ml-auto li a:hover {
        color: #4154f1;
        transform: scale(1.1);
    }
    /* Centraliza APENAS os ícones da ml-auto */
    .navbar-nav.ml-auto {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: row !important;
        gap: 25px;
        width: 100%;
        margin-top: 20px;
    }

    .navbar-nav.ml-auto .nav-item a i {
        font-size: 28px;
    }
    
}

/*=========================================
  MOBILE – até 575px
=========================================*/
@media (max-width: 575.98px) {

    /* HERO MOBILE */
    .mobile-hero-wrapper {
        position: relative;
        width: 100%;
    }

    .hero-mobile {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .hero-title-mobile {
        position: absolute;
        bottom: 85px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
        font-family: "Poppins", sans-serif;
        color: #fff;
        font-size: 24px;
        font-weight:600;
        z-index: 2;
        text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    }

    /* Filtro escuro */
    .mobile-hero-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 1;
    }

    /* PROPERTIES */
    .property-title h3 {
        font-size: 20px;
    }

    .property-title span {
        font-size: 12px;
    }

    .property-button a {
        font-size: 12px;
    }

    /* FOOTER */
    .list-inline-item {
        display: block;
        margin: 25px 0 !important;
    }
    .container, h2 {
        font-size: 35px !important;
        font-family: "Playfair Display";
        font-weight: 600;
    }
    .col-md-6, p {
        font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    }
    .mobile-btn {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: #ffffffe7;
        color: #000;
        padding: 9px 10px;
        border-radius: 6px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        z-index: 10;
    }
    /* HOVER DO BOTÃO MOBILE */
.mobile-btn:hover,
.mobile-btn:active {
    background: #f1f1f1f6;
    color: #000;
    transform: translateX(-50%) scale(1.03);
    transition: 0.2s ease-in-out;
}
.navbar-nav.ml-auto {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    width: 100%;
    gap: 30px; /* espaço entre os ícones */
    margin-top: 25px;
    position: relative;
    right: 25px;
}
}
    


/*=========================================
  ESCONDER HERO MOBILE para telas maiores
=========================================*/
@media (min-width: 576px) {
    .hero-mobile,
    .mobile-hero-wrapper {
        display: none;
    }
}

/*=========================================
  SM (576px – 767px)
=========================================*/
@media (min-width: 576px) and (max-width: 767.98px) {

    .property-title-sm h3 {
        font-size: 36px;
    }

    .property-button-sm a {
        font-size: 16px;
    }
}

/*=========================================
  MD (768px – 991px)
=========================================*/
@media (min-width: 768px) and (max-width: 991.98px) {

    /* HERO DESKTOP */
    .hero-details {
        max-width: 350px;
        top: 70px;
    }

    .hero-details h1 {
        font-size: 26px;
    }

    .hero-details p {
        font-size: 14px;
    }

    /* PROPERTIES */
    .property-title h3 {
        font-size: 20px;
    }

    .property-title span {
        font-size: 12px;
    }

    .property-button a {
        font-size: 12px;
    }
}

/*=========================================
  LG (992px – 1199px)
=========================================*/
@media (min-width: 992px) and (max-width: 1199.98px) {

    /* HERO DESKTOP */
    .hero-details {
        max-width: 400px;
        top: 100px;
    }

    .hero-details h1 {
        font-size: 36px;
    }

    .hero-details p {
        font-size: 16px;
    }

    /* Garantir que mobile esteja oculto */
    .mobile-hero-wrapper,
    .hero-mobile {
        display: none !important;
    }
}

/*=========================================
  XL (1200px+)
=========================================*/
@media (min-width: 1200px) {

    .mobile-hero-wrapper,
    .hero-mobile {
        display: none !important;
    }
}

/* Logo do site */
.site-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;        /* menor e mais elegante */
    font-weight: 600;
    color: #000;
    text-decoration: none;
    margin-right: 40px;  
    margin-left: 70px;   /* empurra os menus para a direita */
}

/* Espaçamento dos menus */
.navbar-nav,menu-home {
   margin-left: 130px;
    
}



.navbar-nav .nav-item {
    margin-left: 10px;      /* espaço entre os itens */
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000 !important;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
    color: #4154f1 !important;
}

/* Ícones das redes sociais */
.social-icons a {
    margin-left: 15px;
}
.img-home {
    width: 40px;
    margin-right: 20px;
}
/* HERO DESKTOP — imagem com overlay */
.hero-container-desktop {
    position: relative;
    width: 100%;
}

.hero-container-desktop img.desktop-hero {
    width: 100%;
    height: 100vh;       /* garante altura cheia */
    object-fit: cover;   /* impede distorção ou corte errado */
    object-position: center;
}

/* overlay escurecido */
.hero-container-desktop::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* ESCURECIMENTO */
    z-index: 1;
}

/* texto por cima da imagem */
.hero-details {
    position: absolute;
    top: 30%;           /* distância do topo — ajuste fino aqui */
    left: 10%;           /* distância da esquerda — igual ao original */
    transform: none;    /* remove centralização */
    color: #fff;
    z-index: 2;
    max-width: 800px;
}


/* MOBILE — imagem normal */
.mobile-hero {
    width: 100%;
    height: auto;
}




