* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    font-family: Arial, Helvetica, sans-serif;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: #2b388f;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-link.active {
    background-color: #4a82c4;
    color: #ffffff;
}

.nav-link:hover:not(.active) {
    color: #2b388f;
}

.secao-zonas {
    padding: 50px 20px 30px;
}

.secao-zonas h1 {
    font-size: 48px;
    color: #2b388f;
    text-align: center;
    margin-bottom: 30px;
}

.container-zonas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.card-zona {
    background-color: #2b388f;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    padding: 14px 28px;
    border-radius: 25px;
    transition: background-color 0.2s, transform 0.2s;
}

.card-zona:hover {
    background-color: #1a2366;
    transform: translateY(-2px);
}

.imoveis-section {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.imoveis-section h2 {
    color: #2b388f;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: center;
    gap: 25px; /* Espaçamento entre os cartões */
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.card-imovel {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.card-imovel:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-imagem img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}

img {
    max-width: 100%;
    height: auto;
}

.card-conteudo {
    padding: 20px;
}

.card-conteudo h3 {
    font-size: 20px;
    color: #222222;
    margin-bottom: 5px;
}

.bairro {
    color: #778ca3;
    font-size: 14px;
    margin-bottom: 15px;
}

.detalhes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #4b6584;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f2f6;
    margin-bottom: 15px;
}

.preco-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.texto-preco {
    font-size: 14px;
    color: #778ca3;
}

.valor {
    font-size: 22px;
    font-weight: 800;
    color: #2b388f;
}

.btn-imagens {
    display: block;
    text-align: center;
    background-color: #f1f2f6;
    color: #2b388f;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.btn-imagens:hover {
    background-color: #e4e7eb;
}

/* --- FOOTER & CHAMADA --- */
.footer {
    background-color: #2b388f;
    color: #ffffff;
    padding: 50px 20px 80px;
    margin-top: 50px;
}

.footer-callout {
    text-align: center;
    margin-bottom: 50px;
}

.footer-callout h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.footer-callout p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Botão com ícone do WhatsApp na direita */
.btn-whatsapp-callout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: auto;
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 35px;
    border-radius: 12px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-whatsapp-callout:hover {
    background-color: #25d366;
    transform: scale(1.03);
}

.icon-whatsapp {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: inline-block;
}

.logo-cury-svg {
    width: 140px;
    height: auto;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    padding-bottom: 30px;
}

.footer-links {
    text-align: left;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #ffffff;
    text-align: left;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: 8px;
    text-align: left;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: none;
}

/* Texto de Disclaimer (Site Não Oficial) */
.footer-disclaimer {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-disclaimer p {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.5;
}

/* --- BOTÕES FLUTUANTES --- */
.botoes-flutuantes {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

.btn-float {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}

.btn-float:hover {
    transform: scale(1.1);
}

.btn-float.topo {
    background-color: #2b388f;
    border-radius: 10px;
    font-size: 16px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-content a {
    color: #333333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f2f6;
    color: #2b388f;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.titulo-pagina-zona {
    font-size: 42px;
    color: #2b388f;
    text-align: center;
    margin: 40px 0 30px;
    font-weight: 800;
}

.dropdown-footer {
    position: relative;
    display: block;
}

.footer-dropdown-title {
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.footer-dropdown-title:hover {
    opacity: 1;
}

.footer-dropdown-content {
    display: none;
    position: absolute;
    left: 100%; /* Abre a caixinha para o lado direito do link */
    top: -10px;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    z-index: 9999;
}

.footer-dropdown-content a {
    color: #333333 !important;
    padding: 12px 16px;
    display: block;
    font-size: 13px;
    text-decoration: none;
    text-align: left !important;
    transition: background-color 0.2s;
}

.footer-dropdown-content a:hover {
    background-color: #f1f2f6;
    color: #2b388f !important;
}

/* Exibe a caixinha ao passar o mouse por cima do "Imóveis" no footer */
.dropdown-footer:hover .footer-dropdown-content {
    display: block;
}

.secao-contatos-cards {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

/* GRID DOS CARDS */
.cards-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.card-opcao {
    background-color: #f9f9fb;
    border-radius: 16px;
    padding: 35px 24px 30px 24px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CAIXA BRANCA ELEVADA DO ÍCONE */
.box-icone {
    background-color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.box-icone img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.box-icone .icone {
    font-size: 32px;
}

/* TEXTOS DOS CARDS */
.card-opcao h3 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-opcao p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 24px;
}

/* BOTÕES DOS CARDS */
.btn-card {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* BOTÃO FECHADO (ROXO) */
.btn-solido {
    background-color: #2b388f;
    color: #ffffff;
    border: 1px solid #2b388f;
}

.btn-solido:hover {
    background-color: #1e2868;
    border-color: #1e2868;
}

/* BOTÃO VAZADO (OUTLINE) */
.btn-outline {
    background-color: transparent;
    color: #2b388f;
    border: 1px solid #2b388f;
}

.btn-outline:hover {
    background-color: #2b388f;
    color: #ffffff;
}

/* ===================================
   FORMULÁRIO DE CONTATO
   =================================== */

.form-wrapper {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 35px 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.04);
}

.form-wrapper h2 {
    color: #2b388f;
    font-size: 22px;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333333;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2b388f;
}

.btn-enviar-form {
    width: 100%;
    background-color: #2b388f;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-enviar-form:hover {
    background-color: #1e2868;
}

/* Ajuste da logo no cabeçalho superior */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Ajuste da logo no rodapé */
.logo-cury-img {
    height: 50px;
    width: auto;
    display: block;
}

.btn-float.whats {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;                /* Tamanho da bolinha verde */
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    padding: 0;
}

.icon-whatsapp-float {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.simularprestacao {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 0; /* Remove margens padrão do parágrafo */
    color: #ffffff;
}

.btn-prestarsimulacao {
    display: block;
    width: 100%;
    background-color: #2b388f;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-prestarsimulacao:hover {
    background-color: #1e2868;
    transform: translateY(-2px);
}

/* Layout para Dispositivos Móveis (ecrãs até 768px) */
@media (max-width: 768px) {
    /* 1. Ajusta o grid de imóveis para 1 coluna */
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    /* 2. Reorganiza o cabeçalho e navegação */
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    /* 3. Garante que os botões voltem a ocupar largura adequada */
    .btn-whatsapp-callout, 
    .btn-card {
        width: 100%;
        box-sizing: border-box;
    }
}

.form-google-wrapper {
    max-width: 700px;
    margin: 40px auto 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.05);
    padding: 10px;
    overflow: hidden;
}

.form-google-wrapper iframe {
    width: 100%;
    border: none;
    display: block;
}