Designed to appear like an evolution of a traditional village house, the architects’ project near Girona blends crafted details with new functionality