/* Seção de Serviços */
.services-section {
    background-color: #282831;
    /*padding: 80px 0;*/
    min-height: 100vh;
    display: flex;
    align-items: center;
    /*height: 10px;*/
}

.services-container {
    max-width: 1200px;
    /*max-height: 200px;*/
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Cabeçalho da seção */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    color: #9b59b6;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.services-subtitle {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Grid de cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Card individual */
.service-card {
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 40px 30px 30px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 400px;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: #9b59b6;
}

/* Ícone do card */
.card-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.icon-img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1); /* Torna os ícones brancos */
}

/* Conteúdo do card */
.card-content {
    flex-grow: 1;
    margin-bottom: 30px;
}

.card-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.card-description {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Rodapé do card */
.card-footer {
    margin-top: auto;
}

.card-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.card-btn:hover {
    background-color: #9b59b6;
    border-color: #9b59b6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.card-btn:active {
    transform: translateY(0);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-header {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsividade */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 25px 25px 25px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-container {
        padding: 0 15px;
    }
    
    .services-header {
        margin-bottom: 40px;
    }
    
    .services-title {
        font-size: 36px;
    }
    
    .services-subtitle {
        font-size: 18px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px 20px 20px;
        max-width: 100%;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .card-description {
        font-size: 15px;
    }
    
    .icon-img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 32px;
    }
    
    .services-subtitle {
        font-size: 16px;
    }
    
    .service-card {
        padding: 25px 15px 15px 15px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .card-btn {
        padding: 10px 25px;
        font-size: 15px;
    }
    
    .icon-img {
        width: 45px;
        height: 45px;
    }
}

