/* Como Funciona - Estilos Específicos */

/* Hero Section */
.processo-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.processo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

/* Processo Visual */
.processo-visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.processo-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-white), transparent);
    transform: translateY(-50%);
    z-index: 1;
}

.etapa {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.etapa:hover {
    transform: translateY(-10px);
}

.etapa-icon {
    width: 80px;
    height: 80px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.etapa-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.etapa:hover .etapa-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.etapa:hover .etapa-icon i {
    color: var(--text-white);
}

.etapa span {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Processo Section */
.processo-section {
    background: var(--bg-light);
}

.processo-timeline {
    position: relative;
}

.processo-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.processo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.processo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.processo-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.processo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.processo-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.processo-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.processo-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.processo-details li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.processo-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Valores Section */
.valores-section {
    background: var(--text-white);
}

.valor-card {
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.valor-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.valor-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.valor-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.valor-header {
    text-align: center;
    margin-bottom: 2rem;
}

.valor-header h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.valor-preco {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.valor-preco .moeda {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.valor-preco .valor {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.valor-preco .periodo {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.valor-features {
    margin-bottom: 2rem;
}

.valor-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.valor-features li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.valor-features i {
    color: var(--primary-color);
    font-weight: bold;
}

.valor-info {
    background: var(--text-white);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.valor-info p {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

/* Pagamento Section */
.pagamento-section {
    background: var(--bg-light);
}

.pagamento-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.pagamento-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pagamento-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pagamento-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.pagamento-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pagamento-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pagamento-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pagamento-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pagamento-item:last-child {
    border-bottom: none;
}

.pagamento-item .label {
    color: var(--text-muted);
    font-weight: 500;
}

.pagamento-item .value {
    color: var(--text-dark);
    font-weight: 600;
}

.pagamento-item .value.highlight {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    background: var(--text-white);
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-light);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--text-white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: var(--text-white);
    padding: 1.5rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .processo-visual {
        flex-direction: column;
        gap: 2rem;
    }
    
    .processo-visual::before {
        display: none;
    }
    
    .valor-card.featured {
        transform: none;
    }
    
    .valor-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .processo-card,
    .valor-card,
    .pagamento-card {
        margin-bottom: 1rem;
    }
    
    .valor-preco .valor {
        font-size: 2.5rem;
    }
    
    .etapa-icon {
        width: 60px;
        height: 60px;
    }
    
    .etapa-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .processo-visual {
        padding: 1rem;
    }
    
    .etapa-icon {
        width: 50px;
        height: 50px;
    }
    
    .etapa-icon i {
        font-size: 1.2rem;
    }
    
    .etapa span {
        font-size: 0.8rem;
    }
}

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

.processo-card {
    animation: slideInUp 0.6s ease-out;
}

.processo-card:nth-child(1) { animation-delay: 0.1s; }
.processo-card:nth-child(2) { animation-delay: 0.2s; }
.processo-card:nth-child(3) { animation-delay: 0.3s; }
.processo-card:nth-child(4) { animation-delay: 0.4s; }

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

.valor-card.featured {
    animation: pulse 2s ease-in-out infinite;
}

/* Melhorias de acessibilidade */
.processo-card:focus-within,
.valor-card:focus-within,
.pagamento-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Estados de loading */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 