/* ---------------------------------------------
   assets/css/estilo.css
   Estilo principal do site SUEZ Imob
   --------------------------------------------- */

/* ------------------------------
   Reset e configurações básicas
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------
   Cabeçalho e navegação
------------------------------ */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2d5c2d;
}
.nav-menu {
    display: flex;
    gap: 2rem;
}
.nav-menu a {
    color: #2d5c2d;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.nav-menu a:hover {
    background: #f0f8f0;
    color: #1a4d1a;
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    width: 40px;
    height: 40px;
    background: #2d5c2d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: 0.3s;
}
.social-icons a:hover {
    background: #1a4d1a;
    transform: translateY(-2px);
}

/* ------------------------------
   Barra de contato (topo)
------------------------------ */
.contact-bar {
    background: #2d5c2d;
    color: white;
    padding: 1rem 0;
}
.contact-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.contact-item i {
    font-size: 1.5rem;
    color: #90EE90;
}
.contact-item div {
    font-size: 0.9rem;
}

/* ... (restante do conteúdo mantido como está) ... */



/* ------------------------------
   Seção de imóveis
------------------------------ */
.properties-section {
    padding: 4rem 0;
}
.section-title {
    font-size: 2.5rem;
    color: #2d5c2d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.section-title::before {
    content: '';
    width: 50px;
    height: 4px;
    background: #2d5c2d;
    border-radius: 2px;
}
.properties-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ------------------------------
------------------------------ */
/*.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}*/
/*@media (min-width: 1300px) {
    .properties-grid {
        grid-template-columns: repeat(4, 1fr); /* Máximo 4 por linha 
    }
}
@media (min-width: 992px) and (max-width: 1299px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }
}
*/
/* ------------------------------
------------------------------ */
/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f1f9f1;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}
/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.property-image {
    height: 200px;
    background: #e8f5e8;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.property-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2d5c2d;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* ------------------------------
   Conteúdo interno do card
------------------------------ */
.property-content {
    padding: 1rem 1rem 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    height: 100%;
    min-height: 280px;
}
.property-code {
    color: #2d5c2d;
    font-weight: bold;
    font-size: 0.9rem;
}
.property-title {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
}
.property-type, .property-location {
    font-size: 0.9rem;
    color: #666;
    min-height: 22px;
}
.property-price {
    font-size: 1.4rem;
    color: #2d5c2d;
    font-weight: bold;
    margin-top: 1rem;
    min-height: 30px;
    display: flex;
    align-items: flex-end;
}

/* ------------------------------
   Ícones de características
------------------------------ */
.property-features {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0 0;
    padding: 0.8rem;
    background: #f0f0f0;
    border-radius: 8px;
}
.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}
.feature-icon {
    font-size: 1.2rem;
    color: #2d5c2d;
}

/* ------------------------------
   Botão "Ver Imóvel"
------------------------------ */
.btn-property {
    width: 100%;
    padding: 0.8rem;
    background: #2d5c2d;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}
.btn-property:hover {
    background: #1a4d1a;
    transform: translateY(-2px);
}

/* ------------------------------
   Mensagem especial (alerta topo)
------------------------------ */
.mensagem-especial {
    background: linear-gradient(to right, #2d5c2d, #4a8f4a);
    color: white;
    text-align: center;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 999;
}


/* ------------------------------
   Estilo da seção de filtros
------------------------------ */
.filtro-busca {
    background: #fff;
    padding: 3rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}
.container-filtros {
    max-width: 1140px;
    margin: 0 auto;
}

/* Linha principal de filtros */
.linha-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

/* Cada filtro individual */
.filtro {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 160px;
}
.filtro label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #2d5c2d;
    font-weight: 600;
}
.filtro select, .filtro input {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* Botão de buscar */
.filtro.botao {
    flex: 0 0 auto;
}
.btn-filtrar {
    background: #2d5c2d;
    color: white;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-filtrar:hover {
    background: #1a4d1a;
}

/* Filtro avançado */
.filtro-avancado {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.toggle-filtro {
    color: #2d5c2d;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}
.filtro-codigo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filtro-codigo input {
    flex: 1;
    padding: 0.6rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.btn-filtrar-codigo {
    background: #2d5c2d;
    border: none;
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
}
.btn-filtrar-codigo:hover {
    background: #1a4d1a;
}

/* Responsivo */
@media (max-width: 768px) {
    .linha-filtros {
        flex-direction: column;
        align-items: stretch;
    }
}












/* ------------------------------
   Filtro avançado - estilo aprimorado com novos campos
------------------------------ */
.filtro-avancado {
    background: #f0fdf0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.toggle-filtro {
    color: #2d5c2d;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.grid-filtros-avancados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.campo-filtro {
    display: flex;
    flex-direction: column;
}
.campo-filtro label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: #2d5c2d;
    font-weight: 600;
}
.campo-filtro input,
.campo-filtro select {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}
.btn-filtrar-codigo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d5c2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}
.btn-filtrar-codigo:hover {
    background: #1a4d1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    cursor: pointer;
}
.btn-filtrar-codigo i {
    color: #fff;
    font-size: 1rem;
    margin-right: 6px;
}
/* Botão ocupar só uma parte alinhado à direita */
.full-width {
  grid-column: 1 / -1;
  text-align: right;
}

.full-width button {
  width: auto;                /* Não ocupar 100% */
  min-width: 160px;
  padding: 0.55rem 1.2rem;
  font-size: 1rem;
}


/* Exibir/ocultar dinamicamente */
.filtro-codigo-linha {
    display: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .grid-filtros-avancados {
        grid-template-columns: 1fr;
    }
}



/* ---------------------------------------------
   assets/css/estilo.css
   Estilo principal do site SUEZ Imob
   --------------------------------------------- */

/* ------------------------------
   Reset e configurações básicas
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------
   Cabeçalho e navegação
------------------------------ */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2d5c2d;
}
.nav-menu {
    display: flex;
    gap: 2rem;
}
.nav-menu a {
    color: #2d5c2d;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;

    transition: all 0.3s ease;
}
.nav-menu a:hover {
    background: #f0f8f0;
    color: #1a4d1a;
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    width: 40px;
    height: 40px;
    background: #2d5c2d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: 0.3s;
}
.social-icons a:hover {
    background: #1a4d1a;
    transform: translateY(-2px);
}

/* ------------------------------
   Barra de contato (topo)
------------------------------ */
.contact-bar {
    background: #2d5c2d;
    color: white;
    padding: 1rem 0;
}
.contact-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.contact-item i {
    font-size: 1.5rem;
    color: #90EE90;
}
.contact-item div {
    font-size: 0.9rem;
}

/* ... (restante do conteúdo mantido como está) ... */


/* ------------------------------
   Seção de imóveis
------------------------------ */
.properties-section {
    padding: 4rem 0;
}
.section-title {
    font-size: 2.5rem;
    color: #2d5c2d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.section-title::before {
    content: '';
    width: 50px;
    height: 4px;
    background: #2d5c2d;
    border-radius: 2px;
}
.properties-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ------------------------------
------------------------------ */

/*
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}
@media (min-width: 1300px) {
    .properties-grid {
        grid-template-columns: repeat(4, 1fr); 
    }
}
@media (min-width: 992px) and (max-width: 1299px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }
}
*/
/* ------------------------------
------------------------------ */
/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f1f9f1;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}
/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.property-image {
    height: 200px;
    background: #e8f5e8;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.property-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2d5c2d;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* ------------------------------
   Conteúdo interno do card
------------------------------ */
.property-content {
    padding: 1rem 1rem 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    height: 100%;
    min-height: 280px;
}
.property-code {
    color: #2d5c2d;
    font-weight: bold;
    font-size: 0.9rem;
}
.property-title {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
}
.property-type, .property-location {
    font-size: 0.9rem;
    color: #666;
    min-height: 22px;
}
.property-price {
    font-size: 1.4rem;
    color: #2d5c2d;
    font-weight: bold;
    margin-top: 1rem;
    min-height: 30px;
    display: flex;
    align-items: flex-end;
}

/* ------------------------------
   Ícones de características
------------------------------ */
.property-features {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0 0;
    padding: 0.8rem;
    background: #f0f0f0;
    border-radius: 8px;
}
.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}
.feature-icon {
    font-size: 1.2rem;
    color: #2d5c2d;
}

/* ------------------------------
   Botão "Ver Imóvel"
------------------------------ */
.btn-property {
    width: 100%;
    padding: 0.8rem;
    background: #2d5c2d;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}
.btn-property:hover {
    background: #1a4d1a;
    transform: translateY(-2px);
}

/* ------------------------------
   Mensagem especial (alerta topo)
------------------------------ */
.mensagem-especial {
    background: linear-gradient(to right, #2d5c2d, #4a8f4a);
    color: white;
    text-align: center;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

/* ------------------------------
   Rodapé
------------------------------ */
.footer {
    /*background: #2d5c2d;*/
    background: #fff;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    height: 50px;
    left: 0; right: 0;
   /* background: linear-gradient(135deg, #4a8f4a, #2d5c2d);
    clip-path: polygon(0 0, 100% 100%, 100% 0);*/
}
.footer-content {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    text-align: center;
}
.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}


/* ------------------------------
   Estilo da seção de filtros
------------------------------ */
.filtro-busca {
    background: #fff;
    padding: 3rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}
.container-filtros {
    max-width: 1140px;
    margin: 0 auto;
}

/* Linha principal de filtros */
.linha-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

/* Cada filtro individual */
.filtro {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 160px;
}
.filtro label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #2d5c2d;
    font-weight: 600;
}
.filtro select, .filtro input {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* Botão de buscar */
.filtro.botao {
    flex: 0 0 auto;
}
.btn-filtrar {
    background: #2d5c2d;
    color: white;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-filtrar:hover {
    background: #1a4d1a;
}

/* Filtro avançado */
.filtro-avancado {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.toggle-filtro {
    color: #2d5c2d;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}
.filtro-codigo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filtro-codigo input {
    flex: 1;
    padding: 0.6rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.btn-filtrar-codigo {
    background: #2d5c2d;
    border: none;
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
}
.btn-filtrar-codigo:hover {
    background: #1a4d1a;
}

/* Responsivo */
@media (max-width: 768px) {
    .linha-filtros {
        flex-direction: column;
        align-items: stretch;
    }
}



/* ------------------------------
   Filtro avançado: campo por código
------------------------------ */
.filtro-avancado {
    margin: 2rem auto;
    max-width: 1140px;
    padding: 1rem 1.5rem;
    background: #f1f9f1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filtro-avancado .toggle-filtro {
    font-weight: bold;
    color: #2d5c2d;
    display: inline-block;
    margin-bottom: 1rem;
}

.filtro-codigo {
    max-width: 400px;
    margin: 0 auto;
}

.filtro-codigo label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.codigo-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.codigo-container input {
    flex: 1;
    padding: 0.45rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.codigo-container input:focus {
    outline: none;
    border-color: #2d5c2d;
    box-shadow: 0 0 0 2px #cde4cd;
}

.btn-filtrar-codigo {
    padding: 0.48rem 0.8rem;
    background: #2d5c2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: background 0.3s ease;
}
.btn-filtrar-codigo:hover {
    background: #1a4d1a;
    cursor: pointer;
}

/* ------------------------------
   Botão de busca por código (filtro avançado com animação)
------------------------------ */
.btn-filtrar-codigo {
    display: flex;                        /* Alinha conteúdo interno */
    align-items: center;                 /* Centraliza verticalmente o ícone */
    justify-content: center;             /* Centraliza horizontalmente */
    background: #2d5c2d;                 /* Verde escuro */
    color: #fff;                         /* Cor do ícone */
    border: none;
    border-radius: 6px;                  /* Arredondamento */
    padding: 0.48rem 0.8rem;             /* Espaçamento interno */
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Sombra sutil */
    transition: all 0.3s ease-in-out;    /* Animação suave */
}

.btn-filtrar-codigo:hover {
    background: #1a4d1a;                 /* Verde mais escuro ao passar o mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Sombra mais forte no hover */
    transform: translateY(-2px);         /* Leve elevação */
    cursor: pointer;
}

.btn-filtrar-codigo i {
    color: #fff;                         /* Garante que a lupa fique branca */
    font-size: 1rem;
}



/* ------------------------------
   Filtro avançado - busca por código
------------------------------ */
.filtro-avancado {
    background: #f0fdf0;
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.filtro-codigo-linha {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 320px;
    margin-top: 1rem;
}

.codigo-input-grupo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.codigo-input-grupo input[type="text"] {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* Botão de busca com lupa já está definido como: */
.btn-filtrar-codigo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d5c2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.55rem 0.9rem;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
}
.btn-filtrar-codigo:hover {
    background: #1a4d1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    cursor: pointer;
}
.btn-filtrar-codigo i {
    color: #fff;
    font-size: 1rem;
}




.btn-filtrar-codigo {
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  border-radius: 5px;
  background: #2d5c2d;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}
.btn-filtrar-codigo:hover {
  background: #1a4d1a;
  transform: translateY(-1px);
  cursor: pointer;
}
.btn-filtrar-codigo i {
  font-size: 1rem;
  color: #fff;
}










/* ------------------------------
   Filtro avançado - estilo aprimorado com novos campos
------------------------------ */
.filtro-avancado {
    background: #f0fdf0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.toggle-filtro {
    color: #2d5c2d;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.grid-filtros-avancados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.campo-filtro {
    display: flex;
    flex-direction: column;
}
.campo-filtro label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: #2d5c2d;
    font-weight: 600;
}
.campo-filtro input,
.campo-filtro select {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}
.btn-filtrar-codigo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d5c2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}
.btn-filtrar-codigo:hover {
    background: #1a4d1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    cursor: pointer;
}
.btn-filtrar-codigo i {
    color: #fff;
    font-size: 1rem;
    margin-right: 6px;
}
/* Botão ocupar só uma parte alinhado à direita */
.full-width {
  grid-column: 1 / -1;
  text-align: right;
}

.full-width button {
  width: auto;                /* Não ocupar 100% */
  min-width: 160px;
  padding: 0.55rem 1.2rem;
  font-size: 1rem;
}


/* Exibir/ocultar dinamicamente */
.filtro-codigo-linha {
    display: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .grid-filtros-avancados {
        grid-template-columns: 1fr;
    }
}




/* ---------------------------------------------
   Estilo para novos campos do filtro avançado
--------------------------------------------- */

/* Campos numéricos de preço */
.campo-filtro input[type="number"] {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
}

/* Campos select de banheiros, garagem, tipo construção */
.campo-filtro select {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    color: #333;
}

/* Label */
.campo-filtro label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #2d5c2d;
}



/* ===============================
   Estilo do cabeçalho do filtro avançado
   =============================== */
.filtro-avancado-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.filtro-avancado-titulo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2d5c2d;
}
.btn-fechar-filtro {
  background: #2d5c2d;
  color: white;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-fechar-filtro:hover {
  background: #1a4d1a;
}



/* Filtro avançado com transição suave */
.filtro-avancado {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

/* Quando ativo, exibe suavemente */
.filtro-avancado.ativo {
  max-height: 1000px; /* valor grande suficiente para conter todos os campos */
  opacity: 1;
}


/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInCard 0.5s ease forwards;
}

@keyframes fadeInCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Filtro avançado inicialmente oculto */
.filtro-avancado {
    display: none;
    transition: all 0.3s ease;
}

/* Quando ativo, exibe normalmente */
.filtro-avancado.ativo {
    display: block;
}

/*pagina de buscas*/







.property-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.property-price div {
    background: #f0f0f0;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    white-space: nowrap;
}

.preco-venda {
    background: #e0f7e0;
    color: #006600;
}

.preco-aluguel {
    background: #e8f4ff;
    color: #004080;
}

.preco-sob-consulta {
    font-style: italic;
    color: #888;
}



.property-price {
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.preco-venda {
    color: #007000;
    font-weight: bold;
}

.preco-aluguel {
    color: #333;
    font-weight: bold;
    margin-top: 0.3rem;
}

.preco-sob-consulta {
    color: #999;
    font-style: italic;
    font-size: 0.95rem;
}



.property-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.property-price div {
    background: #f0f0f0;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    white-space: nowrap;
}

.preco-venda {
    background: #e0f7e0;
    color: #006600;
}

.preco-aluguel {
    background: #e8f4ff;
    color: #004080;
}

.preco-sob-consulta {
    font-style: italic;
    color: #888;
}



.sem-resultados {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 3rem auto;
    max-width: 500px;
    text-align: center;
    padding: 1.5rem;
}


.btn-filtrar {
    display: inline-block;
    width: auto;
    min-width: 200px;
    max-width: 100%;
    text-align: center;
    font-weight: bold;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.filtro.botao {
    display: flex;
    justify-content: center;
}

/*roda pe*/

  .footer {
    background: #f8f8f8;
    color: #333;
    text-align: center;
    font-size: 0.9rem;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}



.filtro.botao {
    display: flex;
    justify-content: center;
}

.btn-filtrar {
    display: inline-block;
    width: auto;
    min-width: 200px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    background: #215a31;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-filtrar:hover {
    background: #1a4727;
}



.campo-filtro.full-width {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.campo-filtro.full-width label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #333;
}


.campo-filtro.full-width {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.campo-filtro.full-width label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #333;
}


.comodidades-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.comodidades-inline label {
    background: #f4f4f4;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    gap: 0.4rem;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comodidades-inline label:hover {
    background: #e0e0e0;
}

.comodidades-inline input[type="checkbox"] {
    accent-color: #215a31;
    width: 16px;
    height: 16px;
}


/*Vendas / Aluguel*/

.property-details {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
    color: #555;
}

.property-details i {
    margin-right: 5px;
    color: #007bff;
}



/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.property-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-code {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 12px; */
    color: #999;
    margin-bottom: 5px;
}

.property-title {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 18px; */
    font-weight: bold;
    color: #333;
    margin: 0 0 5px;
}

.property-location {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
    color: #777;
    margin-bottom: 10px;
}

.property-location i {
    color: #ff5722;
    margin-right: 5px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 13px; */
    color: #555;
    margin-bottom: 10px;
}

.property-details i {
    margin-right: 5px;
    color: #007bff;
}

.property-price {
    font-weight: bold;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 16px; */
    color: #222;
    margin-bottom: 10px;
}

.preco-venda, .preco-aluguel, .preco-sob-consulta {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 15px; */
}

.btn-property {
    display: block;
    text-align: center;
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-property:hover {
    background-color: #0056b3;
}



.property-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover .property-image {
    transform: scale(1.1);
}

/*
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}





.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}


/* Responsividade (mobile/tablet) */
/*
@media(max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover .property-image {
    transform: scale(1.1);
}

.property-content {
    padding: 15px;
    flex: 1;
}

.property-title {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 16px; */
    font-weight: bold;
    color: #333;
    margin: 10px 0 5px;
}

.property-location {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
    color: #777;
    margin-bottom: 10px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 13px; */
    color: #555;
    margin-bottom: 10px;
}

.property-details i {
    margin-right: 5px;
    color: #007bff;
}

.property-price {
    font-weight: bold;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 15px; */
    color: #222;
    margin-bottom: 10px;
}

.btn-property {
    display: block;
    text-align: center;
    background-color: #007bff;
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-property:hover {
    background-color: #0056b3;
}


/*

.properties-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}
*/

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.property-image {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-content {
    padding: 10px;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
}

.property-details {
    display: flex;
    justify-content: space-between;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 12px; */
}

.btn-property {
    margin-top: 10px;
    display: block;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 13px; */
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Exatamente 3 por linha em telas médias e grandes */
@media (min-width: 992px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 por linha em tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 por linha no mobile */
@media (max-width: 767px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }
}





.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideIn 0.8s ease forwards;
    margin: 30px 0;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ccc;
    max-width: 100px;
}

.section-title i {
    color: #007bff;
    font-size: 1.2rem;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/*stilus*/

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    border-radius: 8px;
    padding: 10px 20px;
    margin: 30px 0;
}

.section-title.aluguel {
    background: rgba(40, 167, 69, 0.1);
    box-shadow: 0 4px 6px rgba(40,167,69,0.2);
    color: #28a745;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUp 0.8s ease forwards;
}

.section-title.aluguel i {
    color: #28a745;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.section-title.resultados {
    background: rgba(255, 193, 7, 0.1); /* Amarelo claro */
    box-shadow: 0 4px 6px rgba(255, 193, 7, 0.3);
    color: #ffc107;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 30px 0;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUp 0.8s ease forwards;
}

.section-title.resultados i {
    color: #ffc107;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-details {
    display: flex;
    justify-content: space-between;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 13px; */
    color: #555;
    margin-bottom: 10px;
}

.property-details i {
    margin-right: 5px;
    color: #007bff;
}


/*
.load-more-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}*/

#btnCarregarMais {
    background-color: #28a745;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#btnCarregarMais:hover {
    background-color: #218838;
    transform: scale(1.05);
}

#btnCarregarMais:active {
    background-color: #1e7e34;
    transform: scale(1);
}


.properties-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
    width: 300px;
    flex: 0 0 auto;
}




/* Estilo base */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideIn 0.8s ease forwards;
    margin: 30px 0;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ccc;
    max-width: 100px;
}

.section-title i {
    font-size: 1.2rem;
}

/* Vendas (azul) */
.section-title.vendas i {
    color: #007bff;
}

.section-title.vendas::before,
.section-title.vendas::after {
    background: #007bff;
}

/* Aluguel (verde) */
.section-title.aluguel i {
    color: #28a745;
}

.section-title.aluguel::before,
.section-title.aluguel::after {
    background: #28a745;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





.section-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-title span {
    font-size: 1rem;
    color: #555;
    font-weight: normal;
    margin-left: 0.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente */
    flex-wrap: wrap;
    gap: 0.5rem;
    text-align: center;
}

.section-title span {
    font-size: 1rem;
    color: #555;
    font-weight: normal;
}





.properties-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* --- Card individual --- */
/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card {
    width: 300px;
    flex: 0 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* ======================== */
/* 🎯 Estilo do Card de Imóvel */
/* ======================== */
.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-content {
    padding: 15px;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
    flex: 1;
}

.property-title {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 16px; */
    font-weight: bold;
    color: #333;
    margin: 10px 0 5px;
}

.property-location {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
    color: #777;
    margin-bottom: 10px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 13px; */
    color: #555;
    margin-bottom: 10px;
}

.property-details i {
    margin-right: 5px;
    color: #007bff;
}

.property-price {
    font-weight: bold;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 15px; */
    color: #222;
    margin-bottom: 10px;
}

.btn-property {
    display: block;
    text-align: center;
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-property:hover {
    background-color: #0056b3;
}

/* --- Botão "Carregar Mais" --- */
/*.load-more-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}*/

#btnCarregarMais {
    background-color: #28a745;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#btnCarregarMais:hover {
    background-color: #218838;
    transform: scale(1.05);
}

#btnCarregarMais:active {
    background-color: #1e7e34;
    transform: scale(1);
}

/* --- Título da Seção --- */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    border-radius: 8px;
    padding: 10px 20px;
    margin: 30px 0;
}

.section-title.resultados {
    background: rgba(255, 193, 7, 0.1);
    box-shadow: 0 4px 6px rgba(255, 193, 7, 0.3);
    color: #ffc107;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUp 0.8s ease forwards;
}

.section-title.resultados i {
    color: #ffc107;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/*FAVORITOS*/



.modal-favorito {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-conteudo {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-conteudo input {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 1rem;
}

.modal-conteudo button {
    padding: 10px 15px;
    margin: 5px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-conteudo button:hover {
    background: #218838;
}

.btn-favorito {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    background: #ff4081;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}



.btn-favorito {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background: #90EE90; /* Verde claro */
    color: #333;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-favorito i {
    color: #ffc107; /* Coração amarelo */
    font-size: 1.2rem;
}

.btn-favorito:hover {
    background: #7fd67f; /* Verde mais escuro no hover */
}



.btn-favorito {
    width: 36px;
    height: 36px;
    background-color: #e8f5e8; /* Mesmo verde do fundo da imagem */
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-favorito i {
    color: #ffc107; /* Coração amarelo */
    font-size: 1.2rem;
}

.btn-favorito:hover {
    transform: scale(1.2);
}


.property-image {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 180px;
}

.btn-favorito {
    width: 36px;
    height: 36px;
    background-color: #e8f5e8; /* Verde claro (fundo da imagem) */
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-favorito i {
    color: #ffc107; /* Coração amarelo */
    font-size: 1.2rem;
}

.btn-favorito:hover {
    transform: scale(1.2);
}


.property-image .btn-favorito {
    position: absolute;
    top: 4px;        /* Subiu mais para o topo */
    right: 8px;
}




.modal-favorito {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content-favorito {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.modal-content-favorito input {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.modal-content-favorito button {
    padding: 0.8rem;
    background: #2d5c2d;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

.modal-content-favorito button:hover {
    background: #1a4d1a;
}

.modal-content-favorito .btn-cancelar {
    background: #ccc;
    color: #333;
}

.modal-content-favorito .btn-cancelar:hover {
    background: #aaa;
}


.favorito-btn {
    background: #a5ecb0;            /* Verde claro */
    border-radius: 50%;             /* Mantém redondo */
    width: 30px;                    /* Tamanho fixo */
    height: 30px;                   /* Mesmo valor que width para formar círculo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 16px;                /* Tamanho do ícone (coração) */ */
    color: #ffc107;                 /* Coração amarelo */
    position: absolute;
    top: 10px;                      /* Distância do topo */
    right: 10px;                    /* Distância da direita */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.favorito-btn:hover {
    transform: scale(1.1);
}



.btn-property {
    display: block;
    text-align: center;
    background-color: #28a745; /* Verde padrão */
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-property:hover {
    background-color: #1e7e34; /* Verde mais escuro no hover */
}

.property-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 0;
    text-align: center;
}

.property-title small.property-headline {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    color: #777;
    margin-top: 0.2rem;
}




/* Botão "Carregar Mais" */
.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

#btnCarregarMais {
    background-color: #28a745;
    color: white;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}

#btnCarregarMais:hover {
    background-color: #218838;
}


/* Container do botão "Carregar Mais" */
.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

/* Botão "Carregar Mais" */
#btnCarregarMais {
    background-color: #28a745;
    color: white;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
    min-width: 200px; /* largura mínima fixa */
    text-align: center;
}

#btnCarregarMais:hover {
    background-color: #218838;
}

.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

.load-more-container button#btnCarregarMais {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    max-width: 220px;
    min-width: 180px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.load-more-container button#btnCarregarMais:hover {
    background-color: #218838;
}

.load-more-container button#btnCarregarMais:active {
    transform: scale(0.98);
}


/* ---------------------------------------------
   Botão "Carregar mais"
--------------------------------------------- */
.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

#btnCarregarMais {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    max-width: 220px;
    min-width: 180px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#btnCarregarMais:hover {
    background-color: #218838;
}

#btnCarregarMais:active {
    transform: scale(0.97);
}

#btnCarregarMais:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsividade */
@media(max-width: 480px) {
    #btnCarregarMais {
        width: 90%;
        max-width: 90%;
        min-width: unset;
    }
}


.load-more-container {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
}

.btn-carregar-mais {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-carregar-mais:hover {
    background-color: #218838;
}



.property-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffc107; /* amarelo ouro */
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    padding: 4px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}

.property-badge i {
    margin-right: 5px;
}



.property-badge {
    width: 28px;
    height: 28px;
    background: #ffc107;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
    font-weight: bold;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    position: absolute;
    top: 42px; /* Ajuste conforme necessário */
    right: 8px;
    z-index: 10;
}

.property-badge i {
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 14px; */
    color: #fff;
}



.property-badge {
    width: 24px;
    height: 24px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 13px; */
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: absolute;
    top: 38px;   /* Logo abaixo do coração */
    right: 10px;
    z-index: 5;
}

.property-badge i {
    color: #fff;
    font-size: clamp(14px, 2vw, 18px); /* ajustado para responsividade */
    /* font-size: 12px; */
}


/*filtros*/


.filtros-avancados {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.filtros-avancados h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d3e50;
    margin-bottom: 15px;
}

.filtros-avancados .input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filtros-avancados input[type="text"] {
    flex: 1 1 200px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
}

.filtros-avancados .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.filtros-avancados .checkbox-group label {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.95rem;
}

.filtros-avancados .checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.botao-pesquisar {
    width: 100%;
    background-color: #1e5128;
    color: white;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.botao-pesquisar:hover {
    background-color: #163d1f;
}





/*buscas*/

/* ===========================
   Estilo para Selects e Inputs
=========================== */

select,
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

select:focus,
input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #1e5128;
    outline: none;
}

/* Placeholder mais suave */
input::placeholder {
    color: #999;
    font-size: 0.9rem;
}


/* ===========================
   Botão Principal
=========================== */

.btn-filtrar,
button.btn-filtrar {
    display: block;
    width: 100%;
    background-color: #1e5128;
    color: #fff;
    font-weight: bold;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn-filtrar:hover {
    background-color: #163d1f;
    transform: scale(1.02);
}

/* Botão Carregar Mais */
.btn-carregar-mais {
    display: block;
    width: 200px;
    margin: 20px auto;
    background-color: #1e5128;
    color: white;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-carregar-mais:hover {
    background-color: #163d1f;
    transform: scale(1.05);
}


/* ===========================
   Personalização do Dropdown
=========================== */

select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='16' height='16' fill='%23666' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4H4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}



/* ======================== */
/* 🟩 Botão Ver Detalhes */
/* ======================== */
.btn-property {
    display: inline-block;
    padding: 10px 16px;
    background-color: #1e5128;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn-property:hover {
    background-color: #2a9d49;
    text-decoration: none;
}



/* ================================
   SLIDE PRINCIPAL (HERO)
   ================================ */

/* Container da imagem no slide */
.hero-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden; /* evita imagens estourarem para fora */
}

/* Imagem principal do slide */
.hero-image {
    width: 100%;
    height: auto;
    max-height: 80vh; /* limite no desktop */
    object-fit: cover; /* mantém proporção sem distorcer */
}

/* Ajuste para mobile: altura menor */
@media (max-width: 768px) {
    .hero-image-wrapper {
        max-height: 40vh; /* reduz no celular */
    }
}

/* Bloco verde com o título sobre a imagem */
.hero-caption {
    position: absolute;
    bottom: 40px; /* deixa espaço para a paginação */
    left: 0;
    width: 100%;
    background: rgba(45, 92, 45, 0.85); /* verde elegante com transparência */
    color: #fff;
    padding: 8px 12px;
    text-align: center;
    box-sizing: border-box;
    z-index: 5;
}

/* Texto do título */
.hero-caption h2 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

/* Link no título */
.hero-caption a {
    color: #fff;
    text-decoration: none;
}

.hero-caption a:hover {
    text-decoration: underline;
}

/* Paginação (bolinhas) - posicionada abaixo do bloco verde */
.hero-swiper .swiper-pagination {
    bottom: 10px !important; /* distancia da base */
    z-index: 10;
}

/* Estilo das bolinhas de paginação */
.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.8;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #ffd700; /* amarelo dourado para ativo */
}

/* Botões de navegação (Next/Prev) */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff; /* ícone branco */
    background: rgba(0, 0, 0, 0.3); /* fundo escuro translúcido */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* Tamanho dos ícones de navegação */
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 18px;
}


/* ====== CONTRASTE / ACESSIBILIDADE — OVERRIDES ====== */

/* 1) Código e localização do imóvel (evita #999 e #777) */
.property-code { 
  color: #2d5c2d;        /* 7.83:1 sobre branco (AA/AAA ok) */
  font-weight: 700;
}
.property-location {
  color: #555555;        /* 7.45:1 sobre branco (AA/AAA ok) */
}

/* 2) Botão "Ver imóvel" — hover não pode clarear (white x #2a9d49 = 3.49:1 FAIL) */
.btn-property {
  background-color: #1e5128;  /* 9.28:1 com branco (ok) */
  color: #fff;
}
.btn-property:hover {
  background-color: #174a2b;  /* 10.24:1 com branco (ok) */
}

/* 3) Título "resultados" — texto amarelo (#ffc107) em branco falha (1.63:1) */
.section-title.resultados {
  color: #754c00;        /* 7.53:1 sobre branco (ok) */
}

/* 4) Badge (selo) — branco em amarelo falha (1.63:1) 
   Opção A: manter fundo amarelo e escurecer o texto
*/
.property-badge {
  background: #ffc107;
  color: #5a4400;        /* 5.70:1 sobre #ffc107 (ok) */
  border: 1px solid rgba(0,0,0,0.08); /* melhora leitura da borda */
}

/* Opção B (se preferir continuar com texto branco): 
.property-badge {
  background: #805400;   /* 6.59:1 com texto branco (ok) */
  color: #fff;
}
*/

/* 5) Chips de preço já estão ok, só garantindo contraste do texto nos fundos claros */
.preco-venda   { color: #006600; }   /* 6.40:1 sobre #e0f7e0 (ok) */
.preco-aluguel { color: #004080; }   /* 9.20:1 sobre #e8f4ff (ok) */

/* 6) Texto do card — garante contraste consistente */
.property-title   { color: #333333; } /* > 7:1 sobre branco */
.property-price   { color: #222222; } /* ~15.9:1 sobre branco */
.feature          { color: #666666; } /* 5.03:1 sobre #f0f0f0 (ok) */





/* === Social: botão verde com ícone branco === */
:root { --brand-green: #198754; --brand-green-dark:#157347; }

.social-btn,
.header .social-btn,
.header .social-links a{
  background: var(--brand-green);
  color: #fff;                 /* <- deixa ícone branco quando for <i> ou inline <svg> */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;   /* ajuste se quiser maior/menor */
  border-radius: 10px;         /* arredondado */
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .15s ease, background-color .15s ease, filter .15s ease;
  text-decoration: none;
}

/* Ícones em <i> (Font Awesome) ou <svg> inline */
.social-btn i,
.header .social-links a i{
  color:#fff !important;
  font-size: 18px;
  line-height: 1;
}
.social-btn svg,
.header .social-links a svg{
  width: 20px; height: 20px;
  fill: currentColor; /* usa o branco do pai */
}

/* Caso esteja usando <img> (svg/png) como ícone */
.social-btn img,
.header .social-links a img{
  width: 20px; height: 20px;
  filter: brightness(0) invert(1); /* pinta de branco sem trocar a arte */
}

/* Estados */
.social-btn:hover,
.header .social-links a:hover{
  background: var(--brand-green-dark);
  transform: translateY(-1px);
}
.social-btn:focus-visible,
.header .social-links a:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 2px;
}




