/* --- CONFIGURAÇÕES GERAIS E VARIÁVEIS --- */
:root {
    --cor-primaria: #AD0505; /* Vermelho */
    --cor-secundaria: #7E7E7E; /* Cinza */
    --cor-texto: #333333;
    --cor-fundo: #ffffff;   /* Branco */
    --cor-fundo-leve: #f4f4f4;
    --font-principal: 'Helvetica', 'Arial', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-principal);
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.containerHeader {
    max-width: 1200px;
}

h1, h2, h3 {
    color: var(--cor-texto);
    line-height: 1.2;
}

section {
    height: 100vh;
    align-content: center;

}

h2.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--cor-primaria);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 17px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--cor-fundo-leve);
}

.btn {
    display: inline-block;
    background-color: var(--cor-primaria);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #8b0404;
}


/* --- CABEÇALHO E NAVEGAÇÃO --- */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a href {
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cor-primaria);
    text-decoration: none;
    width: 9rem;
}

.logoPredio {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cor-primaria);
    text-decoration: none;
    width: 6rem;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
}

.main-nav .nav-links li {
    margin-left: 2rem;
    text-align: center;
    line-height: 1.2;
    font-size: .8rem;
}

.main-nav .nav-links a {
    text-decoration: none;
    color: var(--cor-secundaria);
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: var(--cor-primaria);
}

.social-icons a {
    color: var(--cor-secundaria);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--cor-primaria);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cor-texto);
    cursor: pointer;
}

/* --- SEÇÃO HOME (HERO) --- */
.hero {
    /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1920x1080/7E7E7E/FFFFFF?text=Imagem+de+Fundo') no-repeat center center/cover;*/ 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-background.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px; /* Para não ficar atrás do header */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* --- SEÇÃO CONDOMÍNIO --- */
.content-split {
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-split .text-content {
    flex: 1;
}

.content-split .image-content {
    flex: 1;
}

.content-split .image-content.lowered {
    margin-top: 50px;
}

.content-split img {
    width: 16rem;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 0 rgba(0,0,0,0.2);
}

.text-content p, .text-content h2 {
    margin-bottom: 10px;
}

/* --- SEÇÃO BLOG --- */
/* .blog-slider {
    padding-bottom: 40px; /* Espaço para paginação *
}
.blog-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: left;
}
.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-post h3, .blog-post p, .blog-post .read-more {
    padding: 0 20px;
}
.blog-post h3 {
    margin-top: 15px;
    color: var(--cor-texto);
}
.blog-post p {
    margin: 10px 0;
    color: var(--cor-secundaria);
}
.blog-post .read-more {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: bold;
} */

/* --- SEÇÃO ÁREAS COMUNS --- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.area-item {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
}
.area-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.area-item h3 {
    margin: 15px 0 10px;
    color: var(--cor-primaria);
}
.area-item p {
    padding: 0 15px 10px;
    color: var(--cor-secundaria);
}

/* --- SEÇÃO FOTOS (GALERIA) --- */
.fotos-slider .swiper-slide img {
    width: 100%;
    border-radius: 8px;
}
.fotos-slider .swiper-button-next,
.fotos-slider .swiper-button-prev {
    color: var(--cor-primaria);
}
.fotos-slider .swiper-pagination-bullet-active {
    background: var(--cor-primaria);
}

/* --- SEÇÃO LOCALIZAÇÃO --- */
.location-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.map {
    flex: 2;
    border-radius: 8px;
    overflow: hidden;
}
.address {
    flex: 1;
}
.address h3 {
    color: var(--cor-primaria);
    margin-bottom: 15px;
}
.address p {
    margin-bottom: 10px;
}
.address i {
    color: var(--cor-primaria);
    margin-right: 10px;
    width: 20px;
}

/* --- SEÇÃO CONTATO --- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-principal);
}
.contact-form button {
    width: 100%;
    font-size: 1.1rem;
}

/* --- RODAPÉ --- */
.main-footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 20px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-section {
    flex: 1;
    min-width: 250px;
}
.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 6px;
    font-size: .9rem;
}
.footer-section ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-section ul a:hover {
    color: var(--cor-primaria);
}

.footer-section p {
    font-size: .9rem;
}

.social-icons-footer a {
    color: #ccc;
    margin-right: 15px;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-icons-footer a:hover {
    color: var(--cor-primaria);
}
.contact-info p i {
    margin-right: 8px;
    font-size: .9rem;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    section {
        height: auto;
    }

    .main-nav .nav-links li {
        margin-left: 1rem;
    }

    .area-item h3 {
        margin: 0;
    }

    .area-item p {
        line-height: 1.2;
        font-size: .9rem;
    }
}


@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        /* height: 100vh; */
        height: auto;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.5s ease;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav .nav-links {
        flex-direction: column;
        text-align: center;
        margin: 40px 0 30px;
    }
    
    .main-nav .nav-links li {
        margin: 6px 0;
    }

    .main-nav .nav-links a {
        font-size: .8rem;
        line-height: 1;
    }
    
    h2.section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 5rem 0 2rem;
    }
    
    .areas-grid {
        gap: 20px;
    }
    
    .address {
        margin: 0 20%;
    }
    
    .location-content {
        align-items: normal;
    }
    
    .hero-content p {
        line-height: 1.3;
        margin: 0 30px 30px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001; /* Ficar acima do menu */
    }
    
    .social-icons {
        display: none; /* Esconder ícones sociais do header em telas pequenas */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .content-split {
        flex-direction: column;
        gap: 0;
    }
    
    .content-split .image-content.lowered {
        margin-top: 3px;
    }
    
    .content-split img {
        height: 14rem;
        width: auto;
    }
    
    .location-content {
        flex-direction: column;
    }
    
    .form-group {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    h2.section-title {
        font-size: 1.7rem;
    }
    
    .modal-content-box p {
        line-height: 1.6;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 470px) {
    .address {
        margin: 0 10px;
    }
    
    .address p {
        line-height: 1.4;
        font-size: .75rem;
    }
    
    .location-content {
        gap: 10px;
    }

    .modal-content-box {
        padding: 40px 20px !important;
    }

    .containerNotice {
        width: 90% !important;
    }

    .content .button {
        padding: 20px !important;
    }
}

@media (max-width: 380px) {
    h2.section-title {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .footer-section p {
        font-size: .8rem;
    }

    .text-content p {
        line-height: 1.3;
        font-size: .9rem;
    }
}