Current biogas upgrading requires an optimisation phase through methanation, which is typically based on fossil fuels. This project proposes an innovative approach to biogas reforming by using renewable hydrogen from waste to produce pure methane (CH₄). We have established partnerships with local stakeholders: Aquapole for biogas, "Savoie-lactée" for whey serum and Teisseire for sugar. Specifically, our aim is to create a self-sustaining advanced biorefinery that integrates hydrogen photoproduction, driven by the bacterium Rhodobacter capsulatus, which can produce BioH2 from various wastes. The BioH2 produced is then mixed with the biogas in a biomethanation unit containing a pure culture of Methanococcus maripaludis able to convert H2 and CO2 into CH4 with great efficiency. This process allows the direct conversion of unused CO₂ present in the biogas into methane making it immediately suitable for injection into the public energy grid without reliance on fossil fuels. The major challenge of this project will be to optimise hydrogen production by photofermentation through a variety of approaches ranging from modelling to the design of innovative, frugal photobioreactors that improve light conversion efficiency. The biorefinery's performances are evaluated and optimised thanks to the “solar fuels" platform present in the BEE team.