/* --- SEÇÃO SERVIÇOS --- */
.services {
    padding: 120px 60px;
    background-color: #050505;
    position: relative;
    overflow: hidden; /* Garante que o brilho não vaze da seção */
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: left;
    margin-bottom: 60px;
    max-width: 600px;
}

/* LUZ DE FUNDO DA SEÇÃO (OPCIONAL) */
.services::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* LINHA DE LUZ NO TOPO DO CARD */
.service-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(160, 68, 255, 0.8), transparent);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.services-header h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.services-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* GRID DE CARDS */
.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* CARD INDIVIDUAL (ESTILO GLASS) */
.service-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(112, 0, 255, 0.2);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Brilho externo padrão bem sutil */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(160, 68, 255, 0.6);
    /* O "Brilho" propriamente dito */
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.2), 
                0 0 60px rgba(112, 0, 255, 0.1);
    background: rgba(20, 20, 20, 0.9);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(112, 0, 255, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a044ff;
    /* Glow no ícone */
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
    transition: all 0.4s;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #fff;
}

.service-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--purple-vibrant);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap 0.3s;
}

.service-card:hover .service-icon {
    background: #7000ff;
    color: #fff;
    box-shadow: 0 0 25px rgba(112, 0, 255, 0.6);
}

.service-link:hover {
    text-decoration: underline;
}

/* Scroll Suave para o navegador */
html {
    scroll-behavior: smooth;
}