.secao-pagina {
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.conteudo-pagina {
    padding: 0 20px;
}

.localizacao-info {
    text-align: center;
    margin-bottom: 40px;
}

.localizacao-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--cor-tema);
    margin-bottom: 20px;
}

.nome-empresa {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.endereco {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.mapa-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contato-info h3,
.contato-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-item-contato {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item-contato:last-child {
    border-bottom: none;
}

.info-item-contato i {
    font-size: 24px;
    color: var(--cor-tema);
    min-width: 30px;
}

.info-item-contato strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-item-contato p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.imovel-consultado {
    background: linear-gradient(135deg, var(--cor-tema) 0%, #660000 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    color: #fff;
}

.imovel-consultado h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.imovel-consultado .imovel-titulo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.imovel-consultado .imovel-valor {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
}

.btn-ver-imovel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-ver-imovel-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(5px);
}

.btn-whatsapp-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-contato:hover {
    background: #1faa52;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-contato i {
    font-size: 20px;
}

.form-contato {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.mensagem-sucesso,
.mensagem-erro {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.mensagem-sucesso {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.mensagem-erro {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.mensagem-sucesso i,
.mensagem-erro i {
    font-size: 20px;
}

.form-group-contato {
    margin-bottom: 20px;
}

.form-group-contato label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group-contato input,
.form-group-contato textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.form-group-contato input:focus,
.form-group-contato textarea:focus {
    outline: none;
    border-color: var(--cor-tema);
    box-shadow: 0 0 0 4px rgba(153, 0, 0, 0.1);
}

.form-group-contato textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-enviar {
    background: var(--cor-tema);
    color: #fff;
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.btn-enviar:hover {
    background: #660000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 0, 0, 0.3);
}

.detalhes-imovel {
    padding: 30px 0 50px;
}

.detalhes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.detalhes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.detalhes-titulo {
    flex: 1;
}

.detalhes-titulo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.codigo-badge {
    background: #f0f0f0;
    color: #666;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.detalhes-badge {
    background: var(--cor-tema);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detalhes-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.detalhes-galeria {
    min-width: 0;
}

.galeria-principal {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 4/3;
    max-height: 450px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    cursor: zoom-in;
}

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

.galeria-btn-fullscreen {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.galeria-btn-fullscreen:hover {
    background: rgba(0,0,0,0.8);
}

.galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.galeria-nav:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.galeria-nav.prev {
    left: 20px;
}

.galeria-nav.next {
    right: 20px;
}

.galeria-contador {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.galeria-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 0 10px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--cor-tema) #f0f0f0;
}

.galeria-thumbs::-webkit-scrollbar {
    height: 4px;
}

.galeria-thumbs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.galeria-thumbs::-webkit-scrollbar-thumb {
    background: var(--cor-tema);
    border-radius: 2px;
}

.galeria-thumbs img {
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    flex: 0 0 auto;
}

.galeria-thumbs img:hover {
    border-color: #ccc;
    transform: scale(1.05);
}

.galeria-thumbs img.active {
    border-color: var(--cor-tema);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.aberto {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    user-select: none;
}

.lightbox-fechar {
    position: fixed;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-fechar:hover {
    opacity: 1;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-contador {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.sem-imagem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f0f0f0;
    border-radius: 15px;
    color: #999;
}

.sem-imagem i {
    font-size: 60px;
    margin-bottom: 15px;
}

.info-card-imovel {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.info-card-imovel h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.info-preco {
    font-size: 36px;
    font-weight: 800;
    color: var(--cor-tema);
    margin-bottom: 25px;
}

.info-lista {
    margin-bottom: 25px;
}

.info-item-imovel {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item-imovel:last-child {
    border-bottom: none;
}

.info-item-imovel i {
    font-size: 20px;
    color: var(--cor-tema);
    min-width: 24px;
}

.info-item-imovel strong {
    display: block;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-item-imovel span {
    display: block;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.btn-contato-imovel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cor-tema);
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.btn-contato-imovel:hover {
    background: #660000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 0, 0, 0.3);
}

.detalhes-descricao {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.detalhes-descricao h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.detalhes-descricao p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.secao-alugar-vender {
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.alugar-vender-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
    margin-top: 30px;
}

.alugar-vender-imagem {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alugar-vender-imagem img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.alugar-vender-imagem img:hover {
    transform: scale(1.05);
}

.alugar-vender-conteudo {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.alugar-vender-conteudo p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.btn-whatsapp-alugar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-alugar:hover {
    background: #1faa52;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-alugar i {
    font-size: 24px;
}
