/* ========================================
   WIKI RECRUTEMENT - DESIGN MODERNE V2
   ======================================== */

:root {
    --primary: #0B3D59;
    --secondary: #C5A059;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border: #e5e7eb;
    --tech: #3498db;
    --conseil: #9b59b6;
    --sales: #e67e22;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-secondary);
    margin: 0;
    padding: 0;
    padding-top: 80px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */

.wiki-hero {
    background: linear-gradient(135deg, #0B3D59 0%, #C5A059 100%);
    padding: 5rem 2rem 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.wiki-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.wiki-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

.wiki-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.wiki-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.wiki-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Row */
.wiki-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

.wiki-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.wiki-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   FILTER SECTION
   ======================================== */

.wiki-filter-section {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wiki-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.wiki-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-btn i {
    font-size: 1.125rem;
}

.filter-btn:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 61, 89, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #0B3D59 0%, #C5A059 100%);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(11, 61, 89, 0.3);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   CARDS SECTION
   ======================================== */

.wiki-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.wiki-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wiki-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 1rem 0;
}

.wiki-section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.job-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

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

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.job-card.hidden {
    display: none;
}

/* Job Card Header */
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.job-category-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.job-category-badge.tech {
    background: rgba(52, 152, 219, 0.1);
    color: var(--tech);
}

.job-category-badge.conseil {
    background: rgba(155, 89, 182, 0.1);
    color: var(--conseil);
}

.job-category-badge.sales {
    background: rgba(230, 126, 34, 0.1);
    color: var(--sales);
}

/* Job Card Content */
.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.job-experience {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.job-experience i {
    color: var(--secondary);
}

.job-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Job Card Tags */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.job-tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Job Card Footer */
.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.job-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0B3D59 0%, #C5A059 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.job-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(11, 61, 89, 0.3);
}

.job-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   CONFIDENTIAL NOTICE
   ======================================== */

.confidential-notice {
    background: rgba(52, 152, 219, 0.1);
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.confidential-notice p {
    margin: 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.confidential-notice i {
    color: #3498db;
    font-size: 1.25rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .wiki-hero {
        padding: 3rem 1rem;
    }
    
    .wiki-hero h1 {
        font-size: 2.5rem;
    }
    
    .wiki-hero p {
        font-size: 1rem;
    }
    
    .wiki-stats {
        gap: 2rem;
    }
    
    .wiki-stat-number {
        font-size: 2.5rem;
    }
    
    .wiki-filter-container {
        padding: 1rem;
    }
    
    .wiki-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        justify-content: center;
    }
    
    .wiki-content {
        padding: 2rem 1rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .job-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .job-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wiki-hero h1 {
        font-size: 2rem;
    }
    
    .wiki-section-title {
        font-size: 2rem;
    }
    
    .job-title {
        font-size: 1.25rem;
    }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

.filter-btn,
.job-card,
.job-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid var(--bg-secondary);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 0;
    font-size: 0.9375rem;
}

