.servicos {
    background: url(/img/fundo-servicos.webp) no-repeat center center;
    background-size: cover;
    padding: 60px 10px;
}
.servicos-grid {
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
}
.img2 {
    grid-column: 1/3;
    display: grid;
    justify-items: center;
    position: relative;
    z-index: 4;
}
.img1 {
    position: relative;
    top: 50px;
    z-index: 0;
}
.servicos-title h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2.5rem;
    letter-spacing: 3px;
    font-weight: 700;
}
.servicos-title > span {
    display: block;
    height: 1px;
    width: 100%;
    background-color: #fff;
    margin-top: 15px;
    margin-bottom: 30px;
}
.servicos-title p {
    font-size: 1.625rem;
    max-width: 450px;
}

.servicos-title h4 {
    font-size: 1.5625rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
}

.link-servico {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 20px;
}
.link-servico a {
    flex: 1;
    max-width: fit-content;
    min-width: fit-content;
    font-weight: 700;
    border-radius: 10px;
    background-color: #FECB00;
    padding: 4px 15px;
}
.link-servico a:hover {
    background-color: #fecb0000;
    color: #fff;
    box-shadow: 0px 0px 0px 1px #FECB00 inset;
}

.servicos > p {
    margin-top: 40px;
    font-size: 1.625rem;
    color: #F4F6FA;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.servicos > p > a {
    color: #FECB00;
    text-decoration: underline;
}
.servicos > p > a:hover {
    color: #F4F6FA;
}

@media only screen and (max-width:585px) {
    .servicos > p {
        font-size: 1.2rem;
        display: grid;
        justify-items: center;
        text-align: center;
        gap: 0px;
    }
}

@media only screen and (min-width:460px) and (max-width:870px) {

    .servicos-grid {
        color: #fff;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 20px;
    }
    .servicos-grid > div {
        display: grid;
        justify-items: center;
        text-align: center;
    }
    .img2 {
        grid-column: 1;
        display: grid;
        justify-items: center;
        position: relative;
        z-index: 4;
    }
    .img1 {
        position: relative;
        top: 0px;
        z-index: 0;
    }
    
}

@media only screen and (min-width:0px) and (max-width:459px) {

    .servicos-grid {
        color: #fff;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 20px;
    }
    .servicos-grid > div {
        display: grid;
        justify-items: center;
        text-align: center;
    }
    .img2 {
        grid-column: 1;
        display: grid;
        justify-items: center;
        position: relative;
        z-index: 4;
    }
    .img1 {
        position: relative;
        top: 0px;
        z-index: 0;
    }

    .servicos-title h3 {
        font-size: 2.2rem;
    }

    .servicos-title p {
        font-size: 1.25rem;
        max-width: 450px;
    }

    .servicos-title h4 {
        font-size: 1.3rem;
    }
    .servicos-title a {
        font-size: 1.3rem;
        padding: 6px 15px;
    }
    
}