/* Estilos Gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #4b5563;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #1e3a8a;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d1d5db;
}

/* Seções */
section {
    padding: 80px 0;
    text-align: center;
}

#hero {
    background: url('https://via.placeholder.com/1920x1080/1f2937/d1d5db?text=Sua+Imagem+Principal') no-repeat center center/cover;
    color: #fff;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.subtitle {
    font-size: 1.125rem;
    margin-bottom: 50px;
}

/* Botões */
.cta-button {
    display: inline-block;
    background-color: #1e3a8a;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #3b82f6;
}

.cta-button.secondary {
    background-color: #d1d5db;
    color: #1f2937;
}

.cta-button.secondary:hover {
    background-color: #9ca3af;
}

.cta-button.disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* Cards de Método */
.method-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    flex-grow: 1;
}

.card img {
    margin-bottom: 20px;
}

/* Listagem de Imóveis */
.property-listings {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.property-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    flex-grow: 1;
    text-align: left;
}

.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-card h4 {
    color: #1e3a8a;
    padding: 15px 20px 0;
}

.property-card p {
    padding: 0 20px;
}

.property-card .cta-button {
    margin: 20px;
    width: calc(100% - 40px);
    text-align: center;
}

.property-card.sold {
    position: relative;
    opacity: 0.7;
}

.property-card.sold::before {
    content: "VENDIDO";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    background-color: rgba(239, 68, 68, 0.8);
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
}

/* Formulário de Contato */
#contato {
    background-color: #f3f4f6;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input, #contact-form textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }

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

    .method-cards, .property-listings {
        flex-direction: column;
        align-items: center;
    }
}