:root {
    --primary: #ef5353;
    --secondary: #47396b;
    --text-muted: #64748b;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --success: #27ae60;
    --bg-soft: #f8fafc;
    --border-color: #f1f5f9;
    --footer-bg: #1e293b;
    --footer-text: #94a3b8;
    --footer-title: #f8fafc;
    --font-main: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--dark);
    line-height: 1.6;
    background-color: #f9f9f9;
}



h1, h2, h3, h4 {
    font-weight: 600;
}
.section-spacing {
    padding: 60px 0;
    background-color: #fdfdfd;
    position: relative;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.section-header {
    margin-bottom: 40px;
    text-align: left;
}

.section-title {
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}
/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    z-index: 1000;
    position: relative;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
    height: 75px;
    box-sizing: border-box;
}
.header-container .logo {
    cursor: pointer;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    height: 55px;
    width: auto;
}
.logo h1 {
    font-size: 20px;
    font-weight: 800;
}
.logo h1 span {
    font-weight: 400;
}
#mainNav {
    display: flex;
}
#mainNav > ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#mainNav a {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 0;
    position: relative;
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}
#mainNav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.25s ease;
}

#mainNav a:hover::after,
#mainNav a.active::after {
    width: 100%;
}

#mainNav a:hover,
#mainNav a.active {
    color: var(--primary);
}

.lang-selector {
    position: relative;
    display: inline-block;
}

.current-lang {
    padding: 6px 10px;
    border-radius: 999px;
    background-color: var(--bg-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.current-lang:hover {
    background-color: #eef2f7;
}

.current-lang span {
    font-weight: 800;
    font-size: 12px;
    color: var(--secondary);
}

.current-lang img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.current-lang i {
    font-size: 10px;
    margin-left: 5px;
    color: var(--text-muted);
}

/* Dropdown menu */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #ffffff;
    min-width: 150px;
    padding: 6px;
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 0 !important;
}
.lang-dropdown li a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 10px;
    width: 100% !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: all 0.2s ease;
}
.lang-dropdown li a:hover {
    background-color: var(--bg-soft);
    color: var(--primary);
}
.lang-dropdown li img {
    width: 18px !important;
    height: 12px !important;
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #2d3748;
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
}

@media (max-width: 992px) {
    .header-container {
        padding: 10px 20px;
        height: 70px;
    }
    .mobile-menu-btn {
        display: block;
        font-size: 26px;
        color: #2d3748;
    }
    .logo-img {
        height: 45px;
    }
    #mainNav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        z-index: 1000;
    }
    #mainNav.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    #mainNav.show {
        display: flex;
    }
    #mainNav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    #mainNav a {
        font-size: 18px;
        display: block;
        width: 100%;
    }
    .lang-selector {
        width: 100%;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }
    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .lang-dropdown li a {
        padding: 6px 0;
    }
    .lang-selector:hover .lang-dropdown {
        display: block;
    }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section Melhorada */
.hero {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-family: var(--font-main);
    position: relative;
    padding-bottom: 100px;
}
.hero .container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero h2 {
    font-size: 3.5rem; /* Aumentado */
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.hero p {
    font-size: 1.4rem; /* Aumentado conforme solicitado */
    max-width: 700px;
    margin: 0 auto 80px; /* Mais margem bottom para empurrar a barra para baixo */
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
}
/* Estrutura da Barra de Busca */
.search-wrapper {
    position: absolute;
    bottom: -140px; /* Empurra a barra bem para baixo, saindo do hero */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 950px;
    z-index: 10;
}
.search-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: -1px;
}

.tab {
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 14px 30px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    border-radius: 12px 12px 0 0;
    transition: 0.3s;
}

.tab.active {
    background: white;
    color: var(--secondary);
}
.search-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 0 15px 15px 15px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.search-field-box {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 55px;
    flex: 1;
}

.search-field-box.grow {
    flex: 1.5;
}

.field-icon {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

.search-field-box select,
.search-field-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--dark);
    background: transparent;
}

.divider {
    width: 1px;
    height: 35px;
    background: var(--border-color);
}

.btn-search-full {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 35px;
    height: 55px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search-full:hover {
    letter-spacing: 1px;
    background-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(239, 83, 83, 0.4);
}

/* Mobile Fix */
@media (max-width: 992px) {
    .hero {
        min-height: 75vh;
        padding-bottom: 120px;
    }
    .hero h2 {
        font-size: 2.8rem;
    }
    .search-wrapper {
        width: 95%;
        bottom: -100px;
    }
}

/* Smartphones (Ajuste Crítico) */
@media (max-width: 768px) {
    /* 1. Hero: Garante que o fundo não esmague a busca */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        min-height: 550px !important;
        padding-top: 130px !important;
        padding-bottom: 20px !important;
        height: auto !important;
        align-items: center !important;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9) !important;
    }
    .hero h2, .hero p {
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        z-index: 5 !important;
    }
    .hero h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    .hero p {
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
        max-width: 80% !important;
        margin: 0 auto 35px auto !important;
    }
    .search-wrapper {
        margin-top: 15px !important;
        position: relative !important;
        z-index: 3 !important;
    }
    .search-tabs {
        display: flex !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .tab {
        flex: 1 !important;
        min-width: 0 !important; /* Impede que o texto empurre a aba para fora */
        white-space: nowrap !important; /* Garante que o texto não quebre */
        text-align: center !important;
        padding: 10px 5px !important;
    }

    .tab.active {
        background: #ffffff !important;
        color: var(--primary) !important;
        font-weight: 700 !important;
    }

    /* 4. O Card Branco: Deve ser uma continuação exata das abas */
    .search-group {
        width: 100% !important;
        background: #ffffff !important;
        padding: 15px !important;
        border-radius: 0 0 15px 15px !important; /* Arredonda apenas em baixo */
        box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* 5. Campos: Altura robusta mas contida */
    .search-field-box {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 60px !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .search-field-box select,
    .search-field-box input {
        flex: 1 !important;
        min-height: 70px !important;
        line-height: 70px !important;
        font-size: 1.2rem !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        padding: 0 !important;
        display: block !important;
    }
    /* 6. Botão Procurar */
    .btn-search-full {
        width: 100% !important;
        height: 60px !important;
        border-radius: 8px !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        margin-top: 5px !important;
    }
}
/* Ajuste para telas muito pequenas (iPhone SE, etc) */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.75rem;
    }
    .tab {
        font-size: 0.85rem;
    }
}

/* Search Box */
.search-box * {
    box-sizing: border-box;
}
.search-bar-container {
    max-width: 1000px;
    margin: 40px auto;
}



.section-title {
    text-align: left;
    margin: 60px 0 30px;
    color: var(--secondary);
    font-size: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}
.property-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.type-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.type-icon {
    background-color: var(--primary);
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.type-info {
    padding: 20px;
}

.type-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.type-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.type-count {
    display: inline-block;
    background-color: var(--light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}


/* Container de Grid */
.properties-grid {
    display: grid !important;
    grid-template-columns: 1fr !important; /* Uma coluna no mobile */
    gap: 25px !important;
    padding: 20px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.badge-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    z-index: 20 !important;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3)) !important;
}

.badge-status {
    position: relative !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
    letter-spacing: 0.3px !important;
}

.badge-type,
.badge-type.rent {
    background-color: #e30613 !important;
    border-radius: 5px 0 0 5px !important;
}
.badge-new {
    background-color: #1a73e8 !important;
    border-radius: 0 5px 5px 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.badge-status:only-child {
    border-radius: 5px !important;
    border-left: none !important;
}
.property-card-final {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}
.property-card-final::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
}
.property-card-final:hover::after {
    left: 125%;
}
.property-card-final:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 83, 83, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.property-card-final .property-image-box {
    overflow: hidden;
}
.property-card-final .property-image-box img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.property-card-final:hover .property-image-box img {
    transform: scale(1.1);
}
.property-img-container {
    width: 100%;
    position: relative;
}
.sold-banner {
    position: absolute !important;
    top: 20px !important;
    right: -55px !important;
    width: 180px !important;
    padding: 6px 0 !important;
    background-color: var(--primary) !important;
    color: #ffffff !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    transform: rotate(45deg) !important;
    z-index: 40 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
    letter-spacing: 1px !important;
    pointer-events: none;
}
.sold-banner.is-rented {
    background-color: var(--secondary) !important;
}
.property-card-final.is-disabled img {
    filter: grayscale(0.6) brightness(0.7) !important;
    transition: filter 0.3s ease !important;
}
.property-card-final.is-disabled .price-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
}
.property-img-container img {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    display: block !important;
}
.price-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.property-content {
    padding: 20px 16px;
}
.property-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #2D2D2D !important;
    margin: 6px 0 10px 0 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.property-location {
    font-size: 0.9rem !important;
    color: #757575 !important;
    font-weight: 450 !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    gap: 6px !important;
    line-height: 1.2 !important;
}
.property-location i {
    color: var(--primary) !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
}
.property-divider {
    width: 100%;
    height: 1px;
    background-color: #F0F0F0;
    margin-bottom: 14px;
    display: none;
}
.property-metrics-row {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;       /* Espaçamento equilibrado entre itens */
    padding-top: 15px !important;
    margin-top: 12px !important;
    border-top: 1px solid #EEEEEE !important; /* Linha única e muito suave */
}
.metric {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.85rem !important; /* Um pouco menor para não brigar com o título */
    color: #555555 !important;      /* Cinza escuro para os números */
    font-weight: 500 !important;
}
.metric i {
    font-size: 14px !important;
    color: #A0A0A0 !important;
    display: flex !important;
    align-items: center !important;
}
.search-container-fluid,
.properties-grid{
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}
@media (min-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        padding: 24px !important;
        max-width: 1200px;
        margin: 0 auto;
    }
}
/* About Section */
.about {
    background-color: white;
    padding: 80px 0;
    font-family: var(--font-main);
}
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}
.highlight-item:nth-child(1) { transition-delay: 0.1s; }
.highlight-item:nth-child(2) { transition-delay: 0.2s; }
.highlight-item:nth-child(3) { transition-delay: 0.3s; }
.container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important; /* Este é o único respiro lateral necessário */
    box-sizing: border-box !important;
}
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.image-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 10px 10px 30px rgba(239, 83, 83, 0.3);
    z-index: 10;
}
.image-experience-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.image-experience-badge p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.9;
}
.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
    font-weight: 800; /* Mais peso */
    letter-spacing: -0.5px;
}
.about-text .subtitle {
    font-size: 1.15rem;
    color: #475569; /* Um cinza mais escuro que o muted anterior */
    margin-bottom: 40px;
    font-weight: 500;
}
.highlights-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background-color: #ffffff;
    /* Borda muito clara para definir o limite do card */
    border: 1px solid rgba(71, 57, 107, 0.08);
    /* Sombra de camadas: uma para profundidade, outra para suavidade */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 20px -5px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.highlight-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.highlight-icon {
    background-color: rgba(239, 83, 83, 0.12); /* Fundo um pouco mais denso */
    color: var(--primary);
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    /* Efeito de brilho interno leve */
    box-shadow: inset 0 0 0 1px rgba(239, 83, 83, 0.1);
}
.highlight-info h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 700;
}

.highlight-info p {
    font-size: 0.95rem;
    color: var(--text-muted); /* #64748b */
    line-height: 1.5;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary); /* #ef5353 */
    color: white;
    padding: 16px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: 0.3s;
    border: none;
}

.btn-primary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
}
.about-image {
    position: relative;
}
.specialist:hover{
    animation: softPulse 2s infinite;
}
.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid #ffffff;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.about-image img:hover {
    transform: scale(1.02) rotate(1deg);
}
@media (max-width: 992px) {
    .about-text h2 { font-size: 2.1rem; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; } /* Imagem passa para cima no mobile */
}
/* Footer */
/* --- CONFIGURAÇÃO BASE --- */
.site-footer {
    background-color: #0f172a; /* Azul ultra-escuro para contraste premium */
    color: #94a3b8;
    padding: 100px 0 30px;
    font-family: var(--font-main);
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr; /* Layout assimétrico mais moderno */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- TIPOGRAFIA E BRANDING --- */
.brand-ds { color: #ffffff; font-size: 2rem; font-weight: 800; letter-spacing: -1px; }
.brand-sub { color: #ffffff; font-size: 1rem; font-weight: 300; letter-spacing: 3px; }

.footer-description {
    margin: 25px 0;
    line-height: 1.7;
    font-size: 1rem;
    color: #cbd5e1;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

/* --- LINKS E LISTAS --- */
.footer-links li, .contact-list li { margin-bottom: 15px; }

.footer-links a, .contact-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list i { color: var(--primary); margin-top: 5px; }
.contact-list a:hover { color: #ffffff; }

/* --- REDES SOCIAIS --- */
.social-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.social-icons { display: flex; gap: 15px; }

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; /* Quadrado arredondado é mais moderno que círculo total */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(239, 83, 83, 0.3);
}

/* --- BARRA INFERIOR --- */
.footer-bar {
    margin-top: 80px;
    padding: 30px 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
}

.footer-legal a:hover { color: #fff; }

/* --- RESPONSIVIDADE INTELIGENTE --- */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-block.brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    .site-footer { padding: 60px 0 30px; }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack total no mobile */
        text-align: center;
    }

    .footer-block.brand { grid-column: span 1; }

    .footer-heading::after { left: 50%; transform: translateX(-50%); }

    .contact-list li { justify-content: center; }
    .social-icons { justify-content: center; }

    .footer-bar {
        flex-direction: column-reverse;
        text-align: center;
    }

    .footer-legal a { margin: 0 15px; }
}
/* Responsive */
@media (max-width: 992px) {
    nav ul {
        gap: 15px;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 50px 0 30px;
    }
    .section-header {
        margin-bottom: 20px;
    }
    .section-title {
        font-size: 1.5rem;
        border-left: 4px solid var(--primary);
        padding-left: 12px;
    }
    .title-divider {
        margin: 0 auto;
    }
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .property-types {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* --- contacts ...*/
.contacto-page-wrapper {
    margin: 50px auto 120px auto !important;
    padding: 0 20px;
    max-width: 1100px;
    display: block !important;
}

.contacto-page-wrapper .contacto-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Form um pouco mais largo que o mapa */
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.contacto-page-wrapper .contacto-info {
    padding: 50px;
}

.contacto-page-wrapper .contacto-info h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 10px;
}

.contacto-page-wrapper .contacto-info p {
    color: #718096;
    margin-bottom: 30px;
    font-size: 1rem;
}

.contacto-page-wrapper .input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contacto-page-wrapper input,
.contacto-page-wrapper textarea {
    width: 100% !important;
    padding: 14px !important;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    box-sizing: border-box;
}

/* --- BOTÃO AJUSTADO (Não gigante) --- */
.contacto-page-wrapper .btn-send {
    width: auto !important;
    min-width: 180px;
    background: #f05a5a;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contacto-page-wrapper .btn-send:hover {
    background: #d94848;
    transform: translateY(-2px);
}

.contacto-page-wrapper .contacto-mapa {
    min-height: 100%;
}
.page-banner {
    background: #4a5568;
    padding: 45px 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-banner .banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-banner h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}
.page-banner .breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.page-banner .breadcrumb a {
    color: #f05a5a;
    text-decoration: none;
    transition: 0.3s;
}
.page-banner .breadcrumb a:hover {
    text-decoration: underline;
}
.page-banner .breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}
.page-banner .breadcrumb .current {
    color: #ffffff;
}
@media (max-width: 992px) {
    .contacto-page-wrapper .contacto-container {
        grid-template-columns: 1fr;
    }
    .contacto-page-wrapper .contacto-info { padding: 30px; }
    .contacto-page-wrapper .contacto-mapa { height: 300px; order: -1; }
    .contacto-page-wrapper .btn-send { width: 100% !important; }
}
@media (max-width: 768px) {
    .page-banner {
        padding: 35px 0;
    }
    .page-banner h1 {
        font-size: 1.5rem;
    }
    .contacto-page-wrapper {
        margin: 30px auto 80px auto !important;
    }
}