/* ========================================
   AVA Learn - Estilo Netflix
   ======================================== */

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

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #67F10C;
    --primary-hover: #1BD53C;
    --bg-dark: #141414;
    --bg-darker: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --success-color: #1BD53C;
    --warning-color: #f5c518;
    --danger-color: #e50914;
    --border-color: #333333;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Tipografia
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

/* ========================================
   Componentes - Botões
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: rgba(109, 109, 110, 0.7);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(109, 109, 110, 0.9);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--bg-dark);
}

.btn-success:hover {
    background-color: #16b030;
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--text-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 1.25em;
}

/* ========================================
   Componentes - Alertas
   ======================================== */

.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(27, 213, 60, 0.15);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background-color: rgba(229, 9, 20, 0.15);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

/* ========================================
   Componentes - Progress Bar
   ======================================== */

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar.large {
    height: 6px;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* ========================================
   Página de Login
   ======================================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://assets.nflxext.com/ffe/siteui/vlv3/a73c4363-1dcd-4719-b3b1-3725418fd91d/fe1147dd-78be-44aa-a0e5-2d2994305a13/BR-en-20231016-popsignuptwoweeks-perspective_alpha_website_large.jpg');
    background-size: cover;
    background-position: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 1rem;
}

.login-box {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 3rem;
    border-radius: 8px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-login {
    height: 100px;
    margin-bottom: 1.5rem;
}

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

/* ========================================
   Formulários
   ======================================== */

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background-color: #444;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.login-form .btn {
    margin-top: 1.5rem;
}

/* Color Picker */
.color-picker-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-group input[type="color"] {
    width: 80px;
    height: 50px;
    padding: 2px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.form-group input[type="color"]:hover {
    border-color: var(--text-primary);
}

.color-preview {
    width: 80px;
    height: 50px;
    border-radius: 4px;
    border: 1px solid #444;
    transition: var(--transition);
}

/* ========================================
   Header Principal
   ======================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

.main-header.scrolled {
    background-color: var(--bg-darker);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.user-menu {
    position: relative;
}

.user-name {
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-card);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-primary);
}

/* ========================================
   Main Content
   ======================================== */

.main-content {
    padding-top: 70px;
    min-height: calc(100vh - 100px);
    margin: 0 auto;
}

/* ========================================
   Hero Banner
   ======================================== */

.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    margin-top: -70px;
    padding-top: 70px;
}

.hero-content {
    max-width: 600px;
    padding: 0 4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 300px;
}

.hero-progress .progress-bar {
    flex: 1;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ========================================
   Content Rows (Estilo Netflix)
   ======================================== */

.content-rows {
    padding: 2rem 0;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.content-row {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.row-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0 4rem;
}

.row-slider {
    position: relative;
}

.slider-container {
    display: flex;
    gap: 0.5rem;
    padding: 0 4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

/* ========================================
   Course Cards
   ======================================== */

.course-card {
    flex: 0 0 auto;
    width: 250px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-card);
}

.course-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow);
}

.card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-size: cover;
    background-position: center;
    background-color: var(--bg-darker);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover .card-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.25rem;
}

.card-info {
    padding: 0.75rem;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   Empty State
   ======================================== */

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 4rem;
}

.empty-content {
    text-align: center;
    max-width: 400px;
}

.empty-content h2 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.empty-content p {
    color: var(--text-muted);
}

/* ========================================
   Course Page
   ======================================== */

.course-page {
    min-height: 100vh;
}

.course-header {
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    margin-top: -70px;
    padding-top: 100px;
}

.course-header-content {
    max-width: 700px;
}

.back-link {
    display: inline-block;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--text-primary);
}

.course-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    color: var(--text-secondary);
}

.meta-item strong {
    color: var(--text-primary);
}

.course-progress-container {
    max-width: 400px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   Topics List
   ======================================== */

.course-content {
    padding: 2rem 4rem;
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topic-item {
    background-color: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.topic-header:hover {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, rgba(229, 9, 20, 0.1) 100%);
    border-left: 4px solid var(--primary-hover);
}

.topic-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topic-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-darker);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
}

.topic-details {
    flex: 1;
}

.topic-title {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.topic-description {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lessons-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.topic-toggle {
    transition: transform 0.3s ease;
}

.topic-item.expanded .topic-toggle {
    transform: rotate(180deg);
}

.topic-lessons {
    display: none;
    border-top: 1px solid var(--border-color);
}

.topic-item.expanded .topic-lessons {
    display: block;
}

/* ========================================
   Lesson Items
   ======================================== */

.lesson-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-item:hover {
    background-color: var(--bg-card-hover);
}

.lesson-item.completed {
    opacity: 0.7;
}

.lesson-status {
    width: 30px;
    margin-right: 1rem;
}

.status-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
}

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

.lesson-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lesson-number {
    font-size: 0.875rem;
    color: var(--text-muted);
    min-width: 40px;
}

.lesson-title {
    font-weight: 400;
    font-size: 0.875rem;
}

.lesson-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lesson-type {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: var(--bg-darker);
    color: var(--text-muted);
}

.lesson-type.video {
    color: var(--primary-color);
}

.lesson-duration {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   Lesson Page
   ======================================== */

.lesson-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.lesson-container {
    display: flex;
    flex: 1;
    gap: 0;
}

.lesson-sidebar {
    width: 300px;
    background-color: #18181B;
    border-right: 1px solid #3498db;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.05) 0%, transparent 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-to-course {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.back-to-course:hover {
    color: var(--text-primary);
    background-color: rgba(229, 9, 20, 0.1);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.sidebar-topic {
    border-bottom: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

.sidebar-topic-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.sidebar-topic-header:hover {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--primary-color);
    padding-left: 1.05rem;
}

.sidebar-topic .topic-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    color: var(--text-primary);
    flex-shrink: 0;
}

.sidebar-topic .topic-title {
    flex: 1;
    font-size: 1rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-topic .topic-toggle {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    flex-shrink: 0;
}

.sidebar-topic.expanded .topic-toggle {
    transform: rotate(180deg);
}

.sidebar-lessons {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 2px solid var(--primary-color);
}

.sidebar-topic.expanded .sidebar-lessons {
    display: block;
}

.sidebar-lesson {
    display: flex;
    align-items: center;
    padding: 0.675rem 1.25rem 0.675rem 2.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-lesson:hover {
    background-color: rgba(229, 9, 20, 0.1);
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
    padding-left: 2.22rem;
}

.sidebar-lesson.current {
    color: var(--text-primary);
    padding-left: 2.22rem;
    font-weight: 600;
}

.sidebar-lesson.completed .lesson-status {
    color: var(--success-color);
    font-weight: 700;
}

.sidebar-lesson .lesson-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   Lesson Main Content
   ======================================== */

.lesson-main {
    flex: 1;
    padding: 2rem;
    width: 100%;
    background-color: #000000;
}

.lesson-content-container {
    max-width: 58rem;
    margin: 0 auto;
}

.lesson-header {
    margin-bottom: 2rem;
}

.lesson-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.lesson-title {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.lesson-description {
    color: var(--text-secondary);
}

.lesson-content-wrapper {
    margin-bottom: 2rem;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* HTML Content */
.html-content {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    line-height: 1.8;
}

.html-content h1,
.html-content h2,
.html-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.html-content p {
    margin-bottom: 1rem;
}

.html-content ul,
.html-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.html-content li {
    margin-bottom: 0.5rem;
}

.html-content code {
    background-color: var(--bg-darker);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.html-content pre {
    background-color: var(--bg-darker);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.html-content pre code {
    background: none;
    padding: 0;
}

.html-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Lesson Actions */
.lesson-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.lesson-navigation {
    display: flex;
    justify-content: space-between;
}

.lesson-complete {
    display: flex;
    justify-content: center;
}

/* ========================================
   Footer
   ======================================== */

.main-footer {
    background-color: var(--bg-darker);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   Responsive
   ======================================== */

/* Botão flutuante - oculto por padrão */
.floating-menu-btn {
    display: none;
}

.sidebar-overlay {
    display: none !important;
}

/* Botão de fechar sidebar - oculto por padrão em desktop */
.sidebar-close-btn {
    display: none !important;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content,
    .row-title,
    .slider-container,
    .course-header,
    .course-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .lesson-sidebar {
        width: 280px;
    }

}

@media (max-width: 768px) {
    .hero-banner {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .course-card {
        width: 200px;
    }
    
    .lesson-page {
        flex-direction: column;
        position: relative;
    }
    
    .lesson-sidebar {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        max-height: none;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.8);
    }
    
    .lesson-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    /* Botão de fechar o sidebar - apenas mobile */
    .sidebar-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-secondary);
        padding: 0.5rem;
        transition: var(--transition);
    }
    
    .sidebar-close-btn:hover {
        color: var(--text-primary);
    }
    
    .sidebar-close-btn svg {
        stroke-width: 2;
    }
    
    .sidebar-header {
        position: relative;
    }
    
    .lesson-main {
        margin-left: 0;
    }
    
    .course-title {
        font-size: 2rem;
    }
    
    /* Botão flutuante */
    .floating-menu-btn {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        box-shadow: 0 4px 12px rgba(103, 241, 12, 0.3);
        transition: all 0.3s ease;
    }
    
    .floating-menu-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(103, 241, 12, 0.5);
    }
    
    .floating-menu-btn:active {
        transform: scale(0.95);
    }
    
    .floating-menu-btn svg {
        width: 24px;
        height: 24px;
        color: #000;
        stroke-width: 3;
    }
    
    .floating-menu-btn.menu-open svg {
        transform: rotate(45deg);
    }
    
    /* Overlay para fechar menu */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 500;
        display: none;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-content,
    .row-title,
    .slider-container,
    .course-header,
    .course-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .course-card {
        width: 150px;
    }
    
    .login-box {
        padding: 2rem;
    }
}
