/* FUNDO IGUAL AO HERO */
.services-hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding-top: 160px;
}

/* GRADIENTE ORIGINAL POR CIMA DA IMAGEM DO BODY */
.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #F72585cc, #9D4EDDcc, #4361EEcc);
    z-index: 0;
}

/* LINHAS TECNICAS ANIMADAS */
.tech-lines {
    position: absolute;
    inset: 0;
    background-image: url('/images/lines-tech.png');
    background-size: 200% 200%;
    opacity: 0.22;
    animation: moveLines 14s linear infinite;
    z-index: 1;
}

@keyframes moveLines {
    0% { background-position: 0 0; }
    100% { background-position: -200% 0; }
}

/* CONTEÚDO SEMPRE POR CIMA DO FUNDO */
.services-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
}

/* TÍTULO AJUSTADO PRA CIMA */
.services-title-hero {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 10px;
}

.services-subtitle-hero {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 50px;
}

/* GRID 4 ITENS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 85%;
    max-width: 1300px;
    margin: auto;
}

/* CARD PEQUENO */
.service-card {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.4;
}

/* MOBILE */
@media (max-width: 768px) {

    .services-title-hero {
        font-size: 36px;
    }

    .services-subtitle-hero {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 25px;
    }
}
