/* ============================================
   SECTION PROGRESSION DU PROJET
   ============================================ */

.project-progress-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 3rem auto;
}

/* Timeline de progression */
.progress-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        #28a745 0%, 
        #28a745 40%, 
        #ffc107 40%, 
        #ffc107 60%, 
        #6c757d 60%, 
        #6c757d 100%);
}

.timeline-marker {
    position: absolute;
    left: 16px;
    top: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.timeline-item.completed .timeline-marker {
    background: #28a745;
    color: white;
}

.timeline-item.in-progress .timeline-marker {
    background: #ffc107;
    color: #333;
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item.upcoming .timeline-marker {
    background: #e9ecef;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(255, 193, 7, 0.6);
    }
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.timeline-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-item.completed .timeline-status {
    background: #d4edda;
    color: #155724;
}

.timeline-item.in-progress .timeline-status {
    background: #fff3cd;
    color: #856404;
}

.timeline-item.upcoming .timeline-status {
    background: #e9ecef;
    color: #6c757d;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #495057;
    line-height: 1.6;
}

.timeline-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #6c757d;
    font-weight: bold;
}

.timeline-item.completed ul li::before {
    content: '✓';
    color: #28a745;
}

.timeline-item.in-progress ul li::before {
    content: '⚡';
    color: #ffc107;
}

/* Documentation Grid */
.progress-details {
    margin: 3rem 0;
}

.progress-details h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.doc-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.doc-card h4 {
    color: #2c3e50;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.doc-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.doc-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.doc-link:hover {
    background: #007bff;
    color: white;
}

.doc-link.coming-soon {
    color: #6c757d;
    font-style: italic;
    cursor: default;
}

.doc-link.coming-soon:hover {
    background: transparent;
    color: #6c757d;
}

/* Milestones techniques */
.technical-milestone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    color: white;
}

.technical-milestone h4 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: white;
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.milestone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.milestone-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.milestone-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Note de progression */
.progress-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.progress-note p {
    margin: 0;
    color: #856404;
    line-height: 1.7;
}

.progress-note strong {
    color: #533f03;
}

/* Vue d'ensemble de la progression */
.progress-overview {
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .project-progress-section {
        padding: 2rem 1rem;
    }

    .progress-timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 6px;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .milestone-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .milestone-number {
        font-size: 2rem;
    }

    .milestone-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .milestone-grid {
        grid-template-columns: 1fr;
    }
}