/* ========================================
   Go Up Treinamentos - Cursos de Edição de Vídeo
   Cinematic & Video Timeline Aesthetic
   ======================================== */

:root {
    --bg-dark: #09090b;
    --bg-card: #141417;
    --bg-header: #111113;
    --text-primary: #f8f8f8;
    --text-secondary: #a1a1aa;
    --accent-purple: #a855f7; /* Premiere/After vibe */
    --accent-blue: #3b82f6;   /* CapCut vibe */
    --accent-glow: rgba(168, 85, 247, 0.25);
    --border-color: #27272a;
    --border-light: #3f3f46;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.highlight-purple { color: var(--accent-purple); }
.highlight-blue { color: var(--accent-blue); }

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-purple);
    color: #fff;
    padding: 8px;
    z-index: 100;
}
.skip-link:focus { top: 0; }

/* === Floating Menu === */
.floating-menu {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.floating-menu-btn {
    background: rgba(20, 20, 23, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}
.floating-menu-btn i { color: var(--accent-purple); }
.floating-menu-btn:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-glow);
}

.floating-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 180px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}
.floating-menu-dropdown ul { list-style: none; }
.floating-menu-dropdown a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.floating-menu-dropdown a:hover {
    background: var(--border-color);
    color: var(--accent-purple);
}
.floating-menu-dropdown .menu-cta {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    margin: 0.5rem 1rem;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
}
.floating-menu-dropdown .menu-cta:hover {
    filter: brightness(1.1);
    color: #fff;
}

.floating-menu.active .floating-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* === Hero Section === */
.hero-video {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    background: radial-gradient(circle at center, #1f1f23 0%, var(--bg-dark) 100%);
    text-align: center;
    overflow: hidden;
}

/* Timeline aesthetic background lines */
.hero-video::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(0deg, var(--border-color) 1px, transparent 1px) 0 0 / 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeIn 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.2rem;
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--accent-purple); }

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}
.hero-title span {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Top EAD Banner === */
.ead-banner {
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #4338ca;
}
.ead-banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 10px;
}
.ead-banner a:hover {
    color: var(--accent-blue);
}

/* === Global Layout === */
.section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; text-align: center; }
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; }

/* === Qual Curso Escolho (Timeline UI) === */
.escolha-container {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .escolha-container { flex-direction: row; }
}

.escolha-sidebar {
    flex: 0 0 320px;
    border-right: 1px solid var(--border-color);
    background: var(--bg-header);
}

@media (max-width: 767px) {
    .escolha-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

.escolha-tab {
    width: 100%;
    text-align: left;
    padding: 1.5rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
}
.escolha-tab i { font-size: 1.2rem; }
.escolha-tab:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.02);
}
.escolha-tab.active {
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.1);
    border-left: 4px solid var(--accent-purple);
}

.escolha-content-area {
    flex: 1;
    padding: 3rem 2.5rem;
    position: relative;
}

.escolha-panel {
    display: none;
    animation: fadeInTab 0.4s ease;
}
.escolha-panel.active { display: block; }

@keyframes fadeInTab {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.panel-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.panel-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}
.meta-item {
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    background: var(--bg-dark);
    border-radius: 8px;
    text-align: center;
}
.meta-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.meta-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* === Módulos / Accordion === */
.modulos-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modulo-item {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}
.modulo-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--bg-header);
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}
.modulo-header:hover {
    background: #1c1c20;
    border-left-color: var(--border-light);
}
.modulo-item.active .modulo-header {
    border-left-color: var(--accent-purple);
}
.modulo-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.modulo-toggle {
    color: var(--text-secondary);
    transition: transform 0.3s;
}
.modulo-item.active .modulo-toggle {
    transform: rotate(180deg);
    color: var(--accent-purple);
}
.modulo-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.modulo-item.active .modulo-content {
    max-height: 1500px;
}
.modulo-list {
    padding: 1.5rem;
    list-style: none;
    border-top: 1px solid var(--border-color);
}
.modulo-list li {
    padding: 0.7rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.modulo-list li:last-child { border-bottom: none; }
.modulo-list li::before {
    content: '\f04b'; /* FontAwesome play */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-purple);
    margin-right: 12px;
    font-size: 0.8rem;
}

/* === Trilhas & Pricing (Video Editing) === */
.trilhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.trilha-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    overflow: hidden;
}
.trilha-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px var(--accent-glow);
    transform: translateY(-5px);
}
.trilha-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-header);
    text-align: center;
}
.trilha-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.trilha-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.trilha-planos {
    padding: 1.5rem;
    flex: 1;
}
.plano-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--border-color);
}
.plano-item:last-child { border-bottom: none; }
.plano-info h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.plano-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.plano-preco { text-align: right; }
.plano-preco .valor {
    display: block;
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1.1rem;
}
.plano-preco .parcelas {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.trilha-cta {
    display: block;
    text-align: center;
    padding: 1.2rem;
    background: var(--bg-header);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    text-transform: uppercase;
}
.trilha-cta:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.trilha-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) border-box;
}
.trilha-card.featured .trilha-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
}
.trilha-card.featured .trilha-name {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.trilha-card.featured .trilha-cta {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    border-top: none;
}
.trilha-card.featured .trilha-cta:hover {
    filter: brightness(1.15);
}

/* === EAD Single Price Card === */
.ead-price-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) border-box;
    border-radius: 16px;
    text-align: center;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px var(--accent-glow);
}
.ead-price-card h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.ead-price-card .price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}
.ead-price-card .price-detail {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.ead-price-card .btn-primary { width: 100%; justify-content: center; }

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.panel-cta {
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-primary);
}

/* List details */
.curso-argumentos {
    list-style: none;
    margin-top: 1.5rem;
}
.curso-argumentos li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
}
.curso-argumentos li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-blue);
    margin-top: 4px;
}

/* === SVG Logos === */
.tab-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}
.modulo-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}
.trilha-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}
