/* Estilo do Banner de Título */
.page-title-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 8rem 2rem 2rem;
    text-align: center;
}

.page-title-banner h1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    color: var(--white);
    font-size: 2rem;
    text-align: start;
    text-transform: uppercase;
    font-family: var(--font-tenor-sans);
}

/* Seção Principal de Serviços */
.main-services-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
    min-height: 80vh;
}

.container-services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Serviço em Destaque */
.featured-service {
    margin-bottom: 4rem;
}

.featured-service-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    transition: all 0.3s ease;
}

.featured-service-image {
    flex: 1;
    max-width: 500px;
}

.featured-service-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.featured-service-info {
    flex: 1;
    padding-left: 2rem;
}

.featured-service-info h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 600;
    font-family: var(--font-tenor-sans);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-service-info p {
    color: var(--tertiary-color);
    font-size: 1.1rem;
    line-height: 1.7;
    font-family: var(--font-inter);
    text-align: justify;
}

/* Carrossel de Serviços */
.services-carousel {
    background: var(--white);
    padding: 2.5rem;
}

.carousel-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-tenor-sans);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
}

.services-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--light-gray);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card.active {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
    background: var(--white);
}

.service-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.service-card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-tenor-sans);
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
    margin: 0;
    line-height: 1.3;
}

.service-card.active .service-card-title {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-service-content {
    animation: fadeIn 0.6s ease;
}

/* Responsividade */
@media (max-width: 1024px) {
    .container-services {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .featured-service-content {
        gap: 3rem;
        padding: 2.5rem;
    }
    
    .featured-service-info h2 {
        font-size: 2.2rem;
    }
    
    .services-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-carousel {
        padding: 2rem 1rem;
        margin: 0 -1rem;
    }
}

@media (max-width: 768px) {
    .page-title-banner {
        padding: 6rem 1rem 1.5rem;
    }
    
    .page-title-banner h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .main-services-section {
        padding: 2rem 0;
    }
    
    .container-services {
        max-width: 100%;
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    .featured-service-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .featured-service-image {
        max-width: 100%;
    }
    
    .featured-service-image img {
        height: 250px;
    }
    
    .featured-service-info {
        padding-left: 0;
        text-align: center;
    }
    
    .featured-service-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .featured-service-info p {
        font-size: 1rem;
        text-align: justify;
    }
    
    .services-carousel {
        padding: 2rem;
    }
    
    .carousel-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .services-track {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .services-carousel {
        padding: 2rem 0.5rem;
        margin: 0 -0.5rem;
    }
    
    .service-card-image {
        height: 120px;
    }
    
    .service-card-title {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-title-banner h1 {
        font-size: 1.25rem;
    }
    
    .container-services {
        max-width: 100%;
        padding: 0 0.75rem;
        overflow-x: hidden;
    }
    
    .featured-service-content {
        padding: 1.5rem;
    }
    
    .featured-service-info h2 {
        font-size: 1.5rem;
    }
    
    .services-carousel {
        padding: 1.5rem 0.25rem;
        margin: 0 -0.25rem;
    }
    
    .services-track {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .service-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .service-card-image {
        width: 80px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .service-card-title {
        font-size: 0.85rem;
        padding: 0;
        text-align: left;
    }
}