/* =============================================================
   INDEX.CSS - Estilos Específicos da Home Page (novo.php)
   Versão: 1.0 | Janeiro 2026
   
   Este arquivo contém APENAS estilos específicos da home page:
   - Hero Section
   - Próximas Turmas ao Vivo
   - 20 Anos de História / Timeline
   - Números / Estatísticas
   - MBA / Pós-Graduação
   - Eventos Gratuitos
   - Portfolio / Cursos e Formações
   - Credenciamentos
   - Depoimentos
   - Blog
   - Validação de Certificado
   
   IMPORTANTE: Requer global.css para funcionar corretamente
   ============================================================= */

/* =============================================================
   HERO SECTION
   ============================================================= */
.hero {
    position: relative;
    min-height: 75vh;
    background: linear-gradient(180deg, #061E49 0%, #04378F 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://tiexames.com.br/novosite2026/imagens/Background-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    height: 100%;
    padding: 20px 0 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

.hero-mobile-logo { display: none; }

.partners-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-badge strong {
    background: linear-gradient(135deg, #7B93F7 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 4px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 700;
    color: var(--bg-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--gradient);
    color: var(--bg-white);
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(83, 113, 245, 0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(83, 113, 245, 0.5);
    filter: brightness(1.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.stat-item svg { color: var(--primary-light); flex-shrink: 0; }
.stat-divider { color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; }

.hero-image {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    padding-top: 0;
}

.hero-image-wrapper { position: relative; z-index: 2; }

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(83, 113, 245, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-image-wrapper img {
    max-height: 520px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero-content { text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .partners-badge { display: block; text-align: center; padding: 10px 16px; font-size: 0.75rem; line-height: 1.4; }
    .partners-badge strong { display: inline; margin-left: 0; }
    .hero-stats { justify-content: center; gap: 8px; flex-wrap: nowrap; }
    .stat-item { font-size: 0.75rem; gap: 4px; }
    .stat-item svg { width: 14px; height: 14px; }
    .stat-divider { font-size: 0.625rem; }
}

/* =============================================================
   PRÓXIMAS TURMAS AO VIVO
   ============================================================= */
.turmas-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.turmas-section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.turmas-subtitle {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    margin-top: 0;
}

.turmas-carousel-container { position: relative; padding: 0; overflow: hidden; }
.turmas-carousel { overflow: hidden; }

.turmas-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 16px;
    touch-action: pan-x;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.turmas-carousel-track:active { cursor: grabbing; }

.turma-card {
    flex: 0 0 calc(25% - 12px);
    min-width: calc(25% - 12px);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    height: 100%;
    user-select: none;
}

.turma-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(83, 113, 245, 0.3);
}

.turma-card-header {
    background: linear-gradient(135deg, #5371F5 0%, #4862DC 100%);
    padding: 16px 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.turma-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-white);
    line-height: 1.3;
    margin: 0;
}

.turma-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.turma-badges { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }

.turma-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: rgba(83, 113, 245, 0.1);
    border-radius: var(--radius);
    min-width: 70px;
}

.turma-date-day {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.turma-date-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 4px;
}

.turma-info-box { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }

.turma-periodo {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.turma-meta-info { display: flex; align-items: center; gap: 12px; font-size: 0.813rem; color: var(--text-secondary); }
.turma-meta-item { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.turma-meta-item svg { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }

.turma-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.turma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.turma-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(83, 113, 245, 0.05); }

.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
.turmas-nav-row { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 24px; }
.turmas-nav-center { display: flex; align-items: center; gap: 16px; }

.turmas-nav-arrow {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.turmas-nav-arrow:hover { background: var(--primary); border-color: var(--primary); }
.turmas-nav-arrow svg { width: 18px; height: 18px; color: var(--text-secondary); transition: var(--transition); }
.turmas-nav-arrow:hover svg { color: var(--bg-white); }

.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--transition); }
.carousel-dot.active { width: 24px; border-radius: 4px; background: var(--primary); }

.btn-agenda {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--gradient);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(83, 113, 245, 0.3);
}

.btn-agenda:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(83, 113, 245, 0.4); }

/* Estados vazios */
.turmas-vazio { text-align: center; padding: 40px 24px; background: var(--bg-white); border-radius: var(--radius-lg); margin-top: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.eventos-vazio { text-align: center; padding: 16px 24px; background: transparent; }

.turmas-vazio-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.eventos-vazio-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.turmas-vazio-icon svg { width: 40px; height: 40px; color: var(--bg-white); }
.eventos-vazio-icon svg { width: 28px; height: 28px; color: var(--bg-white); }

.turmas-vazio h3 { font-family: 'Outfit', sans-serif; font-size: 1.375rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.eventos-vazio h3 { font-family: 'Outfit', sans-serif; font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.turmas-vazio p { color: var(--text-secondary); max-width: 400px; margin: 0 auto 24px; line-height: 1.6; }
.eventos-vazio p { color: var(--text-secondary); font-size: 0.875rem; margin: 0 auto 12px; line-height: 1.5; }

.eventos-social-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.eventos-social-links .social-link { display: inline-flex; align-items: center; gap: 3px; padding: 4px 10px; background: var(--bg-white); color: var(--text-primary); font-size: 0.688rem; font-weight: 500; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: var(--transition); }
.eventos-social-links .social-link:hover { background: var(--primary); color: var(--bg-white); border-color: var(--primary); }

/* Turmas Responsive */
@media (max-width: 1200px) { .turma-card { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); } }

@media (max-width: 768px) {
    .turmas-carousel-container { padding: 0; margin: 0; overflow: hidden; }
    .turmas-carousel { overflow: hidden; padding: 0; }
    .turmas-carousel-track { gap: 0; }
    .turma-card { flex: 0 0 calc(100% - 40px); min-width: calc(100% - 40px); margin: 0 20px; }
    .turmas-nav-row { flex-direction: column; gap: 16px; }
    .turmas-nav-arrow { width: 36px; height: 36px; }
}

/* =============================================================
   20 ANOS DE HISTÓRIA / TIMELINE
   ============================================================= */
.historia { background: var(--bg-white); overflow: hidden; }
.historia-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.historia-intro { position: sticky; top: 100px; }

.historia-title { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--text-primary); line-height: 1.1; margin-bottom: 16px; }
.historia-subtitle { font-family: 'Outfit', sans-serif; font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.historia-description { font-size: 0.938rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }

.btn-historia { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--primary); color: white; font-size: 0.875rem; font-weight: 600; border-radius: var(--radius); text-decoration: none; transition: var(--transition); }
.btn-historia:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.timeline { position: relative; padding-left: 50px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end)); border-radius: 2px; }

.timeline-item { position: relative; padding-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker { position: absolute; left: -42px; top: 4px; width: 14px; height: 14px; background: var(--gradient); border-radius: 50%; border: 2px solid var(--bg-white); box-shadow: 0 0 0 2px rgba(83, 113, 245, 0.2); }
.timeline-year { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; min-width: 45px; }
.timeline-content { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.4; margin: 0; }

.historia-footer { margin-top: 32px; padding: 24px; background: var(--bg-light); border-radius: var(--radius-lg); border-left: 4px solid var(--gradient-start); }
.historia-footer p { font-size: 0.938rem; color: var(--text-primary); line-height: 1.6; font-weight: 500; }

@media (max-width: 900px) {
    .historia-layout { grid-template-columns: 1fr; gap: 40px; }
    .historia-intro { position: static; }
    .historia-title { font-size: 2.25rem; }
}

/* =============================================================
   NÚMEROS / ESTATÍSTICAS
   ============================================================= */
.numeros { position: relative; background: linear-gradient(135deg, #04378F 0%, #061E49 100%); }
.numeros-content { text-align: center; max-width: 1000px; margin: 0 auto; }

.numeros-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--bg-white); line-height: 1.3; margin-bottom: 8px; }
.numeros-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }

.numeros-bar { width: 60px; height: 4px; background: var(--gradient); border-radius: 2px; margin: 16px auto; }
.numeros-description { font-size: 0.938rem; color: rgba(255, 255, 255, 0.75); line-height: 1.6; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

.numeros-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 600px; margin: 0 auto; }

.numero-stat { text-align: center; padding: 24px 16px; background: rgba(255, 255, 255, 0.05); border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition); }
.numero-stat:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-4px); }

.numero-value { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--bg-white); line-height: 1; margin-bottom: 8px; }
.numero-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 480px) {
    .numeros-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 100%; }
    .numero-stat { padding: 16px 10px; }
    .numero-value { font-size: 1.5rem; margin-bottom: 6px; }
    .numero-label { font-size: 0.625rem; line-height: 1.3; word-wrap: break-word; hyphens: auto; }
}

@media (max-width: 380px) {
    .numeros-stats { gap: 8px; }
    .numero-stat { padding: 14px 8px; }
    .numero-value { font-size: 1.375rem; }
    .numero-label { font-size: 0.563rem; }
}

/* =============================================================
   MBA / PÓS-GRADUAÇÃO
   ============================================================= */
.mbas-description { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; max-width: 1000px; margin: 0 auto 32px; text-align: center; }
.mbas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.mba-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition-slow); display: flex; flex-direction: column; height: 100%; }
.mba-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }

.mba-card-header { position: relative; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%); padding: 20px; height: 120px; display: flex; flex-direction: column; justify-content: flex-start; }
.mba-badge { display: inline-block; padding: 4px 12px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border-radius: var(--radius); font-size: 0.688rem; font-weight: 700; color: var(--bg-white); margin-bottom: 12px; width: fit-content; }
.mba-header-title { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: var(--bg-white); line-height: 1.3; }

.mba-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.mba-card-description { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; flex-grow: 1; }

.mba-btn { display: block; width: 100%; padding: 12px; background: var(--bg-white); color: var(--text-primary); font-size: 0.875rem; font-weight: 600; text-align: center; border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); margin-top: 16px; }
.mba-btn:hover { border-color: var(--gradient-start); color: var(--gradient-start); background: rgba(83, 113, 245, 0.05); }

@media (max-width: 1024px) { .mbas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .mbas-grid { grid-template-columns: 1fr; } }

/* =============================================================
   EVENTOS GRATUITOS
   ============================================================= */
.eventos { background: var(--bg-light); }

.eventos-section-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.eventos-section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }
.eventos-description { font-size: 1rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }

.eventos-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; max-width: 900px; margin-left: auto; margin-right: auto; }

.evento-card { display: flex; align-items: center; background: var(--bg-white); border-radius: var(--radius-lg); padding: 16px 24px; border: 1px solid var(--border); border-left: 4px solid var(--primary); transition: var(--transition); }
.evento-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.evento-date { text-align: center; min-width: 60px; padding-right: 24px; border-right: 1px solid var(--border); margin-right: 24px; }
.evento-day { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.evento-month { font-size: 1rem; font-weight: 600; color: var(--primary); text-transform: uppercase; }

.evento-professor-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 24px; border: 2px solid var(--bg-light); flex-shrink: 0; }
.evento-info { flex: 1; }
.evento-time { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 8px; }
.evento-time svg { width: 16px; height: 16px; }

.evento-badge-cert { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; background: rgba(83, 113, 245, 0.1); border-radius: var(--radius-full); font-size: 0.688rem; font-weight: 600; color: #5371F5; margin-left: 12px; }
.evento-badge-cert svg { width: 12px; height: 12px; }

.evento-titulo { font-family: 'Outfit', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.evento-descricao { font-size: 0.875rem; color: var(--text-secondary); }

.btn-inscreva { padding: 12px 28px; background: var(--bg-white); border: 2px solid var(--border); color: var(--text-primary); font-size: 0.875rem; font-weight: 600; border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.btn-inscreva:hover { border-color: var(--gradient-start); color: var(--gradient-start); background: rgba(83, 113, 245, 0.05); }

.evento-palestrante-row { display: none; }

@media (max-width: 768px) {
    .evento-card { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
    .evento-date { border-right: none; border-bottom: none; padding-right: 0; padding-bottom: 0; margin-right: 0; width: auto; display: flex; align-items: center; gap: 8px; order: 1; }
    .evento-day { font-size: 1.5rem; }
    .evento-month { font-size: 0.875rem; }
    .evento-info { order: 2; }
    .evento-titulo { order: 1; margin-bottom: 8px; }
    .evento-time { order: 2; margin-bottom: 0; flex-wrap: wrap; }
    .evento-descricao { display: none; }
    .evento-palestrante-row { display: flex; align-items: center; gap: 10px; order: 3; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 12px; }
    .evento-palestrante-row .evento-professor-photo { display: block; width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
    .evento-palestrante-nome { font-size: 0.813rem; color: var(--text-secondary); }
    .btn-inscreva { width: 100%; text-align: center; order: 4; margin-top: 4px; }
    .evento-professor-photo.desktop-only { display: none; }
}

/* =============================================================
   PORTFOLIO / CURSOS E FORMAÇÕES
   ============================================================= */
.portfolio { background: var(--bg-white); }
.portfolio-header { text-align: center; margin-bottom: 32px; }
.portfolio-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.portfolio-description { font-size: 0.938rem; color: var(--text-primary); max-width: 600px; margin: 0 auto; line-height: 1.6; opacity: 0.85; }

.portfolio-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; padding: 32px; background: var(--bg-light); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.portfolio-category { display: flex; flex-direction: column; }

.category-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid transparent; border-image: var(--gradient) 1; }
.category-icon { width: 32px; height: 32px; background: var(--gradient); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.category-icon svg { width: 16px; height: 16px; color: var(--bg-white); }
.category-title { font-family: 'Outfit', sans-serif; font-size: 0.813rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.5px; }

.category-courses { display: flex; flex-direction: column; gap: 4px; }
.course-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius); transition: var(--transition); color: var(--text-secondary); font-size: 0.875rem; }
.course-item:hover { background: var(--bg-white); color: var(--gradient-start); padding-left: 16px; box-shadow: var(--shadow-sm); }
.course-item::before { content: ''; width: 6px; height: 6px; background: var(--gradient); border-radius: 50%; opacity: 0.4; transition: var(--transition); flex-shrink: 0; }
.course-item:hover::before { opacity: 1; transform: scale(1.3); }

.course-badge { font-size: 0.625rem; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.3px; margin-left: auto; flex-shrink: 0; }
.course-badge.formacao { background: rgba(83, 113, 245, 0.1); color: var(--gradient-start); }
.course-badge.certificacao { background: rgba(83, 113, 245, 0.1); color: var(--primary); }
.course-badge.novo { background: rgba(83, 113, 245, 0.1); color: var(--gradient-end); }

.portfolio-cta { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.portfolio-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 0.875rem; font-weight: 600; border-radius: var(--radius); transition: var(--transition); }
.portfolio-cta-btn.primary { background: var(--gradient); color: var(--bg-white); }
.portfolio-cta-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(83, 113, 245, 0.3); filter: brightness(1.1); }
.portfolio-cta-btn.secondary { background: var(--bg-white); color: var(--text-primary); border: 1px solid var(--border); }
.portfolio-cta-btn.secondary:hover { border-color: var(--primary); color: var(--primary); }
.portfolio-cta-btn svg { width: 16px; height: 16px; }

.portfolio-stats { display: flex; justify-content: center; gap: 40px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.portfolio-stat { text-align: center; }
.portfolio-stat-value { font-family: 'Outfit', sans-serif; font-size: 1.75rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 4px; }
.portfolio-stat-label { font-size: 0.875rem; color: var(--text-secondary); }

@media (max-width: 1024px) { .portfolio-categories { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; padding: 32px; } }
@media (max-width: 768px) {
    .portfolio-categories { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
    .portfolio-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .portfolio-stat { padding: 12px 8px; }
    .portfolio-stat-value { font-size: 1.5rem; }
    .portfolio-stat-label { font-size: 0.75rem; line-height: 1.3; word-wrap: break-word; }
    .portfolio-cta { flex-direction: column; align-items: center; }
    .portfolio-cta-btn { width: 100%; max-width: 300px; justify-content: center; }
}
@media (max-width: 400px) { .portfolio-stats { gap: 12px; } .portfolio-stat-value { font-size: 1.375rem; } .portfolio-stat-label { font-size: 0.688rem; } }

/* =============================================================
   CREDENCIAMENTOS
   ============================================================= */
.credenciamentos { background: var(--bg-light); }
.credenciamentos-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.credenciamentos-title { font-family: 'Outfit', sans-serif; font-size: 1.875rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 12px; }
.credenciamentos-description { font-size: 0.938rem; color: var(--text-secondary); line-height: 1.6; }

.credenciamentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.credencial-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 24px; text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.credencial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.credencial-logo { width: 100px; height: 100px; margin: 0 auto 12px; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-light); display: flex; align-items: center; justify-content: center; }
.credencial-logo img { max-width: 90%; max-height: 90%; object-fit: contain; }
.credencial-descricao { font-size: 0.813rem; color: var(--text-secondary); line-height: 1.3; }

@media (max-width: 1024px) { .credenciamentos-layout { grid-template-columns: 1fr; text-align: center; } }
@media (max-width: 768px) { .credenciamentos-grid { grid-template-columns: 1fr; } }

/* =============================================================
   DEPOIMENTOS
   ============================================================= */
.depoimentos { background: linear-gradient(135deg, #04378F 0%, #061E49 100%); padding: 40px 0; }
.depoimentos .section-title { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--bg-white); }
.depoimentos .section-description { color: rgba(255, 255, 255, 0.7); max-width: 800px; }

.depoimentos-carousel-container { position: relative; padding: 0; margin-top: 20px; overflow: hidden; }
.depoimentos-carousel { overflow: hidden; }
.depoimentos-carousel-track { display: flex; gap: 16px; transition: transform 0.5s ease; touch-action: pan-x; cursor: grab; -webkit-overflow-scrolling: touch; }
.depoimentos-carousel-track:active { cursor: grabbing; }

.depoimento-card { flex: 0 0 calc(25% - 12px); min-width: calc(25% - 12px); background: var(--bg-white); border-radius: var(--radius-lg); padding: 20px; transition: box-shadow 0.3s; box-sizing: border-box; user-select: none; }
.depoimento-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

.depoimento-author { font-family: 'Outfit', sans-serif; font-size: 0.938rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.depoimento-curso { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.4; }
.depoimento-stars { display: flex; gap: 3px; margin-bottom: 10px; }
.depoimento-stars svg { width: 14px; height: 14px; fill: #f59e0b; }
.depoimento-text { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; flex-grow: 1; }
.depoimento-data { font-size: 0.65rem; color: var(--text-muted); margin-top: 12px; display: block; }

.depoimentos-dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
.depoimentos-nav { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 20px; }
.depoimentos-nav-center { display: flex; align-items: center; gap: 16px; }

.depoimentos-nav-arrow { width: 40px; height: 40px; background: transparent; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.depoimentos-nav-arrow:hover { background: var(--primary); border-color: var(--primary); }
.depoimentos-nav-arrow svg { width: 18px; height: 18px; color: var(--bg-white); }

.depoimentos-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); border: none; cursor: pointer; transition: var(--transition); }
.depoimentos-dot.active { width: 24px; border-radius: 4px; background: var(--primary); }

@media (max-width: 1200px) { .depoimento-card { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); } }
@media (max-width: 768px) { 
    .depoimentos-carousel-container { padding: 0 7.5%; } 
    .depoimento-card { flex: 0 0 100%; min-width: 100%; } 
    .depoimentos-nav { flex-direction: column; gap: 16px; } 
}

.btn-depoimentos { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; background: transparent; border: 2px solid rgba(255, 255, 255, 0.3); color: var(--bg-white); font-size: 0.875rem; font-weight: 600; border-radius: var(--radius); transition: var(--transition); }
.btn-depoimentos:hover { background: var(--bg-white); border-color: var(--bg-white); color: var(--primary); }

/* =============================================================
   BLOG
   ============================================================= */
.blog { background: var(--bg-light); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.blog-header-content { max-width: 550px; }
.blog-header .section-title { margin-bottom: 16px; }
.blog-header .section-description { text-align: left; }

.btn-blog { padding: 14px 32px; background: var(--primary); color: var(--bg-white); font-size: 0.938rem; font-weight: 600; border-radius: var(--radius); transition: var(--transition); }
.btn-blog:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(83, 113, 245, 0.3); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { background: var(--bg-white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-slow); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.blog-image { height: 200px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-content { padding: 24px; }
.blog-title { font-family: 'Outfit', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 12px; }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-link { font-size: 0.875rem; font-weight: 600; color: var(--primary); transition: var(--transition); }
.blog-link:hover { color: var(--primary-hover); text-decoration: underline; }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .blog-header { flex-direction: column; gap: 20px; } .blog-grid { grid-template-columns: 1fr; } }

/* =============================================================
   VALIDAÇÃO DE CERTIFICADO
   ============================================================= */
.certificado-validacao { background: var(--bg-light); padding: 40px 0; }
.certificado-box { background: var(--gradient); padding: 32px 40px; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.certificado-content { display: flex; align-items: center; gap: 24px; flex: 1; }
.certificado-icon { width: 72px; height: 72px; background: rgba(255, 255, 255, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.certificado-icon svg { color: var(--bg-white); }

.certificado-title { font-family: 'Outfit', sans-serif; font-size: 1.375rem; font-weight: 700; color: var(--bg-white); margin-bottom: 4px; }
.certificado-description { font-size: 0.938rem; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }

.certificado-form { display: flex; gap: 12px; flex-shrink: 0; }
.certificado-input { padding: 14px 18px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius); font-size: 0.938rem; color: var(--bg-white); width: 130px; transition: var(--transition); }
.certificado-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.certificado-input:focus { outline: none; border-color: var(--bg-white); background: rgba(255, 255, 255, 0.2); }

.certificado-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--bg-white); color: var(--dark); font-size: 0.938rem; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.certificado-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }

@media (max-width: 900px) { .certificado-box { flex-direction: column; text-align: center; padding: 32px 24px; } .certificado-content { flex-direction: column; } .certificado-form { flex-direction: column; width: 100%; } .certificado-input { width: 100%; } .certificado-btn { width: 100%; justify-content: center; } }
@media (max-width: 768px) { .certificado-validacao { padding: 32px 0; } .certificado-box { padding: 24px 20px; gap: 20px; } .certificado-content { gap: 16px; } .certificado-icon { width: 56px; height: 56px; } .certificado-icon svg { width: 28px; height: 28px; } .certificado-title { font-size: 1.125rem; margin-bottom: 2px; } .certificado-description { font-size: 0.813rem; } .certificado-input { padding: 12px 14px; font-size: 0.875rem; } .certificado-btn { padding: 12px 20px; font-size: 0.875rem; } .certificado-form { gap: 10px; } }

/* Modal de Validação de Certificado */
.modal-certificado-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 999999; align-items: center; justify-content: center; padding: 20px; }
.modal-certificado-overlay.active { display: flex; }

.modal-certificado { background: var(--bg-white); border-radius: var(--radius-xl); width: 100%; max-width: 400px; max-height: 50vh; position: relative; overflow: hidden; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); }
.modal-certificado-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: var(--bg-light); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: var(--transition); }
.modal-certificado-close:hover { background: var(--primary); color: var(--bg-white); }
.modal-certificado-close svg { color: var(--text-secondary); }
.modal-certificado-close:hover svg { color: var(--bg-white); }

.modal-certificado-content { width: 100%; height: 50vh; max-height: calc(50vh - 60px); }
.modal-certificado-content iframe { width: 100%; height: 100%; border: none; }

.modal-certificado-loading { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-white); align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
.modal-certificado-loading.active { display: flex; }
.modal-certificado-loading p { color: var(--text-secondary); font-size: 0.938rem; }

@media (max-width: 768px) { .modal-certificado { max-width: 95%; max-height: 50vh; } .modal-certificado-content { height: 70vh; } }