@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0a0f1d; /* Deep Midnight Blue */
    --bg-card: #111827; /* Slate 900 */
    --primary-silver: #f8fafc; /* Slate 50 */
    --secondary-silver: #94a3b8; /* Slate 400 */
    --accent-blue: #0ea5e9; /* Deep Sky Blue */
    --accent-indigo: #6366f1; /* Indigo */
    --accent-cyan: #22d3ee; /* Electric Cyan */
    --accent-glow: rgba(14, 165, 233, 0.15);
    --accent-gold: #fbbf24; /* Amber Gold */
    --glass-border: rgba(255, 255, 255, 0.12); /* Contornos e bordas de vidro mais nítidos */
    --text-main: #f1f5f9; /* Slate 100 */
    --text-muted: #64748b; /* Slate 500 */
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-gold {
    color: var(--accent-gold);
    font-weight: 800;
}

/* Botões Dourados Premium com texto em Ouro */
.btn-gold, .btn-top-gold {
    background: rgba(251, 191, 36, 0.08) !important;
    color: #fbbf24 !important; /* Texto dourado */
    border: 1.5px solid rgba(251, 191, 36, 0.38) !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.12) !important;
    font-weight: 800 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-gold:hover, .btn-top-gold:hover {
    background: rgba(251, 191, 36, 0.15) !important;
    color: #fbbf24 !important; /* Continua dourado no hover */
    border-color: #fbbf24 !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25) !important;
    transform: translateY(-2px) !important;
}

.gold-text-metallic {
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    display: inline-block;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.1));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow); }
    100% { box-shadow: 0 0 5px var(--accent-glow); }
}

.reveal {
    animation: fadeInUp 0.8s ease forwards;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(10, 15, 29, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

#navbar.scrolled {
    top: 12px;
    background: rgba(10, 15, 29, 0.85);
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
}

/* Hamburguer Mobile */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 968px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-silver);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu Dinâmico: Itens Especiais */
.nav-links a.btn-member {
    background: var(--accent-blue);
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 12px;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 8px 20px var(--accent-glow);
    font-weight: 700;
}

.nav-links a.btn-member::after {
    display: none;
}

.nav-links a.btn-ghost {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.nav-links a.link-accent {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    background: var(--accent-blue);
    color: var(--btn-text, #fff);
    padding: 1.1rem 2.6rem; /* Botões mais robustos e destacados */
    border-radius: 18px;
    font-weight: 800;
    border: 1.5px solid rgba(255, 255, 255, 0.22); /* Borda fina iluminada */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 20px var(--accent-glow);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03); /* Leve expansão no hover */
    box-shadow: 0 15px 30px var(--accent-glow), 0 0 0 3px rgba(255, 255, 255, 0.18);
    filter: brightness(1.18);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.97); /* Feedback físico ao clicar */
}

/* Ícones com Cores e Detalhados nos Menus */
.dashboard-sidebar i, .admin-sidebar i, .member-sidebar i, .sidebar i {
    font-size: 1.15rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Efeito de expansão e brilho neon no hover do ícone */
.dashboard-sidebar a:hover i, .admin-sidebar a:hover i, .member-sidebar a:hover i, .sidebar a:hover i {
    transform: scale(1.25);
    filter: drop-shadow(0 0 8px currentColor);
}

/* Mapeamento de cores únicas e detalhadas por tipo de recurso */
.fa-chart-line, .fa-th-large { color: #38bdf8 !important; } /* Dashboard/Geral - Azul Neon */
.fa-graduation-cap { color: #fbbf24 !important; } /* Cursos - Ouro Premium */
.fa-wallet { color: #34d399 !important; } /* Financeiro - Verde Esmeralda */
.fa-users-cog, .fa-users { color: #a78bfa !important; } /* Gestão de Alunos - Roxo Violeta */
.fa-tasks { color: #f472b6 !important; } /* Provas e Quizzes - Rosa Neon */
.fa-file-invoice { color: #22d3ee !important; } /* Notas - Ciano Elétrico */
.fa-star { color: #f43f5e !important; } /* Avaliações - Vermelho Cereja */
.fa-question-circle, .fa-headset { color: #60a5fa !important; } /* Dúvidas/Suporte - Azul Céu */
.fa-video { color: #10b981 !important; } /* Sala Virtual Ao Vivo - Verde Vivo */
.fa-user-circle { color: #2dd4bf !important; } /* Perfil do Usuário - Verde Água */
.fa-power-off { color: #f87171 !important; } /* Botão de Logoff - Coral de Alerta */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff 40%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    padding: 2rem;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-img {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

/* Live Stream Section */
.live-container {
    aspect-ratio: 16/9;
    width: 100%;
    background: #000;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(56, 189, 248, 0.2);
    border: 2px solid var(--glass-border);
}

/* Mural Styles */
.mural-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 18px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.mural-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-blue);
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Premium Unified Dashboard UI (Admin, Professor & Student) */
:root {
    --sidebar-width: 280px;
    --sidebar-bg: var(--bg-dark);
    --border-light: var(--glass-border);
    --glass-bg: var(--bg-card);
}

/* Custom Scrollbar for sidebars and panels */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Sidebar General Layout */
.dashboard-sidebar, .admin-sidebar, .member-sidebar, .sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #090a0f !important; /* Carbon Charcoal Black */
    padding: 2.5rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important; /* Borda fina premium */
    overflow-y: auto;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    box-shadow: none; /* Removido sombreado */
    transition: var(--transition);
}

.dashboard-sidebar h2, .admin-sidebar h2, .member-sidebar .logo {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    padding: 0 1rem;
    letter-spacing: -1px;
}

/* Dashboard Navigations */
.dashboard-nav, .admin-nav, .nav-list, .member-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-nav a, .admin-nav a, .nav-list a, .member-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #cbd5e1; /* Letras em maior destaque / cinza claro brilhante */
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.dashboard-nav a:hover, .admin-nav a:hover, .nav-list a:hover, .member-nav a:hover {
    background: rgba(255, 255, 255, 0.08); /* Hover mais forte no fundo preto */
    color: #ffffff; /* Letras brancas no hover */
    border-color: rgba(255, 255, 255, 0.1);
    /* Removido deslocamento para o lado */
}

.dashboard-nav a.active, .admin-nav a.active, .nav-list a.active, .member-nav a.active {
    background: var(--accent-blue); /* Fundo com a cor de destaque do tema */
    color: var(--btn-text, #ffffff) !important; /* Letras super destacadas */
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.nav-section {
    margin-bottom: 2.2rem;
}

.nav-section-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    opacity: 0.7;
}

/* Dashboard Main Content */
.dashboard-main, .admin-main, .main-content, .member-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 4rem 3.5rem;
    max-width: 1450px;
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    box-sizing: border-box;
    transition: var(--transition);
}

/* Premium Glass Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    padding: 2.2rem;
    transition: var(--transition);
}
.glass:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Tables Styling */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 1rem;
}

.admin-table th {
    padding: 1rem;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--border-light);
}

.admin-table td {
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-table tr td:first-child {
    border-left: 1px solid var(--border-light);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.admin-table tr td:last-child {
    border-right: 1px solid var(--border-light);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(14, 165, 233, 0.2);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.25);
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Badges */
.badge {
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Grid helper */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Mobile responsive */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 992px) {
    .dashboard-sidebar, .admin-sidebar, .member-sidebar, .sidebar {
        transform: translateX(-100%);
        box-shadow: 20px 0 50px rgba(0,0,0,0.8);
    }
    .dashboard-sidebar.active, .admin-sidebar.active, .member-sidebar.active, .sidebar.active {
        transform: translateX(0);
    }
    .dashboard-main, .admin-main, .main-content, .member-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 7rem 1.5rem 2rem 1.5rem !important;
    }
    .mobile-overlay {
        display: block;
    }
}

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

.mobile-toggle {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--glass-border);
    z-index: 99990;
    align-items: center;
    padding: 0 1.5rem;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.mobile-toggle i {
    margin-right: 12px;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
}

/* ==========================================================================
   PREMIUM LANDING PAGE IMPROVEMENTS
   ========================================================================== */

/* Floating Animation */
@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.floating-widget {
    animation: floating 6s ease-in-out infinite;
}

/* Dynamic Grid layouts */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* Dev Terminal Widget */
.terminal-window {
    background: rgba(8, 10, 20, 0.85);
    border: 1.5px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--accent-glow);
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
    transition: var(--transition);
}
.terminal-window:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 60px var(--accent-glow);
}
.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.terminal-dots {
    display: flex;
    gap: 8px;
}
.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #10b981; }
.terminal-title {
    color: var(--secondary-silver);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.terminal-body {
    padding: 24px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #38bdf8;
    text-align: left;
    min-height: 250px;
}
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--accent-blue);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* System Stats Indicator */
.system-indicators {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    border-top: 1.5px dashed rgba(255,255,255,0.06);
    padding-top: 15px;
}
.sys-indicator {
    flex: 1;
    background: rgba(255,255,255,0.02);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.sys-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.sys-val {
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
}

/* Specialties Section */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.spec-card {
    padding: 3rem 2.2rem;
    background: var(--bg-card);
    border: 1.5px solid var(--glass-border);
    border-radius: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-glow) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.spec-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
}
.spec-card:hover::before {
    opacity: 1;
}
.spec-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid var(--glass-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    transition: var(--transition);
}
.spec-card:hover .spec-icon-box {
    color: #fff;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.08);
}
.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.5rem;
}
.spec-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    color: var(--secondary-silver);
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid var(--glass-border);
    border-radius: 14px;
    color: var(--secondary-silver);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255, 255, 255, 0.05);
}
.filter-btn.active {
    background: var(--accent-blue);
    color: #000;
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px var(--accent-glow);
    font-weight: 900;
}
.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

/* Testimonials Carousel (Depoimentos) */
.testimonial-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}
.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-slide {
    min-width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1.5px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.quote-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    opacity: 0.15;
    position: absolute;
    top: 2rem;
    left: 3rem;
}
.testi-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px var(--accent-glow);
}
.testi-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
}
.testi-author {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}
.testi-role {
    font-size: 0.8rem;
    color: var(--accent-blue);
    margin-top: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
.testi-stars {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.carousel-navs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2.5rem;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition);
}
.carousel-dot.active {
    background: var(--accent-blue);
    width: 30px;
    border-radius: 10px;
}

/* FAQ Accordion Section */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.faq-trigger {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    user-select: none;
    color: #fff;
    transition: var(--transition);
}
.faq-trigger:hover {
    color: var(--accent-blue);
}
.faq-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--accent-blue);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.active .faq-content {
    padding-bottom: 1.8rem;
}

/* Modern Call-To-Action (CTA) */
.premium-cta {
    position: relative;
    padding: 7rem 4rem;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(10,15,29,0.9) 0%, rgba(20,24,33,0.95) 100%);
    border: 1.5px solid var(--glass-border);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    margin-top: 100px;
}
.premium-cta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    bottom: -250px;
    right: -250px;
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    margin: 0 auto;
}
.cta-form {
    display: flex;
    gap: 15px;
    margin-top: 3rem;
    flex-direction: column;
}
@media (min-width: 640px) {
    .cta-form {
        flex-direction: row;
    }
}
.cta-form input {
    flex: 1;
    padding: 1.1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1.5px solid var(--glass-border);
    border-radius: 18px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}
.cta-form input:focus {
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px var(--accent-glow);
}
.cta-form button {
    padding: 1.1rem 2.5rem;
    border-radius: 18px;
    border: none;
    background: var(--accent-blue);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px var(--accent-glow);
}
.cta-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--accent-glow);
    filter: brightness(1.15);
}


/* ==========================================================================
   SITE LAYOUT & RESPONSIVIDADE (THLab Digital)
   ========================================================================== */

/* Titulo de secao padrao (usado nas paginas publicas do site) */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* Hero responsivo (fallback global; paginas com override inline mantem o seus) */
.hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
}
.hero p {
    font-size: clamp(1rem, 2.6vw, 1.3rem);
}

/* Overlay que escurece o fundo quando o menu mobile esta aberto */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 968px) {
    .nav-links {
        width: 82%;
        max-width: 420px;
        padding: 7rem 2.5rem 3rem;
        overflow-y: auto;
        justify-content: flex-start;
    }
    .nav-links a {
        font-size: 1.15rem;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }
    .nav-links a.btn-member {
        padding: 0.8rem 1.6rem;
    }
}

/* Tablets e celulares */
@media (max-width: 768px) {
    #navbar {
        width: 92%;
        top: 12px;
        padding: 0.9rem 1.4rem;
        border-radius: 24px;
    }
    .logo {
        font-size: 1.1rem;
        gap: 8px;
    }
    .logo img {
        height: 32px !important;
        margin-right: 0 !important;
    }
    .mobile-menu-btn {
        font-size: 1.35rem;
    }
    .hero {
        padding: 1rem;
    }
    .grid {
        gap: 1.5rem;
    }
    .card {
        padding: 1.5rem;
    }
    .card-img {
        height: 190px;
    }
    .glass {
        border-radius: 20px;
    }
    .testimonial-card {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }
    .testi-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    .premium-cta {
        padding: 4rem 1.5rem;
        border-radius: 24px;
        margin-top: 3rem;
    }
    .faq-trigger {
        padding: 1.2rem 1.4rem;
        font-size: 0.95rem;
    }
    .faq-content {
        padding: 0 1.4rem;
    }
    .cta-form input {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
    .cta-form button {
        padding: 1rem 1.8rem;
    }
    footer {
        padding: 3rem 1.5rem 2rem !important;
        margin-top: 60px !important;
    }
    footer > div:first-of-type {
        gap: 2.5rem !important;
        text-align: center !important;
    }
    footer [style*="display: flex; gap: 15px"] {
        justify-content: center;
    }
    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .dashboard-main, .admin-main, .main-content, .member-content {
        padding: 6.5rem 1.25rem 2rem !important;
    }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    .nav-links {
        width: 88%;
        padding: 6.5rem 1.8rem 2rem;
    }
    .nav-links a {
        font-size: 1.05rem;
    }
    .hero h1 {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
    }
    .hero p {
        font-size: 1rem;
    }
    .btn-primary {
        padding: 0.9rem 1.8rem;
    }
    .portfolio-filters {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
    .testimonial-card {
        padding: 2.5rem 1.2rem;
    }
    .testi-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
    }
    .quote-icon {
        top: 1.2rem;
        left: 1.5rem;
        font-size: 2rem;
    }
    .testimonial-slide {
        padding: 0;
    }
    .spec-card {
        padding: 2.2rem 1.5rem;
    }
    .spec-icon-box {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
.modal-overlay {
        padding: 1rem;
        align-items: flex-end;
    }
}

/* ---------- Editor de Cursos (Admin) ---------- */
.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.form-row-3 .form-group {
    margin-bottom: 1rem;
}
.badge-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.badge-status.published {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.badge-status.draft {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}
@media (max-width: 768px) {
    .form-row-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
