body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #F4F1EA;
    color: #2F2F2F;
    transition: background-color 0.3s, color 0.3s;
}

/* Modo Escuro */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode header {
    background: #222;
    border-bottom-color: #444;
}

body.dark-mode nav ul li a {
    color: #e0e0e0;
}

body.dark-mode nav ul li a:hover {
    color: #B08A4F;
}

body.dark-mode .menu-toggle span {
    background: #e0e0e0;
}

body.dark-mode nav ul {
    background: #222;
    border-bottom-color: #444;
}

body.dark-mode nav ul li {
    border-bottom-color: #444;
}
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.15rem;
    color: #3F4F2F;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.2rem;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #3F4F2F;
    border-radius: 2px;
    transition: 0.3s;
}

/* Botão Dark Mode */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    margin-left: auto;
    margin-right: 1rem;
    transition: transform 0.3s;
}
nav ul li a {
    text-decoration: none;
    color: #2F2F2F;
    font-weight: 500;
    transition: color 0.2s;
}
nav ul li a:hover {
    color: #3F4F2F;
}
.hero {
    background: transparent;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
}
.hero-content {
    background: rgba(34, 49, 63, 0.55);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    text-align: center;
}
.cta {
    display: inline-block;
    margin-top: 1.5rem;
    background: #3F4F2F;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.2s;
}
.cta:hover {
    background: #B08A4F;
}
.pilares {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: #fff;
    padding: 2rem 0;
    margin-top: -40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

body.dark-mode .pilares {
    background: #222;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.pilar {
    text-align: center;
    max-width: 220px;
}

body.dark-mode .pilar h3 {
    color: #B08A4F;
}
.pilar img {
    width: 64px;
    margin-bottom: 1rem;
}
footer {
    background: #3F4F2F;
    color: #fff;
    text-align: center;
    padding: 1.2rem 0;
    margin-top: 2rem;
}
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    transition: opacity 0.2s;
}
.whatsapp-float img {
    width: 36px;
    height: 36px;
}
.whatsapp-float:hover {
    opacity: 0.8;
}
.sobre, .servicos, .imoveis, .blog, .contato {
    max-width: 900px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem;
}

body.dark-mode .sobre,
body.dark-mode .servicos,
body.dark-mode .imoveis,
body.dark-mode .blog,
body.dark-mode .contato {
    background: #222;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.equipe {
    list-style: none;
    padding: 0;
}
.equipe li {
    margin-bottom: 0.7rem;
}
.servico-bloco {
    margin-bottom: 2rem;
}

/* Layout com imagem ao lado */
.content-with-image {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.content-with-image.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    text-align: center;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-below {
    text-align: center;
    margin-top: 2rem;
}

.image-below img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body.dark-mode .image-content img,
body.dark-mode .image-below img {
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
}
.imovel-lista {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.imovel-card {
    background: #F4F1EA;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    padding: 1rem;
    width: 260px;
}

body.dark-mode .imovel-card {
    background: #2a2a2a;
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.imovel-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0.7rem;
}
.status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.status.regularizado {
    background: #3F4F2F;
    color: #fff;
}
.status.usucapiao {
    background: #B08A4F;
    color: #fff;
}
.diagnostico-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.diagnostico-form input, .diagnostico-form textarea {
    padding: 0.6rem;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    font-size: 1rem;
}

/* Paleta DOMUS */
:root {
    --domus-verde-oliva: #3F4F2F;
    --domus-bronze: #B08A4F;
    --domus-areia: #F4F1EA;
    --domus-grafite: #2F2F2F;
}

/* Destaques coloridos */
.pilar h3 {
    color: #3F4F2F;
}
.pilar ul li::marker {
    color: #3F4F2F;
}

/* Botões e formulários */
button, input[type="submit"] {
    background: #3F4F2F;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.2s;
}
button:hover, input[type="submit"]:hover {
    background: #B08A4F;
}

/* Cards e blocos de serviço */
.servico-bloco, .imovel-card, .blog article {
    background: #F4F1EA;
    border-left: 6px solid #3F4F2F;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(63,79,47,0.06);
}
.servico-bloco:nth-child(odd) {
    border-left-color: #B08A4F;
}
.servico-bloco:nth-child(even) {
    border-left-color: #3F4F2F;
}
.imovel-card .status {
    background: #3F4F2F;
    color: #fff;
    border-radius: 4px;
    padding: 0.2em 0.7em;
    font-size: 0.95em;
    font-weight: bold;
}

/* Estilos para o vídeo banner */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 49, 63, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    background: rgba(34, 49, 63, 0.65);
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        gap: 0;
        padding: 0.8rem;
        position: relative;
    }

    .logo {
        font-size: 0.95rem;
        flex: 1;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid #e0e0e0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    nav ul.active {
        max-height: 500px;
    }

    nav ul li {
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: 250px;
    }

    .hero-content {
        padding: 1rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    .pilares {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        margin-top: -20px;
    }

    .pilar {
        max-width: 100%;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }

    .sobre, .servicos, .imoveis, .blog, .contato {
        margin: 1rem;
        padding: 1.5rem;
    }

    .imovel-lista {
        flex-direction: column;
        gap: 1rem;
    }

    .imovel-card {
        width: 100%;
    }

    .content-with-image {
        flex-direction: column;
        gap: 1.5rem;
    }

    .content-with-image.reverse {
        flex-direction: column;
    }

    .text-content,
    .image-content {
        flex: 100%;
    }
}
