
.referents-container {
    background: linear-gradient(135deg, var(--bs-gray-50) 0%, var(--bs-body-bg) 100%);
    min-height: 90vh;
    padding: 3rem 0;
}

.referents-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--bs-body-bg);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bs-border-color);
}

.referents-icon {
    font-size: 4rem;
    color: #0047FF;
    margin-bottom: 2rem;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.referents-title {
    color: var(--bs-body-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.referents-subtitle {
    color: #D10000;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.referents-message {
    text-align: left;
    margin-top: 2rem;
}

.referents-restructuration {
    background: linear-gradient(135deg, rgba(0, 71, 255, 0.08) 0%, rgba(209, 0, 0, 0.08) 100%);
    border: 1px solid rgba(0, 71, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.restructuration-icon {
    font-size: 3rem;
    color: #D10000;
    margin-bottom: 1rem;
    animation: rotate 2s linear infinite;
}

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

.referents-restructuration h3 {
    color: #0047FF;
    font-weight: 700;
    margin-bottom: 1rem;
}

.restructuration-info {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

/* Mode sombre pour restructuration-info */
[data-bs-theme="dark"] .restructuration-info {
    background: rgba(71, 71, 71, 0.5);
    color: white;
}

.referents-role-section {
    margin: 3rem 0;
}

.referents-role-section h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.role-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #0047FF 0%, #D10000 100%);
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.role-icon {
    font-size: 2.5rem;
    color: #0047FF;
    margin-bottom: 1rem;
}

.role-card h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.role-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.referents-application {
    background: var(--bs-gray-100);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.application-header {
    text-align: center;
    margin-bottom: 2rem;
}

.application-header h3 {
    color: #D10000;
    font-weight: 700;
    margin-bottom: 1rem;
}

.application-criteria {
    margin: 2rem 0;
}

.application-criteria h4 {
    color: #0047FF;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bs-body-bg);
    border-radius: 10px;
    border: 1px solid var(--bs-border-color);
}

.application-benefits {
    margin: 2rem 0;
}

.application-benefits h4 {
    color: #0047FF;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.benefit-card {
    background: var(--bs-body-bg);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2rem;
    color: #D10000;
    margin-bottom: 1rem;
}

.benefit-card h5 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.application-actions {
    margin: 2rem 0;
    text-align: center;
}

.application-actions h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.application-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.application-btn {
    border-radius: 25px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.application-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.selection-process {
    margin: 3rem 0;
}

.selection-process h3 {
    color: var(--bs-body-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

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

.step-content h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.referents-contact {
    background: linear-gradient(135deg, rgba(0, 71, 255, 0.05) 0%, rgba(209, 0, 0, 0.05) 100%);
    border: 1px solid rgba(0, 71, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.contact-message i {
    font-size: 2.5rem;
    color: #0047FF;
    margin-bottom: 1rem;
}

.contact-message h4 {
    color: var(--bs-body-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn i {
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

@media (max-width: 768px) {
    .referents-wrapper {
        padding: 2rem 1rem;
    }
    
    .referents-title {
        font-size: 2rem;
    }
    
    .role-grid,
    .benefits-grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .application-buttons {
        flex-direction: column;
    }
    
    .application-btn {
        width: 100%;
        justify-content: center;
    }
}