.home-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.home-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.home-header p {
    font-size: 16px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.home-nav {
    background-color: #f9f9f9;
    padding: 20px 30px;
    border-bottom: 2px solid #667eea;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-nav a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #f0f4ff;
    border: 1px solid #667eea;
}

.home-nav a:hover {
    background-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.home-content {
    padding: 40px 30px;
}

.fichiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.fichier-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #f9f9f9 100%);
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.fichier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    border-color: #764ba2;
}

.fichier-card h2 {
    color: #667eea;
    font-size: 22px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fichier-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.fichier-card a {
    display: inline-block;
    background-color: #667eea;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.fichier-card a:hover {
    background-color: #764ba2;
}

.section-intro {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.section-intro p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #667eea;
    gap: 10px;
}

.page-nav a {
    background-color: #667eea;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-nav a:hover {
    background-color: #764ba2;
}

.page-number {
    color: #667eea;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 768px) {
    .home-header h1 {
        font-size: 28px;
    }

    .fichiers-grid {
        grid-template-columns: 1fr;
    }

    .page-nav {
        flex-direction: column;
    }

    .page-nav a {
        width: 100%;
        text-align: center;
    }
}
