/* Styles spécifiques pour la page catégorie Emploi */

body {
    padding-top: 40px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2C5282 0%, #3182CE 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Statistiques Emploi */
.employment-stats {
    margin-bottom: 80px;
}

.employment-stats h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #F56565 0%, #E53E3E 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.15);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.95;
}

/* Section Carrières */
.careers-section {
    margin-bottom: 80px;
}

.careers-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 50px;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.career-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.career-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.career-content {
    padding: 25px;
}

.career-content h3 {
    color: #2C5282;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.salary-range {
    background: linear-gradient(135deg, #F56565, #E53E3E);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.career-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #EBF8FF;
    color: #2C5282;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Guide Candidature */
.application-guide {
    background: #F7FAFC;
    padding: 60px 0;
    margin-bottom: 80px;
    border-radius: 15px;
}

.application-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 50px;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-number {
    background: linear-gradient(135deg, #F56565, #E53E3E);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2C5282;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Compétences Demandées - Tableaux Responsive */
.skills-demand {
    margin-bottom: 80px;
}

.skills-demand h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 50px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.responsive-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: white;
}

.responsive-table th {
    background: linear-gradient(135deg, #2C5282, #3182CE);
    color: white;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
}

.responsive-table td {
    padding: 15px;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: top;
}

.responsive-table tr:hover {
    background: #F7FAFC;
}

.demand-high {
    background: linear-gradient(135deg, #F56565, #E53E3E);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.demand-medium {
    background: linear-gradient(135deg, #ED8936, #DD6B20);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Ressources Scannées */
.scanned-resources {
    margin-bottom: 80px;
}

.scanned-resources h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 50px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 4px solid #F56565;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.resource-card h3 {
    margin-bottom: 15px;
}

.resource-card h3 a {
    color: #2C5282;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.resource-card h3 a:hover {
    color: #F56565;
}

.resource-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.resource-meta {
    border-top: 1px solid #E2E8F0;
    padding-top: 15px;
}

.resource-date {
    color: #718096;
    font-size: 0.9rem;
}

/* Formations */
.training-section {
    margin-bottom: 60px;
}

.training-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 50px;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.training-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.training-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #F56565, #E53E3E);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.training-card h3 {
    color: #2C5282;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

.training-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.training-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.duration,
.level {
    background: #EBF8FF;
    color: #2C5282;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .main-content {
        padding: 0 15px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .employment-stats,
    .careers-section,
    .application-guide,
    .skills-demand,
    .scanned-resources,
    .training-section {
        margin-bottom: 50px;
    }
    
    .employment-stats h2,
    .careers-section h2,
    .application-guide h2,
    .skills-demand h2,
    .scanned-resources h2,
    .training-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    /* Tableaux Responsive Mobile */
    .responsive-table {
        min-width: auto;
        display: block;
        white-space: nowrap;
    }
    
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
    }
    
    .responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .responsive-table tr {
        border: 1px solid #E2E8F0;
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 8px;
        background: white;
    }
    
    .responsive-table td {
        border: none;
        position: relative;
        padding-left: 50% !important;
        text-align: left;
        white-space: normal;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .responsive-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        text-align: left;
        font-weight: bold;
        color: #2C5282;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}