/**
 * Estilos globais - Programador do Futuro
 * Design: Holographic Interface - Minority Report Style
 * 
 * Paleta de cores (Pantone):
 * - Cloud Dancer (#F0EDE5): fundo principal (70-80%)
 * - Alaskan Blue (#6BAACC): botões principais, links e ações
 * - Quiet Violet (#9B8AA6): destaques pontuais (máximo 5-8%)
 * - Black Beauty (#212426): textos principais, rodapé
 */

/* Reset e Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F0EDE5;
    color: #212426;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

/* Navbar com efeito holográfico */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(240, 237, 229, 0.98) 0%, rgba(240, 237, 229, 0.92) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 170, 204, 0.15);
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 170, 204, 0.4), transparent);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212426;
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
}

.navbar-logo span {
    color: #6BAACC;
    text-shadow: 0 0 20px rgba(107, 170, 204, 0.3);
}

.navbar .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #212426;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 65ch;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Seções */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title p {
    color: #212426;
    opacity: 0.8;
    margin: 0 auto;
}

/* Botões com efeito holográfico */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    color: #fff;
    box-shadow:
        0 4px 20px rgba(107, 170, 204, 0.35),
        0 0 40px rgba(107, 170, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(107, 170, 204, 0.45),
        0 0 60px rgba(107, 170, 204, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #6BAACC;
    border: 2px solid rgba(107, 170, 204, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(107, 170, 204, 0.1);
    border-color: #6BAACC;
    box-shadow: 0 0 30px rgba(107, 170, 204, 0.2);
}

/* ============================================
   HERO SECTION - Holographic Interface Style
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F0EDE5 0%, #E8E4DC 100%);
}

/* Grid de fundo estilo interface holográfica */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Círculos holográficos flutuantes */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background:
        radial-gradient(circle at 30% 30%, rgba(107, 170, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(155, 138, 166, 0.1) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6BAACC;
    background: rgba(107, 170, 204, 0.1);
    border: 1px solid rgba(107, 170, 204, 0.2);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(107, 170, 204, 0.1);
}

.hero h1 {
    margin-bottom: 1.5rem;
    position: relative;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6BAACC, transparent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: #212426;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero .btn {
    margin-bottom: 1rem;
}

.hero-support {
    font-size: 0.9rem;
    color: #212426;
    opacity: 0.6;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

/* Elemento visual holográfico na Hero */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holographic-panel {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
}

/* Círculos concêntricos holográficos */
.holo-ring {
    position: absolute;
    border: 1px solid rgba(107, 170, 204, 0.3);
    border-radius: 50%;
    animation: pulse-ring 4s ease-in-out infinite;
}

.holo-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.holo-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation-delay: 0.5s;
    border-color: rgba(107, 170, 204, 0.25);
}

.holo-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-delay: 1s;
    border-color: rgba(107, 170, 204, 0.2);
}

.holo-ring:nth-child(4) {
    width: 25%;
    height: 25%;
    top: 37.5%;
    left: 37.5%;
    animation-delay: 1.5s;
    border-color: rgba(155, 138, 166, 0.3);
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.7;
    }
}

/* Linhas de dados holográficas */
.holo-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 170, 204, 0.5), transparent);
    animation: scan-line 3s ease-in-out infinite;
}

.holo-line:nth-child(5) {
    width: 60%;
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.holo-line:nth-child(6) {
    width: 40%;
    top: 50%;
    left: 30%;
    animation-delay: 1s;
}

.holo-line:nth-child(7) {
    width: 50%;
    top: 70%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes scan-line {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Pontos de dados flutuantes */
.holo-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #6BAACC;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(107, 170, 204, 0.6);
    animation: blink 2s ease-in-out infinite;
}

.holo-dot:nth-child(8) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.holo-dot:nth-child(9) {
    top: 40%;
    left: 70%;
    animation-delay: 0.5s;
}

.holo-dot:nth-child(10) {
    top: 60%;
    left: 25%;
    animation-delay: 1s;
}

.holo-dot:nth-child(11) {
    top: 75%;
    left: 65%;
    animation-delay: 1.5s;
}

.holo-dot:nth-child(12) {
    top: 35%;
    left: 50%;
    animation-delay: 0.3s;
    background: #9B8AA6;
    box-shadow: 0 0 10px rgba(155, 138, 166, 0.6);
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Centro do painel holográfico */
.holo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holo-center::before {
    content: '';
    width: 60px;
    height: 60px;
    border: 2px solid rgba(107, 170, 204, 0.4);
    border-radius: 50%;
    animation: rotate-slow 10s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   SEÇÃO MÉTODO - Benefícios do Curso
   ============================================ */
.metodo {
    background: linear-gradient(180deg, #E8E4DC 0%, #F0EDE5 100%);
    position: relative;
    overflow: hidden;
}

.metodo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(107, 170, 204, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(155, 138, 166, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.metodo .container {
    position: relative;
    z-index: 1;
}

.metodo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.metodo-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(107, 170, 204, 0.15);
    transition: all 0.3s ease;
}

.metodo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 170, 204, 0.15);
    border-color: rgba(107, 170, 204, 0.3);
}

.metodo-item .check-icon {
    flex-shrink: 0;
}

.metodo-item span {
    font-size: 1.0625rem;
    font-weight: 500;
    color: #212426;
}

/* Section Header e Footer genéricos */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6);
    border-radius: 2px;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.lead-text {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: #212426;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .metodo-grid {
        grid-template-columns: 1fr;
    }

    .metodo-item {
        padding: 1rem 1.25rem;
    }

    .metodo-item span {
        font-size: 1rem;
    }
}

/* ============================================
   SEÇÃO PROBLEMA - Dark Holographic
   ============================================ */
.problema {
    background: linear-gradient(180deg, #212426 0%, #1a1c1e 100%);
    position: relative;
    overflow: hidden;
}

/* Grid holográfico no fundo escuro */
.problema::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* Glow lateral */
.problema::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.15) 0%, transparent 70%);
    transform: translateY(-50%);
    filter: blur(60px);
}

.problema .container {
    position: relative;
    z-index: 1;
}

.problema-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problema-texto {
    text-align: left;
}

.problema-texto p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.problema-texto p:last-child {
    margin-bottom: 0;
}

.problema-imagem {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

/* Frame holográfico na imagem */
.problema-imagem::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.5) 0%, transparent 50%, rgba(155, 138, 166, 0.5) 100%);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.6;
}

.problema-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.5s ease;
}

.problema-imagem:hover img {
    filter: grayscale(0%) brightness(1);
}

.problema-imagem::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.1) 0%, transparent 50%, rgba(155, 138, 166, 0.1) 100%);
    pointer-events: none;
}

.destaque-texto {
    color: #9B8AA6;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(155, 138, 166, 0.4);
}

/* ============================================
   SEÇÃO VIRADA
   ============================================ */
.virada {
    background-color: #F0EDE5;
    position: relative;
    overflow: hidden;
}

.virada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(107, 170, 204, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(155, 138, 166, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.virada .container {
    position: relative;
    z-index: 1;
}

.virada-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.virada-imagem {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow:
        0 25px 80px rgba(33, 36, 38, 0.12),
        0 0 0 1px rgba(107, 170, 204, 0.1);
}

.virada-imagem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(107, 170, 204, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.virada-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.virada-imagem:hover img {
    transform: scale(1.03);
}

.virada-texto {
    text-align: left;
}

.virada-texto p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.virada-texto p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SEÇÃO APRENDIZADO - Cards Holográficos
   ============================================ */
.aprendizado {
    background: linear-gradient(180deg, #fff 0%, #F8F6F2 100%);
    position: relative;
}

.aprendizado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.aprendizado .container {
    position: relative;
    z-index: 1;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

/* Cards com efeito glassmorphism holográfico */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.25rem;
    border-radius: 20px;
    border: 1px solid rgba(107, 170, 204, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(107, 170, 204, 0.3);
    box-shadow:
        0 20px 60px rgba(107, 170, 204, 0.15),
        0 0 0 1px rgba(107, 170, 204, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    color: #6BAACC;
    filter: drop-shadow(0 0 8px rgba(107, 170, 204, 0.3));
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(107, 170, 204, 0.5));
}

.card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.5;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.75;
}

/* ============================================
   SEÇÃO TRILHA - Timeline Holográfica
   ============================================ */
.trilha {
    background-color: #F0EDE5;
    position: relative;
    overflow: hidden;
}

.trilha::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(107, 170, 204, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.trilha .container {
    position: relative;
    z-index: 1;
}

.trilha-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.trilha-imagem {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow:
        0 25px 80px rgba(33, 36, 38, 0.1),
        0 0 0 1px rgba(107, 170, 204, 0.1);
}

.trilha-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trilha-texto {
    padding-left: 1rem;
}

.trilha-texto h2 {
    margin-bottom: 2.5rem;
    position: relative;
}

.trilha-texto h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #6BAACC, transparent);
}

/* Timeline com estilo holográfico */
.timeline {
    position: relative;
    padding-left: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #6BAACC 0%, #9B8AA6 50%, rgba(155, 138, 166, 0.3) 100%);
    box-shadow: 0 0 10px rgba(107, 170, 204, 0.3);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Marcadores holográficos */
.timeline-marker {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    z-index: 1;
    box-shadow:
        0 4px 20px rgba(107, 170, 204, 0.4),
        0 0 0 4px rgba(107, 170, 204, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(107, 170, 204, 0.3);
    animation: pulse-marker 2s ease-in-out infinite;
}

@keyframes pulse-marker {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow:
        0 6px 30px rgba(107, 170, 204, 0.5),
        0 0 0 6px rgba(107, 170, 204, 0.15);
}

.timeline-content {
    margin-left: 1.75rem;
    padding-top: 0.875rem;
}

.timeline-content p {
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* ============================================
   SEÇÃO PROJETO - Mockup Holográfico
   ============================================ */
.projeto {
    background: linear-gradient(180deg, #fff 0%, #F8F6F2 100%);
    position: relative;
}

.projeto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.projeto-texto h2 {
    margin-bottom: 1.5rem;
    position: relative;
}

.projeto-texto h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #6BAACC, transparent);
}

.projeto-texto p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.projeto-lista {
    list-style: none;
}

.projeto-lista li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    padding: 0.5rem 0;
}

.projeto-lista li::before {
    content: '';
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #6BAACC, #9B8AA6);
    border-radius: 50%;
    margin-right: 1rem;
    box-shadow: 0 0 10px rgba(107, 170, 204, 0.4);
}

/* Mockup com frame holográfico */
.projeto-imagem {
    position: relative;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.5) 0%, rgba(155, 138, 166, 0.5) 100%);
    box-shadow:
        0 30px 80px rgba(33, 36, 38, 0.15),
        0 0 60px rgba(107, 170, 204, 0.1);
}

.projeto-imagem img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 21px;
    display: block;
}

.projeto-imagem-placeholder {
    background: linear-gradient(135deg, #6BAACC 0%, #9B8AA6 100%);
    border-radius: 21px;
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.projeto-imagem-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.projeto-imagem-placeholder span {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SEÇÃO PARA QUEM - Boxes Holográficos
   ============================================ */
.para-quem {
    background-color: #F0EDE5;
    position: relative;
}

.para-quem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(107, 170, 204, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.para-quem .container {
    position: relative;
    z-index: 1;
}

.para-quem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.para-quem-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.75rem;
    border-radius: 24px;
    border: 1px solid rgba(107, 170, 204, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.para-quem-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
}

.para-quem-box.positivo::before {
    background: linear-gradient(90deg, #6BAACC, rgba(107, 170, 204, 0.3));
}

.para-quem-box.negativo::before {
    background: linear-gradient(90deg, #9B8AA6, rgba(155, 138, 166, 0.3));
}

.para-quem-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(33, 36, 38, 0.1);
}

.para-quem-box h3 {
    margin-bottom: 1.75rem;
    font-size: 1.375rem;
}

.para-quem-box.positivo h3 {
    color: #6BAACC;
}

.para-quem-box.negativo h3 {
    color: #9B8AA6;
}

.para-quem-lista {
    list-style: none;
}

.para-quem-lista li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.para-quem-lista li:last-child {
    margin-bottom: 0;
}

.check-icon,
.x-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-right: 1rem;
    margin-top: 2px;
}

.check-icon {
    color: #6BAACC;
    filter: drop-shadow(0 0 4px rgba(107, 170, 204, 0.4));
}

.x-icon {
    color: #9B8AA6;
    filter: drop-shadow(0 0 4px rgba(155, 138, 166, 0.4));
}

/* CTA centralizado abaixo dos cards */
.para-quem-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   SEÇÃO INVESTIMENTO - Pricing Holográfico
   ============================================ */
.investimento {
    background: linear-gradient(180deg, #fff 0%, #F8F6F2 100%);
    position: relative;
    overflow: hidden;
}

.investimento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.investimento .container {
    position: relative;
    z-index: 1;
}

.investimento-box {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 3.5rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(107, 170, 204, 0.15);
    box-shadow:
        0 30px 80px rgba(33, 36, 38, 0.1),
        0 0 0 1px rgba(107, 170, 204, 0.1);
}

/* Borda holográfica animada */
.investimento-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6BAACC, #9B8AA6, #6BAACC);
    background-size: 200% 200%;
    border-radius: 30px;
    z-index: -1;
    animation: gradient-border 4s ease infinite;
    opacity: 0.5;
}

@keyframes gradient-border {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.investimento-box h2 {
    margin-bottom: 2rem;
    position: relative;
}

.preco {
    margin-bottom: 2rem;
}

.preco-valor {
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 700;
    color: #212426;
    display: block;
    line-height: 1.1;
    background: linear-gradient(135deg, #212426 0%, #3a3d40 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preco-parcelas {
    font-size: 1.125rem;
    color: #212426;
    opacity: 0.7;
    margin-top: 0.5rem;
    display: block;
}

.investimento-detalhes {
    margin-bottom: 2.5rem;
}

.investimento-detalhes p {
    margin: 0 auto 0.625rem;
    font-size: 1.0625rem;
    opacity: 0.8;
}

.investimento-box .btn {
    width: 100%;
    padding: 1.375rem 2rem;
    font-size: 1rem;
}

/* ============================================
   SEÇÃO CHAMADA FINAL - Dark Holographic
   ============================================ */
.chamada-final {
    background: linear-gradient(135deg, #212426 0%, #1a1c1e 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Grid holográfico */
.chamada-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Glow central */
.chamada-final::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(60px);
}

.chamada-final .container {
    position: relative;
    z-index: 1;
}

.chamada-final h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.chamada-final p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 3rem;
    font-size: 1.375rem;
}

.chamada-final .btn-primary {
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    box-shadow:
        0 4px 30px rgba(107, 170, 204, 0.4),
        0 0 60px rgba(107, 170, 204, 0.15);
}

.chamada-final .btn-primary:hover {
    box-shadow:
        0 8px 40px rgba(107, 170, 204, 0.5),
        0 0 80px rgba(107, 170, 204, 0.25);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #212426;
    color: rgba(255, 255, 255, 0.5);
    padding: 2.5rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 170, 204, 0.3), transparent);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: #6BAACC;
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ============================================
   FACADE DO VÍDEO
   ============================================ */
.play-button-wrapper {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-facade:hover .play-button-wrapper {
    transform: scale(1.1);
}

.video-facade p {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SEÇÃO AUTORIDADE - Brain Holográfico
   ============================================ */
.autoridade {
    background: linear-gradient(180deg, #F0EDE5 0%, #E8E4DC 100%);
    position: relative;
    overflow: hidden;
}

.autoridade-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.autoridade-content h2 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.autoridade-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6);
}

.autoridade-text-block p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(33, 36, 38, 0.9);
}

.autoridade-text-block .highlight {
    font-weight: 500;
    color: #212426;
    border-left: 3px solid #6BAACC;
    padding-left: 1.5rem;
}

.holo-brain {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(107, 170, 204, 0.2);
    border-radius: 50%;
    animation: rotate-slow 20s linear infinite;
}

.brain-connection {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(107, 170, 204, 0.4), transparent);
    height: 1px;
    width: 100%;
    top: 50%;
    left: 0;
}

.brain-connection.c1 {
    transform: rotate(0deg);
    animation: pulse 3s infinite;
}

.brain-connection.c2 {
    transform: rotate(60deg);
    animation: pulse 3s infinite 1s;
}

.brain-connection.c3 {
    transform: rotate(120deg);
    animation: pulse 3s infinite 2s;
}

.brain-icon {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(107, 170, 204, 0.2);
    border: 1px solid rgba(107, 170, 204, 0.3);
}

/* ============================================
   SEÇÃO PROVA SOCIAL
   ============================================ */
.prova-social {
    background-color: #fff;
    position: relative;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.depoimento-card {
    background: #F8F6F2;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.depoimento-stars {
    color: #FFB800;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.depoimento-texto {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #6BAACC;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.depoimento-autor .nome {
    display: block;
    font-weight: 600;
    color: #212426;
    line-height: 1.2;
}

.depoimento-autor .cargo {
    font-size: 0.8rem;
    opacity: 0.6;
}


/* ============================================
   SEÇÃO FAQ
   ============================================ */
.faq {
    background-color: #F0EDE5;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #6BAACC;
    font-weight: 300;
}

.faq-item details[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    opacity: 0.8;
}

/* Responsividade Adicional */
@media (max-width: 768px) {

    .autoridade-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .holo-brain {
        width: 280px;
        height: 280px;
    }

    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .autoridade-text-block .highlight {
        border-left: none;
        border-top: 3px solid #6BAACC;
        padding-left: 0;
        padding-top: 1rem;
    }
}



/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1::after {
        left: 50%;
        transform: translateX(-50%);
    }


    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-logo {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .navbar .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.7rem;
        width: auto;
        flex-shrink: 0;
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 5rem;
    }

    .problema-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .problema-imagem {
        order: -1;
    }

    .virada-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .virada-imagem {
        order: -1;
    }

    .trilha-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .trilha-imagem {
        order: -1;
    }

    .trilha-texto {
        padding-left: 0;
    }

    .projeto-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .projeto-imagem {
        order: -1;
    }

    .para-quem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 0.9375rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .investimento-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   ANIMAÇÕES DE ENTRADA
   ============================================ */
@media (prefers-reduced-motion: no-preference) {

    .card,
    .para-quem-box {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.7s ease forwards;
    }

    .card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .card:nth-child(6) {
        animation-delay: 0.6s;
    }

    .para-quem-box:nth-child(1) {
        animation-delay: 0.1s;
    }

    .para-quem-box:nth-child(2) {
        animation-delay: 0.2s;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION HEADER E FOOTER (Títulos e Fechamentos)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-header p {
    margin: 0.5rem auto 0;
    max-width: 50ch;
    opacity: 0.9;
}

.problema .section-header h2 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 30px rgba(107, 170, 204, 0.3);
}

.virada .section-header h2 {
    color: #212426;
}

.section-footer {
    text-align: center;
    padding-top: 4rem;
    margin-top: 0;
}

.lead-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 200;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.problema .lead-text {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 20px rgba(107, 170, 204, 0.2);
}

.virada .lead-text {
    color: #212426;
    font-weight: 500;
}

.aprendizado .lead-text {
    color: #212426;
    margin-bottom: 0.75rem;
}

.aprendizado .lead-text:last-child {
    margin-bottom: 0;
}

/* ============================================
   CARDS GRID 3 COLUNAS
   ============================================ */
.cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .cards-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FUTURO LISTA (Seção Trilha Atualizada)
   ============================================ */
.futuro-lista {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.futuro-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(107, 170, 204, 0.15);
    transition: all 0.3s ease;
}

.futuro-item:last-child {
    border-bottom: none;
}

.futuro-item:hover {
    padding-left: 0.5rem;
}

.futuro-titulo {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    color: #212426;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.futuro-descricao {
    font-size: clamp(0.9375rem, 1.8vw, 1rem);
    font-style: italic;
    color: #212426;
    opacity: 0.75;
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ============================================
   LAB - PÁGINAS DE AUTENTICAÇÃO
   ============================================ */
.lab-auth {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.auth-box {
    max-width: 420px;
    width: 100%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow:
        0 4px 24px rgba(107, 170, 204, 0.08),
        0 0 0 1px rgba(107, 170, 204, 0.1);
    text-align: center;
}

.auth-box h1 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #212426;
    margin-bottom: 0.75rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: #212426;
    opacity: 0.7;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.auth-erro {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.auth-sucesso {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-google {
    background: #ffffff;
    color: #212426;
    border: 1px solid rgba(33, 36, 38, 0.2);
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: rgba(33, 36, 38, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-github {
    background: #212426;
    color: #ffffff;
    border: 1px solid #212426;
}

.btn-github:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 36, 38, 0.3);
}

.auth-termos {
    font-size: 0.875rem;
    color: #212426;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.auth-voltar {
    display: inline-block;
    font-size: 0.9375rem;
    color: #6BAACC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-voltar:hover {
    color: #5a99bb;
}

/* Formulário de cadastro */
.auth-form {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212426;
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #dc3545;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #212426;
    background: #ffffff;
    border: 1px solid rgba(33, 36, 38, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6BAACC;
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.15);
}

.form-group input::placeholder {
    color: #212426;
    opacity: 0.4;
}

.form-info {
    font-size: 0.9375rem;
    color: #212426;
    opacity: 0.7;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(107, 170, 204, 0.08);
    border-radius: 6px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   LAB - DASHBOARD (ÁREA PROTEGIDA)
   ============================================ */
.navbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(107, 170, 204, 0.3);
}

.user-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212426;
}

.btn-secondary {
    background: transparent;
    color: #212426;
    border: 1px solid rgba(33, 36, 38, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(33, 36, 38, 0.05);
    border-color: rgba(33, 36, 38, 0.3);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.lab-dashboard {
    padding: 4rem 0;
    min-height: calc(100vh - 160px);
}

.lab-welcome {
    text-align: center;
    margin-bottom: 3rem;
}

.lab-welcome h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #212426;
    margin-bottom: 1rem;
}

.lab-subtitle {
    font-size: 1.125rem;
    color: #212426;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.lab-content {
    max-width: 800px;
    margin: 0 auto;
}

.lab-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 4px 24px rgba(107, 170, 204, 0.08),
        0 0 0 1px rgba(107, 170, 204, 0.1);
}

.lab-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212426;
    margin-bottom: 1rem;
}

.lab-card p {
    font-size: 1rem;
    color: #212426;
    opacity: 0.7;
    line-height: 1.6;
}

/* Responsivo para Lab */
@media (max-width: 768px) {
    .navbar-user .user-name {
        display: none;
    }

    .auth-box {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .lab-card {
        padding: 1.5rem;
    }
}

/* ============================================
   LAB - PÁGINA DE LOGIN APRIMORADA
   ============================================ */
.lab-auth-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F0EDE5 0%, #E8E4DC 50%, #F0EDE5 100%);
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.auth-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.auth-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.auth-glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.25) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite;
}

.auth-glow-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(155, 138, 166, 0.2) 0%, transparent 70%);
    bottom: 10%;
    right: 5%;
    animation: float 12s ease-in-out infinite reverse;
}

.auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.auth-visual {
    text-align: center;
}

.auth-holographic {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
}

.auth-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(107, 170, 204, 0.3);
    animation: pulse-ring 4s ease-in-out infinite;
}

.auth-ring-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.auth-ring-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(107, 170, 204, 0.25);
    animation-delay: 0.5s;
}

.auth-ring-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: rgba(155, 138, 166, 0.3);
    animation-delay: 1s;
}

.auth-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.15) 0%, rgba(155, 138, 166, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 40px rgba(107, 170, 204, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.auth-icon-center svg {
    width: 36px;
    height: 36px;
    color: #6BAACC;
    filter: drop-shadow(0 0 8px rgba(107, 170, 204, 0.4));
}

.auth-visual-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212426;
    margin-bottom: 0.75rem;
}

.auth-visual-text p {
    font-size: 1.0625rem;
    color: #212426;
    opacity: 0.7;
    line-height: 1.6;
}

.auth-box-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow:
        0 20px 60px rgba(33, 36, 38, 0.08),
        0 0 0 1px rgba(107, 170, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.auth-box-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6, #6BAACC);
    background-size: 200% 100%;
    animation: gradient-border 4s ease infinite;
}

.auth-box-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-box-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212426;
    margin-bottom: 0.5rem;
}

.auth-box-enhanced .auth-subtitle {
    font-size: 1rem;
    color: #212426;
    opacity: 0.65;
    margin-bottom: 0;
}

.auth-buttons-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-oauth-enhanced {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-oauth-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-oauth-enhanced:hover::before {
    left: 100%;
}

.btn-google-enhanced {
    background: #ffffff;
    border: 1px solid rgba(33, 36, 38, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-google-enhanced:hover {
    border-color: rgba(107, 170, 204, 0.3);
    box-shadow: 0 4px 16px rgba(107, 170, 204, 0.15);
    transform: translateY(-2px);
}

.btn-microsoft-enhanced {
    background: #ffffff;
    border: 1px solid rgba(33, 36, 38, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-microsoft-enhanced:hover {
    border-color: rgba(0, 164, 239, 0.3);
    box-shadow: 0 4px 16px rgba(0, 164, 239, 0.15);
    transform: translateY(-2px);
}

.btn-oauth-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 237, 229, 0.5);
    border-radius: 8px;
    margin-right: 1rem;
}

.btn-oauth-text {
    flex: 1;
    text-align: left;
}

.btn-oauth-label {
    display: block;
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.6;
    margin-bottom: 0.125rem;
}

.btn-oauth-provider {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #212426;
}

.btn-oauth-arrow {
    color: #212426;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.btn-oauth-enhanced:hover .btn-oauth-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 170, 204, 0.2), transparent);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.8125rem;
    color: #212426;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #212426;
    opacity: 0.7;
}

.auth-feature svg {
    color: #6BAACC;
}

.auth-box-enhanced .auth-termos {
    text-align: center;
    font-size: 0.8125rem;
    color: #212426;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.auth-box-enhanced .auth-termos a {
    color: #6BAACC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-box-enhanced .auth-termos a:hover {
    color: #5a99bb;
}

.auth-voltar-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #6BAACC;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-voltar-enhanced:hover {
    color: #5a99bb;
}

.auth-voltar-enhanced:hover svg {
    transform: translateX(-4px);
}

.auth-voltar-enhanced svg {
    transition: transform 0.3s ease;
}

.auth-box-enhanced .auth-erro {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.auth-box-enhanced .auth-erro svg {
    flex-shrink: 0;
}

/* Responsivo para Auth Hero */
@media (max-width: 900px) {
    .auth-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 480px;
    }

    .auth-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .lab-auth-hero {
        padding: 5rem 1rem 3rem;
    }

    .auth-box-enhanced {
        padding: 2rem 1.5rem;
    }

    .auth-features {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .btn-oauth-enhanced {
        padding: 0.875rem 1rem;
    }
}

/* ============================================
   LAB - PÁGINA DE COMPLETAR CADASTRO
   ============================================ */
.auth-user-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(107, 170, 204, 0.08);
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.auth-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(107, 170, 204, 0.3);
}

.auth-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.2) 0%, rgba(155, 138, 166, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-avatar-placeholder svg {
    width: 18px;
    height: 18px;
    color: #6BAACC;
}

.auth-user-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212426;
}

.auth-form-enhanced {
    margin-bottom: 1.5rem;
}

.form-group-enhanced {
    margin-bottom: 1.5rem;
}

.form-group-enhanced label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212426;
    margin-bottom: 0.625rem;
}

.form-group-enhanced label svg {
    color: #6BAACC;
}

.form-group-enhanced .required {
    color: #dc3545;
}

.form-group-enhanced input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #212426;
    background: #ffffff;
    border: 1px solid rgba(33, 36, 38, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group-enhanced input:focus {
    outline: none;
    border-color: #6BAACC;
    box-shadow: 0 0 0 4px rgba(107, 170, 204, 0.12);
}

.form-group-enhanced input::placeholder {
    color: #212426;
    opacity: 0.35;
}

.form-hint {
    display: block;
    font-size: 0.8125rem;
    color: #212426;
    opacity: 0.5;
    margin-top: 0.5rem;
    padding-left: 0.25rem;
}

.form-info-enhanced {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(107, 170, 204, 0.06);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.form-info-enhanced svg {
    color: #6BAACC;
    flex-shrink: 0;
}

.form-info-label {
    display: block;
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.form-info-value {
    display: block;
    font-size: 0.9375rem;
    color: #212426;
    font-weight: 500;
}

.btn-submit-enhanced {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 20px rgba(107, 170, 204, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-submit-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-submit-enhanced:hover::before {
    left: 100%;
}

.btn-submit-enhanced:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(107, 170, 204, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-submit-enhanced:active {
    transform: translateY(0);
}

.btn-submit-enhanced svg {
    transition: transform 0.3s ease;
}

.btn-submit-enhanced:hover svg {
    transform: translateX(4px);
}

.auth-sucesso-enhanced {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.auth-sucesso-enhanced svg {
    flex-shrink: 0;
}

/* ============================================
   LAB - PÁGINA PRINCIPAL DO CURSO
   ============================================ */
.lab-body {
    background: linear-gradient(180deg, #F0EDE5 0%, #E8E4DC 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar do Lab */
.lab-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
    padding: 0.875rem 0;
}

.lab-navbar .container {
    max-width: none;
    margin: 0;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lab-navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #212426;
    font-size: 1.125rem;
    font-weight: 600;
}

.lab-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(107, 170, 204, 0.3);
}

.lab-logo-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.lab-navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.lab-progress-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lab-progress-text {
    font-size: 0.8125rem;
    color: #212426;
    opacity: 0.7;
    font-weight: 500;
}

.lab-progress-bar-mini {
    width: 120px;
    height: 6px;
    background: rgba(107, 170, 204, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.lab-progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.lab-navbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lab-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(107, 170, 204, 0.3);
}

.lab-user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.2) 0%, rgba(155, 138, 166, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-user-avatar-placeholder svg {
    width: 20px;
    height: 20px;
    color: #6BAACC;
}

.lab-user-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.lab-user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212426;
}

.lab-user-logout {
    font-size: 0.75rem;
    color: #6BAACC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lab-user-logout:hover {
    color: #5a99bb;
}

/* Hero do Lab */
.lab-hero {
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.lab-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.lab-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 70%);
}

.lab-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.lab-hero-glow-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.2) 0%, transparent 70%);
    top: 0;
    right: 10%;
}

.lab-hero-glow-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(155, 138, 166, 0.15) 0%, transparent 70%);
    bottom: 0;
    left: 5%;
}

.lab-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.lab-hero-text {
    max-width: 500px;
}

.lab-hero-greeting {
    font-size: 0.9375rem;
    color: #6BAACC;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.lab-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #212426;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.lab-hero-subtitle {
    font-size: 1rem;
    color: #212426;
    opacity: 0.7;
    line-height: 1.6;
}

.lab-hero-stats {
    display: flex;
    gap: 1rem;
}

.lab-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(107, 170, 204, 0.1);
    box-shadow: 0 4px 20px rgba(33, 36, 38, 0.05);
}

.lab-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.15) 0%, rgba(107, 170, 204, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-stat-icon svg {
    width: 24px;
    height: 24px;
    color: #6BAACC;
}

.lab-stat-icon-violet {
    background: linear-gradient(135deg, rgba(155, 138, 166, 0.15) 0%, rgba(155, 138, 166, 0.05) 100%);
}

.lab-stat-icon-violet svg {
    color: #9B8AA6;
}

.lab-stat-info {
    display: flex;
    flex-direction: column;
}

.lab-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212426;
}

.lab-stat-label {
    font-size: 0.8125rem;
    color: #212426;
    opacity: 0.6;
}

/* Barra de Progresso */
.lab-progress-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(107, 170, 204, 0.1);
    position: relative;
    z-index: 1;
}

.lab-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.lab-progress-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212426;
}

.lab-progress-percent {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6BAACC;
}

.lab-progress-bar {
    height: 10px;
    background: rgba(107, 170, 204, 0.12);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.lab-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6);
    border-radius: 5px;
    position: relative;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lab-progress-glow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Seção do Curso */
.lab-course {
    padding: 3rem 0;
}

.lab-course-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.lab-course-header h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #212426;
    margin-bottom: 0.5rem;
}

.lab-course-header p {
    font-size: 1rem;
    color: #212426;
    opacity: 0.7;
}

/* Módulos */
.lab-modules {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lab-module {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(107, 170, 204, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.lab-module:hover {
    box-shadow: 0 8px 30px rgba(33, 36, 38, 0.08);
}

.lab-module-locked {
    opacity: 0.7;
}

.lab-module-locked .lab-module-header {
    cursor: default;
}

.lab-module-complete .lab-module-number {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.lab-module-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lab-module-header:hover {
    background: rgba(107, 170, 204, 0.03);
}

.lab-module-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(107, 170, 204, 0.3);
}

.lab-module-number svg {
    width: 24px;
    height: 24px;
}

.lab-module-locked .lab-module-number {
    background: linear-gradient(135deg, #9B8AA6 0%, #8a7a95 100%);
    box-shadow: 0 4px 15px rgba(155, 138, 166, 0.3);
}

.lab-module-info {
    flex: 1;
}

.lab-module-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212426;
    margin-bottom: 0.25rem;
}

.lab-module-info p {
    font-size: 0.9375rem;
    color: #212426;
    opacity: 0.65;
    margin-bottom: 0.5rem;
}

.lab-module-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lab-module-lessons {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6BAACC;
    font-weight: 500;
}

.lab-module-progress-text {
    font-size: 0.8125rem;
    color: #28a745;
    font-weight: 500;
}

.lab-module-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lab-status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lab-status-complete {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.lab-status-progress {
    background: rgba(107, 170, 204, 0.1);
    color: #6BAACC;
}

.lab-status-locked {
    background: rgba(155, 138, 166, 0.1);
    color: #9B8AA6;
}

.lab-module-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #212426;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.lab-module-open .lab-module-toggle {
    transform: rotate(180deg);
}

.lab-module-header:hover .lab-module-toggle {
    opacity: 0.7;
}

/* Conteúdo do Módulo (Aulas) */
.lab-module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.lab-module-open .lab-module-content {
    max-height: 1000px;
}

.lab-lessons {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lab-lesson {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(240, 237, 229, 0.5);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lab-lesson:hover {
    background: rgba(107, 170, 204, 0.08);
    transform: translateX(4px);
}

.lab-lesson-complete {
    background: rgba(40, 167, 69, 0.05);
}

.lab-lesson-status {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-lesson-status svg {
    width: 24px;
    height: 24px;
    color: #6BAACC;
}

.lab-lesson-complete .lab-lesson-status svg {
    color: #28a745;
}

.lab-lesson-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lab-lesson-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #212426;
}

.lab-lesson-duration {
    font-size: 0.8125rem;
    color: #212426;
    opacity: 0.5;
}

.lab-lesson-arrow {
    color: #212426;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.lab-lesson:hover .lab-lesson-arrow {
    opacity: 0.7;
    transform: translateX(4px);
}

/* Seção de Suporte */
.lab-support {
    padding: 3rem 0 4rem;
}

.lab-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lab-support-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(107, 170, 204, 0.1);
    transition: all 0.3s ease;
}

.lab-support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(33, 36, 38, 0.08);
}

.lab-support-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.15) 0%, rgba(107, 170, 204, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.lab-support-icon svg {
    width: 28px;
    height: 28px;
    color: #6BAACC;
}

.lab-support-icon-violet {
    background: linear-gradient(135deg, rgba(155, 138, 166, 0.15) 0%, rgba(155, 138, 166, 0.05) 100%);
}

.lab-support-icon-violet svg {
    color: #9B8AA6;
}

.lab-support-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212426;
    margin-bottom: 0.5rem;
}

.lab-support-card p {
    font-size: 0.9375rem;
    color: #212426;
    opacity: 0.65;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.lab-support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6BAACC;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lab-support-link:hover {
    color: #5a99bb;
}

.lab-support-link:hover svg {
    transform: translateX(4px);
}

.lab-support-link svg {
    transition: transform 0.3s ease;
}

/* Footer do Lab */
.lab-footer {
    background: #212426;
    padding: 2rem 0;
}

.lab-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lab-footer p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.lab-footer-links {
    display: flex;
    gap: 1.5rem;
}

.lab-footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lab-footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SIDEBAR DO LAB - Menu Lateral
   ============================================ */

/* Botão hamburguer na navbar */
.lab-navbar-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #212426;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lab-navbar-toggle:hover {
    background: rgba(107, 170, 204, 0.1);
}

.lab-navbar-toggle svg {
    width: 24px;
    height: 24px;
}

/* Overlay do sidebar */
.lab-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 36, 38, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lab-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Sidebar principal */
.lab-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(107, 170, 204, 0.1);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.lab-sidebar.open {
    transform: translateX(0);
}

/* Informações do usuário no sidebar */
.lab-sidebar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.08) 0%, rgba(155, 138, 166, 0.05) 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.lab-sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(107, 170, 204, 0.3);
}

.lab-sidebar-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BAACC 0%, #9B8AA6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
}

.lab-sidebar-user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lab-sidebar-user-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212426;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lab-sidebar-user-email {
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navegação do sidebar */
.lab-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.lab-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #212426;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lab-sidebar-link svg {
    width: 20px;
    height: 20px;
    color: #6BAACC;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.lab-sidebar-link:hover {
    background: rgba(107, 170, 204, 0.1);
}

.lab-sidebar-link:hover svg {
    color: #5a9bc0;
}

.lab-sidebar-link.active {
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.15) 0%, rgba(107, 170, 204, 0.08) 100%);
    color: #6BAACC;
}

.lab-sidebar-link.active svg {
    color: #6BAACC;
}

/* Footer do sidebar */
.lab-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(107, 170, 204, 0.1);
    flex-shrink: 0;
}

.lab-sidebar-logout {
    color: #212426;
    opacity: 0.7;
}

.lab-sidebar-logout:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    opacity: 1;
}

.lab-sidebar-logout:hover svg {
    color: #dc3545;
}

/* Desktop: sidebar sempre visível */
@media (min-width: 1025px) {
    .lab-sidebar {
        transform: translateX(0);
        top: 60px;
        height: calc(100vh - 60px);
    }

    .lab-sidebar-overlay {
        display: none;
    }

    .lab-navbar-toggle {
        display: none;
    }

    /* Ajustar conteúdo principal e footer para dar espaço ao sidebar */
    .lab-body .lab-main,
    .lab-body .lab-footer {
        margin-left: 280px;
    }

    /* Conteúdo principal das páginas internas do Lab */
    .lab-body .lab-main {
        padding-top: 80px;
        flex-grow: 1;
    }
}

/* Responsivo para Lab */
@media (max-width: 1024px) {

    /* Mostrar botão hamburguer no mobile/tablet */
    .lab-navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lab-hero-content {
        flex-direction: column;
    }

    .lab-hero-stats {
        width: 100%;
    }

    .lab-stat-card {
        flex: 1;
    }

    /* Conteúdo principal das páginas internas do Lab (mobile/tablet) */
    .lab-body .lab-main {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .lab-navbar-center {
        display: none;
    }

    .lab-user-dropdown {
        display: none;
    }

    .lab-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .lab-hero-stats {
        flex-direction: column;
    }

    .lab-module-header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .lab-module-status {
        width: 100%;
        justify-content: flex-end;
        padding-left: 4rem;
    }

    .lab-support-grid {
        grid-template-columns: 1fr;
    }

    .lab-footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .lab-module-number {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
    }

    .lab-module-info h3 {
        font-size: 1rem;
    }

    .lab-lesson {
        padding: 0.875rem 1rem;
    }
}

/* ============================================
   STUB PAGES - Páginas em desenvolvimento
   ============================================ */
.lab-stub-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F0EDE5 0%, #E8E4DC 100%);
}

.lab-stub-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.lab-stub-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.lab-stub-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.lab-stub-glow-1 {
    top: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.2) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.lab-stub-glow-2 {
    bottom: 10%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(155, 138, 166, 0.15) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

.lab-stub-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.lab-stub-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(107, 170, 204, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 40px rgba(107, 170, 204, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: pulse-subtle 3s ease-in-out infinite;
}

@keyframes pulse-subtle {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 10px 40px rgba(107, 170, 204, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    }

    50% {
        transform: scale(1.02);
        box-shadow:
            0 15px 50px rgba(107, 170, 204, 0.25),
            0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    }
}

.lab-stub-icon svg {
    width: 48px;
    height: 48px;
    color: #6BAACC;
    filter: drop-shadow(0 0 10px rgba(107, 170, 204, 0.3));
}

.lab-stub-page h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: #212426;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.lab-stub-description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #212426;
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.lab-stub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(155, 138, 166, 0.1);
    border: 1px solid rgba(155, 138, 166, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9B8AA6;
    margin-bottom: 2.5rem;
}

.lab-stub-badge-dot {
    width: 8px;
    height: 8px;
    background: #9B8AA6;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.lab-stub-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lab-stub-btn svg {
    transition: transform 0.3s ease;
}

.lab-stub-btn:hover svg {
    transform: translateX(-4px);
}

/* Responsividade Stub Pages */
@media (max-width: 768px) {
    .lab-stub-page {
        padding: 6rem 0 4rem;
    }

    .lab-stub-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .lab-stub-icon svg {
        width: 40px;
        height: 40px;
    }

    .lab-stub-glow-1,
    .lab-stub-glow-2 {
        width: 200px;
        height: 200px;
    }
}

/* ============================================
   SIDEBAR - SEÇÃO DE ADMINISTRAÇÃO
   ============================================ */

.lab-sidebar-section {
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(107, 170, 204, 0.15);
    flex-shrink: 0;
}

.lab-sidebar-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9B8AA6;
}

.lab-sidebar-section-title svg {
    color: #9B8AA6;
}

.lab-sidebar-nav-admin .lab-sidebar-link {
    position: relative;
}

.lab-sidebar-nav-admin .lab-sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #9B8AA6, #6BAACC);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.lab-sidebar-nav-admin .lab-sidebar-link.active::before,
.lab-sidebar-nav-admin .lab-sidebar-link:hover::before {
    height: 60%;
}

/* ============================================
   ADMIN - HERO SECTION
   ============================================ */

.admin-hero {
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F0EDE5 0%, #E8E4DC 100%);
}

.admin-hero-compact {
    padding: 2rem 0 1rem;
}

.admin-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.admin-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 170, 204, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 170, 204, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.admin-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.admin-hero-glow-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: 10%;
    background: radial-gradient(circle, rgba(155, 138, 166, 0.2) 0%, transparent 70%);
}

.admin-hero-glow-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: 5%;
    background: radial-gradient(circle, rgba(107, 170, 204, 0.15) 0%, transparent 70%);
}

.admin-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.admin-hero-text {
    flex: 1;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(155, 138, 166, 0.1);
    border: 1px solid rgba(155, 138, 166, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9B8AA6;
    margin-bottom: 1rem;
}

.admin-badge svg {
    color: #9B8AA6;
}

.admin-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #212426;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.admin-hero-subtitle {
    font-size: 1rem;
    color: #212426;
    opacity: 0.7;
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.admin-breadcrumb a {
    color: #6BAACC;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.admin-breadcrumb a:hover {
    opacity: 0.7;
}

.admin-breadcrumb svg {
    color: #212426;
    opacity: 0.4;
}

.admin-breadcrumb span {
    color: #212426;
    opacity: 0.6;
}

/* ============================================
   ADMIN - MÉTRICAS
   ============================================ */

.admin-metrics {
    padding: 2rem 0 3rem;
    margin-top: -1rem;
    position: relative;
    z-index: 2;
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.admin-metric-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(107, 170, 204, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6BAACC, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-metric-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(107, 170, 204, 0.15);
}

.admin-metric-card:hover::before {
    opacity: 1;
}

.admin-metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(107, 170, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.admin-metric-icon svg {
    width: 24px;
    height: 24px;
    color: #6BAACC;
}

.admin-metric-icon-violet {
    background: rgba(155, 138, 166, 0.1);
}

.admin-metric-icon-violet svg {
    color: #9B8AA6;
}

.admin-metric-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #212426;
    line-height: 1.1;
}

.admin-metric-label {
    font-size: 0.875rem;
    color: #212426;
    opacity: 0.6;
}

.admin-metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-metric-trend-up {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.admin-metric-trend-down {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.admin-metric-secondary {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #212426;
    opacity: 0.5;
}

/* ============================================
   ADMIN - PAINÉIS DE DETALHES
   ============================================ */

.admin-details {
    padding: 0 0 4rem;
}

.admin-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.admin-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(107, 170, 204, 0.08);
    overflow: hidden;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-panel-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #212426;
}

.admin-panel-header h3 svg {
    color: #6BAACC;
}

.admin-panel-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6BAACC;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.admin-panel-link:hover {
    opacity: 0.7;
}

.admin-panel-content {
    padding: 1rem 1.5rem;
}

.admin-panel-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(107, 170, 204, 0.1);
    background: rgba(107, 170, 204, 0.02);
}

/* Lista de Usuários */
.admin-users-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.admin-user-item:hover {
    background: rgba(107, 170, 204, 0.05);
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6BAACC 0%, #9B8AA6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.admin-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.admin-user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212426;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-email {
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-date {
    font-size: 0.7rem;
    color: #212426;
    opacity: 0.4;
    white-space: nowrap;
}

/* Lista de Cursos no Painel */
.admin-courses-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.admin-course-item:hover {
    background: rgba(107, 170, 204, 0.05);
}

.admin-course-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.admin-course-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212426;
}

.admin-course-students {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.5;
}

.admin-course-status {
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-course-status-ativo {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.admin-course-status-rascunho {
    background: rgba(107, 170, 204, 0.1);
    color: #6BAACC;
}

/* ============================================
   ADMIN - AÇÕES RÁPIDAS
   ============================================ */

.admin-actions {
    padding: 0 0 4rem;
}

.admin-actions-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212426;
    margin-bottom: 1.5rem;
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.admin-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(107, 170, 204, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-action-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(107, 170, 204, 0.2);
}

.admin-action-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.1) 0%, rgba(155, 138, 166, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.admin-action-card:hover .admin-action-icon {
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.2) 0%, rgba(155, 138, 166, 0.2) 100%);
}

.admin-action-icon svg {
    width: 24px;
    height: 24px;
    color: #6BAACC;
}

.admin-action-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212426;
}

/* ============================================
   ADMIN - MODERAÇÃO DE COMENTÁRIOS
   ============================================ */

.moderacao-vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 5rem 2rem;
    text-align: center;
    color: #212426;
    opacity: 0.5;
}

.moderacao-vazio svg {
    width: 56px;
    height: 56px;
    color: #6BAACC;
    opacity: 0.6;
}

.moderacao-vazio h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.moderacao-vazio p {
    font-size: 0.95rem;
    margin: 0;
}

.moderacao-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(107, 170, 204, 0.08);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.moderacao-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(107, 170, 204, 0.15);
}

/* --- Header --- */
.moderacao-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(107, 170, 204, 0.08);
}

.moderacao-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6BAACC 0%, #9B8AA6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.moderacao-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moderacao-avatar span {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.moderacao-autor {
    flex: 1;
    min-width: 0;
}

.moderacao-autor-nome {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212426;
    margin: 0 0 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moderacao-autor-meta {
    font-size: 0.78rem;
    color: #212426;
    opacity: 0.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moderacao-data {
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.4;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- Body --- */
.moderacao-card-body {
    padding: 1.25rem 1.5rem;
}

.moderacao-contexto {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.moderacao-contexto-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(107, 170, 204, 0.08);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #6BAACC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.moderacao-contexto-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.moderacao-conteudo {
    font-size: 0.9rem;
    color: #212426;
    line-height: 1.65;
    word-break: break-word;
}

/* --- Footer --- */
.moderacao-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(107, 170, 204, 0.08);
    background: rgba(107, 170, 204, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.moderacao-resposta-wrapper {
    width: 100%;
}

.moderacao-resposta-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid rgba(107, 170, 204, 0.2);
    border-radius: 10px;
    font-size: 0.875rem;
    color: #212426;
    line-height: 1.5;
    resize: none;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.moderacao-resposta-input::placeholder {
    color: #212426;
    opacity: 0.35;
}

.moderacao-resposta-input:focus {
    outline: none;
    border-color: rgba(107, 170, 204, 0.5);
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.1);
}

.moderacao-acoes {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.moderacao-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    font-family: inherit;
}

.moderacao-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.moderacao-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.moderacao-btn-recusar {
    background: rgba(220, 38, 38, 0.07);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.moderacao-btn-recusar:hover:not(:disabled) {
    background: rgba(220, 38, 38, 0.14);
    border-color: rgba(220, 38, 38, 0.3);
}

.moderacao-btn-aprovar {
    background: rgba(22, 163, 74, 0.07);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.moderacao-btn-aprovar:hover:not(:disabled) {
    background: rgba(22, 163, 74, 0.14);
    border-color: rgba(22, 163, 74, 0.3);
}

.moderacao-btn-responder {
    background: rgba(107, 170, 204, 0.08);
    color: #6BAACC;
    border: 1px solid rgba(107, 170, 204, 0.2);
    margin-left: auto;
}

.moderacao-btn-responder:hover:not(:disabled) {
    background: rgba(107, 170, 204, 0.16);
    border-color: rgba(107, 170, 204, 0.35);
}

/* --- Toast --- */
.moderacao-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.moderacao-toast-visivel {
    opacity: 1;
    transform: translateY(0);
}

.moderacao-toast-sucesso {
    background: #16a34a;
    color: #fff;
}

.moderacao-toast-erro {
    background: #dc2626;
    color: #fff;
}

/* ============================================
   ADMIN - PÁGINA DE CURSOS
   ============================================ */

.admin-courses {
    padding: 2rem 0 4rem;
}

.admin-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(107, 170, 204, 0.1);
    flex: 1;
    max-width: 400px;
}

.admin-search svg {
    color: #6BAACC;
    flex-shrink: 0;
}

.admin-search input {
    flex: 1;
    border: none;
    background: none;
    font-size: 0.9rem;
    color: #212426;
    outline: none;
}

.admin-search input::placeholder {
    color: #212426;
    opacity: 0.4;
}

.admin-filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.admin-filter-btn {
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(107, 170, 204, 0.2);
    border-radius: 100px;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    color: #212426;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-filter-btn:hover {
    opacity: 1;
    border-color: rgba(107, 170, 204, 0.4);
}

.admin-filter-btn.active {
    background: #6BAACC;
    border-color: #6BAACC;
    color: #fff;
    opacity: 1;
}

/* Grid de Cards de Cursos */
.admin-courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.admin-course-card {
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(107, 170, 204, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-course-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(107, 170, 204, 0.15);
}

.admin-course-card-header {
    position: relative;
    height: 140px;
}

.admin-course-card-image {
    width: 100%;
    height: 100%;
}

.admin-course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-course-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 170, 204, 0.1) 0%, rgba(155, 138, 166, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-course-card-placeholder svg {
    width: 48px;
    height: 48px;
    color: #6BAACC;
    opacity: 0.5;
}

.admin-course-card-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-course-card-status-ativo {
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
}

.admin-course-card-status-rascunho {
    background: rgba(107, 170, 204, 0.9);
    color: #fff;
}

.admin-course-card-body {
    padding: 1.5rem;
}

.admin-course-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212426;
    margin-bottom: 0.5rem;
}

.admin-course-card-body p {
    font-size: 0.85rem;
    color: #212426;
    opacity: 0.6;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-course-card-stats {
    display: flex;
    gap: 1.25rem;
}

.admin-course-card-stats span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #212426;
    opacity: 0.5;
}

.admin-course-card-stats svg {
    color: #6BAACC;
}

.admin-course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(107, 170, 204, 0.1);
    background: rgba(107, 170, 204, 0.02);
}

.admin-course-card-date {
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.4;
}

.admin-course-card-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(107, 170, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-icon-btn svg {
    color: #6BAACC;
}

.admin-icon-btn:hover {
    background: rgba(107, 170, 204, 0.2);
}

.admin-icon-btn-danger {
    background: rgba(239, 68, 68, 0.1);
}

.admin-icon-btn-danger svg {
    color: #dc2626;
}

.admin-icon-btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ============================================
   ADMIN - WIZARD MODAL
   ============================================ */

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-modal.open {
    opacity: 1;
    visibility: visible;
}

.admin-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 36, 38, 0.7);
    backdrop-filter: blur(8px);
}

.admin-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.admin-modal.open .admin-modal-content {
    transform: translateY(0);
}

.admin-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(107, 170, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.admin-modal-close svg {
    color: #212426;
    opacity: 0.6;
}

.admin-modal-close:hover {
    background: rgba(107, 170, 204, 0.2);
}

/* Modal Header */
.admin-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212426;
    margin: 0;
    padding-right: 2.5rem;
}

/* Modal Body */
.admin-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

/* Form dentro do modal */
.admin-modal-content>form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    max-height: calc(90vh - 80px);
}

.admin-modal-content>form .admin-modal-body {
    flex: 1;
    overflow-y: auto;
}

/* Modal Footer */
.admin-modal-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(107, 170, 204, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: rgba(107, 170, 204, 0.02);
    flex-shrink: 0;
}

/* Modal Small Variant */
.admin-modal-small {
    max-width: 480px;
}

/* Modal Medium Variant */
.admin-modal-medium {
    max-width: 560px;
}

/* ============================================
   ADMIN - GERENCIAR MÓDULOS
   ============================================ */

.admin-modulos-form {
    margin-bottom: 1.5rem;
}

.admin-form-row {
    display: flex;
    gap: 0.75rem;
}

.admin-form-row .admin-input {
    flex: 1;
}

.admin-form-row .btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-modulos-lista {
    min-height: 150px;
}

.admin-modulos-loading,
.admin-modulos-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: #212426;
    opacity: 0.5;
}

.admin-modulos-empty svg {
    color: #6BAACC;
    opacity: 0.4;
}

.admin-modulos-empty p {
    margin: 0;
    font-size: 0.95rem;
}

.admin-modulos-empty small {
    font-size: 0.8rem;
}

.admin-modulos-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-modulo-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid rgba(107, 170, 204, 0.15);
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: grab;
}

.admin-modulo-item:hover {
    border-color: rgba(107, 170, 204, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.admin-modulo-item.dragging {
    opacity: 0.5;
    background: rgba(107, 170, 204, 0.1);
    border-style: dashed;
}

.admin-modulo-drag {
    color: #212426;
    opacity: 0.25;
    cursor: grab;
    flex-shrink: 0;
}

.admin-modulo-drag:active {
    cursor: grabbing;
}

.admin-modulo-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.admin-modulo-ordem {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(107, 170, 204, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6BAACC;
    flex-shrink: 0;
}

.admin-modulo-nome {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #212426;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-modulo-aulas {
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.5;
    flex-shrink: 0;
}

.admin-modulo-actions {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}

.admin-modulo-actions .admin-icon-btn {
    width: 28px;
    height: 28px;
}

/* ============================================
   ADMIN - GERENCIAR AULAS
   ============================================ */

.admin-modal-large {
    max-width: 800px;
}

.admin-aulas-form {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-form-row-2cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 576px) {
    .admin-form-row-2cols {
        grid-template-columns: 1fr;
    }
}

.admin-aulas-lista {
    min-height: 150px;
}

.admin-aulas-loading,
.admin-aulas-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: #212426;
    opacity: 0.5;
}

.admin-aulas-empty svg {
    color: #6BAACC;
    opacity: 0.4;
}

.admin-aulas-empty p {
    margin: 0;
    font-size: 0.95rem;
}

.admin-aulas-empty small {
    font-size: 0.8rem;
}

.admin-aulas-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-aula-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid rgba(107, 170, 204, 0.15);
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: grab;
}

.admin-aula-item:hover {
    border-color: rgba(107, 170, 204, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.admin-aula-item.dragging {
    opacity: 0.5;
    background: rgba(107, 170, 204, 0.1);
    border-style: dashed;
}

.admin-aula-drag {
    color: #212426;
    opacity: 0.25;
    cursor: grab;
    flex-shrink: 0;
}

.admin-aula-drag:active {
    cursor: grabbing;
}

.admin-aula-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.admin-aula-ordem {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(155, 138, 166, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9B8AA6;
    flex-shrink: 0;
}

.admin-aula-titulo {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #212426;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-aula-modulo {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    background: rgba(107, 170, 204, 0.1);
    color: #6BAACC;
    border-radius: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

.admin-aula-link {
    color: #6BAACC;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.admin-aula-link:hover {
    opacity: 1;
}

.admin-aula-actions {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}

.admin-aula-actions .admin-icon-btn {
    width: 28px;
    height: 28px;
}

/* Status badges para aulas */
.admin-aula-status {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.admin-aula-status-success {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.admin-aula-status-warning {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
}

.admin-aula-status-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* Upload progress bar */
.admin-upload-progress {
    margin-top: 0.75rem;
}

.admin-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(107, 170, 204, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.admin-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.admin-progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #212426;
    opacity: 0.7;
}

/* Input file button */
.admin-input-file {
    display: flex;
    align-items: center;
}

.admin-input-file .btn {
    white-space: nowrap;
    gap: 0.5rem;
}

.admin-input-file .btn span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal de edição de aula */
.admin-editar-player {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: rgba(33, 36, 38, 0.03);
    overflow: hidden;
    min-height: 200px;
}

.admin-player-loading,
.admin-player-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: rgba(33, 36, 38, 0.5);
    gap: 1rem;
}

.admin-player-loading svg {
    color: #6BAACC;
}

.admin-player-empty svg {
    opacity: 0.3;
}

.admin-player-empty p {
    margin: 0;
    font-weight: 500;
}

.admin-player-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
}

.admin-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.admin-editar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212426;
}

.admin-trocar-video {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-trocar-video .btn {
    gap: 0.5rem;
}

/* Wizard Header */
.admin-wizard-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-wizard-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212426;
}

/* Wizard Steps Indicator */
.admin-wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: rgba(107, 170, 204, 0.03);
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.admin-wizard-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(107, 170, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6BAACC;
    transition: all 0.3s ease;
}

.admin-wizard-step span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #212426;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.admin-wizard-step.active .admin-wizard-step-number {
    background: #6BAACC;
    color: #fff;
    box-shadow: 0 4px 15px rgba(107, 170, 204, 0.4);
}

.admin-wizard-step.active span {
    opacity: 1;
    color: #6BAACC;
}

.admin-wizard-step.completed .admin-wizard-step-number {
    background: #16a34a;
    color: #fff;
}

.admin-wizard-step.completed span {
    opacity: 0.7;
}

.admin-wizard-step-line {
    width: 60px;
    height: 2px;
    background: rgba(107, 170, 204, 0.2);
    margin: 0 1rem;
    margin-bottom: 1.5rem;
}

/* Wizard Content */
.admin-wizard-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.admin-wizard-panel {
    display: none;
}

.admin-wizard-panel.active {
    display: block;
}

.admin-wizard-panel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212426;
    margin-bottom: 0.5rem;
}

.admin-wizard-description {
    font-size: 0.9rem;
    color: #212426;
    opacity: 0.6;
    margin-bottom: 2rem;
}

/* Form Elements */
.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #212426;
    margin-bottom: 0.5rem;
}

.admin-form-hint {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.admin-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(107, 170, 204, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #212426;
    background: #fff;
    transition: all 0.2s ease;
}

.admin-input:focus {
    outline: none;
    border-color: #6BAACC;
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.1);
}

.admin-input::placeholder {
    color: #212426;
    opacity: 0.4;
}

.admin-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(107, 170, 204, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #212426;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    transition: all 0.2s ease;
}

.admin-textarea:focus {
    outline: none;
    border-color: #6BAACC;
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.1);
}

.admin-textarea::placeholder {
    color: #212426;
    opacity: 0.4;
}

.admin-select {
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(107, 170, 204, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    color: #212426;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-select:focus {
    outline: none;
    border-color: #6BAACC;
}

/* Upload Area */
.admin-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1.5rem;
    border: 2px dashed rgba(107, 170, 204, 0.3);
    border-radius: 12px;
    background: rgba(107, 170, 204, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 140px;
}

.admin-upload-area:hover {
    border-color: #6BAACC;
    background: rgba(107, 170, 204, 0.06);
}

.admin-upload-area.dragover {
    border-color: #6BAACC;
    background: rgba(107, 170, 204, 0.1);
}

.admin-upload-area svg {
    color: #6BAACC;
    opacity: 0.6;
}

#upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.admin-upload-area span {
    font-size: 0.875rem;
    color: #212426;
    opacity: 0.7;
    display: block;
}

.admin-upload-area small {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
}

#upload-preview {
    position: relative;
    width: 100%;
    max-width: 280px;
}

#upload-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.admin-upload-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.admin-upload-remove:hover {
    background: rgba(220, 53, 69, 0.9);
}

.admin-upload-remove svg {
    color: #fff;
    opacity: 1;
}

/* Modules List */
.admin-modules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-module-item {
    background: rgba(107, 170, 204, 0.03);
    border: 1px solid rgba(107, 170, 204, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.admin-module-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(107, 170, 204, 0.05);
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-module-item-drag {
    cursor: grab;
    color: #212426;
    opacity: 0.3;
}

.admin-module-item-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6BAACC;
    flex: 1;
}

.admin-module-item-remove {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-module-item-remove svg {
    color: #dc2626;
}

.admin-module-item-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

.admin-module-item-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px dashed rgba(107, 170, 204, 0.3);
    border-radius: 10px;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6BAACC;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-add-btn:hover {
    border-color: #6BAACC;
    background: rgba(107, 170, 204, 0.05);
}

/* Lessons Container */
.admin-lessons-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    text-align: center;
}

.admin-empty-state svg {
    color: #6BAACC;
    opacity: 0.3;
}

.admin-empty-state p {
    font-size: 0.9rem;
    color: #212426;
    opacity: 0.5;
}

.admin-lessons-module {
    background: rgba(107, 170, 204, 0.03);
    border: 1px solid rgba(107, 170, 204, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.admin-lessons-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(107, 170, 204, 0.05);
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-lessons-module-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212426;
}

.admin-lessons-count {
    font-size: 0.75rem;
    color: #6BAACC;
    font-weight: 500;
}

.admin-lessons-list {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-lesson-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-lesson-item-drag {
    cursor: grab;
    color: #212426;
    opacity: 0.3;
}

.admin-lesson-item .admin-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.admin-lesson-remove {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.admin-lesson-remove svg {
    color: #dc2626;
}

.admin-lesson-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

.admin-add-lesson-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem;
    margin: 0.75rem;
    border: 1px dashed rgba(107, 170, 204, 0.3);
    border-radius: 8px;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6BAACC;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-add-lesson-btn:hover {
    border-color: #6BAACC;
    background: rgba(107, 170, 204, 0.05);
}

/* Review Section */
.admin-review-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-review-card {
    background: rgba(107, 170, 204, 0.03);
    border: 1px solid rgba(107, 170, 204, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
}

.admin-review-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6BAACC;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-review-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.admin-review-item:last-child {
    margin-bottom: 0;
}

.admin-review-label {
    font-size: 0.85rem;
    color: #212426;
    opacity: 0.5;
    min-width: 80px;
}

.admin-review-value {
    font-size: 0.85rem;
    color: #212426;
    font-weight: 500;
}

.admin-review-stats {
    display: flex;
    gap: 2rem;
}

.admin-review-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.admin-review-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #212426;
}

.admin-review-stat-label {
    font-size: 0.8rem;
    color: #212426;
    opacity: 0.5;
}

.admin-review-modules {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-review-module {
    background: rgba(107, 170, 204, 0.03);
    border: 1px solid rgba(107, 170, 204, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.admin-review-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(107, 170, 204, 0.05);
    border-bottom: 1px solid rgba(107, 170, 204, 0.1);
}

.admin-review-module-header strong {
    font-size: 0.9rem;
    color: #212426;
}

.admin-review-module-header span {
    font-size: 0.75rem;
    color: #6BAACC;
}

.admin-review-lessons {
    list-style: none;
    padding: 0.75rem 1rem;
    margin: 0;
}

.admin-review-lessons li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: #212426;
}

.admin-review-lessons li svg {
    color: #6BAACC;
    flex-shrink: 0;
}

.admin-review-lesson-meta {
    margin-left: auto;
    font-size: 0.75rem;
    color: #212426;
    opacity: 0.4;
}

/* Wizard Footer */
.admin-wizard-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(107, 170, 204, 0.1);
    background: rgba(107, 170, 204, 0.02);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

/* ============================================
   ADMIN - RESPONSIVIDADE
   ============================================ */

@media (max-width: 1024px) {
    .admin-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .admin-hero-compact {
        padding: 1.5rem 0 1rem;
    }

    .admin-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .admin-hero-content .btn {
        width: 100%;
    }

    .admin-metrics-grid {
        grid-template-columns: 1fr;
    }

    .admin-metric-card {
        padding: 1.25rem;
    }

    .admin-metric-value {
        font-size: 1.75rem;
    }

    .admin-details-grid {
        grid-template-columns: 1fr;
    }

    .admin-actions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search {
        max-width: none;
    }

    .admin-filter-buttons {
        justify-content: center;
    }

    .admin-courses-grid {
        grid-template-columns: 1fr;
    }

    .admin-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .admin-wizard-steps {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .admin-wizard-step-line {
        display: none;
    }

    .admin-wizard-step {
        flex: 1;
        min-width: 60px;
    }

    .admin-wizard-step span {
        font-size: 0.65rem;
    }

    .admin-wizard-content {
        padding: 1.5rem;
    }

    .admin-wizard-footer {
        padding: 1rem 1.5rem;
    }

    .admin-lesson-item {
        flex-wrap: wrap;
    }

    .admin-lesson-item .admin-input {
        flex: 1;
        min-width: 120px;
    }

    .moderacao-card-header {
        flex-wrap: wrap;
    }

    .moderacao-data {
        width: 100%;
        padding-left: calc(44px + 1rem);
    }

    .moderacao-acoes {
        flex-wrap: wrap;
    }

    .moderacao-btn-responder {
        margin-left: 0;
    }

    .moderacao-toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
}

/* Status de V�deo nas Aulas (Admin) */
.admin-aula-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
}

.admin-aula-status-pending {
    background-color: #f3f4f6;
    color: #4b5563;
}

.admin-aula-status-uploading {
    background-color: #eff6ff;
    color: #2563eb;
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.admin-aula-status-processing {
    background-color: #fff7ed;
    color: #c2410c;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.admin-aula-status-success {
    background-color: #ecfdf5;
    color: #059669;
}

.admin-aula-status-danger {
    background-color: #fef2f2;
    color: #dc2626;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* ============================================
   SALA DE AULA - SEÇÃO DE COMENTÁRIOS
   ============================================ */

.sala-comentarios {
    margin-top: 2rem;
    background: rgba(15, 15, 20, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(107, 170, 204, 0.15);
    padding: 1.5rem 1.5rem;
    backdrop-filter: blur(10px);
    text-align: left;
}

.sala-comentarios-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.sala-comentarios-titulo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.sala-comentarios-titulo svg {
    color: #6BAACC;
    flex-shrink: 0;
}

/* Formulário de comentário */
.sala-comentarios-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    padding: 0;
}

.sala-comentarios-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BAACC 0%, #9B8AA6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(107, 170, 204, 0.3);
}

.sala-comentarios-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sala-comentarios-avatar span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.sala-comentarios-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.sala-comentarios-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    resize: none;
    transition: all 0.3s ease;
    text-align: left;
}

.sala-comentarios-input:focus {
    outline: none;
    border-color: rgba(107, 170, 204, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.1);
}

.sala-comentarios-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-align: left;
}

.sala-comentarios-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.sala-comentarios-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sala-comentarios-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.sala-comentarios-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Lista de comentários */
.sala-comentarios-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

/* Estado vazio */
.sala-comentarios-vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.sala-comentarios-vazio svg {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.sala-comentarios-vazio p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.5rem;
}

.sala-comentarios-vazio span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Item de comentário */
.sala-comentario-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.sala-comentario-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(107, 170, 204, 0.15);
}

/* Comentário pendente */
.sala-comentario-item.pendente {
    opacity: 0.7;
    border-style: dashed;
}

/* Resposta do admin/instrutor */
.sala-comentario-item.admin-response {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.2);
    border-left: 3px solid #8b5cf6;
}

/* Avatar do comentário */
.sala-comentario-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sala-comentario-avatar.pequeno {
    width: 28px;
    height: 28px;
    min-width: 28px;
}

.sala-comentario-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sala-comentario-avatar span {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.sala-comentario-avatar.pequeno span {
    font-size: 0.7rem;
}

/* Conteúdo do comentário */
.sala-comentario-conteudo {
    flex: 1;
    min-width: 0;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sala-comentario-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    width: 100%;
}

.sala-comentario-autor {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.sala-comentario-data {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-left: auto;
}

/* Badges */
.sala-comentario-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sala-comentario-badge.admin {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
}

.sala-comentario-badge.pendente {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Texto do comentário */
.sala-comentario-texto {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    word-break: break-word;
    text-align: left;
    width: 100%;
}

/* Respostas aninhadas */
.sala-comentario-respostas {
    margin-top: 0.75rem;
    margin-left: 0;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(139, 92, 246, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.sala-comentario-item.resposta {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    width: 100%;
    box-sizing: border-box;
}

/* Toast de feedback */
.sala-comentario-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.875rem 1.5rem;
    background: rgba(33, 36, 38, 0.95);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sala-comentario-toast.visivel {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.sala-comentario-toast.sucesso {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, rgba(33, 36, 38, 0.95) 0%, rgba(34, 197, 94, 0.15) 100%);
}

.sala-comentario-toast.erro {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(33, 36, 38, 0.95) 0%, rgba(239, 68, 68, 0.15) 100%);
}

/* Responsividade para comentários */
@media (max-width: 768px) {
    .sala-comentarios {
        padding: 1rem;
        border-radius: 12px;
    }

    .sala-comentarios-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sala-comentarios-avatar {
        display: none;
    }

    .sala-comentario-item {
        padding: 0.75rem;
    }

    .sala-comentario-avatar {
        width: 32px;
        height: 32px;
    }

    .sala-comentario-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .sala-comentario-data {
        margin-left: 0;
    }

    .sala-comentario-respostas {
        padding-left: 0.5rem;
    }
}

/* ============================================
   CHECKOUT PÚBLICO
   ============================================ */
.checkout-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F0EDE5 0%, #E8E4DC 50%, #F0EDE5 100%);
}

.checkout-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Card de Info do Curso */
.checkout-info {
    position: sticky;
    top: 6rem;
}

.checkout-curso-card {
    background: rgba(30, 30, 45, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.checkout-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(107, 170, 204, 0.15);
    color: #6BAACC;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(107, 170, 204, 0.2);
}

.checkout-curso-titulo {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.checkout-curso-descricao {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Benefícios */
.checkout-beneficios {
    margin-bottom: 2rem;
}

.checkout-beneficios h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.checkout-beneficios ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-beneficios li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.checkout-beneficios li svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Preço */
.checkout-preco-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
    text-align: center;
}

.checkout-preco-ancora {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.checkout-preco-atual {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.checkout-preco-parcelas {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Badge de Segurança */
.checkout-seguranca-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    color: #10b981;
    font-size: 0.85rem;
}

.checkout-seguranca-badge svg {
    flex-shrink: 0;
}

/* Card do Formulário */
.checkout-form-wrapper {
    position: relative;
}

.checkout-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow:
        0 20px 60px rgba(33, 36, 38, 0.08),
        0 0 0 1px rgba(107, 170, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.checkout-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6BAACC, #9B8AA6, #6BAACC);
    background-size: 200% 100%;
    animation: gradient-border 4s ease infinite;
}

.checkout-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212426;
    margin-bottom: 0.5rem;
}

.checkout-form-subtitle {
    font-size: 1rem;
    color: #212426;
    opacity: 0.65;
    margin-bottom: 0;
}

/* Formulário com inputs */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Form groups reutilizáveis */
.form-group-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-enhanced label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #212426;
    opacity: 0.8;
}

.form-group-enhanced label svg {
    color: #6BAACC;
    flex-shrink: 0;
}

.form-group-enhanced input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(33, 36, 38, 0.12);
    border-radius: 10px;
    font-size: 1rem;
    color: #212426;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group-enhanced input::placeholder {
    color: rgba(33, 36, 38, 0.35);
}

.form-group-enhanced input:focus {
    outline: none;
    border-color: #6BAACC;
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.15);
}

.form-hint {
    font-size: 0.8rem;
    color: #212426;
    opacity: 0.5;
}

/* Botão de Submit */
.btn-submit-enhanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-submit-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 170, 204, 0.35);
}

.btn-submit-enhanced:active {
    transform: translateY(0);
}

/* Botão de Checkout Comprar */
.btn-checkout-comprar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-checkout-comprar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}

.btn-checkout-comprar:active {
    transform: translateY(0);
}

/* Usuário logado no checkout */
.checkout-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(107, 170, 204, 0.06);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(107, 170, 204, 0.1);
}

.checkout-user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.checkout-user-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BAACC 0%, #9B8AA6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.checkout-user-details {
    display: flex;
    flex-direction: column;
}

.checkout-user-nome {
    font-size: 1rem;
    font-weight: 600;
    color: #212426;
}

.checkout-user-email {
    font-size: 0.875rem;
    color: #212426;
    opacity: 0.6;
}

/* Link de login */
.checkout-login-link {
    text-align: center;
    font-size: 0.9rem;
    color: #212426;
    opacity: 0.65;
    margin-bottom: 1.5rem;
}

.checkout-login-link a {
    color: #6BAACC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.checkout-login-link a:hover {
    color: #5a99bb;
}

/* Garantias */
.checkout-garantias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(33, 36, 38, 0.06);
}

.checkout-garantia-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #212426;
    opacity: 0.55;
}

.checkout-garantia-item svg {
    color: #6BAACC;
    flex-shrink: 0;
}

/* Erro no checkout */
.checkout-form-card .auth-erro {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.checkout-form-card .auth-erro svg {
    flex-shrink: 0;
}

/* Form email/senha no /lab/entrar */
.auth-form-email {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Responsivo Checkout */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .checkout-info {
        position: static;
    }
}

@media (max-width: 480px) {
    .checkout-page {
        padding: 5rem 0.5rem 3rem;
    }

    .checkout-curso-card {
        padding: 2rem 1.5rem;
    }

    .checkout-form-card {
        padding: 2rem 1.5rem;
    }

    .checkout-preco-atual {
        font-size: 2rem;
    }

    .checkout-garantias {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* ============================================
   WIDGET DE SUPORTE
   ============================================ */
/* ============================================
   CHAT DE SUPORTE - Widget Flutuante
   Self-contained (sem dependência de Bootstrap)
   ============================================ */

/* Utilitários internos do chat */
.suporte-hidden {
    display: none !important;
}

/* Widget container */
.suporte-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Botão flutuante */
.suporte-toggle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow:
        0 4px 16px rgba(107, 170, 204, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.suporte-toggle:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 8px 24px rgba(107, 170, 204, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.1);
}

.suporte-toggle:active {
    transform: scale(0.96);
}

/* Badge de notificação */
.suporte-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Janela do chat */
.suporte-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header do chat */
.suporte-header {
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.suporte-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.suporte-header-text h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.suporte-header-text small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.suporte-avatar-bot {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    flex-shrink: 0;
}

.suporte-avatar-bot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Botão fechar */
.suporte-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.suporte-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Body (área de mensagens) */
.suporte-body {
    flex: 1;
    overflow-y: auto;
    background: #f7f8fa;
    display: flex;
    flex-direction: column;
}

.suporte-body::-webkit-scrollbar {
    width: 5px;
}

.suporte-body::-webkit-scrollbar-track {
    background: transparent;
}

.suporte-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

/* Mensagem de boas-vindas */
.suporte-welcome {
    padding: 16px 20px 0;
}

.suporte-welcome p {
    text-align: center;
    color: #8b95a5;
    font-size: 0.82rem;
    margin: 0 0 12px;
    line-height: 1.5;
}

.suporte-welcome-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.suporte-welcome-badge span {
    background: #eef1f5;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Lista de mensagens */
.suporte-messages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
}

/* Bolha de mensagem */
.suporte-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    margin-bottom: 4px;
}

.suporte-msg--user {
    align-self: flex-end;
}

.suporte-msg--admin {
    align-self: flex-start;
}

.suporte-msg-bubble {
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
}

.suporte-msg--user .suporte-msg-bubble {
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.suporte-msg--admin .suporte-msg-bubble {
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}

.suporte-msg-time {
    font-size: 0.68rem;
    color: #9ca3af;
    margin-top: 4px;
    padding: 0 4px;
}

.suporte-msg--user .suporte-msg-time {
    text-align: right;
}

.suporte-msg--admin .suporte-msg-time {
    text-align: left;
}

/* Footer (input de mensagem) */
.suporte-footer {
    background: #fff;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

/* Área de identificação (visitantes) */
.suporte-identification {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
}

.suporte-identification input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.suporte-identification input:last-child {
    margin-bottom: 0;
}

.suporte-identification input:focus {
    border-color: #6BAACC;
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.15);
}

/* Formulário de envio */
.suporte-form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.suporte-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9fafb;
    resize: none;
    min-height: 40px;
    max-height: 100px;
    overflow-y: auto;
    line-height: 1.4;
}

.suporte-input:focus {
    border-color: #6BAACC;
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.15);
    background: #fff;
}

.suporte-input::placeholder {
    color: #9ca3af;
}

.suporte-send-btn {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.suporte-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(107, 170, 204, 0.4);
}

.suporte-send-btn:active {
    transform: scale(0.95);
}

/* Admin Chat Styles */
.admin-chat-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: calc(100vh - 100px);
    gap: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.admin-chat-list {
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    background: #f8f9fa;
}

.admin-chat-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.admin-chat-item:hover,
.admin-chat-item.active {
    background: white;
}

.admin-chat-item.active {
    border-left: 4px solid #6BAACC;
}

.admin-chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.admin-chat-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-active-interface {
    min-height: 0;
}

.admin-chat-messages {
    flex: 1;
    padding: 12px 15px;
    overflow-y: auto;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}

.admin-chat-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.msg-bubble {
    max-width: 70%;
    padding: 6px 10px;
    border-radius: 12px;
    position: relative;
    font-size: 0.93rem;
    word-break: break-word;
}

.msg-bubble > div:first-child {
    white-space: pre-wrap;
}

.msg-user {
    background: #fff;
    border: 1px solid #dee2e6;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.msg-admin {
    background: #d1e7dd;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.msg-system {
    align-self: center;
    background: rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    color: #666;
}

.badge-unread {
    background: #ff4757;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .suporte-window {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }

    .suporte-widget {
        bottom: 16px;
        right: 16px;
    }

    .admin-chat-layout {
        grid-template-columns: 1fr;
    }

    .admin-chat-list.d-none-mobile {
        display: none;
    }

    .admin-chat-main.d-none-mobile {
        display: none;
    }
}
/* ============================================
   CHECKOUT RENEWED - Single Card & Modal
   ============================================ */

.checkout-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.5) inset;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.checkout-col-left {
    padding: 3rem;
    border-right: 1px solid rgba(107, 170, 204, 0.1);
}

.checkout-col-right {
    padding: 3rem;
    background: rgba(240, 237, 229, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.checkout-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(107, 170, 204, 0.15);
    color: #6BAACC;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.checkout-curso-titulo {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #212426 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.checkout-curso-descricao {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
}

.checkout-beneficios h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #212426;
}

.checkout-beneficios ul {
    list-style: none;
}

.checkout-beneficios li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #4a5568;
    font-size: 1rem;
}

.checkout-beneficios li svg {
    color: #6BAACC;
    flex-shrink: 0;
}

/* Right Column Styles */
.checkout-preco-box {
    text-align: center;
    margin-bottom: 2.5rem;
}

.checkout-preco-ancora {
    font-size: 1.125rem;
    color: #9B8AA6;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.checkout-preco-atual {
    font-size: 3.5rem;
    font-weight: 700;
    color: #212426;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.checkout-preco-parcelas {
    font-size: 1.125rem;
    color: #6BAACC;
    font-weight: 500;
}

.btn-checkout-comprar {
    background: linear-gradient(135deg, #6BAACC 0%, #5a9bc0 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(107, 170, 204, 0.3);
}

.btn-checkout-comprar:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(107, 170, 204, 0.4);
}

.checkout-garantias-mini {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-garantia-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.9375rem;
    justify-content: center;
}

.checkout-garantia-item svg {
    color: #9B8AA6;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 36, 38, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.modal-content {
    padding: 2.5rem;
}

.checkout-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-form-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.checkout-form-subtitle {
    color: #6b7280;
}

.form-group-enhanced {
    margin-bottom: 1.5rem;
}

.form-group-enhanced label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
}

.form-group-enhanced input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group-enhanced input:focus {
    outline: none;
    border-color: #6BAACC;
    box-shadow: 0 0 0 3px rgba(107, 170, 204, 0.1);
}

.checkout-login-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: #6b7280;
}

.checkout-login-link a {
    color: #6BAACC;
    font-weight: 600;
    text-decoration: none;
}

.checkout-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.checkout-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-user-initials {
    font-weight: 600;
    color: #6b7280;
}

.checkout-user-details {
    display: flex;
    flex-direction: column;
}

.checkout-user-nome {
    font-weight: 600;
    color: #111827;
}

.checkout-user-email {
    font-size: 0.875rem;
    color: #6b7280;
}

.pulse-animation {
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 170, 204, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(107, 170, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(107, 170, 204, 0);
    }
}

/* Responsiveness */
@media (max-width: 900px) {
    .checkout-card {
        grid-template-columns: 1fr;
    }
    
    .checkout-col-left, .checkout-col-right {
        padding: 2rem;
    }
    
    .checkout-col-left {
        border-right: none;
        border-bottom: 1px solid rgba(107, 170, 204, 0.1);
    }
}


.checkout-seguranca-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #059669; /* Green-600 */
    background: rgba(5, 150, 105, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    align-self: center;
    font-weight: 500;
}


/* ============================================
   AJUSTES LOGIN - ESPA�AMENTO REDUZIDO
   ============================================ */
.auth-box-enhanced .form-group-enhanced {
    margin-bottom: 0.875rem !important;
}

.auth-box-enhanced .form-group-enhanced label {
    margin-bottom: 0.35rem !important;
    font-size: 0.875rem;
}

.auth-box-enhanced .auth-divider {
    margin: 1.25rem 0 1.25rem 0 !important;
}

.auth-box-enhanced .btn-submit-enhanced {
    padding: 0.875rem 2rem !important;
    font-size: 0.9375rem !important;
    margin-top: 0.5rem;
}

