/* ===== PÁGINA DE CONTATO - ESTILOS CUSTOMIZADOS ===== */

/* Estilos específicos para a section de contato */
.green-container-h-f {
    position: relative;
    overflow: visible;
    min-height: 900px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    top: 0 !important;
    left: 0 !important;
    display: flex;
    align-items: center;
    background: #008452;
    width: 100%;
}

.green-container-h-f .container {
    position: relative;
    height: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.green-container-h-f .row {
    position: relative;
}

/* Título do formulário - maior e bold */
#form-titulo {
    font-size: 28px;
    font-weight: 700 !important;
    line-height: 36px;
    color: #121926;
    margin-bottom: 32px;
}

/* Para telas grandes, título ainda maior */
@media (min-width: 1200px) {
    #form-titulo {
        font-size: 32px;
        line-height: 40px;
    }
}

/* Formulário com largura ajustada e mais à esquerda */
.green-container-h-f .home-form-bg {
    margin-left: 0;
    max-width: 550px;
    background-color: white;
    padding: 44px;
    border-radius: 24px;
    box-shadow: 0px 0px 10px -4px black;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}

/* Corrige o alinhamento da row dentro do formulário */
.green-container-h-f .home-form-bg .row {
    margin-left: -10px;
    margin-right: -10px;
}

.green-container-h-f .home-form-bg .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* Garante que os campos ocupem exatamente a mesma largura */
.green-container-h-f .home-form-bg .row > .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Container da imagem do mascote - posicionamento à direita e mais embaixo */
.contato-sindi {
    position: absolute;
    right: -25px;
    bottom: 30px;
    max-height: 750px;
    display: flex;
    z-index: 10;
    pointer-events: none;
    align-items: flex-end;
    justify-content: flex-end;
}

.contato-img-sindi {
    width: auto;
    height: auto;
    max-height: 700px;
    max-width: 700px;
}

/* Estilos dos inputs e campos do formulário */
.contato-text {
    font-weight: 600;
    font-size: 1rem;
    line-height: 24px;
    font-style: normal;
    color: #697586;
}

.contato-input {
    border-color: #E3E8EF !important;
    font-weight: 400;
    line-height: 24px;
    font-style: normal;
    color: #697586;
    font-size: 18px;
    width: 100%;
}

.contato-input-option {
    font-weight: 400;
    font-style: normal;
    color: #697586;
    font-size: 18px;
}

.contato-check {
    background-color: #fff;
}

.form-check-input:checked {
    background: #009C5D;
}

/* Estilos dos botões */
.home-enviar-form {
    background-color: #1D975E;
    width: 100%;
    color: white;
    height: 40px;
    flex-basis: 130%;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 24px;
    transition: all 0.3s ease;
}

.home-enviar-form:hover {
    background-color: #178a54;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(29, 151, 94, 0.3);
}

.home-whats-form {
    background-color: #1D975E;
    color: white;
    border-radius: 8px;
    border: none;
    min-width: 130px;
    font-weight: 600;
    height: 40px;
    transition: all 0.3s ease;
}

.home-whats-form:hover {
    background-color: #178a54;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(29, 151, 94, 0.3);
}

.home-whats-form::before {
    content: url('/assets/img/home-whats-icon.svg');
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 2px;
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.home-form-submit-container {
    display: flex;
    gap: 20px;
}

/* Seção de imóveis relacionados */
.contato-imoveis-ref {
    padding: 50px 0;
}

.contato-imoveis-title {
    font-weight: 700;
    font-size: 36px;
    font-style: normal;
    line-height: 100%;
    text-align: center;
    letter-spacing: -0.01em;
    color: #121926;
    width: 100%;
    padding-top: 100px;
}

.contato-imoveis-subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #9AA4B2;
    margin-top: 20px;
    margin-bottom: 60px;
}

/* Ajustes responsivos para a página de contato */
@media (min-width: 768px) {
    /* Garante que celular e email fiquem lado a lado no desktop/tablet */
    .green-container-h-f .home-form-bg .row > .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width: 992px) {
    /* Em desktop, ajusta as colunas para deixar o form mais à esquerda */
    .green-container-h-f .col-md-6:first-child {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    .green-container-h-f .col-md-6:last-child {
        flex: 0 0 80%;
        max-width: 80%;
    }
    
    /* Remove o espaço vazio da primeira coluna */
    .green-container-h-f .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .green-container-h-f {
        min-height: 700px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .green-container-h-f .container {
        padding-top: 60px;
        padding-bottom: 80px;
    }
    
    .contato-sindi {
        max-height: 700px;
        right: 540px;
        bottom: 40px;
    }
    
    .contato-img-sindi {
        max-height: 600px;
        max-width: 600px;
    }
    
    #form-titulo {
        font-size: 24px;
        line-height: 32px;
    }
    
    .green-container-h-f .home-form-bg {
        padding: 32px;
    }
}

@media only screen and (max-width: 767px) {
    .green-container-h-f {
        min-height: auto;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .green-container-h-f .container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .green-container-h-f .col-md-6:first-child,
    .green-container-h-f .col-md-6:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contato-sindi {
        position: relative;
        justify-content: center;
        margin-top: 20px;
        display: none;
        right: 0;
    }
    
    .contato-img-sindi {
        max-height: 500px;
        max-width: 500px;
    }
    
    #form-titulo {
        font-size: 20px;
        line-height: 28px;
    }
    
    .green-container-h-f .home-form-bg {
        padding: 24px;
        box-shadow: 0px 0px 10px -4px rgba(0,0,0,0.1);
        border-radius: 15px;
    }
    
    /* Garante que campos fiquem em coluna única no mobile */
    .green-container-h-f .home-form-bg .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .green-container-h-f .home-form-bg .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .home-form-submit-container {
        display: flex;
        gap: 10px;
        flex-direction: column;
        height: 90px;
        justify-content: space-between;
    }
    
    .home-enviar-form {
        max-height: 40px;
    }
    
    .home-whats-form {
        height: 40px;
    }
}

/* Seção de FAQ */
.container-faq {
    margin-top: 100px;
}

.contato-accordion {
    margin-top: 100px;
}

.contato-accordion-main {
    border: none;
}

.contato-accordion-item {
    border: none;
    border-bottom: 1px solid #E3E8EF;
    background: transparent;
}

.contato-accordion-header {
    border: none;
}

.contato-accordion-btn {
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 18px;
    color: #121926;
}

.contato-accordion-btn:not(.collapsed) {
    background: transparent;
    color: #1D975E;
}

.contato-accordion-btn-text {
    font-weight: 600;
    font-size: 18px;
}

.contato-accordion-body-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #697586;
}

/* Seção de contato - email, telefone, localização */
.contato-mail-icon,
.contato-phone-icon,
.contato-loc-icon {
    margin-bottom: 20px;
}

.contato-cont-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #121926;
    margin-bottom: 10px;
}

.contato-cont-subtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #9AA4B2;
}

/* Mapa */
.contato-mapa {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Newsletter */
.container-news {
    background-color: #009C5D;
    width: 100%;
    min-height: 158px;
    padding: 40px 0;
}

.contato-news-title {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: white;
    margin-top: 48px;
}

.contato-news-subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: white;
    margin-top: 8px;
}

.contato-news-form {
    margin-top: 60px;
}

.contato-news-input {
    width: 267px !important;
    height: 44px;
    color: #9AA4B2;
    margin-right: 20px;
    border-radius: 12px !important;
}

.contato-input-group {
    width: 404px;
}

.news-btn {
    font-weight: 500;
    font-size: 1rem;
    line-height: 24px;
    font-style: normal;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 8px;
    width: 117px;
    height: 44px;
    background: white;
    color: #1D975E;
    border-radius: 12px !important;
}

.news-btn:hover {
    background: #f0f0f0;
    color: #178a54;
}

