Slice onions thinly and evenly to ensure consistent cooking and proper caramelization throughout the process.
Cook onions slowly in butter and oil over medium heat for 30–40 minutes until they develop a deep golden color and rich flavor.
Add garlic and deglaze with white wine, scraping the pot to incorporate all the browned bits into the soup base.
Pour in broth and herbs, then simmer for about 30 minutes to fully develop the flavor and blend the ingredients.
Toast baguette slices until crisp so they hold their structure when placed on the soup.
Assemble the soup with bread and cheese, then broil until the cheese melts and forms a golden crust.