/* Page de préparation aux épreuves orales */
.preparation-orale-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #ffffff;
    color: #1f2937;
}

.preparation-orale-main .header {
    text-align: center;
    margin-bottom: 3rem;
}

.preparation-orale-main .header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 700;
}

.preparation-orale-main .header .subtitle {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.preparation-orale-main .navigation {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.preparation-orale-main .content-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Section navigation rapide */
.quick-nav-section {
    margin: 2rem 0 3rem;
    background: white;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.6rem;
    color: #1f2937;
}

.section-header p {
    margin: 0;
    color: #4b5563;
}

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

.epreuve-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #edf2ff 0%, #e0e7ff 100%);
    border-radius: 12px;
    text-decoration: none;
    color: #1f2937;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.epreuve-quick-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.epreuve-quick-card h3 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.epreuve-quick-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.epreuve-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    scroll-margin-top: 80px;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.section-title-wrapper h2 {
    font-size: 2rem;
    margin: 0;
    color: #1f2937;
    font-weight: 700;
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-general {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.badge-resources {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.epreuve-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.epreuve-section .intro-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.epreuve-structure {
    margin: 2rem 0;
}

.epreuve-structure h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.timeline-content {
    flex: 1;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid #667eea;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p,
.timeline-content ul {
    color: #374151;
    line-height: 1.6;
}

.timeline-content ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

.conseils-box {
    margin-top: 2rem;
}

.conseils-box h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.conseil-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conseil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.conseil-card h4 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
    font-weight: 600;
}

.conseil-card ul {
    color: #374151;
    line-height: 1.8;
    padding-left: 1.5rem;
}

.conseil-card li {
    margin-bottom: 0.8rem;
}

.conseil-card li strong {
    color: #1f2937;
    font-weight: 600;
}

.conseil-card ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.ressources-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.ressources-box p {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.ressources-box ul {
    color: #374151;
    line-height: 1.8;
    padding-left: 1.5rem;
}

.ressources-box li {
    margin-bottom: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .preparation-orale-main .header h1 {
        font-size: 2rem;
    }
    
    .epreuves-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .preparation-orale-main .header h1 {
        font-size: 2rem;
    }
    
    .epreuve-section {
        padding: 1.5rem;
    }
    
    .section-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-title-wrapper h2 {
        font-size: 1.6rem;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-marker {
        align-self: flex-start;
    }
    
    .conseil-card {
        padding: 1rem;
    }
}
