

/* =========================================================
   SEÇÃO REDE
========================================================= */

.rede {
    position: relative;

    width: 100%;

    min-height: 800px;

    overflow: hidden;

    background: #f7f8f9;
}


/* =========================================================
   FUNDO TECNOLÓGICO
========================================================= */

.rede__background {
    position: absolute;

    inset: 0;

    z-index: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(247, 248, 249, 0.15) 0%,
            rgba(247, 248, 249, 0.10) 40%,
            rgba(247, 248, 249, 0.35) 100%
        ),
        url("../../assets/images/redes/bkg-redes.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    opacity: 0.9;
}


/* =========================================================
   CONTAINER
========================================================= */

.rede__container {
    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 1600px;

    min-height: 700px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 58% 42%;

    align-items: center;
}


/* =========================================================
   MAPA
========================================================= */

.rede__map {
    position: relative;

    height: 100%;

    min-height: 700px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/*
    Imagem do mapa
*/

.rede__map-image {
    display: block;

    width: 100%;

    max-width: 1000px;

    height: auto;

    object-fit: contain;

    object-position: center;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.rede__content {
    width: 100%;

    max-width: 520px;

    padding: 40px 50px 40px 20px;
}


/* =========================================================
   TÍTULO
========================================================= */

.rede__title {
    margin-bottom: 35px;

    color: #11858d;

    font-size: clamp(42px, 4vw, 58px);

    line-height: 1;

    font-weight: 700;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.rede__description {
    max-width: 500px;

    margin-bottom: 30px;

    color: #292929;

    font-size: clamp(21px, 1.65vw, 28px);

    line-height: 1.15;

    font-weight: 400;
}


/* =========================================================
   BOTÃO
========================================================= */

.rede__button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 8px 22px;

    border-radius: 30px;

    background: #198e94;

    color: #fff;

    font-size: 21px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.rede__button:hover {
    background: #10777d;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(17, 133, 141, 0.25);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .rede {
        min-height: 600px;
    }

    .rede__container {
        grid-template-columns: 55% 45%;

        min-height: 600px;
    }

    .rede__map {
        min-height: 600px;
    }

    .rede__content {
        padding: 40px 30px 40px 10px;
    }

    .rede__title {
        font-size: 44px;

        margin-bottom: 25px;
    }

    .rede__description {
        font-size: 20px;
    }

    .rede__button {
        font-size: 18px;
    }
}


/* =========================================================
   TABLET PEQUENO
========================================================= */

@media (max-width: 850px) {

    .rede {
        min-height: auto;
    }

    .rede__container {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .rede__map {
        min-height: auto;

        height: auto;

        padding: 30px 20px 0;
    }

    .rede__map-image {
        width: 100%;

        max-width: 800px;
    }

    .rede__content {
        max-width: 700px;

        margin: 0 auto;

        padding: 45px 30px 60px;

        text-align: center;
    }

    .rede__title {
        margin-bottom: 25px;
    }

    .rede__description {
        margin-left: auto;
        margin-right: auto;

        font-size: 21px;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .rede__map {
        padding: 20px 10px 0;
    }

    .rede__content {
        padding: 35px 25px 50px;
    }

    .rede__title {
        font-size: 38px;

        margin-bottom: 22px;
    }

    .rede__description {
        font-size: 18px;

        line-height: 1.25;
    }

    .rede__button {
        min-height: 43px;

        padding: 8px 20px;

        font-size: 17px;
    }
}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media (max-width: 400px) {

    .rede__title {
        font-size: 34px;
    }

    .rede__description {
        font-size: 17px;
    }
}