/* ============================================
   INDEX PÚBLICO - CSS COMPLETO E CORRIGIDO
   ============================================ */

/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    background: #f0f4f8;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HERO SECTION - IMAGEM DE FUNDO PREMIUM
   ============================================ */
.hero {
    position: relative;
    background-image: url('../img/hero_bg.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    padding: 130px 0 100px;
    margin-top: 70px;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

/* Overlay gradiente sobre a imagem */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.75) 0%,
        rgba(37, 99, 235, 0.60) 50%,
        rgba(15, 23, 42, 0.65) 100%
    );
    z-index: 1;
}

/* Partículas decorativas */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: #f0f4f8;
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Badge de destaque */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: fadeInDown 0.6s ease;
}

.hero-badge i {
    color: #fbbf24;
    font-size: 0.75rem;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 span {
    background: linear-gradient(135deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.92;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    line-height: 1.6;
}

/* Search Form */
.search-form {
    max-width: 680px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.2);
    position: relative;
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.search-input-group:focus-within {
    box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5), 0 0 0 3px rgba(251,191,36,0.5);
}

.search-input-group i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.search-input {
    flex: 1;
    border: none;
    padding: 1.1rem 1rem 1.1rem 3.5rem;
    font-size: 1rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: #1e293b;
}

.search-input::placeholder {
    color: #94a3b8;
}

.btn-search {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 0 2.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    border-radius: 0 60px 60px 0;
    min-height: 54px;
}

.btn-search:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateX(2px);
}

/* Hero trust indicators */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.trust-item i {
    color: #fbbf24;
    font-size: 0.9rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 3.5rem 0;
    background: white;
    border-bottom: 1px solid #e8f0fe;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-card {
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #f8faff, #eef2ff);
    border-radius: 1rem;
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
    border-color: #c7d7ff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    display: block;
}

.stat-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ============================================
   FILTROS SECTION
   ============================================ */
.filters-section {
    padding: 2rem 0;
}

.filters-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group .form-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    background: white;
    transition: all 0.2s;
}

.filter-group .form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.btn-filter, .btn-clear {
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-filter {
    background: #2563eb;
    color: white;
    border: none;
    width: 100%;
    margin-bottom: 0.5rem;
}

.btn-filter:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.btn-clear {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    width: 100%;
    display: block;
    text-align: center;
}

.btn-clear:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* ============================================
   IMÓVEIS SECTION
   ============================================ */
.imoveis-section {
    padding: 2rem 0 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.section-header p {
    color: #64748b;
    font-size: 1rem;
}

.resultados-info {
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
}

.imoveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Card de Imóvel */
.imovel-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.imovel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.02);
}

.imovel-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.imovel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imovel-card:hover .imovel-image img {
    transform: scale(1.05);
}

.imovel-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #2563eb;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.imovel-info {
    padding: 1.25rem;
}

.imovel-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.4;
}

.imovel-location {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.imovel-location i {
    margin-right: 0.25rem;
    color: #2563eb;
}

.imovel-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.imovel-features span {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.imovel-features span i {
    color: #2563eb;
    font-size: 0.7rem;
}

.imovel-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-interesse {
    width: 100%;
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 0.6rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-interesse:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem;
    background: white;
    border-radius: 1rem;
}

.no-results i {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.no-results h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.no-results p {
    color: #64748b;
}

/* ============================================
   SOBRE SECTION
   ============================================ */
.sobre-section {
    padding: 4rem 0;
    background: white;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.sobre-content p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.vantagens {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vantagem {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.vantagem i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.2rem;
}

.vantagem h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.vantagem p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.sobre-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* ============================================
   CONTACTO SECTION
   ============================================ */
.contato-section {
    padding: 4rem 0;
}

.contato-card {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    color: white;
}

.contato-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contato-card p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contato-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contato-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.contato-item i {
    font-size: 1.25rem;
}

.contato-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contato-item a:hover {
    text-decoration: underline;
}

/* ============================================
   MODAL INTERESSE
   ============================================ */
.modal-interesse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-interesse .modal-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 90%;
    animation: modalFadeIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.modal-header h3 i {
    color: #2563eb;
    margin-right: 0.5rem;
}

.close {
    font-size: 1.8rem;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
    line-height: 1;
}

.close:hover {
    color: #ef4444;
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.imovel-info-modal {
    background: #f1f5f9;
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.imovel-info-modal i {
    color: #2563eb;
    margin-right: 0.5rem;
}

.modal-body p {
    color: #64748b;
    margin-bottom: 1rem;
}

.contactos-modal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.contacto-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contacto-item.telefone {
    background: #2563eb;
    color: white;
}

.contacto-item.telefone:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.contacto-item.whatsapp {
    background: #25D366;
    color: white;
}

.contacto-item.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.contacto-item.email {
    background: #ea4335;
    color: white;
}

.contacto-item.email:hover {
    background: #c5221f;
    transform: translateY(-2px);
}

.info-modal {
    background: #fef3c7;
    padding: 0.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #92400e;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 80px 0 80px;
        margin-top: 60px;
        background-attachment: scroll; /* Fix for mobile */
        min-height: 480px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-trust {
        gap: 1rem;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-content h2 {
        font-size: 1.5rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .imoveis-grid {
        grid-template-columns: 1fr;
    }

    .contato-info {
        flex-direction: column;
        align-items: center;
    }

    .contato-item {
        width: 100%;
        justify-content: center;
    }

    .contato-card {
        padding: 2rem;
    }

    .contato-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .search-input-group {
        flex-direction: column;
        border-radius: 1rem;
    }

    .search-input {
        padding: 0.8rem 1rem 0.8rem 2.5rem;
    }

    .search-input-group i {
        left: 12px;
    }

    .btn-search {
        padding: 0.8rem;
    }

    .imovel-image {
        height: 180px;
    }

    .modal-interesse .modal-content {
        width: 95%;
    }

    .contacto-item {
        font-size: 0.875rem;
    }
}
/* Estatísticas na imagem */
.sobre-image {
    position: relative;
}

.sobre-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.sobre-stats .stat {
    text-align: center;
    flex: 1;
}

.sobre-stats .stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
}

.sobre-stats .stat-label {
    display: block;
    font-size: 0.7rem;
    color: white;
}

/* Dark mode */
body.dark-mode .sobre-stats {
    background: rgba(0,0,0,0.8);
}

/* Responsivo */
@media (max-width: 768px) {
    .sobre-stats {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .sobre-stats .stat {
        min-width: 100px;
    }
}

/* ============================================
   DARK MODE COMPLETO — INDEX
   ============================================ */

/* --- Fundo geral e texto --- */
body.dark-mode {
    background: #080f1e;
    color: #e2e8f0;
}

/* --- Hero --- */
body.dark-mode .hero::before {
    background: linear-gradient(
        135deg,
        rgba(2, 6, 20, 0.88) 0%,
        rgba(10, 22, 60, 0.78) 50%,
        rgba(2, 6, 20, 0.85) 100%
    );
}

body.dark-mode .hero-badge {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
}

body.dark-mode .hero h1 {
    color: #f1f5f9;
}

body.dark-mode .hero p {
    color: #cbd5e1;
}

body.dark-mode .trust-item {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(99, 102, 241, 0.25);
    color: #94a3b8;
}

body.dark-mode .trust-item i {
    color: #818cf8;
}

/* --- Barra de pesquisa --- */
body.dark-mode .search-input-group {
    background: #1e293b;
    border: 1.5px solid #334155;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.dark-mode .search-input {
    background: transparent;
    color: #f1f5f9;
}

body.dark-mode .search-input::placeholder {
    color: #64748b;
}

body.dark-mode .search-input-group > i {
    color: #475569;
}

body.dark-mode .btn-search {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

/* --- Seção de Estatísticas --- */
body.dark-mode .stats-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

body.dark-mode .stat-card-glass {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.2);
}

body.dark-mode .stat-card-glass:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(99, 102, 241, 0.4);
}

body.dark-mode .stat-number {
    color: #818cf8;
}

body.dark-mode .stat-label {
    color: #94a3b8;
}

/* --- Seção de Filtros --- */
body.dark-mode .filters-section {
    background: #0f172a;
}

body.dark-mode .filters-section h2 {
    color: #f1f5f9;
}

body.dark-mode .filter-group label {
    color: #94a3b8;
}

body.dark-mode .filter-group select,
body.dark-mode .filter-group input {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

body.dark-mode .filter-group select:focus,
body.dark-mode .filter-group input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

body.dark-mode .btn-filter-apply {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

/* --- Cards de Imóveis --- */
body.dark-mode .imoveis-section {
    background: #080f1e;
}

body.dark-mode .imoveis-section h2 {
    color: #f1f5f9;
}

body.dark-mode .imovel-card {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .imovel-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    border-color: #4f46e5;
}

body.dark-mode .imovel-info {
    background: #1e293b;
}

body.dark-mode .imovel-title {
    color: #f1f5f9;
}

body.dark-mode .imovel-location {
    color: #64748b;
}

body.dark-mode .imovel-price {
    color: #818cf8;
}

body.dark-mode .imovel-price span {
    color: #64748b;
}

body.dark-mode .imovel-features span {
    background: #0f172a;
    color: #94a3b8;
    border-color: #334155;
}

body.dark-mode .tag-disponivel {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

body.dark-mode .tag-indisponivel {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

body.dark-mode .btn-contactar {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
}

body.dark-mode .btn-favorito {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

body.dark-mode .btn-favorito:hover,
body.dark-mode .btn-favorito.ativo {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #f87171;
}

/* --- Seção Sobre --- */
body.dark-mode .sobre-section {
    background: #0f172a;
}

body.dark-mode .sobre-content h2 {
    color: #f1f5f9;
}

body.dark-mode .sobre-content p {
    color: #94a3b8;
}

body.dark-mode .sobre-feature {
    color: #cbd5e1;
}

body.dark-mode .sobre-feature i {
    color: #6366f1;
}

/* --- Features Section --- */
body.dark-mode .features-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

body.dark-mode .features-section h2 {
    color: #f1f5f9;
}

body.dark-mode .feature-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

body.dark-mode .feature-card:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(99, 102, 241, 0.35);
}

body.dark-mode .feature-card h3 {
    color: #f1f5f9;
}

body.dark-mode .feature-card p {
    color: #94a3b8;
}

/* --- Seção de Contacto --- */
body.dark-mode .contato-section {
    background: #080f1e;
}

body.dark-mode .contato-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid #334155;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .contato-card h2 {
    color: #f1f5f9;
}

body.dark-mode .contato-card p {
    color: #94a3b8;
}

body.dark-mode .contato-item {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark-mode .contato-item i {
    color: #818cf8;
}

/* --- Footer --- */
body.dark-mode footer {
    background: #030712 !important;
    border-top: 1px solid #1e293b;
    color: #64748b;
}

body.dark-mode footer a {
    color: #64748b;
}

body.dark-mode footer a:hover {
    color: #818cf8;
}

/* --- Modal de Interesse --- */
body.dark-mode .modal-interesse .modal-content,
body.dark-mode .modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
}

body.dark-mode .modal-interesse .modal-header,
body.dark-mode .modal-header {
    border-bottom-color: #334155;
}

body.dark-mode .modal-interesse .modal-title {
    color: #f1f5f9;
}

body.dark-mode .modal-body {
    color: #cbd5e1;
}

body.dark-mode .modal-body p {
    color: #94a3b8;
}

body.dark-mode .imovel-info-modal {
    color: #cbd5e1;
}

body.dark-mode .imovel-info-modal i {
    color: #818cf8;
}

body.dark-mode .info-modal {
    background: rgba(251, 191, 36, 0.1);
    color: #fcd34d;
}

/* --- Paginação --- */
body.dark-mode .pagination-btn {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

body.dark-mode .pagination-btn:hover,
body.dark-mode .pagination-btn.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

/* --- Sem resultados --- */
body.dark-mode .no-results {
    color: #64748b;
}

/* --- Transição suave ao ligar/desligar dark mode --- */
body,
body.dark-mode,
.imovel-card,
.stat-card-glass,
.search-input-group,
.filter-group select,
.filter-group input,
.feature-card,
.contato-card,
.contato-item {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}