/* ==========================================================
   CONHEÇA O TERRITÓRIO
========================================================== */

.territorio {

    padding: 7rem 0;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f7f9f8 100%
    );

}


.territorio .section-header {

    max-width: 760px;

    margin: 0 auto 4rem;

    text-align: center;

}


.territorio .section-header span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: .45rem 1rem;

    border-radius: 999px;

    background: rgba(24, 110, 73, .08);

    color: var(--cor-primaria);

    font-size: .9rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;

}


.territorio .section-header h2 {

    margin-top: 1rem;

    font-size: clamp(2rem, 3vw, 3rem);

    color: var(--cor-texto);

    line-height: 1.2;

}


.territorio .section-header p {

    margin-top: 1.25rem;

    font-size: 1.05rem;

    color: var(--cor-texto-secundario);

    line-height: 1.8;

}



/* ==========================================================
   GRID
========================================================== */

.territorio-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

}



/* ==========================================================
   CARD
========================================================== */

.territorio-card {

    overflow: hidden;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:

        0 12px 35px rgba(0,0,0,.06);

    transition:

        transform .35s ease,

        box-shadow .35s ease;

}


.territorio-card:hover {

    transform: translateY(-8px);

    box-shadow:

        0 20px 45px rgba(0,0,0,.12);

}



/* ==========================================================
   IMAGENS
========================================================== */

.territorio-imagem {

    position: relative;

    height: 280px;

    overflow: hidden;

}


.territorio-imagem img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:

        transform .7s ease;

}


.territorio-card:hover img {

    transform: scale(1.05);

}


.imagem-secundaria {

    position: absolute;

    right: 1rem;

    bottom: 1rem;

    width: 110px !important;

    height: 110px !important;

    border-radius: 18px;

    border: 4px solid #ffffff;

    box-shadow:

        0 10px 25px rgba(0,0,0,.20);

}



/* ==========================================================
   CONTEÚDO
========================================================== */

.territorio-conteudo {

    padding: 2rem;

}


.territorio-conteudo h3 {

    margin-bottom: 1rem;

    font-size: 1.6rem;

    color: var(--cor-texto);

}


.territorio-conteudo p {

    color: var(--cor-texto-secundario);

    line-height: 1.8;

    margin-bottom: 2rem;

}


.territorio-conteudo a {

    display: inline-flex;

    align-items: center;

    gap: .5rem;

    color: var(--cor-primaria);

    font-weight: 700;

    text-decoration: none;

    transition: .25s;

}


.territorio-conteudo a:hover {

    gap: .9rem;

    color: var(--cor-secundaria);

}



/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 1100px) {

    .territorio-grid {

        grid-template-columns: 1fr;

        gap: 2.5rem;

    }

}


@media (max-width: 768px) {

    .territorio {

        padding: 5rem 0;

    }

    .territorio-imagem {

        height: 240px;

    }

    .imagem-secundaria {

        width: 90px !important;

        height: 90px !important;

        border-width: 3px;

    }

    .territorio-conteudo {

        padding: 1.6rem;

    }

}