/*
========================================
  SÍTIO DAS PALMEIRAS
  CSS personalizado
========================================
*/

/* ========================================
   IDENTIDADE VISUAL
======================================== */

:root {
    --palmeiras-green: #3F7D4A;
    --palmeiras-green-dark: #2E6339;
    --palmeiras-verde-oliva: #8AAB72;
    --palmeiras-cream: #F3F7EF;
    --palmeiras-white: #ffffff;
    --palmeiras-text: #333b35;
}

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

.header-area .main-nav .logo h1 {
    font-size: 22px;
    white-space: nowrap;
}

/* Logo do Sítio das Palmeiras */
.header-area .main-nav .logo .logo-img {
    display: block;
    width: auto;
    height: 65px;
    max-width: 240px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .header-area .main-nav .logo .logo-img {
        height: 52px;
        max-width: 190px;
    }
}

/* ========================================
   MENSAGENS DO FORMULÁRIO DE CONTATO
======================================== */

/* Estilos comuns */
#contact-form .loading,
#contact-form .error-message,
#contact-form .sent-message {
    display: none;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* ========================================
   INDICADOR DE CARREGAMENTO
======================================== */

#contact-form .loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: var(--palmeiras-cream);
    color: var(--palmeiras-text);
}

/* Círculo giratório */
#contact-form .loading .sitio-spinner {
    display: inline-block !important;

    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;

    box-sizing: border-box !important;
    flex-shrink: 0;

    border: 4px solid #8a9a5b !important;
    border-top: 4px solid transparent !important;
    border-radius: 50% !important;

    animation: sitio-girar 0.8s linear infinite !important;
}

/* Animação do indicador */
@keyframes sitio-girar {
    from {
        transform: rotate(0deg);
    }

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

/* ========================================
   MENSAGEM DE SUCESSO
======================================== */

#contact-form .sent-message {
    background: #e1f3e8;
    color: #205c39;
}

/* ========================================
   MENSAGEM DE ERRO
======================================== */

#contact-form .error-message {
    background: #fbe4e6;
    color: #a51d2d;
}

/* ========================================
   BOTÃO WHATSAPP SESSÃO PROPRIEDADE
======================================== */

/* Efeito hover no ícone do WhatsApp sobre a foto */
.left-image > a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.left-image > a:hover img {
    transform: scale(1.05) translateY(-3px);
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.2));
}

/* ================================================
   COLOCANDO SETAS NAS INFO DA SESSÃO PROPRIEDADE
================================================ */

/* Setas dos títulos do acordeão */
#accordionExample .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Remove a seta padrão do Bootstrap */
#accordionExample .accordion-button::after {
    display: none;
}

/* Círculo e chevron personalizado */
#accordionExample .accordion-button::before {
    content: "";
    order: 2;
    flex-shrink: 0;
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #E8F1E5;
    transition: background-color 0.25s ease;
}

/* Desenha o chevron para baixo */
#accordionExample .accordion-button::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232E6339' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Chevron para cima quando aberto */
#accordionExample .accordion-button:not(.collapsed)::before {
    background-color: #3F7D4A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 7l5-5 5 5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Mantém o foco visual consistente */
#accordionExample .accordion-button:focus {
    box-shadow: 0 0 0 0.15rem rgba(63, 125, 74, 0.2);
}

/* ========================================
   VÍDEO DO SÍTIO DAS PALMEIRAS
======================================== */

.video-frame video {
    display: block;
    width: 100%;
    max-width: 1080px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 10px;
    background: #000;
}

/* Botão central de reprodução do vídeo */
.video-capa {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.video-capa video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: var(--palmeiras-green);
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, transform 0.25s ease,
                box-shadow 0.25s ease;
}

.video-play-btn i {
    margin-left: 0px;
}

.video-play-btn:hover {
    background: var(--palmeiras-green-dark);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.video-play-btn:focus-visible {
    outline: 3px solid var(--palmeiras-verde-oliva);
    outline-offset: 4px;
}

.video-capa.reproduzindo .video-play-btn {
    display: none;
}

@media (max-width: 575px) {
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-play-btn {
        transition: none;
    }
}

/* ========================================
   GALERIA - VISUALIZAÇÃO AMPLIADA
======================================== */

.galeria-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 60px 20px 30px;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.galeria-lightbox.ativo {
    display: flex;
}

.galeria-lightbox img {
    display: block;
    max-width: 95%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.galeria-lightbox #galeria-lightbox-legenda {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 15px;
}

.galeria-lightbox .galeria-fechar {
    position: absolute;
    top: 15px;
    right: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.galeria-lightbox .galeria-fechar:hover {
    background: #254b35;
}

body.lightbox-aberto {
    overflow: hidden;
}

/* Contadores dos filtros da galeria */
.properties-filter li a .filtro-contador {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.75;
}

.properties-filter li a.is_active .filtro-contador {
    opacity: 1;
}

/* ========================================
   GALERIA - NAVEGAÇÃO ENTRE IMAGENS
======================================== */

.galeria-lightbox .galeria-anterior,
.galeria-lightbox .galeria-proximo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 58px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.galeria-lightbox .galeria-anterior {
    left: 20px;
}

.galeria-lightbox .galeria-proximo {
    right: 20px;
}

.galeria-lightbox .galeria-anterior:hover,
.galeria-lightbox .galeria-proximo:hover {
    background: var(--palmeiras-green);
}

@media (max-width: 575px) {
    .galeria-lightbox {
        padding-left: 8px;
        padding-right: 8px;
    }

    .galeria-lightbox img {
        max-width: 100%;
        max-height: 72vh;
    }

    .galeria-lightbox .galeria-anterior,
    .galeria-lightbox .galeria-proximo {
        width: 38px;
        height: 46px;
        font-size: 22px;
        background: rgba(37, 75, 53, 0.85);
    }

    .galeria-lightbox .galeria-anterior {
        left: 8px;
    }

    .galeria-lightbox .galeria-proximo {
        right: 8px;
    }
}

/* ========================================
   GALERIA - PADRONIZAÇÃO DAS IMAGENS
======================================== */

/* Mantém os cartões com imagens de tamanho uniforme */
.properties-box .properties-items .item > a {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f0f0;
}

/* Preenche o espaço sem distorcer as fotografias */
.properties-box .properties-items .item > a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Pequeno efeito ao passar o mouse */
.properties-box .properties-items .item > a:hover img {
    transform: scale(1.04);
}

/* Ajustes para tablets */
@media (max-width: 991px) {
    .properties-box .properties-items .item > a {
        height: 230px;
    }
}

/* Ajustes para celulares */
@media (max-width: 575px) {
    .properties-box .properties-items .item > a {
        height: 240px;
    }
}

/* ========================================
   GALERIA INDEX - EFEITO IMAGENS
======================================== */

/* Efeito hover nas imagens dos destaques */
.properties.section#galeria .item > img {
    transition: transform 0.35s ease, filter 0.35s ease;
    transform-origin: center;
}

.properties.section#galeria .item > img:hover {
    transform: scale(1.04);
    filter: brightness(1.04);
}

/* ========================================
   GALERIA - ACABAMENTO DOS CARTÕES
======================================== */

.properties-box .properties-items .item {
    height: 100%;
    padding: 15px;
    background: var(--palmeiras-white);
    border: 1px solid rgba(37, 75, 53, 0.08);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(24, 53, 37, 0.07);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Elevação suave ao passar o mouse */
.properties-box .properties-items .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(24, 53, 37, 0.14);
    border-color: rgba(138, 154, 91, 0.45);
}

/* Categoria da imagem */
.properties-box .properties-items .item .category {
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 10px;
    padding: 6px 11px;
    background: var(--palmeiras-cream);
    color: var(--palmeiras-green);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Título */
.properties-box .properties-items .item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.properties-box .properties-items .item h4 a {
    color: var(--palmeiras-green-dark);
}

/* Descrição */
.properties-box .properties-items .item p {
    margin-bottom: 5px;
    color: var(--palmeiras-text);
    font-size: 14px;
    line-height: 1.7;
}

/* Respeita usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .properties-box .properties-items .item,
    .properties-box .properties-items .item > a img {
        transition: none;
    }

    .properties-box .properties-items .item:hover {
        transform: none;
    }
}

/* ========================================
   GALERIA - FILTROS POR CATEGORIA
======================================== */

.properties-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0 0 35px;
    list-style: none;
}

.properties-filter li {
    margin: 0 !important;
}

.properties-filter li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(37, 75, 53, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--palmeiras-green);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Efeito ao passar o mouse */
.properties-filter li a:hover {
    background: var(--palmeiras-cream);
    color: var(--palmeiras-green-dark);
    border-color: var(--palmeiras-verde-oliva);
}

/* Ajustes para celulares */
@media (max-width: 575px) {
    .properties-filter {
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 25px;
    }

    .properties-filter li a {
        padding: 9px 12px;
        font-size: 12px;
    }
}

/* Respeita a preferência por menos animações */
@media (prefers-reduced-motion: reduce) {
    .properties-filter li a {
        transition: none;
    }
}

/* ========================================
   GALERIA - BOTÕES DE NAVEGAÇÃO
======================================== */

.galeria-navegacao {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 35px 0 20px;
}

.galeria-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid var(--palmeiras-green);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.galeria-nav-secundario {
    color: var(--palmeiras-green);
    background: #ffffff;
}

.galeria-nav-secundario:hover {
    color: #ffffff;
    background: var(--palmeiras-green);
    border-color: var(--palmeiras-green);
    transform: translateY(-2px);
}

.galeria-nav-principal {
    color: #ffffff;
    background: var(--palmeiras-green);
    border-color: var(--palmeiras-green);
    box-shadow: 0 4px 12px rgba(37, 75, 53, 0.14);
}

.galeria-nav-principal:hover {
    color: #ffffff;
    background: var(--palmeiras-green-dark);
    border-color: var(--palmeiras-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(37, 75, 53, 0.18);
}

.galeria-nav-btn:focus-visible {
    outline: 3px solid var(--palmeiras-verde-oliva);
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .galeria-navegacao {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 25px;
    }

    .galeria-nav-btn {
        width: 100%;
        min-height: 46px;
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .galeria-nav-btn {
        transition: none;
    }

    .galeria-nav-btn:hover {
        transform: none;
    }
}

/* ========================================
   INDEX - BOTÃO ACESSAR GALERIA
======================================== */

/* Botão para acessar a galeria completa */
.galeria-completa-cta {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    padding-bottom: 10px;
}

.galeria-completa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 28px;
    border: 2px solid var(--palmeiras-green);
    border-radius: 8px;
    background: var(--palmeiras-green);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.galeria-completa-btn:hover {
    background: var(--palmeiras-green-dark);
    border-color: var(--palmeiras-green-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 53, 37, 0.18);
}

.galeria-completa-btn i {
    transition: transform 0.25s ease;
}

.galeria-completa-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 575px) {
    .galeria-completa-cta {
        margin-top: 25px;
    }

    .galeria-completa-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .galeria-completa-btn,
    .galeria-completa-btn i {
        transition: none;
    }

    .galeria-completa-btn:hover {
        transform: none;
    }
}

/* ========================================
   ABAS DAS CONSTRUÇÕES - MOBILE
======================================== */

.nav-wrapper {
    width: 100%;
}

.nav-wrapper .nav.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border-bottom: none;
}

.nav-wrapper .nav-tabs .nav-item {
    margin: 0;
}

.nav-wrapper .nav-tabs .nav-link {
    margin: 0;
    border: 1px solid rgba(37, 75, 53, 0.20);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 600;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.nav-wrapper .nav-tabs .nav-link:hover {
    background: var(--palmeiras-cream);
    border-color: var(--palmeiras-verde-oliva);
}


/* Corrige a largura e a sobreposição das abas em tablets */
@media (min-width: 576px) and (max-width: 1199px) {
    .section.best-deal .nav-wrapper {
        width: 100%;
        overflow: hidden;
        transform: translateY(-30px);
    }

    .section.best-deal .nav-wrapper ul.nav.nav-tabs {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .section.best-deal .nav-wrapper ul.nav.nav-tabs > li.nav-item {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .section.best-deal .nav-wrapper ul.nav.nav-tabs > li.nav-item > .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 54px;
        margin: 0;
        padding: 8px 5px;
        box-sizing: border-box;
        font-size: 12px;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* Ajustes para celulares */
@media (max-width: 575px) {
    .nav-wrapper .nav.nav-tabs {
        gap: 10px;
        justify-content: flex-start;
    }

    .nav-wrapper .nav-tabs .nav-item {
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-wrapper .nav-tabs .nav-link {
        width: 100%;
        height: 100%;
        padding: 12px 10px;
        font-size: 13px;
        line-height: 1.4;
        white-space: normal;
    }
}

/* ========================================
   MENU HAMBÚRGUER - TABLETS E CELULARES
======================================== */

@media (min-width: 768px) and (max-width: 1199px) {
    /* Cabeçalho */
    .header-area {
        height: 80px;
        padding: 0 15px;
    }

    .header-area .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .header-area .main-nav {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        overflow: visible;
    }

    .header-area .main-nav .logo {
        position: static;
        flex-shrink: 0;
        margin-left: 0;
    }

    .header-area .main-nav .logo h1 {
        line-height: 80px;
    }

    /* Botão hambúrguer */
    .header-area .main-nav .menu-trigger {
        display: block !important;
        flex-shrink: 0;
        cursor: pointer;
    }

    /* Menu fechado por padrão */
    .header-area .main-nav .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: auto;
        margin: 0 !important;
        padding: 0;
        float: none;
        flex-direction: column;
        background: #ffffff;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    /* Itens do menu aberto */
    .header-area .main-nav .nav li {
        display: block;
        width: 100%;
        height: auto;
        padding: 0 !important;
        margin: 0;
        border-top: 1px solid #eeeeee;
        background: #ffffff;
    }

    .header-area .main-nav .nav li a {
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        min-height: 48px;
        padding: 12px 20px;
        line-height: 1.4;
        white-space: normal;
        color: #1e1e1e;
        background: #ffffff;
        border-radius: 0;
    }

    .header-area .main-nav .nav li:last-child {
        display: block !important;
    }
}

/* Esconde "Agendar visita" em tablets e celulares */
@media (max-width: 1199px) {
    .header-area .main-nav .nav li:last-child {
        display: none !important;
    }
}

/* Alinhamento do botão hambúrguer em tablets */
@media (min-width: 768px) and (max-width: 1199px) {
    .header-area .main-nav .menu-trigger {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 1001;
        flex-shrink: 0;
    }

    .header-area .main-nav .nav {
        z-index: 1000;
    }
}

/* ========================================
   RODAPÉ - SÍTIO DAS PALMEIRAS
======================================== */

footer {
    background: #2E6339;
    color: #ffffff;
}

footer p {
    color: #ffffff;
}

footer a {
    color: #ffffff;
    transition: color 0.25s ease;
}

footer a:hover {
    color: #DCE8D5;
}

/* Rodapé responsivo - Sítio das Palmeiras */
footer .container {
    width: 100%;
}

footer .container > .col-lg-8 {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

footer p {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 14px;
}

@media (max-width: 400px) {
    footer p {
        font-size: 9.5px;
        text-align: end;
    }
}

/* ========================================
   ÍCONES PNG - VERDE ÁRVORE
======================================== */

img[src$="email-icon.png"],
img[src$="loc-icon.png"],
img[src$="info-icon-01.png"],
img[src$="info-icon-02.png"],
img[src$="info-icon-03.png"],
img[src$="info-icon-04.png"],
img[src$="info-icon-05.png"],
img[src$="info-icon-06.png"],
img[src$="phone-icon.png"] {
    filter: brightness(0) saturate(100%)
            invert(43%) sepia(18%) saturate(1000%)
            hue-rotate(82deg) brightness(88%) contrast(88%);
}

/* ========================================
   PÁGINA 404
======================================== */

/* Página 404 - textos brancos */
.pagina-404 h1,
.pagina-404 p {
    color: #ffffff;
}

/* Página 404 - organização dos botões */
.botoes-404 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
}

.botoes-404 .main-button {
    margin: 0;
}

@media (max-width: 575px) {
    .botoes-404 {
        flex-direction: column;
        gap: 14px;
    }

    .botoes-404 .main-button {
        width: 100%;
        max-width: 260px;
    }

    .botoes-404 .main-button a {
        display: block;
        text-align: center;
    }
}

/* ========================================
   BOTÃO FLUTUANTE WHATSAPP
======================================== */

.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;
    border-radius: 50%;

    background: #25D366;
    color: #ffffff;
    font-size: 30px;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    color: #ffffff;
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--palmeiras-green-dark);
    outline-offset: 4px;
}

@keyframes whatsappPulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.25),
            0 6px 18px rgba(37, 211, 102, 0.25);
    }

    70% {
        box-shadow:
            0 0 0 14px rgba(37, 211, 102, 0),
            0 6px 18px rgba(37, 211, 102, 0.25);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            0 6px 18px rgba(37, 211, 102, 0.25);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        left: 15px;
        bottom: 15px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
        transition: none;
    }
}

/* ========================================
   H2 BANNER INÍCIO INDEX PARA MOBILE
======================================== */

/* Ajuste responsivo dos títulos do banner */

@media (max-width: 767px) {
    .main-banner .item h2 {
        width: 100%;
        max-width: 100%;
        font-size: 40px;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        box-sizing: border-box;
    }

    .main-banner .header-text {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
}

/* ========================================
   DESTAQUE VALOR PROPRIEDADE INDEX
======================================== */

/* Destaque do valor de venda */
.info-table ul li.preco-propriedade {
    background: #F3F7EF;
    border: 2px solid #3F7D4A !important;
    border-radius: 12px;
    padding: 22px 18px;
    margin-top: 12px;
}

.info-table ul li.preco-propriedade h4 {
    margin-bottom: 10px;
}

.info-table ul li.preco-propriedade .preco-label {
    display: block;
    color: #3F7D4A;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.info-table ul li.preco-propriedade strong {
    display: block;
    color: #2E6339;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.info-table ul li.preco-propriedade {
    display: block;
    color: #59645A;
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
}

@media (max-width: 575px) {
    .info-table ul li.preco-propriedade strong {
        font-size: clamp(20px, 5.5vw, 25px);
    }
}

/* ========================================
   LINK PARA LOCALIZAÇÃO COMPLETO INDEX 
======================================== */

.endereco-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 10px;
}

.endereco-link .item {
    cursor: pointer;
    transition: transform 0.25s ease;
}

.endereco-link:hover .item {
    transform: translateY(-3px);
}

.endereco-link .ver-localizacao {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 11px;
    background-color: #E8F1E5;
    color: #2E6339;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #C8DCC1;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.endereco-link:hover .ver-localizacao {
    background-color: #3F7D4A;
    color: #ffffff;
    border-color: #3F7D4A;
}

.endereco-link:focus-visible {
    outline: 2px solid #3F7D4A;
    outline-offset: 4px;
}

/* ========================================
   PÁGINA LOCALIZAÇÃO
======================================== */

/* Página de localização */
.localizacao-page .localizacao-card {
    height: 100%;
    min-height: 190px;
    padding: 25px;
    background: #F3F7EF;
    border: 1px solid #dce8d5;
    border-radius: 12px;
}

.localizacao-page .localizacao-card img {
    margin-bottom: 18px;
}

.localizacao-page .localizacao-card h4 {
    color: #2E6339;
    font-size: 20px;
    margin-bottom: 10px;
}

.localizacao-page .localizacao-card p {
    margin-bottom: 0;
    line-height: 1.7;
}

.localizacao-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.localizacao-botoes a {
    display: inline-block;
    text-align: center;
}

@media (max-width: 575px) {
    .localizacao-botoes {
        flex-direction: column;
    }

    .localizacao-botoes a {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Texto introdutório */
.localizacao-introducao {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 28px;
    margin-top: 25px;
    background: #F3F7EF;
    border: 1px solid #dce8d5;
    border-left: 5px solid #3F7D4A;
    border-radius: 12px;
}

.localizacao-intro-icone {
    display: flex;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    background: #3F7D4A;
    color: #ffffff;
    border-radius: 50%;
    font-size: 23px;
}

.localizacao-intro-conteudo {
    flex: 1;
    min-width: 0;
}

.localizacao-intro-conteudo h3 {
    color: #2E6339;
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 12px;
}

.localizacao-intro-conteudo > p {
    color: #424b43;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

.localizacao-intro-conteudo > p strong {
    color: #2E6339;
    font-weight: 700;
}

.localizacao-acesso {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 18px;
    background: #ffffff;
    border-radius: 8px;
    color: #424b43;
    font-size: 14px;
    line-height: 1.7;
}

.localizacao-acesso > i {
    color: #3F7D4A;
    font-size: 19px;
    margin-top: 3px;
}

.localizacao-acesso strong {
    color: #2E6339;
}

/* Botões de localização e contato */
.localizacao-botoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.botao-localizacao {
    display: flex;
    flex: 1 1 280px;
    max-width: 420px;
    min-height: 82px;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none !important;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;
}

.botao-localizacao > i:first-child {
    flex: 0 0 35px;
    font-size: 30px;
    text-align: center;
}

.botao-localizacao span {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.botao-localizacao strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.botao-localizacao small {
    font-size: 12px;
    line-height: 1.5;
}

.botao-localizacao .botao-seta {
    flex: 0 0 auto;
    font-size: 14px;
}

.botao-mapa {
    background: #3F7D4A;
    color: #ffffff !important;
}

.botao-mapa small {
    color: #edf5e9;
}

.botao-mapa:hover {
    background: #2E6339;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 99, 57, 0.2);
}

.botao-whatsapp {
    background: #ffffff;
    color: #2E6339 !important;
    border-color: #3F7D4A;
}

.botao-whatsapp small {
    color: #59645A;
}

.botao-whatsapp:hover {
    background: #F3F7EF;
    color: #2E6339 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 99, 57, 0.12);
}

/* Adaptação para celulares */
@media (max-width: 575px) {
    .localizacao-introducao {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .localizacao-intro-conteudo h3 {
        font-size: 20px;
    }

    .localizacao-intro-conteudo > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .localizacao-acesso {
        padding: 13px;
        font-size: 13px;
    }

    .localizacao-botoes {
        flex-direction: column;
        gap: 12px;
    }

    .botao-localizacao {
        flex: auto;
        width: 100%;
        max-width: none;
        min-height: 76px;
        box-sizing: border-box;
        padding: 14px;
    }

    .botao-localizacao strong {
        font-size: 14px;
    }

    .botao-localizacao small {
        font-size: 11px;
    }
}