/* Estilos específicos para a página Como Funciona */

/* Seção Hero */
.how-it-works-hero {
    background: linear-gradient(135deg, #2868d8, #5D47E2);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.how-it-works-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-dots.svg');
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.1;
}

.how-it-works-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.how-it-works-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: #5CB143;
    color: #fff;
    border: none;
    text-decoration: none;
}

.hero-buttons .btn-primary:hover {
    background-color: #4a9d35;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    text-decoration: none;
}

.hero-buttons .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-image {
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fadeIn.animate-fadeIn {
    opacity: 1;
    transform: translateY(0);
}

/* Seção de Processo */
.process-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2868d8;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #2868d8, #5D47E2);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-connector {
    position: absolute;
    left: 50%;
    top: 250px;
    bottom: 100px;
    width: 4px;
    background-color: #e9ecef;
    transform: translateX(-50%);
    z-index: -1;
}

.process-steps {
    position: relative;
    z-index: 1;
}

.process-step {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    align-items: center;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2868d8, #5D47E2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    font-size: 1.5rem;
    color: #2868d8;
    margin-bottom: 15px;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Seção de Fontes */
.sources-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.source-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.source-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.source-icon {
    font-size: 40px;
    color: #2868d8;
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    background-color: rgba(40, 104, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.source-item h3 {
    color: #2868d8;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.source-item p {
    color: #666;
    line-height: 1.6;
}

/* Seção de Relatório */
.report-section {
    padding: 80px 0;
}

.report-items {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.report-column {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.report-column ul {
    list-style: none;
    padding: 0;
}

.report-column li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.report-column li i {
    color: #5CB143;
    margin-right: 15px;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Seção de Segurança */
.security-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.security-text {
    flex: 1;
}

.security-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.security-image {
    flex: 0 0 400px;
}

.security-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

/* Seção de Depoimentos */
.testimonials {
    background-color: #ffffff;
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: var(--color-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    min-height: 120px;
}

.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 2px;
    color: #FFD700;
}

.testimonial-author {
    font-weight: 700;
    font-size: 16px;
    color: #2868d8;
}

/* Seção de FAQ */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: rgba(40, 104, 216, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #2868d8;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: #2868d8;
}

.faq-toggle {
    color: #2868d8;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(40, 104, 216, 0.1);
    border-radius: 50%;
}

.faq-toggle i {
    font-size: 12px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: #2868d8;
    color: #fff;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 1000px;
}

.faq-answer p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Seção CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2868d8, #5D47E2);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn-primary {
    background-color: #5CB143;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin-right: 20px;
    transition: all 0.3s ease;
    border: none;
}

.cta-content .btn-primary:hover {
    background-color: #4a9937;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-content .btn-secondary {
    background-color: transparent;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.cta-content .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 992px) {
    .how-it-works-hero h1 {
        font-size: 2.5rem;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .security-content {
        flex-direction: column;
    }
    
    .security-image {
        flex: 0 0 100%;
        margin-top: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .report-column {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .cta-content .btn-primary,
    .cta-content .btn-secondary {
        display: block;
        margin: 0 auto 20px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .how-it-works-hero {
        padding: 60px 0;
    }
    
    .how-it-works-hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        margin: 0 0 15px 0;
        width: 100%;
        max-width: 250px;
    }
    
    .process-connector {
        display: none;
    }
}
