/*
 * Fichier : career.css
 * Description : Styles spécifiques pour la page Carrière
 */

/* ===== BANNIÈRE CARRIÈRE ===== */
.career-banner {
    background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(0, 86, 179, 0.9)), url('../images/career/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.career-banner .banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.career-banner .banner-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== SECTION INTRODUCTION ===== */
.career-intro {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.intro-text .section-title::after {
    left: 0;
    transform: none;
}

.intro-text p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
}

.feature span {
    font-weight: 600;
    color: var(--dark-color);
}

.intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* ===== PROCESSUS DE RECRUTEMENT ===== */
.recruitment-process {
    padding: 100px 0;
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: var(--primary-color);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== OFFRES D'EMPLOI ===== */
.job-offers-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 15px auto 0;
}

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

.job-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
}

.job-type {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-type.cdi {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.job-type.cdd {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.job-type.stage {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.job-type.alternance {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-color);
}

.job-description p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.skill-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f8f9fa;
    color: var(--dark-color);
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid #dee2e6;
}

.more-skills {
    background-color: transparent;
    border: 1px dashed #adb5bd;
    color: #6c757d;
}

.job-actions {
    display: flex;
    gap: 15px;
}

.btn-view-details {
    flex: 1;
    padding: 12px 20px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-details:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-apply {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-apply:hover {
    background-color: #004494;
    color: white;
}

/* ===== MESSAGE AUCUNE OFFRE ===== */
.no-jobs-message {
    text-align: center;
    padding: 60px 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.no-jobs-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-jobs-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.no-jobs-message p {
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* ===== MODAL DÉTAILS OFFRE ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

#jobModalContent .job-details {
    margin-top: 20px;
}

#jobModalContent .job-details h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

#jobModalContent .job-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

#jobModalContent .info-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

#jobModalContent .info-item strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 5px;
}

#jobModalContent .info-item span {
    color: var(--gray-color);
}

#jobModalContent .job-description-full {
    margin-bottom: 30px;
}

#jobModalContent .job-description-full h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

#jobModalContent .job-description-full p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

#jobModalContent .job-description-full ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

#jobModalContent .job-description-full li {
    color: var(--gray-color);
    margin-bottom: 8px;
    line-height: 1.5;
}

#jobModalContent .modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ===== AVANTAGES EMPLOYÉS ===== */
.benefits-section {
    padding: 100px 0;
    background-color: white;
}

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

.benefit-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-card:hover {
    background-color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.benefit-content p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== TÉMOIGNAGES EMPLOYÉS ===== */
.employee-testimonials {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.testimonials-slider {
    max-width: 800px;
    margin: 50px auto 0;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 20px;
}

.testimonial-content {
    position: relative;
    margin-bottom: 30px;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ===== SECTION FAQ ===== */
.faq-section {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark-color);
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* ===== SECTION CTA CARRIÈRE ===== */
.career-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d82 100%);
    color: white;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.career-cta .btn {
    min-width: 220px;
}

/* ===== NEWSLETTER CARRIÈRE ===== */
.career-newsletter {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.newsletter-text p {
    color: var(--gray-color);
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-newsletter {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-newsletter:hover {
    background-color: #004494;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input {
    margin-top: 5px;
    flex-shrink: 0;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.4;
}

.form-check a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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


/* ===== STATISTIQUES DES OFFRES ===== */
.job-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.job-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
    font-size: 0.85rem;
}

.job-stats .stat i {
    color: var(--primary-color);
}

/* ===== FILTRES DES OFFRES ===== */
.job-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    background-color: white;
}

.filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.btn-filter {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter:hover {
    background-color: #004494;
}

.btn-reset {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset:hover {
    background-color: #f8f9fa;
}

/* ===== AVANTAGES PAR CATÉGORIE ===== */
.benefits-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.category-filter {
    padding: 8px 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.category-filter.active,
.category-filter:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== MISE EN PAGE AMÉLIORÉE ===== */
.department-badge {
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}

.urgent-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE AMÉLIORÉ ===== */
@media (max-width: 768px) {
    .job-filters {
        flex-direction: column;
    }
    
    .filter-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-filter,
    .btn-reset {
        width: 100%;
    }
    
    .benefits-categories {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .category-filter {
        white-space: nowrap;
    }
}


