* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    min-height: 80px;
    background-color: #273826;
    color: white;
    position: sticky; 
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo img {
    height: 65px;
    filter: brightness(0) invert(1);
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    padding: 0 20px;
    font-size: 1.1em;
    opacity: 0.8; 
    transition: opacity 0.3s;
}

.nav-menu ul li a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 101; 
}

.nav-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px); 
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
    background: url('utilfile/mansao1.png') no-repeat center center / cover;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(39, 56, 38, 0.95) 40%,
        rgba(39, 56, 38, 0.5) 70%, 
        rgba(39, 56, 38, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 2.8em;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 30px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: white;
    color: #273826;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-contact:hover {
    background-color: #f0f0f0;
}

.large-logo-overlay {
    position: absolute;
    bottom: 0p;
    right: 10%;
    width: 450px;
    height: 450px;
    background: url('utilfile/logo_argon.png') no-repeat center center / contain;
    z-index: 2;
    pointer-events: none;
}

.hero-logo-mobile {
    display: none; 
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 45px;
    background-color: white;
    color: #273826;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-contact:hover {
    background-color: #bbbaba;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* --- CARROSSEL SECTION --- */
.carousel-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    max-height: 800px;
}

.carousel-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    padding: 5%;
    
    background: linear-gradient(to right, 
        rgba(39, 56, 38, 0.4) 40%, 
        rgba(39, 56, 38, 0.1) 80%, 
        transparent 100%
    );
}

.slide-title {
    font-size: 2.2em;
    font-weight: 300;
    margin-top: 50px;
}

.slide-subtitle {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.1;
}

.carousel-slide .large-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; 
    height: 400px;
    opacity: 0.1;
    z-index: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.indicator {
    height: 10px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, width 0.3s;
}

.indicator.active {
    background-color: #ff9900;
    width: 50px;
}

.video-section {
    padding: 80px 5%; /* Espaçamento padrão para a seção */
    text-align: center;
    background-color: #f7f7f7; /* Fundo leve para destacar */
}

.section-title {
    font-size: 2.2em;
    font-weight: 500;
    color: #273826;
    margin-bottom: 50px;
}

/* Grid Principal (Desktop) */
.video-grid {
    display: grid;
    /* 4 colunas de tamanho igual com espaçamento de 30px */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    max-width: 1200px; /* Limita a largura da grade */
    margin: 0 auto;
}

.video-card {
    background-color: #ccc; /* Cor de fundo cinza, como no placeholder */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.video-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-link {
    display: block;
    text-decoration: none;
    height: 100%; /* Garante que o link ocupe todo o card */
}

/* Placeholder (Onde a Thumb do Vídeo ou o Player ficará) */
.video-placeholder {
    position: relative;
    /* Usamos Padding-bottom para manter a proporção 9:16 (vertical, como no design) */
    padding-top: 177.77%; /* (16 / 9) * 100% para manter a proporção de vídeo vertical */
    background-color: #c4c4c4; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ícone de Play (para replicar o triângulo do design) */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    /* Cria um triângulo usando bordas */
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid rgba(255, 255, 255, 0.8); /* Triângulo branco semi-transparente */
    cursor: pointer;
    transition: border-left-color 0.2s;
}

.video-link:hover .play-icon {
    border-left: 30px solid white; /* Fica totalmente branco no hover */
}

/* ---------------------------------------------------------------------- */
/* --- IMÓVEIS À VENDA SECTION (Cards de Destaque) --- */
/* ---------------------------------------------------------------------- */

.imoveis-venda-section {
    padding: 80px 5%;
    text-align: center;
    background-color: white; /* Fundo branco para destacar os cards */
}

/* O título da seção já deve estar definido como .section-title */

.imoveis-grid {
    display: grid;
    /* 3 colunas iguais no desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1400px; /* Mais largo que a seção de vídeos */
    margin: 40px auto 0 auto;
    text-align: left;
}

/* Estilo do Card (Link que envolve o Card) */
.imovel-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease-out;
}

.imovel-card-link:hover {
    /* Efeito sutil de levantar no hover */
    transform: translateY(-5px); 
}

.imovel-card {
    background-color: #f0f0f0; /* Fundo cinza claro para a seção de detalhes */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.imovel-img {
    width: 100%;
    /* Altura fixa para alinhar as imagens */
    height: 250px; 
    object-fit: cover;
    display: block;
}

.imovel-details {
    padding: 15px 20px;
}

.imovel-tipo {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.imovel-nome {
    font-size: 1.15em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    min-height: 40px; /* Garante que todos os títulos tenham altura mínima */
}

/* Caracteristicas (m², quartos, banheiros) */
.imovel-caracteristicas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9em;
    color: #555;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.imovel-caracteristicas span {
    white-space: nowrap; /* Evita que o ícone e o número quebrem */
}

.imovel-valor {
    font-size: 1.5em;
    font-weight: 700;
    color: #273826; /* Cor escura da sua marca */
}

.locacao-comercial-section {
    padding: 80px 5%;
    text-align: center;
    background-color: white; 
}

.comercial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.comercial-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease-out;
}

.comercial-card-link:hover {
    transform: translateY(-5px); 
}

.comercial-card {
    background-color: #f0f0f0; 
    border-radius: 8px; /* Ajustado para 8px para consistência com as imagens */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* NOVO: Estilo para a imagem de topo Comercial */
.comercial-img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}

.comercial-details {
    padding: 15px 20px 25px 20px;
}

.comercial-nome {
    font-size: 1.15em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.comercial-endereco {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.comercial-caracteristicas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 15px;
    min-height: 20px;
}

.comercial-valor {
    font-size: 1.5em;
    font-weight: 700;
    color: #273826;
}

/* --- SEÇÃO: SOBRE NÓS --- */

.sobre-nos-section {
    background-color: #273826;
    color: white;
    padding: 80px 5%;
}

.sobre-nos-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.sobre-nos-texto {
    flex: 2;
}

.section-title-sobre-nos {
    font-size: 2.2em;
    font-weight: 500;
    color: white;
    margin-bottom: 40px;
}

.sobre-nos-texto p {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.sobre-nos-texto p strong {
    font-weight: 700;
}

.sobre-nos-logo {
    text-align: center;
    padding-top: 10px;
    min-width: 250px;
}

.sobre-nos-logo img {
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1) opacity(0.8);
    width: 500px; 
    margin: 0 auto 10px auto;
}

/* --- SEÇÃO: AVALIAÇÃO MERCADOLÓGICA (NOVO) --- */

.avaliacao-section {
    padding: 80px 5%;
    background-color: white;
    color: #333;
    text-align: center;
}

.avaliacao-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.avaliacao-texto {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

.avaliacao-title {
    font-size: 2.5em;
    font-weight: 500;
    color: #273826;
    text-align: center; 
    width: 100%;
    margin-bottom: 50px;
}

.avaliacao-subtitle {
    font-size: 1.6em;
    font-weight: 700;
    color: #273826;
    margin-bottom: 25px;
}

.avaliacao-texto p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #555;
}

.avaliacao-quem-faz,
.avaliacao-vantagens,
.avaliacao-entrega {
    text-align: left;
}

.avaliacao-quem-faz strong,
.avaliacao-vantagens strong,
.avaliacao-entrega strong {
    color: #333;
    font-weight: 700;
}

.btn-solicitar-avaliacao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #3DC56E; 
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px; 
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
    font-size: 1.2em;
}

.btn-solicitar-avaliacao:hover {
    background-color: #2CA75A;
}

.btn-solicitar-avaliacao .whatsapp-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); 
}

.avaliacao-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
}

.imagem-avaliacao {
    max-width: 100%;
    height: auto;
    transform: rotateZ(2deg); 
}

.propriedades-rurais-section {
    padding: 80px 5%;
    text-align: center;
    background-color: #273826; 
}

.propriedades-rurais-section .section-title {
    color: white; 
}

.propriedades-rurais-grid {
    display: grid;
    /* 3 colunas iguais no desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1400px; 
    margin: 40px auto 0 auto;
    text-align: left;
}

.rural-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease-out;
}

.rural-card-link:hover {
    transform: translateY(-5px); 
}

.rural-card {
    background-color: #f0f0f0; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rural-img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}

.rural-details {
    padding: 15px 20px;
}

.rural-tipo {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.rural-nome {
    font-size: 1.15em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    min-height: 40px; 
}

.rural-caracteristicas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9em;
    color: #555;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.rural-valor {
    font-size: 1.5em;
    font-weight: 700;
    color: #273826; 
}

/* --- SEÇÃO: QUER VENDER SEU IMÓVEL (NOVO) --- */

.vender-imovel-section {
    background-color: #273826; 
    padding: 80px 5%;
    color: white;
}

.vender-imovel-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.vender-imovel-texto {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

.section-title-vender {
    font-size: 2.2em;
    font-weight: 600;
    color: white;
    margin-bottom: 40px;
}

.vender-imovel-texto p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.vender-imovel-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%; 
}

.imagem-vender {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); 
}

.btn-fale-conosco {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #e6e6e6; 
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px; 
    transition: background-color 0.3s;
    margin-top: 30px;
    font-size: 1.2em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn-fale-conosco:hover {
    background-color: #cccccc; 
}

.whatsapp-icon-dark {
    width: 24px;
    height: 24px;
    filter: none; 
}

.section-separator-line {
    border: none;
    height: 1px;
    background-color: #535e53;
    max-width: 1200px;
    margin: 80px auto 0 auto;
}

/* --- FOOTER (RODAPÉ) --- */

.main-footer {
    background-color: #273826; 
    color: white;
    padding: 60px 5% 0 5%; 
    font-size: 0.95em;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    max-width: 1200px;
    margin: 0 auto 40px auto;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.main-footer h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 25px;
    color: #3DC56E;
}

.footer-logo {
    height: 70px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.creci-info {
    margin-bottom: 20px;
    line-height: 1.4;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

.footer-contato p {
    margin-bottom: 10px;
    line-height: 1.4;
    opacity: 0.8;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
    opacity: 0.8;
}

.footer-links ul li a:hover {
    color: #3DC56E;
    opacity: 1;
}

.footer-mapa iframe {
    width: 100%;
    height: 150px;
    border: 0; /* Remove a borda padrão do iframe */
    border-radius: 4px; /* Mantém o arredondamento */
    display: block;
}

.footer-copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #384238;
}

.footer-copyright p {
    font-size: 0.85em;
    opacity: 0.7;
}

.empty-state {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05); /* Um fundo sutil */
    border: 2px dashed #3DC56E; /* Borda tracejada com a cor da sua marca */
    border-radius: 15px;
    margin: 20px auto;
    max-width: 600px;
}

.empty-state p {
    font-size: 1.4em;
    color: #273826;
    margin-bottom: 10px;
}

/* Se estiver dentro da seção Rural (que tem fundo verde), muda a cor do texto */
.propriedades-rurais-section .empty-state p,
.propriedades-rurais-section .empty-state span {
    color: white;
}

.empty-state .btn-contact {
    margin-top: 20px;
    font-size: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9); /* Fundo preto transparente */
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2vh auto;
    width: 95%; /* Quase toda a largura no mobile */
    max-width: 1200px;
    height: 95vh;
    border-radius: 10px;
    overflow: hidden;
}

#property-iframe {
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 40px;
    cursor: pointer;
    color: #333;
    z-index: 10001;
}

/* --- Mobile --- */

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2em;
    }
    
    .large-logo-overlay {
        display: none;
    }
    
    .hero-section::before {
        background: linear-gradient(to right, 
            rgba(39, 56, 38, 0.95) 60%, 
            rgba(39, 56, 38, 0.4) 100%
        );
    }

    .imoveis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .comercial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .sobre-nos-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .sobre-nos-texto {
        text-align: center;
    }

    .sobre-nos-logo {
        order: -1; 
        margin-bottom: 30px;
    }

    .sobre-nos-logo img {
        max-width: 150px;
    }
    
    .logo-text-argon, .logo-text-imobiliaria {
        display: none;
    }

    .avaliacao-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .avaliacao-texto {
        max-width: 100%;
        text-align: center;
        order: 1; /* Move o texto para baixo no mobile/tablet */
    }
    
    .avaliacao-imagem {
        max-width: 80%;
        order: 0; /* Move a imagem para cima */
    }

    .avaliacao-title {
        margin-bottom: 20px;
    }
    
    .avaliacao-quem-faz,
    .avaliacao-vantagens,
    .avaliacao-entrega {
        text-align: center;
    }
    
    /* Centraliza o botão no modo coluna */
    .avaliacao-texto .btn-solicitar-avaliacao {
        display: block;
        width: fit-content;
        margin: 30px auto 0 auto;
    }

    .propriedades-rurais-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .vender-imovel-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .vender-imovel-texto {
        max-width: 100%;
        text-align: center;
        order: 1; /* Move o texto para baixo no mobile/tablet */
    }
    
    .vender-imovel-imagem {
        max-width: 80%;
        order: 0; /* Move a imagem para cima */
    }
    
    .section-title-vender {
        margin-bottom: 20px;
    }
    
    .vender-imovel-texto p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0; 
        width: 100%;
        height: 100vh; 
        background-color: #384238;
        transform: translateX(100%); 
        transition: transform 0.3s ease-in-out;
        z-index: 90;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .nav-menu ul li {
        margin: 30px 0;
    }

    .nav-menu ul li a {
        font-size: 1.8em;
    }

    .nav-active {
        transform: translateX(0);
    }
    
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .carousel-section {
        height: 50vh;
    }
    
    .slide-title {
        font-size: 1.5em;
        margin-top: 20px;
    }
    
    .slide-subtitle {
        font-size: 2.5em;
    }
    
    .carousel-slide .large-logo-overlay {
        width: 200px;
        height: 200px;
    }

    .hero-logo-mobile {
        display: block;
        position: absolute;
        top: 20px; 
        left: 50%; 
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .hero-logo-mobile img {
        height: 65px;
        filter: brightness(0) invert(1);
    }
    
    .hero-content {
        text-align: center; 
        display: flex; 
        flex-direction: column;
        align-items: center;
        padding-top: 100px; 
    }

    .hero-title {
        margin-top: 10px; 
        font-size: 2.5em;
    }
    
    .indicator {
        width: 20px;
    }
    .indicator.active {
        width: 30px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-col {
        min-width: 100%;
        text-align: center; /* Centraliza o conteúdo nas telas menores */
        text-decoration: none;
    }
    
    .footer-logo {
        height: 60px;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
    
    .footer-links ul li a {
        padding: 0;
    }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-section {
        padding: 50px 5%;
    }

    .imoveis-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comercial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sobre-nos-section {
        padding: 50px 5%;
    }
    .section-title-sobre-nos {
        margin-bottom: 20px;
    }

    .avaliacao-section {
        padding: 50px 5%;
    }
    
    .avaliacao-title {
        font-size: 2em;
    }
    
    .avaliacao-subtitle {
        font-size: 1.4em;
    }
    
    .avaliacao-imagem {
        max-width: 100%;
    }
    
    .imagem-avaliacao {
        transform: none;
    }

    .propriedades-rurais-section {
        padding: 50px 5%;
    }
    
    .propriedades-rurais-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vender-imovel-section {
        padding: 50px 5%;
    }
    
    .vender-imovel-texto p {
        font-size: 1em;
    }
    
    .section-separator-line {
        margin: 50px auto 0 auto;
    }
}

/* AJUSTE PARA TELAS PEQUENAS (350px ou menos) */
@media (max-width: 400px) {
    /* 1. Reset de segurança */
    * {
        box-sizing: border-box;
    }

    body {
        padding: 0;
        margin: 0;
    }

    /* 2. Cabeçalho e Menu */
    header {
        padding: 10px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0;
    }

    nav ul li a {
        font-size: 14px;
    }

    /* 3. Seções e Títulos */
    section {
        padding: 20px 10px !important;
    }

    h2 {
        font-size: 1.5rem !important;
        text-align: center;
    }

    /* 4. Grids de Imóveis (Obrigatório para 350px) */
    .imoveis-grid, 
    .comercial-grid, 
    .propriedades-rurais-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 20px;
    }

    .imovel-card {
        width: 100% !important; /* Ocupa toda a largura da tela */
        max-width: 320px; /* Mas não estoura os 350px */
        margin: 0 auto;
    }

    /* 5. Carrossel/Empreendimentos */
    .carousel-item img {
        height: 200px !important; /* Menor altura para não sumir com o resto */
    }

    .carousel-caption {
        padding: 10px;
    }

    .carousel-caption h3 {
        font-size: 1.1rem;
    }

    /* 6. Contato e Formulários */
    .contato-container {
        padding: 10px;
    }

    input, textarea, button {
        width: 100% !important; /* Garante que o input não saia da tela */
        font-size: 16px; /* Evita que o iPhone dê zoom automático no input */
    }

    .contato-info {
        font-size: 14px;
        text-align: center;
    }

    /* 7. Footer */
    .footer-container {
        padding: 20px 10px;
        text-align: center;
    }
}