Preheat the oven to 350°F and grease a 9-by-13-inch baking dish.
In a large pot, melt the butter. Add the shallots and cook over moderate heat, stirring occasionally, until translucent, about 5 minutes. Add the wine and reduce the liquid by half, about 5 minutes. Scatter the flour over the shallots and cook, stirring, until the flour smells toasty, about 1 minute.
Slowly stream in the heavy cream and half-and-half while whisking constantly. Cook over moderate heat, whisking frequently, until the liquid begins to thicken. Stir in the cheddar cheese until melted and season with salt and white pepper. Simmer over low heat, whisking occasionally, until the sauce is smooth and thick enough to coat the back of a spoon, 10 to 15 minutes.
Meanwhile, in a large pot of salted boiling water, cook your pasta until al dente. Drain well.
Stir the cooked pasta, mozzarella, and Comté into the sauce until the cheese is melted. Season with salt and white pepper.
Scrape the mac and cheese into the prepared baking dish. In a small bowl, mix the panko breadcrumbs with the olive oil. Season with salt. Sprinkle the breadcrumbs over the mac and cheese. Bake for about 20 minutes, or until the mac and cheese is bubbling and the top is golden brown. Let cool slightly before serving.