/* ==========================================
   CRIHD EMPLOI PAGE - STYLES SPÉCIFIQUES
   ========================================== */

/* ==========================================
   CARTES AVANTAGES - AMÉLIORATIONS
   ========================================== */
.benefit-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 20px 16px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(197, 60, 60, 0.2);
}

.benefit-card i {
    transition: all 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.2);
    color: #a73030 !important;
}

/* ==========================================
   PROCESSUS DE RECRUTEMENT
   ========================================== */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.recruitment-process {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 80px;
    padding: 40px 0;
}

.process-step {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    min-width: 200px;
    flex: 1;
    max-width: 220px;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border: 2px solid #c53c3c;
}

.step-number {
    background: #c53c3c;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: #a73030;
    transform: scale(1.1);
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.step-duration {
    background: rgba(197, 60, 60, 0.1);
    color: #c53c3c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.process-arrow {
    color: #c53c3c;
    font-size: 20px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.process-arrow i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ==========================================
   CALL TO ACTION RECRUTEMENT
   ========================================== */
.recruitment-cta {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.recruitment-cta:hover {
    border-color: rgba(197, 60, 60, 0.2);
    transform: translateY(-4px);
}

.recruitment-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.recruitment-cta p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: #c53c3c;
    color: white;
    border: 2px solid #c53c3c;
}

.btn-primary:hover {
    background: #a73030;
    border-color: #a73030;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(197, 60, 60, 0.3);
}

.btn-secondary {
    background: white;
    color: #c53c3c;
    border: 2px solid #c53c3c;
}

.btn-secondary:hover {
    background: #c53c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(197, 60, 60, 0.3);
}

/* ==========================================
   TÉMOIGNAGES - AMÉLIORATIONS
   ========================================== */
.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-left: 24px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.3);
    font-family: Georgia, serif;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
    margin-top: 16px;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author small {
    opacity: 0.8;
    font-size: 14px;
}

/* ==========================================
   ANIMATIONS SPÉCIFIQUES EMPLOI
   ========================================== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animations au scroll */
.benefit-card {
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.process-step {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

.process-step:nth-child(odd) {
    animation-name: slideInLeft;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }

/* ==========================================
   AMÉLIORATION DES TÉMOIGNAGES
   ========================================== */
.testimonial-sidebar-item {
    padding: 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}

.testimonial-sidebar-item:hover {
    background: rgba(197, 60, 60, 0.05);
    border-left-color: #c53c3c;
    transform: translateX(4px);
}

.testimonial-sidebar-item.active {
    background: rgba(197, 60, 60, 0.1);
    border-left-color: #c53c3c;
}

.testimonial-sidebar-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.testimonial-sidebar-item small {
    color: #6b7280;
    font-size: 12px;
}

/* ==========================================
   INDICATEURS DE SATISFACTION
   ========================================== */
.satisfaction-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 60px 0;
    padding: 40px;
    background: rgba(197, 60, 60, 0.05);
    border-radius: 16px;
}

.satisfaction-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.satisfaction-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.satisfaction-value {
    font-size: 32px;
    font-weight: 700;
    color: #c53c3c;
    display: block;
    margin-bottom: 8px;
}

.satisfaction-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ==========================================
   CULTURE D'ENTREPRISE - ENRICHISSEMENT
   ========================================== */
.culture-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.culture-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #c53c3c;
    transition: all 0.3s ease;
}

.culture-highlight:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.culture-highlight h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.culture-highlight i {
    color: #c53c3c;
    font-size: 18px;
}

.culture-highlight p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .recruitment-process {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .process-step {
        max-width: 300px;
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .recruitment-process {
        padding: 20px 0;
        gap: 16px;
    }

    .process-step {
        padding: 24px 20px;
        min-width: auto;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-title {
        font-size: 14px;
    }

    .step-description {
        font-size: 13px;
    }

    .recruitment-cta {
        padding: 32px 24px;
    }

    .recruitment-cta h3 {
        font-size: 22px;
    }

    .satisfaction-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 24px;
    }

    .satisfaction-value {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .process-step {
        padding: 20px 16px;
    }

    .recruitment-cta {
        padding: 24px 20px;
    }

    .satisfaction-indicators {
        grid-template-columns: 1fr;
    }

    .culture-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card {
        padding: 16px 12px;
    }
}

/* ==========================================
   ÉTATS DE FOCUS POUR ACCESSIBILITÉ
   ========================================== */
.process-step:focus,
.benefit-card:focus,
.btn:focus {
    outline: 3px solid #c53c3c;
    outline-offset: 2px;
}

.testimonial-sidebar-item:focus {
    outline: 2px solid #c53c3c;
    outline-offset: 2px;
}

/* ==========================================
   OPTIMISATIONS DE PERFORMANCE
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .process-step,
    .benefit-card,
    .process-arrow i,
    .btn {
        animation: none;
        transition: none;
    }

    .process-step:hover,
    .benefit-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .recruitment-process {
        flex-direction: column;
        gap: 20px;
    }

    .process-arrow {
        display: none;
    }

    .process-step {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e5e7eb;
        max-width: none;
        width: 100%;
    }

    .recruitment-cta {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }

    .btn {
        border: 1px solid #c53c3c;
        box-shadow: none;
    }
}

/* ==========================================
   AMÉLIORATION DE L'INTERACTIVITÉ
   ========================================== */
.interactive-element {
    position: relative;
    overflow: hidden;
}

.interactive-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.interactive-element:hover::before {
    left: 100%;
}

/* Appliquer l'effet aux éléments interactifs */
.process-step,
.benefit-card,
.btn {
    position: relative;
    overflow: hidden;
}

.process-step::before,
.benefit-card::before,
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.process-step:hover::before,
.benefit-card:hover::before,
.btn:hover::before {
    left: 100%;
}

.process-step > *,
.benefit-card > *,
.btn > * {
    position: relative;
    z-index: 2;
}