.elementor-5773 .elementor-element.elementor-element-1a499eb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}/* Start custom CSS *//* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #171722;
    --accent-red: #D54256;
    --accent-yellow: #FFD436;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.5);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --bg-surface: #1E1E2C;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background & Utilities */
.bg-pattern {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 4rem 4rem;
    pointer-events: none;
    z-index: -2;
}

.container {
    max-width: 1040px;
    /* Mais estreito para leitura editorial */
    margin: 0 auto;
    padding: 0 24px;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Views Management (SPA Simulation) */
.view-section {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}/* HEADER GLOBAL (Minimalista) */ 
.topbar { 
    height: 72px; 
    display: flex; 
    align-items: center; 
    border-bottom: 1px solid var(--border-light); 
    background: rgba(23, 23, 34, 0.8); 
    backdrop-filter: blur(12px); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
} 

.topbar .logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 700; 
    font-size: 16px; 
    color: var(--text-primary); 
    text-decoration: none; 
} 

/* Alvo duplo: funciona se usar a classe ou se for a tag img pura dentro de .logo */
.topbar .logo img,
.logo-img { 
    height: 32px; 
    max-height: 32px; /* Garante o teto do tamanho */
    width: auto; 
    flex-shrink: 0; /* Impede o flexbox de deformar a imagem */
    object-fit: contain; 
    border-radius: 4px; 
}

/* =========================================
   VIEW 1: VÍDEOS E AULAS (LISTAGEM / TIMELINE)
   ========================================= */

.page-header {
    padding: 80px 0 64px;
    border-bottom: 1px solid var(--border-light);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.page-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 300;
}

/* Timeline Estrutura (Notion/Linear Vibe) */
.timeline-container {
    padding: 64px 0 120px;
    position: relative;
}

/* Linha vertical da timeline */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 64px;
    bottom: 120px;
    width: 1px;
    background: var(--border-light);
    z-index: 0;
}

.week-block {
    position: relative;
    margin-bottom: 64px;
    z-index: 1;
}

.week-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.week-node {
    width: 24px;
    height: 24px;
    background: var(--bg-main);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 24.5px;
    /* Alinhar com a linha */
}

.week-node.active {
    border-color: var(--accent-yellow);
}

.week-node.active::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-yellow);
    border-radius: 50%;
}

.week-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.week-meta {
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
}

/* Lista de Aulas (Design Editorial) */
.class-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 80px;
    /* Espaço da timeline */
}

.class-card {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.class-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.class-thumb {
    width: 200px;
    height: 112px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.class-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.class-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 8px;
}

.class-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.class-meta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-track {
    width: 100px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.btn-access {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.class-card:hover .btn-access {
    background: var(--text-primary);
    color: var(--bg-main);
}

/* =========================================
   VIEW 2: PLAYER INDIVIDUAL DA AULA
   ========================================= */

.player-header {
    padding: 32px 0;
    display: flex;
    align-items: center;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back:hover {
    color: var(--text-primary);
    transform: translateX(-3px);
}

.player-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 48px;
    padding-bottom: 120px;
}

/* MAIN AREA (Video + Descrição) */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 212, 54, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-main);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.play-btn-overlay:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.class-header-info {
    margin-bottom: 40px;
}

.class-header-info .category {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.class-header-info h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.class-header-info .desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.content-section {
    margin-bottom: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.content-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h3 i {
    color: var(--accent-yellow);
}

.learn-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.learn-list li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.learn-list li i {
    color: var(--accent-red);
    flex-shrink: 0;
    margin-top: 2px;
}

/* SIDEBAR (Tarefas e Materiais) */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

/* Custom Checkboxes */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg-main);
}

.task-item:hover .task-checkbox {
    border-color: rgba(255, 255, 255, 0.3);
}

.task-item.completed .task-checkbox {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: scale(1.05);
}

.task-item.completed .task-checkbox i {
    color: var(--bg-main);
    opacity: 1;
    transform: scale(1);
}

.task-checkbox i {
    opacity: 0;
    transform: scale(0.6);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.task-label {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.5;
}

.task-item.completed .task-label {
    color: var(--text-primary);
    text-decoration: line-through;
    opacity: 0.6;
}

/* Materials List */
.material-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.material-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.material-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.material-info i {
    color: var(--accent-red);
}

.class-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.nav-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-block:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-yellow);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.nav-block.next {
    text-align: right;
    align-items: flex-end;
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-title {
    font-size: 16px;
    font-weight: 500;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */

@media (max-width: 1024px) {
    .player-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .week-node {
        margin-left: 8.5px;
    }

    .class-list {
        padding-left: 0;
        margin-top: 24px;
    }

    .class-card {
        flex-direction: column;
        gap: 16px;
    }

    .class-thumb {
        width: 100%;
        height: 180px;
    }

    .class-meta-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-access {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .page-title {
        font-size: 36px;
    }

    .learn-list {
        grid-template-columns: 1fr;
    }

    .class-navigation {
        flex-direction: column;
        gap: 24px;
    }

    .nav-block.next {
        text-align: left;
        align-items: flex-start;
    }

    .nav-block.next .nav-label {
        flex-direction: row-reverse;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .class-header-info h1 {
        font-size: 28px;
    }
    .class-header-info .desc {
        font-size: 14px;
    }
    .page-title {
        font-size: 28px;
    }
    .nav-block {
        padding: 12px 16px;
        min-width: auto;
    }
    .nav-title {
        font-size: 14px;
    }
    .nav-label {
        font-size: 10px;
    }
    .player-grid {
        gap: 16px;
    }
    .player-sidebar {
        width: 100%;
    }
    .class-card {
        margin-left: 48px;
        max-width: calc(100% - 48px);
        box-sizing: border-box;
    }
    .class-thumb {
        width: 100%;
        height: auto;
    }
    .learn-list {
        grid-template-columns: 1fr;
    }
    .btn-access {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* =========================================
   MODAL DE DETALHES DO TREINO
   ========================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open .modal-backdrop {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    background: var(--bg-surface);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border: 1px solid var(--border-light);
    border-bottom: none;
    max-height: 92vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 24px;
    padding-top: 60px; /* Space for close button */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-video-container {
    width: 100%;
}

.modal-video-wrapper {
    margin-bottom: 0;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.modal-text-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-red);
    font-weight: 600;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.modal-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-sidebar-tasks {
    width: 100%;
}

/* Desktop Styles for Modal */
@media (min-width: 768px) {
    .modal {
        align-items: center;
    }

    .modal-content {
        width: 90%;
        max-width: 860px;
        border-radius: 16px;
        border-bottom: 1px solid var(--border-light);
        max-height: 85vh;
        transform: scale(0.9) translateY(20px);
        opacity: 0;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .modal.open .modal-content {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    .modal-body {
        padding: 32px;
        padding-top: 48px;
        flex-direction: column;
        gap: 32px;
    }

    .modal-info-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 32px;
    }
}/* End custom CSS */