*{
    margin: 0;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0caff7;
}

.servicos {
    background-color: black;
    position: relative;
    text-align: center;
    padding: 80px 20px;
    min-height: 3500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px auto 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 1500px;
    margin-top: 150px;
}

.servicos-overlay {
    background-color: black;
    padding: 60px;
    border-radius: 10px;
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    color: #333;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.titulo-servicos-com-linhas {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    max-width: 1200px;
}

.titulo-servicos-com-linhas h2 {
    font-size: 2.2em;
    color: #0caff7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin: 0 30px;
    white-space: nowrap;
    letter-spacing: 2px;
    font-weight: bold;
}

.linha-separadora-servicos {
    display: block;
    flex-grow: 1;
    height: 2px;
    background-color: #0caff7;
    max-width: 1000px;
    min-width: 50px;
}

.lista-de-servicos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
}

.servicos-item {
    background-color: #0caff7;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(30px);
}

.servicos-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.servicos-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.servicos-item img {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.servicos-item h3 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 600;
}

.servicos-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

.btn-solicitar-orcamento {
    display: inline-block;
    background-color: #0caff7;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-solicitar-orcamento:hover {
    background-color: #098acb;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: black;
}

@media only screen and (max-width: 1600px) {
    .servicos {
        max-width: 1400px;
    }
    .titulo-servicos-com-linhas h2 {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 730px) {

    .servicos {
        width: 100%;
        max-width: 100%;
        margin: 80px auto 0 auto;
        padding: 0;
        min-height: auto;
        border-radius: 10px;
        box-shadow: none;
        margin-top: 170px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
    }

    .servicos-overlay {
        position: relative;
        width: 90%;
        margin: 0 auto;
        padding: 30px 15px;
        box-shadow: none;
        background-color: black;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        min-height: auto;
        margin-left: 2%;
    }

    .titulo-servicos-com-linhas {
        flex-direction: column;
        margin-bottom: 30px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .titulo-servicos-com-linhas h2 {
        font-size: 1.8em;
        margin: 10px 0;
        text-align: center;
        white-space: normal;
    }

    .linha-separadora-servicos {
        display: none;
    }

    .lista-de-servicos {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
        width: 100%;
        max-width: none;
        justify-items: center;
    }

    .servicos-item {
        padding: 20px;
        width: 100%;
        max-width: 350px;
        margin-bottom: 0;
    }

    .servicos-item img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .servicos-item h3 {
        font-size: 1.2em;
    }

    .servicos-item p {
        font-size: 0.85em;
        line-height: 1.5;
    }

    .btn-solicitar-orcamento {
        padding: 15px 30px;
        font-size: 1em;
        margin-top: 30px;
        width: auto;
        max-width: 100%;
        margin-bottom: 20px;
    }
}