/* =============================================================
   HOME — VALE IMÓVEIS
   Valores finais da cascata do site antigo (css/personalizados/home.css + style.css).
   ============================================================= */

/* =============================================================
   BANNER: FOTO ESCURECIDA, CABEÇALHO DENTRO E A BUSCA NO MEIO
   ============================================================= */
.hero-section {
    position: relative;
    z-index: 2;
    /* A IMAGEM FICA NAS CAMADAS (.hero-fundo); A COR APARECE ENQUANTO ELA CARREGA. */
    background-color: var(--cor-site-5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    pointer-events: none;
}

/* NO SITE ANTIGO O SLIDE TEM calc(100vh - 77PX) (77PX = O CABEÇALHO ACIMA DELE), 100PX EM CIMA E EMBAIXO E A BUSCA
   CENTRADA NO QUE SOBRA. */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 77px);
    padding: 100px 48px;
}

/* TÍTULO DO BANNER (SÓ COM TÍTULO CADASTRADO NO PAINEL) */
.hero-textos {
    display: grid;
    margin-bottom: 20px;
    text-align: center;
}

.hero-title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 15px;
    color: var(--cor-site-3);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    transition: .3s cubic-bezier(.4, 0, 1, 1);
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background: var(--cor-site-1);
    border-radius: 3px;
    transform: translateX(-50%);
}

.hero-title:hover {
    color: #e1e0e0;
    transform: scale(1.05);
}

/* CARROSSEL DO TOPO: UMA CAMADA DE IMAGEM POR BANNER (A ATIVA APARECE) E OS TÍTULOS EMPILHADOS NO MESMO LUGAR.
   UM BANNER SÓ = A PRIMEIRA CAMADA. */
.hero-fundos {
    position: absolute;
    inset: 0;
}

/* COMPUTADOR (A PARTIR DE 600PX) E CELULAR TÊM BANNERS PRÓPRIOS: SÓ O GRUPO DA TELA APARECE */
.hero-grupo--mobile {
    display: none !important;
}

.hero-fundo {
    position: absolute;
    inset: 0;
    background-image: var(--hero-imagem);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity .8s ease;
}

.hero-fundo.is-ativo {
    opacity: 1;
}

.hero-textos > .hero-text {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}

.hero-textos > .hero-text.is-ativo {
    opacity: 1;
    visibility: visible;
}

/* SETAS DO CARROSSEL: NO MEIO DO TOPO, NAS LATERAIS */
.hero-seta {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .3s, border-color .3s;
}

.hero-seta:hover,
.hero-seta:focus-visible {
    background: rgba(255, 255, 255, .28);
    border-color: rgba(255, 255, 255, .6);
}

.hero-seta--ant {
    left: 20px;
}

.hero-seta--prox {
    right: 20px;
}

/* O GRUPO DA TELA (COMPUTADOR OU CELULAR) TEM UM BANNER SÓ: SEM SETAS NESSA TELA (home.js). */
.hero--um-banner .hero-seta {
    display: none;
}

@media (max-width: 768px) {
    .hero-content {
        padding-right: .5rem;
        padding-left: .5rem;
    }

    /* ATÉ 768PX A BUSCA OCUPA QUASE A LARGURA TODA E AS SETAS FICARIAM EM CIMA DAS CAIXINHAS: SEM SETAS (A TROCA SEGUE
       AUTOMÁTICA E COM O DEDO NO BANNER). */
    .hero-seta {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-content {
        height: auto;
    }
}

@media (max-width: 599px) {
    .hero-grupo--desktop {
        display: none !important;
    }

    .hero-fundos.hero-grupo--mobile {
        display: block !important;
    }

    .hero-textos.hero-grupo--mobile {
        display: grid !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-fundo,
    .hero-textos > .hero-text {
        transition: none;
    }
}

/* =============================================================
   BUSCA (ABAS ALUGAR/COMPRAR E A CAIXA COM OS CAMPOS)
   ============================================================= */
/* A CAIXA TEM A LARGURA DOS CAMPOS (ATÉ A DA TELA) E FICA CENTRADA, COMO A .tab-content DO SITE ANTIGO. */
.busca {
    display: grid;
    justify-items: center;
    width: 100%;
}

.busca__abas {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.busca__aba {
    position: relative;
    display: flex;
    justify-content: center;
    width: 90px;
    margin-bottom: -1px;
    padding: 8px 16px;
    background: var(--cor-site-3);
    border: 0;
    border-radius: 10px;
    color: var(--cor-site-5);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out;
}

.busca__aba.ativa {
    background: var(--cor-site-1);
    color: #fff;
}

/* SETA EMBAIXO DA ABA ATIVA */
.busca__aba.ativa::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 15px solid var(--cor-site-1);
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    transform: translateX(-50%);
}

.busca__caixa {
    display: flex;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    background: rgba(250, 250, 250, .9);
    border-radius: 10px;
    box-shadow: 0 16px 32px 0 rgba(7, 28, 31, .1);
}

.busca__campos {
    display: flex;
}

.busca__campo {
    position: relative;
    display: flex;
    justify-content: center;
    height: 100px;
}

.busca__gatilho {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 200px;
    margin: 0;
    padding: 1.6em;
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: inherit;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    transition: all .3s ease;
}

.busca__gatilho:hover {
    background: #f5f5f5;
}

.busca__campo.aberta .busca__gatilho,
.busca__campo--codigo .busca__gatilho:focus-within {
    background: #f0f0f0;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

/* SÓ O PRIMEIRO CAMPO TEM O CANTO DE CIMA ARREDONDADO NO SITE ANTIGO */
.busca__campo--tipo .busca__gatilho {
    border-radius: 10px 0 0 0;
}

.busca__rotulo {
    margin-bottom: 4px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.busca__escolha {
    color: #555;
    font-size: 13px;
}

.busca__codigo {
    width: 100%;
    height: 20px;
    padding: 0 12px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    color: #666;
    font-family: var(--fonte);
    font-size: 14px;
}

.busca__codigo::placeholder {
    color: #666;
    opacity: 1;
}

/* LINHA ENTRE OS CAMPOS: EM PÉ A PARTIR DE 992PX, DEITADA NO CELULAR PEQUENO (SÓ A DE ANTES DO BOTÃO É SÓ DO CELULAR) */
.busca__separador {
    display: none;
    flex: none;
    width: 1px;
    margin: 0 4px;
    background: #dcd7d7;
}

.busca__botao {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 0 16px;
}

.busca__buscar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    background: var(--cor-site-1);
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background-color .3s;
}

.busca__buscar:hover {
    background: var(--cor-site-2);
}

.busca__buscar svg {
    width: 22px;
    height: 22px;
}

.busca__buscar-texto {
    display: none;
    margin-left: 5px;
    color: var(--cor-site-3);
    font-size: .9rem;
}

/* CAIXINHA QUE ABRE EMBAIXO DO CAMPO */
.busca__caixinha {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    width: 280px;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    line-height: 1.5;
    text-align: left;
}

.busca__campo.aberta .busca__caixinha {
    display: block;
}

.busca__caixinha-titulo {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 12px;
    text-transform: uppercase;
}

.busca__opcoes {
    max-height: 300px;
    margin-bottom: 12px;
    overflow-y: auto;
}

.busca__opcoes ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.busca__opcao {
    position: relative;
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

.busca__opcao:hover {
    background: #f5f5f5;
}

.busca__opcao input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.busca__marca {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.busca__opcao input:checked ~ .busca__marca {
    background: var(--cor-site-1);
    border-color: var(--cor-site-1);
}

.busca__opcao input:checked ~ .busca__marca::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    display: block;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.busca__confirmar {
    width: 100%;
    padding: 8px;
    background: var(--cor-site-1);
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .3s;
}

.busca__confirmar:hover {
    background: var(--cor-site-2);
}

.busca__valores {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.busca__valores label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 12px;
}

.busca__valor {
    width: 100%;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #212529;
    font-family: var(--fonte);
    font-size: 14px;
    line-height: 1.5;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.busca__valor::placeholder {
    color: #666;
    opacity: 1;
}

.busca__valor:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    outline: 0;
}

/* AVISO DO VALOR (MÍNIMO MAIOR QUE O MÁXIMO), NO ALTO DA TELA */
.busca-aviso {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 1000;
    padding: 12px 24px;
    background: #ffebee;
    border-left: 4px solid #d32f2f;
    border-radius: 4px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
    color: #d32f2f;
    transform: translateX(-50%);
    animation: busca-aviso-entra .3s ease-in-out;
}

.busca-aviso--saindo {
    animation: busca-aviso-sai .5s ease-in-out forwards;
}

@keyframes busca-aviso-entra {
    from { top: 10px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

@keyframes busca-aviso-sai {
    from { top: 20px; opacity: 1; }
    to { top: 10px; opacity: 0; }
}

@media (min-width: 992px) {
    .busca__separador:not(.busca__separador--celular) {
        display: block;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .busca__gatilho {
        width: 175px;
    }
}

@media (min-width: 900px) and (max-width: 1023px) {
    .busca__gatilho {
        width: 150px;
    }

    .busca__buscar-texto {
        display: block;
    }
}

@media (max-width: 767px) {
    .busca__botao {
        width: 100%;
    }
}

@media (min-width: 582px) and (max-width: 899px) {
    .busca__gatilho {
        width: 175px;
    }

    .busca__buscar-texto {
        display: block;
    }

    .busca__campos {
        display: grid;
        grid-template-columns: repeat(3, 175px);
        justify-items: center;
    }
}

@media (min-width: 325px) and (max-width: 580px) {
    .busca__caixa,
    .busca__campos {
        flex-direction: column;
    }

    .busca__gatilho {
        width: 300px;
        padding: 1.3em 1.6em;
    }

    .busca__campo,
    .busca__botao {
        height: 75px;
    }

    .busca__buscar {
        width: 100%;
    }

    .busca__buscar-texto {
        display: block;
    }

    .busca__separador,
    .busca__separador--celular {
        display: block;
        width: auto;
        height: 1px;
        margin: 4px;
    }
}

/* =============================================================
   DESTAQUES (LOCAÇÃO E VENDA)
   ============================================================= */
.destaques {
    padding: 60px 0;
}

/* .container DO SITE ANTIGO (BOOTSTRAP 5 + 1400PX SEM RECUO A PARTIR DE 1400PX, COMO NO CABEÇALHO) */
.destaques__container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.destaques__cabecalho {
    margin-bottom: 50px;
    text-align: center;
}

.destaques__titulo {
    margin: 0 0 15px;
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.destaques__titulo span {
    color: var(--cor-site-1);
}

.destaques__subtitulo {
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.1;
}

@media (min-width: 576px) {
    .destaques__container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .destaques__container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .destaques__container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .destaques__container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .destaques__container {
        max-width: 1400px;
        padding: 0;
    }
}

/* CARROSSEL (NO LUGAR DO SLICK DO SITE ANTIGO: SETAS REDONDAS NO HOVER, BOLINHAS EMBAIXO) */
.carrossel {
    position: relative;
}

.carrossel [hidden] {
    display: none !important;
}

.carrossel__janela {
    overflow: hidden;
    touch-action: pan-y;
}

.carrossel__trilha {
    display: flex;
    align-items: flex-start;
    will-change: transform;
}

.carrossel__trilha.animando {
    transition: transform .3s ease;
}

/* QUANTOS POR VEZ NOS DESTAQUES: OS MESMOS PONTOS DO home.js */
.destaques .property-card-container {
    flex: 0 0 20%;
    min-width: 0;
}

.carrossel__seta {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #e6ecf0;
    border-radius: 100%;
    color: var(--cor-site-2);
    font-size: 20px;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%);
    transition: all .3s ease 0s;
}

.carrossel__seta--prox {
    right: 15px;
    left: auto;
}

.carrossel__seta:hover {
    background-color: var(--cor-site-1);
    border-color: var(--cor-site-1);
    color: #fff;
}

.carrossel:hover .carrossel__seta {
    opacity: 1;
    visibility: visible;
}

.carrossel__pontos {
    margin: 30px 0 0;
    padding: 0;
    line-height: 1;
    text-align: center;
}

.carrossel__pontos li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    background-color: #c0c0c0;
    border-radius: 100%;
    font-size: 0;
    list-style: none;
    cursor: pointer;
    transition: all .3s ease 0s;
}

.carrossel__pontos li:hover,
.carrossel__pontos li.ativo {
    width: 15px;
    height: 15px;
    margin-bottom: -2px;
    background-color: var(--cor-site-1);
}

@media (min-width: 1350px) {
    .carrossel:hover .carrossel__seta--ant {
        left: -50px;
    }

    .carrossel:hover .carrossel__seta--prox {
        right: -50px;
    }
}

@media (max-width: 1439px) {
    .destaques .property-card-container {
        flex-basis: 25%;
    }
}

@media (max-width: 1024px) {
    .destaques .property-card-container {
        flex-basis: calc(100% / 3);
    }
}

@media (max-width: 799px) {
    .destaques .property-card-container {
        flex-basis: 50%;
    }
}

@media (max-width: 579px) {
    .destaques .property-card-container {
        flex-basis: 100%;
    }
}

/* =============================================================
   NOSSOS PRINCIPAIS SERVIÇOS (includes/home/imobiliaria.php DO SITE ANTIGO)
   CARTÃO DO MEIO GRANDE E OS VIZINHOS MENORES DOS LADOS; A POSIÇÃO VEM DO data-posicao (home.js).
   ============================================================= */
.servicos {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

/* .container p-0 DO SITE ANTIGO: AS LARGURAS DO BOOTSTRAP, SEM RECUO */
.servicos__container {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .servicos__container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .servicos__container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .servicos__container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .servicos__container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .servicos__container {
        max-width: 1400px;
    }
}

.servicos__moldura {
    position: relative;
    width: 100%;
    padding: 0 40px;
    overflow: hidden;
}

.servicos__janela {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 500px;
    padding: 40px 0;
    overflow: hidden;
}

/* SEM NADA NO FLUXO A TRILHA FICA COM LARGURA ZERO NO MEIO DA JANELA: O left: 50% DOS CARTÕES É O CENTRO. */
.servicos__trilha {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    height: 400px;
}

.servicos__item {
    position: absolute;
    bottom: 0;
    left: 50%;
    flex-shrink: 0;
    transition: all .6s cubic-bezier(.25, .46, .45, .94);
    will-change: transform, opacity, width, height;
}

.servicos__item[data-posicao="0"] {
    z-index: 5;
    width: 800px;
    height: 400px;
    opacity: 1;
    transform: translateX(-50%);
}

.servicos__item[data-posicao="-1"],
.servicos__item[data-posicao="1"] {
    z-index: 2;
    width: 280px;
    height: 290px;
    opacity: .7;
    filter: blur(.5px);
}

.servicos__item[data-posicao="-1"] {
    transform: translateX(calc(-50% - 580px));
}

.servicos__item[data-posicao="1"] {
    transform: translateX(calc(-50% + 580px));
}

.servicos__item[data-posicao="-2"],
.servicos__item[data-posicao="2"] {
    z-index: 1;
    width: 200px;
    height: 250px;
    opacity: .5;
    filter: blur(1px);
}

.servicos__item[data-posicao="-2"] {
    transform: translateX(calc(-50% - 850px));
}

.servicos__item[data-posicao="2"] {
    transform: translateX(calc(-50% + 850px));
}

.servicos__cartao {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #4a5568;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
    cursor: pointer;
    transition: all .4s ease;
}

.servicos__cartao img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.servicos__cartao:hover img {
    transform: scale(1.05);
}

/* O TOM ROSA E O TEXTO SÓ NO CARTÃO DO MEIO */
.servicos__sobreposicao {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 60px;
    background: linear-gradient(90deg, rgba(255, 0, 144, .55) 0%, rgba(255, 0, 144, .3) 60%, transparent 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.servicos__item[data-posicao="0"] .servicos__sobreposicao {
    opacity: 1;
    pointer-events: auto;
}

.servicos__conteudo {
    max-width: 450px;
    color: #fff;
    opacity: 0;
    transform: translateX(-20px);
    transition: all .5s ease .2s;
}

.servicos__item[data-posicao="0"] .servicos__conteudo {
    opacity: 1;
    transform: translateX(0);
}

.servicos__titulo {
    margin: 0 0 25px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.servicos__botao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
    color: #cc0033;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.servicos__botao:hover {
    background: transparent;
    color: #fff;
    transform: translateX(5px);
}

.servicos__botao::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform .3s ease;
}

.servicos__botao:hover::after {
    transform: translateX(5px);
}

.servicos__seta {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    background: rgba(255, 0, 144, .15);
    border: 2px solid rgba(255, 0, 144, .3);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--cor-site-1);
    font-family: inherit;
    font-size: 32px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: all .3s ease;
}

.servicos__seta:hover {
    background: rgba(255, 0, 144, .25);
    border-color: rgba(255, 0, 144, .5);
    transform: translateY(-50%) scale(1.1);
}

.servicos__seta:active {
    transform: translateY(-50%) scale(.95);
}

.servicos__seta--ant {
    left: 10px;
}

.servicos__seta--prox {
    right: 10px;
}

/* NO SITE ANTIGO A FILA DE BOLINHAS HERDAVA O .carousel-indicators DO BOOTSTRAP: FICA PRESA NO PÉ DA SEÇÃO, 50PX
   ACIMA DO FIM, POR CIMA DO RESPIRO DA JANELA. */
.servicos__pontos {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 15% 50px;
}

.servicos__ponto {
    width: 12px;
    height: 12px;
    padding: 0;
    background: rgba(255, 0, 144, .3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all .4s ease;
}

.servicos__ponto.ativo {
    width: 40px;
    background: var(--cor-site-1);
    border-radius: 6px;
}

@media (max-width: 1200px) {
    .servicos__item[data-posicao="0"] {
        width: 600px;
        height: 380px;
    }

    .servicos__item[data-posicao="-1"],
    .servicos__item[data-posicao="1"] {
        width: 220px;
        height: 300px;
    }

    .servicos__item[data-posicao="-2"],
    .servicos__item[data-posicao="2"] {
        width: 170px;
        height: 260px;
    }

    .servicos__item[data-posicao="-1"] {
        transform: translateX(calc(-50% - 450px));
    }

    .servicos__item[data-posicao="1"] {
        transform: translateX(calc(-50% + 450px));
    }

    .servicos__item[data-posicao="-2"] {
        transform: translateX(calc(-50% - 700px));
    }

    .servicos__item[data-posicao="2"] {
        transform: translateX(calc(-50% + 700px));
    }

    .servicos__titulo {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .servicos__moldura {
        padding: 0;
    }

    .servicos__item[data-posicao="0"] {
        width: 500px;
        max-width: calc(100vw - 50px);
        height: 400px;
    }

    .servicos__item[data-posicao="-1"],
    .servicos__item[data-posicao="1"] {
        width: 140px;
        height: 280px;
    }

    .servicos__item[data-posicao="-2"],
    .servicos__item[data-posicao="2"] {
        width: 100px;
        height: 220px;
    }

    .servicos__item[data-posicao="-1"] {
        transform: translateX(calc(-50% - 350px));
    }

    .servicos__item[data-posicao="1"] {
        transform: translateX(calc(-50% + 350px));
    }

    .servicos__item[data-posicao="-2"] {
        transform: translateX(calc(-50% - 500px));
    }

    .servicos__item[data-posicao="2"] {
        transform: translateX(calc(-50% + 500px));
    }

    .servicos__titulo {
        font-size: 1.6rem;
    }

    .servicos__sobreposicao {
        padding: 30px;
    }

    .servicos__seta {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .servicos__item,
    .servicos__conteudo {
        transition: none;
    }
}

/* =============================================================
   DEPOIMENTOS DO PAINEL (CARROSSEL DOS DESTAQUES, CARTÃO NO ESTILO DOS SERVIÇOS)
   ============================================================= */
.depoimentos {
    padding: 60px 0;
}

/* CARTÕES DA MESMA ALTURA MESMO COM TEXTOS DE TAMANHOS DIFERENTES. */
.depoimentos .carrossel__trilha {
    align-items: stretch;
}

.depoimento-item,
.feed-item {
    display: flex;
    flex: 0 0 calc(100% / 3);
    min-width: 0;
    padding: 12px;
}

.depoimento {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 28px 24px;
    background: #fff;
    border: .5px solid #dde6f0;
    border-radius: 16px;
}

.depoimento__nota {
    display: flex;
    gap: 2px;
    color: #d1d5db;
    font-size: 18px;
    line-height: 1;
}

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

.depoimento__texto {
    flex: 1;
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

.depoimento__quem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.depoimento__foto {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento__foto--inicial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cor-site-1);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.depoimento__dados {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.depoimento__nome {
    color: #252525;
    font-size: 15px;
    font-weight: 700;
}

.depoimento__subtitulo {
    color: #9ca3af;
    font-size: 13px;
}

/* DEPOIMENTO LONGO: 6 LINHAS NO CARTÃO E O "LER DEPOIMENTO COMPLETO" (A MARGEM AUTOMÁTICA MANTÉM A PESSOA EMBAIXO) */
.depoimento__texto--limitado {
    display: -webkit-box;
    flex: 0 0 auto;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
}

.depoimento__ler {
    align-self: flex-start;
    margin: -6px 0 auto;
    padding: 0;
    background: none;
    border: 0;
    color: var(--cor-site-1);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.depoimento__ler:hover {
    color: var(--cor-site-0);
}

/* JANELA DO DEPOIMENTO COMPLETO (ACIMA DO CHAT E DO WHATSAPP) */
.depo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.depo-modal[hidden] {
    display: none;
}

.depo-modal__fundo {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 58, .6);
}

.depo-modal__caixa {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 36px 32px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.depo-modal__fechar {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #f3f6fa;
    border: 0;
    border-radius: 50%;
    color: #4b5563;
    font-size: 22px;
    line-height: 36px;
    cursor: pointer;
}

.depo-modal__fechar:hover {
    background: #e5ecf5;
    color: #252525;
}

.depo-modal__nota {
    margin-bottom: 14px;
}

.depo-modal__texto {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
    white-space: pre-line;
}

.depo-modal__quem {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.depo-modal__nome {
    color: #252525;
    font-size: 16px;
    font-weight: 700;
}

.depo-modal__sub {
    color: #9ca3af;
    font-size: 13px;
}

@media (max-width: 579px) {
    .depo-modal__caixa {
        padding: 32px 20px 22px;
    }
}

/* BOTÃO DOS BLOCOS DO PAINEL ("ENVIE SEU DEPOIMENTO", "VER TODOS OS POSTS"). */
.home-acoes {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.home-botao {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--cor-site-1);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    transition: background-color .3s ease;
}

.home-botao:hover {
    background-color: var(--cor-site-0);
    color: #fff;
}

@media (max-width: 1024px) {
    .depoimento-item,
    .feed-item {
        flex-basis: 50%;
    }
}

@media (max-width: 579px) {
    .depoimento-item,
    .feed-item {
        flex-basis: 100%;
    }
}

/* =============================================================
   BLOG DO PAINEL (3 POSTS MAIS RECENTES, CARTÃO NO ESTILO DOS SERVIÇOS)
   ============================================================= */
.blog-home {
    padding: 60px 0;
}

.blog-home__grade {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-home__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: .5px solid #dde6f0;
    border-radius: 16px;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-home__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.blog-home__foto {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f6fa;
}

.blog-home__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-home__corpo {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 24px;
}

.blog-home__categoria {
    color: var(--cor-site-1);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.blog-home__titulo {
    margin: 0;
    color: #252525;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.blog-home__card:hover .blog-home__titulo {
    color: var(--cor-site-1);
}

.blog-home__resumo {
    flex: 1;
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.blog-home__data {
    color: #9ca3af;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .blog-home__grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 579px) {
    .blog-home__grade {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   FEED DO INSTAGRAM / FACEBOOK DO PAINEL (MESMAS COLUNAS DOS DEPOIMENTOS)
   ============================================================= */
.feed-rede {
    padding: 60px 0;
}

.feed-item__quadro {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: .5px solid #dde6f0;
    border-radius: 16px;
}

.feed-item__instagram {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
    background: #fff;
}

/* CÓDIGO COLADO NO PAINEL (FACEBOOK OU INSTAGRAM SEM ENDEREÇO DO POST): NÃO PASSA DA COLUNA. */
.feed-item__quadro > blockquote,
.feed-item__quadro > iframe,
.feed-item__quadro .fb-post {
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
}

/* =============================================================
   ÍNDICES DO PAINEL (INCC, IGP-M, CUB): CARTÕES CENTRALIZADOS, SEM ESTICAR QUANDO SÃO POUCOS
   ============================================================= */
.indices-home {
    padding: 60px 0;
}

.indices-home__grade {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: center;
    gap: 24px;
}

.indice-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 24px;
    background: #fff;
    border: .5px solid #dde6f0;
    border-radius: 16px;
}

.indice-card__topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.indice-card__sigla {
    color: var(--cor-site-1);
    font-size: 22px;
    font-weight: 800;
}

.indice-card__ref {
    padding: 4px 10px;
    background: #f0f5ff;
    border-radius: 999px;
    color: var(--cor-site-1);
    font-size: 12px;
    font-weight: 600;
}

.indice-card__descricao {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.indice-card__principal {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* O ÍCONE TEM A LARGURA EM em NO PRÓPRIO SVG: O TAMANHO VEM DO font-size. */
.indice-card__seta {
    flex-shrink: 0;
    font-size: 22px;
}

.indice-card--alta .indice-card__seta {
    color: #16a34a;
}

.indice-card--baixa .indice-card__seta {
    color: #dc2626;
    transform: rotate(180deg);
}

.indice-card__valor {
    color: #252525;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.indice-card__rotulo {
    color: #9ca3af;
    font-size: 14px;
}

.indice-card__tabela {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.indice-card__tabela div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.indice-card__tabela dt {
    color: #6b7280;
}

.indice-card__tabela dd {
    margin: 0;
    color: #252525;
    font-weight: 700;
}

.indice-card__fonte {
    color: #9ca3af;
    font-size: 12px;
}

/* =============================================================
   SLIDERS DO PAINEL (UM POR VEZ, LARGURA DO CONTAINER)
   ============================================================= */
.sliders-home {
    padding: 60px 0;
}

/* 12PX ENTRE UM SLIDER E OUTRO NA TROCA (6PX DE CADA LADO); A JANELA ESTICA 6PX PARA AS IMAGENS SEGUIREM ALINHADAS
   COM AS BORDAS DO CONTEÚDO. */
.slider-item {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 6px;
}

.sliders-home .carrossel__janela {
    margin: 0 -6px;
}

.slider-item a {
    display: block;
}

.slider-item__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* COMPUTADOR (A PARTIR DE 768PX) E CELULAR TÊM SLIDERS PRÓPRIOS: UM CARROSSEL PARA CADA, SÓ O DA TELA APARECE */
.sliders-home__grupo--mobile {
    display: none;
}

/* SETAS DOS SLIDERS SEMPRE VISÍVEIS E PARADAS POR DENTRO DA IMAGEM (NOS OUTROS CARROSSÉIS ELAS SÓ APARECEM NO HOVER
   E, EM TELA LARGA, SALTAM PARA FORA) */
.sliders-home .carrossel__seta {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1350px) {
    .sliders-home .carrossel:hover .carrossel__seta--ant {
        left: 15px;
    }

    .sliders-home .carrossel:hover .carrossel__seta--prox {
        right: 15px;
    }
}

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

    .sliders-home__grupo--mobile {
        display: block;
    }

    /* NO CELULAR NÃO HÁ "PASSAR O MOUSE": AS SETAS DOS SLIDERS FICAM SEMPRE VISÍVEIS (OS DESTAQUES SEGUEM SÓ COM BOLINHAS) */
    .sliders-home .carrossel__seta {
        display: block;
        width: 40px;
        height: 40px;
        font-size: 16px;
        line-height: 38px;
        opacity: 1;
        visibility: visible;
    }

    .sliders-home .carrossel__seta--ant {
        left: 10px;
    }

    .sliders-home .carrossel__seta--prox {
        right: 10px;
    }
}

/* =============================================================
   NÚMEROS DO RODAPÉ SÓ NA HOME: NO SITE ANTIGO O home.css (CARREGADO DEPOIS DO style.css) TINHA .stat-item,
   .stat-number E .stat-label DE OUTRA SEÇÃO, QUE PEGAVAM NOS NÚMEROS DO RODAPÉ. MESMO NO CELULAR O NÚMERO FICA 1.4REM.
   ============================================================= */
.rodape__numero {
    gap: 15px;
}

.rodape__numero-valor {
    font-size: 1.4rem;
}

.rodape__numero-rotulo {
    margin-top: 3px;
    font-size: .8rem;
}
