:root {
    --primary: #1A365D;
    --accent: #2B6CB0;
    --dark: #2D3748;
    --light: #F7FAFC;
    --white: #FFFFFF;
    --gray: #E2E8F0;
    --yellow: #d4af37;
    --blue: #1a2b3c;

}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
    text-decoration: none;
}
.logo span {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: normal;
}
/* Estilos para o Menu Dropdown de Ferramentas */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 1001;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    border: 1px solid var(--gray);
}

.dropdown-content a {
    color: var(--dark);
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: var(--light);
    color: var(--accent);
}

/* Mostra o menu ao passar o rato (Desktop) ou quando ativado */
.dropdown:hover .dropdown-content {
    display: block;
}
nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 500;
}
nav a:hover {
    color: var(--accent);
}
.social-icons a {
    color: var(--primary);
    font-size: 1.1rem;
    margin-left: 0.5rem;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--accent);
}
.btn-cta {
    background-color: var(--blue);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: background 0.3s;
    text-decoration: none;
}
.btn-cta:hover {
    background-color: var(--accent);
}

/* Hero Section */
/* Hero Section com Imagem de Fundo */
    .hero {
        padding: 10rem 2rem 5rem 2rem;
        /* Mude 'imagens/sua-foto-fundo.jpg' para o caminho da sua imagem */
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('imagens/foto-fundo.jpg');
        background-size: cover;
        background-position: center;
        min-height: 85vh;
        display: flex;
        align-items: center;
    }

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.hero-content h1 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.hero-content h1 em {
    color: var(--yellow);
}
.hero-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}
.hero-content h3 em {
    color: var(--yellow);
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--accent);
}
.hero-profile {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--accent);
}

/* Secções Gerais */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header span {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-top: 0.5rem;
}


/* Sobre Mim */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.about-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.about-text p {
    margin-bottom: 1rem;
    color: var(--accent);
}
.about-img {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    object-fit: cover;
}

/* Grelha de Vantagens / Processo */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.card-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border-top: 4px solid var(--accent);
}
.card-feature span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}
.card-feature h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.avaliacao  {
    background-color:var(--blue); 
    color: var(--white); 
    padding: 4rem 1.5rem;
}
.avaliacao .avaliacao-eyebrow {
    color: var(--yellow);
    text-transform:uppercase;
    font-size: 2.0rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.avaliacao h2 {
    font-size: 2.2rem
    ; margin: 0 0 1rem 0; 
    line-height: 1.2;
}

.avaliacao p {
    font-size: 0.90rem; 
    margin-bottom: 0.8rem;
}

.contact-section {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    margin: 3rem auto;
    padding: 3rem 2rem;
    max-width: 1200px;
}

.contact-header {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    background: var(--white);
    color: var(--dark);
}

.contact-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    resize: vertical;
    background: var(--white);
    color: var(--dark);
}

.contact-btn {
    border: none;
    cursor: pointer;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-success {
    display: none;
    max-width: 900px;
    margin: 1rem auto 0 auto;
    color: var(--primary);
    background-color: var(--gray);
    border: 1px solid #E2E8F0;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}
/* Rodapé */
footer {
    background: var(--blue);
    color: var(--white);
    padding: 4rem 2rem 2rem 2rem;
    text-align: center;
}
footer p {
    color: var(--white);
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}
footer h3 {
    color: var(--white);
    font-size: 1.2rem; 
    font-weight: bold; 
    margin-bottom: 1rem; 
    letter-spacing: 1px;    
}
.footer-social-icons {
    color: var(--white);
    margin-top: 1rem; 
}
.footer-social-icons a:hover {
    color: var(--accent, #5eead4);
    text-decoration: none;
}
.footer-contactos {
    color: var(--white);
    text-decoration: none;
}
.footer-fim {
    color: var(--yellow);
    text-decoration: none;
}

.footer-navegar  {
    color: var(--white); 
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 1rem;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 0.5rem 0;
    }

    .social-icons {
        display: flex;
        gap: 1.5rem;
        margin-top: 0.5rem;
    }
}
/* Imóveis em Destaque */
.featured-properties {
    background: var(--white);
}

.featured-properties .section-header p {
    color:var(--accent);
    margin-top: 0.75rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.property-card {
    display: block;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #edf2f7;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.13);
}

.property-image-wrap {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #edf2f7;
}

.property-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image-wrap img {
    transform: scale(1.04);
}

.property-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-info {
    padding: 1.4rem;
}

.property-info h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.property-info p {
    color: var(--accent);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.property-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;

    margin-top: 1.2rem;
    padding: 0.75rem 1.4rem;

    background: var(--white);
    color: var(--blue);

    border-radius: 5px;

    font-size: 0.95rem;
    font-weight: 700;

    transition: all 0.2s ease;
}

.property-search-button .arrow {
    font-size: 1.1rem;
}

.property-search-card:hover .property-search-button {
    transform: translateY(-2px);
}

/* Quarto cartão - Pesquisa de imóveis */
.property-search-card {
    background: var(--blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.property-search-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-6px);
}

.property-pesquisa {
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 2rem;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.property-pesquisa h3 {
    color: var(--white);
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.property-pesquisa p {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.property-pesquisa strong {
    color: var(--white);
}

.property-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;

    margin-top: 1.2rem;
    padding: 0.75rem 1.4rem;

    background: var(--white);
    color: var(--blue) !important;

    border-radius: 5px;

    font-size: 0.95rem;
    font-weight: 700;

    text-decoration: none;
    transition: all 0.2s ease;
}

.property-search-button .arrow {
    color: var(--blue) !important;
    font-size: 1.1rem;
}

.property-search-card:hover .property-search-button {
    background: var(--white);
    color: var(--blue) !important;
    transform: translateY(-2px);
}

.property-search-card:hover .property-search-button .arrow {
    color: var(--blue) !important;
}
.property-link {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}


@media (max-width: 900px) {
    .properties-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .property-image-wrap {
        height: 240px;
    }
}

/* CORREÇÃO DEFINITIVA - BOTÃO PESQUISE AQUI */

a.property-search-card .property-pesquisa .property-search-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background-color: var(--white) !important;
    color: #1e416b !important;

    padding: 0.75rem 1.4rem;
    border-radius: 5px;

    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
}

a.property-search-card .property-pesquisa .property-search-button,
a.property-search-card .property-pesquisa .property-search-button span,
a.property-search-card .property-pesquisa .property-search-button .arrow {
    color: var(--blue) !important;
}

a.property-search-card:hover .property-pesquisa .property-search-button {
    background-color:var(--white) !important;
    color: var(--blue) !important;
}

a.property-search-card:hover .property-pesquisa .property-search-button span,
a.property-search-card:hover .property-pesquisa .property-search-button .arrow {
    color: var(--blue) !important;
}

