@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root{
    --bgdark: #2c2e2c;
    --deepblack: #232322;
    --highlights: #BD9E3F;
    --primary: #fff;
    --accent: #db9230;
    --bgblack: rgba(11, 11, 11, 0.18);

}

html{
    scroll-behavior: smooth;
}

*{
    padding: 0;
    margin:0 ;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
a{
    text-decoration: none;
}

body{
    background-color: var(--deepblack);
    color: var(--highlights);
    width: 100%;
}
nav{
    position: absolute;
    transform: translate(-20px,48px);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: end;
    padding: 1rem;
    z-index: 10;
}
.navmenu{
    list-style: none;

}
.navmenu a{
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s ease;
}
.menu-item{
    font-weight:400;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.5s ease;
}
.menu-item a:hover{
    color: var(--highlights);
    transform: scale(1.2);
}

.menu-item:hover{
    color: var(--highlights);
    transform: scale(1.2);
}

.logo-main{
    width: 312px;
    margin-left: 1.5rem;
}

main {
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 10; /* Garante que tudo dentro dele fique ACIMA da main */
    background-color: var(--primary); /* Fundo sólido para vedar a transparência */
}


/* Área de sobreposição dos slides */
.slideshow-fade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Estilo individual dos slides empilhados */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeAnimation 16s linear infinite;
}

/* Atrasos individuais para sequenciar o aparecimento de cada imagem (4s de ciclo por slide) */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
.slide:nth-child(4) { animation-delay: 12s; }

/* Overlay escuro para leitura */
.slideshow-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Conteúdo (Textos e Botões) posicionado à frente das imagens */
.container {
    z-index: 2;
}

/* Keyframes para cross-fade suave entre as imagens */
@keyframes fadeAnimation {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1; /* Aparece suavemente */
    }
    25% {
        opacity: 1; /* Permanece totalmente visível */
    }
    35% {
        opacity: 0; /* Desaparece suavemente */
    }
    100% {
        opacity: 0;
    }
}

.container{
    width: inherit;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 1rem;
    color: var(--primary);
    position: absolute;
    transform: translate(10px, -72px);
    max-width: 90%;
}
.cta{
    width: 220px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 1rem;
    border-radius: 50px;
    margin-top: 1.2rem ;
    transition: all ease 0.4s;


}
.cta a{
    color: var(--primary);
    text-decoration: none;
}
.cta:hover{
    background-color: var(--highlights);
    color: var(--deepblack);
    transform: scale(1.1);
}
.fa-solid{
    font-size: 1.8rem;
}
.jumbo{
    display: flex;
    flex-direction: column;
    background-color:rgba(10  , 10, 10, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    max-width: 600px;
}
.social{
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
}
.social a{
    color: var(--primary);
    text-decoration: none;
    background-color: #23232276;
    padding: 1rem;
    transition: all ease 0.4s;
}
.social a:hover{
    background-color: var(--highlights);
    color: var(--deepblack);
    transform: scale(1.2);
}
.quem {
    min-height: 100vh;
    padding: 5rem 4rem;
    color: var(--deepblack);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    background-color: var(--primary);
    box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.4); /* Sombra elegante no topo da dobra */
}

.quem-top{
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-around;
}

.quem-photo{
    max-width: 480px;
    flex-shrink: 0;
}
.quem-photo img{
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 14px 32px 15px var(--bgblack);
    border-radius: 8px;
}

.quem-info{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 560px;
}
.quem-info h3{
    font-size: 1.6rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    color: var(--highlights);
}
.quem-info p{
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}
.quem-cta{
    align-self: space-between;
    background-color: var(--primary);
    color: var(--deepblack);
    border: 2px solid var(--deepblack);
}
.quem-cta .fa-whatsapp{
    font-size: 1.6rem;
}
.quem-cta:hover{
    background-color: var(--deepblack);
    color: var(--primary);
    border-color: #fff;
}
#destaques h2{
    margin-block: 3rem;
}
.oferta{
    color: var(--highlights);
    font-weight: 800;
}
.quem-gallery{
    display: flex;
    gap: 1rem;
}
.gallery-item{
    flex: 1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}
.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img{
    transform: scale(1.08);
}
.gallery-item figcaption{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.8rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ======================================================
   ESTILOS ADICIONADOS: BADGES E DETALHES DOS ANÚNCIOS
   ====================================================== */
.badge-tipo {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

/* Venda usa o tom principal da paleta (var--highlights) */
.badge-tipo.venda {
    background-color: rgba(203, 104, 67, 0.9);
}

/* Aluguel usa o tom secundário/accent (var--accent) */
.badge-tipo.aluguel {
    background-color: rgba(219, 146, 48, 0.9);
}

.caption-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.imovel-desc {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.imovel-preco {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
}
/* ====================================================== */

.quem-services{
    display: flex;
}
.service-item{
    flex: 1;
    padding: 0 1.5rem;
    border-left: 2px solid var(--accent);
}
.service-item:first-child{
    padding-left: 0;
    border-left: none;
}
.service-item h4{
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--deepblack);
}
.service-item p{
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}



/* Feedback visual do formulário de contato */
.form-feedback {
    display: none;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-feedback.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.form-feedback.success {
    background-color: rgba(46, 125, 50, 0.12);
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

.form-feedback.error {
    background-color: rgba(198, 40, 40, 0.12);
    color: #c62828;
    border: 1px solid #c62828;
}

.form-feedback i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Estado desabilitado do botão durante o envio */
.contato-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 860px){
    .quem{
        padding: 3rem 1.5rem;
        gap: 3rem;
    }
    .quem-top{
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .quem-photo{
        max-width: 200px;
        align-self: center;
    }
    .quem-gallery{
        flex-wrap: wrap;
    }
    .gallery-item{
        flex: 1 1 calc(50% - 0.5rem);
    }
    .quem-services{
        flex-direction: column;
        gap: 2rem;
    }
    .service-item{
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--accent);
        padding-top: 1rem;
    }
    .service-item:first-child{
        border-top: none;
        padding-top: 0;
    }
}

/* Estilo para o label "a partir de" */
.preco-label {
  display: block;
  font-size: 0.7em;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
  text-transform: lowercase;
}

/* Alternativa: exibir inline se preferir */
/* .preco-label {
  font-size: 0.8em;
  font-weight: normal;
  color: #666;
  margin-right: 4px;
  
} */

.contato {
    min-height: 100vh;
    background-image: url(assets/imovel1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 5rem 4rem;
}
.contato::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.contato-text{
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 520px;
    color: var(--primary);
}
.contato-text h2{
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}
.contato-text p{
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 420px;
    color: rgba(255,255,255,0.85);
}

.contato-form{
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem;
    background-color: var(--primary);
    color: var(--bgblack);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.contato-form label{
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--deepblack);
}
.contato-form input{
    border: none;
    border-bottom: 2px solid var(--deepblack);
    background: transparent;
    padding: 0.5rem 0.2rem;
    font-size: 1rem;
    color: var(--deepblack);
    outline: none;
    transition: border-color 0.3s ease;
}
.contato-form input::placeholder{
    color: var(--bgdark);
    opacity: 0.5;
}
.contato-form input:focus{
    border-color: var(--highlights);
}
.contato-submit{
    align-self: flex-start;
    background-color: var(--deepblack);
    color: var(--primary);
    border: none;
    cursor: pointer;
    margin-top: 0.8rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.contato-submit:hover{
    background-color: var(--highlights);
    transform: scale(1.05);
}


footer {
    background-color: var(--deepblack);
    color: var(--primary);
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.8rem;
}

@media (max-width: 860px){
    .contato{
        flex-direction: column;
        align-items: flex-start;
        padding: 3.5rem 1.5rem;
        gap: 2.5rem;
    }
    .contato-text, .contato-form{
        max-width: 100%;
    }
    .contato-form{
        width: 100%;
    }
}

.desabled{
    display: none;
}

@media (max-width: 420px){
    .jumbo{
        max-width: 100%;
        padding: 1rem;

    }
    .logo-main{
        width: 200px;
    }
    .jumbo h1{
        font-size: 1.3rem;
    }
    .jumbo p{
        font-size: 0.65rem;
    }
    .cta{
        width: 180px;
        height: 36px;
        padding-inline: 0.8rem;
    }
    .cta a{
        font-size: 0.9rem;
    }

    .social{
        font-size: 1.2rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 1.5rem;
    }
}