/* educa/assets/css/educa.css - Estilo Premium para o Portal Educa SEFINTEC */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #6366f1;
    --secondary-hover: #4f46e5;
    
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --info: #06b6d4;

    --dark: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-surface: #ffffff;
    --border-color: #e2e8f0;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
    
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navbar Moderna */
.navbar-educa {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: all 0.3s ease;
}

.brand-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-left: 0.5rem;
}

.nav-link-custom {
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #1e293b 100%);
    color: #ffffff;
    padding: 3.5rem 1.5rem;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2.5rem;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

/* Card de Curso */
.course-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.course-card-cover {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #334155);
}

.course-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-card-cover img {
    transform: scale(1.05);
}

.course-category-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.course-badge-hours {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(8px);
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.course-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-pill {
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Player de Curso - Layout de Sala de Aula */
.lms-wrapper {
    display: flex;
    min-height: calc(100vh - 68px);
}

.lms-sidebar {
    width: 380px;
    flex-shrink: 0;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 68px);
    position: sticky;
    top: 68px;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.lms-content-area {
    flex-grow: 1;
    background: var(--bg-light);
    padding: 2.5rem 3rem;
    overflow-y: auto;
    min-width: 0;
}

@media (max-width: 992px) {
    .lms-wrapper {
        flex-direction: column;
    }
    .lms-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }
    .lms-content-area {
        padding: 1.5rem;
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.lesson-accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.lesson-accordion-header {
    background: #f8fafc;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.lesson-accordion-header:hover {
    background: #f1f5f9;
}

.lesson-accordion-header .bi-chevron-down {
    transition: transform 0.25s ease;
}

.lesson-accordion-header.collapsed .bi-chevron-down {
    transform: rotate(-90deg);
}

.topic-nav-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem 0.85rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    gap: 0.75rem;
}

.topic-nav-item:hover {
    background: #f8fafc;
    color: var(--primary-hover);
}

.topic-nav-item.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-left-color: var(--primary);
    font-weight: 700;
}

.topic-nav-item.completed .status-icon {
    color: var(--success);
}

.topic-type-badge {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Área de Conteúdo do Tópico */
.topic-container {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-sm);
    overflow-x: hidden; /* Evita extrapolamento horizontal */
}

@media (max-width: 768px) {
    .topic-container {
        padding: 1.25rem 1rem;
        border-radius: var(--radius-md);
    }
}

.topic-body {
    font-size: 1.05rem;
    color: #334155;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

/* Todos os elementos do corpo do tópico respeitam a largura do container */
.topic-body * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Tabelas responsivas */
.topic-body table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}

.topic-body th,
.topic-body td {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.topic-body img {
    max-width: 100%;
    border-radius: var(--radius-md);
    cursor: zoom-in;
    transition: transform 0.2s;
    box-shadow: var(--shadow-sm);
}

.topic-body img:hover {
    transform: scale(1.01);
}

/* =========================================================
   DESTAQUES VISUAIS: CITAÇÃO E CÓDIGO NO CORPO DO TÓPICO / AULA
   ========================================================= */
/* Citação: Fundo cinza claro e destaque elegante */
.topic-body blockquote {
    background-color: #f1f5f9;
    border-left: 5px solid #64748b;
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
    margin: 18px 0;
    color: #1e293b;
    font-size: 1.05rem;
    line-height: 1.65;
    font-style: italic;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.topic-body blockquote p,
.topic-body blockquote span {
    color: #1e293b;
}

.topic-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Código: Fundo verde claro e letras pretas com destaque */
.topic-body pre {
    background-color: #dcfce7 !important; /* Fundo verde claro */
    color: #000000 !important;             /* Letras pretas */
    border: 1px solid #86efac !important;
    border-left: 5px solid #16a34a !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    margin: 18px 0 !important;
    font-family: 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.1);
}

.topic-body pre *,
.topic-body pre code,
.topic-body pre span,
.topic-body pre p {
    background: transparent !important;
    color: #000000 !important;             /* Letras estritamente pretas */
    font-family: inherit !important;
    font-size: inherit !important;
}

.topic-body :not(pre) > code {
    background-color: #dcfce7 !important;
    color: #000000 !important;
    border: 1px solid #86efac;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 600;
}

/* Video Player Box & Gating Alert */
.video-player-box {
    background: #000000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

.video-player-box video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 520px;
}

.video-gating-banner {
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.video-gating-banner.locked {
    background: var(--warning-light);
    border: 1px solid #fde68a;
    color: #92400e;
}

.video-gating-banner.unlocked {
    background: var(--success-light);
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Anexos de PDF */
.pdf-attachment-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.pdf-attachment-card:hover {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

/* Quiz de Autoavaliação da Aula (Formato Não Armazenado) */
.self-quiz-card {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

.quiz-option-label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.quiz-option-label:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.quiz-option-label.is-correct {
    border-color: var(--success) !important;
    background: var(--success-light) !important;
    color: #065f46;
}

.quiz-option-label.is-wrong {
    border-color: var(--danger) !important;
    background: var(--danger-light) !important;
    color: #991b1b;
}

/* Barra de Progresso Customizada */
.progress-educa {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 30px;
    overflow: hidden;
}

.progress-educa-bar {
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    transition: width 0.6s ease;
}

/* Prova Final & Exame */
.exam-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.exam-question-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* Certificado Oficial Styling */
.certificate-frame {
    background: #ffffff;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px;
    border: 16px solid #1e293b;
    outline: 4px solid #d97706;
    outline-offset: -10px;
    position: relative;
    box-shadow: var(--shadow-lg);
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', Georgia, serif;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.certificate-header {
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.certificate-seal {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    margin-bottom: 15px;
}

.certificate-student-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 2px dashed #94a3b8;
    display: inline-block;
    padding: 0 25px 5px;
    margin: 15px 0;
    font-family: var(--font-heading);
}

.certificate-course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin: 10px 0;
}

.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.signature-line {
    border-top: 1.5px solid #475569;
    width: 230px;
    padding-top: 6px;
    text-align: center;
    font-size: 0.82rem;
    color: #475569;
}

/* Regras de Impressão para o Certificado (A4 Paisagem Exato) */
@page {
    size: A4 landscape;
    margin: 0mm;
}

@media print {
    html, body {
        width: 297mm !important;
        height: 210mm !important;
        max-width: 297mm !important;
        max-height: 210mm !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body * {
        visibility: hidden;
    }

    .no-print, .no-print * {
        display: none !important;
    }

    .print-only-certificate, .print-only-certificate * {
        visibility: visible;
    }

    .print-only-certificate {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 297mm !important;
        height: 210mm !important;
        max-width: 297mm !important;
        max-height: 210mm !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        page-break-inside: avoid !important;
        page-break-after: avoid !important;
        page-break-before: avoid !important;
        break-inside: avoid !important;
    }

    #certificadoDocumento {
        width: 297mm !important;
        height: 210mm !important;
        max-width: 297mm !important;
        max-height: 210mm !important;
        margin: 0 !important;
        padding: 22px 34px !important;
        box-sizing: border-box !important;
        border: 12px solid #0f172a !important;
        outline: 3px solid #f59e0b !important;
        outline-offset: -7px !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        overflow: hidden !important;
    }
}

/* Estilos para o Painel Administrativo */
.admin-sidebar {
    background: #0f172a;
    color: #f8fafc;
    min-height: calc(100vh - 68px);
}

.admin-sidebar .nav-link {
    color: #94a3b8;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.badge-status {
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status-active {
    background: #dcfce7;
    color: #15803d;
}

.badge-status-inactive {
    background: #f1f5f9;
    color: #64748b;
}

/* Lightbox Modal */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: zoom-out;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Barra de Busca, Filtros e Seções do Catálogo de Cursos (index.php)
   ========================================================================== */
.catalogo-toolbar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalogo-toolbar:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}

.catalogo-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.catalogo-search-input-group .search-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 5;
}

.catalogo-search-input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 2.75rem;
    border-radius: 50rem;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.catalogo-search-input:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    outline: none;
}

.catalogo-search-input:focus ~ .search-icon {
    color: var(--primary);
}

.catalogo-search-clear {
    position: absolute;
    right: 0.75rem;
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    z-index: 5;
}

.catalogo-search-clear:hover {
    background: #cbd5e1;
    color: var(--dark);
}

/* Filtros Pills */
.catalogo-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50rem;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.filter-pill:hover {
    background: #f1f5f9;
    color: var(--dark);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.filter-pill.active {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.filter-pill.active-disponivel.active {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-color: #059669;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.filter-pill.active-em-breve.active {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.filter-pill .pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    background: rgba(100, 116, 139, 0.12);
    color: inherit;
    transition: background 0.2s ease;
}

.filter-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Selects do Catálogo */
.catalogo-select {
    padding: 0.55rem 2.25rem 0.55rem 1rem;
    border-radius: 50rem;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalogo-select:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    outline: none;
}

/* Seções Separadas de Cursos */
.catalogo-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.catalogo-section-header.header-disponiveis {
    border-bottom-color: rgba(16, 185, 129, 0.35);
}

.catalogo-section-header.header-em-breve {
    border-bottom-color: rgba(59, 130, 246, 0.35);
    margin-top: 3rem;
}

.catalogo-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
}

.section-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.section-icon-badge.badge-verde {
    background: #ecfdf5;
    color: #059669;
}

.section-icon-badge.badge-azul {
    background: #eff6ff;
    color: #2563eb;
}

/* Card Em Breve Estilizado */
.course-card-em-breve {
    border-top: 3px solid #3b82f6;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.course-card-em-breve:hover {
    border-top-color: #2563eb;
    box-shadow: 0 16px 30px -5px rgba(37, 99, 235, 0.15);
}

.banner-em-breve-tag {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Empty State do Filtro */
.catalogo-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

.catalogo-empty-state .empty-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #94a3b8;
}

/* Transições suaves de cards */
.course-col {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.course-col.d-none {
    display: none !important;
}

