        /* --- ESTILOS GERAIS E DE BASE --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        html,
        body {
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
            scroll-behavior: smooth;
        }

        body {
            background: radial-gradient(ellipse at center, #1a0033 0%, #000000 100%);
            position: relative;
            color: #e0e0e0;
        }

        ::-webkit-scrollbar {
            width: 12px;
            background-color: #0a0a0f;
        }

        ::-webkit-scrollbar-track {
            background: #0a0a0f;
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #8b5cf6, #a855f7);
            border-radius: 10px;
            border: 2px solid #0a0a0f;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #a855f7, #8b5cf6);
        }

        .container {
            max-width: 1200px !important;
            padding-left: 15px;
            padding-right: 15px;
        }

        /* --- ESTILOS DO BACKGROUND DO HEADER --- */
        /* .cosmic-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background:
                radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.07) 0%, transparent 50%);
            z-index: -2;
            overflow: hidden;
        } */

        .cosmic-bg{
        position:fixed; inset:0; z-index:-2; overflow:hidden;
        }

        /* limpa qualquer herança que cause “zoom” */
        .cosmic-bg video{
        position:absolute; inset:0; margin:auto;
        min-width:unset; min-height:unset; /* crucial */
        transform:none;                     /* crucial */
        background:#000;                    /* “letterbox” discreto */
        }

        /* MOSTRA TUDO sem cortar */
        .cosmic-bg .fit-contain{
        width:100vw; height:100vh; object-fit:contain;
        }

        /* opcional: gradiente por cima, suaviza as barras */
        .cosmic-bg::after{
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }

        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-image: none;
            z-index: -2;
            overflow: hidden;
            pointer-events: none;
        }

        .rising-bubbles-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            z-index: -1;
            pointer-events: none;
        }

        .bubble {
            position: absolute;
            border-radius: 50%;
            animation: rise 10s linear infinite;
            bottom: -20px;
            opacity: 0;
        }

        @keyframes rise {
            0% {
                transform: translateY(0) translateX(var(--start-x-offset, 0px)) scale(var(--dot-scale, 1));
                opacity: 0;
            }

            20% {
                opacity: var(--max-opacity, 0.6);
            }

            80% {
                opacity: var(--max-opacity-end, 0.1);
            }

            100% {
                transform: translateY(-105vh) translateX(var(--end-x-offset, 0px)) scale(var(--dot-scale, 1));
                opacity: 0;
            }
        }

        .bubble:nth-child(1) {
            width: 3px;
            height: 3px;
            left: 10%;
            animation-duration: 12s;
            animation-delay: 0s;
            background-color: rgba(190, 160, 255, 0.6);
            --max-opacity: 0.5;
            --dot-scale: 1;
            --end-x-offset: 5px;
        }

        .bubble:nth-child(2) {
            width: 2px;
            height: 2px;
            left: 20%;
            animation-duration: 8s;
            animation-delay: 1s;
            background-color: rgba(220, 180, 255, 0.5);
            --max-opacity: 0.4;
            --dot-scale: 0.8;
            --end-x-offset: -7px;
        }

        .bubble:nth-child(3) {
            width: 4px;
            height: 4px;
            left: 30%;
            animation-duration: 15s;
            animation-delay: 2s;
            background-color: rgba(120, 220, 255, 0.4);
            --max-opacity: 0.6;
            --dot-scale: 1.1;
        }

        .bubble:nth-child(4) {
            width: 3px;
            height: 3px;
            left: 40%;
            animation-duration: 7s;
            animation-delay: 0.5s;
            background-color: rgba(255, 150, 220, 0.5);
            --max-opacity: 0.5;
            --dot-scale: 0.9;
            --end-x-offset: 10px;
        }

        .bubble:nth-child(5) {
            width: 2px;
            height: 2px;
            left: 50%;
            animation-duration: 10s;
            animation-delay: 3s;
            background-color: rgba(200, 200, 200, 0.4);
            --max-opacity: 0.3;
            --dot-scale: 1;
            --end-x-offset: -3px;
        }

        .bubble:nth-child(6) {
            width: 3px;
            height: 3px;
            left: 60%;
            animation-duration: 13s;
            animation-delay: 1.5s;
            background-color: rgba(80, 200, 180, 0.4);
            --max-opacity: 0.4;
            --dot-scale: 1.2;
        }

        .bubble:nth-child(7) {
            width: 4px;
            height: 4px;
            left: 70%;
            animation-duration: 9s;
            animation-delay: 2.5s;
            background-color: rgba(170, 130, 245, 0.6);
            --max-opacity: 0.6;
            --dot-scale: 0.8;
            --end-x-offset: 8px;
        }

        .bubble:nth-child(8) {
            width: 2px;
            height: 2px;
            left: 80%;
            animation-duration: 11s;
            animation-delay: 0.2s;
            background-color: rgba(230, 190, 255, 0.5);
            --max-opacity: 0.4;
            --dot-scale: 1;
            --end-x-offset: -10px;
        }

        .bubble:nth-child(9) {
            width: 3px;
            height: 3px;
            left: 90%;
            animation-duration: 14s;
            animation-delay: 1.8s;
            background-color: rgba(100, 200, 240, 0.4);
            --max-opacity: 0.5;
            --dot-scale: 0.9;
        }

        .bubble:nth-child(10) {
            width: 4px;
            height: 4px;
            left: 5%;
            animation-duration: 8.5s;
            animation-delay: 2.2s;
            background-color: rgba(255, 170, 230, 0.5);
            --max-opacity: 0.6;
            --dot-scale: 1.1;
            --end-x-offset: 6px;
        }

        .bubble:nth-child(11) {
            width: 2px;
            height: 2px;
            left: 15%;
            animation-duration: 11.5s;
            animation-delay: 3.5s;
            background-color: rgba(210, 210, 210, 0.3);
            --max-opacity: 0.3;
            --dot-scale: 1;
            --end-x-offset: -9px;
        }

        .bubble:nth-child(12) {
            width: 3px;
            height: 3px;
            left: 25%;
            animation-duration: 7.5s;
            animation-delay: 1.2s;
            background-color: rgba(100, 180, 220, 0.4);
            --max-opacity: 0.4;
            --dot-scale: 1.2;
            --end-x-offset: 12px;
        }

        .bubble:nth-child(13) {
            width: 4px;
            height: 4px;
            left: 35%;
            animation-duration: 16s;
            animation-delay: 4s;
            background-color: rgba(180, 140, 250, 0.6);
            --max-opacity: 0.6;
            --dot-scale: 0.8;
        }

        .bubble:nth-child(14) {
            width: 2px;
            height: 2px;
            left: 45%;
            animation-duration: 9.5s;
            animation-delay: 0.8s;
            background-color: rgba(240, 160, 220, 0.5);
            --max-opacity: 0.5;
            --dot-scale: 1;
            --end-x-offset: -15px;
        }

        .bubble:nth-child(15) {
            width: 3px;
            height: 3px;
            left: 55%;
            animation-duration: 12.5s;
            animation-delay: 2.8s;
            background-color: rgba(60, 180, 160, 0.4);
            --max-opacity: 0.4;
            --dot-scale: 1.1;
            --end-x-offset: 4px;
        }

        .bubble:nth-child(16) {
            width: 4px;
            height: 4px;
            left: 65%;
            animation-duration: 14.5s;
            animation-delay: 1.1s;
            background-color: rgba(200, 170, 255, 0.5);
            --max-opacity: 0.5;
            --dot-scale: 0.9;
        }

        .bubble:nth-child(17) {
            width: 2px;
            height: 2px;
            left: 75%;
            animation-duration: 8.2s;
            animation-delay: 3.2s;
            background-color: rgba(140, 230, 255, 0.4);
            --max-opacity: 0.4;
            --dot-scale: 1;
            --end-x-offset: -6px;
        }

        .bubble:nth-child(18) {
            width: 3px;
            height: 3px;
            left: 85%;
            animation-duration: 10.8s;
            animation-delay: 0.4s;
            background-color: rgba(255, 180, 240, 0.5);
            --max-opacity: 0.5;
            --dot-scale: 1.2;
            --end-x-offset: 11px;
        }

        .bubble:nth-child(19) {
            width: 4px;
            height: 4px;
            left: 95%;
            animation-duration: 13.5s;
            animation-delay: 2.1s;
            background-color: rgba(220, 220, 220, 0.3);
            --max-opacity: 0.3;
            --dot-scale: 0.8;
        }

        .bubble:nth-child(20) {
            width: 2px;
            height: 2px;
            left: 2%;
            animation-duration: 7.8s;
            animation-delay: 1.6s;
            background-color: rgba(160, 120, 230, 0.6);
            --max-opacity: 0.6;
            --dot-scale: 1;
            --end-x-offset: -13px;
        }


        .floating-orb {
            position: fixed;
            border-radius: 50%;
            pointer-events: none;
            z-index: -1;
            max-width: 100px;
            max-height: 100px;
        }

        .orb-purple {
            background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
            animation: floatOrb 15s ease-in-out infinite;
        }

        .orb-green {
            background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
            animation: floatOrb 20s ease-in-out infinite reverse;
        }

        @keyframes floatOrb {

            0%,
            100% {
                transform: translate(0, 0) scale(1);
                opacity: 0.2;
            }

            25% {
                transform: translate(30px, -20px) scale(1.1);
                opacity: 0.4;
            }

            50% {
                transform: translate(-20px, 30px) scale(0.9);
                opacity: 0.3;
            }

            75% {
                transform: translate(20px, 20px) scale(1);
                opacity: 0.35;
            }
        }

        .glow-effect {
            position: fixed;
            top: 50%;
            left: 50%;
            width: 250px;
            height: 250px;
            max-width: 40vw;
            max-height: 40vh;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            animation: pulseGlow 8s ease-in-out infinite;
            z-index: -1;
        }

        @keyframes pulseGlow {

            0%,
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.2;
            }

            50% {
                transform: translate(-50%, -50%) scale(1.15);
                opacity: 0.05;
            }
        }



        /* --- ESTILOS DA PÁGINA DO CURSO SC-300 --- */
        .course-page-section {
            padding: 120px 0 60px;
            position: relative;
            z-index: 1;
        }

        .course-header {
            text-align: left;
            margin-bottom: 3rem;
        }

        .course-title {
  display: inline;                /* vira inline pra fragmentar por linha */
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 .5rem 0;
  
  /* highlight que acompanha cada linha */
  padding: .2rem .7rem;           /* espaço interno da “pílula” */
  background: linear-gradient(135deg, #03787c, #00a19b); /* SharePoint vibe */
  color:#fff;
  border-radius: 12px;

  /* magia pra repetir o fundo e o raio em CADA linha */
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;

  /* toque premium opcional */
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
        }

        .course-subtitle {
    font-size: 1.25rem;                  /* ligeiramente menor p/ hierarquia */
    font-weight: 300;                    /* mais leve, ar elegante */
    color: rgba(255, 255, 255, 0.85);    /* mais claro e limpo */
    margin: 10px 0 1.8rem 0;
    line-height: 1.7;

    /* estilo premium */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* dá contraste sobre vídeo */
    letter-spacing: 0.2px;                      /* um respiro no texto */
        }

        .course-content-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2.5rem;
            align-items: start;
            /* Ajuda a alinhar o topo da sidebar com o topo do conteúdo principal */
        }

        .course-tabs-nav {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            padding: 0.5rem 0.75rem;
            border-radius: 12px;

            /* GLASS EFFECT */
            background: rgba(10, 12, 16, 0.35); /* translúcido escuro */
            backdrop-filter: blur(12px) saturate(140%);
            -webkit-backdrop-filter: blur(12px) saturate(140%);

            /* borda e sombra */
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow:
                0 8px 20px rgba(0,0,0,0.25),
                inset 0 1px 0 rgba(255,255,255,0.05);
        }

        .course-tab-button {
            flex-grow: 1;
            padding: 0.75rem 1rem;
            background-color: transparent;
            border: none;
            color: rgba(220, 220, 220, 0.7);
            font-weight: 500;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
            text-align: center;
        }

        .course-tab-button:hover {
            box-shadow: 0 4px 15px rgba(45, 45, 45, 0.2);
            color: #fff;
        }

        .course-tab-button.active {
            background: linear-gradient(135deg, #03787c, #00a19b);
            color: #fff;
            box-shadow: 0 4px 15px rgba(109, 109, 109, 0.2);
        }

        .course-tab-content {
            display: none;
            padding: 1.5rem;
            border-radius: 12px;
            min-height: 400px; /* mantém altura mínima */

            /* GLASS EFFECT */
            background: rgba(10, 12, 16, 0.35); /* fundo escuro translúcido */
            backdrop-filter: blur(14px) saturate(140%);
            -webkit-backdrop-filter: blur(14px) saturate(140%);

            /* borda e sombra */
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow:
                0 20px 40px rgba(0,0,0,0.35),
                inset 0 1px 0 rgba(255,255,255,0.08);

            animation: fadeIn 0.5s ease;
            color: #f3f4f6; /* texto mais claro */
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .course-tab-content.active {
            display: block;
        }

        .course-tab-content h3 {
            font-size: 1.5rem;
            color: #e0e0e0;
            margin-bottom: 1rem;
            border-bottom: 1px solid rgba(139, 92, 246, 0.2);
            padding-bottom: 0.5rem;
        }

        .course-tab-content p,
        .course-tab-content ul li {
            font-size: 1rem;
            line-height: 1.7;
            color: rgba(220, 220, 220, 0.8);
        }

        .course-tab-content ul:not(.lesson-list) {
            list-style: none;
            padding-left: 0;
        }

        .course-tab-content ul:not(.lesson-list) li {
            padding-left: 1.5rem;
            position: relative;
            margin-bottom: 0.5rem;
        }

        .course-tab-content ul:not(.lesson-list) li::before {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: #8b5cf6;
            position: absolute;
            left: 0;
            top: 2px;
        }

        .module-accordion-item {
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(139, 92, 246, 0.15);
            border-radius: 10px;
            margin-bottom: 0.75rem;
            overflow: hidden;
        }

        .module-accordion-button {
            width: 100%;
            padding: 1rem 1.25rem;
            background-color: transparent;
            border: none;
            text-align: left;
            color: rgba(230, 230, 230, 0.9);
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.2s ease;
        }

        .module-accordion-button:hover {
            background-color: rgba(139, 92, 246, 0.05);
        }

        .module-accordion-button .module-icon {
            font-size: 0.9rem;
            color: #8b5cf6;
            transition: transform 0.3s ease;
        }

        .module-accordion-button.active .module-icon {
            transform: rotate(180deg);
        }

        .module-accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
            padding: 0 1.25rem;
            background-color: rgba(0, 0, 0, 0.1);
        }

        .module-accordion-content.active {
            padding: 0.5rem 1.25rem 0.25rem;
        }

        .lesson-list {
            list-style: none;
            padding: 0;
            margin: 0.5rem 0 0 0;
        }

        .lesson-item {
            display: flex;
            align-items: center;
            padding: 0.85rem 0.85rem;
            border-bottom: 1px solid rgba(139, 92, 246, 0.1);
            transition: background-color 0.2s ease;
        }

        .lesson-item:last-child {
            border-bottom: none;
            margin-bottom: 0.85rem;
        }

        .lesson-item:hover {
            background-color: rgba(139, 92, 246, 0.05);
            border-radius: 6px;
        }

        .lesson-check-icon {
            color: rgba(139, 92, 246, 0.7);
            margin-right: 0.75rem;
            font-size: 0.9rem;
            flex-shrink: 0;
            /* Para não encolher */
        }

        .lesson-title {
            font-size: 0.95rem;
            color: rgba(220, 220, 220, 0.85);
            flex-grow: 1;
            margin-right: 1rem;
        }

        .play-button {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: rgba(220, 220, 220, 0.7);
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .play-button.available {
            background: rgba(16, 185, 129, 0.15);
            border-color: rgba(16, 185, 129, 0.3);
            color: #10b981;
        }

        .play-button.available:hover {
            background: #10b981;
            color: #fff;
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }

        .play-button.locked {
            cursor: not-allowed;
            opacity: 0.6;
        }

        .play-button i {
            line-height: 1;
        }

        .instructor-card {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            padding: 1.5rem;
            background-color: rgba(255, 255, 255, 0.04);
            border-radius: 12px;
        }

        .instructor-avatar img {
            width: 100px;              /* largura */
            height: 100px;             /* altura igual à largura */
            border-radius: 50%;        /* círculo perfeito */
            border: 2px solid #ffffff; /* borda roxa */
            object-fit: cover;         /* garante que a imagem não deforme */
        }

        .instructor-info h4 {
            font-size: 1.3rem;
            color: #fff;
            margin-bottom: 0.3rem;
        }

        .instructor-info .title {
            font-size: 0.9rem;
            color: #a855f7;
            font-weight: 500;
            margin-bottom: 0.75rem;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .testimonial-video-card {
            background-color: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(139, 92, 246, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .testimonial-video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.2);
        }

        .testimonial-video-thumb {
            position: relative;
            cursor: pointer;
            aspect-ratio: 16/9;
        }

        .testimonial-video-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background-color: #2c2c38;
            /* Fundo dark para placeholder */
        }

        .testimonial-video-play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background-color: rgba(20, 20, 30, 0.7);
            backdrop-filter: blur(4px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.3rem;
            transition: background-color 0.3s ease, transform 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .testimonial-video-thumb:hover .testimonial-video-play-button {
            background-color: rgba(139, 92, 246, 0.8);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .testimonial-video-info {
            padding: 1rem;
        }

        .testimonial-video-author {
            font-weight: 600;
            color: #fff;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .testimonial-video-role {
            font-weight: 400;
            color: rgba(220, 220, 220, 0.7);
            font-size: 0.8rem;
        }


/* =======================================================
   NOVO BLOCO DE CUPOM DISCRETO 🧾
   ======================================================= */
.coupon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0.8rem auto;
    font-size: 0.9rem;
    color: rgba(220, 220, 220, 0.85);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px 10px;
    width: fit-content;
    border: 1px dashed rgba(139, 92, 246, 0.4);
    transition: all 0.25s ease;
    cursor: pointer;
}
.coupon-box:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
    transform: scale(1.03);
}
.coupon-box i {
    color: #a855f7;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.coupon-box:hover i {
    color: #c084fc;
}
.coupon-box strong {
    color: #a855f7;
    letter-spacing: 0.5px;
}

/* =======================================================
   TOAST NO CANTO SUPERIOR DIREITO 🔔
   ======================================================= */
.coupon-toast {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(168, 85, 247, 0.95);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
    pointer-events: none;
}
.coupon-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMAÇÕES */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }
@keyframes pulse { 0%,100%{box-shadow:0 0 15px rgba(168,85,247,0.3)} 50%{box-shadow:0 0 25px rgba(168,85,247,0.6)} }


/* =======================================================
   NOVO BLOCO – MENSAGEM FLUTUANTE ABAIXO DO BOTÃO 🟣
   ======================================================= */
.course-note {
    position: relative;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 1rem auto 1.5rem auto;
    animation: floatNote 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
    width:100%
}
.course-note strong {
    color: #a855f7;
}
@keyframes floatNote {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

/* =======================================================
   NOVO BLOCO – TAG FLUTUANTE COM ANIMAÇÃO E EMOJI 💻
   ======================================================= */
.course-status-tag {
    position: absolute;
    top: -25px;
    right: -20px;
    background: linear-gradient(135deg, rgba(139,92,246,0.95), rgba(168,85,247,0.95));
    color: #fff;
    border-radius: 80px 20px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 5px 25px rgba(168,85,247,0.4);
    text-align: center;
    z-index: 10;
    backdrop-filter: blur(8px);
    animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}
.course-status-tag small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(1deg); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(168,85,247,0.3); }
    50% { box-shadow: 0 0 25px rgba(168,85,247,0.6); }
}



        .course-sidebar {
            position: sticky;
            top: 100px;
            padding: 1.5rem;
            background-color: rgba(30, 30, 45, 0.75);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-radius: 15px;
            border: 1px solid rgba(139, 92, 246, 0.2);
            /* Borda original */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: box-shadow 0.4s ease;
            /* Transição apenas para box-shadow */
            align-self: start;
        }

        .course-sidebar:hover {
            /* border-color: rgba(139, 92, 246, 0.2); /* Mantém a cor da borda original ou levemente ajustada */
            box-shadow: 0 0 25px rgba(36, 36, 36, 0.35),
                /* Neon laranja mais sutil */
                0 0 12px rgba(63, 63, 63, 0.2),
                /* Glow interno */
                0 10px 30px rgba(0, 0, 0, 0.25);
            /* Sombra de profundidade existente */
        }

        .course-sidebar-best:hover {
            /* border-color: rgba(139, 92, 246, 0.2); /* Mantém a cor da borda original ou levemente ajustada */
            box-shadow: 0 0 25px rgba(245, 158, 11, 0.35),
                /* Neon laranja mais sutil */
                0 0 12px rgba(245, 158, 11, 0.2),
                /* Glow interno */
                0 10px 30px rgba(0, 0, 0, 0.25);
            /* Sombra de profundidade existente */
        }

        .sidebar-video-thumb {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            margin: 0 auto 1.5rem auto;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
            max-width: 100%;
        }


        /* Imagem */
        .sidebar-video-thumb img {
            width: 100%;
            display: block;
            aspect-ratio: 16/9;
            object-fit: cover;
            background-color: #2c2c38;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        /* Correção: hover aplicado no container, não na imagem */
        .sidebar-video-thumb:hover img {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        /* Botão Play */
        .sidebar-video-play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background-color: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.5rem;
            transition: background-color 0.3s ease, transform 0.3s ease;
            pointer-events: none; /* 👈 impede que o botão interrompa o hover */
        }

        /* Hover no container (mantido o mesmo efeito) */
        .sidebar-video-thumb:hover .sidebar-video-play-button {
            background-color: rgba(139, 92, 246, 0.8);
            transform: translate(-50%, -50%) scale(1.1);
            pointer-events: all; /* 👈 reativa clique somente durante o hover */
        }

        .sidebar-tags-container {
            text-align: left;
            margin-bottom: 1rem;
        }

        .sidebar-tags {
            display: flex;
            gap: 0.75rem;
            margin-top:20px;
            justify-content: flex-start;
            flex-wrap: wrap;
        }

        .sidebar-tag {
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.35rem 0.9rem;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #fff;
            line-height: 1;
            transition: opacity 0.3s ease;
        }

        .tag-popular-sidebar {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
            opacity: 0.7;
        }

        .course-sidebar:hover .tag-popular-sidebar {
            opacity: 1;
        }

        .tag-discount-sidebar {
            background: linear-gradient(135deg, #10b981, #059669);
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        }

        .course-price-box {
            text-align: center;
            margin: 0 auto 1.5rem auto;
            /* Ajustado padding */
            background-color: rgba(40, 40, 55, 0.7);
            /* Levemente mais opaco para o texto */
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 12px;
            border: 1px solid rgba(139, 92, 246, 0.15);
            width: 100%;
            /* MODIFICADO: Ocupa 100% da largura da sidebar */
            /* max-width: 280px; REMOVIDO para permitir width 100% */
            position: relative;
            padding-top: 1rem;
        }

        .course-price-box .tag-discount-sidebar {
            position: absolute;
            top: 10px;
            /* Adjust as needed */
            right: 10px;
            /* Adjust as needed */
            font-size: 0.65rem;
            /* Slightly smaller if needed inside the box */
            padding: 0.3rem 0.7rem;
            z-index: 1;
            /* To ensure it's above other content if overlapping */
            /* Retain other .sidebar-tag and .tag-discount-sidebar styles like background/color/border-radius */
        }

        .course-price-box .original-price {
            font-size: 1rem;
            color: #ff6b6b;
            text-decoration: line-through;
            margin-bottom: 0.25rem;
        }

        .course-price-box .current-price {
            font-size: 2.6rem;
            font-weight: 800;
            margin-bottom: 0.35rem;
            background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
        }

        .course-price-box .installments {
            font-size: 0.9rem;
            color: rgba(220, 220, 220, 0.7);
        }

        /* NOVO: Estilos para a lista de características/benefícios */
        .course-features-list {
            text-align: left;
            /* Alinhamento do texto à esquerda dentro dos itens */
            margin: 0 auto 1.5rem auto;
            padding: 0.5rem 0;
            max-width: 100%;
            /* Ocupa a largura disponível, centralizado pelo margin auto */
        }

        .course-features-list ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .course-features-list li {
            color: rgba(220, 220, 220, 0.9);
            /* Cor do texto um pouco mais clara */
            font-size: 0.9rem;
            /* Tamanho da fonte ajustado */
            margin-bottom: 0.7rem;
            /* Espaçamento entre itens */
            display: flex;
            align-items: center;
            gap: 0.75rem;
            /* Espaço entre ícone e texto */
            font-weight: 500;
            padding: 0.25rem 0;
            /* Pequeno padding vertical para cada item */
        }

        .course-features-list li i {
            color: #a855f7;
            font-size: 1rem;
            /* Tamanho do ícone */
            width: 22px;
            text-align: center;
            flex-shrink: 0;
        }

        .course-features-list li:last-child {
            margin-bottom: 0;
        }

        .sidebar-countdown-timer-course {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(16, 185, 129, 0.08));
            border: 1px solid rgba(139, 92, 246, 0.15);
            border-radius: 12px;
            padding: 1rem;
            margin: 0 auto 1.5rem auto;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            max-width: 300px;
        }

        .sidebar-countdown-timer-course .countdown-text {
            font-size: 0.85rem;
            color: rgba(220, 220, 220, 0.85);
            margin-bottom: 0.6rem;
            display: block;
            font-weight: 500;
        }

        .sidebar-countdown-timer-course .countdown-time {
            display: flex;
            justify-content: center;
            gap: 0.6rem;
            color: #fff;
        }

        .sidebar-countdown-timer-course .countdown-unit {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .sidebar-countdown-timer-course .countdown-number {
            font-size: 1.7rem;
            font-weight: 700;
            line-height: 1.1;
            background: linear-gradient(135deg, #c084fc, #a855f7, #9333ea);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
        }

        .sidebar-countdown-timer-course .countdown-label {
            font-size: 0.7rem;
            color: rgba(220, 220, 220, 0.65);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .sidebar-countdown-timer-course .countdown-separator {
            font-size: 1.4rem;
            line-height: 1.9;
            color: rgba(139, 92, 246, 0.6);
            font-weight: 600;
        }


        .buy-course-button {
            display: block;
            width: 100%;
            margin: 0 auto;
            padding: 0.9rem 1.8rem;
            background: linear-gradient(135deg, #10b981, #059669);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
            margin-bottom: 20px;
        }

        .buy-course-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            background: linear-gradient(135deg, #059669, #10b981);
        }

        .buy-course-button i {
            margin-right: 0.5rem;
        }

        .video-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .video-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .video-modal-content {
            position: relative;
            width: 90%;
            max-width: 800px;
            background: rgba(20, 20, 30, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(139, 92, 246, 0.25);
            border-radius: 18px;
            padding: 1.8rem;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.15), 0 0 40px rgba(139, 92, 246, 0.15);
            transform: scale(0.85) translateY(40px);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            max-height: 85vh;
            overflow-y: auto;
        }

        .video-modal.active .video-modal-content {
            transform: scale(1) translateY(0);
        }

        .video-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid rgba(139, 92, 246, 0.15);
        }

        .video-modal-title {
            color: #fff;
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0;
        }

        .video-modal-close {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(220, 220, 220, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .video-modal-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            transform: scale(1.05) rotate(90deg);
        }

        .video-container-modal {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.2);
        }

        .video-container-modal iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 12px;
        }


        @media (max-width: 1199px) {
            .dropdown-menu-modern {
                width: 85vw;
                max-width: 800px;
                padding: 1.5rem;
                left: -100px;
            }

            .course-content-grid {
                gap: 2rem;
            }

            .testimonials-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }

        @media (max-width: 991px) {
            .dropdown-menu-modern {
                left: -50px;
                display: none !important;
            }

            .navbar-collapse {
                position: static;
                transform: none;
                width: 100%;
            }

            .social-icons {
                position: static;
                justify-content: center;
                margin-top: 1rem;
            }

            .course-page-section {
                padding-top: 100px;
            }

            .course-content-grid {
                grid-template-columns: 1fr;
            }

            .course-sidebar {
                position: static;
                margin-top: 2rem;
                text-align: center;
            }

            .sidebar-tags-container {
                /* Novo: centralizar container das tags em mobile */
                text-align: center;
            }

            .sidebar-tags {
                justify-content: center;
            }

            .course-price-box {
                /* Garantir que a caixa de preço também centralize seu texto interno */
                text-align: center;
            }

            .buy-course-button {
                display: block;
                width: 100%;
                max-width: 300px;
                /* Limitar largura do botão em mobile */
                margin-left: auto;
                margin-right: auto;
            }

            .course-tabs-nav {
                flex-wrap: wrap;
            }

            .course-tab-button {
                flex-basis: calc(50% - 0.25rem);
                font-size: 0.9rem;
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 767px) {
            .dropdown-menu-modern {
                width: 95vw;
            }

            .course-title {
                font-size: 2.2rem;
            }

            .course-subtitle {
                font-size: 1.1rem;
            }

            .course-tab-button {
                flex-basis: 100%;
            }

            .module-accordion-button {
                font-size: 1rem;
            }

            .instructor-card {
                flex-direction: column;
                text-align: center;
            }

            .video-modal-content {
                width: 95%;
                padding: 1.2rem;
            }

            .video-modal-title {
                font-size: 1.1rem;
            }

            .lesson-title {
                font-size: 0.9rem;
            }

            .play-button {
                width: 34px;
                height: 34px;
                font-size: 0.9rem;
            }
        }