/* ===========================================================================
   SEÇÕES DO PAINEL NA HOME (O SITE ANTIGO NÃO TEM): FAIXA DE BANNERS DO MEIO, EQUIPE,
   DEPOIMENTOS, PERGUNTAS FREQUENTES, ÍNDICES E INSTAGRAM. MESMA LINGUAGEM DO RESTO DA
   HOME: TÍTULO CENTRALIZADO COMO O DE "Tipos de imóveis", CARTÕES COMO OS DOS
   DESTAQUES (BORDA #dedede, SOMBRA LEVE), AZUL #000066 E VERMELHO #750005 NO HOVER.
   =========================================================================== */

.secao {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

@media (max-width: 767px) {
    .secao { padding: 30px 0; }
}

.secao__cabeca {
    margin-bottom: 30px;
    text-align: center;
}

.secao__titulo {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
}

.secao__subtitulo {
    margin: 0;
    color: #727272;
    font-size: 16px;
    line-height: 22px;
}

@media (max-width: 767px) {
    .secao__titulo { font-size: 18px; line-height: 22px; }
    .secao__subtitulo { font-size: 14px; line-height: 20px; }
}

.secao__acoes {
    margin-top: 10px;
    text-align: center;
}

/* O CARTÃO DAS SEÇÕES: O MESMO ACABAMENTO DO CARTÃO DE IMÓVEL (css/cartao.css): BORDA, CANTOS, SOMBRA E O HOVER. */
.colaborador,
.depoimento,
.indice {
    border: 1px solid #dedede;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: box-shadow .2s ease-out;
}

.colaborador:hover,
.depoimento:hover,
.indice:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
}

/* ---- FAIXA DE BANNERS DO MEIO (O CARROSSEL DA CAPA, NA LARGURA DO CONTAINER) ---------- */

.faixa {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.faixa__janela {
    overflow: hidden;
}

.faixa__trilho {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    transition-property: transform;
    transition-timing-function: ease;
}

.faixa__slide {
    flex: 0 0 100%;
}

.faixa__slide picture {
    display: block;
}

.faixa__imagem {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .faixa--desktop { display: none; }
}

@media (min-width: 768px) {
    .faixa--celular { display: none; }
}

.faixa__seta {
    position: absolute;
    top: 50%;
    left: 10px;
    z-index: 2;
    width: 31px;
    height: 57px;
    margin-top: -28px;
    padding: 0;
    border: 0;
    background: url('../img/home/capa/arrow-prev.png') no-repeat;
    opacity: .7;
    cursor: pointer;
    transition: opacity .3s ease-in-out;
}

.faixa__seta--proxima {
    right: 10px;
    left: auto;
    background-image: url('../img/home/capa/arrow-next.png');
}

.faixa__seta:hover,
.faixa__seta:focus-visible {
    opacity: 1;
}

/* ---- EQUIPE ---------------------------------------------------------------------- */

.equipe__grupo {
    margin: 0 0 15px;
    color: var(--azul);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
}

.equipe__grade {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    justify-content: center;
    gap: 20px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.equipe__grade:last-child {
    margin-bottom: 0;
}

.colaborador {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px 20px;
    text-align: center;
}

.colaborador__foto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #ededed;
    color: var(--azul);
    font-size: 40px;
    font-weight: 500;
}

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

.colaborador__nome {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.colaborador__cargo {
    color: #727272;
    font-size: 14px;
    line-height: 20px;
}

.colaborador__creci {
    margin-bottom: 10px;
    color: #959595;
    font-size: 12px;
    line-height: 18px;
}

.colaborador__contato {
    max-width: 100%;
    overflow: hidden;
    color: #5b5b5b;
    font-size: 13px;
    line-height: 22px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.colaborador__contato .icone {
    margin-right: 4px;
    color: var(--azul);
}

.colaborador__contato:hover,
.colaborador__contato:focus {
    color: var(--vermelho);
}

.colaborador__redes {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.colaborador__redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--azul);
    color: #fff;
    font-size: 14px;
}

.colaborador__redes a:hover,
.colaborador__redes a:focus {
    background-color: var(--vermelho);
    color: #fff;
}

.colaborador__redes .icone {
    vertical-align: 0;
}

/* ---- DEPOIMENTOS (O CARROSSEL DOS DESTAQUES: vitrine.js) -------------------------- */

@media (min-width: 991px) {
    .depoimentos__trilho { --por-vez: 3; }
}

.depoimento {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 20px;
}

.depoimento__nota {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.depoimento__estrela {
    width: 16px;
    height: 16px;
    fill: #dedede;
}

.depoimento__estrela--cheia {
    fill: #f5b301;
}

.depoimento__texto {
    display: -webkit-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: #5b5b5b;
    font-size: 15px;
    font-style: italic;
    font-weight: 300;
    line-height: 22px;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.depoimento__texto.aberto {
    display: block;
}

.depoimento__ler-mais {
    align-self: flex-start;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--azul);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.depoimento__ler-mais:hover,
.depoimento__ler-mais:focus-visible {
    color: var(--vermelho);
}

.depoimento__autor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
}

.depoimento__foto {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #ededed;
    color: var(--azul);
    font-size: 18px;
    font-weight: 500;
}

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

.depoimento__nome {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
}

.depoimento__sub {
    display: block;
    color: #959595;
    font-size: 12px;
    line-height: 18px;
}

/* TUDO CABENDO NA TELA (vitrine.js): SEM "Ant" E "Próx". */
.depoimentos.vitrine--parada .destaques__botao--seta {
    display: none;
}

/* ---- PERGUNTAS FREQUENTES ------------------------------------------------------- */

.faq__lista {
    max-width: 860px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid #dedede;
}

.faq__item:first-child {
    border-top: 1px solid #dedede;
}

.faq__pergunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    list-style: none;
    cursor: pointer;
}

.faq__pergunta::-webkit-details-marker {
    display: none;
}

.faq__pergunta:hover {
    color: var(--azul);
}

.faq__seta {
    flex: 0 0 auto;
    color: var(--azul);
    font-size: 18px;
    transition: transform .2s ease;
}

.faq__item[open] .faq__seta {
    transform: rotate(180deg);
}

.faq__resposta {
    padding: 0 5px 15px;
    color: #5b5b5b;
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
}

/* ---- ÍNDICES ECONÔMICOS ------------------------------------------------------------ */

.indices__grade {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.indices__grade--1,
.indices__grade--2 {
    max-width: 760px;
    margin: 0 auto;
}

.indice {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.indice__nome {
    margin: 0;
    color: var(--azul);
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
}

.indice__descricao,
.indice__referencia {
    margin: 0 0 6px;
    color: #727272;
    font-size: 13px;
    line-height: 18px;
}

.indice__linhas {
    margin: 10px 0 15px;
}

.indice__linha {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid #eee;
    font-size: 14px;
    line-height: 20px;
}

.indice__linha dt {
    color: #5b5b5b;
    font-weight: 400;
}

.indice__linha dd {
    margin: 0;
    font-weight: 500;
}

.indice__negativo {
    color: #c0392b;
}

.indice__fonte {
    margin-top: auto;
    color: #959595;
    font-size: 12px;
}

.indice__fonte:hover,
.indice__fonte:focus {
    color: var(--azul);
}

/* ---- INSTAGRAM / FACEBOOK (O EMBED DE CADA POST; O SCRIPT DA REDE SÓ CARREGA PERTO DA TELA) ---- */

.redes__grade {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.redes__item {
    position: relative;
    min-height: 200px;
}

/* ATÉ A REDE DESENHAR O POST: UM AVISO DISCRETO NO LUGAR. */
.redes__item[data-carregando] .redes__post {
    visibility: hidden;
}

.redes__item[data-carregando]::after {
    content: "Carregando publicação...";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dedede;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #959595;
    font-size: 13px;
}

.redes__post .instagram-media,
.redes__post iframe {
    max-width: 100% !important;
    min-width: 0 !important;
}
