
<!-- :root {
  --cor-1: rgb(170, 179, 97);
  --cor-2: rgb(65, 88, 163);
  --cor-3: rgb(131, 141, 53);
  --cor-4: rgb(30, 48, 109);
  --cor-texto: #ffffff;
  --cor-sombra: #000000;
  --cor-sombra-texto: #000000;
} -->

:root {
    --cor-1: #000000;
    --cor-2: #333333;
    --cor-3: #333333;
    --cor-4: #000000;
    --cor-sombra: #DAA520;
    --cor-sombra-texto: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: linear-gradient(to right, var(--cor-1), var(--cor-2));
    padding: 0 20px 0 20px; /* evita colar nas bordas em telas pequenas */
    padding-top: 150px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(to right, var(--cor-1), var(--cor-2));
    color: white;
    padding: 10px 20px;
    z-index: 10;
    box-shadow: 0px 10px 15px -3px rgba(218, 165, 32, 0.3);
}

.nav-direita {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; /* espaçamento entre WhatsApp e hambúrguer */
}

.nav-front {
    padding: 10px 20px;
}

.logo-container {
    display: flex;
}

.logo-link {
    box-shadow: unset;
    margin: 0;
    padding: 0;
}

.logo-link::before {
    background: unset;
}

.logo {
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;
    max-width: 150px;
}

.hamburger {
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 11;
    color: var(--cor-texto);
}

.menu {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    display: none;
    border-radius: 8px;
    width: 200px;
}

.menu a {
    padding: 8px;
}

.menu.active {
    display: flex;
}

.footer {
    width: calc(100% + 40px); /* 20px de cada lado */
    margin-left: -20px;
    margin-right: -20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-image: linear-gradient(to right, var(--cor-1), var(--cor-2));
    color: white;
    margin-top: auto;
    padding: 10px 20px;
    box-shadow: 0px -10px 15px -3px rgba(218, 165, 32, 0.3);
}

.copyright-container {
    height: 100%;
    opacity: 0.8;
}

a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--cor-texto);
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 1;
}

a::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--cor-3), var(--cor-4));
    z-index: -1;
    opacity: 0;
}

a:hover::before {
    opacity: 1;
}

.submit {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    color: var(--cor-texto);
    cursor: pointer;
    gap: 8px;
    height: fit-content;
    width: 100%;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
    transition: background-color 0.3s ease;
}

.submit:hover {
    background-image: linear-gradient(to right, var(--cor-3), var(--cor-4));
}

.filtros {
    display: flex;
    justify-content: center;
    align-items: stretch;
    color: var(--cor-texto);
    gap: 20px;
    padding: 0px;
    margin: 0 0 80px 0;
    width: 100%;
}

.input-field{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgb(0, 0, 0, 0.4);
    border-radius: 8px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    justify-content: end;
    padding: 5px;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
}

.form-label {
    padding-left: 5px;
    padding-top: 5px;
    font-size: 15px;
    font-weight: 500;
    min-height: 20px;
    margin-bottom: 4px;
    text-align: center;
}

.form-control {
    padding: 10px;
    font-size: 15px;
    width: 100%;
    border: none;
    border-radius: 8px;
    outline: none;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--cor-texto);
    text-align: left;
}

.form-control::placeholder {
    color: rgb(255, 255, 255, 0.8);
    opacity: 0.6;
}

.form-control-center {
    padding: 10px;
    font-size: 15px;
    width: 100%;
    border: none;
    border-radius: 8px;
    outline: none;
    background-color: rgb(0, 0, 0, 0.2);
    color: var(--cor-texto);
    text-align: center;
}

.form-control-center::placeholder {
    color: rgb(255, 255, 255, 0.8);
    opacity: 0.6;
}

.btn-filtros {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
    display: flex; /* 👈 novo */
    align-items: stretch; /* 👈 novo */
}

.btn-filtros .submit {
    height: 100% !important;
    width: 100%;
}

.btn-fotos-video {
    display: flex;
    align-items: center;
    justify-content: center; /* garante alinhamento horizontal mesmo com 1 botão */
    width: 100%;
    margin: 20px;
    gap: 20px;
}

.btn-fotos-video .submit {
    background-image: unset;
    background-color: transparent !important;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
    width: 150px;
}

.btn-fotos-video .submit:hover {
    background-image: linear-gradient(to right, var(--cor-3), var(--cor-4));
}

.btn-whatsapp {
    background-image: linear-gradient(to right, var(--cor-1), var(--cor-2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 15px;
    margin: 40px 0 20px 0;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    color: var(--cor-texto);
    cursor: pointer;
    gap: 8px;
    height: fit-content;
    width: 100%;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
    transition: background-color 0.3s ease;
}

.btn-compartilhar {
    background-image: linear-gradient(to right, var(--cor-1), var(--cor-2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 15px;
    margin: 20px 0 40px 0;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    color: var(--cor-texto);
    cursor: pointer;
    gap: 8px;
    height: fit-content;
    width: 100%;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
    transition: background-color 0.3s ease;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 15px;
    font-size: 20px;
    font-weight: 500;
    color: var(--cor-texto);
    cursor: pointer;
    height: fit-content;
    box-shadow: none;
}

.whatsapp-header::before {
    background-image: none !important;
}

.whatsapp-emoji {
    font-size: 30px;
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.whatsapp-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.whatsapp-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    opacity: 0.7;
}

.perfil-info {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 15px;
    gap: 30px;
    font-size: 20px;
    font-weight: 500;
    color: var(--cor-texto);
    cursor: pointer;
    height: fit-content;
    box-shadow: none;
}

.perfil-info::before {
    background-image: none !important;
}

.perfil-info-direita {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.usuario-label {
    font-size: 22px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.creci-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    opacity: 0.7;
}

.whatsapp-number-perfil {
    font-size: 14px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    opacity: 0.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    gap: 40px;
    padding: 0px;
    margin-bottom: 80px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.card {
    background-image: linear-gradient(to right, var(--cor-1), var(--cor-2));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.02);
}

.carousel {
    aspect-ratio: 4/3;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.carousel img.active {
    display: block;
}

.card-content {
    padding: 16px;
    text-align: center;
}

.card-content h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.card-content a {
    background-image: linear-gradient(to right, var(--cor-1), var(--cor-2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    color: var(--cor-texto);
    cursor: pointer;
    gap: 8px;
    height: fit-content;
    width: 100%;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.card-content a:hover {
    background-image: linear-gradient(to right, var(--cor-3), var(--cor-4));
}

.container-midias {
    display: flex;
    margin-bottom: 20px;
}

.video-imovel {
    position: relative;
    width: 100%; /* ocupa toda a largura do container */
    max-width: 480px; /* opcional, limita largura máxima */
    margin: 20px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
    aspect-ratio: 9 / 16; /* altura proporcional à largura para vídeo vertical */
}

.video-imovel iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.carousel-imovel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
}

.carousel-imovel img {
    display: none;
    width: 100%;
    height: 600px;
    object-fit: contain;
}

.carousel-imovel img.active {
    display: block;
}

.carousel-imovel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-imovel-controls button {
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

.galeria-imovel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.galeria-imovel.active {
    display: flex;
}

.galeria-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.imagem-galeria {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    object-fit: contain;
}

.fechar-galeria {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}

.detalhes-imovel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 0 150px;
    margin-bottom: 60px;
}

.informacoes-imovel {
    flex: 3;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-top: 30px;
}

.titulo-imovel h1 {
    margin-right: 50px;
}

h1 {
    margin-bottom: 30px;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.descricao-perfil {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 10px 60px 10px;
    font-size: 20px;
    font-weight: 500;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    text-align: justify
}

.descricao-perfil p {
    text-indent: 1em; /* equivalente a duas letras 'M' de espaço */
    margin-bottom: 20px; /* espaço entre parágrafos */
    line-height: 1.4;    /* aumenta o espaçamento entre linhas dentro do parágrafo */
}

.caracteristicas-imovel {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.caracteristicas-imovel div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    min-width: 90px;
}

.caracteristicas-imovel .emoji {
    font-size: 26px;
    display: block;
}

.descricao-imovel {
    display: flex;
    margin: 30px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.descricao-imovel .emoji {
    font-size: 26px;
    display: block;
}

.card-informacoes-imovel {
    flex: 1.5;
    padding: 20px;
    margin-top: 30px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--cor-texto);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
}

.card-informacoes-imovel p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

#preview-box-front {
    display: flex;
}

#preview-perfil-front {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.centralizado {
    text-align: center !important;
    display: block !important;
    justify-content: center !important;
}

.hidden {
  display: none;
}

.reveal-direita {
  opacity: 0;
  transform: translateX(-500px);
  transition: all 1.5s ease;
}

.reveal-esquerda {
  opacity: 0;
  transform: translateX(150px);
  transition: all 1.5s ease;
}

.reveal-esquerda-longa {
  opacity: 0;
  transform: translateX(500px);
  transition: all 1.5s ease;
}

.reveal-direita.active, .reveal-esquerda.active, .reveal-esquerda-longa.active {
  opacity: 1;
  transform: translateX(0);
  animation:  diagonal-shake 0.3s ease 1.5s; /* dura 0.3s, começa após 1.5s */
}

@keyframes diagonal-shake {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(1px, -1px) rotate(2deg); }
  50%  { transform: translate(-1px, 1px) rotate(-2deg); }
  75%  { transform: translate(1px, -1px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.mapa {
    display: flex;
    width: 800px;
    height: 600px;
    border: none;
    margin-bottom: 80px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
}

@media screen and (max-width: 768px) {

    .mapa {
        width: 100%;
        height: 300px;
    }
    
    .carousel {
        height: 250px;
    }

    .carousel-imovel {
        width: 100%;
    }

    .carousel-imovel img {
        height: auto;
    }

    .detalhes-imovel {
        padding: unset;
        flex-direction: column;
    }

    .titulo-imovel h1 {
        margin-right: unset;
    }

    .card-informacoes-imovel {
        width: 100%;
    }

    .nav-direita {
        gap: unset; /* espaçamento entre WhatsApp e hambúrguer */
    }

    .logo {
        font-size: 1rem;
        max-width: 120px;
    }

    .whatsapp-emoji {
        font-size: 20px;
    }

    .whatsapp-number {
        font-size: 15px;
    }

    .whatsapp-label {
        font-size: 12px;
    }

    .footer {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-direita {
        justify-content: center;
    }

    .copyright-container {
        opacity: 0.8;
    }

    .reveal-esquerda {
        transform: translateY(-250px);
    }

    .filtros {
        display: flex;
        flex-direction: column;
    }

    .btn-filtros {
        position: unset;
        right: unset;
        width: 100%;
    }

    .form-control-center {
        text-align: center;
    }
}