/* ========================================
   RPA - ESTILOS ESPECÍFICOS
======================================== */

/* Hero Section */
.hero-rpa {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url('images/hero_rpa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-rpa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(1px);
}

.hero-rpa .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-rpa h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-rpa p {
    font-size: 1.3rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Intro Section */
.intro-section {
    padding: 8rem 0;
    background: #f8f7ff;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(124,58,237,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124,58,237,0.10) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(124,58,237,0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(124,58,237,0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 60%, rgba(124,58,237,0.05) 0%, transparent 50%),
        radial-gradient(circle at 10% 30%, rgba(124,58,237,0.07) 0%, transparent 50%);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, #000000 0%, #1a1a1a 30%, #4a4a4a 60%, #f8f7ff 100%);
}

.intro-section::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 8%;
    width: 300px;
    height: 300px;
    border: 3px solid rgba(124,58,237,0.2);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    box-shadow: 
        200px 80px 0 -40px rgba(124,58,237,0.1),
        -150px 120px 0 -30px rgba(124,58,237,0.08),
        350px -60px 0 -70px rgba(124,58,237,0.12),
        -280px 200px 0 -50px rgba(124,58,237,0.09),
        120px -180px 0 -35px rgba(124,58,237,0.07);
}

.intro-title-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.intro-left h2 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
    margin: 0;
    position: relative;
}

.highlight-rpa {
    position: relative;
}

.highlight-rpa::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #7c3aed;
}

.intro-right {
    position: relative;
}

.intro-content-section {
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.intro-image-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

.intro-text p {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.intro-bottom {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 2;
}

.intro-column h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1.5rem;
    line-height: 1.3;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}



.capabilities-list li {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1rem;
    padding-left: 0;
    position: relative;
    line-height: 1.6;
}

/* Discovery Section */
.discovery-section {
    padding: 8rem 0;
    background: #f8f7ff;
}

.discovery-section h2 {
    font-size: 2.75rem;
    font-weight: 300;
    color: #1e293b;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.4;
}

.discovery-steps {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    border-left: 4px solid #7c3aed;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: #7c3aed;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}

.steps-list h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.steps-list p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.discovery-highlight {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #7c3aed;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.discovery-highlight p {
    margin: 0;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

/* Desenvolvimento Section */
.desenvolvimento-section {
    padding: 8rem 0;
    background: #f1f5f9;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(124,58,237,0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(124,58,237,0.10) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124,58,237,0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(124,58,237,0.06) 0%, transparent 50%),
        radial-gradient(circle at 15% 15%, rgba(124,58,237,0.05) 0%, transparent 50%),
        radial-gradient(circle at 65% 85%, rgba(124,58,237,0.07) 0%, transparent 50%);
    position: relative;
}

.desenvolvimento-section::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 250px;
    height: 250px;
    border: 3px solid rgba(124,58,237,0.2);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    box-shadow: 
        -180px 100px 0 -40px rgba(124,58,237,0.1),
        120px -80px 0 -25px rgba(124,58,237,0.08),
        -350px -40px 0 -60px rgba(124,58,237,0.12),
        280px 180px 0 -50px rgba(124,58,237,0.09),
        -80px -160px 0 -30px rgba(124,58,237,0.07);
}

.desenvolvimento-section h2 {
    font-size: 2.75rem;
    font-weight: 300;
    color: #1e293b;
    margin-bottom: 4rem;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.desenvolvimento-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.dev-card {
    background: rgba(124,58,237,0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #7c3aed;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1;
    max-width: 350px;
}

.dev-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.dev-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 2 !important;
    margin: 0;
}

.dev-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.dev-note p {
    font-size: 1rem;
    color: #475569;
    font-style: italic;
    margin: 0;
}

/* Aplicações Section */
.aplicacoes-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fdf2f8 100%);
}

.aplicacoes-section h2 {
    font-size: 2.75rem;
    font-weight: 300;
    color: #1e293b;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.4;
}

/* Aplicações Completas */
.aplicacoes-completas {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.aplicacao-completa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.resultado-item {
    text-align: center;
}

.numero-grande {
    font-size: 3.5rem;
    font-weight: 700;
    color: #7c3aed;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.resultado-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.resultado-desc {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

.detalhe-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 300px;
    flex: 1;
}

.detalhe-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.detalhe-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.aplicacao-area {
    display: inline-block;
    background: #7c3aed;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* CTA Final */
.cta-final {
    padding: 8rem 0;
    background: #1e293b;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: 2.75rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-final p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e2e8f0;
    line-height: 1.6;
}

.cta-button {
    background: #7c3aed;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(124,58,237,0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(124,58,237,0.4);
}

/* Nav Active State */
.nav-menu a.active {
    color: #7c3aed;
}

.nav-menu a.active::after {
    width: 100%;
    background: #7c3aed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .desenvolvimento-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-rpa h1 {
        font-size: 2.5rem;
    }
    
    .hero-rpa p {
        font-size: 1.1rem;
    }
    
    .intro-left h2 {
        font-size: 3rem;
        text-align: center;
    }
    
    .intro-title-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .intro-image-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-bottom {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .desenvolvimento-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .aplicacoes-completas {
        flex-direction: column;
        gap: 2rem;
    }
    
    .aplicacao-completa {
        gap: 1rem;
    }
    
    .numero-grande {
        font-size: 2.8rem;
    }
    
    .detalhe-card {
        max-width: none;
    }
    
    .steps-list li::before {
        left: -1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .cta-final h2 {
        font-size: 2rem;
    }
    
    .cta-final p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-rpa {
        padding: 100px 0 60px;
    }
    
    .hero-rpa h1 {
        font-size: 2rem;
    }
    
    .intro-section,
    .discovery-section,
    .desenvolvimento-section,
    .aplicacoes-section {
        padding: 6rem 0;
    }
    
    .cta-final {
        padding: 6rem 0;
    }
    
    .steps-list li {
        padding: 1.5rem;
        margin-left: 1rem;
    }
}