/* =============================================
   Vestibular FAAr - CSS Principal
   Cores: Navy #0D2B4E | Azul Claro #3AADE0 | Branco
   ============================================= */

/* Reset & Variables */
:root {
    --navy: #0D2B4E;
    --navy-light: #143A66;
    --navy-dark: #081D36;
    --azul: #3AADE0;
    --azul-light: #62C0E8;
    --azul-dark: #2890C0;
    --branco: #FFFFFF;
    --cinza-50: #F8FAFC;
    --cinza-100: #F1F5F9;
    --cinza-200: #E2E8F0;
    --cinza-300: #CBD5E1;
    --cinza-400: #94A3B8;
    --cinza-500: #64748B;
    --cinza-600: #475569;
    --cinza-700: #334155;
    --cinza-800: #1E293B;
    --verde: #10B981;
    --verde-light: #D1FAE5;
    --vermelho: #EF4444;
    --vermelho-light: #FEE2E2;
    --amarelo: #F59E0B;
    --amarelo-light: #FEF3C7;
    --laranja: #F97316;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sidebar-width: 260px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--cinza-700);
    background: var(--cinza-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--azul-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* =============================================
   TIPOGRAFIA
   ============================================= */
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* =============================================
   UTILITÁRIOS
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-fluid { padding: 0 20px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-navy { color: var(--navy); }
.text-azul { color: var(--azul); }
.text-verde { color: var(--verde); }
.text-vermelho { color: var(--vermelho); }
.text-muted { color: var(--cinza-500); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.navbar {
    background: var(--navy);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-brand span {
    color: var(--branco);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.navbar-nav a {
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.navbar-nav a:hover, .navbar-nav a.active {
    color: var(--branco);
    background: rgba(58,173,224,0.2);
}

.navbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-inscricao-nav {
    background: var(--azul);
    color: var(--branco) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(58,173,224,0.4);
}

.btn-inscricao-nav:hover {
    background: var(--azul-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(58,173,224,0.5);
}

/* Mobile Menu */
/* Botão de login mobile (ícone usuário) */
.navbar-mobile-login {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px 8px;
    line-height: 1;
    text-decoration: none;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--azul-dark) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58,173,224,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58,173,224,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: rgba(58,173,224,0.2);
    color: var(--azul-light);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(58,173,224,0.3);
}

.hero h1 {
    color: var(--branco);
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 span { color: var(--azul-light); }

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

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

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--azul-light);
    display: block;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* =============================================
   BOTÕES
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--azul);
    color: var(--branco);
    box-shadow: 0 2px 8px rgba(58,173,224,0.3);
}
.btn-primary:hover {
    background: var(--azul-dark);
    color: var(--branco);
    box-shadow: 0 4px 12px rgba(58,173,224,0.4);
}

.btn-secondary {
    background: var(--branco);
    color: var(--navy);
    border: 2px solid var(--cinza-200);
}
.btn-secondary:hover {
    border-color: var(--azul);
    color: var(--azul);
}

.btn-navy {
    background: var(--navy);
    color: var(--branco);
}
.btn-navy:hover { background: var(--navy-light); color: var(--branco); }

.btn-outline {
    background: transparent;
    color: var(--branco);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--branco);
    color: var(--branco);
}

.btn-success { background: var(--verde); color: var(--branco); }
.btn-danger { background: var(--vermelho); color: var(--branco); }
.btn-warning { background: var(--amarelo); color: var(--branco); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* =============================================
   CARDS
   ============================================= */
.card {
    background: var(--branco);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--cinza-100);
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--cinza-100);
    background: var(--cinza-50);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }

/* Curso Card */
.curso-card {
    position: relative;
    border: 1px solid var(--cinza-100);
}

.curso-card .categoria-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--branco);
    z-index: 2;
}

.tag-graduacao { background: var(--azul); }
.tag-pos { background: var(--verde); }
.tag-tecnico { background: var(--laranja); }
.tag-profissionalizante { background: var(--cinza-600); }

.curso-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.curso-card .curso-info {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    font-size: 0.85rem;
    color: var(--cinza-500);
}

.curso-card .curso-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Ingresso Cards */
.ingresso-card {
    border: 2px solid var(--cinza-100);
    padding: 30px;
    text-align: center;
    cursor: pointer;
}

.ingresso-card:hover {
    border-color: var(--azul);
}

.ingresso-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--azul), var(--navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--branco);
}

/* =============================================
   SEÇÕES DA HOME
   ============================================= */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--azul);
    border-radius: 2px;
}

.section-title p {
    color: var(--cinza-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 16px auto 0;
}

.section-alt { background: var(--branco); }

/* Grid de cursos */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Grid de formas de ingresso */
.ingresso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Diferenciais */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

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

.diferencial-item .icon {
    width: 60px;
    height: 60px;
    background: var(--cinza-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--azul);
    transition: var(--transition);
}

.diferencial-item:hover .icon {
    background: var(--azul);
    color: var(--branco);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--azul-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 { color: var(--branco); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 1.1rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer h4 {
    color: var(--branco);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 8px; }

.footer ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
.footer ul a:hover { color: var(--azul-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* =============================================
   FORMULÁRIOS
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--cinza-700);
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--vermelho);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cinza-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--branco);
    color: var(--cinza-700);
}

.form-control:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(58,173,224,0.15);
}

.form-control.error {
    border-color: var(--vermelho);
}

.form-error {
    color: var(--vermelho);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-help {
    color: var(--cinza-500);
    font-size: 0.8rem;
    margin-top: 4px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

textarea.form-control { min-height: 120px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--azul);
}

/* =============================================
   ALERTAS
   ============================================= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: var(--verde-light); color: #065F46; border-left: 4px solid var(--verde); }
.alert-error { background: var(--vermelho-light); color: #991B1B; border-left: 4px solid var(--vermelho); }
.alert-warning { background: var(--amarelo-light); color: #92400E; border-left: 4px solid var(--amarelo); }
.alert-info { background: #DBEAFE; color: #1E40AF; border-left: 4px solid var(--azul); }

/* =============================================
   TABELAS
   ============================================= */
.table-responsive { overflow-x: auto; }

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th {
    background: var(--cinza-50);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--cinza-600);
    border-bottom: 2px solid var(--cinza-200);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--cinza-100);
    color: var(--cinza-600);
}

.table tr:hover td { background: var(--cinza-50); }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: var(--verde-light); color: #065F46; }
.badge-danger { background: var(--vermelho-light); color: #991B1B; }
.badge-warning { background: var(--amarelo-light); color: #92400E; }
.badge-info { background: #DBEAFE; color: #1E40AF; }
.badge-navy { background: rgba(13,43,78,0.1); color: var(--navy); }

/* =============================================
   AUTH PAGES (Login/Registro)
   ============================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 20px;
}

.auth-card {
    background: var(--branco);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-xl);
}

.auth-card .logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card .logo img { height: 60px; }
.auth-card h2 { text-align: center; margin-bottom: 8px; font-size: 1.5rem; }
.auth-card .subtitle { text-align: center; color: var(--cinza-500); margin-bottom: 30px; }

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* =============================================
   PAINEL ADMIN / COORDENADOR / CANDIDATO
   ============================================= */
.panel-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 70px;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--navy);
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-nav { padding: 16px 0; }

.sidebar-section {
    padding: 0 16px;
    margin-bottom: 4px;
}

.sidebar-section-title {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 12px 6px;
    font-weight: 600;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--branco);
}

.sidebar-link.active {
    background: var(--azul);
    color: var(--branco);
}

.sidebar-link .icon {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sidebar-link .badge {
    margin-left: auto;
    background: rgba(255,255,255,0.2);
    color: var(--branco);
    font-size: 0.7rem;
    padding: 2px 8px;
}

.panel-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 30px;
    min-height: calc(100vh - 70px);
}

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

.panel-header h1 { font-size: 1.6rem; }

.panel-header .breadcrumb {
    font-size: 0.85rem;
    color: var(--cinza-500);
}

.panel-header .breadcrumb a { color: var(--azul); }

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: var(--branco);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.kpi-card:hover { box-shadow: var(--shadow-md); }

.kpi-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.kpi-icon.blue { background: rgba(58,173,224,0.15); color: var(--azul); }
.kpi-icon.green { background: rgba(16,185,129,0.15); color: var(--verde); }
.kpi-icon.orange { background: rgba(249,115,22,0.15); color: var(--laranja); }
.kpi-icon.navy { background: rgba(13,43,78,0.1); color: var(--navy); }
.kpi-icon.red { background: rgba(239,68,68,0.15); color: var(--vermelho); }

.kpi-data h3 {
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.kpi-data p {
    font-size: 0.85rem;
    color: var(--cinza-500);
    margin: 0;
}

.kpi-trend {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.kpi-trend.up { color: var(--verde); }
.kpi-trend.down { color: var(--vermelho); }

/* Chart Containers */
.chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background: var(--branco);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.chart-card h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.chart-container { position: relative; height: 300px; }

/* =============================================
   PROVA ONLINE
   ============================================= */
.prova-container { max-width: 800px; margin: 0 auto; }

.prova-header {
    background: var(--branco);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 80px;
    z-index: 50;
}

.prova-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.prova-timer.warning { color: var(--amarelo); }
.prova-timer.danger { color: var(--vermelho); animation: pulse 1s infinite; }

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

.prova-progress {
    height: 6px;
    background: var(--cinza-200);
    border-radius: 3px;
    overflow: hidden;
}

.prova-progress-bar {
    height: 100%;
    background: var(--azul);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.questao-card {
    background: var(--branco);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.questao-numero {
    font-size: 0.85rem;
    color: var(--azul);
    font-weight: 600;
    margin-bottom: 10px;
}

.questao-enunciado {
    font-size: 1.05rem;
    color: var(--cinza-700);
    margin-bottom: 20px;
    line-height: 1.7;
}

.alternativa {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--cinza-200);
    border-radius: var(--radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.alternativa:hover { border-color: var(--azul); background: rgba(58,173,224,0.03); }
.alternativa.selected { border-color: var(--azul); background: rgba(58,173,224,0.08); }

.alternativa input[type="radio"] { margin-top: 2px; accent-color: var(--azul); }

.alternativa-letra {
    width: 28px;
    height: 28px;
    background: var(--cinza-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--cinza-600);
    flex-shrink: 0;
}

.alternativa.selected .alternativa-letra {
    background: var(--azul);
    color: var(--branco);
}

/* =============================================
   VOCACIONAL
   ============================================= */
.vocacional-container { max-width: 700px; margin: 0 auto; }

.vocacional-progress {
    margin-bottom: 30px;
    text-align: center;
}

.vocacional-progress .step-text {
    font-size: 0.9rem;
    color: var(--cinza-500);
    margin-bottom: 8px;
}

.vocacional-option {
    display: block;
    padding: 16px 20px;
    border: 2px solid var(--cinza-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.vocacional-option:hover { border-color: var(--azul); background: rgba(58,173,224,0.03); }
.vocacional-option.selected { border-color: var(--azul); background: rgba(58,173,224,0.08); }

/* =============================================
   UPLOAD DE DOCUMENTOS
   ============================================= */
.upload-area {
    border: 2px dashed var(--cinza-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--azul);
    background: rgba(58,173,224,0.03);
}

.upload-area .icon { font-size: 2rem; color: var(--azul); margin-bottom: 12px; }

.doc-list { margin-top: 20px; }

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--cinza-50);
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.doc-item .doc-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* =============================================
   PAGINAÇÃO
   ============================================= */
.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 30px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cinza-600);
    transition: var(--transition);
}

.pagination a:hover { background: var(--cinza-100); }
.pagination .active {
    background: var(--azul);
    color: var(--branco);
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--branco);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--cinza-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 { margin: 0; font-size: 1.2rem; }

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--cinza-100);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { background: var(--cinza-200); }

.modal-body { padding: 24px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--cinza-100);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* =============================================
   LOADING / SKELETON
   ============================================= */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--cinza-200);
    border-top-color: var(--azul);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.skeleton {
    background: linear-gradient(90deg, var(--cinza-100) 25%, var(--cinza-200) 50%, var(--cinza-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

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

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
/* REMOVIDO - Chat substitui o botão
.whatsapp-float-disabled {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    font-size: 1.6rem;
    color: var(--branco);
}

.whatsapp-float-disabled:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37,211,102,0.5);
    color: var(--branco);
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .chart-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .hero { padding: 110px 0 50px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .section { padding: 50px 0; }
    .container { padding: 0 16px; }

    .navbar-mobile-login { display: flex; align-items: center; }
    .navbar-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }
    .navbar-nav.active { transform: translateX(0); }
    .navbar-nav a { padding: 12px 16px; width: 100%; }
    .navbar-actions { display: none; }

    .sidebar {
        transform: translateX(-100%);
        width: 100%;
        max-width: 280px;
    }
    .sidebar.active { transform: translateX(0); }
    .panel-content { margin-left: 0; padding: 16px; }
    .panel-header { flex-direction: column; align-items: flex-start; gap: 12px; }

    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .cursos-grid { grid-template-columns: 1fr; }
    .ingresso-grid { grid-template-columns: 1fr 1fr; }
    .kpi-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .auth-card { padding: 24px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; }
    .ingresso-grid { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
    .navbar, .sidebar, .footer, .whatsapp-float, .btn { display: none; }
    .panel-content { margin-left: 0; padding: 0; }
    body { background: white; color: black; }
}

/* =============================================
   PÁGINAS PÚBLICAS - CURSOS
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--azul) 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-hero h1 { font-size: 2.4rem; margin-bottom: .5rem; }
.page-hero p { font-size: 1.1rem; opacity: .9; max-width: 600px; margin: 0 auto; }

.cursos-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
}
.cursos-filtros { display: flex; gap: .5rem; flex-wrap: wrap; }
.filtro-btn {
    padding: .5rem 1.2rem; border-radius: 24px; border: 2px solid var(--gray-200);
    background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem;
    transition: all .2s;
}
.filtro-btn:hover, .filtro-btn.active {
    background: var(--navy); color: #fff; border-color: var(--navy);
}
.cursos-busca { min-width: 250px; }
.cursos-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem;
}

/* Curso Card - Público */
.curso-card {
    background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s; border: 1px solid var(--gray-100);
}
.curso-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.curso-card-header {
    display: flex; justify-content: space-between; padding: .75rem 1.25rem;
    background: var(--gray-50); border-bottom: 1px solid var(--gray-100);
}
.curso-mec {
    background: var(--success); color: #fff; padding: 2px 10px;
    border-radius: 12px; font-size: .75rem; font-weight: 700;
}
.curso-modalidade {
    background: var(--azul); color: #fff; padding: 2px 10px;
    border-radius: 12px; font-size: .75rem; font-weight: 600;
}
.curso-card-body { padding: 1.25rem; flex: 1; }
.curso-card-body h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .25rem; }
.curso-grau { font-size: .85rem; color: var(--gray-500); }
.curso-meta {
    display: flex; gap: 1rem; margin: .75rem 0; font-size: .85rem; color: var(--gray-500);
}
.curso-meta i { color: var(--azul); margin-right: 4px; }
.curso-descricao { font-size: .9rem; color: var(--gray-600); line-height: 1.5; }
.curso-card-footer {
    padding: 1rem 1.25rem; border-top: 1px solid var(--gray-100);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
}
.curso-preco { display: flex; flex-direction: column; }
.preco-original { font-size: .8rem; color: var(--gray-400); text-decoration: line-through; }
.preco-promo { font-size: 1.1rem; font-weight: 700; color: var(--success); }
.curso-acoes { display: flex; gap: .5rem; }

/* =============================================
   CURSO DETALHE
   ============================================= */
.curso-detalhe-hero {
    background: linear-gradient(135deg, var(--navy), #1a4a7a);
    color: #fff; padding: 2rem 0 3rem;
}
.curso-detalhe-hero .breadcrumb {
    font-size: .85rem; margin-bottom: 1.5rem; opacity: .8;
}
.curso-detalhe-hero .breadcrumb a { color: var(--azul-light, #8ecaef); }
.curso-detalhe-header {
    display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start;
}
.curso-detalhe-info .badge { background: rgba(255,255,255,.15); color: #fff; margin-bottom: .75rem; display: inline-block; }
.curso-detalhe-info h1 { font-size: 2rem; margin-bottom: .5rem; }
.curso-grau-badge { font-size: .95rem; opacity: .85; }
.curso-highlights {
    display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap;
}
.curso-highlights .highlight {
    display: flex; align-items: center; gap: .5rem; font-size: .95rem;
}
.curso-highlights .highlight i { font-size: 1.2rem; color: var(--azul, #3AADE0); }

.curso-detalhe-cta {
    background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
    border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
    border: 1px solid rgba(255,255,255,.15);
}
.curso-preco-box { text-align: center; }
.preco-de { font-size: .85rem; text-decoration: line-through; opacity: .7; display: block; }
.preco-por { font-size: 2rem; font-weight: 800; display: block; }
.preco-obs { font-size: .85rem; opacity: .7; }

.curso-detalhe-grid {
    display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem;
}
.curso-secao { margin-bottom: 2rem; }
.curso-secao h2 {
    font-size: 1.3rem; color: var(--navy); border-bottom: 2px solid var(--azul);
    padding-bottom: .5rem; margin-bottom: 1rem;
}

.grade-semestre { margin-bottom: 1rem; border: 1px solid var(--gray-100); border-radius: 8px; overflow: hidden; }
.grade-toggle {
    padding: .75rem 1rem; background: var(--gray-50); cursor: pointer;
    font-weight: 600; display: flex; align-items: center; gap: .5rem; margin: 0;
}
.grade-toggle i { transition: transform .2s; font-size: .75rem; }
.grade-semestre.open .grade-toggle i { transform: rotate(90deg); }
.grade-lista { display: none; padding: .5rem 1rem; }
.grade-semestre.open .grade-lista { display: block; }
.grade-disc {
    display: flex; justify-content: space-between; padding: .4rem 0;
    border-bottom: 1px solid var(--gray-100); font-size: .9rem;
}
.grade-disc:last-child { border-bottom: none; }
.grade-codigo { color: var(--azul); font-weight: 600; min-width: 80px; }
.grade-ch { color: var(--gray-500); min-width: 50px; text-align: right; }

.sidebar-card {
    background: #fff; border-radius: 12px; padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.06); margin-bottom: 1.5rem;
    border: 1px solid var(--gray-100);
}
.sidebar-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 1rem; }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li {
    padding: .5rem 0; border-bottom: 1px solid var(--gray-100);
    font-size: .9rem; display: flex; align-items: center; gap: .5rem;
}
.sidebar-list li i { color: var(--azul); width: 20px; text-align: center; }

/* =============================================
   RESULTADO DA PROVA
   ============================================= */
.resultado-container { max-width: 800px; margin: 0 auto; }
.resultado-header {
    text-align: center; padding: 2.5rem; border-radius: 12px;
    margin-bottom: 2rem; color: #fff;
}
.resultado-header.aprovado { background: linear-gradient(135deg, #059669, #10b981); }
.resultado-header.reprovado { background: linear-gradient(135deg, #dc2626, #f87171); }
.resultado-header i { font-size: 3rem; margin-bottom: .5rem; }
.resultado-header h2 { margin-bottom: 1rem; }
.resultado-nota { display: flex; align-items: baseline; justify-content: center; gap: .25rem; }
.nota-valor { font-size: 3.5rem; font-weight: 800; }
.nota-total { font-size: 1.5rem; opacity: .7; }

.resultado-barra { margin-top: 1.5rem; }
.barra-progresso {
    height: 24px; background: var(--gray-100); border-radius: 12px;
    overflow: visible; position: relative;
}
.barra-preenchimento {
    height: 100%; background: linear-gradient(90deg, var(--azul), var(--success));
    border-radius: 12px; transition: width 1s ease; min-width: 4px;
}
.barra-corte {
    position: absolute; top: -8px; bottom: -8px; width: 3px;
    background: var(--danger); border-radius: 2px;
}
.barra-corte span {
    position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
    font-size: .7rem; font-weight: 700; color: var(--danger); white-space: nowrap;
}

.bolsa-destaque { text-align: center; margin: 1.5rem 0; }
.bolsa-valor {
    font-size: 3rem; font-weight: 800; color: var(--success); display: block;
}
.bolsa-label { font-size: .95rem; color: var(--gray-500); }

/* =============================================
   ANÁLISE DE GRADE - TIMELINE
   ============================================= */
.analise-timeline {
    display: flex; justify-content: space-between; padding: 1.5rem 0; position: relative;
}
.analise-timeline::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0;
    height: 3px; background: var(--gray-200); z-index: 0;
}
.timeline-step {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    position: relative; z-index: 1; flex: 1;
}
.step-icon {
    width: 48px; height: 48px; border-radius: 50%; background: var(--gray-200);
    color: var(--gray-400); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: all .3s;
}
.timeline-step.active .step-icon { background: var(--navy); color: #fff; }
.timeline-step span { font-size: .8rem; font-weight: 600; color: var(--gray-500); text-align: center; }
.timeline-step.active span { color: var(--navy); }

.aproveitamento-semestre { margin-bottom: 1.5rem; }
.aproveitamento-semestre h4 {
    font-size: 1rem; color: var(--navy); margin-bottom: .75rem;
    padding-bottom: .5rem; border-bottom: 2px solid var(--azul);
}
.aproveitamento-resumo {
    padding: 1rem; background: var(--gray-50); border-radius: 8px; text-align: center;
    margin-top: 1rem; font-size: .95rem;
}

/* =============================================
   DOC ITEMS
   ============================================= */
.doc-item {
    display: flex; align-items: center; gap: 1rem; padding: .75rem;
    border: 1px solid var(--gray-100); border-radius: 8px; margin-bottom: .5rem;
}
.doc-item i { font-size: 1.5rem; color: #e74c3c; }
.doc-item span { flex: 1; font-weight: 500; }
.doc-item small { color: var(--gray-400); }

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.btn-whatsapp {
    background: #25D366; color: #fff; border: none; display: inline-flex;
    align-items: center; justify-content: center; gap: .5rem;
}
.btn-whatsapp:hover { background: #1DA851; color: #fff; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--navy), var(--azul));
    color: #fff; padding: 4rem 0;
}
.cta-section h2 { margin-bottom: .75rem; }
.cta-section p { opacity: .9; margin-bottom: 1.5rem; }

/* =============================================
   ADMIN GRID 2 COLUMNS
   ============================================= */
.admin-grid-2 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}

/* =============================================
   DETAIL GRID
   ============================================= */
.detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.detail-item label {
    font-size: .8rem; font-weight: 600; color: var(--gray-500);
    text-transform: uppercase; display: block; margin-bottom: 2px;
}
.detail-item span { font-size: 1rem; font-weight: 500; }

/* =============================================
   INSCRICAO ITEMS
   ============================================= */
.inscricao-item {
    display: flex; align-items: center; gap: 1rem; padding: 1rem;
    border: 1px solid var(--gray-100); border-radius: 8px; margin-bottom: .5rem;
    transition: background .2s;
}
.inscricao-item:hover { background: var(--gray-50); }
.inscricao-info { flex: 1; }
.inscricao-info h4 { margin: 0 0 .25rem; font-size: 1rem; }
.inscricao-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--gray-500); flex-wrap: wrap; }
.inscricao-meta i { margin-right: 3px; }

/* =============================================
   FORM CHECK
   ============================================= */
.form-check {
    display: flex; align-items: center; gap: .4rem; cursor: pointer;
    font-size: .9rem;
}

/* =============================================
   RESPONSIVE - NOVAS SEÇÕES
   ============================================= */
@media (max-width: 768px) {
    .curso-detalhe-header { grid-template-columns: 1fr; }
    .curso-detalhe-grid { grid-template-columns: 1fr; }
    .cursos-toolbar { flex-direction: column; }
    .cursos-busca { min-width: 100%; }
    .cursos-grid { grid-template-columns: 1fr; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .analise-timeline { flex-wrap: wrap; gap: 1rem; }
    .analise-timeline::before { display: none; }
    .resultado-header { padding: 1.5rem; }
    .nota-valor { font-size: 2.5rem; }
    .bolsa-valor { font-size: 2rem; }
    .curso-highlights { gap: .75rem; }
}

/* =============================================
   TOAST CONTAINER
   ============================================= */
.toast-container {
    position: fixed; top: 80px; right: 20px; z-index: 9999; min-width: 320px; max-width: 450px;
}
.alert-close {
    background: none; border: none; font-size: 1.2rem; cursor: pointer;
    color: inherit; opacity: .6; float: right; margin-left: 1rem;
}
.alert-close:hover { opacity: 1; }

/* =============================================
   COOKIE BANNER LGPD
   ============================================= */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
    background: var(--navy); color: #fff; padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-banner a { color: var(--azul); }

/* =============================================
   BADGE VARIANTS (status)
   ============================================= */
.badge-pendente { background: #fbbf24; color: #78350f; }
.badge-em_analise { background: #60a5fa; color: #1e3a5f; }
.badge-concluida, .badge-success { background: #34d399; color: #064e3b; }
.badge-aceita { background: #10b981; color: #fff; }
.badge-contestada { background: #f87171; color: #7f1d1d; }
.badge-aprovado { background: #059669; color: #fff; }
.badge-reprovado, .badge-danger { background: #ef4444; color: #fff; }
.badge-matriculado { background: #0D2B4E; color: #fff; }
.badge-cancelado { background: #9ca3af; color: #fff; }
.badge-secondary { background: #6b7280; color: #fff; }
.badge-warning { background: #f59e0b; color: #78350f; }
.badge-primary { background: #3AADE0; color: #fff; }

/* =============================================
   ADMIN FILTERS (inline)
   ============================================= */
.admin-filters {
    display: flex; gap: .75rem; align-items: center; flex-wrap: wrap;
}
.form-control-sm {
    padding: .4rem .75rem; font-size: .85rem; height: auto;
}

/* =============================================
   TABLE HOVER
   ============================================= */
.table-hover tbody tr:hover { background: rgba(58,173,224,.04); }
.table-bordered td, .table-bordered th {
    border: 1px solid var(--gray-100);
}
/* =============================================
   SUPLEMENTO CSS — Landing Page Vestibular FAAr
   Adicionar no final do style.css ou como arquivo separado
   Corrige todas as classes da views/home/index.php
   ============================================= */

/* =============================================
   HERO — Complementos
   ============================================= */
.text-gradient {
    background: linear-gradient(135deg, #3AADE0, #62d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: rgba(255,255,255,.78);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

.pulse-btn {
    animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(58,173,224,.5); }
    50% { box-shadow: 0 0 0 12px rgba(58,173,224,0); }
}

.hero-highlights {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.hero-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    font-weight: 500;
}
.hero-highlight-item i {
    color: #3AADE0;
    font-size: 1rem;
}

/* Countdown */
.countdown-wrapper {
    margin-top: 20px;
}
.countdown-label {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.countdown-label i { color: #3AADE0; }

.countdown {
    display: flex;
    gap: 12px;
}
.countdown-item {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 12px 18px;
    text-align: center;
    min-width: 68px;
}
.countdown-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.countdown-text {
    font-size: .7rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: auto;
}

/* Hero particles */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item { cursor: default; }
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0D2B4E;
    display: inline;
}
.stat-label {
    display: block;
    color: #6b7280;
    font-size: .9rem;
    margin-top: 4px;
    font-weight: 500;
}

/* =============================================
   SECTION HEADERS (correção)
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-tag {
    display: inline-block;
    background: rgba(58,173,224,.1);
    color: #3AADE0;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0D2B4E;
    margin-bottom: 10px;
}
.section-desc {
    color: #6b7280;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.section-cta {
    text-align: center;
    margin-top: 40px;
}
.section-alt {
    background: #f8fafc;
}

/* =============================================
   CURSOS — Filtros e Cards (correção completa)
   ============================================= */
.cursos-filtros {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.filtro-busca {
    position: relative;
    min-width: 260px;
}
.filtro-busca i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}
.filtro-busca input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: .95rem;
    transition: border-color .2s;
    background: #fff;
}
.filtro-busca input:focus {
    border-color: #3AADE0;
    outline: none;
}
.filtro-categorias {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filtro-btn {
    padding: 8px 20px;
    border-radius: 24px;
    border: 2px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: .88rem;
    color: #4b5563;
    transition: all .2s;
}
.filtro-btn:hover {
    border-color: #3AADE0;
    color: #3AADE0;
}
.filtro-btn.active {
    background: #0D2B4E;
    color: #fff;
    border-color: #0D2B4E;
}

/* Curso Card — Landing page */
.curso-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.curso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.curso-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f0f0f0;
}
.curso-modalidade {
    background: #3AADE0;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.curso-nota-mec {
    color: #0D2B4E;
    font-weight: 700;
    font-size: .85rem;
}
.curso-nota-mec i {
    color: #f59e0b;
    margin-right: 2px;
}
.curso-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.curso-nome {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0D2B4E;
    margin-bottom: 10px;
}
.curso-info-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}
.curso-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: #6b7280;
}
.curso-info-item i {
    color: #3AADE0;
    width: 16px;
}
.curso-preco {
    margin: 8px 0 12px;
}
.preco-original {
    font-size: .85rem;
    color: #9ca3af;
    text-decoration: line-through;
    display: block;
}
.preco-atual {
    font-size: 1.2rem;
    font-weight: 800;
    color: #059669;
    display: block;
}
.preco-economia {
    font-size: .78rem;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
}
.curso-descricao {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.5;
    flex: 1;
}
.curso-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.curso-card-footer .btn-outline {
    color: #0D2B4E;
    border: 2px solid #0D2B4E;
    background: transparent;
}
.curso-card-footer .btn-outline:hover {
    background: #0D2B4E;
    color: #fff;
}

/* =============================================
   FORMAS DE INGRESSO — Carrossel Horizontal
   ============================================= */
.ingresso-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: #3AADE0 #e5e7eb;
}
.ingresso-grid::-webkit-scrollbar {
    height: 6px;
}
.ingresso-grid::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 3px;
}
.ingresso-grid::-webkit-scrollbar-thumb {
    background: #3AADE0;
    border-radius: 3px;
}

.ingresso-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.ingresso-card:hover {
    border-color: #3AADE0;
    box-shadow: 0 8px 24px rgba(58,173,224,.12);
    transform: translateY(-3px);
}
.ingresso-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0D2B4E, #3AADE0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: #fff;
}
.ingresso-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0D2B4E;
    margin-bottom: 10px;
}
.ingresso-card > p {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}
.ingresso-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}
.ingresso-steps li {
    padding: 5px 0;
    font-size: .85rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ingresso-steps i {
    color: #059669;
    font-size: .78rem;
}

/* =============================================
   TESTE VOCACIONAL CTA
   ============================================= */
.vocacional-cta-box {
    background: linear-gradient(135deg, #0D2B4E, #1a4a7a);
    border-radius: 16px;
    overflow: hidden;
    padding: 48px;
    text-align: center;
    color: #fff;
}
.vocacional-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(58,173,224,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #3AADE0;
}
.vocacional-cta-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.vocacional-cta-content p {
    color: rgba(255,255,255,.75);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}
.vocacional-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.vocacional-features span {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.vocacional-features span i {
    color: #3AADE0;
}

/* =============================================
   BOLSAS E DESCONTOS
   ============================================= */
.bolsas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.bolsa-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    transition: all .3s;
    position: relative;
}
.bolsa-card:hover {
    border-color: #3AADE0;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.bolsa-card.bolsa-destaque {
    border-color: #3AADE0;
    box-shadow: 0 4px 20px rgba(58,173,224,.12);
}
.bolsa-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3AADE0;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.bolsa-icon {
    width: 56px;
    height: 56px;
    background: rgba(58,173,224,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    color: #3AADE0;
}
.bolsa-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D2B4E;
    margin-bottom: 8px;
}
.bolsa-valor {
    font-size: 1.8rem;
    font-weight: 800;
    color: #059669;
    display: block;
    margin-bottom: 8px;
}
.bolsa-card p {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.5;
}
.bolsa-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    text-align: left;
}
.bolsa-card ul li {
    padding: 4px 0;
    font-size: .85rem;
    color: #374151;
}
.bolsa-card ul li i {
    color: #059669;
    margin-right: 6px;
    width: 16px;
}

/* Simulador */
.simulador-box {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
    max-width: 600px;
    margin: 0 auto;
}
.simulador-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0D2B4E;
    margin-bottom: 6px;
}
.simulador-box > p {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: .95rem;
}
.simulador-form .form-group {
    margin-bottom: 18px;
}
.simulador-form label {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    color: #374151;
    margin-bottom: 6px;
}
.form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
}
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3AADE0;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.range-label {
    display: inline-block;
    background: #0D2B4E;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 700;
    margin-left: 8px;
}
.simulador-resultado {
    background: #f0f9ff;
    border: 2px solid #3AADE0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}
.simulador-resultado p {
    color: #6b7280;
    margin-bottom: 6px;
    font-size: .9rem;
}
.simulador-valor {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #059669;
}
.simulador-economia {
    display: block;
    font-size: .85rem;
    color: #059669;
    margin-top: 4px;
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.diferencial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all .3s;
}
.diferencial-card:hover {
    border-color: #3AADE0;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.diferencial-icon {
    width: 60px;
    height: 60px;
    background: rgba(58,173,224,.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    color: #3AADE0;
    transition: all .3s;
}
.diferencial-card:hover .diferencial-icon {
    background: #3AADE0;
    color: #fff;
}
.diferencial-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D2B4E;
    margin-bottom: 8px;
}
.diferencial-card p {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.5;
}

/* =============================================
   DEPOIMENTOS
   ============================================= */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.depoimento-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    transition: box-shadow .3s;
}
.depoimento-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.depoimento-stars {
    color: #f59e0b;
    font-size: .9rem;
    margin-bottom: 14px;
    display: flex;
    gap: 3px;
}
.depoimento-card > p {
    font-size: .95rem;
    color: #374151;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 18px;
}
.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 12px;
}
.depoimento-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0D2B4E, #3AADE0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}
.depoimento-autor strong {
    display: block;
    font-size: .9rem;
    color: #0D2B4E;
}
.depoimento-autor small {
    color: #6b7280;
    font-size: .8rem;
}

/* =============================================
   FAQ — Accordion estilizado
   ============================================= */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item:hover,
.faq-item.active {
    border-color: #3AADE0;
}
.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 18px 22px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #0D2B4E;
    transition: background .2s;
}
.faq-question:hover {
    background: #f8fafc;
}
.faq-question i {
    font-size: .75rem;
    color: #9ca3af;
    transition: transform .3s;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #3AADE0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease-out;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 22px 18px;
    color: #4b5563;
    font-size: .93rem;
    line-height: 1.65;
}

/* =============================================
   CTA FINAL
   ============================================= */
.cta-final {
    background: linear-gradient(135deg, #0D2B4E 0%, #1a4a7a 50%, #3AADE0 100%);
    text-align: center;
    padding: 70px 0;
}
.cta-final-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-final-content p {
    color: rgba(255,255,255,.8);
    font-size: 1.1rem;
    margin-bottom: 28px;
}
.cta-final-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   RESPONSIVO — Complemento Landing
   ============================================= */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .hero-highlights { flex-direction: column; gap: 10px; }
    .countdown { gap: 8px; }
    .countdown-item { padding: 10px 12px; min-width: 56px; }
    .countdown-number { font-size: 1.4rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .cursos-filtros { flex-direction: column; }
    .filtro-busca { min-width: 100%; }
    .cursos-grid { grid-template-columns: 1fr; }
    .ingresso-grid { gap: 14px; }
    .ingresso-card { flex: 0 0 260px; }
    .vocacional-cta-box { padding: 32px 20px; }
    .bolsas-grid { grid-template-columns: 1fr; }
    .simulador-box { padding: 24px; }
    .depoimentos-grid { grid-template-columns: 1fr; }
    .cta-final-content h2 { font-size: 1.5rem; }
    .cta-final-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-title { font-size: 1.8rem; }
    .countdown { flex-wrap: wrap; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .diferenciais-grid { grid-template-columns: 1fr; }
    .ingresso-card { flex: 0 0 240px; padding: 20px 16px; }
}
/* =============================================
   FIX v2 — Hero Layout, Carrossel, Navbar, Vocacional
   Adicionar ao final do style.css
   ============================================= */

/* =============================================
   NAVBAR — Área do Candidato ao lado de Inscreva-se
   ============================================= */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-area-candidato {
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background .2s;
    white-space: nowrap;
}
.btn-area-candidato:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.btn-inscricao-nav {
    background: #3AADE0;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
}
.btn-inscricao-nav:hover {
    background: #2b96c9;
    color: #fff;
}

/* =============================================
   HERO — Layout 2 colunas (texto esquerda, imagem direita)
   ============================================= */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Image Slider */
.hero-image-slider {
    position: relative;
    height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-slide {
    position: absolute;
    bottom: 0;
    max-height: 520px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(.95);
    transition: opacity .8s ease, transform .8s ease;
    pointer-events: none;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.3));
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* =============================================
   CARROSSEL GENÉRICO — Wrapper com setas
   ============================================= */
.carrossel-wrapper {
    position: relative;
    padding: 0 48px;
}
.carrossel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #3AADE0 #e5e7eb;
}
.carrossel-track::-webkit-scrollbar {
    height: 5px;
}
.carrossel-track::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 3px;
}
.carrossel-track::-webkit-scrollbar-thumb {
    background: #3AADE0;
    border-radius: 3px;
}

/* Setas */
.carrossel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #0D2B4E;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.carrossel-arrow:hover {
    background: #0D2B4E;
    color: #fff;
    border-color: #0D2B4E;
}
.carrossel-prev { left: 0; }
.carrossel-next { right: 0; }

/* Ingresso cards dentro do carrossel */
.carrossel-track .ingresso-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.carrossel-track .ingresso-card:hover {
    border-color: #3AADE0;
    box-shadow: 0 8px 24px rgba(58,173,224,.12);
    transform: translateY(-3px);
}

/* Bolsa cards dentro do carrossel */
.carrossel-track .bolsa-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

/* =============================================
   VOCACIONAL — Cor do título corrigida
   ============================================= */
.vocacional-title {
    color: #fff !important;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* =============================================
   SIMULADOR — Melhorias
   ============================================= */
.simulador-obs {
    display: block;
    margin-top: 8px;
    font-size: .82rem;
    color: #6b7280;
    line-height: 1.5;
}

/* =============================================
   RESPONSIVO — Novas correções
   ============================================= */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-image-slider { height: 350px; margin-top: 20px; }
    .carrossel-wrapper { padding: 0 40px; }
}

@media (max-width: 768px) {
    .hero-image-slider { height: 280px; }
    .hero-slide { max-height: 280px; }
    .carrossel-wrapper { padding: 0 36px; }
    .carrossel-arrow { width: 36px; height: 36px; font-size: .85rem; }
    .carrossel-track .ingresso-card,
    .carrossel-track .bolsa-card { flex: 0 0 260px; }
    .navbar-actions { gap: 8px; }
    .btn-area-candidato { display: none; }
}

@media (max-width: 480px) {
    .hero-image-slider { height: 220px; }
    .carrossel-wrapper { padding: 0 28px; }
    .carrossel-track .ingresso-card,
    .carrossel-track .bolsa-card { flex: 0 0 240px; padding: 20px 16px; }
}
/* =============================================
   FIX v3 — Galeria Infraestrutura, Footer, Simulador
   ============================================= */

/* =============================================
   GALERIA DE INFRAESTRUTURA
   ============================================= */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}
.galeria-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.galeria-item.galeria-grande {
    grid-column: span 2;
    grid-row: span 2;
}
.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.galeria-item:hover img {
    transform: scale(1.08);
}
.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(13,43,78,.8));
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity .3s;
}
.galeria-item:hover .galeria-overlay {
    opacity: 1;
}
.galeria-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
}
/* Placeholder quando imagem não carrega */
.galeria-item img[src=""],
.galeria-item img:not([src]) {
    display: none;
}
.galeria-item {
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}
.galeria-item::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2rem;
    color: #cbd5e1;
    position: absolute;
    z-index: 0;
}
.galeria-item img {
    position: relative;
    z-index: 1;
}

/* =============================================
   SIMULADOR — Separação visual da seção Bolsas
   ============================================= */
.simulador-box {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 2px solid #e5e7eb;
}

/* =============================================
   FOOTER — Alinhamento esquerda + crédito direita
   ============================================= */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p {
    margin: 0;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}
.footer-dev a {
    color: #3AADE0;
    text-decoration: none;
    font-weight: 600;
}
.footer-dev a:hover {
    color: #62d0ff;
    text-decoration: underline;
}

/* =============================================
   RESPONSIVO — Galeria
   ============================================= */
@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
    .galeria-item.galeria-grande {
        grid-column: span 2;
        grid-row: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
        gap: 8px;
    }
}
/* =============================================
   FIX v4 — Hero Image Overlap + Simulador Seção Própria
   ============================================= */

/* =============================================
   HERO — Imagem maior, ultrapassa a wave
   ============================================= */
.hero {
    overflow: visible !important;
    padding-bottom: 0 !important;
    min-height: 620px;
}

.hero-layout {
    align-items: flex-end !important;
}

.hero-image-slider {
    height: 580px !important;
    align-items: flex-end !important;
    margin-bottom: -120px;
    position: relative;
    z-index: 4;
}

.hero-slide {
    max-height: 580px !important;
    bottom: 0;
}

/* Wave fica por cima da parte inferior da imagem */
.hero-wave {
    z-index: 5 !important;
    position: relative;
    margin-top: -120px;
}

/* Stats bar precisa ficar acima */
.stats-bar {
    position: relative;
    z-index: 6;
}

/* =============================================
   SIMULADOR — Seção própria (fora de Bolsas)
   ============================================= */
.section-simulador {
    background: linear-gradient(135deg, #0D2B4E 0%, #1a4a7a 100%);
    padding: 70px 0;
    position: relative;
}

.simulador-container {
    max-width: 900px;
    margin: 0 auto;
}

.simulador-box-v2 {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 44px;
    color: #fff;
}

.simulador-box-v2 .simulador-header {
    text-align: center;
    margin-bottom: 32px;
}

.simulador-box-v2 .simulador-header h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.simulador-box-v2 .simulador-header p {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
}

.simulador-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.simulador-box-v2 .form-group {
    margin-bottom: 0;
}

.simulador-box-v2 .form-group label {
    display: block;
    font-weight: 600;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.simulador-box-v2 .form-control {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .95rem;
    width: 100%;
    transition: border-color .2s;
}

.simulador-box-v2 .form-control:focus {
    border-color: #3AADE0;
    outline: none;
    background: rgba(255,255,255,.12);
}

.simulador-box-v2 .form-control option {
    background: #0D2B4E;
    color: #fff;
}

/* Resultado do simulador */
.simulador-resultado-v2 {
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(58,173,224,.4);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-top: 24px;
    display: none;
}

.simulador-resultado-v2.show {
    display: block;
    animation: fadeInUp .4s ease;
}

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

.sim-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.sim-result-item {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
}

.sim-result-item .sim-label {
    display: block;
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.sim-result-item .sim-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.sim-result-item.sim-highlight .sim-value {
    color: #34d399;
    font-size: 2rem;
}

.sim-timeline {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.sim-timeline h4 {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.sim-timeline-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.sim-phase {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    min-width: 140px;
    flex: 1;
}

.sim-phase .sim-phase-period {
    display: block;
    font-size: .75rem;
    color: rgba(255,255,255,.45);
    margin-bottom: 4px;
}

.sim-phase .sim-phase-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3AADE0;
}

.sim-phase .sim-phase-desc {
    display: block;
    font-size: .72rem;
    color: rgba(255,255,255,.4);
    margin-top: 2px;
}

.sim-phase.sim-phase-active {
    border-color: #3AADE0;
    background: rgba(58,173,224,.1);
}

.sim-obs-text {
    margin-top: 16px;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
    text-align: center;
}

.sim-cta {
    margin-top: 24px;
    text-align: center;
}

/* =============================================
   RESPONSIVO — Fix v4
   ============================================= */
@media (max-width: 1024px) {
    .hero-image-slider {
        height: 420px !important;
        margin-bottom: -80px;
    }
    .hero-slide { max-height: 420px !important; }
    .hero-wave { margin-top: -80px; }
}

@media (max-width: 768px) {
    .hero-image-slider {
        height: 320px !important;
        margin-bottom: -60px;
    }
    .hero-slide { max-height: 320px !important; }
    .hero-wave { margin-top: -60px; }
    .simulador-grid { grid-template-columns: 1fr; }
    .sim-result-grid { grid-template-columns: 1fr; }
    .simulador-box-v2 { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .hero-image-slider {
        height: 250px !important;
        margin-bottom: -40px;
    }
    .hero-slide { max-height: 250px !important; }
    .hero-wave { margin-top: -40px; }
    .sim-timeline-items { flex-direction: column; }
}
/* =============================================
   FIX v5 — OVERRIDE FINAL
   Hero: overflow hidden + clip-path wave
   Simulador: fundo claro
   Scroll horizontal: eliminado
   ============================================= */

/* Prevenir scroll horizontal global */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* =============================================
   HERO — Corrigido: overflow hidden, imagem contida
   ============================================= */
.hero {
    overflow: hidden !important;
    padding: 120px 0 0 !important;
    min-height: auto !important;
    position: relative;
}

.hero-layout {
    align-items: center !important;
    gap: 20px !important;
}

/* Imagem contida dentro do hero, alinhada ao topo */
.hero-image-slider {
    height: 480px !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
    align-items: flex-end !important;
}

.hero-slide {
    max-height: 480px !important;
    bottom: -40px !important;
}

/* Wave corrigida — dentro do hero, sem overflow */
.hero-wave {
    position: relative !important;
    z-index: 3 !important;
    margin-top: -60px !important;
    line-height: 0;
    width: 100%;
}

.hero-wave svg {
    width: 100% !important;
    height: auto;
    display: block;
}

/* =============================================
   SIMULADOR — Fundo claro (padrão da página)
   ============================================= */
.section-simulador {
    background: #f8fafc !important;
    padding: 70px 0;
}

.simulador-box-v2 {
    background: #fff !important;
    backdrop-filter: none !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 20px;
    padding: 44px;
    color: #1f2937 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.simulador-box-v2 .simulador-header h2 {
    color: #0D2B4E !important;
}

.simulador-box-v2 .simulador-header p {
    color: #6b7280 !important;
}

.simulador-box-v2 .form-group label {
    color: #374151 !important;
}

.simulador-box-v2 .form-control {
    background: #fff !important;
    border: 2px solid #e5e7eb !important;
    color: #1f2937 !important;
}

.simulador-box-v2 .form-control:focus {
    border-color: #3AADE0 !important;
    background: #fff !important;
}

.simulador-box-v2 .form-control option {
    background: #fff !important;
    color: #1f2937 !important;
}

/* Resultado */
.simulador-resultado-v2 {
    background: #f0f9ff !important;
    border: 2px solid #3AADE0 !important;
}

.sim-result-item {
    background: #fff !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.sim-result-item .sim-label {
    color: #6b7280 !important;
}

.sim-result-item .sim-value {
    color: #0D2B4E !important;
}

.sim-result-item.sim-highlight .sim-value {
    color: #059669 !important;
}

/* Timeline */
.sim-timeline h4 {
    color: #6b7280 !important;
}

.sim-phase {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
}

.sim-phase .sim-phase-period {
    color: #9ca3af !important;
}

.sim-phase .sim-phase-value {
    color: #0D2B4E !important;
}

.sim-phase .sim-phase-desc {
    color: #9ca3af !important;
}

.sim-phase.sim-phase-active {
    border-color: #3AADE0 !important;
    background: #f0f9ff !important;
}

.sim-phase.sim-phase-active .sim-phase-value {
    color: #3AADE0 !important;
}

.sim-obs-text {
    color: #6b7280 !important;
}

.sim-timeline {
    border-top: 1px solid #e5e7eb !important;
}

/* =============================================
   RESPONSIVO — Hero fix
   ============================================= */
@media (max-width: 1024px) {
    .hero-image-slider {
        height: 380px !important;
    }
    .hero-slide {
        max-height: 380px !important;
        bottom: -20px !important;
    }
    .hero-wave { margin-top: -40px !important; }
}

@media (max-width: 768px) {
    .hero { padding: 100px 0 0 !important; }
    .hero-image-slider {
        height: 300px !important;
    }
    .hero-slide {
        max-height: 300px !important;
        bottom: -10px !important;
    }
    .hero-wave { margin-top: -30px !important; }
    .simulador-box-v2 { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .hero { padding: 90px 0 0 !important; }
    .hero-image-slider {
        height: 240px !important;
    }
    .hero-slide {
        max-height: 240px !important;
        bottom: 0 !important;
    }
    .hero-wave { margin-top: -20px !important; }
}

/* ===== Chancela MEC — reduzida 50% ===== */
.cd-badge-mec {
    font-size: .65rem !important;
    padding: 2px 8px !important;
}
.curso-nota-mec {
    font-size: .75rem !important;
}
.cd-qi-item .cd-qi-item-mec strong {
    font-size: .9rem !important;
}
