/* SESSÃO Capa */
#Capa {
    background-color: var(--destaque-3);
    margin-top: 90px;
}

#Capa .container-lg {
    position: relative;
    height: 300px;
    padding: 0;
}

#Capa .squareWhite,
#Capa h2 {
    position: absolute;
    transform: translateY(-50%);
}

#Capa .squareWhite {
    height: 150px;
    width: 100px;
    background-color: #fff;
    left: 10vw;
    top: 50%;
}

#Capa h2 {
    top: calc(50% + 16px);
    font-size: 50px;
    font-weight: 600;
    line-height: 43px;
    letter-spacing: -2.365384578704834px;
    color: var(--cinza-600);
    left: calc(10vw + 71px);
}

/* SESSÃO Serviços */
#Servicos {
    margin: 80px 0 200px 0;
}


/* caixinha */
#Servicos h2 {
    margin: 100px 0 150px 0;
}

#Servicos h2 span.boxed {
    position: relative;
    padding: 20px;
    font-weight: 400;
    margin: -18px;
}

#Servicos h2 span.boxed::before,
#Servicos h2 span.boxed::after {
    box-sizing: content-box;
    content: " ";
    position: absolute;
    height: 100%;
    width: 80px;
    top: 0px;
    border-top: 10px solid #33373f;
    border-bottom: 10px solid #33373f;
    transform: translateY(-10px);
}

#Servicos h2 span.boxed::before {
    border-left: 10px solid #33373f;
    left: 0;
    transform: translate(-10px, -10px);
}

#Servicos h2 span.boxed::after {
    border-right: 10px solid #33373f;
    transform: translate(-30px, -10px);
}

@media (max-width: 576px) {

    #Servicos {
        margin: 0 0 200px 0;
    }

    #Servicos h2 span.boxed {
        font-family: Poppins;
        font-size: 22px;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: 1.056654930114746px;
        text-align: center;
    }

    #Servicos h2 span.boxed {
        position: static;
    }

    #Servicos h2 span.boxed::before,
    #Servicos h2 span.boxed::after {
        display: none;
    }

    #Servicos h2 {
        margin: 80px 0;
    }
}

/* END caixinha */

/* #Serviços .row .col:nth-of-type(2) .row:first-of-type  */

#Servicos .row.grid {
    margin: 150px 0;
}

#Servicos h3 {
    position: relative;
    z-index: 10;
    color: var(--cinza-800);
    margin-bottom: 0;
}

#Servicos h3::after {
    content: " ";
    position: absolute;
    z-index: -1;
    background-color: var(--destaque);
    width: 100vw;
    height: 100%;
    top: 0;
}

#Servicos .right h3::after {
    left: -20%;
}

#Servicos .left h3::after {
    right: -20%;
}

@media (max-width: 575px) {

    #Servicos .right h3 {
        padding-right: 20px;
    }

    /* #Servicos .left h3 {
        right: -20%;
    } */

    #Servicos .left h3::after {
        left: -10px;
    }
}

#Servicos a.header {
    text-decoration: none;
}

#Servicos a.header svg {
    opacity: 0;
    transform: translateX(0);
    transition: all 0.5s;
    height: 100%;
    width: auto;
}

#Servicos a.header:hover svg {
    opacity: 1;
    transform: translateX(30px);
    transition: all 0.2s;
}

#Servicos h3,
#Servicos h4 {
    font-size: 30px;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: 0.6866028904914856px;
}

#Servicos .col.img {
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 100;
}

#Servicos .col.text p,
#Servicos .col.text ul {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 35px;
    margin-top: 12px;
}

#Servicos button,
#Servicos a:not(.header) {
    line-height: 28px;
    font-size: 16px;
    width: 263px;
    padding: 5px 0;
    background-color: transparent;
    color: var(--destaque);
    border: none;
    box-shadow: 2px 2px var(--destaque);
    text-transform: uppercase;
    background-position: top left;
    background-size: 100% 100%;
    background-image: linear-gradient(90deg, var(--cinza-800) 0%, var(--cinza-800) 100%);
    background-repeat: no-repeat;
    transition: all 0.6s, box-shadow 0.2s;
    /* transition: all 0.6s, box-shadow 0.2s 0.5s; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
    text-decoration: none;
}

#Servicos button svg,
#Servicos a:not(.header) svg {
    position: relative;
    top: -2px;
    margin: 0 30px 0 4px;
    transition: all 0.1s, margin 0.6s;
}

#Servicos button:hover,
#Servicos a:not(.header):hover {
    background-color: var(--destaque);
    box-shadow: 0px 0px var(--destaque);
    color: var(--cinza-800);
    background-size: 0 0;
    /* transition: all 0.6s 0.1s, box-shadow 0.2s; */
}

#Servicos button:focus,
#Servicos a:not(.header):focus {
    background-color: var(--destaque);
    box-shadow: 0px 0px var(--destaque);
    color: var(--cinza-800);
    background-size: 0 0;
}

#Servicos button:focus svg,
#Servicos a:not(.header):focus svg {
    transition: all 0.1s;
    margin: 0 15px 0 19px;
}

@media (max-width: 991px) {
    #Servicos .col.text .row * {
        padding-left: 0;
    }
}

@media (max-width: 767px) {


    #Servicos .col.text p {
        padding-right: 40px;
        text-align: justify;
    }

    #Servicos button,
    #Servicos a:not(.header) {
        max-width: calc(100% - 40px);
    }

    #Servicos button svg,
    #Servicos a:not(.header) svg {
        position: relative;
        top: -2px;
        margin: 0 17px 0 3px;
        transition: all 0.1s, margin 0.6s;
    }

    #Servicos button:focus svg,
    #Servicos a:not(.header):focus svg {
        transition: all 0.1s;
        margin: 0 3px 0 17px;
    }
}