/**
 * Estilos específicos para a página inicial
 */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
    padding: 80px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn {
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats-container {
    margin-top: -50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.stats-card {
    background-color: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.stats-icon {
    font-size: 2rem;
    color: #4e73df;
    margin-bottom: 15px;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
}

.stats-title {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Features Section */
.features-container {
    padding: 30px 0 60px;
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    color: #333;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4e73df;
    margin: 15px auto 0;
    border-radius: 2px;
}

.feature-card {
    border-radius: 15px;
    border: none;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4e73df;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card .card-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card .card-text {
    color: #6c757d;
}

.feature-card .card-footer {
    padding-top: 0;
    padding-bottom: 20px;
}

/* How It Works Section */
.how-it-works {
    background-color: #f7f9fc;
    padding: 70px 0;
    margin: 50px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: #4e73df;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem;
    color: #4e73df;
    margin-bottom: 20px;
}

.step-card h5 {
    margin-bottom: 15px;
    font-weight: 600;
}

.step-card p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f1f5fe 0%, #e4ecff 100%);
    padding: 70px 0;
    border-radius: 20px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(78, 115, 223, 0.05);
    border-radius: 50%;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section .lead {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    color: #495057;
}

.cta-section .btn {
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .stats-container {
        margin-top: 20px;
    }

    .stats-card {
        margin-bottom: 20px;
    }

    .stats-number {
        font-size: 2rem;
    }

    .step-card {
        margin-bottom: 30px;
    }

    .cta-section {
        padding: 50px 0;
    }
}