/* =====================================================
   SISTEMA DE CURSO PREPARATÓRIO PRF - ESTILOS MODERNOS
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #f8fafc;
    --bg-card: #ffffff;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

/* =====================================================
   HEADER
   ===================================================== */

.main-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

/* Countdown de tempo restante de sessão (usuários com limite) */
.countdown-sessao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(146, 64, 14, 0.2);
}
.countdown-sessao .countdown-cta {
    font-weight: 700;
    margin-right: 12px;
}
.countdown-sessao .countdown-label { font-weight: 500; }
.countdown-sessao .countdown-numero {
    min-width: 1.8em;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: #b45309;
}
.countdown-sessao .countdown-unidade { font-weight: 500; font-size: 0.9em; color: #92400e; }

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

.header-logo a.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.4em;
    letter-spacing: -0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.header-logo a.logo-link:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.header-logo a.logo-link:hover .logo-icon {
    transform: rotate(5deg) scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
}

/* Imagem do logo no header (canto superior esquerdo) */
.logo-img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.15));
}

.header-logo a.logo-link:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.25));
}

.logo-icon {
    width: 50px;
    height: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
    flex-shrink: 0;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.logo-icon path,
.logo-icon circle {
    transition: all 0.4s ease;
}

.header-logo a.logo-link:hover .logo-icon {
    transform: rotate(-5deg) scale(1.15);
    filter: drop-shadow(0 6px 20px rgba(102, 126, 234, 0.6));
    animation: none;
}

.header-logo a.logo-link:hover .logo-icon path,
.header-logo a.logo-link:hover .logo-icon circle {
    filter: brightness(1.3);
}

.header-logo a.logo-link:active .logo-icon {
    transform: rotate(0deg) scale(1.05);
}

/* Botão menu hambúrguer - visível só no mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.menu-toggle:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
    border-color: rgba(102, 126, 234, 0.5);
}
.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.main-header.nav-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.main-header.nav-open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}
.main-header.nav-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.header-nav-wrapper {
    /* no desktop é block normal */
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 18px;
    border-radius: 12px;
    position: relative;
    background: transparent;
}

.nav-icon {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover .nav-icon {
    transform: scale(1.15);
}

.nav-link:active {
    transform: translateY(0);
}

/* Estilo base do item Simulado (sempre visível) */
.nav-link-simulado {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #ff6b6b 100%) !important;
    background-size: 200% 200% !important;
    color: white !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5), 0 0 20px rgba(255, 107, 107, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.nav-link-simulado .nav-icon {
    font-size: 1.4em !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1));
    display: inline-block;
}

/* Animação SUPER chamativa APENAS na página principal (dashboard) */
.page-dashboard .nav-link-simulado {
    animation: simulado-attention 1.2s ease-in-out infinite;
}

.page-dashboard .nav-link-simulado .nav-icon {
    animation: icon-bounce-intense 0.8s ease-in-out infinite;
}

@keyframes simulado-attention {
    0%, 100% {
        background-position: 0% 50%;
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
    }
    25% {
        background-position: 100% 50%;
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.7), 0 0 30px rgba(255, 107, 107, 0.5);
    }
    50% {
        background-position: 0% 50%;
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6), 0 0 25px rgba(255, 107, 107, 0.4);
    }
    75% {
        background-position: 100% 50%;
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.7), 0 0 30px rgba(255, 107, 107, 0.5);
    }
}

@keyframes icon-bounce-intense {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-8px) rotate(-10deg) scale(1.3);
    }
    50% {
        transform: translateY(-4px) rotate(0deg) scale(1.15);
    }
    75% {
        transform: translateY(-8px) rotate(10deg) scale(1.3);
    }
}

.nav-link-simulado::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.4) 0%, rgba(238, 90, 111, 0.4) 100%);
    z-index: -1;
}

/* Animação do anel de pulso APENAS no dashboard */
.page-dashboard .nav-link-simulado::before {
    animation: pulse-ring-intense 1.2s ease-in-out infinite;
}

@keyframes pulse-ring-intense {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
}

.nav-link-simulado::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ffeb3b 0%, #ffc107 100%);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 0 0 30px rgba(255, 193, 7, 0.6);
}

/* Animação do círculo brilhante APENAS no dashboard */
.page-dashboard .nav-link-simulado::after {
    animation: sparkle-glow 1.5s ease-in-out infinite;
}

@keyframes sparkle-glow {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 0 0 30px rgba(255, 193, 7, 0.6);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.4) rotate(180deg);
        box-shadow: 0 0 25px rgba(255, 235, 59, 1), 0 0 50px rgba(255, 193, 7, 0.8);
    }
}

.badge-novo {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #ffeb3b 0%, #ffc107 50%, #ff9800 100%);
    color: #d32f2f;
    font-size: 0.6em;
    font-weight: 900;
    padding: 3px 7px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 193, 7, 0.6);
    z-index: 3;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

/* Animação do badge APENAS no dashboard */
.page-dashboard .badge-novo {
    animation: badge-pulse 1s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 193, 7, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 193, 7, 0.8);
    }
}

.nav-link-simulado:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.8), 0 0 40px rgba(255, 107, 107, 0.6) !important;
    background: linear-gradient(135deg, #ff5252 0%, #e91e63 100%) !important;
}

/* No dashboard, para a animação no hover */
.page-dashboard .nav-link-simulado:hover {
    animation: none;
}

.nav-link-simulado:hover .nav-icon {
    transform: scale(1.4);
}

/* No dashboard, animação mais rápida no hover */
.page-dashboard .nav-link-simulado:hover .nav-icon {
    animation: icon-bounce-intense 0.4s ease-in-out infinite;
}

.nav-link-simulado:hover .badge-novo {
    transform: scale(1.2);
}

/* No dashboard, animação mais rápida no hover */
.page-dashboard .nav-link-simulado:hover .badge-novo {
    animation: badge-pulse 0.5s ease-in-out infinite;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
    margin-left: 20px;
    border-left: 2px solid rgba(226, 232, 240, 0.6);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95em;
}

.badge-perfil {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-aluno {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge-professor {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.badge-administrador {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-logout {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    color: var(--white);
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.btn-logout:active {
    transform: translateY(0);
}

/* =====================================================
   FOOTER
   ===================================================== */

.main-footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

.footer-content p {
    margin: 5px 0;
}

/* =====================================================
   LOGIN / CADASTRO
   ===================================================== */

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 25%, #f8fafc 50%, #f1f5f9 75%, #e2e8f0 100%);
    background-size: 400% 400%;
    animation: loginBgShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Página de login com rolagem infinita */
.login-page-scroll {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}

.login-page-scroll .login-ai-icons {
    position: fixed;
}

.login-hero {
    min-height: 100vh;
    position: relative;
    z-index: 5;
    padding-top: 52px;
}

/* Faixa marquee infinita (topo) */
.login-marquee-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding: 10px 0;
}

.login-marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: loginMarquee 25s linear infinite;
    white-space: nowrap;
}

.login-marquee-track span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e40af;
    opacity: 0.9;
}

.login-marquee-track span:nth-child(odd):not(:empty) {
    color: #3b82f6;
}

@keyframes loginMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Conteúdo de rolagem infinita (seções abaixo do hero) */
.login-infinite-content {
    position: relative;
    z-index: 4;
    padding: 60px 24px 120px;
    max-width: 900px;
    margin: 0 auto;
}

.login-scroll-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 32px 40px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.login-scroll-section-title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.login-scroll-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.login-scroll-features li {
    font-size: 0.95rem;
    color: #475569;
}

.login-scroll-features li::before {
    content: '✓ ';
    color: #22c55e;
    font-weight: 700;
}

.login-scroll-cta {
    text-align: center;
    margin: 0;
}

.login-scroll-cta-link {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.login-scroll-cta-link:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.login-scroll-tagline {
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

.login-page-scroll .login-container-wrapper {
    min-height: 100vh;
}

/* Login com conteúdo: ícones IA, marquee, card assinatura, lista Completo */
.login-page-completa {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}

.login-page-completa .login-ai-icons {
    position: fixed;
}

.login-page-completa .login-hero {
    padding-top: 52px;
}

.login-page-completa .login-container-wrapper {
    justify-content: center;
    align-items: center;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
}

.login-page-completa .login-container {
    max-width: 1150px;
}

/* Quando a página tem só o card de login (sem coluna de preço) */
.login-page-completa .login-container:has(.login-card-single) {
    max-width: 720px;
    margin: 0 auto;
}

.login-page-completa .login-card {
    max-width: 1150px;
    grid-template-columns: 1fr 520px;
    min-height: 680px;
}

.login-page-completa .login-card.login-card-single {
    max-width: 720px;
    min-height: 640px;
}

.login-page-completa .login-card-single .login-form-section {
    padding: 48px 56px 56px;
}

/* Botão discreto "Voltar à página inicial" na tela de login (acima do card) */
.login-page-completa .login-voltar-inicial {
    display: inline-block;
    font-size: 0.9rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    order: -1;
}
.login-page-completa .login-voltar-inicial:hover {
    color: #1e40af;
}
.login-page-completa .login-container-wrapper .login-container {
    order: 0;
}

.login-page-completa .login-card-single .login-form-header {
    margin-bottom: 36px;
}

.login-page-completa .login-card-single .login-form-header h2 {
    font-size: 2.35rem;
}

.login-page-completa .login-card-single .login-form-header p {
    font-size: 1.1rem;
}

.login-page-completa .login-card-single .login-form .form-group {
    margin-bottom: 20px;
}

.login-page-completa .login-card-single .login-form .form-group label {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.login-page-completa .login-card-single .login-form input {
    padding: 16px 20px;
    min-height: 52px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.login-page-completa .login-card-single .btn-login {
    padding: 18px 28px;
    font-size: 1.15rem;
    min-height: 56px;
    border-radius: 14px;
    margin-top: 8px;
}

.login-page-completa .login-form-section {
    padding: 50px 44px 44px;
}

/* Login estilo card duas colunas (referência: painel azul + ilustração) */
.login-page-split {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #e8eef4;
    animation: none;
    background-size: auto;
}

.login-page-split::before,
.login-page-split::after {
    display: none;
}

.login-split-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 28px 20px 28px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.login-split-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
}

.login-split-back {
    flex-shrink: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #475569;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.login-split-back-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00AEEF;
    opacity: 0.95;
}

.login-split-back:hover {
    color: #0e7490;
    border-color: rgba(0, 174, 239, 0.45);
    box-shadow: 0 8px 28px rgba(0, 174, 239, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.login-split-back:hover .login-split-back-icon {
    color: #0284c7;
}

.login-split-back:active {
    transform: translateY(0);
}

.login-split-card {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);
    background: #fff;
}

.login-split-panel--form {
    background: #00AEEF;
    color: #fff;
    padding: 56px 48px 48px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.login-split-welcome {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    color: #fff;
}

.login-split-tagline {
    margin: 0 0 32px;
    text-align: center;
    font-size: 1.05rem;
    opacity: 0.95;
    font-weight: 500;
}

.login-split-alert {
    margin-bottom: 16px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.login-split-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-split-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.login-split-input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 999px;
    padding: 18px 24px;
    font-size: 1.05rem;
    color: #334155;
    background: #fff;
    min-height: 56px;
}

.login-split-input::placeholder {
    color: #64748b;
}

.login-split-input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.login-split-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
    font-size: 0.88rem;
}

.login-split-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
    user-select: none;
}

.login-split-remember input {
    width: 16px;
    height: 16px;
    accent-color: #2ECC71;
    cursor: pointer;
}

.login-split-forgot {
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
    transition: opacity 0.2s;
}

.login-split-forgot:hover {
    opacity: 1;
    text-decoration: underline;
}

.login-split-submit {
    margin-top: 10px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 18px 28px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: #2ECC71;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.login-split-submit:hover {
    background: #27ae60;
    transform: translateY(-1px);
}

.login-split-submit:active {
    transform: translateY(0);
}

.login-split-foot {
    margin: 32px 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.95);
}

.login-split-panel--art {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 40px;
    position: relative;
}

.login-split-illustration {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
}

@media (max-width: 800px) {
    .login-split-wrap {
        padding: 20px 16px 20px;
    }

    .login-split-back {
        margin-top: 16px;
        padding: 11px 22px;
        font-size: 0.9rem;
    }

    .login-split-card {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .login-split-panel--art {
        order: -1;
        min-height: 240px;
        padding: 24px 20px;
    }

    .login-split-illustration {
        max-width: 300px;
    }

    .login-split-panel--form {
        padding: 40px 32px 36px;
    }
}

/* Login enxuto: elegante, moderno, campos largos */
.login-page-enxuta {
    overflow: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 40%, #e2e8f0 100%);
}

.login-page-enxuta .login-container-wrapper {
    width: 100%;
    max-width: 520px;
    min-height: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-page-enxuta .login-container {
    width: 100%;
    max-width: 100%;
}

.login-card-enxuta {
    display: block;
    max-width: 100%;
    grid-template-columns: none;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.login-card-enxuta .login-form-section {
    padding: 48px 44px 40px;
}

.login-card-enxuta .login-form-header {
    margin-bottom: 36px;
    text-align: center;
}

.login-card-enxuta .login-form-header h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.login-card-enxuta .login-form-header h2 svg {
    color: #334155;
    opacity: 0.9;
}

.login-card-enxuta .login-form-header p {
    margin-top: 8px;
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.login-card-enxuta .login-form .form-group {
    margin-bottom: 24px;
}

.login-card-enxuta .login-form .form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.login-card-enxuta .login-form input {
    width: 100%;
    min-height: 52px;
    padding: 16px 20px;
    font-size: 1.05rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-card-enxuta .login-form input::placeholder {
    color: #94a3b8;
}

.login-card-enxuta .login-form input:hover {
    background: #fff;
    border-color: #cbd5e1;
}

.login-card-enxuta .login-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #fff;
}

.login-card-enxuta .btn-login {
    width: 100%;
    min-height: 54px;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 14px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-card-enxuta .btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.login-card-enxuta .login-footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
}

.login-cadastro-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    padding-top: 20px;
    border-top: none;
}

.login-cadastro-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.login-cadastro-link a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* =====================================================
   PÁGINA DE ASSINATURA (LANDING - ESTILO GRAN CURSOS)
   ===================================================== */

.assinatura-page {
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 25%, #f8fafc 60%, #f1f5f9 100%);
    min-height: 100vh;
    color: #1e293b;
}

.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    padding: 14px 24px;
}

.lp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lp-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
    text-align: center;
}

.lp-logo-text {
    cursor: default;
}

.lp-header .lp-nav {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lp-nav-link {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    transition: background 0.2s, color 0.2s;
}

.lp-nav-link:hover {
    background: #2563eb;
    color: #fff;
}

/* Botão Acessar – destaque em movimento (estilo Simulado) */
.lp-nav-link-acessar {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #ff6b6b 100%) !important;
    background-size: 200% 200% !important;
    color: #fff !important;
    font-weight: 800 !important;
    padding: 10px 24px;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5), 0 0 20px rgba(255, 107, 107, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: lp-acessar-attention 1.2s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lp-nav-link-acessar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 107, 0.4);
    pointer-events: none;
    animation: lp-pulse-ring 1.2s ease-in-out infinite;
}

@keyframes lp-acessar-attention {
    0%, 100% {
        background-position: 0% 50%;
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
    }
    25% {
        background-position: 100% 50%;
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 8px 28px rgba(255, 107, 107, 0.6), 0 0 28px rgba(255, 107, 107, 0.4);
    }
    50% {
        background-position: 0% 50%;
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
    }
    75% {
        background-position: 100% 50%;
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 6px 24px rgba(255, 107, 107, 0.55), 0 0 24px rgba(255, 107, 107, 0.35);
    }
}

@keyframes lp-pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0;
    }
}

.lp-nav-link-acessar:hover {
    animation: none;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.8), 0 0 40px rgba(255, 107, 107, 0.6) !important;
    background: linear-gradient(135deg, #ff5252 0%, #e91e63 100%) !important;
}

/* Hero */
.lp-hero {
    padding: 60px 24px 80px;
    text-align: center;
}

.lp-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero com imagem (estudando com IA) */
.lp-hero-with-image {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.lp-hero-with-image .lp-hero-text {
    min-width: 0;
}

.lp-hero-with-image .lp-hero-tag,
.lp-hero-with-image .lp-hero-title,
.lp-hero-with-image .lp-hero-badge {
    text-align: left;
}

.lp-hero-with-image .lp-hero-sub,
.lp-hero-with-image .lp-hero-cta-text {
    text-align: justify;
}

.lp-hero-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
    align-self: center;
    animation: lp-image-float 4s ease-in-out infinite;
}

.lp-hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

@keyframes lp-image-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.lp-hero-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 20px;
}

.lp-hero-title {
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #0f172a;
    max-width: 100%;
}

.lp-hero-with-image .lp-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.3;
}

.lp-hero-title-line {
    display: block;
}

.lp-hero-title-accent {
    color: #1d4ed8;
}

.lp-hero-sub {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.5;
}

.lp-hero-cta-text {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.lp-hero-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

/* Pricing */
.lp-pricing {
    padding: 40px 24px 80px;
}

.lp-pricing-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.lp-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.lp-card-featured {
    border: 2px solid #2563eb;
    position: relative;
}

.lp-card-tag {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.lp-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.lp-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 16px;
}

.lp-card-de {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 4px;
}

.lp-card-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.lp-card-currency {
    font-size: 1.2rem;
    font-weight: 700;
}

.lp-card-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    text-align: left;
}

.lp-card-features li {
    font-size: 0.9rem;
    color: #475569;
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
}

.lp-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

.lp-card-btn {
    display: block;
    width: 100%;
    background: #dc2626;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.lp-card-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Card "Experimente" (demo/trial) */
.lp-card-demo .lp-card-demo-text {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #475569;
}
.lp-card-credentials {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: #334155;
}
.lp-card-credentials p {
    margin: 0 0 8px;
}
.lp-card-credentials p:last-child {
    margin-bottom: 0;
}
.lp-card-credentials strong {
    color: #1e293b;
    min-width: 52px;
    display: inline-block;
}
.lp-card-tag-demo {
    background: #059669 !important;
}

.lp-card-btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    box-shadow: none;
}

.lp-card-btn-outline:hover {
    background: #2563eb;
    color: #fff;
}

/* Benefit section */
.lp-benefit {
    padding: 80px 24px;
    background: rgba(255, 255, 255, 0.7);
}

.lp-benefit-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Seção benefício com imagem ao lado */
.lp-benefit-with-image {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.lp-benefit-with-image .lp-benefit-content {
    min-width: 0;
}

.lp-benefit-with-image .lp-section-title,
.lp-benefit-with-image .lp-section-sub,
.lp-benefit-with-image .lp-benefit-list {
    text-align: left;
}

.lp-benefit-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.lp-benefit-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.lp-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.lp-section-sub {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.lp-benefit-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    text-align: left;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.lp-benefit-list li {
    font-size: 1rem;
    color: #475569;
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
}

.lp-cta-btn {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35);
}

.lp-cta-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Innovations */
.lp-innovations {
    padding: 80px 24px;
}

.lp-innovations-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.lp-innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px 0 40px;
    text-align: left;
}

.lp-innov-item {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-innov-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.lp-innov-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.lp-innov-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Conheça o sistema (imagem da plataforma) */
.lp-sistema {
    padding: 80px 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.lp-sistema-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.lp-sistema-inner .lp-section-title {
    margin-bottom: 12px;
}

.lp-sistema-inner .lp-section-sub {
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.lp-sistema-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.lp-sistema-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.lp-sistema-image-click {
    cursor: zoom-in;
}

/* Lightbox zoom ao clicar na imagem do sistema */
.lp-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lp-lightbox-open {
    opacity: 1;
    visibility: visible;
}

.lp-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
}

.lp-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lp-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    color: #1e293b;
    font-size: 1.75rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.lp-lightbox-close:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

/* Guarantee */
.lp-guarantee {
    padding: 80px 24px;
    background: rgba(255, 255, 255, 0.8);
}

.lp-guarantee-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Garantia com imagem ao lado */
.lp-guarantee-with-image {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.lp-guarantee-with-image .lp-guarantee-content {
    min-width: 0;
}

.lp-guarantee-with-image .lp-section-title {
    text-align: left;
}
.lp-guarantee-with-image .lp-guarantee-text {
    text-align: justify;
}

.lp-guarantee-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.lp-guarantee-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

.lp-guarantee-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
}

/* CTA final */
.lp-cta-final {
    padding: 80px 24px;
    text-align: center;
}

.lp-cta-final-inner {
    max-width: 600px;
    margin: 0 auto;
}

.lp-cta-btn-large {
    font-size: 1.2rem;
    padding: 18px 44px;
}

/* Footer */
.lp-footer {
    padding: 32px 24px;
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    font-size: 0.9rem;
}

.lp-footer a {
    color: #93c5fd;
    text-decoration: none;
}

.lp-footer a:hover {
    text-decoration: underline;
}

.lp-footer p {
    margin: 4px 0;
}

/* =====================================================
   CHATBOT – widget flutuante na página principal
   ===================================================== */
.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(30, 64, 175, 0.5);
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
}

.chatbot-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    height: 420px;
    max-height: calc(100vh - 140px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(30, 64, 175, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.chatbot-box-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    padding: 14px 16px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-title {
    font-weight: 700;
    font-size: 1rem;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chatbot-msg {
    display: flex;
    width: 100%;
}

.chatbot-msg-user {
    justify-content: flex-end;
}

.chatbot-msg-bot {
    justify-content: flex-start;
}

.chatbot-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.chatbot-msg-user .chatbot-bubble {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chatbot-msg-bot .chatbot-bubble {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.chatbot-input-wrap {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.chatbot-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot-send:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.chatbot-send svg {
    width: 20px;
    height: 20px;
}

@keyframes loginBgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Ícones de IAs nos cantos da tela (login) */
.login-ai-icons {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.ai-icons-corner {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 220px;
}

.ai-icons-tl { top: 16px; left: 16px; justify-content: flex-start; align-content: flex-start; }
.ai-icons-tr { top: 16px; right: 16px; justify-content: flex-end; align-content: flex-start; }
.ai-icons-bl { bottom: 16px; left: 16px; justify-content: flex-start; align-content: flex-end; }
.ai-icons-br { bottom: 16px; right: 16px; justify-content: flex-end; align-content: flex-end; }

.ai-icon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(30, 64, 175, 0.85);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.15);
    white-space: nowrap;
}

.ai-icon-badge::before {
    content: '✦';
    font-size: 0.85em;
    color: #3b82f6;
    opacity: 0.9;
}

/* Imagem do policial PRF - removida */
.prf-officer-image {
    display: none !important;
}

.prf-officer-image::before {
    display: none !important;
}

.prf-officer-image::after {
    display: none !important;
}

.prf-officer-image .officer-img {
    display: none !important;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 0.98;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(-50%) translateY(0px);
    }
    50% {
        transform: translateY(-50%) translateY(-15px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes rotateGlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes imageShimmer {
    0%, 100% {
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2)) brightness(1.05);
    }
    50% {
        filter: drop-shadow(0 25px 50px rgba(30, 58, 138, 0.3)) brightness(1.1);
    }
}

/* Imagens decorativas de estudantes estudando com IA */
.login-decorative-images {
    display: none;
}

.decorative-image {
    display: none !important;
}

.decorative-image:hover {
    opacity: 1;
    transform: scale(1.1) translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(74, 144, 226, 0.4), 0 0 80px rgba(118, 75, 162, 0.3);
    border-color: rgba(74, 144, 226, 0.5);
    z-index: 10;
}

.decorative-image-1 {
    top: 5%;
    left: 3%;
    width: 320px;
    height: 240px;
    animation-delay: 0s;
}

.decorative-image-2 {
    bottom: 2%;
    left: 3%;
    width: 360px;
    height: 240px;
    animation-delay: 2s;
}


@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(1.5deg);
    }
    66% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* Wrapper da imagem */
.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
}

.decorative-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.1) saturate(1.2);
    animation: imagePulse 4s ease-in-out infinite;
}

@keyframes imagePulse {
    0%, 100% {
        filter: brightness(1.05) contrast(1.1) saturate(1.2);
    }
    50% {
        filter: brightness(1.15) contrast(1.15) saturate(1.3);
    }
}

.decorative-image:hover .decorative-img {
    transform: scale(1.15);
    filter: brightness(1.2) contrast(1.2) saturate(1.4);
    animation: none;
}

/* Overlay com gradiente */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.1) 0%,
        transparent 40%,
        transparent 60%,
        rgba(118, 75, 162, 0.1) 100%
    );
    pointer-events: none;
    transition: all 0.6s ease;
    animation: overlayShimmer 3s ease-in-out infinite;
}

@keyframes overlayShimmer {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

.decorative-image:hover .image-overlay {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.2) 0%,
        transparent 40%,
        transparent 60%,
        rgba(118, 75, 162, 0.2) 100%
    );
    animation: overlayShimmer 1.5s ease-in-out infinite;
}

/* Efeito de partículas */
.particles-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 22px;
}

.particles-effect::before,
.particles-effect::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(74, 144, 226, 0.8);
    border-radius: 50%;
    box-shadow: 
        20px 30px 0 rgba(74, 144, 226, 0.6),
        60px 80px 0 rgba(118, 75, 162, 0.5),
        100px 50px 0 rgba(74, 144, 226, 0.4),
        150px 120px 0 rgba(118, 75, 162, 0.6),
        200px 90px 0 rgba(74, 144, 226, 0.5),
        250px 150px 0 rgba(118, 75, 162, 0.4),
        80px 180px 0 rgba(74, 144, 226, 0.6),
        180px 200px 0 rgba(118, 75, 162, 0.5);
    animation: particlesFloat 6s ease-in-out infinite;
}

.particles-effect::after {
    animation-delay: 3s;
    box-shadow: 
        30px 40px 0 rgba(118, 75, 162, 0.6),
        70px 90px 0 rgba(74, 144, 226, 0.5),
        110px 60px 0 rgba(118, 75, 162, 0.4),
        160px 130px 0 rgba(74, 144, 226, 0.6),
        210px 100px 0 rgba(118, 75, 162, 0.5),
        260px 160px 0 rgba(74, 144, 226, 0.4),
        90px 190px 0 rgba(118, 75, 162, 0.6),
        190px 210px 0 rgba(74, 144, 226, 0.5);
}

@keyframes particlesFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) translateX(3px);
        opacity: 0.8;
    }
}

.decorative-image:hover .particles-effect::before,
.decorative-image:hover .particles-effect::after {
    animation: particlesFloat 3s ease-in-out infinite;
    opacity: 1;
}

/* Efeito de brilho rotativo */
.decorative-image::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(
        circle,
        rgba(74, 144, 226, 0.15) 0%,
        rgba(118, 75, 162, 0.1) 30%,
        transparent 70%
    );
    animation: rotateGlow 10s linear infinite;
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
}

.decorative-image:hover::before {
    background: radial-gradient(
        circle,
        rgba(74, 144, 226, 0.25) 0%,
        rgba(118, 75, 162, 0.2) 30%,
        transparent 70%
    );
    animation: rotateGlow 5s linear infinite;
}

/* Efeito de borda brilhante */
.decorative-image::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(
        45deg,
        rgba(74, 144, 226, 0.5),
        rgba(118, 75, 162, 0.5),
        rgba(74, 144, 226, 0.5)
    );
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: borderGlow 3s linear infinite;
    z-index: -1;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.decorative-image:hover::after {
    opacity: 1;
    animation: borderGlow 1.5s linear infinite;
}

/* Placeholder para imagens não encontradas */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px dashed rgba(74, 144, 226, 0.3);
    border-radius: 22px;
    color: rgba(74, 144, 226, 0.7);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* Efeito de shimmer adicional */
.decorative-image {
    position: relative;
}

.decorative-image .image-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.decorative-image:hover .image-wrapper::before {
    animation: shimmer 2s ease-in-out infinite;
}

/* Efeito de partículas de fundo */
.login-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 85% 25%, rgba(74, 144, 226, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.1) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.login-container-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    min-height: 100vh;
    position: relative;
    z-index: 5;
    padding: 30px 24px 30px 24px;
}

/* Card de valores (assinatura) – coluna esquerda, mais em baixo */
.login-pricing-wrap {
    flex: 0 0 36%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-left: 4%;
    padding-right: 20px;
    padding-bottom: 140px;
    position: relative;
    z-index: 5;
}

.login-pricing-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 28px 32px 32px;
    width: 280px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.login-pricing-tag {
    display: inline-block;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.login-pricing-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.login-pricing-desc {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.login-pricing-de {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: #64748b;
}

.login-pricing-old {
    text-decoration: line-through;
}

.login-pricing-price {
    margin: 0 0 24px;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.login-pricing-currency {
    font-size: 1.25rem;
    font-weight: 700;
    vertical-align: top;
    margin-right: 2px;
}

.login-pricing-btn {
    display: block;
    width: 100%;
    background: #dc2626;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 14px;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.login-pricing-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.login-pricing-link {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.login-pricing-link:hover {
    text-decoration: underline;
}

.login-container {
    flex: 1;
    min-width: 0;
    max-width: 1000px;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.login-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12),
                0 10px 40px rgba(30, 64, 175, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 420px;
    overflow: hidden;
}
.login-card.login-card-single {
    grid-template-columns: 1fr;
    max-width: 440px;
}
.login-card.login-card-single .login-form-section {
    max-width: 100%;
}
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 650px;
    position: relative;
    z-index: 15;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: box-shadow 0.4s ease, transform 0.3s ease;
}

/* Efeito de brilho suave na borda do card */
.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(59, 130, 246, 0.03) 45%,
        rgba(59, 130, 246, 0.06) 50%,
        rgba(59, 130, 246, 0.03) 55%,
        transparent 60%
    );
    animation: loginShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes loginShimmer {
    0%, 100% { transform: translateX(-30%) translateY(-30%) rotate(0deg); opacity: 0.6; }
    50% { transform: translateX(30%) translateY(30%) rotate(180deg); opacity: 1; }
}

.login-card:hover {
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.14),
                0 14px 50px rgba(30, 64, 175, 0.1),
                0 0 0 1px rgba(59, 130, 246, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.login-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.25), transparent);
    opacity: 0.8;
    z-index: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lado Esquerdo - Branding */
.login-branding {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #eef2ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 28px 24px 28px 28px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.login-branding::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}

.login-branding {
    border-right: 1px solid rgba(59, 130, 246, 0.12);
}

.prf-brasao {
    width: 200px;
    height: 240px;
    margin-bottom: 40px;
    animation: fadeInScale 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 2;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.prf-brasao img,
.prf-brasao .brasao-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Animação da imagem de login: flutuação suave */
@keyframes loginImageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes loginImageGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(30, 64, 175, 0.12),
                    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                    0 2px 4px rgba(0, 0, 0, 0.04);
    }
    50% {
        box-shadow: 0 12px 40px rgba(30, 64, 175, 0.2),
                    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                    0 4px 12px rgba(0, 0, 0, 0.05);
    }
}

/* Imagem de identidade: Língua Portuguesa com IA (tela de login) */
.login-identidade-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    margin-top: 0;
    animation: fadeInScale 0.8s ease-out 0.2s both,
               loginImageFloat 4s ease-in-out 1s infinite,
               loginImageGlow 3s ease-in-out 1.2s infinite;
    position: relative;
    z-index: 2;
    padding: 10px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.12),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                0 2px 4px rgba(0, 0, 0, 0.04);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.login-identidade-img:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.18),
                0 0 0 1px rgba(255, 255, 255, 0.9) inset,
                0 4px 12px rgba(0, 0, 0, 0.06);
    animation-play-state: paused;
}

.login-identidade-img img,
.login-identidade-img .identidade-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.1));
    transition: filter 0.3s ease;
}

.login-identidade-img:hover img,
.login-identidade-img:hover .identidade-img {
    filter: drop-shadow(0 8px 20px rgba(30, 64, 175, 0.15));
}

/* Lista de benefícios abaixo da imagem (estilo Completo) */
.login-features-box {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
    padding: 20px 18px 22px;
    background: #2d3748;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.login-features-title {
    margin: 0 0 18px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.02em;
}

.login-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.login-features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #ffffff;
    font-weight: 400;
}

.login-features-list li:last-child {
    margin-bottom: 0;
}

.login-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Imagem de IA / aprendizado – fora da caixa de login (abaixo do card) */
.login-container:has(.login-ia-visual-outside) {
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
    align-items: center;
}

.login-ia-visual {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.login-ia-visual-outside {
    margin-top: 0;
    max-width: 480px;
    flex-shrink: 0;
}

.login-ia-visual-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

.identidade-placeholder {
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.brasao-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

/* Tagline unificada - uma frase só */
.login-branding-tagline {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    z-index: 2;
    max-width: 320px;
}

.login-tagline-main {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1e40af;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Compatibilidade com cadastro (prf-logo-text) */
.prf-logo-text {
    text-align: center;
    color: #1e3a8a;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prf-logo-main {
    font-size: 3.8em;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #1e3a8a;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.prf-logo-main::before {
    content: '✓';
    font-size: 0.75em;
    color: #4ade80;
    filter: drop-shadow(0 2px 4px rgba(74, 222, 128, 0.3));
}

.prf-logo-full {
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 1.5px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Lado Direito - Formulário */
.login-form-section {
    background: rgba(255, 255, 255, 0.6);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.login-form-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.2) 50%, transparent);
    opacity: 0.8;
}

.login-form-header {
    margin-bottom: 40px;
}

.login-form-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: -0.5px;
}

.login-form-header h2 svg {
    color: #1e3a8a;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(30, 58, 138, 0.1));
}

.login-form-header p {
    color: #64748b;
    font-size: 1em;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-top: 4px;
}

/* Ícones de estudo (letras, lápis, papel) na tela de login */
.login-study-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 32px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.06) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(30, 58, 138, 0.1);
}
.login-study-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #1e3a8a;
    opacity: 0.85;
}
.login-study-icon svg {
    width: 22px;
    height: 22px;
}
.login-study-book { color: #2563eb; }
.login-study-pencil { color: #7c3aed; }
.login-study-paper { color: #0d9488; }
.login-study-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.12);
    border: 1px solid rgba(30, 58, 138, 0.15);
}

.login-form {
    margin-bottom: 25px;
}

.login-cadastro-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95em;
    color: #64748b;
}
.login-cadastro-link a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.login-cadastro-link a:hover {
    text-decoration: underline;
}

/* =====================================================
   PÁGINA DE CADASTRO – elegante
   ===================================================== */
.page-cadastro .login-container-wrapper {
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 24px 24px 48px;
    gap: 20px;
}

/* Botão Voltar à tela principal – acima do card, sempre visível */
.page-cadastro .cadastro-btn-voltar-topo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 600px;
    padding: 12px 20px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.page-cadastro .cadastro-btn-voltar-topo:hover {
    border-color: #1e40af;
    background: #eff6ff;
    color: #1e40af;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.15);
}
.page-cadastro .cadastro-btn-voltar-topo svg {
    flex-shrink: 0;
}

.page-cadastro .login-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.page-cadastro .cadastro-card {
    max-width: 600px;
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
                0 8px 32px rgba(30, 64, 175, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.page-cadastro .cadastro-branding {
    display: none;
}

.page-cadastro .cadastro-branding {
    padding: 40px 32px;
}

.page-cadastro .login-identidade-img {
    animation: none;
    margin-bottom: 20px;
}

.page-cadastro .cadastro-form-section {
    padding: 28px 32px 32px;
    min-width: 0;
    position: relative;
    overflow: visible;
}

.page-cadastro .cadastro-form-header {
    margin-bottom: 22px;
}

.page-cadastro .cadastro-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #1e293b;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.page-cadastro .cadastro-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

/* Grade: 2 colunas em telas maiores, 1 em mobile */
.page-cadastro .cadastro-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin-bottom: 18px;
}

.page-cadastro .cadastro-form .form-group {
    margin-bottom: 14px;
}

.page-cadastro .cadastro-form-grid .form-group {
    margin-bottom: 14px;
}

.page-cadastro .cadastro-form .form-group label {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.page-cadastro .cadastro-form input {
    border-radius: 12px;
    padding: 12px 16px;
    min-height: 44px;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-cadastro .cadastro-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.page-cadastro .btn-login {
    margin-top: 12px;
    margin-bottom: 6px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    min-height: 48px;
    width: 100%;
}

.page-cadastro .cadastro-qrcode-wrap {
    text-align: center;
    margin: 24px 0 20px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.page-cadastro .cadastro-qrcode-label {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.page-cadastro .cadastro-qrcode-img {
    display: block;
    margin: 0 auto;
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-cadastro .login-cadastro-link {
    margin-top: 24px;
    font-size: 0.95rem;
}

.page-cadastro .login-cadastro-link a {
    color: #2563eb;
    font-weight: 600;
}

/* Polimento dos inputs na tela de login */
.login-page .form-group input {
    border-radius: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.login-page .btn-login {
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.login-page .btn-login:hover {
    box-shadow: 0 8px 28px rgba(30, 64, 175, 0.35);
}

.cadastro-form .form-group {
    margin-bottom: 1rem;
}

/* =====================================================
   FORMS
   ===================================================== */

.form-group {
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95em;
    letter-spacing: 0.3px;
}

.form-group label svg {
    color: #64748b;
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f8fafc;
    color: #1e293b;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    opacity: 0.7;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08), 0 4px 12px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
    background: white;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #cbd5e1;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1a2a6b 100%);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.05em;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
}

.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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.35);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 8px;
}

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

.btn-small {
    padding: 5px 15px;
    font-size: 0.9em;
}

/* =====================================================
   ALERTS
   ===================================================== */

.alert {
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    font-size: 0.9em;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #fca5a5;
    border-left: 4px solid var(--error-color);
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #6ee7b7;
    border-left: 4px solid var(--success-color);
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}
.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #93c5fd;
    border-left: 4px solid var(--secondary-color);
}

/* =====================================================
   BREADCRUMB
   ===================================================== */

.breadcrumb {
    margin-bottom: 25px;
    color: #334155;
    font-size: 0.95em;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.breadcrumb a {
    color: #1e40af;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.breadcrumb a:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #1e3a8a;
}

.breadcrumb span {
    color: #64748b;
}

/* =====================================================
   PAGE HEADER
   ===================================================== */

.page-header {
    margin-bottom: 50px;
    text-align: center;
    padding: 40px 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.2); }
}

.page-header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3em;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.materia-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.materia-icon-large {
    font-size: 4em;
}

/* =====================================================
   MATERIAS GRID
   ===================================================== */

.materias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.materias-grid .materia-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.materias-grid .materia-card .materia-stats {
    margin-top: auto;
}

.materia-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease-out both;
}

.materia-card:nth-child(1) { animation-delay: 0.1s; }
.materia-card:nth-child(2) { animation-delay: 0.2s; }
.materia-card:nth-child(3) { animation-delay: 0.3s; }
.materia-card:nth-child(4) { animation-delay: 0.4s; }
.materia-card:nth-child(5) { animation-delay: 0.5s; }
.materia-card:nth-child(6) { animation-delay: 0.6s; }
.materia-card:nth-child(7) { animation-delay: 0.7s; }
.materia-card:nth-child(8) { animation-delay: 0.8s; }

/* Atalhos do dashboard (opcao-card-modern no grid) */
.materias-grid .opcao-card-modern.dashboard-atalho {
    min-height: 280px;
    animation: fadeInScale 0.6s ease-out both;
}
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(1) { animation-delay: 0.1s; }
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(2) { animation-delay: 0.15s; }
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(3) { animation-delay: 0.2s; }
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(4) { animation-delay: 0.25s; }
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(5) { animation-delay: 0.3s; }
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(6) { animation-delay: 0.35s; }
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(7) { animation-delay: 0.4s; }
.materias-grid .opcao-card-modern.dashboard-atalho:nth-child(8) { animation-delay: 0.45s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.materia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.materia-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.materia-card:hover::before {
    left: 100%;
}

.materia-card:hover::after {
    opacity: 1;
}

.materia-card:hover {
    transform: translateY(-12px) scale(1.03) rotateY(2deg);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3), 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 1);
}

.materia-icon {
    font-size: 5em;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.materia-card:hover .materia-icon {
    transform: scale(1.15) rotate(10deg) translateZ(20px);
    filter: drop-shadow(0 12px 24px rgba(102, 126, 234, 0.4));
}

.materia-card h3 {
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.4em;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.materia-card:hover h3 {
    transform: scale(1.05);
}

.materia-card p {
    color: var(--text-light);
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.materia-stats {
    color: var(--text-light);
    font-size: 0.9em;
    padding-top: 20px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.materia-card:hover .materia-stats {
    color: #667eea;
    border-top-color: rgba(102, 126, 234, 0.3);
}

/* =====================================================
   CONTEUDOS LIST
   ===================================================== */

.conteudos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card de conteúdo — lista da matéria */
.conteudo-card {
    display: flex;
    align-items: stretch;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.conteudo-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
    border-color: var(--primary-light);
}

.conteudo-card--done {
    border-left: 4px solid var(--success-color);
}

.conteudo-card__toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    padding: 0;
    border: none;
    border-right: 1px solid var(--border-color);
    background: rgba(102, 126, 234, 0.06);
    cursor: pointer;
    transition: background 0.2s ease;
}

.conteudo-card__toggle:hover {
    background: rgba(102, 126, 234, 0.12);
}

.conteudo-card__toggle:disabled {
    opacity: 0.5;
    cursor: wait;
}

.conteudo-card__check {
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid #94a3b8;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
    position: relative;
}

.conteudo-card__toggle.is-concluido .conteudo-card__check {
    background: #10b981;
    border-color: #10b981;
}

.conteudo-card__toggle.is-concluido .conteudo-card__check::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.conteudo-card__main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.conteudo-card__text {
    flex: 1;
    min-width: 0;
}

.conteudo-card__title {
    margin: 0 0 8px;
    font-size: 1.3em;
    font-weight: 700;
    line-height: 1.35;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.conteudo-card--done .conteudo-card__title {
    opacity: 0.75;
}

.conteudo-card__desc {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.55;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.conteudo-card__side {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.conteudo-card__badge {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid #6ee7b7;
    white-space: nowrap;
}

.conteudo-card__badge svg {
    flex-shrink: 0;
}

.conteudo-card--done .conteudo-card__badge {
    display: inline-flex;
}

.conteudo-card--done .conteudo-card__arrow {
    display: none;
}

.conteudo-card__arrow {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    color: #667eea;
    transition: transform 0.3s ease, color 0.3s ease;
}

.conteudo-card:hover .conteudo-card__arrow {
    color: #764ba2;
    transform: translateX(6px);
}

/* Legado — manter compatibilidade se usado em outras páginas */
.conteudo-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.conteudo-item-link {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.conteudo-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
    border-color: var(--primary-light);
}

.conteudo-item.completo {
    border-left: 4px solid var(--success-color);
}

.conteudo-info h3 {
    margin-bottom: 8px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.3em;
}

.conteudo-info p {
    color: var(--text-light);
    font-size: 0.9em;
}

@media (max-width: 640px) {
    .conteudo-card__main {
        padding: 18px 16px;
        gap: 12px;
    }

    .conteudo-card__title {
        font-size: 1.15em;
    }

    .conteudo-card__toggle {
        width: 56px;
    }
}

.conteudo-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.arrow {
    font-size: 1.5em;
    color: var(--text-light);
}

/* =====================================================
   OPCOES ESTUDO
   ===================================================== */

.opcoes-estudo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* ===== HERO SECTION DO CONTEÚDO ===== */
.conteudo-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.conteudo-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.conteudo-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.conteudo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.conteudo-badge-icon {
    font-size: 1.2em;
}

.conteudo-title {
    font-size: 3.5em;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.conteudo-subtitle {
    font-size: 1.3em;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
}

/* ===== CARDS MODERNOS DE OPÇÕES ===== */
.opcoes-estudo-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.opcao-card-modern {
    background: white;
    border-radius: 20px;
    padding: 0;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    display: block;
}

.opcao-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    transition: height 0.4s ease;
    z-index: 1;
}

.opcao-texto .opcao-card-gradient {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a5a 100%);
}

.opcao-audio .opcao-card-gradient {
    background: linear-gradient(90deg, #4ecdc4 0%, #44a08d 100%);
}

.opcao-video .opcao-card-gradient {
    background: linear-gradient(90deg, #8a2be2 0%, #6a1bb2 100%);
}

.opcao-quiz .opcao-card-gradient {
    background: linear-gradient(90deg, #51cf66 0%, #40c057 100%);
}

.opcao-explicacao-basica .opcao-card-gradient {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.opcao-ia .opcao-card-gradient {
    background: linear-gradient(90deg, #9775fa 0%, #845ef7 100%);
}

.opcao-concursos .opcao-card-gradient {
    background: linear-gradient(90deg, #ffa726 0%, #fb8c00 100%);
}

.opcao-mapas .opcao-card-gradient {
    background: linear-gradient(90deg, #26c6da 0%, #00acc1 100%);
}

.opcao-youtube .opcao-card-gradient {
    background: linear-gradient(90deg, #FF0000 0%, #CC0000 100%);
}

.opcao-flashcards .opcao-card-gradient {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.opcao-professor .opcao-card-gradient {
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
}

.opcao-informatica .opcao-card-gradient {
    background: linear-gradient(90deg, #059669 0%, #047857 100%);
}

.opcao-leg-transito .opcao-card-gradient {
    background: linear-gradient(90deg, #ea580c 0%, #c2410c 100%);
}

.opcao-dir-administrativo .opcao-card-gradient {
    background: linear-gradient(90deg, #4338ca 0%, #3730a3 100%);
}

.opcao-dir-penal .opcao-card-gradient {
    background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 100%);
}

.opcao-gramatica .opcao-card-gradient {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.opcao-gramatica .opcao-icon-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.opcao-card-stats {
    display: block;
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.opcao-card-content {
    padding: 40px 30px;
    position: relative;
    z-index: 2;
}

.opcao-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.opcao-card-modern:hover .opcao-card-gradient {
    height: 100%;
    opacity: 0.05;
}

.opcao-card-modern:hover .opcao-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.opcao-card-modern:hover .opcao-arrow {
    transform: translateX(8px);
    opacity: 1;
}

.opcao-card-modern.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.opcao-card-modern.disabled:hover {
    transform: none;
}

.opcao-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
}

.opcao-texto .opcao-icon-modern {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
}

.opcao-audio .opcao-icon-modern {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.opcao-video .opcao-icon-modern {
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    color: white;
}

.opcao-explicacao-basica .opcao-icon-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.opcao-quiz .opcao-icon-modern {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    color: white;
}

.opcao-ia .opcao-icon-modern {
    background: linear-gradient(135deg, #9775fa 0%, #845ef7 100%);
    color: white;
}

.opcao-concursos .opcao-icon-modern {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: white;
}

.opcao-mapas .opcao-icon-modern {
    background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
    color: white;
}

.opcao-youtube .opcao-icon-modern {
    background: white;
    color: white;
}

.opcao-youtube .opcao-icon-modern svg {
    fill: #FF0000;
}

.opcao-flashcards .opcao-icon-modern {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.opcao-professor .opcao-icon-modern {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.opcao-informatica .opcao-icon-modern {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.opcao-leg-transito .opcao-icon-modern {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
}

.opcao-dir-administrativo .opcao-icon-modern {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    color: white;
}

.opcao-dir-penal .opcao-icon-modern {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    color: white;
}

.opcao-icon-modern svg {
    width: 40px;
    height: 40px;
}

.opcao-card-modern h3 {
    margin: 0 0 12px 0;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.opcao-card-modern:hover h3 {
    color: var(--text-color);
}

.opcao-card-modern p {
    margin: 0 0 20px 0;
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.6;
}

.opcao-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.1);
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.opcao-arrow svg {
    width: 20px;
    height: 20px;
}

/* Cards antigos mantidos para compatibilidade */
.opcao-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.opcao-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.opcao-card > * {
    position: relative;
    z-index: 1;
}

.opcao-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
    color: white;
}

.opcao-card:hover::after {
    opacity: 1;
}

.opcao-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.opcao-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.opcao-card:hover .opcao-icon {
    transform: scale(1.15) rotate(-5deg);
}

.opcao-card h3 {
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.opcao-card:hover h3 {
    color: white;
}

.opcao-card p {
    color: var(--text-light);
    font-size: 0.9em;
}

/* =====================================================
   EXPLICACAO
   ===================================================== */

.explicacao-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.explicacao-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2 0%, #6a1bb2 50%, #8a2be2 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.explicacao-texto h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.conteudo-explicacao {
    line-height: 1.8;
    margin-bottom: 30px;
}

.conteudo-explicacao .explicacao-label,
.exemplos-content .explicacao-label,
.dicas-content .explicacao-label {
    margin: 0 0 1rem 0;
    font-size: 1.05em;
}

.conteudo-explicacao ul,
.exemplos-content ul,
.dicas-content ul,
.pegadinhas-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
}

.conteudo-explicacao hr.explicacao-divider {
    margin: 2rem 0 1.5rem;
    border: none;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
}

.conteudo-explicacao .explicacao-subtitulo-10classes {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 1rem 0;
}

.conteudo-explicacao ol.lista-10-classes {
    margin: 0 0 1.25rem 0;
    padding-left: 1.5rem;
    line-height: 1.75;
}

.conteudo-explicacao ol.lista-10-classes li {
    margin-bottom: 0.65rem;
}

.exemplos-box,
.dicas-box,
.pegadinhas-box {
    margin-top: 30px;
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid;
    transition: all 0.3s ease;
}

.exemplos-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #7dd3fc;
    border-left: 5px solid var(--secondary-color);
}

.dicas-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
    border-left: 5px solid var(--warning-color);
}

.pegadinhas-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fca5a5;
    border-left: 5px solid var(--error-color);
}

.exemplos-box:hover,
.dicas-box:hover,
.pegadinhas-box:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.exemplos-box h3,
.dicas-box h3,
.pegadinhas-box h3 {
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== EXPLICAÇÃO EM ÁUDIO - DESIGN ELEGANTE ===== */
.explicacao-audio {
    max-width: 900px;
    margin: 0 auto;
}

.audio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.1);
}

.audio-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(138, 43, 226, 0.4);
    }
}

.audio-icon {
    width: 45px;
    height: 45px;
    color: white;
}

.audio-header-text h1 {
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    font-weight: 800;
}

.audio-subtitle {
    margin: 0;
    color: var(--text-light);
    font-size: 1.1em;
    font-weight: 400;
}

.audio-player-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audio-player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(138, 43, 226, 0.15);
}

.audio-text-container {
    margin-bottom: 35px;
}

.audio-text-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audio-text-label svg {
    color: var(--primary-color);
}

.audio-text {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 30px;
    border-radius: 16px;
    line-height: 1.9;
    font-size: 1.05em;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    box-shadow: inset 0 2px 10px rgba(138, 43, 226, 0.05);
    min-height: 150px;
}

.audio-controls-wrapper {
    border-top: 2px solid rgba(138, 43, 226, 0.1);
    padding-top: 30px;
}

.audio-player-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.audio-btn-play,
.audio-btn-pause {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    position: relative;
    overflow: hidden;
}

.audio-btn-play::before,
.audio-btn-pause::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.audio-btn-play:hover::before,
.audio-btn-pause:hover::before {
    width: 300px;
    height: 300px;
}

.audio-btn-play:hover,
.audio-btn-pause:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(138, 43, 226, 0.5);
}

.audio-btn-play:active,
.audio-btn-pause:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.audio-btn-pause {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.audio-btn-pause:hover {
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.play-icon,
.pause-icon {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.audio-btn-play:hover .play-icon {
    transform: scale(1.2);
}

.audio-btn-pause:hover .pause-icon {
    transform: scale(1.2);
}

.audio-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.audio-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9em;
    padding: 10px 18px;
    background: rgba(138, 43, 226, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.1);
}

.audio-info-item svg {
    color: var(--primary-color);
    opacity: 0.7;
}

/* Player HTML5 para arquivos de áudio enviados */
.audio-file-player {
    margin-bottom: 30px;
}

.audio-file-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.audio-file-header svg {
    color: white;
}

.audio-html5-player {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.1);
    border: 2px solid rgba(138, 43, 226, 0.2);
    outline: none;
}

.audio-html5-player::-webkit-media-controls-panel {
    background-color: transparent;
}

.audio-html5-player::-webkit-media-controls-play-button {
    background-color: var(--primary-color);
    border-radius: 50%;
}

.audio-html5-player::-webkit-media-controls-current-time-display,
.audio-html5-player::-webkit-media-controls-time-remaining-display {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== UPLOAD DE VÍDEO - DESIGN SIMPLIFICADO ===== */
.video-upload-section {
    max-width: 700px;
    margin: 0 auto;
}

.upload-info-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.1);
    margin-bottom: 30px;
}

.upload-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.upload-icon-wrapper svg {
    color: white;
    width: 60px;
    height: 60px;
}

.upload-info-card h2 {
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em;
    font-weight: 800;
}

.upload-info-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 1.1em;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.15em;
    display: inline-flex;
    align-items: center;
}

.btn-large svg {
    margin-right: 10px;
}

/* Responsividade para áudio */
@media (max-width: 768px) {
    .audio-header {
        flex-direction: column;
        text-align: center;
    }
    
    .audio-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .audio-icon {
        width: 40px;
        height: 40px;
    }
    
    .audio-header-text h1 {
        font-size: 1.8em;
    }
    
    .audio-player-card {
        padding: 25px;
    }
    
    .audio-text {
        padding: 20px;
        font-size: 1em;
    }
    
    .audio-btn-play,
    .audio-btn-pause {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .audio-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .audio-html5-player {
        height: 50px;
    }
    
    .upload-info-card {
        padding: 30px 20px;
    }
    
    .upload-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .upload-icon-wrapper svg {
        width: 50px;
        height: 50px;
    }
    
    .upload-info-card h2 {
        font-size: 1.6em;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .video-header {
        flex-direction: column;
        text-align: center;
    }
    
    .video-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .video-icon {
        width: 40px;
        height: 40px;
    }
    
    .video-header-text h1 {
        font-size: 1.8em;
    }
    
    .video-player-card {
        padding: 20px;
    }
    
    /* Responsividade para conteúdo */
    .conteudo-hero {
        padding: 40px 25px;
        margin-bottom: 30px;
    }
    
    .conteudo-title {
        font-size: 2.2em;
    }
    
    .conteudo-subtitle {
        font-size: 1.1em;
    }
    
    .opcoes-estudo-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .opcao-card-content {
        padding: 30px 25px;
    }
    
    .opcao-icon-modern {
        width: 70px;
        height: 70px;
    }
    
    .opcao-icon-modern svg {
        width: 35px;
        height: 35px;
    }
    
    .opcao-card-modern h3 {
        font-size: 1.2em;
    }
}

/* ===== EXPLICAÇÃO EM VÍDEO - DESIGN ELEGANTE ===== */
.explicacao-video {
    max-width: 1000px;
    margin: 0 auto;
}

.video-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.1);
}

.video-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.video-icon {
    width: 45px;
    height: 45px;
    color: white;
}

.video-header-text h1 {
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    font-weight: 800;
}

.video-subtitle {
    margin: 0;
    color: var(--text-light);
    font-size: 1.1em;
    font-weight: 400;
}

.video-player-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.1);
    overflow: hidden;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

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

.video-player {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
}

.roteiro-aula {
    margin-top: 30px;
}

.tempo-sugerido {
    margin-bottom: 15px;
    color: var(--text-light);
}

.roteiro-content {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
}

.explicacao-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* =====================================================
   QUIZ
   ===================================================== */

.quiz-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.quiz-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.1);
    text-align: center;
}

.quiz-header h1 {
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5em;
    font-weight: 800;
}

.quiz-header p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.quiz-info {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.quiz-info span {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    font-size: 0.95em;
}

.quiz-info strong {
    color: var(--primary-color);
    font-weight: 700;
}

.questao-box {
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.questao-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.questao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.questao-numero {
    font-weight: bold;
    color: var(--primary-color);
}

.questao-tipo {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85em;
}

.questao-enunciado {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.6;
}

.questao-opcoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opcao-radio {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.opcao-radio::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
    z-index: 0;
}

.opcao-radio > * {
    position: relative;
    z-index: 1;
}

.opcao-radio:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.opcao-radio:hover::before {
    width: 5px;
}

.opcao-radio input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.opcao-radio input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.quiz-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 15px;
    justify-content: center;
}

.quiz-resultado {
    text-align: center;
    padding: 40px;
}

.resultado-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    margin-top: 5px;
}

.resultado-message {
    margin: 30px 0;
    font-size: 1.2em;
}

.resultado-message .success {
    color: var(--success-color);
}

.resultado-message .warning {
    color: var(--warning-color);
}

.resultado-message .error {
    color: var(--error-color);
}

/* ===== QUIZ MODERNO COM FEEDBACK IMEDIATO ===== */
.quiz-questoes-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.questao-box-modern {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.questao-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.questao-box-modern:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.questao-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.1);
}

.questao-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.questao-numero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95em;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.questao-numero-badge svg {
    width: 18px;
    height: 18px;
}

.questao-tipo-badge {
    background: rgba(138, 43, 226, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.questao-enunciado-modern {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.questao-opcoes-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.opcao-radio-modern {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.opcao-radio-modern input[type="radio"] {
    display: none;
}

.opcao-radio-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border: 2px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.opcao-radio-circle {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.opcao-radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.opcao-radio-modern input[type="radio"]:checked + .opcao-radio-content {
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.opcao-radio-modern input[type="radio"]:checked + .opcao-radio-content .opcao-radio-circle {
    border-color: white;
}

.opcao-radio-modern input[type="radio"]:checked + .opcao-radio-content .opcao-radio-circle::after {
    transform: translate(-50%, -50%) scale(1);
    background: white;
}

.opcao-radio-modern:hover:not(.disabled) .opcao-radio-content {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.2);
}

.opcao-radio-modern.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.opcao-radio-modern.correta .opcao-radio-content {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    border-color: #51cf66;
    color: white;
    box-shadow: 0 8px 25px rgba(81, 207, 102, 0.4);
}

.opcao-radio-modern.errada .opcao-radio-content {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-color: #ff6b6b;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.opcao-radio-modern.gabarito-correto:not(.correta) .opcao-radio-content {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    border-color: #51cf66;
    color: white;
    box-shadow: 0 8px 25px rgba(81, 207, 102, 0.4);
    animation: pulse-correct 0.6s ease;
}

@keyframes pulse-correct {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.questao-feedback {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid rgba(138, 43, 226, 0.1);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-gabarito {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #51cf66;
    border-radius: 12px;
    margin-bottom: 20px;
}

.feedback-icon {
    width: 40px;
    height: 40px;
    background: #51cf66;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feedback-icon svg {
    width: 24px;
    height: 24px;
}

.feedback-content {
    font-size: 1.1em;
    color: #155724;
}

.gabarito-resposta {
    font-size: 1.3em;
    font-weight: 800;
    color: #0f5132;
}

.feedback-explicacao {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 16px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
}

.explicacao-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 700;
}

.explicacao-header svg {
    color: var(--primary-color);
}

.explicacao-content {
    line-height: 1.9;
    color: var(--text-color);
    font-size: 1.05em;
    margin-bottom: 15px;
}

.explicacao-base {
    padding-top: 15px;
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    font-size: 0.95em;
    color: var(--text-light);
    font-style: italic;
}

.explicacao-base strong {
    color: var(--primary-color);
    font-style: normal;
}

/* Resumo final: erros ou parabéns */
.quiz-resumo-final {
    margin-top: 36px;
    padding: 28px 32px;
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    background: linear-gradient(135deg, #faf8ff 0%, #f3f0ff 100%);
    box-shadow: var(--shadow-md);
}

.quiz-resumo-titulo {
    margin: 0 0 20px 0;
    font-size: 1.35em;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
}

.quiz-resumo-parabens {
    text-align: center;
    padding: 12px 8px;
}

.quiz-resumo-parabens-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 8px;
}

.quiz-resumo-parabens-texto {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.65;
    color: var(--text-color);
}

.quiz-resumo-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quiz-resumo-item {
    margin: 0;
    padding: 20px 22px;
    background: var(--bg-card);
    border-radius: 12px;
    border-left: 4px solid #dc2626;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.quiz-resumo-num {
    display: block;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.quiz-resumo-enunciado {
    margin: 0 0 12px 0;
    font-size: 1.02em;
    line-height: 1.55;
    color: var(--text-color);
}

.quiz-resumo-marca,
.quiz-resumo-gabarito {
    margin: 6px 0 0 0;
    font-size: 0.98em;
    line-height: 1.5;
    color: var(--text-light);
}

.quiz-resumo-explicacao {
    margin: 10px 0 0 0;
    padding: 12px 14px;
    font-size: 0.95em;
    line-height: 1.55;
    color: #334155;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.quiz-resumo-label {
    font-weight: 600;
    color: var(--text-color);
}

/* Responsividade para Quiz Moderno */
@media (max-width: 768px) {
    .questao-box-modern {
        padding: 25px 20px;
    }
    
    .questao-enunciado-modern {
        font-size: 1.05em;
    }
    
    .opcao-radio-content {
        padding: 15px 18px;
    }
    
    .feedback-gabarito {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .feedback-explicacao {
        padding: 20px;
    }

    .quiz-resumo-final {
        padding: 22px 18px;
    }
    
    .questao-numero-badge {
        font-size: 0.85em;
        padding: 6px 15px;
    }
}

.resultado-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* =====================================================
   CHAT IA
   ===================================================== */

.chat-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.chat-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.chat-header h1 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.chat-info {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 5px;
    color: var(--text-light);
}

.chat-messages {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 8px;
}

.chat-message {
    margin-bottom: 20px;
}

.chat-message.user .message-content {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 18px 20px;
    border-radius: 18px 18px 4px 18px;
    margin-left: 20%;
    box-shadow: var(--shadow-md);
    animation: slideInRight 0.3s ease-out;
}

.chat-message.bot .message-content {
    background: var(--bg-card);
    color: var(--text-color);
    padding: 18px 20px;
    border-radius: 18px 18px 18px 4px;
    border: 1px solid var(--border-color);
    margin-right: 20%;
    box-shadow: var(--shadow-md);
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-content strong {
    display: block;
    margin-bottom: 5px;
}

.chat-form {
    margin-top: 20px;
}

.chat-input-group {
    display: flex;
    gap: 10px;
}

.chat-input-group textarea {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    resize: vertical;
    font-family: inherit;
}

.chat-actions {
    margin-top: 20px;
    text-align: center;
}

/* =====================================================
   PROGRESSO
   ===================================================== */

.progresso-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stat-icon {
    font-size: 3em;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9em;
}

.progresso-detalhes {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.progresso-detalhes h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.progresso-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.progresso-table table {
    width: 100%;
    border-collapse: collapse;
}

.progresso-table th,
.progresso-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.progresso-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

.progresso-table tr:hover {
    background: var(--bg-color);
}

/* =====================================================
   RECENT ACTIVITY
   ===================================================== */

.recent-activity {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.recent-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.recent-activity h2 {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 2em;
    letter-spacing: -0.5px;
}

.activity-empty-hint {
    margin: 0 0 24px 0;
    color: var(--text-light, #64748b);
    font-size: 1.05em;
    line-height: 1.5;
}

.dashboard-questoes-hoje {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.dashboard-questoes-hoje-titulo {
    margin: 0;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--text-color, #1e293b);
}

.dashboard-questoes-hoje-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 520px;
}

.dashboard-questoes-hoje-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 100px;
    min-width: 90px;
}

.dashboard-questoes-hoje-stat-label {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-light, #64748b);
}

.dashboard-questoes-hoje-valor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3ch;
    padding: 8px 18px;
    border-radius: 14px;
    font-size: 1.75em;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.dashboard-questoes-hoje-valor--total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
}

.dashboard-questoes-hoje-valor--acerto {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.dashboard-questoes-hoje-valor--erro {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.dashboard-questoes-hoje-meta {
    margin: 4px 0 0 0;
    max-width: 32em;
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.45;
    color: #0d9488;
    text-align: center;
}

.dashboard-questoes-hoje-data {
    font-size: 0.88em;
    color: var(--text-light, #64748b);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    padding: 22px 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.activity-item:hover::before {
    transform: scaleY(1);
}

.activity-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.activity-date {
    color: var(--text-light);
    font-size: 0.9em;
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.activity-item:hover .activity-date {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

/* =====================================================
   UTILITIES
   ===================================================== */

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.875em;
    margin-top: auto;
    padding-top: 35px;
    font-weight: 400;
    border-top: 1px solid rgba(59, 130, 246, 0.12);
}

.login-footer svg {
    color: #64748b;
    opacity: 0.8;
    flex-shrink: 0;
}

.mt-3 {
    margin-top: 15px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
    .prf-officer-image {
        width: 300px;
        right: 2%;
    }
}

@media (max-width: 768px) {
    .login-page {
        padding: 15px;
    }

    .login-hero {
        padding-top: 48px;
    }

    .login-marquee-wrap {
        padding: 8px 0;
    }

    .login-marquee-track span {
        font-size: 0.8rem;
    }

    .login-infinite-content {
        padding: 40px 16px 80px;
    }

    .login-scroll-section {
        padding: 24px 20px;
    }

    .login-scroll-section-title {
        font-size: 1.1rem;
    }

    /* Login enxuta - mobile */
    .login-page-enxuta { padding: 24px 16px; }
    .login-page-enxuta .login-container-wrapper { max-width: 100%; }
    .login-card-enxuta .login-form-section { padding: 36px 24px 32px; }
    .login-card-enxuta .login-form input { min-height: 48px; padding: 14px 18px; font-size: 1rem; }
    .login-card-enxuta .btn-login { min-height: 50px; font-size: 1rem; }

    /* Página de assinatura (landing) - mobile */
    .lp-hero { padding: 40px 16px 60px; }
    .lp-hero-with-image {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .lp-hero-with-image .lp-hero-tag,
    .lp-hero-with-image .lp-hero-title,
    .lp-hero-with-image .lp-hero-sub,
    .lp-hero-with-image .lp-hero-cta-text { text-align: justify; }
    .lp-hero-with-image .lp-hero-badge { text-align: center; }
    .lp-hero-image-wrap { max-width: 400px; margin: 0 auto; }
    .lp-hero-title { font-size: 1.75rem; }
    .lp-pricing { padding: 24px 16px 60px; }
    .lp-pricing-grid { grid-template-columns: 1fr; }
    .lp-card { padding: 24px 20px; }
    .lp-card-price { font-size: 2.2rem; }
    .lp-benefit, .lp-innovations, .lp-sistema, .lp-guarantee, .lp-cta-final { padding: 48px 16px; }
    .lp-benefit-with-image {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .lp-benefit-with-image .lp-section-title,
    .lp-benefit-with-image .lp-section-sub,
    .lp-benefit-with-image .lp-benefit-list { text-align: center; }
    .lp-benefit-image-wrap { max-width: 380px; margin: 0 auto; }
    .lp-guarantee-with-image {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .lp-guarantee-with-image .lp-section-title { text-align: center; }
    .lp-guarantee-with-image .lp-guarantee-text { text-align: justify; }
    .lp-guarantee-image-wrap { max-width: 380px; margin: 0 auto; }
    .lp-innovations-grid { grid-template-columns: 1fr; }
    .lp-header { padding: 12px 16px; }
    .lp-header-inner { padding: 0 16px; flex-wrap: wrap; gap: 10px; }
    .lp-header .lp-nav { position: static; transform: none; }
    .lp-logo, .lp-logo-text { font-size: 1.1rem; text-align: left; }
    .lp-nav { margin-top: 4px; }
    
    /* Cadastro: tablet – card 100% largura, 1 coluna, compacto */
    .page-cadastro .cadastro-btn-voltar-topo {
        max-width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    .page-cadastro .login-container,
    .page-cadastro .cadastro-card { max-width: 100%; }
    .page-cadastro .cadastro-form-section { padding: 24px 24px 28px; }
    .page-cadastro .cadastro-title { font-size: 1.45rem; }
    .page-cadastro .cadastro-desc { font-size: 0.85rem; }
    .page-cadastro .cadastro-form .form-group label { font-size: 0.85rem; }
    .page-cadastro .cadastro-form input { min-height: 42px; padding: 10px 14px; font-size: 0.9rem; }
    .page-cadastro .btn-login { min-height: 44px; padding: 12px 20px; font-size: 0.95rem; }
    
    /* Login (card single) */
    .login-page-completa .login-card-single .login-form-section { padding: 36px 24px 40px; }
    .login-page-completa .login-card-single .login-form-header h2 { font-size: 2rem; }
    .login-page-completa .login-container:has(.login-card-single) { max-width: 100%; }
    .login-page-completa .login-card.login-card-single { max-width: 100%; }
    
    /* Countdown sessão */
    .countdown-sessao { flex-wrap: wrap; font-size: 0.9em; padding: 8px 12px; justify-content: center; }
    
    /* Tabelas */
    .usuarios-table th, .usuarios-table td { padding: 10px 8px; font-size: 0.9em; }
    .progresso-table th, .progresso-table td { padding: 10px 8px; }
    
    .login-container-wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 15px;
    }
    
    .login-pricing-wrap {
        flex: none;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .login-pricing-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 24px 24px 28px;
    }
    
    .login-container {
        flex: none;
    }
    
    .login-pricing-price {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .login-container {
        margin: 0 auto;
    }
    
    .ai-icons-corner { max-width: 180px; gap: 8px; }
    .ai-icon-badge { padding: 8px 14px; font-size: 0.82rem; }
    
    .page-cadastro .cadastro-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .prf-officer-image {
        display: none;
    }
    
    .login-card {
        grid-template-columns: 1fr;
        max-width: 100%;
        min-height: auto;
        border-radius: 20px;
    }
    
    .login-branding {
        padding: 24px 24px 28px;
        min-height: 0;
    }
    
    /* Ocultar ou reduzir imagens decorativas em tablets */
    .decorative-image {
        display: none !important;
    }
    
    .decorative-image-1 {
        display: none !important;
    }
    
    .decorative-image-2 {
        display: none !important;
    }
    
    .prf-officer-image {
        display: none;
    }
    
    .prf-brasao {
        width: 160px;
        height: 190px;
        margin-bottom: 25px;
    }
    
    .login-identidade-img {
        max-width: 260px;
        margin-bottom: 0;
    }
    
    .login-features-box {
        max-width: 260px;
        margin-top: 16px;
        padding: 16px 14px 18px;
    }
    
    .login-ia-visual-outside {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .login-features-title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }
    
    .login-features-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .prf-logo-main {
        font-size: 2.8em;
    }
    
    .login-form-section {
        padding: 45px 35px;
    }
    
    .login-form-header h2 {
        font-size: 2em;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 0.95em;
    }
    
    .btn-primary {
        padding: 14px 20px;
        font-size: 1em;
    }

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

    .opcoes-estudo {
        grid-template-columns: 1fr;
    }

    .resultado-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .resultado-actions {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .chat-message.user .message-content,
    .chat-message.bot .message-content {
        margin-left: 0;
        margin-right: 0;
    }

    .progresso-table {
        font-size: 0.9em;
    }
    
    /* Chat IA */
    .chat-container { padding: 24px 20px; max-width: 100%; }
    .chat-header h1 { font-size: 1.5rem; }
    .chat-messages { max-height: 60vh; padding: 16px; }
    .chat-message.user .message-content,
    .chat-message.bot .message-content { margin-left: 0; margin-right: 0; padding: 14px 16px; }
    
    /* Conteúdo / Explicação */
    .conteudo-base, .explicacao-base { padding-left: 0; padding-right: 0; }
    .container { overflow-x: hidden; }
}

/* =====================================================
   ESTILOS ADMINISTRATIVOS
   ===================================================== */

/* Badges já estilizados no header - mantendo apenas para compatibilidade */
.badge-perfil {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-aluno {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge-professor {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.badge-administrador {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.admin-actions {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.action-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.action-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.action-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.admin-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.tab {
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.materias-list-admin {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.materia-admin-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.materia-admin-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.materia-admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.conteudos-admin-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.conteudo-admin-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conteudo-admin-info h3 {
    margin-bottom: 8px;
    color: var(--primary-color);
}

.conteudo-admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.questoes-list-admin {
    margin-top: 30px;
}

.questao-admin-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.questao-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.questao-tipo-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.questao-enunciado-admin {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.6;
}

.questao-alternativas-admin {
    margin: 15px 0;
}

.alternativa-admin {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background: var(--bg-color);
}

.alternativa-admin.correta {
    background: #d1fae5;
    border-color: var(--success-color);
}

.badge-resposta {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 10px;
}

.questao-admin-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.btn-danger {
    background: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.usuarios-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.usuarios-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
    min-width: 0;
}

.usuarios-table table {
    width: 100%;
    border-collapse: collapse;
}

.usuarios-table th,
.usuarios-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.usuarios-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-weight: 600;
    color: var(--primary-color);
}

.select-perfil {
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-card);
    cursor: pointer;
}

.admin-section {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.materia-selecionada {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload-form-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.quiz-info-admin {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.quiz-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    color: var(--text-light);
}

.quiz-actions-admin {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* =====================================================
   RESPONSIVE - DASHBOARD MODERNO
   ===================================================== */

@media (max-width: 1024px) {
    .materias-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }
    
    .page-header h1 {
        font-size: 2.5em;
    }
    
    .container {
        padding: 32px 20px;
    }
    
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .lp-hero-inner.lp-hero-with-image {
        gap: 24px;
    }
    
    .lp-hero-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    body {
        animation: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #8b5cf6 100%);
        background-size: 100% 100%;
    }
    
    .container {
        padding: 24px 16px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-content {
        padding: 12px 16px;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .header-logo {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .header-logo a.logo-link {
        font-size: 1.15em;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    
    .logo-img {
        height: 40px;
        max-width: 130px;
    }
    
    .header-nav-wrapper {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
        order: 10;
    }
    
    .main-header.nav-open .header-nav-wrapper {
        max-height: 80vh;
        opacity: 1;
        overflow-y: auto;
    }
    
    .header-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        padding: 12px 0 0;
        margin-top: 4px;
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        flex-wrap: nowrap;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 1em;
        justify-content: flex-start;
        border-radius: 10px;
        min-height: 48px;
    }
    
    .nav-link span:not(.nav-icon):not(.badge-novo) {
        display: inline;
    }
    
    .nav-icon {
        font-size: 1.2em;
    }
    
    .user-menu {
        border-left: none;
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        margin-left: 0;
        padding: 12px 0 0;
        margin-top: 12px;
        gap: 12px;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .user-info {
        flex-wrap: wrap;
    }
    
    .user-name {
        font-size: 0.9em;
    }
    
    .btn-logout {
        padding: 10px 18px;
        font-size: 0.9em;
    }
    
    .page-header {
        padding: 24px 0;
        margin-bottom: 32px;
    }
    
    .page-header::before {
        width: 120px;
        height: 120px;
        filter: blur(30px);
    }
    
    .page-header h1 {
        font-size: 2.5em;
    }
    
    .page-header p {
        font-size: 1.1em;
    }
    
    .materias-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .materia-card {
        padding: 30px 20px;
    }
    
    .materia-icon {
        font-size: 4em;
    }
    
    .recent-activity {
        padding: 30px 20px;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 10px;
    }
    
    /* Cadastro: mobile pequeno – ainda mais compacto */
    .page-cadastro .login-container-wrapper { padding: 12px 10px 32px; gap: 12px; }
    .page-cadastro .cadastro-btn-voltar-topo { padding: 10px 14px; font-size: 0.88rem; max-width: 100%; }
    .page-cadastro .cadastro-form-section { padding: 20px 16px 24px; }
    .page-cadastro .cadastro-form-header { margin-bottom: 16px; }
    .page-cadastro .cadastro-title { font-size: 1.35rem; }
    .page-cadastro .cadastro-desc { font-size: 0.82rem; }
    .page-cadastro .cadastro-form-grid { gap: 0; margin-bottom: 14px; }
    .page-cadastro .cadastro-form-grid .form-group { margin-bottom: 12px; }
    .page-cadastro .cadastro-form input { min-height: 40px; padding: 10px 12px; font-size: 16px; }
    .page-cadastro .btn-login { min-height: 44px; padding: 12px 16px; font-size: 0.95rem; margin-top: 10px; }
    
    /* Login card single */
    .login-page-completa .login-card-single .login-form-section { padding: 28px 20px 32px; }
    .login-page-completa .login-card-single .login-form-header h2 { font-size: 1.75rem; }
    .login-page-completa .login-card-single .login-form input { padding: 14px 16px; min-height: 48px; font-size: 1rem; }
    .login-page-completa .login-card-single .btn-login { padding: 14px 20px; font-size: 1rem; min-height: 52px; }
    
    /* Countdown */
    .countdown-sessao { font-size: 0.85em; padding: 6px 10px; }
    
    /* Tabelas */
    .progresso-table th, .progresso-table td { padding: 8px 6px; font-size: 0.85em; }
    .usuarios-table th, .usuarios-table td { padding: 8px 6px; font-size: 0.85em; }
    
    /* Admin */
    .admin-stats { grid-template-columns: 1fr; gap: 12px; }
    .actions-grid { grid-template-columns: 1fr; gap: 12px; }
    .stat-card { padding: 20px 16px; }
    .action-card { padding: 24px 20px; }
    
    /* Landing */
    .lp-hero-title { font-size: 1.5rem; }
    .lp-header-inner { flex-direction: column; text-align: center; }
    .lp-logo, .lp-logo-text { font-size: 1rem; }
    
    .login-ai-icons { opacity: 0.7; }
    .ai-icons-tl, .ai-icons-tr { top: 10px; }
    .ai-icons-bl, .ai-icons-br { bottom: 10px; }
    .ai-icon-badge { padding: 7px 12px; font-size: 0.78rem; }
    
    .login-pricing-card {
        max-width: 100%;
        padding: 20px 20px 24px;
    }
    
    .login-pricing-price {
        font-size: 2rem;
    }
    
    .login-card {
        border-radius: 20px;
        min-height: auto;
    }
    
    .login-branding {
        padding: 20px 20px 24px;
        min-height: 0;
    }
    
    .prf-brasao {
        width: 140px;
        height: 170px;
        margin-bottom: 20px;
    }
    
    .login-identidade-img {
        max-width: 220px;
        margin-bottom: 0;
    }
    
    .login-features-box {
        max-width: 220px;
        margin-top: 14px;
        padding: 14px 12px 16px;
    }
    
    .login-features-title {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }
    
    .login-features-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .prf-logo-main {
        font-size: 2.2em;
        letter-spacing: 2px;
    }
    
    .prf-logo-full {
        font-size: 0.9em;
    }
    
    .login-form-section {
        padding: 35px 25px;
    }
    .login-study-decor {
        gap: 12px;
        padding: 10px 14px;
        margin-bottom: 24px;
    }
    .login-study-icon {
        width: 30px;
        height: 30px;
    }
    .login-study-icon svg {
        width: 18px;
        height: 18px;
    }
    .login-study-letter {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    
    .login-form-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .login-form-header h2 {
        font-size: 1.8em;
    }
    
    .form-group {
        margin-bottom: 22px;
    }
    
    .btn-primary {
        padding: 16px 24px;
    }
    
    /* Ocultar imagens decorativas em mobile para não atrapalhar */
    .login-decorative-images {
        display: none;
    }
    
    .prf-officer-image {
        display: none;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9em;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 0.95em;
    }
    
    .btn-primary {
        padding: 12px 18px;
        font-size: 0.95em;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .materias-grid {
        grid-template-columns: 1fr;
    }
    
    .materia-card {
        padding: 25px 20px;
    }
}

/* ===== PÁGINA DA MATÉRIA ===== */
.page-materia {
    background: #eef1f5;
    background-image: none;
    animation: none;
}

.page-materia .container {
    padding-top: 28px;
    padding-bottom: 48px;
}

.page-materia .breadcrumb {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.page-materia .page-header {
    margin-bottom: 28px;
    padding: 0;
    text-align: left;
}

.page-materia .page-header::before {
    display: none;
}

.page-materia .page-header h1 {
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    background: none;
    -webkit-text-fill-color: #0f172a;
    color: #0f172a;
    text-shadow: none;
    animation: none;
}

.page-materia .page-header p {
    color: #64748b;
    font-size: 0.9375rem;
    text-shadow: none;
    animation: none;
}

.page-materia .materia-header {
    align-items: center;
    gap: 14px;
}

.page-materia .materia-icon-large {
    font-size: 2rem;
    line-height: 1;
}

.page-materia .conteudos-list {
    max-width: none;
}

/* ===== JOGO DAS CLASSES GRAMATICAIS ===== */
.page-jogo-classes {
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    min-height: 100vh;
}

.page-jogo-classes .breadcrumb {
    background: rgba(255, 255, 255, 0.98);
    color: #1e293b;
}

.page-jogo-classes .breadcrumb a {
    color: #1e40af;
}

.page-jogo-classes .breadcrumb a:hover {
    color: #1e3a8a;
    background: rgba(37, 99, 235, 0.1);
}

.page-jogo-classes .breadcrumb span {
    color: #475569;
}

.jogo-classes-container {
    max-width: 720px;
    padding-bottom: 60px;
}

.jogo-atalho-materia {
    display: block;
    position: relative;
    margin: 28px 0 36px;
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jogo-atalho-materia:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.5);
}

.jogo-atalho-materia-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 40%, #8b5cf6 100%);
    opacity: 0.95;
}

.jogo-atalho-materia-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.9) 100%);
    color: #fff;
}

.jogo-atalho-icone {
    font-size: 2.8rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.jogo-atalho-textos h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
}

.jogo-atalho-textos p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.jogo-atalho-cta {
    margin-left: auto;
    flex-shrink: 0;
    padding: 10px 18px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e1b4b;
    font-weight: 800;
    border-radius: 12px;
    font-size: 0.95rem;
}

.jogo-tela-inicio {
    display: grid;
    gap: 24px;
}

.jogo-hero {
    text-align: center;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    color: #fff;
    backdrop-filter: blur(8px);
}

.jogo-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(251, 191, 36, 0.25);
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.jogo-hero h1 {
    margin: 0 0 12px;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fde68a, #f472b6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jogo-hero p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.jogo-regras {
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.jogo-regras h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.jogo-regras ul {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.9;
}

.jogo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.jogo-btn-primario {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e1b4b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.jogo-btn-primario:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.55);
}

.jogo-btn-secundario {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.jogo-btn-secundario:hover {
    background: rgba(255, 255, 255, 0.2);
}

.jogo-hud {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.jogo-hud-item {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.jogo-hud-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.jogo-hud-valor {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.jogo-barra-wrap {
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 24px;
}

.jogo-barra {
    height: 100%;
    background: linear-gradient(90deg, #34d399, #fbbf24, #f472b6);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.jogo-card-pergunta {
    text-align: center;
    padding: 48px 24px 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s, transform 0.3s;
}

.jogo-card-pergunta.jogo-card-acerto {
    box-shadow: 0 0 0 4px #22c55e, 0 20px 60px rgba(34, 197, 94, 0.3);
}

.jogo-card-pergunta.jogo-card-erro {
    box-shadow: 0 0 0 4px #ef4444, 0 20px 60px rgba(239, 68, 68, 0.3);
    animation: jogo-shake 0.45s ease;
}

@keyframes jogo-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.jogo-pergunta-label {
    margin: 0 0 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 600;
}

.jogo-palavra {
    margin: 0;
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 800;
    color: #1e1b4b;
    line-height: 1.2;
    word-break: break-word;
}

.jogo-feedback {
    margin: 20px 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.jogo-feedback-acerto {
    color: #15803d;
}

.jogo-feedback-erro {
    color: #b91c1c;
}

.jogo-feedback-dica {
    margin: 14px 0 0;
    padding: 12px 16px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
    background: #f1f5f9;
    border-radius: 10px;
    border-left: 4px solid #6366f1;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.jogo-opcoes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.jogo-opcao-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
    text-align: left;
}

.jogo-opcao-btn:hover:not(:disabled) {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(251, 191, 36, 0.6);
}

.jogo-opcao-icone {
    font-size: 1.6rem;
}

.jogo-opcao-correta {
    background: rgba(34, 197, 94, 0.35) !important;
    border-color: #22c55e !important;
    color: #fff;
}

.jogo-opcao-errada {
    background: rgba(239, 68, 68, 0.35) !important;
    border-color: #ef4444 !important;
}

.jogo-opcao-desabilitada {
    opacity: 0.45;
}

.jogo-btn-proximo {
    width: 100%;
    margin-top: 8px;
}

.jogo-resultado {
    text-align: center;
    padding: 48px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    color: #fff;
}

.jogo-resultado-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 12px;
}

.jogo-resultado h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
}

.jogo-resultado-pontos {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 24px;
    background: linear-gradient(90deg, #fde68a, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jogo-resultado-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    line-height: 2;
    font-size: 1.05rem;
}

.jogo-resultado-acoes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

@media (max-width: 600px) {
    .jogo-hud {
        grid-template-columns: repeat(2, 1fr);
    }

    .jogo-atalho-materia-inner {
        flex-wrap: wrap;
    }

    .jogo-atalho-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}
