/* Sistema de Currículos - Colégio Nossa Senhora Aparecida */

:root {
    /* Cores principais - Alinhadas com o painel admin */
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --border-light: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
    --accent-purple: #8b5cf6;
    
    /* Sombras modernas */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    
    /* Compatibilidade com código existente */
    --primary-color: var(--accent-blue);
    --secondary-color: var(--text-secondary);
    --success-color: var(--accent-green);
    --danger-color: var(--accent-red);
    --warning-color: var(--accent-yellow);
    --info-color: var(--accent-blue);
    --light-color: var(--bg-primary);
    --dark-color: var(--text-primary);
}

/* Estilos gerais */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header personalizado */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Cards com sombra suave */
.card {
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: none;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-header {
    border-radius: 14px 14px 0 0 !important;
}

/* Botões modernos - Estilo painel admin */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1;
}

.btn:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-success {
    background: var(--accent-green);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
}

.btn-outline-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 16px;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 20px;
}

/* Efeito ripple nos botões */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Formulários */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.10);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* Checkboxes personalizados */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Upload de arquivo */
input[type="file"] {
    padding: 10px;
}

input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
}

/* Alertas personalizados */
.alert {
    border-radius: 10px;
    border: none;
    padding: 16px 20px;
}

.alert-success {
    background: linear-gradient(135deg, #d1e7dd 0%, #badbcc 100%);
    color: #0f5132;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 100%);
    color: #842029;
}

.alert-info {
    background: linear-gradient(135deg, #cff4fc 0%, #b6effb 100%);
    color: #055160;
}

/* Badges de status */
.badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Tabelas responsivas */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Filtros e busca */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Gráficos Modernos */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chart-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.chart-wrapper {
    position: relative;
    min-height: 300px;
}

.chart-wrapper canvas {
    border-radius: 8px;
}

/* Botões de gráfico */
.btn-group .btn[data-chart-type] {
    transition: all 0.3s ease;
}

.btn-group .btn[data-chart-type]:hover {
    transform: translateY(-1px);
}

.btn-group .btn[data-chart-type].active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Loading para gráficos */
.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--secondary-color);
}

.chart-loading .spinner-border {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

/* Tooltip personalizado */
.chartjs-tooltip {
    background: rgba(0,0,0,0.9) !important;
    border-radius: 8px !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

/* Sidebar administrativa */
.sidebar {
    background: linear-gradient(180deg, var(--dark-color) 0%, #343a40 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 2px 10px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(5px);
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
}

/* Dashboard cards */
.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.dashboard-card .number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard-card .label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsividade */
@media (max-width: 768px) {
    .card-body {
        padding: 20px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .dashboard-card {
        margin-bottom: 20px;
    }
    
    .sidebar {
        min-height: auto;
    }
    
    .table-responsive {
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Tooltips personalizados */
.tooltip {
    font-size: 0.875rem;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%);
    color: #fff;
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    border-radius: 0 0 14px 14px;
}

/* Utilitários */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%) 1;
}

/* Header moderno */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-bg {
    background: #e9ecef;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-width: 60px;
    max-height: 60px;
}

/* Formulário moderno */
.form-icon {
    display: inline-block;
    padding: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

/* Grid de vagas moderno */
.vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.vaga-item {
    position: relative;
}

.vaga-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.vaga-label {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.vaga-label:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.15);
}

.vaga-checkbox:checked + .vaga-label {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.vaga-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vaga-content i {
    font-size: 1.5rem;
}

/* ===== ÁREA DE UPLOAD MODERNA - ESTILO PAINEL ADMIN ===== */
.upload-modern-container {
    margin: 2rem 0;
}

.upload-area {
    border: 3px dashed var(--border-light);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-card);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
}

.upload-area:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-card);
}

.upload-area:hover::before {
    opacity: 0.05;
}

.upload-area.dragover {
    border-color: var(--accent-green);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: var(--bg-card);
}

.upload-area.dragover::before {
    opacity: 0.1;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
}

.upload-content {
    pointer-events: none;
    position: relative;
    z-index: 2;
}

.upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 3;
}

.upload-icon {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.upload-area:hover .upload-icon {
    color: var(--accent-purple);
    transform: scale(1.1);
}

.upload-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.upload-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.upload-formats {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.format-badge {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.format-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.upload-limit {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Preview de arquivo moderno */
.file-preview {
    display: none;
    margin-top: 1.5rem;
}

.file-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--accent-green);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.file-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.file-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-right: 1rem;
}

.file-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.file-size {
    color: var(--text-secondary);
}

.file-status {
    color: var(--accent-green);
    font-weight: 600;
}

.btn-remove {
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Botão de envio moderno */
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.submit-btn .btn-content,
.submit-btn .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn.loading .btn-content {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: flex !important;
}

/* ===== STEP NAVIGATION MODERNO ===== */
.step-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.step-navigation .btn {
    flex: 1;
    max-width: 200px;
}

.step-navigation .prev-step {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
}

.step-navigation .prev-step:hover {
    background: var(--bg-primary);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.step-navigation .next-step,
.step-navigation .submit-final {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
}

.step-navigation .next-step:hover,
.step-navigation .submit-final:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== REVIEW CARD MODERNO ===== */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.review-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.review-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-section h6 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-item {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-item strong {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 100px;
}

.review-item span {
    color: var(--text-secondary);
    text-align: right;
}

.review-vaga-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border-radius: 12px;
    font-size: 0.875rem;
}

.review-file {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

/* ===== SELECTED VAGAS SECTION ===== */
.selected-vagas {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.selected-vagas h6 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.selected-vaga-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--accent-green);
    color: white;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ===== CHARACTER COUNTER ===== */
.char-counter {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== VALIDATION FEEDBACK ===== */
.validation-feedback {
    color: var(--accent-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.modern-input.is-invalid {
    border-color: var(--accent-red);
}

.modern-input.is-valid {
    border-color: var(--accent-green);
}

/* Responsividade para vagas */
@media (max-width: 768px) {
    .vagas-grid {
        grid-template-columns: 1fr;
    }
    
    .header-stats {
        justify-content: center;
        margin-top: 15px;
    }
    
    .logo-container {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .step-navigation .btn {
        max-width: none;
    }
}

/* Mobile First - Melhorias para mobile */
@media (max-width: 576px) {
    /* Header mobile */
    .header-text h1 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .header-text p {
        font-size: 0.8rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .stat-item {
        text-align: center;
        padding: 8px 15px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
    }
    
    /* Formulário mobile */
    .card-body {
        padding: 20px 15px;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    /* Grid de vagas mobile */
    .vagas-grid {
        gap: 10px;
        margin-top: 15px;
    }
    
    .vaga-label {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .vaga-content i {
        font-size: 1.2rem;
    }
    
    /* Upload mobile */
    .upload-area {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .upload-area h6 {
        font-size: 1rem;
    }
    
    .upload-area p {
        font-size: 0.8rem;
    }
    
    /* Botão mobile */
    .btn-lg {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    /* Preview de arquivo mobile */
    .file-preview {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .file-info {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Alertas mobile */
    .alert {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    /* Container mobile */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Cards mobile */
    .card {
        margin-bottom: 20px;
    }
    
    .card-header {
        padding: 15px 20px;
    }
    
    /* Informações adicionais mobile */
    .card.bg-light .card-body {
        padding: 15px;
    }
    
    .card.bg-light .card-body h6 {
        font-size: 0.9rem;
    }
    
    .card.bg-light .card-body p {
        font-size: 0.8rem;
    }
}

/* Melhorias para tablets */
@media (min-width: 577px) and (max-width: 768px) {
    .header-stats {
        justify-content: flex-end;
        gap: 20px;
    }
    
    .stat-item {
        text-align: center;
        padding: 10px 20px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }
    
    .vagas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Melhorias para telas grandes */
@media (min-width: 769px) {
    .header-stats {
        justify-content: flex-end;
        gap: 30px;
    }
    
    .stat-item {
        text-align: center;
        padding: 0 15px;
    }
    
    .vagas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

/* Grid de vagas responsivo fixo */
.custom-vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

@media (min-width: 992px) {
    .custom-vagas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vaga-item {
    margin: 0 !important;
}

.vaga-label {
    margin: 0 !important;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.vaga-label:hover, .vaga-checkbox:checked + .vaga-label {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.15);
}

/* Centralizar logo sempre e garantir fundo */
.logo-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-bg {
    background: #e9ecef;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.logo-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: none !important;
    max-width: 60px;
    max-height: 60px;
}

/* Remover estatísticas do header */
.header-stats, .stat-item { display: none !important; }

/* Ajustes para header-text */
.header-text {
    text-align: center;
    width: 100%;
}

@media (max-width: 576px) {
    .custom-vagas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .logo-bg {
        width: 64px;
        height: 64px;
    }
    .logo-img {
        max-width: 48px;
        max-height: 48px;
    }
}

/* Modal de sucesso */
#successModal .modal-content {
    border-radius: 16px;
}

#successModal .modal-header {
    border-radius: 16px 16px 0 0;
}

#successModal .btn-close-white {
    filter: invert(1);
}

#successModal .modal-body {
    min-height: 220px;
}

#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2000;
    display: none;
}

/* Sistema de Currículos Modernizado - Colégio Nossa Senhora Aparecida */
/* Cores baseadas na identidade visual do colégio */

:root {
    /* Cores da Logo - Colégio Nossa Senhora Aparecida */
    --primary-color: #1a3a7a;        /* Azul navy da logo */
    --primary-dark: #0f2555;         /* Azul navy escuro */
    --secondary-color: #20b2aa;      /* Verde/teal da logo */
    --secondary-light: #40e0d0;      /* Verde/teal claro */
    --accent-color: #17a2b8;         /* Azul complementar */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    
    /* Gradientes baseados na logo */
    --gradient-primary: linear-gradient(135deg, #1a3a7a 0%, #20b2aa 100%);
    --gradient-secondary: linear-gradient(135deg, #20b2aa 0%, #40e0d0 100%);
    --gradient-dark: linear-gradient(135deg, #0f2555 0%, #1a3a7a 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(26, 58, 122, 0.1);
    --shadow-md: 0 4px 20px rgba(26, 58, 122, 0.15);
    --shadow-lg: 0 8px 30px rgba(26, 58, 122, 0.2);
    --shadow-xl: 0 12px 40px rgba(26, 58, 122, 0.25);
    
    /* Outros */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.bg-gradient-light {
    background: var(--gradient-light);
    min-height: 100vh;
}

/* Sistema de Modal Unificado */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-container {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal Header */
.modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.modal-header.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-bottom-color: rgba(40, 167, 69, 0.2);
}

.modal-header.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-bottom-color: rgba(220, 53, 69, 0.2);
}

.modal-header.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-bottom-color: rgba(255, 193, 7, 0.2);
}

.modal-header.info {
    background: linear-gradient(135deg, rgba(26, 58, 122, 0.1) 0%, rgba(26, 58, 122, 0.05) 100%);
    border-bottom-color: rgba(26, 58, 122, 0.2);
}

.modal-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title i {
    font-size: 1.6rem;
}

.modal-title.success i { color: var(--success-color); }
.modal-title.error i { color: var(--danger-color); }
.modal-title.warning i { color: var(--warning-color); }
.modal-title.info i { color: var(--primary-color); }

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(108, 117, 125, 0.1);
    color: var(--danger-color);
    transform: scale(1.1);
}

/* Modal Body */
.modal-body {
    padding: 25px 30px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
}

.modal-body.text-center {
    text-align: center;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 30px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-footer.centered {
    justify-content: center;
}

/* Ícones de Modal */
.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.modal-icon.success {
    background: var(--success-color);
    color: white;
}

.modal-icon.error {
    background: var(--danger-color);
    color: white;
}

.modal-icon.warning {
    background: var(--warning-color);
    color: white;
}

.modal-icon.info {
    background: var(--primary-color);
    color: white;
}

.modal-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-modal 2s ease-in-out infinite;
}

.modal-icon.success::before { background: var(--success-color); }
.modal-icon.error::before { background: var(--danger-color); }
.modal-icon.warning::before { background: var(--warning-color); }
.modal-icon.info::before { background: var(--primary-color); }

@keyframes pulse-modal {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Logo Integration */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 8px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--secondary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Partículas de Fundo */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(26, 58, 122, 0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== HERO HEADER MODERNO - ESTILO PAINEL ADMIN ===== */
.hero-header {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 400;
}

.logo-container-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-wrapper-modern {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bg-modern {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.logo-bg-modern img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 1;
}

.logo-pulse::before,
.logo-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.logo-pulse::before {
    animation: pulse-ring-1 3s ease-out infinite;
}

.logo-pulse::after {
    animation: pulse-ring-2 3s ease-out infinite 1.5s;
}

@keyframes pulse-ring-1 {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse-ring-2 {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* ===== PROGRESS STEPS MODERNOS ===== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    margin-top: 3rem;
    position: relative;
    padding: 0 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 160px;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.step.active .step-icon,
.step.completed .step-icon {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.step-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    max-width: 100px;
    line-height: 1.2;
}

.step.active .step-text,
.step.completed .step-text {
    color: var(--accent-blue);
}

.progress-line {
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border-light);
    border-radius: 2px;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 0%;
}

/* ===== FORM CONTAINER MODERNO ===== */
.form-container {
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.modern-form {
    padding: 3rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
}

.step-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.step-header h3 i {
    color: var(--accent-blue);
    margin-right: 0.5rem;
}

.step-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Remover qualquer linha ou border indesejado dos títulos dos formulários */
.step-header *, 
.step-header h3 *, 
.form-step h3,
.form-step .step-header,
.modern-form h3,
.modern-form .step-header h3 {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Garantir que não há linhas vermelhas ou decorações indesejadas */
.step-header h3:before,
.step-header h3:after,
.form-step h3:before,
.form-step h3:after {
    display: none !important;
    content: none !important;
}

/* ===== FLOATING LABELS MODERNOS ===== */
.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

.modern-input {
    width: 100%;
    height: 60px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

/* Textarea específica */
.modern-input[rows] {
    height: auto;
    min-height: 120px;
    resize: vertical;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    line-height: 1.5;
}

.modern-input:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.modern-input:valid,
.modern-input:not(:placeholder-shown) {
    border-color: var(--accent-green);
}

.floating-label label {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    background: var(--bg-card);
    padding: 0 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.modern-input:focus + label,
.modern-input:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: var(--accent-blue);
    font-weight: 600;
}

/* ===== CARDS DE VAGAS MODERNOS ===== */
.vagas-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.vaga-card {
    position: relative;
}

.vaga-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.vaga-label {
    display: block;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vaga-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vaga-label:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vaga-checkbox:checked + .vaga-label {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vaga-checkbox:checked + .vaga-label::before {
    opacity: 1;
}

.vaga-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.vaga-checkbox:checked + .vaga-label .vaga-icon {
    background: white !important;
    color: var(--accent-blue) !important;
    transform: scale(1.1);
}

.vaga-checkbox:checked + .vaga-label .vaga-icon i {
    color: var(--accent-blue) !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.vaga-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.vaga-info h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.vaga-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    color: var(--accent-blue);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vaga-checkbox:checked + .vaga-label .vaga-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.vaga-checkbox:checked + .vaga-label .vaga-info h5 {
    color: white !important;
}

.vaga-checkbox:checked + .vaga-label {
    color: white !important;
}

.vaga-checkbox:checked + .vaga-label * {
    color: white !important;
}

.vaga-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 3;
}

.vaga-checkbox:checked + .vaga-label .vaga-check {
    opacity: 1;
    transform: scale(1);
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.2);
    }
    80% {
        transform: scale(1.1);
    }
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fab {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVIDADE MOBILE-FIRST APRIMORADA ===== */

/* Mobile Small (até 480px) */
@media (max-width: 480px) {
    .hero-header {
        padding: 1rem 0 0.5rem !important;
        min-height: auto !important;
    }
    
    .hero-title {
        font-size: 1.3rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        opacity: 0.85 !important;
    }
    
    .hero-stats {
        display: none !important;
    }
    
    .stat-item {
        display: none !important;
    }
    
    .logo-container-modern {
        margin-bottom: 0.75rem !important;
    }
    
    .logo-bg-modern {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 0 !important;
    }
    
    .logo-bg-modern img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .progress-steps {
        padding: 0 0.25rem;
        margin-bottom: 2rem;
        margin-top: 2.5rem;
    }
    
    .step {
        max-width: none;
    }
    
    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .step-text {
        font-size: 0.65rem;
        max-width: 70px;
        line-height: 1.1;
    }
    
    .form-container {
        margin-top: -0.25rem;
    }
    
    .modern-form {
        padding: 1.5rem 1rem;
    }
    
    .step-header {
        padding-top: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .step-header h3 {
        font-size: 1.5rem;
    }
    
    .modern-input {
        height: 56px;
        font-size: 16px; /* Previne zoom no iOS */
        background: var(--bg-card) !important;
        border: 2px solid var(--border-light) !important;
    }
    
    .modern-input[rows] {
        height: auto !important;
        min-height: 120px !important;
        resize: vertical !important;
    }
    
    .floating-label label {
        color: var(--text-secondary) !important;
        background: var(--bg-card) !important;
    }
    
    .modern-input:focus + label,
    .modern-input:not(:placeholder-shown) + label {
        color: var(--accent-blue) !important;
    }
    
    .vagas-modern-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .vaga-label {
        padding: 1.25rem 1rem;
        background: var(--bg-card) !important;
        border: 2px solid var(--border-light) !important;
        color: var(--text-primary) !important;
    }
    
    .vaga-checkbox:checked + .vaga-label {
        background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) !important;
        color: white !important;
    }
    
    .vaga-checkbox:checked + .vaga-label * {
        color: white !important;
    }
    
    .vaga-checkbox:checked + .vaga-label .vaga-info h5 {
        color: white !important;
    }
    
    .vaga-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
        min-height: 200px;
        background: var(--bg-card) !important;
        border: 3px dashed var(--border-light) !important;
    }
    
    .upload-icon {
        font-size: 3rem;
        color: var(--accent-blue) !important;
    }
    
    .upload-title {
        font-size: 1.25rem;
        color: var(--text-primary) !important;
    }
    
    .upload-subtitle {
        color: var(--text-secondary) !important;
    }
    
    .upload-formats {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .format-badge {
        background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) !important;
        color: white !important;
    }
    
    .upload-limit {
        color: var(--text-muted) !important;
    }
    
    .floating-actions {
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .fab {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* Mobile Large (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-header {
        padding: 1.5rem 0 1rem !important;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }
    
    .logo-container-modern {
        margin-bottom: 1rem !important;
    }
    
    .logo-bg-modern {
        width: 80px !important;
        height: 80px !important;
    }
    
    .logo-bg-modern img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .hero-stats {
        margin-top: 1.5rem !important;
    }
    
    .modern-input[rows] {
        min-height: 140px !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .progress-steps {
        padding: 0 0.5rem;
        margin-top: 2.5rem;
    }
    
    .step-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .step-text {
        font-size: 0.75rem;
        max-width: 90px;
        line-height: 1.15;
    }
    
    .form-container {
        margin-top: -0.5rem;
    }
    
    .modern-form {
        padding: 2rem 1.5rem;
    }
    
    .step-header {
        padding-top: 1.5rem;
    }
    
    .modern-input {
        font-size: 16px; /* Previne zoom no iOS */
        background: var(--bg-card) !important;
        border: 2px solid var(--border-light) !important;
    }
    
    .modern-input[rows] {
        height: auto !important;
        min-height: 100px !important;
        resize: vertical !important;
    }
    
    .floating-label label {
        color: var(--text-secondary) !important;
        background: var(--bg-card) !important;
    }
    
    .modern-input:focus + label,
    .modern-input:not(:placeholder-shown) + label {
        color: var(--accent-blue) !important;
    }
    
    .vagas-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .vaga-label {
        padding: 1.5rem;
        background: var(--bg-card) !important;
        border: 2px solid var(--border-light) !important;
        color: var(--text-primary) !important;
    }
    
    .upload-area {
        background: var(--bg-card) !important;
        border: 3px dashed var(--border-light) !important;
    }
    
    .upload-icon {
        color: var(--accent-blue) !important;
    }
    
    .upload-title {
        color: var(--text-primary) !important;
    }
    
    .upload-subtitle {
        color: var(--text-secondary) !important;
    }
    
    .format-badge {
        background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) !important;
        color: white !important;
    }
    
    .upload-limit {
        color: var(--text-muted) !important;
    }
    
    .floating-actions {
        bottom: 1rem;
        right: 1rem;
    }
    
    .fab {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .vagas-modern-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
}

/* Otimizações de performance para mobile */
@media (max-width: 768px) {
    /* Reduzir animações em dispositivos móveis */
    .btn, .vaga-label, .upload-area {
        transition: all 0.2s ease;
    }
    
    /* Melhor área de toque */
    .btn, .vaga-label, .fab {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Scroll suave otimizado */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Melhor legibilidade no mobile */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Progress steps otimizados para mobile */
    .progress-steps {
        margin-bottom: 2rem;
        margin-top: 2rem;
    }
    
    .step-icon {
        box-shadow: var(--shadow-xs);
    }
    
    .step.active .step-icon,
    .step.completed .step-icon {
        transform: scale(1.02);
        box-shadow: var(--shadow-sm);
    }
    
    /* Espaçamentos otimizados */
    .step-navigation {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .selected-vagas {
        padding: 1rem;
    }
    
    /* Modal responsivo */
    .modal-container {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus indicators */
.btn:focus-visible,
.form-control:focus-visible,
.vaga-label:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .form-control {
        border: 2px solid currentColor;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU acceleration for animations */
.btn,
.card,
.upload-area,
.modal-container {
    will-change: transform;
}

/* Optimize rendering */
.hero-header::before,
.upload-area::before {
    content-visibility: auto;
}

/* ... (resto do CSS existente) ... */ 