/*:root {*/
/*    --blue: #1976d2;*/
/*    --blue-dark: #0d47a1;*/
/*    --green: #4caf50;*/
/*    --white: #ffffff;*/
/*    --text-light: #f8fafc;*/
/*    --text-dark: #2c3e50;*/
/*    --shadow-light: rgba(0, 0, 0, 0.08);*/
/*    --shadow-medium: rgba(0, 0, 0, 0.15);*/
/*    --radius: 12px;*/
/*    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);*/
/*}*/

/* ==========================================================================
   ANIMAÇÕES E TRANSIÇÕES
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   SEÇÃO SERVIÇOS APRIMORADA
   ========================================================================== */

#servicos {
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 50%, #e8f5e8 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

#servicos::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.08) 0%, rgba(0, 138, 0, 0.04) 50%, transparent 80%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

#servicos::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 138, 0, 0.06) 0%, rgba(25, 118, 210, 0.03) 60%, transparent 80%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

#servicos h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    cursor: default;
    border: 1px solid rgba(25, 118, 210, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    left: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-medium);
    border-color: rgba(25, 118, 210, 0.3);
}

.service-icon {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-green);
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.2));
}

.service-card:hover i {
    color: var(--primary-blue);
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(25, 118, 210, 0.3));
    animation: pulse 2s infinite;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--blue-dark);
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    opacity: 0.9;
    transition: var(--transition);
}

.service-card:hover p {
    opacity: 1;
    transform: translateY(-2px);
}

.service-highlight {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-card:hover .service-highlight {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 768px) {
    #servicos {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    #servicos h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-card i {
        font-size: 2.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }
}
