/* Seção de Serviços */
.services {
    padding: var(--spacing-section);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.services__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.services__header {
    text-align: center;
}

.services__title {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.services__subtitle {
    color: #666;
    font-size: 1.2rem;
    margin: 0 auto;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service__card {
    background: var(--text-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    flex-direction: column;
}

.service__image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service__content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service__icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.service__title {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.service__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.service__description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Efeitos de Hover */
.service__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.service__card:hover .service__image {
    transform: scale(1.05);
}

.service__card:hover .service__title::after {
    width: 60px;
}

/* Responsividade */
@media (max-width: 768px) {
    .services__title {
        font-size: 2rem;
    }

    .services__subtitle {
        font-size: 1.1rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}