/* ==============================
   CONTEÚDO DO HERO
================================= */

.hero-content {
    position: absolute;
    top: 15vh;
    left: 6%;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transform: scale(1);
    transform-origin: top left;
}

.hero-title {
    width: clamp(350px, 42vw, 650px);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 18px;
}

.hero-buttons a {
    display: block;
    line-height: 0;
}

.hero-buttons img {
    display: block;
    width: auto;
    height: clamp(50px, 4.5vw, 80px);
}

/* ==============================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}


body {
    overflow-x: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    width: 100%;
    height: clamp(70px, 5.5vw, 110px);
    padding: 0 clamp(20px, 1.5vw, 35px);
    background: #133026;
}

.header-logo {
    display: block;
    flex: 0 0 auto;
    width: clamp(70px, 5vw, 100px);
    height: auto;
}

.header-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    height: 100%;
    margin-left: clamp(25px, 4vw, 80px);
}

.header-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.header-nav img {
    display: block;
    width: auto;
    height: clamp(30px, 2.8vw, 50px);
    object-fit: contain;
}


main {
    width: 100%;
}


/* ==============================
   HERO
================================= */

.hero {
    position: relative;
    width: 100vw;
    height: calc(100vh + 1800px);
    overflow: hidden;
}

.hero-stage {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #dfe5df;
    z-index: 1;
}


/* ==============================
   LOGO
================================= */

.logo-container {
    position: fixed;

    width: clamp(60px, 5vw, 95px);
    height: clamp(60px, 5vw, 95px);
    right: 6%;
    bottom: 9%;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
}


/* Texto "ROLE A PÁGINA" */

.role-pagina {
    position: absolute;

    width: clamp(125px, 12vw, 240px);
    height: clamp(125px, 12vw, 240px);

    object-fit: contain;

    z-index: 1;
    mix-blend-mode: difference;
    transform-origin: center center;
    animation: role-pagina-rotate 24s linear infinite;
    will-change: transform;
}

@keyframes role-pagina-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Casinha */

.casa-logo {
    position: relative;
    width: clamp(55px, 5.5vw, 105px);
    height: clamp(55px, 5.5vw, 105px);
    object-fit: contain;
    z-index: 2;
}


/* ==============================
   RESPONSIVIDADE
================================= */

#frame-canvas {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    z-index: 0;
}

/* ==============================
   SEÇÃO DE IMÓVEIS (HOME & PÁGINA)
================================= */

.next-section {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: auto;
    background: #ffffff;
    padding: 100px 7%;
    padding-bottom: 200px;
}

.imoveis-page-section {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    padding: 100px 7%;
}

.main-imoveis {
    padding-top: 0px;
}

.secao-titulo-wrap {
    margin-bottom: 60px;
}

.section-title {
    display: block;
    width: clamp(350px, 45vw, 750px);
    height: auto;
}

.imoveis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 20px;
}

.imoveis-filtros {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.ordenar-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(0px);
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ordenar-selecao {
    color: #133026;
    font-family: "Crimson Text", serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 700;
    white-space: nowrap;
}

.ordenar-seta {
    display: inline-block;
    color: #133026;
    font-family: "Crimson Text", serif;
    font-size: 4rem;
    line-height: 1;
}
.ordenar-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    display: grid;
    min-width: 180px;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(19, 48, 38, 0.25);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.ordenar-menu[hidden] {
    display: none;
}

.ordenar-menu button {
    padding: 14px 18px;
    font: 700 1.4rem "Crimson Text", serif;
    text-align: left;
    cursor: pointer;
}

.ordenar-menu button:hover,
.ordenar-menu button:focus-visible {
    background: rgba(19, 48, 38, 0.1);
}



/* ==============================
   CARDS GRID
================================= */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    margin-bottom: 80px;
}

@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   IMOVEL CARD
================================= */

.imovel-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.imovel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.imovel-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.imovel-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.imovel-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 32px;
    width: auto;
    z-index: 2;
}

.imovel-info-wrapper {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
    margin-top: -15px;
}

.imovel-balao-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 1;
}

.imovel-info-content {
    position: relative;
    z-index: 2;
    padding: 18px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.imovel-titulo {
    font-family: "Crimson Text", serif;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 800;
    color: #133026;
    margin-bottom: 4px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
}

.imovel-local {
    font-family: "Crimson Text", serif;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    line-height: 1.1;
}

.imovel-local img {
    height: 25px;
    width: auto;
}

.imovel-local span {
    font-size: 1rem;
    color: #555;
}

.imovel-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
    gap: 8px;
    min-height: 65px;
}

.imovel-preco {
    font-family: "Crimson Text", serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: #133026;
    line-height: 1;
    white-space: nowrap;
}

.btn-ver-mais {
    font-family: "Crimson Text", serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    background: #133026;
    color: #fff;
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 14px;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-ver-mais:hover {
    background: #1a4234;
}

/* ==============================
   BOTÃO VER TODOS
================================= */

.btn-todos-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-todos-wrap img {
    width: clamp(500px, 50vw, 2000px);
    height: auto;
    transition: transform 0.3s;
}

.btn-todos-wrap a:hover img {
    transform: scale(1.02);
}

/* ==============================
   SOBRE NOS
================================= */

.sobre-nos-section {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    margin-top: 0;
    overflow: hidden;
    background: #133026;
    z-index: 11;
}

.sobre-nos-ilustracao {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sobre-nos-titulo {
    position: absolute;
    top: 5%;
    left: 50%;
    display: block;
    width: 23%;
    height: auto;
    transform: translateX(-50%);
}

.sobre-nos-texto-wrap {
    position: absolute;
    top: 27%;
    left: 8%;
    display: block;
    width: 42%;
    height: auto;
}

.sobre-nos-texto-fundo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    transform: scale(1.1);
}

.sobre-nos-texto {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    z-index: 2;
}

@media (max-width: 600px) {
    .sobre-nos-section {
        aspect-ratio: 1 / 1.18;
        margin-top: 16px;
    }

    .sobre-nos-ilustracao {
        width: 180%;
        max-width: none;
        left: -40%;
    }

    .sobre-nos-titulo {
        top: 8%;
        width: 42%;
    }

    .sobre-nos-texto-wrap {
        top: 30%;
        left: 9%;
        width: 72%;
    }
}

/* ==============================
   FALE CONOSCO
================================= */

.fale-conosco-section {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #fff;
}

.fale-conosco-ilustracao {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fale-conosco-titulo {
    position: absolute;
    top: 5%;
    left: 50%;
    display: block;
    width: clamp(300px, 30vw, 1500px);
    height: auto;
    z-index: 3;
    transform: translateX(-50%);
}

.fale-conosco-section::after {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 4px;
    height: 14%;
    background: #000;
    content: "";
    transform: translateX(-50%);
}

.fale-conosco-formularios {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8% 6% 4%;
}

.fale-conosco-form {
    position: relative;
    z-index: 0;
    width: 34%;
    min-height: 900px;
    padding: 120px 30px 22px;
}

.fale-conosco-painel {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 60%;
    object-fit: fill;
    opacity: 0.58;
    z-index: 0;
}

.fale-conosco-tipo {
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
    height: auto;
    z-index: 1;
}

.fale-conosco-campos {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #050505;
    font-family: "Crimson Text", serif;
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    font-weight: 700;
    z-index: 1;
}

.fale-conosco-campos input,
.fale-conosco-campos textarea {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: rgba(19, 48, 38, 0.72);
    color: #fff;
    font: inherit;
    outline: none;
}

.fale-conosco-campos input {
    height: 60px;
    padding: 8px 12px;
}

.fale-conosco-campos textarea {
    height: 200px;
    padding: 8px 12px;
    resize: vertical;
}

.fale-conosco-botao {
    position: relative;
    z-index: 1;
    display: block;
    margin: 12px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.fale-conosco-botao img {
    display: block;
    width: clamp(300px, 18vw, 500px);
    height: auto;
}

@media (max-width: 700px) {
    .fale-conosco-section {
        aspect-ratio: auto;
        min-height: auto;
        background: #fff;
    }

    .fale-conosco-ilustracao {
        width: 190%;
        max-width: none;
        left: -45%;
    }

    .fale-conosco-titulo {
        top: 4%;
        width: 65%;
    }

    .fale-conosco-formularios {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        padding: 22% 8% 10%;
    }

    .fale-conosco-form {
        width: min(100%, 390px);
        min-height: 360px;
        padding: 68px 28px 22px;
    }
}

/* ==============================
   DETALHES DO IMÓVEL
================================= */

/* ==============================
   FOOTER
================================= */

.site-footer {
    position: relative;
    z-index: 11;
    width: 100%;
    height: 520px;
    padding: 18px 4% 12px;
    background: #133026;
    color: #f0dca1;
}

.site-footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.site-footer-frase {
    display: block;
    width: clamp(280px, 28vw, 560px);
    height: auto;
}

.site-footer-divider {
    display: block;
    width: min(100%, 1500px);
    height: 3px;
    background: #fff;
}

.site-footer-content {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.35fr 1.15fr 0.7fr;
    align-items: start;
    gap: 20px;
    max-width: 1800px;
    width: 100%;
    margin: 14px auto 10px;
}

.site-footer-identity,
.site-footer-navigation,
.site-footer-contact,
.site-footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer-contact {
    transform: translateX(55px);
}

.site-footer-logo {
    display: block;
    width: clamp(110px, 12vw, 210px);
    height: auto;
    margin-bottom: 2px;
    transform: translateY(-25px);
}

.site-footer-info,
.site-footer-heading,
.site-footer-navigation a img,
.site-footer-contact a img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 35px;
}

.site-footer-info {
    height: 42px;
    transform: translateY(-25px);
}

.site-footer-heading {
    height: 42px;
    margin-bottom: 1px;
}

.site-footer-navigation a,
.site-footer-contact a {
    display: block;
    line-height: 0;
}

.site-footer-social {
    align-items: center;
    transform: translateX(45px);
}

.site-footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.site-footer-social-icons img {
    display: block;
    height: 55px;
    object-fit: contain;
}

.site-footer-role {
    display: block;
    width: 65px;
    height: 65px;
    animation: role-pagina-rotate 24s linear infinite;
}

.site-footer-house {
    position: absolute;
    display: block;
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.site-footer-rights {
    display: block;
    width: min(800px, 100%);
    height: auto;
    margin: 0 auto;
}

body.modal-open {
    overflow: hidden;
}

.imovel-detalhes-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 18, 0.2);
    backdrop-filter: blur(2px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.imovel-detalhes-panel {
    position: relative;
    width: min(900px, 82vw);
    max-height: 88vh;
    overflow-y: auto;
    background: #f3efe8;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    padding: 12px 18px 14px;
    transform: scale(1);
    transform-origin: center center;
}

.detalhes-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(19, 48, 38, 0.09);
    color: #143328;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.detalhes-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    align-items: start;
    gap: 42px;
    padding-top: 20px;
}

.detalhes-galeria {
    width: 100%;
}

.galeria-main-image {
    width: 100%;
    height: 400px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.galeria-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.galeria-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 12px;
    height: 110px;
}

.galeria-thumb {
    position: relative;
    width: 100%;
    height: 160px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.galeria-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.galeria-thumb-more::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 13, 0.28);
}

.galeria-thumb-more img {
    filter: brightness(0.8);
}

.galeria-thumb-more .galeria-thumb-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Crimson Text", serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    background: rgba(7, 11, 10, 0.25);
}

.galeria-thumb-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 25, 21, 0.35);
    color: #fff;
    font-family: "Crimson Text", serif;
    font-size: clamp(2rem, 2vw, 3rem);
    font-weight: 700;
    z-index: 2;
}

.detalhes-info {
    width: 100%;
    padding-right: 4px;
}

.detalhes-titulo {
    margin: 0 0 12px;
    font-family: "Crimson Text", serif;
    font-size: clamp(2.1rem, 2vw, 3.3rem);
    line-height: 1.2;
    color: #133026;
    letter-spacing: 0.02em;
}

.detalhes-localizacao {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #1d1d1d;
    font-size: clamp(1.1rem, 1.3vw, 1.55rem);
    font-family: "Crimson Text", serif;
}

.detalhes-localizacao img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.detalhes-features {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 8px;
    margin-bottom: 22px;
    align-items: start;
}

.detalhes-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 110px;
}

.detalhes-feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.detalhes-feature-number {
    font-family: "Crimson Text", serif;
    font-size: clamp(1.45rem, 1.8vw, 2.1rem);
    font-weight: 700;
    color: #133026;
    line-height: 1;
    margin-bottom: 6px;
}

.detalhes-feature-label {
    font-family: "Crimson Text", serif;
    font-size: clamp(0.9rem, 1vw, 1.15rem);
    color: #3f403d;
    line-height: 1.2;
}

.detalhes-secao {
    margin-top: 6px;
}

.detalhes-secao h3 {
    margin: 0;
    font-family: "Crimson Text", serif;
    font-size: clamp(1.7rem, 1.8vw, 2.7rem);
    font-weight: 700;
    color: #133026;
}

.detalhes-separator {
    border-top: 1px dashed rgba(19, 48, 38, 0.6);
    margin: 10px 0 18px;
}

.detalhes-secao p {
    margin: 0;
    color: #2f2f2f;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
    max-width: 100%;
}

.detalhes-valores {
    margin-top: 18px;
    padding: 22px 22px 12px;
    background: rgba(199, 184, 160, 0.48);
    border-radius: 12px;
    display: grid;
    gap: 10px;
}

.detalhes-valor-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: "Crimson Text", serif;
    font-size: clamp(1.2rem, 1.4vw, 2.1rem);
    color: #1a1a1a;
    border-bottom: 1px solid rgba(19, 48, 38, 0.2);
    padding-bottom: 8px;
}

.detalhes-valor-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detalhes-valor-row strong {
    font-weight: 700;
    color: #133026;
}

.total-row {
    margin-top: 8px;
    font-size: clamp(1.35rem, 1.5vw, 2.3rem);
    padding-top: 4px;
}

.detalhes-btn-interesse {
    width: 100%;
    margin-top: 18px;
    border: none;
    cursor: pointer;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(20, 60, 47, 0.95), rgba(12, 35, 28, 0.95));
    color: #fdf9f1;
    font-family: "Crimson Text", serif;
    font-size: clamp(1.8rem, 2vw, 2.7rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 18px 18px 16px;
    box-shadow: 0 12px 28px rgba(17, 47, 35, 0.2);
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 11, 10, 0.84);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px;
}

.lightbox-content {
    position: relative;
    width: min(1200px, 75vw);
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lightbox-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}


.lightbox-arrow,
.lightbox-close {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.lightbox-arrow {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 26px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 2.4rem;
    line-height: 1;
    z-index: 2;
}

@media (max-width: 1100px) {
    .detalhes-layout {
        grid-template-columns: 1fr;
    }

    .detalhes-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .imovel-detalhes-overlay {
        padding: 12px;
    }

    .imovel-detalhes-panel {
        width: min(96vw, 100%);
        padding: 22px 16px 18px;
    }

    .logo-container {
        display: none;
    }

    .detalhes-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 2rem;
    }

    .galeria-main-image {
        height: 320px;
    }

    .galeria-thumbs {
        grid-template-columns: repeat(3, minmax(60px, 1fr));
        gap: 8px;
    }

    .galeria-thumb {
        height: 96px;
    }

    .detalhes-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 8px;
    }

    .lightbox-overlay {
        padding: 14px;
        gap: 10px;
    }

    .lightbox-content {
        width: 72vw;
        height: 65vh;
    }

    .lightbox-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.7rem;
    }

    .site-header {
        padding: 0 10px;
        height: 84px;
    }

    .header-logo {
        width: 62px;
        height: 62px;
    }

    .header-nav {
        justify-content: space-between;
        gap: 6px;
        margin-left: 8px;
    }

    .header-nav img {
        height: 18px;
    }

    .hero {
        height: calc(100svh - 84px + 1800px);
    }

    .hero-stage {
        height: calc(100svh - 84px);
    }

    .logo-container, .logo-container-static {
        right: 5%;
        bottom: 5%;
        width: 96px;
        height: 96px;
    }

    .casa-logo {
        width: 58%;
        height: 58%;
    }
    
    .main-imoveis {
        padding-top: 84px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: calc(100svh - 84px + 1800px);
    }

    .logo-container, .logo-container-static {
        width: 78px;
        height: 78px;
    }

    .casa-logo {
        width: 58%;
        height: 58%;
    }
}


.icon-quartos {
    width: 60px;
    height: 70px;
    transform: translateY(-6px);
}

.icon-banheiros {
    width: 40px;
    height: 70px;
    transform: translateY(-7px);
}

/* ==============================
   LAYOUT MOBILE
================================= */

@media (max-width: 768px) {
    .site-header {
        height: 84px;
        padding: 0 12px;
    }

    .logo-container {
        display: none;
    }

    .header-logo {
        width: 62px;
        height: 62px;
    }

    .header-nav {
        justify-content: space-between;
        gap: 8px;
        margin-left: 10px;
    }

    .header-nav a {
        min-width: 0;
    }

    .header-nav img {
        width: auto;
        height: 18px;
        max-width: 100%;
    }

    .hero {
        width: 100%;
        height: calc(100svh - 84px);
        min-height: 560px;
        margin-top: 84px;
    }

    .hero-stage {
        width: 100%;
        height: 100%;
    }

    .hero-content {
        top: 12%;
        left: 8%;
        right: 8%;
        align-items: center;
        transform: none;
    }

    .hero-title {
        width: min(78vw, 330px);
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        margin-top: 20px;
    }

    .hero-buttons img {
        width: auto;
        max-width: 42vw;
        height: 42px;
    }

    .hero .logo-container {
        position: absolute;
        right: 5%;
        bottom: 5%;
        width: 76px;
        height: 76px;
    }

    .hero .role-pagina {
        width: 150px;
        height: 150px;
    }

    .hero .casa-logo {
        width: 58%;
        height: 58%;
    }

    .next-section {
        min-height: auto;
        padding: 48px 16px 64px;
    }

    .container-imoveis-home {
        width: 100%;
    }

    .secao-titulo-wrap {
        margin-bottom: 28px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-title {
        width: 100%;
        max-width: 360px;
        height: auto;
    }


    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
        min-width: 0;
    }

    .imovel-card {
        width: 100%;
        min-width: 0;
        border-radius: 14px;
    }

    .imovel-img-wrapper {
        height: min(68vw, 280px);
    }

    .imovel-tag {
        top: 10px;
        left: 10px;
        height: 34px;
    }

    .imovel-info-content {
        padding: 18px 16px 24px;
        min-width: 0;
    }

    .imovel-titulo {
        font-size: clamp(1.35rem, 5vw, 1.8rem);
        line-height: 1.1;
    }

    .imovel-local {
        gap: 6px;
        margin-bottom: 16px;
        font-size: 1.2rem;
    }

    .imovel-local img {
        height: 22px;
    }

    .imovel-local span {
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }

    .imovel-preco {
        font-size: 1.3rem;
    }

    .btn-ver-mais {
        padding: 7px 12px;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .btn-todos-wrap {
        margin-top: 28px;
    }

    .btn-todos-wrap img {
        width: min(100%, 360px);
    }

    .imoveis-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .imoveis-header .section-title {
        width: 100%;
        max-width: 360px;
        height: auto;
    }

    .imoveis-filtros {
        width: 100%;
    }

    .ordenar-toggle {
        transform: none;
    }

    .sobre-nos-section {
        aspect-ratio: 1 / 1.18;
        margin-top: 0;
    }

    .sobre-nos-ilustracao {
        width: 180%;
        max-width: none;
        left: -40%;
    }

    .sobre-nos-titulo {
        top: 8%;
        width: 48%;
    }

    .sobre-nos-texto-wrap {
        top: 30%;
        left: 8%;
        width: 84%;
    }

    .fale-conosco-section {
        aspect-ratio: auto;
        min-height: 0;
        padding-bottom: 24px;
    }

    .fale-conosco-ilustracao {
        width: 190%;
        max-width: none;
        height: 100%;
        left: -45%;
        object-fit: cover;
    }

    .fale-conosco-titulo {
        top: 4%;
        width: min(78vw, 360px);
    }

    .fale-conosco-section::after {
        top: 13%;
        height: 9%;
        width: 3px;
    }

    .fale-conosco-formularios {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        padding: 24% 16px 4%;
    }

    .fale-conosco-form {
        width: min(100%, 390px);
        min-height: 360px;
        padding: 68px 28px 22px;
    }

    .fale-conosco-painel {
        height: 100%;
    }

    .fale-conosco-tipo {
        top: 14px;
    }

    .fale-conosco-campos {
        font-size: 1rem;
    }

    .fale-conosco-campos input {
        height: 44px;
    }

    .fale-conosco-campos textarea {
        height: 130px;
    }

    .fale-conosco-botao {
        margin: 18px auto 0;
    }

    .fale-conosco-botao img {
        width: min(72vw, 250px);
    }

    .site-footer {
        min-height: auto;
        height: auto;
        padding: 32px 20px 20px;
    }

    .site-footer-frase {
        width: min(90vw, 340px);
    }

    .site-footer-divider {
        width: 100%;
        height: 3px;
    }

    .site-footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 28px;
        width: 100%;
        min-width: 0;
        margin: 28px auto 24px;
    }

    .site-footer-identity,
    .site-footer-navigation,
    .site-footer-contact,
    .site-footer-social,
    .site-footer-page-mark {
        align-items: center;
        width: 100%;
        min-width: 0;
    }

    .site-footer-info {
        transform: translate(30px, -50px);
    }

    .site-footer-contact {
        transform: none;
    }

    .site-footer-logo {
        width: 150px;
        transform: translateY(-10px);
    }

    .site-footer-info,
    .site-footer-heading,
    .site-footer-navigation a img,
    .site-footer-contact a img {
        max-width: 90vw;
        height: auto;
    }

    .site-footer-heading {
        width: auto;
        max-width: 80vw;
        height: 24px;
    }

    .site-footer-social-icons {
        width: max-content;
        max-width: 100%;
        margin-top: 4px;
    }

    .site-footer-social-icons img {
        width: 42px;
        height: 42px;
    }

    .site-footer-rights {
        width: min(100%, 360px);
    }

    .imovel-detalhes-overlay {
        align-items: flex-start;
        overflow-y: auto;
        padding: 12px;
    }

    .imovel-detalhes-panel {
        width: 100%;
        max-height: none;
        margin: 12px 0;
        padding: 54px 16px 18px;
        transform: none;
    }

    .detalhes-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 0;
    }

    .detalhes-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .galeria-main-image {
        height: min(72vw, 300px);
    }

    .galeria-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .galeria-thumb {
        height: min(24vw, 96px);
    }

    .detalhes-titulo {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        overflow-wrap: anywhere;
    }

    .detalhes-localizacao {
        align-items: flex-start;
        font-size: 1rem;
    }

    .detalhes-localizacao span,
    .detalhes-secao p {
        overflow-wrap: anywhere;
    }

    .detalhes-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
    }

    .detalhes-feature-item {
        min-height: 96px;
    }

    .detalhes-feature-icon {
        width: 48px;
        height: 48px;
    }

    .detalhes-secao h3,
    .detalhes-valor-row,
    .total-row {
        font-size: 1.25rem;
    }

    .detalhes-secao p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .detalhes-valores {
        padding: 16px 14px 10px;
    }

    .detalhes-btn-interesse {
        font-size: 1.35rem;
        padding: 14px;
    }

    .ordenar-toggle {
        transform: none;
        align-self: flex-start;
    }

    .ordenar-selecao {
        font-size: 2rem;
    }

    .ordenar-seta {
        font-size: 2rem;
    }

    .ordenar-menu {
        min-width: 220px;
    }

    .ordenar-menu button {
        padding: 10px 12px;
        font-size: 1rem;
    }
}

.icon-suites {
    width: 70px;
    height: 70px;
    transform: translateY(-4px);
}

.icon-vagas {
    width: 70px;
    height: 70px;
    transform: translateY(-6px);
}

.icon-cozinhas {
    width: 70px;
    height: 70px;
    transform: translateY(-2px);
}

.icon-salas {
    width: 60px;
    height: 70px;
    transform: translateY(-11px);
}
