/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #141414;
    color: #ffffff;
    line-height: 1.6;
}

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


/* Banner Principal */
/* Container geral */
.hero-carousel {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

/* Cada slide */
.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 50px;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
}

/* Conteúdo */
.banner-content {
    max-width: 600px;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* Botões */
.banner-buttons {
    display: flex;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 15px;
    transition: 0.3s;
    border: none;
}

.btn-primary {
    background: #0099ff;
    color: #fff;
}

.btn-primary:hover {
    background: #007acc;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* Setas */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    z-index: 20;
    user-select: none;
    transition: 0.3s;
}

.carousel-arrow:hover {
    color: #0099ff;
}

.carousel-arrow.left {
    left: 25px;
}

.carousel-arrow.right {
    right: 25px;
}

/* Bolinhas */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.carousel-dots div {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-dots .active {
    background: #0099ff;
}


/* Seções de Cursos */
.section-title {
    font-size: 24px;
    margin: 30px 50px 20px;
    font-weight: 600;
}

.courses-container {
    padding: 0 50px;
    margin-bottom: 50px;
}

.courses-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #0099ff #333;
}

.courses-row::-webkit-scrollbar {
    height: 8px;
}

.courses-row::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}

.courses-row::-webkit-scrollbar-thumb {
    background: #0099ff;
    border-radius: 4px;
}

.course-card {
    min-width: 250px;
    margin-right: 15px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

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

.course-card img {
    /* width: 100%;
    height: 140px; */
    object-fit: cover;
}

.course-info {
    padding: 15px;
    background-color: #2d2d2d;
}

.course-title {
  
   
}

.course-subtitle {
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 600;
}

.course-details {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 10px;
}

.course-price {
    font-size: 18px;
    font-weight: bold;
    color: #0099ff;
}

/* Indicador de Carregamento */
.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #b3b3b3;
    font-style: italic;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #0099ff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    background-color: #000;
    padding: 50px 50px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #0099ff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
    color: #b3b3b3;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-column ul li:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #b3b3b3;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #0099ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #b3b3b3;
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hero-banner {
        padding: 0 20px;
        height: 60vh;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .courses-container, .section-title {
        padding: 0 20px;
    }

    footer {
        padding: 30px 20px 20px;
    }
}





/* pagina de curso */

/* ===== ESTILOS DA PÁGINA DO CURSO ===== */
.course-page {
    padding-top: 80px;
    background-color: #141414;
    min-height: 100vh;
}

.course-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    color: white;
    overflow: hidden;
}

.course-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.course-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.course-title {
 
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.course-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: #b3b3b3;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b3b3b3;
}

.meta-item i {
    color: #0099ff;
}

.course-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    margin-bottom: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #0099ff;
    color: #0099ff;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #0099ff;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.course-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #0099ff;
    font-weight: 600;
}

.course-features {
    margin-top: 2rem;
}

.course-features h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b3b3b3;
}

.feature-item i {
    color: #0099ff;
    font-size: 0.9rem;
}

.curriculum-header {
    background: #2d2d2d;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    color: #b3b3b3;
    border: 1px solid #333;
}

.module {
    border: 1px solid #333;
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #1a1a1a;
}

.module-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.module-header:hover {
    background: #333;
}

.module-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.module-header span {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.lessons-list {
    background: #1a1a1a;
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #333;
    transition: background 0.3s;
}

.lesson-item:hover {
    background: #2d2d2d;
}

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

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

.lesson-info i {
    color: #0099ff;
}

.lesson-title {
    color: #ffffff;
}

.preview-badge {
    background: #0099ff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.lesson-duration {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.instructor-profile {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.instructor-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0099ff;
}

.instructor-info h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.instructor-title {
    color: #0099ff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.instructor-bio {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.instructor-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: #0099ff;
    font-weight: bold;
}

.stat span {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.rating-overview {
    text-align: center;
    padding: 1rem;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #333;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    color: #ffffff;
}

.rating-overview .stars {
    margin: 0.5rem 0;
}

.stars i.active {
    color: #ffc107;
}

.stars i:not(.active) {
    color: #666;
}

.rating-count {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-bar .stars {
    color: #ffc107;
    width: 60px;
    font-size: 0.9rem;
}

.bar {
    flex: 1;
    background: #333;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    background: #ffc107;
    height: 100%;
}

.percentage {
    color: #b3b3b3;
    width: 40px;
    font-size: 0.9rem;
}

.review-item {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #333;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    color: #ffffff;
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
}

.review-rating {
    color: #ffc107;
}

.review-content {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-date {
    color: #666;
    font-size: 0.8rem;
}

.sidebar-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    border: 1px solid #333;
}

.course-video {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    background: #0099ff;
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
    background: #0099ff;
}

.pricing-card {
    padding: 1.5rem;
}

.price {
    margin-bottom: 1.5rem;
    text-align: center;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #0099ff;
    display: block;
}

.original-price {
    text-decoration: line-through;
    color: #b3b3b3;
    font-size: 1.2rem;
}

.includes-list {
    margin-bottom: 1.5rem;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #b3b3b3;
}

.include-item i {
    color: #0099ff;
    width: 20px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b3b3b3;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
    margin-top: 1rem;
}

.guarantee i {
    color: #0099ff;
}

.related-courses {
    margin-top: 2rem;
}

.related-courses h3 {
    margin-bottom: 1rem;
    color: #0099ff;
    font-size: 1.2rem;
}

.related-course-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #2d2d2d;
    border-radius: 4px;
    transition: background 0.3s;
    border: 1px solid #333;
}

.related-course-card:hover {
    background: #333;
}

.related-course-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.related-course-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #ffffff;
}

.related-course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #b3b3b3;
}

.related-course-meta .price {
    color: #0099ff;
    font-weight: bold;
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .course-hero-content {
        padding: 0 20px;
    }

    .course-title {
        font-size: 2rem;
    }

    .course-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .course-actions {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .instructor-profile {
        flex-direction: column;
        text-align: center;
    }

    .instructor-stats {
        justify-content: center;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
    }

    .course-meta {
        gap: 1rem;
    }

    .course-section {
        padding: 1.5rem;
    }
}


/* ===== ESTILOS DA PÁGINA DE CATEGORIAS ===== */
.categories-page {
    padding-top: 80px;
    background-color: #141414;
    min-height: 100vh;
}

.categories-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://unyflex.com.br/storage/fav/BANNER-SE%C3%87%C3%83O-CURSOS-AVA.png');
    background-size: cover;
    background-position: center;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.categories-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.categories-hero-content p {
    font-size: 1.2rem;
    color: #b3b3b3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.featured-categories {
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 500px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card.large {
    grid-row: span 2;
}

.category-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.category-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-overlay p {
    color: #b3b3b3;
    margin-bottom: 1rem;
}

.all-categories {
    padding: 4rem 0;
    background: #1a1a1a;
}

.categories-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.categories-filter .search-box {
    flex: 1;
    min-width: 300px;
    background: #2d2d2d;
    border: 1px solid #333;
}

.filter-select {
    background: #2d2d2d;
    border: 1px solid #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    min-width: 200px;
}

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

.category-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #333;
    transition: background 0.3s;
}

.category-list-item:hover {
    background: #333;
}

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

.category-icon {
    width: 60px;
    height: 60px;
    background: #0099ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-details h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-details p {
    color: #b3b3b3;
    margin-bottom: 1rem;
    max-width: 500px;
}

.category-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b3b3b3;
    font-size: 0.9rem;
}

.stat i {
    color: #0099ff;
}

.categories-cta {
    padding: 4rem 0;
    background: linear-gradient(rgba(229, 9, 20, 0.1), rgba(229, 9, 20, 0.05));
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #b3b3b3;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

   /* Estilos para a mensagem de nenhum resultado */
    .no-results {
        text-align: center;
        padding: 4rem 2rem;
        color: #b3b3b3;
    }

    .no-results i {
        margin-bottom: 1rem;
        color: #666;
    }

    .no-results h3 {
        color: #ffffff;
        margin-bottom: 1rem;
    }

    .no-results p {
        margin-bottom: 2rem;
    }

    /* Melhorar a aparência do campo de busca */
    .search-box {
        transition: all 0.3s ease;
    }

    .search-box:focus {
        border-color: #0099ff;
        box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
    }

    /* Animação suave para os itens */
    .category-list-item {
        transition: all 0.3s ease;
    }
/* Responsividade */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .category-card.large {
        grid-column: span 2;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .categories-hero-content h1 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .category-card.large {
        grid-column: span 1;
        height: 250px;
    }
    
    .category-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .category-info {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .category-stats {
        justify-content: center;
    }
    
    .categories-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .categories-filter .search-box {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .categories-hero {
        height: 30vh;
        min-height: 200px;
    }
    
    .categories-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .category-overlay {
        padding: 1rem;
    }
    
    .category-overlay h3 {
        font-size: 1.2rem;
    }
    
    .category-list-item {
        padding: 1.5rem;
    }
}

/* Estilo exclusivo do accordion do curso */
.accordion-course .accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-course .accordion-item {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

.accordion-course .accordion-header {
    width: 100%;
    text-align: left;
    background-color: #2a2a2a;
    color: #fff;
    padding: 15px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.accordion-course .accordion-header:hover {
    background-color: #383838;
}

.accordion-course .accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #242424;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: white;
    padding: 0 20px;
}

.accordion-course .accordion-content.open {
    max-height: 850px;
    padding: 15px 20px;
}

.accordion-course .accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-course .lesson-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.accordion-course .lesson-title {
    color: white;
    line-height: 1.6;
}

.accordion-course .fas.fa-play-circle {
    color: #00bfff;
    margin-top: 4px;
}





 /* ===== ESTILOS DA PÁGINA DE LISTA CURSOS ===== */
    .courses-page {
        padding-top: 80px;
        background-color: #141414;
        min-height: 100vh;
    }

    .courses-hero {
        background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                    url('https://unyflex.com.br/storage/fav/BANNER-SE%C3%87%C3%83O-CURSOS-AVA.png');
        background-size: cover;
        background-position: center;
        padding: 4rem 2rem;
        text-align: center;
        color: white;
    }

    .courses-hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .courses-hero-content p {
        font-size: 1.2rem;
        color: #b3b3b3;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .main-search {
        max-width: 600px;
        margin: 0 auto;
    }

    .search-container {
        display: flex;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .search-container i {
        padding: 1rem;
        color: #666;
    }

    .search-container input {
        flex: 1;
        border: none;
        padding: 1rem;
        font-size: 1rem;
        outline: none;
    }

    .search-container button {
        border-radius: 0;
    }

    .courses-filters {
        padding: 2rem 0;
        background: #1a1a1a;
        border-bottom: 1px solid #333;
    }

    .filters-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-group label {
        color: #b3b3b3;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .filter-select {
        background: #2d2d2d;
        border: 1px solid #333;
        color: white;
        padding: 0.75rem;
        border-radius: 4px;
        font-size: 0.9rem;
    }

    .filter-actions {
        display: flex;
        gap: 1rem;
        align-items: flex-end;
    }

    .filter-actions .btn {
        white-space: nowrap;
    }

    .quick-filters {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .quick-filter {
        padding: 0.5rem 1rem;
        background: #2d2d2d;
        border: 1px solid #333;
        color: #b3b3b3;
        border-radius: 20px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s;
    }

    .quick-filter:hover,
    .quick-filter.active {
        background: #0099ff;
        color: white;
        border-color: #0099ff;
    }

    .courses-results {
        padding: 3rem 0;
    }

    .results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .view-options {
        display: flex;
        gap: 0.5rem;
        background: #2d2d2d;
        border: 1px solid #333;
        border-radius: 4px;
        padding: 0.25rem;
    }

    .view-btn {
        background: none;
        border: none;
        color: #b3b3b3;
        padding: 0.5rem;
        border-radius: 3px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .view-btn.active {
        background: #0099ff;
        color: white;
    }

    .courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .courses-grid-minha-lista {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
         gap: 2rem;
        margin-bottom: 3rem;
    }

      .courses-grid-categoria {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
           gap: 2rem;
        margin-bottom: 3rem;
      
    }
  
    .course-card:hover {
        transform: translateY(-4px);
        border-color: #0099ff;
    }

    .course-image {
        position: relative;
        height: 180px;
        overflow: hidden;
    }

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

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

    .course-badge {
        position: absolute;
        top: 1rem;
        left: 1rem;
        padding: 0.25rem 0.75rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 600;
        color: white;
    }

    .course-badge.best-seller {
        background: #ffc107;
        color: #000;
    }

    .course-badge.free {
        background: #28a745;
    }

    .course-badge.new {
        background: #0099ff;
    }

    .wishlist-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(0,0,0,0.7);
        border: none;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
    }

    .wishlist-btn:hover {
        background: #0099ff;
        transform: scale(1.1);
    }

    .course-info {
        padding: 1.5rem;
    }

    .course-title {
        color: #ffffff;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        height: 3em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .course-instructor {
        color: #b3b3b3;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .course-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .rating {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: #ffc107;
    }

    .rating-count {
        color: #b3b3b3;
        font-size: 0.8rem;
    }

    .duration {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    .course-price {
        margin-bottom: 1rem;
    }

    .current-price {
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .current-price.free {
        color: #28a745;
    }

    .original-price {
        text-decoration: line-through;
        color: #b3b3b3;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

    .course-actions {
        display: flex;
        gap: 0.5rem;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .pagination {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
    }

    .page-btn {
        background: #2d2d2d;
        border: 1px solid #333;
        color: #b3b3b3;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .page-btn:hover:not(.disabled):not(.active) {
        background: #333;
        color: white;
    }

    .page-btn.active {
        background: #0099ff;
        color: white;
        border-color: #0099ff;
    }

    .page-btn.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .courses-cta {
        padding: 4rem 0;
        background: linear-gradient(rgba(229, 9, 20, 0.1), rgba(229, 9, 20, 0.05));
        text-align: center;
    }

    .cta-content h2 {
        color: #ffffff;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        color: #b3b3b3;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Modo Lista */
    .courses-grid.list-view {
        grid-template-columns: 1fr;
    }

    .courses-grid.list-view .course-card {
        display: flex;
        height: 200px;
    }

    .courses-grid.list-view .course-image {
        width: 300px;
        height: 100%;
        flex-shrink: 0;
    }

    .courses-grid.list-view .course-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .courses-grid.list-view .course-title {
        height: auto;
        -webkit-line-clamp: 2;
    }

    /* Responsividade */
    @media (max-width: 1024px) {
        .filters-container {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .courses-grid {
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .courses-hero {
            padding: 3rem 1rem;
        }

        .courses-hero-content h1 {
            font-size: 2rem;
        }

        .search-container {
            flex-direction: column;
        }

        .search-container button {
            border-radius: 0 0 8px 8px;
        }

        .filters-container {
            grid-template-columns: 1fr;
        }

        .filter-actions {
            justify-content: center;
        }

        .results-header {
            flex-direction: column;
            gap: 1rem;
            align-items: flex-start;
        }

        .courses-grid.list-view .course-card {
            flex-direction: column;
            height: auto;
        }

        .courses-grid.list-view .course-image {
            width: 100%;
            height: 180px;
        }
    }

    @media (max-width: 480px) {
        .courses-grid {
            grid-template-columns: 1fr;
        }

        .quick-filters {
            justify-content: center;
        }

        .course-actions {
            flex-direction: column;
        }
    }




    /* ===== ESTILOS DA PÁGINA DE LISTA CURSOS DA CATEGORIA ===== */
    .category-courses-page {
        padding-top: 80px;
        background-color: #141414;
        min-height: 100vh;
    }

    .category-hero {
        position: relative;
        height: 40vh;
        min-height: 300px;
        color: white;
        overflow: hidden;
    }

    .category-hero-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        background-position: center;
        filter: brightness(0.4);
    }

    .category-hero-content {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .category-title {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .category-description {
        font-size: 1.2rem;
        color: #b3b3b3;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .category-stats {
        display: flex;
        gap: 2rem;
    }

    .stat {
        text-align: center;
    }

    .stat strong {
        display: block;
        font-size: 2rem;
        color: #0099ff;
        font-weight: bold;
    }

    .stat span {
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    .category-filters {
        padding: 2rem 0;
        background: #1a1a1a;
        border-bottom: 1px solid #333;
    }

    .filters-container {
        display: flex;
        gap: 2rem;
        align-items: flex-end;
        flex-wrap: wrap;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-group label {
        color: #b3b3b3;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .filter-select {
        background: #2d2d2d;
        border: 1px solid #333;
        color: white;
        padding: 0.75rem;
        border-radius: 4px;
        font-size: 0.9rem;
        min-width: 200px;
    }

    .category-courses {
        padding: 3rem 0;
    }

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

    .results-header h2 {
        color: #ffffff;
        font-size: 1.5rem;
    }

   

    .course-card {
        background: #1a1a1a;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #333;
        transition: transform 0.3s, border-color 0.3s;
    }

    .course-card:hover {
        transform: translateY(-4px);
        border-color: #0099ff;
    }

    .course-image {
        position: relative;
        height: 180px;
        overflow: hidden;
    }

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

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

    .wishlist-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(0,0,0,0.7);
        border: none;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
    }

    .wishlist-btn:hover {
        background: #0099ff;
        transform: scale(1.1);
    }

    .course-info {
        padding: 1.5rem;
    }

    .course-title {
        color: #ffffff;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        height: 3em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .course-subtitle {
        color: #b3b3b3;
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .course-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .rating {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: #ffc107;
    }

    .rating-count {
        color: #b3b3b3;
        font-size: 0.8rem;
    }

    .duration {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    .course-price {
        margin-bottom: 1rem;
    }

    .current-price {
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .current-price.free {
        color: #28a745;
    }

    .course-actions {
        display: flex;
        gap: 0.5rem;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .no-results {
        text-align: center;
        padding: 4rem 2rem;
        color: #b3b3b3;
    }

    .no-results i {
        margin-bottom: 1rem;
        color: #666;
    }

    .no-results h3 {
        color: #ffffff;
        margin-bottom: 1rem;
    }

    .category-cta {
        padding: 4rem 0;
        background: linear-gradient(rgba(229, 9, 20, 0.1), rgba(229, 9, 20, 0.05));
        text-align: center;
    }

    .cta-content h2 {
        color: #ffffff;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        color: #b3b3b3;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

      /* Estilos para o campo de busca */
    .search-group {
        flex: 1;
        max-width: 400px;
    }

    .search-container-pes {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-container-pes i {
        position: absolute;
        left: 12px;
        color: #b3b3b3;
        z-index: 2;
    }

    .search-input {
        width: 100%;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        background: #2d2d2d;
        border: 1px solid #333;
        color: white;
        border-radius: 4px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .search-input:focus {
        outline: none;
        border-color: #0099ff;
        box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
    }

    .search-input::placeholder {
        color: #666;
    }

    /* Ajustes nos filtros */
    .filters-container {
        display: flex;
        gap: 2rem;
        align-items: flex-end;
        flex-wrap: wrap;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-group label {
        color: #b3b3b3;
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Melhorar responsividade */
    @media (max-width: 768px) {
        .filters-container {
            flex-direction: column;
            align-items: stretch;
        }

        .search-group {
            max-width: none;
        }
    }

    /* Responsividade */
    @media (max-width: 768px) {
        .category-title {
            font-size: 2rem;
        }

        .category-stats {
            flex-direction: column;
            gap: 1rem;
        }

        .filters-container {
            flex-direction: column;
            align-items: stretch;
        }

        .filter-select {
            min-width: auto;
        }

        .courses-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .category-hero {
            height: 30vh;
            min-height: 200px;
        }

        .course-actions {
            flex-direction: column;
        }
    }

   

     /* ===== ESTILOS DA PÁGINA DE CONTATO ===== */
    .contact-page {
        padding-top: 80px;
        background-color: #141414;
        min-height: 100vh;
        color: white;
    }

    .contact-hero {
        background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                    url('https://unyflex.com.br/storage/fav/BANNER-SE%C3%87%C3%83O-CURSOS-AVA.png');
        background-size: cover;
        background-position: center;
        padding: 6rem 2rem;
        text-align: center;
        color: white;
    }

    .contact-hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .contact-hero-content p {
        font-size: 1.2rem;
        color: #b3b3b3;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    /* Grid Principal */
    .contact-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 4rem 2rem;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    /* Formulário de Contato */
    .contact-form-section {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #0099ff;
    }

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

    .form-label {
        display: block;
        margin-bottom: 0.5rem;
        color: #b3b3b3;
        font-weight: 500;
    }

    .form-input, .form-textarea, .form-select {
        width: 100%;
        padding: 0.75rem 1rem;
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 6px;
        color: white;
        font-size: 1rem;
        transition: all 0.3s;
    }

    .form-input:focus, .form-textarea:focus, .form-select:focus {
        outline: none;
        border-color: #0099ff;
        box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.1);
    }

    .form-textarea {
        resize: vertical;
        min-height: 120px;
    }

    .form-select {
        cursor: pointer;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .btn-submit {
        width: 100%;
        padding: 1rem;
        background: #0099ff;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-submit:hover {
        background: #0099ff;
        transform: translateY(-2px);
    }

    .btn-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    /* Informações de Contato */
    .contact-info-section {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2.5rem;
    }

    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .contact-method {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
        background: #2d2d2d;
        border-radius: 8px;
        transition: transform 0.3s;
    }

    .contact-method:hover {
        transform: translateY(-2px);
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        background: #0099ff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .contact-details h4 {
        color: white;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .contact-details p {
        color: #b3b3b3;
        margin-bottom: 0.25rem;
    }

    .contact-link {
        color: #0099ff;
        text-decoration: none;
        font-weight: 500;
    }

    .contact-link:hover {
        text-decoration: underline;
    }

    /* FAQ Section */
    .faq-section {
        margin-top: 4rem;
    }

    .faq-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-category {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .faq-category h3 {
        color: white;
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .faq-category h3 i {
        color: #0099ff;
    }

    .faq-item {
        border-bottom: 1px solid #333;
        margin-bottom: 1rem;
    }

    .faq-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .faq-question {
        width: 100%;
        background: none;
        border: none;
        color: white;
        padding: 1.25rem 0;
        text-align: left;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: color 0.3s;
    }

    .faq-question:hover {
        color: #0099ff;
    }

    .faq-question i {
        transition: transform 0.3s;
        color: #0099ff;
    }

    .faq-question.active i {
        transform: rotate(180deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        color: #b3b3b3;
        line-height: 1.6;
    }

    .faq-answer.active {
        max-height: 500px;
        padding-bottom: 1.5rem;
    }

    .faq-answer ul {
        margin: 0.5rem 0;
        padding-left: 1.5rem;
    }

    .faq-answer li {
        margin-bottom: 0.5rem;
    }

    /* CTA Section */
    .contact-cta {
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
        border-radius: 12px;
        padding: 3rem;
        text-align: center;
        margin-top: 4rem;
    }

    .contact-cta h2 {
        font-size: 2rem;
        color: white;
        margin-bottom: 1rem;
    }

    .contact-cta p {
        color: #b3b3b3;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-cta {
        padding: 1rem 2rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-cta-primary {
        background: #0099ff;
        color: white;
        border: 2px solid #0099ff;
    }

    .btn-cta-primary:hover {
        background: #0099ff;
        border-color: #0099ff;
        transform: translateY(-2px);
    }

    .btn-cta-secondary {
        background: transparent;
        color: white;
        border: 2px solid #666;
    }

    .btn-cta-secondary:hover {
        background: #333;
        border-color: #888;
        transform: translateY(-2px);
    }

    /* Status do Formulário */
    .form-status {
        padding: 1rem;
        border-radius: 6px;
        margin-bottom: 1.5rem;
        display: none;
    }

    .form-status.success {
        background: rgba(40, 167, 69, 0.1);
        border: 1px solid #28a745;
        color: #28a745;
        display: block;
    }

    .form-status.error {
        background: rgba(220, 53, 69, 0.1);
        border: 1px solid #0099ff;
        color: #0099ff;
        display: block;
    }

    /* Responsividade */
    @media (max-width: 968px) {
        .contact-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .contact-hero-content h1 {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 768px) {
        .contact-container {
            padding: 2rem 1rem;
        }

        .contact-hero {
            padding: 4rem 1rem;
        }

        .contact-hero-content h1 {
            font-size: 2rem;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .contact-method {
            flex-direction: column;
            text-align: center;
        }

        .contact-icon {
            align-self: center;
        }

        .cta-buttons {
            flex-direction: column;
        }

        .btn-cta {
            justify-content: center;
        }
    }



        /* ===== ESTILOS DA PÁGINA DE EDITAR PERFIL ===== */
    .profile-edit-page {
        padding-top: 100px;
        background-color: #141414;
        min-height: 100vh;
        color: white;
    }

    .profile-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
    }

    .profile-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .profile-header h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: white;
    }

    .profile-header p {
        color: #b3b3b3;
        font-size: 1.1rem;
    }

    .profile-content {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 3rem;
    }

    /* Sidebar de Navegação */
    .profile-sidebar {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2rem;
        height: fit-content;
    }

    .profile-avatar {
        text-align: center;
        margin-bottom: 2rem;
    }

    .avatar-container {
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .avatar-image {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #0099ff;
    }

    .avatar-upload {
        position: absolute;
        bottom: 5px;
        right: 5px;
        background: #0099ff;
        color: white;
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s;
    }

    .avatar-upload:hover {
        background: #0099ff;
    }

    .user-name {
        font-size: 1.3rem;
        font-weight: 600;
        color: white;
        margin-bottom: 0.5rem;
    }

    .user-email {
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    .profile-nav {
        margin-top: 2rem;
    }

    .nav-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        color: #b3b3b3;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s;
        margin-bottom: 0.5rem;
    }

    .nav-item:hover {
        background: #2d2d2d;
        color: white;
    }

    .nav-item.active {
        background: rgba(229, 9, 20, 0.1);
        color: #0099ff;
        border-left: 3px solid #0099ff;
    }

    .nav-item i {
        width: 20px;
        text-align: center;
    }

    /* Formulário de Edição */
    .profile-form-section {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #0099ff;
    }

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

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .form-label {
        display: block;
        margin-bottom: 0.5rem;
        color: #b3b3b3;
        font-weight: 500;
    }

    .form-input, .form-select {
        width: 100%;
        padding: 0.75rem 1rem;
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 6px;
        color: white;
        font-size: 1rem;
        transition: all 0.3s;
    }

    .form-input:focus, .form-select:focus {
        outline: none;
        border-color: #0099ff;
        box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.1);
    }

    .form-input::placeholder {
        color: #666;
    }

    .form-textarea {
        resize: vertical;
        min-height: 100px;
    }

    .form-helper {
        font-size: 0.8rem;
        color: #666;
        margin-top: 0.25rem;
    }

    /* Botões */
    .form-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #333;
    }

    .btn {
        padding: 0.75rem 2rem;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-primary {
        background: #0099ff;
        color: white;
    }

    .btn-primary:hover {
        background: #0099ff;
        transform: translateY(-2px);
    }

    .btn-outline {
        background: transparent;
        color: #b3b3b3;
        border: 1px solid #666;
    }

    .btn-outline:hover {
        background: #333;
        color: white;
        border-color: #888;
    }

    .btn-danger {
        background: transparent;
        color: #0099ff;
        border: 1px solid #0099ff;
    }

    .btn-danger:hover {
        background: #0099ff;
        color: white;
    }

    /* Status Messages */
    .alert {
        padding: 1rem;
        border-radius: 6px;
        margin-bottom: 2rem;
    }

    .alert-success {
        background: rgba(40, 167, 69, 0.1);
        border: 1px solid #28a745;
        color: #28a745;
    }

    .alert-error {
        background: rgba(220, 53, 69, 0.1);
        border: 1px solid #0099ff;
        color: #0099ff;
    }

    /* Modal de Upload de Avatar */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        align-items: center;
        justify-content: center;
    }

    .modal.active {
        display: flex;
    }

    .modal-content {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2rem;
        max-width: 500px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        display: flex;
        justify-content: between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
        color: white;
        margin: 0;
    }

    .modal-close {
        background: none;
        border: none;
        color: #b3b3b3;
        font-size: 1.5rem;
        cursor: pointer;
        transition: color 0.3s;
    }

    .modal-close:hover {
        color: white;
    }

    .upload-area {
        border: 2px dashed #666;
        border-radius: 8px;
        padding: 3rem 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
        transition: border-color 0.3s;
        cursor: pointer;
    }

    .upload-area:hover {
        border-color: #0099ff;
    }

    .upload-area i {
        font-size: 3rem;
        color: #666;
        margin-bottom: 1rem;
    }

    .upload-text {
        color: #b3b3b3;
        margin-bottom: 0.5rem;
    }

    .upload-hint {
        color: #666;
        font-size: 0.8rem;
    }

    .avatar-preview {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 1rem;
        display: none;
    }

    /* Responsividade */
    @media (max-width: 968px) {
        .profile-content {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .profile-sidebar {
            order: 2;
        }

        .profile-form-section {
            order: 1;
        }
    }

    @media (max-width: 768px) {
        .profile-container {
            padding: 1rem;
        }

        .profile-header h1 {
            font-size: 2rem;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .form-actions {
            flex-direction: column;
        }

        .btn {
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .profile-form-section {
            padding: 1.5rem;
        }

        .avatar-image {
            width: 100px;
            height: 100px;
        }
    }




      /* ===== ESTILOS ESPECÍFICOS DA PÁGINA MEUS CURSOS ===== */
    .my-courses-page {
        padding-top: 100px;
        background-color: #141414;
        min-height: 100vh;
        color: white;
    }

    .my-courses-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .my-courses-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .my-courses-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: white;
        background: linear-gradient(135deg, #0099ff, #ff6b6b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .my-courses-subtitle {
        color: #b3b3b3;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Filtros e Busca */
    .courses-filters {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .filter-group {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .filter-select {
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 6px;
        padding: 0.5rem 1rem;
        color: white;
        cursor: pointer;
        transition: border-color 0.3s;
    }

    .filter-select:focus {
        outline: none;
        border-color: #0099ff;
    }

    .search-box-courses {
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 6px;
        padding: 0.5rem 1rem;
        color: white;
        width: 250px;
        transition: all 0.3s;
    }

    .search-box-courses:focus {
        outline: none;
        border-color: #0099ff;
        width: 300px;
    }

    /* Estatísticas */
    .courses-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .stat-card {
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
        border: 1px solid #333;
        transition: transform 0.3s;
    }

    .stat-card:hover {
        transform: translateY(-5px);
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: bold;
        color: #0099ff;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    /* Grid de Cursos */
    .courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .course-card {
        background: #1a1a1a;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid #333;
        position: relative;
    }

    .course-card:hover {
        transform: translateY(-8px);
        border-color: #0099ff;
        box-shadow: 0 15px 40px rgba(229, 9, 20, 0.2);
    }

    .course-card.featured::before {
        content: 'Destaque';
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: #0099ff;
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 600;
        z-index: 2;
    }

    .course-image {
        width: 100%;
   
        object-fit: cover;
        border-bottom: 1px solid #333;
    }

    .course-content {
        padding: 1.5rem;
    }

    .course-category {
        color: #0099ff;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 0.5rem;
        display: block;
    }

    .course-title {
        font-size: 1.2rem;
        color: white;
        margin-bottom: 1rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .course-instructor {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    /* .instructor-avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
    } */

    .course-progress {
        margin-bottom: 1rem;
    }

    .progress-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
        color: #b3b3b3;
    }

    .progress-bar {
        width: 100%;
        height: 6px;
        background: #333;
        border-radius: 3px;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #0099ff, #ff6b6b);
        border-radius: 3px;
        transition: width 0.3s ease;
    }

    .course-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #333;
    }

    .course-duration, .course-lessons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #b3b3b3;
        font-size: 0.8rem;
    }

    .course-actions {
        display: flex;
        gap: 0.5rem;
    }

    .btn-course {
        padding: 0.5rem 1rem;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .btn-continue {
        background: #0099ff;
        color: white;
    }

    .btn-continue:hover {
        background: #0099ff;
        transform: translateY(-2px);
    }

    .btn-review {
        background: transparent;
        color: #b3b3b3;
        border: 1px solid #666;
    }

    .btn-review:hover {
        background: #333;
        color: white;
    }

    /* Estados do Curso */
    .course-status {
        position: absolute;
        top: 1rem;
        left: 1rem;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 600;
        z-index: 2;
    }

    .status-completed {
        background: #28a745;
        color: white;
    }

    .status-in-progress {
        background: #ffc107;
        color: #000;
    }

    .status-not-started {
        background: #6c757d;
        color: white;
    }

    /* Cursos Concluídos */
    .completed-courses {
        margin-top: 4rem;
    }

    .section-title {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #0099ff;
    }

    /* Empty State */
    .empty-courses {
        text-align: center;
        padding: 4rem 2rem;
        background: #1a1a1a;
        border-radius: 12px;
        border: 2px dashed #333;
    }

    .empty-icon {
        font-size: 4rem;
        color: #666;
        margin-bottom: 1.5rem;
    }

    .empty-title {
        font-size: 1.5rem;
        color: white;
        margin-bottom: 1rem;
    }

    .empty-description {
        color: #b3b3b3;
        margin-bottom: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-explore {
        background: #0099ff;
        color: white;
        padding: 1rem 2rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-explore:hover {
        background: #0099ff;
        transform: translateY(-2px);
    }

    /* Paginação */
    .courses-pagination {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 3rem;
    }

    .pagination-btn {
        padding: 0.75rem 1rem;
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 6px;
        color: #b3b3b3;
        text-decoration: none;
        transition: all 0.3s;
    }

    .pagination-btn:hover {
        background: #0099ff;
        color: white;
        border-color: #0099ff;
    }

    .pagination-btn.active {
        background: #0099ff;
        color: white;
        border-color: #0099ff;
    }

    /* Responsividade */
    @media (max-width: 1024px) {
        .courses-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .my-courses-container {
            padding: 1rem;
        }

        .my-courses-title {
            font-size: 2rem;
        }

        .courses-filters {
            flex-direction: column;
            align-items: stretch;
        }

        .filter-group {
            justify-content: space-between;
        }

        .search-box-courses {
            width: 100%;
        }

        .search-box-courses:focus {
            width: 100%;
        }

        .courses-grid {
            grid-template-columns: 1fr;
        }

        .courses-stats {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 480px) {
        .my-courses-title {
            font-size: 1.8rem;
        }

        .courses-stats {
            grid-template-columns: 1fr;
        }

        .stat-number {
            font-size: 2rem;
        }

        .course-actions {
            flex-direction: column;
        }

        .btn-course {
            justify-content: center;
        }
    }

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

    .course-card {
        animation: fadeInUp 0.6s ease forwards;
    }

    .course-card:nth-child(odd) {
        animation-delay: 0.1s;
    }

    .course-card:nth-child(even) {
        animation-delay: 0.2s;
    }




    
      /* ===== ESTILOS DA PÁGINA DE CHECKOUT ===== */
    .checkout-page {
        padding-top: 80px;
        background-color: #141414;
        min-height: 100vh;
        color: white;
    }

    .checkout-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .checkout-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .checkout-header h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: white;
    }

    .checkout-header p {
        color: #b3b3b3;
        font-size: 1.1rem;
    }

    .checkout-grid {
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: 3rem;
        align-items: start;
    }

    /* Formulário */
    .checkout-form {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2rem;
    }

    .form-section {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.3rem;
        color: white;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #0099ff;
    }

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

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .form-label {
        display: block;
        margin-bottom: 0.5rem;
        color: #b3b3b3;
        font-weight: 500;
    }

    .form-input {
        width: 100%;
        padding: 0.75rem 1rem;
        background: #2d2d2d;
        border: 1px solid #444;
        border-radius: 6px;
        color: white;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

    .form-input:focus {
        outline: none;
        border-color: #0099ff;
    }

    .form-input::placeholder {
        color: #666;
    }

    /* Métodos de Pagamento */
    .payment-methods {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .payment-method {
        position: relative;
    }

    .payment-method input {
        position: absolute;
        opacity: 0;
    }

    .payment-method label {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        background: #2d2d2d;
        border: 2px solid transparent;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
        text-align: center;
    }

    .payment-method input:checked + label {
        border-color: #0099ff;
        background: rgba(229, 9, 20, 0.1);
    }

    .payment-method i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: #b3b3b3;
    }

    .payment-method input:checked + label i {
        color: #0099ff;
    }

    .payment-method span {
        font-size: 0.8rem;
        color: #b3b3b3;
    }

    /* Cartão de Crédito */
    .card-form {
        background: #2d2d2d;
        padding: 1.5rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .card-preview {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        position: relative;
        height: 160px;
    }

    .card-chip {
        width: 40px;
        height: 30px;
        background: linear-gradient(135deg, #ffd700, #ffed4e);
        border-radius: 5px;
        margin-bottom: 1rem;
    }

    .card-number {
        font-size: 1.2rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
        font-family: monospace;
    }

    .card-details {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
    }

    .card-holder, .card-expiry {
        color: rgba(255, 255, 255, 0.9);
    }

    /* Resumo do Pedido */
    .order-summary {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 2rem;
        position: sticky;
        top: 100px;
    }

    .summary-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #333;
    }

    .summary-header h3 {
        color: white;
        font-size: 1.3rem;
    }

    .plan-summary {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #333;
    }

    .plan-icon {
        width: 50px;
        height: 50px;
        background: #0099ff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .plan-info h4 {
        color: white;
        margin-bottom: 0.25rem;
    }

    .plan-info p {
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    .price-breakdown {
        margin-bottom: 1.5rem;
    }

    .price-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.75rem;
        color: #b3b3b3;
    }

    .price-row.total {
        color: white;
        font-weight: 600;
        font-size: 1.1rem;
        padding-top: 1rem;
        border-top: 1px solid #333;
    }

    .price-row.savings {
        color: #28a745;
    }

    .security-badges {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .security-badge {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #b3b3b3;
        font-size: 0.8rem;
    }

    .security-badge i {
        color: #28a745;
    }

    .btn-checkout {
        width: 100%;
        padding: 1rem;
        background: #0099ff;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s;
        margin-bottom: 1rem;
    }

    .btn-checkout:hover {
        background: #0099ff;
    }

    .terms-notice {
        text-align: center;
        color: #666;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .terms-notice a {
        color: #0099ff;
        text-decoration: none;
    }

    .terms-notice a:hover {
        text-decoration: underline;
    }

    /* Garantia */
    .guarantee-banner {
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
        border: 1px solid #333;
        border-radius: 8px;
        padding: 1.5rem;
        margin-top: 1.5rem;
        text-align: center;
    }

    .guarantee-banner i {
        font-size: 2rem;
        color: #28a745;
        margin-bottom: 1rem;
    }

    .guarantee-banner h4 {
        color: white;
        margin-bottom: 0.5rem;
    }

    .guarantee-banner p {
        color: #b3b3b3;
        font-size: 0.9rem;
    }

    /* Responsividade */
    @media (max-width: 968px) {
        .checkout-grid {
            grid-template-columns: 1fr;
        }

        .order-summary {
            position: static;
        }
    }

    @media (max-width: 768px) {
        .checkout-container {
            padding: 1rem;
        }

        .checkout-header h1 {
            font-size: 2rem;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .payment-methods {
            grid-template-columns: repeat(2, 1fr);
        }
    }