/* Landing e cards de progresso dos cursos */
.curso-landing-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.75rem;
}
.curso-landing-hero .curso-landing-img {
    border-radius: 1rem;
    max-height: 280px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.curso-landing-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 1rem 0 1.25rem;
}
.curso-landing-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #475569;
}
.curso-landing-stat i {
    color: #6366f1;
}
.curso-landing-beneficios {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
}
.curso-landing-beneficios ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}
.curso-progress-wrap {
    margin: 1rem 0 1.25rem;
}
.curso-progress-wrap .progress {
    height: 0.65rem;
    border-radius: 999px;
    background: #e2e8f0;
}
.curso-progress-wrap .progress-bar {
    background: linear-gradient(90deg, #22c55e, #6366f1);
    border-radius: 999px;
    transition: width 0.45s ease;
}
.curso-modulo-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.curso-modulo-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.1);
}
.curso-modulo-card.concluido {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.04);
}
.curso-modulo-bloqueado {
    opacity: 0.72;
    pointer-events: none;
}
.curso-modulo-secao {
    border-left: 3px solid #6366f1;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}
.curso-modulo-secao h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

/* Accordion de etapas do módulo (objetivo, conteúdo, versículos, recapitulação) */
.modulo-etapas-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.modulo-etapa-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.modulo-etapa-item.is-open {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.12);
    transform: translateY(-1px);
}

.modulo-etapa-header {
    align-items: center;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.95) 0%, #fff 100%);
    border: 0;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.85rem 1rem;
    text-align: left;
    user-select: none;
    width: 100%;
}

.modulo-etapa-item.is-open .modulo-etapa-header {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.modulo-etapa-badge {
    align-items: center;
    background: #f1f5f9;
    border-radius: 0.5rem;
    color: #64748b;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    min-width: 28px;
}

.modulo-etapa-icon {
    align-items: center;
    border-radius: 0.65rem;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.05rem;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.modulo-etapa-title {
    color: #1e293b;
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    min-width: 0;
}

.modulo-etapa-chevron {
    color: #94a3b8;
    flex-shrink: 0;
    font-size: 1rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.modulo-etapa-item.is-open .modulo-etapa-chevron {
    color: #6366f1;
    transform: rotate(180deg);
}

.modulo-etapa-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.modulo-etapa-body.is-open {
    grid-template-rows: 1fr;
}

.modulo-etapa-body > .modulo-etapa-content {
    border-top: 1px solid #eef2f7;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.15rem;
    transition: opacity 0.25s ease, padding 0.3s ease;
}

.modulo-etapa-body.is-open > .modulo-etapa-content {
    opacity: 1;
    padding: 1.15rem 1.15rem 1.25rem;
}

.modulo-etapa-content img {
    border-radius: 0.65rem;
    max-width: 100%;
}

/* Cores por etapa */
.modulo-etapa-item.accent-indigo.is-open {
    border-color: rgba(99, 102, 241, 0.4);
}
.modulo-etapa-item.accent-indigo .modulo-etapa-icon {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}
.modulo-etapa-item.accent-indigo.is-open .modulo-etapa-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #4f46e5;
}

.modulo-etapa-item.accent-violet.is-open {
    border-color: rgba(139, 92, 246, 0.4);
}
.modulo-etapa-item.accent-violet .modulo-etapa-icon {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}
.modulo-etapa-item.accent-violet.is-open .modulo-etapa-badge {
    background: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
}

.modulo-etapa-item.accent-emerald.is-open {
    border-color: rgba(16, 185, 129, 0.4);
}
.modulo-etapa-item.accent-emerald .modulo-etapa-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}
.modulo-etapa-item.accent-emerald.is-open .modulo-etapa-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.modulo-etapa-item.accent-amber.is-open {
    border-color: rgba(245, 158, 11, 0.45);
}
.modulo-etapa-item.accent-amber .modulo-etapa-icon {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}
.modulo-etapa-item.accent-amber.is-open .modulo-etapa-badge {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

@media (max-width: 575.98px) {
    .modulo-etapa-header {
        gap: 0.55rem;
        padding: 0.75rem 0.85rem;
    }
    .modulo-etapa-title {
        font-size: 0.92rem;
    }
}

.meus-cursos-card .progress {
    height: 0.5rem;
    border-radius: 999px;
}
