/**
 * Estilos para Plataforma de Cursos - Quita Futura
 * Design moderno, responsivo e profissional
 */

:root {
    /* Paleta de cores do projeto */
    --primary: #0A1A2F;
    --secondary: #1F3B57;
    --accent: #2E8CFF;
    --gray-medium: #808A93;
    --gray-light: #D5D8DB;
    --background: #F5F7F9;
    --white: #FFFFFF;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0A1A2F 0%, #1F3B57 100%);
    --gradient-accent: linear-gradient(135deg, #2E8CFF 0%, #1E6FE0 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Bordas */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

/* ===================================
   LANDING PAGE - HERO SECTION
=================================== */

.hero-cursos {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-cursos::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 140, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   FORMULÁRIO DE CAPTURA DE LEADS
=================================== */

.form-lead {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
}

.form-lead h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.form-lead p {
    color: var(--gray-medium);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 140, 255, 0.1);
}

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

/* ===================================
   BOTÕES
=================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(46, 140, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 140, 255, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #16a34a;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ===================================
   CARDS DE MÓDULOS
=================================== */

.modulos-section {
    padding: 80px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-medium);
}

.modulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modulo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modulo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.modulo-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--gradient-primary);
}

.modulo-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modulo-card-badge {
    display: inline-block;
    background: rgba(46, 140, 255, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modulo-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.modulo-card-description {
    color: var(--gray-medium);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.modulo-card-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.modulo-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-medium);
}

.modulo-info-item i {
    color: var(--accent);
}

.modulo-card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.price-original {
    font-size: 16px;
    color: var(--gray-medium);
    text-decoration: line-through;
}

.price-current {
    font-size: 32px;
    font-weight: 800;
    color: var(--success);
}

.price-installments {
    font-size: 13px;
    color: var(--gray-medium);
}

/* ===================================
   SEÇÃO DE BENEFÍCIOS
=================================== */

.beneficios-section {
    padding: 80px 0;
    background: var(--white);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.beneficio-item {
    text-align: center;
    padding: 30px;
}

.beneficio-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.beneficio-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.beneficio-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* ===================================
   DEPOIMENTOS
=================================== */

.depoimentos-section {
    padding: 80px 0;
    background: var(--background);
}

.depoimentos-slider {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.depoimento-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.depoimento-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--primary);
    margin-bottom: 25px;
    font-style: italic;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.depoimento-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
}

.depoimento-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.depoimento-info p {
    font-size: 14px;
    color: var(--gray-medium);
}

/* ===================================
   FAQ
=================================== */

.faq-section {
    padding: 80px 0;
    background: var(--white);
}

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

.faq-item {
    background: var(--background);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(46, 140, 255, 0.05);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ===================================
   ÁREA DE MEMBROS - PLAYER
=================================== */

.player-container {
    background: var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

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

.player-info {
    padding: 25px;
    background: var(--white);
}

.player-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.player-description {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* ===================================
   LISTA DE AULAS
=================================== */

.aulas-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
}

.aulas-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.aula-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.aula-item:hover {
    background: var(--background);
}

.aula-item.active {
    background: rgba(46, 140, 255, 0.1);
    border-left: 4px solid var(--accent);
}

.aula-item.completed {
    opacity: 0.6;
}

.aula-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aula-item.active .aula-icon {
    background: var(--accent);
    color: var(--white);
}

.aula-item.completed .aula-icon {
    background: var(--success);
    color: var(--white);
}

.aula-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 3px;
}

.aula-info span {
    font-size: 13px;
    color: var(--gray-medium);
}

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

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-light);
    border-radius: 999px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    transition: width 0.5s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray-medium);
}

/* ===================================
   DASHBOARD ALUNO
=================================== */

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

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(46, 140, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: var(--accent);
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-medium);
}

/* ===================================
   ALERTAS
=================================== */

.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success);
    color: #166534;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    color: #92400e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: #991b1b;
}

.alert-info {
    background: rgba(46, 140, 255, 0.1);
    border: 1px solid var(--accent);
    color: #1e40af;
}

/* ===================================
   RESPONSIVIDADE
=================================== */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .modulos-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-cursos {
        padding: 50px 0;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .modulos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-lead {
        padding: 30px 20px;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .modulo-card-title {
        font-size: 20px;
    }
    
    .price-current {
        font-size: 28px;
    }
}

/* ===================================
   ANIMAÇÕES
=================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.pulse {
    animation: pulse 2s ease-in-out infinite;
}
