        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
            width: 100%;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .main-wrapper {
            width: 100%;
            min-height: 100%;
            overflow-y: auto;
        }

        /* Header Styles */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(15, 15, 35, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffd700;
            text-decoration: none;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #ffd700, #ff8c00);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .nav-menu {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-menu a {
            color: #b8b8d1;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            font-size: 0.95rem;
        }

        .nav-menu a:hover {
            color: #ffd700;
        }

        .hamburger-menu {
            display: none;
            flex-direction: column;
            gap: 0.4rem;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
        }

        .hamburger-menu span {
            width: 25px;
            height: 3px;
            background: #ffd700;
            border-radius: 2px;
            transition: all 0.3s ease;
            display: block;
        }

        .hamburger-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        .mobile-nav {
            display: none;
            position: absolute;
            top: 70px;
            left: 0;
            right: 0;
            background: rgba(15, 15, 35, 0.98);
            backdrop-filter: blur(10px);
            flex-direction: column;
            padding: 2rem;
            gap: 1.5rem;
            border-bottom: 1px solid rgba(255, 215, 0, 0.1);
            z-index: 999;
        }

        .mobile-nav.active {
            display: flex;
        }

        .mobile-nav a {
            color: #b8b8d1;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: color 0.3s ease;
        }

        .mobile-nav a:hover {
            color: #ffd700;
        }

        .header-btn {
            background: linear-gradient(135deg, #ffd700, #ff8c00);
            color: #0f0f23;
            padding: 0.7rem 1.5rem;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .header-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
        }

        /* Hero Section */
        .hero {
            padding: 8rem 2rem 4rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
            animation: pulse 10s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(255, 215, 0, 0.15);
            color: #ffd700;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255, 215, 0, 0.3);
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ff8c00 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: #b8b8d1;
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            background: linear-gradient(135deg, #ffd700, #ff8c00);
            color: #0f0f23;
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: #ffffff;
            padding: 1rem 2.5rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-secondary:hover {
            border-color: #ffd700;
            color: #ffd700;
        }

        /* Stats Section */
        .stats {
            display: flex;
            justify-content: center;
            gap: 4rem;
            padding: 3rem 2rem;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: #ffd700;
            display: block;
        }

        .stat-label {
            color: #b8b8d1;
            font-size: 0.95rem;
        }

        /* Categories Section */
        .categories {
            padding: 4rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #ffffff;
        }

        .section-header p {
            color: #b8b8d1;
            font-size: 1.1rem;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .category-card {
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            cursor: pointer;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ffd700, #ff8c00);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .category-card:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 215, 0, 0.3);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }

        .category-card:hover::before {
            opacity: 1;
        }

        .category-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
        }

        .category-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: #ffffff;
        }

        .category-card p {
            color: #8e8ea8;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .category-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .course-count {
            color: #ffd700;
            font-weight: 600;
            font-size: 0.85rem;
        }

        .category-arrow {
            width: 35px;
            height: 35px;
            background: rgba(255, 215, 0, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffd700;
            transition: all 0.3s ease;
        }

        .category-card:hover .category-arrow {
            background: #ffd700;
            color: #0f0f23;
        }

        /* Featured Courses */
        .featured {
            padding: 4rem 2rem;
            background: rgba(0, 0, 0, 0.2);
        }

        .featured-inner {
            max-width: 1400px;
            margin: 0 auto;
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }

        .course-card {
            background: linear-gradient(145deg, rgba(26, 26, 62, 0.8), rgba(15, 15, 35, 0.9));
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.4s ease;
        }

        .course-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
        }

        .course-thumbnail {
            height: 180px;
            background: linear-gradient(135deg, #2a2a5a, #1a1a3e);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .course-thumbnail::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent);
        }

        .play-icon {
            width: 70px;
            height: 70px;
            background: rgba(255, 215, 0, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: #0f0f23;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .course-card:hover .play-icon {
            transform: scale(1.1);
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
        }

        .course-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .course-badge.bestseller {
            background: linear-gradient(135deg, #ffd700, #ff8c00);
            color: #0f0f23;
        }

        .course-badge.new {
            background: linear-gradient(135deg, #00d9ff, #0099cc);
        }

        .course-content {
            padding: 1.5rem;
        }

        .course-category {
            color: #ffd700;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .course-card h3 {
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: #ffffff;
            line-height: 1.4;
        }

        .course-instructor {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .instructor-avatar {
            width: 35px;
            height: 35px;
            background: linear-gradient(135deg, #ffd700, #ff8c00);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            font-weight: 600;
            color: #0f0f23;
        }

        .instructor-name {
            color: #b8b8d1;
            font-size: 0.85rem;
        }

        .course-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .course-stats {
            display: flex;
            gap: 1rem;
        }

        .course-stat {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            color: #8e8ea8;
            font-size: 0.8rem;
        }

        .course-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: #ffd700;
        }

        .course-price .original {
            font-size: 0.85rem;
            color: #6e6e8a;
            text-decoration: line-through;
            margin-left: 0.5rem;
            font-weight: 400;
        }

        /* Testimonials */
        .testimonials {
            padding: 4rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .testimonial-card {
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            position: relative;
        }

        .testimonial-quote {
            font-size: 3rem;
            color: #ffd700;
            opacity: 0.3;
            position: absolute;
            top: 1rem;
            right: 1.5rem;
        }

        .testimonial-text {
            color: #d1d1e0;
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ffd700, #ff8c00);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: #0f0f23;
        }

        .author-info h4 {
            color: #ffffff;
            font-size: 1rem;
            font-weight: 600;
        }

        .author-info p {
            color: #8e8ea8;
            font-size: 0.85rem;
        }

        .author-earnings {
            color: #00d977;
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: 0.25rem;
        }

        /* CTA Section */
        .cta-section {
            padding: 5rem 2rem;
            text-align: center;
            background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.05));
            position: relative;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
        }

        .cta-content {
            max-width: 700px;
            margin: 0 auto;
        }

        .cta-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #ffffff, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cta-content p {
            color: #b8b8d1;
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        /* Footer */
        .footer {
            background: rgba(0, 0, 0, 0.3);
            padding: 3rem 2rem 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 0.5rem;
        }

        .footer-section a {
            color: #8e8ea8;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #ffd700;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: #6e6e8a;
            font-size: 0.85rem;
        }

        @media (max-width: 768px) {
            .header {
                padding: 1rem;
            }

            .nav-menu {
                display: none;
            }

            .hamburger-menu {
                display: flex;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .stats {
                gap: 2rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .section-header h2 {
                font-size: 1.8rem;
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .cta-content h2 {
                font-size: 1.8rem;
            }
        }

        /* WhatsApp Floating Button */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #25d366, #20ba58);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            transition: all 0.3s ease;
            z-index: 998;
            text-decoration: none;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
        }

        .whatsapp-float svg {
            width: 30px;
            height: 30px;
            fill: #ffffff;
        }

        @media (max-width: 768px) {
            .whatsapp-float {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
            }

            .whatsapp-float svg {
                width: 24px;
                height: 24px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in {
            animation: fadeInUp 0.6s ease forwards;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }




        /* ===== Carousel topo ===== */
.top-carousel {
  padding: 12px 16px 0;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.carousel-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.slide-content h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  line-height: 1.15;
}

.slide-content p {
  margin: 0 0 14px;
  opacity: 0.9;
  max-width: 56ch;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.slide-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.slide-visual {
  display: grid;
  place-items: center;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  height: 100%;
  min-height: 120px;
}

/* Botões do carousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.5);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Dots */
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0 12px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.35);
}

.carousel-dot.is-active {
  background: rgba(255,255,255,0.9);
  width: 18px;
}

/* Responsivo */
@media (max-width: 860px) {
  .carousel-slide {
    grid-template-columns: 1fr;
  }
  .slide-visual {
    min-height: 90px;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
  }
}

/* ===== Cursos por Categoria ===== */
.category-courses-panel {
  margin-top: 1.5rem;
}

.category-courses-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.category-courses-titles h3 {
  font-size: 1.6rem;
  margin: 0;
}

.category-courses-titles p {
  margin: 0.25rem 0 0;
  color: #b8b8d1;
  font-size: 0.95rem;
}

.category-back {
  padding: 0.85rem 1.2rem; /* combina com seu btn-secondary */
}

@media (max-width: 768px) {
  .category-courses-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.course-thumbnail {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #1a1a3e; /* fallback */
}

.course-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* preenche bonito */
  display: block;
  transform: scale(1.02);
}

/* Overlay pra dar contraste no texto/play */
.course-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}

/* garante que badge e play fiquem acima */
.course-badge,
.play-icon {
  position: absolute;
  z-index: 2;
}

.course-badge { top: 15px; left: 15px; }

/* play central */
.play-icon {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.course-link {
  text-decoration: none;
  color: inherit;
  display: block; /* mantém layout igual ao div */
}