/* Estilos da Homepage */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Seção de Opções Principais */
.opcoes-principais {
    margin-bottom: 3rem;
}

.opcoes-principais h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.opcoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.opcao-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--dark-gray);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.opcao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.opcao-card:hover::before {
    transform: scaleX(1);
}

.opcao-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.opcao-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.opcao-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.opcao-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.opcao-arrow {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.opcao-card:hover .opcao-arrow {
    transform: translateX(5px);
}

/* Seção de Estatísticas */
.stats-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0.3rem 0 0 0;
}

/* Seção Como Funciona */
.como-funciona-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.como-funciona-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.steps-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.step-item {
    text-align: center;
    flex: 0 1 auto;
    min-width: 180px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.step-connector {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--light-gray), transparent);
    margin: 0 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--light-bg);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

.footer p {
    color: var(--medium-gray);
    margin: 0;
}

/* Responsivo */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .opcoes-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        gap: 0.5rem;
    }

    .step-connector {
        width: 20px;
        height: 2px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .opcoes-principais h2,
    .stats-section h2,
    .como-funciona-section h2 {
        font-size: 1.4rem;
    }

    .opcao-card {
        padding: 1.5rem;
    }

    .opcao-icon {
        font-size: 2.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        gap: 1rem;
        padding: 1rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 2px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .opciones-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .opcao-card {
        padding: 1rem;
    }

    .opcao-icon {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .step-item {
        min-width: 150px;
    }
}
