/* ========================================
   SEÇÃO DESTAQUE
======================================== */

.secao-destaque {
    position: relative;
    z-index: 8;

    margin-top: -70px;

    padding: 130px 0 110px;

    min-height: 750px;

    background: #000;

    overflow: hidden;

    clip-path: polygon(
        0 4%,
        8% 1%,
        17% 5%,
        27% 2%,
        37% 4%,
        48% 1%,
        59% 5%,
        69% 2%,
        80% 4%,
        90% 1%,
        100% 4%,
        100% 100%,
        0 100%
    );
}

.secao-destaque::before {
    content: "";

    position: absolute;
    inset: 0;

    width: 150%;
    height: 100%;

    background-image: url("../images/section_4/bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    opacity: 0.28;

    z-index: 0;
    pointer-events: none;
}

/* ========================================
   CONTEÚDO
======================================== */

.secao-destaque-content {
    position: relative;
    z-index: 2;

    width: min(1450px, 88%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

/* ========================================
   IMAGENS
======================================== */

.secao-destaque-image {
    display: flex;
    align-items: center;
}

.secao-destaque-image-left {
    justify-content: flex-start;
}

.secao-destaque-image-right {
    justify-content: flex-end;
    transform: translateX(-90px);
}

.secao-destaque-image img {
    display: block;

    width: 100%;
    height: auto;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Efeito ao passar o mouse */

.secao-destaque-image:hover img {
    transform: translateY(-8px) scale(1.015);
}


/* ========================================
   TAMANHOS DOS SVGs
======================================== */

.secao-destaque-image-left img {
    max-width: 520px;
}

.secao-destaque-image-right img {
    max-width: 550px;
}


/* ========================================
   BLOCO DA DIREITA
======================================== */

.secao-destaque-right {
    display: flex;
    flex-direction: column;

    align-items: flex-end;
}


/* ========================================
   TEXTO
======================================== */

.secao-destaque-text {
    width: 100%;
    max-width: 620px;

    margin-top: 25px;

    color: #fff;

    text-align: left;
}

.secao-destaque-text h2 {
    margin: 0 0 20px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(55px, 6vw, 95px);
    font-weight: 900;
    font-style: italic;

    line-height: 0.85;

    text-transform: uppercase;
}

.secao-destaque-text p {
    max-width: 560px;

    margin: 0;

    font-family: "Barlow", sans-serif;
    font-size: 18px;
    font-weight: 400;

    line-height: 1.45;
}


/* CELULAR */

/* ========================================
   SEÇÃO DESTAQUE — MOBILE
======================================== */

@media (max-width: 800px) {

    .secao-destaque-content {
        width: 88%;

        display: flex;
        flex-direction: column;

        align-items: center;
        gap: 25px;
    }

    /* TITLE PRIMEIRO */

    .secao-destaque-right {
        display: contents;
    }

    .secao-destaque-image-right {
        order: 1;

        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        transform: translateX(0);
    }

    .secao-destaque-image-right img {
        width: 98%;
        max-width: 580px;
    }


    /* TEXTO SEGUNDO */

    .secao-destaque-text {
        order: 2;

        width: 100%;
        max-width: 600px;

        margin-top: 0;

        text-align: center;
    }

    .secao-destaque-text p {
        margin: 0 auto;

        text-align: center;

        font-size: 16px;
        line-height: 1.45;
    }


    /* MAPA POR ÚLTIMO */

    .secao-destaque-image-left {
        order: 3;

        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .secao-destaque-image-left img {
        width: 95%;
        max-width: 560px;
    }

}
